| /src/tests/usr.bin/indent/ |
| lsym_period.c | 37 get_time(struct stat st) 39 return st.st_mtime > 0 ? st . st_atime : st.st_ctime; 45 get_time(struct stat st) 47 return st.st_mtime > 0 ? st.st_atime : st.st_ctime;
|
| /src/lib/libc/sys/ |
| statvfs.c | 40 statvfs(const char *file, struct statvfs *st) 42 return statvfs1(file, st, ST_WAIT); 46 fstatvfs(int f, struct statvfs *st) 48 return fstatvfs1(f, st, ST_WAIT); 52 fhstatvfs(const void *fh, size_t fh_size, struct statvfs *st) 54 return fhstatvfs1(fh, fh_size, st, ST_WAIT);
|
| /src/sys/dev/scsipi/ |
| st.c | 1 /* $NetBSD: st.c,v 1.243 2022/02/23 21:54:41 andvar Exp $ */ 53 __KERNEL_RCSID(0, "$NetBSD: st.c,v 1.243 2022/02/23 21:54:41 andvar Exp $"); 300 "TEAC ", "MT-2ST/N50 ", ""}, {ST_Q_IGNORE_LOADS, 0, { 382 struct st_softc *st = device_private(self); local in function:stattach 387 st->sc_dev = self; 390 st->sc_periph = periph; 391 periph->periph_dev = st->sc_dev; 395 st->flags = ST_INIT_FLAGS; 398 bufq_alloc(&st->buf_queue, "fcfs", 0); 399 bufq_alloc(&st->buf_defer, "fcfs", 0) 437 struct st_softc *st = device_private(self); local in function:stdetach 540 struct st_softc *st; local in function:stopen 731 struct st_softc *st = device_lookup_private(&st_cd, STUNIT(dev)); local in function:stclose 850 struct st_softc *st; local in function:st_mount_tape 1104 struct st_softc *st = device_lookup_private(&st_cd, STUNIT(bp->b_dev)); local in function:ststrategy 1188 struct st_softc *st = device_private(periph->periph_dev); local in function:ststart1 1317 struct st_softc *st = device_private(periph->periph_dev); local in function:ststart 1373 struct st_softc *st = device_private(xs->xs_periph->periph_dev); local in function:stdone 1420 struct st_softc *st = device_lookup_private(&st_cd, STUNIT(dev)); local in function:stread 1433 struct st_softc *st = device_lookup_private(&st_cd, STUNIT(dev)); local in function:stwrite 1454 struct st_softc *st; local in function:stioctl 2154 struct st_softc *st = device_private(periph->periph_dev); local in function:st_interpret_sense [all...] |
| /src/sys/external/isc/libsodium/dist/test/default/ |
| generichash2.c | 9 crypto_generichash_state st; local in function:main 14 assert(crypto_generichash_statebytes() >= sizeof st); 20 if (crypto_generichash_init(&st, k, 26 crypto_generichash_update(&st, in, i); 27 crypto_generichash_update(&st, in, i); 28 crypto_generichash_update(&st, in, i); 29 if (crypto_generichash_final(&st, out, 37 if (crypto_generichash_final(&st, out, 43 assert(crypto_generichash_init(&st, k, sizeof k, 0U) == -1); 44 assert(crypto_generichash_init(&st, k, sizeof k [all...] |
| /src/sys/arch/sandpoint/stand/altboot/ |
| exception.c | 71 exception_handler(unsigned vector, struct cpu_state *st) 78 printf("\nCALL TO NULL POINTER FROM %08x\n", st->lr - 4); 92 st->srr0, st->srr1, st->dar, st->dsisr, 93 st->cr, st->xer, st->lr, st->ctr [all...] |
| /src/common/lib/libc/arch/sparc/gen/ |
| saveregs.S | 55 st %i0, [%fp + 0x44] ! fr->fr_argd[0] 56 st %i1, [%fp + 0x48] ! fr->fr_argd[1] 57 st %i2, [%fp + 0x4c] ! fr->fr_argd[2] 58 st %i3, [%fp + 0x50] ! fr->fr_argd[3] 59 st %i4, [%fp + 0x54] ! fr->fr_argd[4] 61 st %i5, [%fp + 0x58] ! fr->fr_argd[5]
|
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_onetimeauth/poly1305/donna/ |
| poly1305_donna32.h | 29 poly1305_init(poly1305_state_internal_t *st, const unsigned char key[32]) 32 st->r[0] = (LOAD32_LE(&key[0])) & 0x3ffffff; 33 st->r[1] = (LOAD32_LE(&key[3]) >> 2) & 0x3ffff03; 34 st->r[2] = (LOAD32_LE(&key[6]) >> 4) & 0x3ffc0ff; 35 st->r[3] = (LOAD32_LE(&key[9]) >> 6) & 0x3f03fff; 36 st->r[4] = (LOAD32_LE(&key[12]) >> 8) & 0x00fffff; 39 st->h[0] = 0; 40 st->h[1] = 0; 41 st->h[2] = 0; 42 st->h[3] = 0 [all...] |
| poly1305_donna.c | 15 poly1305_update(poly1305_state_internal_t *st, const unsigned char *m, 21 if (st->leftover) { 22 unsigned long long want = (poly1305_block_size - st->leftover); 28 st->buffer[st->leftover + i] = m[i]; 32 st->leftover += want; 33 if (st->leftover < poly1305_block_size) { 36 poly1305_blocks(st, st->buffer, poly1305_block_size); 37 st->leftover = 0 [all...] |
| /src/lib/libm/arch/i387/ |
| e_asin.S | 16 fld %st(0) 17 fmul %st(0) /* x^2 */
|
| e_acos.S | 16 fld %st(0) 17 fmul %st(0) /* x^2 */ 22 fxch %st(1)
|
| /src/lib/libc/arch/sparc/gen/ |
| setjmp.S | 78 st %o1, [%i0 + _SC_ONSTACK] /* sc.sc_onstack = current onstack; */ 79 st %fp, [%i0 + _SC_SP] /* sc.sc_sp = (caller's) sp */ 81 st %o0, [%i0 + _SC_PC] /* sc.sc_pc = return_pc */ 82 st %g3, [%i0 + _SC_NPC] /* sc.sc_npc */ 83 st %g0, [%i0 + _SC_PSR] /* sc.sc_psr = (clean psr) */ 84 st %g2, [%i0 + _SC_G1] 85 st %g4, [%i0 + _SIZEOF_SC + _JB_G4] 86 st %g7, [%i0 + _SIZEOF_SC + _JB_G7]
|
| /src/sys/arch/alpha/include/ |
| cpuconf.h | 96 #define cpu_notsupp(st, str) { platform_not_supported, st, str } 98 #define cpu_init(st, fn, opt) { fn, st, opt }
|
| /src/lib/libc/compat/sys/ |
| compat___stat13.c | 73 cvtstat(struct stat13 *ost, const struct stat *st) 76 ost->st_dev = (uint32_t)st->st_dev; 77 ost->st_ino = (uint32_t)st->st_ino; 78 ost->st_mode = st->st_mode; 79 ost->st_nlink = st->st_nlink; 80 ost->st_uid = st->st_uid; 81 ost->st_gid = st->st_gid; 82 ost->st_rdev = (uint32_t)st->st_rdev; 83 ost->st_atimespec.tv_sec = (int32_t)st->st_atimespec.tv_sec; 84 ost->st_atimespec.tv_nsec = st->st_atimespec.tv_nsec [all...] |
| compat_stat.c | 66 cvtstat(const struct stat *st, struct stat12 *ost) 69 ost->st_dev = (uint32_t)st->st_dev; 70 ost->st_ino = (uint32_t)st->st_ino; 71 ost->st_mode = st->st_mode; 72 if (st->st_nlink >= (1 << 15)) 75 ost->st_nlink = st->st_nlink; 76 ost->st_uid = st->st_uid; 77 ost->st_gid = st->st_gid; 78 ost->st_rdev = (uint32_t)st->st_rdev; 79 ost->st_atimespec.tv_sec = (int32_t)st->st_atimespec.tv_sec [all...] |
| compat___stat30.c | 74 cvtstat(struct stat30 *ost, const struct stat *st) 77 ost->st_dev = (uint32_t)st->st_dev; 78 ost->st_ino = st->st_ino; 79 ost->st_mode = st->st_mode; 80 ost->st_nlink = st->st_nlink; 81 ost->st_uid = st->st_uid; 82 ost->st_gid = st->st_gid; 83 ost->st_rdev = (uint32_t)st->st_rdev; 84 timespec_to_timespec50(&st->st_atimespec, &ost->st_atimespec); 85 timespec_to_timespec50(&st->st_mtimespec, &ost->st_mtimespec) [all...] |
| /src/sys/compat/linux32/common/ |
| linux32_stat.c | 85 bsd_to_linux32_stat(struct stat *st, struct linux32_stat *st32) 88 st32->lst_dev = linux_fakedev(st->st_dev, 0); 89 st32->lst_ino = st->st_ino; 90 st32->lst_mode = st->st_mode; 91 if (st->st_nlink >= (1 << 15)) 94 st32->lst_nlink = st->st_nlink; 95 st32->lst_uid = st->st_uid; 96 st32->lst_gid = st->st_gid; 97 st32->lst_rdev = linux_fakedev(st->st_rdev, 0); 98 st32->lst_size = st->st_size 149 struct stat st; local in function:linux32_sys_stat 168 struct stat st; local in function:linux32_sys_lstat 187 struct stat st; local in function:linux32_sys_fstat 206 struct stat st; local in function:linux32_sys_stat64 225 struct stat st; local in function:linux32_sys_lstat64 244 struct stat st; local in function:linux32_sys_fstat64 266 struct stat st; local in function:linux32_sys_fstatat64 292 struct stat st; local in function:linux32_sys_statx [all...] |
| /src/sys/compat/aoutm68k/ |
| aoutm68k_stat.c | 234 aoutm68k_stat43_convert(struct stat *st, struct aoutm68k_stat43 *ast) 238 ast->st_dev = st->st_dev; 239 ast->st_ino = st->st_ino; 240 ast->st_mode = st->st_mode; 241 ast->st_nlink = st->st_nlink; 242 ast->st_uid = st->st_uid; 243 ast->st_gid = st->st_gid; 244 ast->st_rdev = st->st_rdev; 245 if (st->st_size < (off_t)1 << 32) 246 ast->st_size = st->st_size [all...] |
| /src/sys/external/bsd/drm2/dist/drm/selftests/ |
| drm_selftest.c | 55 static void set_default_test_all(struct drm_selftest *st, unsigned long count) 60 if (st[i].enabled) 64 st[i].enabled = true; 67 static int run_selftests(struct drm_selftest *st, 73 set_default_test_all(st, count); 76 for (; count--; st++) { 77 if (!st->enabled) 80 pr_debug("drm: Running %s\n", st->name); 81 err = st->func(data); 88 st->name, err) [all...] |
| /src/usr.sbin/rpc.lockd/ |
| test.c | 25 enum clnt_stat st; local in function:nlm_test_1 29 st = clnt_call(clnt, NLM_TEST, xdr_nlm_testargs, argp, xdr_nlm_testres, 31 if (st != RPC_SUCCESS) 40 enum clnt_stat st; local in function:nlm_lock_1 44 st = clnt_call(clnt, NLM_LOCK, xdr_nlm_lockargs, argp, xdr_nlm_res, 46 if (st != RPC_SUCCESS) { 47 printf("clnt_call returns %d\n", st); 58 enum clnt_stat st; local in function:nlm_cancel_1 62 st = clnt_call(clnt, NLM_CANCEL, xdr_nlm_cancargs, argp, xdr_nlm_res, 64 if (st != RPC_SUCCESS) 74 enum clnt_stat st; local in function:nlm_unlock_1 90 enum clnt_stat st; local in function:nlm_granted_1 106 enum clnt_stat st; local in function:nlm_test_msg_1 122 enum clnt_stat st; local in function:nlm_lock_msg_1 139 enum clnt_stat st; local in function:nlm_cancel_msg_1 155 enum clnt_stat st; local in function:nlm_unlock_msg_1 171 enum clnt_stat st; local in function:nlm_granted_msg_1 187 enum clnt_stat st; local in function:nlm_test_res_1 203 enum clnt_stat st; local in function:nlm_lock_res_1 219 enum clnt_stat st; local in function:nlm_cancel_res_1 235 enum clnt_stat st; local in function:nlm_unlock_res_1 251 enum clnt_stat st; local in function:nlm_granted_res_1 267 enum clnt_stat st; local in function:nlm_share_3 283 enum clnt_stat st; local in function:nlm_unshare_3 299 enum clnt_stat st; local in function:nlm_nm_lock_3 315 enum clnt_stat st; local in function:nlm_free_all_3 [all...] |
| /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
| omap3-overo-common-peripherals.dtsi | 55 compatible = "st,lis33de", "st,lis3lv02d"; 60 st,click-single-x; 61 st,click-single-y; 62 st,click-single-z; 63 st,click-thresh-x = <10>; 64 st,click-thresh-y = <10>; 65 st,click-thresh-z = <10>; 66 st,irq1-click; 67 st,irq2-click [all...] |
| spear320-evb.dts | 12 model = "ST SPEAr320 Evaluation Board"; 13 compatible = "st,spear320-evb", "st,spear320"; 23 st,pinmux-mode = <4>; 29 st,pins = "i2c0_grp"; 30 st,function = "i2c0"; 33 st,pins = "mii0_grp"; 34 st,function = "mii0"; 37 st,pins = "ssp0_grp"; 38 st,function = "ssp0" [all...] |
| spear310-evb.dts | 12 model = "ST SPEAr310 Evaluation Board"; 13 compatible = "st,spear310-evb", "st,spear310"; 28 st,pins = "gpio0_pin0_grp", 34 st,function = "gpio0"; 37 st,pins = "i2c0_grp"; 38 st,function = "i2c0"; 41 st,pins = "mii0_grp"; 42 st,function = "mii0"; 45 st,pins = "ssp0_grp" [all...] |
| /src/sys/dev/sysmon/ |
| sysmon_taskq.c | 175 struct sysmon_task *st; local in function:sysmon_task_queue_thread 184 st = TAILQ_FIRST(&sysmon_task_queue); 185 if (st != NULL) { 186 TAILQ_REMOVE(&sysmon_task_queue, st, st_list); 188 (*st->st_func)(st->st_arg); 189 free(st, M_TEMP); 206 sysmon_task_queue_sched_task(struct sysmon_task *st) 212 if (st->st_pri > lst->st_pri) { 213 TAILQ_INSERT_BEFORE(lst, st, st_list) 233 struct sysmon_task *st; local in function:sysmon_task_queue_sched 283 struct sysmon_task *st; local in function:sysmon_task_queue_barrier [all...] |
| /src/sys/arch/usermode/dev/ |
| vaudio.c | 195 struct vaudio_stream *st = opaque; local in function:vaudio_intr 197 softint_schedule(st->st_sih); 203 struct vaudio_stream *st = opaque; local in function:vaudio_softintr_play 204 struct vaudio_softc *sc = st->st_softc; 206 while (st->st_running) { 207 if (thunk_audio_pollout(sc->sc_audiofd) < st->st_blksize) 209 thunk_audio_write(sc->sc_audiofd, st->st_cur, st->st_blksize); 211 st->st_intr(st->st_intrarg) 226 struct vaudio_stream *st = opaque; local in function:vaudio_softintr_record 294 struct vaudio_stream *st = &sc->sc_play; local in function:vaudio_trigger_output 312 struct vaudio_stream *st = &sc->sc_record; local in function:vaudio_trigger_input [all...] |
| /src/tests/lib/libc/sys/ |
| t_wait.c | 59 int st; local in function:ATF_TC_BODY 60 ATF_REQUIRE(wait6(P_ALL, 0, &st, 0, &wru, &si) == -1 75 int st; local in function:ATF_TC_BODY 86 ATF_REQUIRE(wait6(P_PID, pid, &st, WEXITED, &wru, &si) == pid); 87 ATF_REQUIRE(WIFEXITED(st) && WEXITSTATUS(st) == 0x5a); 109 int st; local in function:ATF_TC_BODY 121 ATF_REQUIRE(wait6(P_PID, pid, &st, WEXITED, &wru, &si) == pid); 122 ATF_REQUIRE(WIFSIGNALED(st) && WTERMSIG(st) == SIGTERM) 144 int st; local in function:ATF_TC_BODY 181 int st; local in function:ATF_TC_BODY 247 int st; local in function:ATF_TC_BODY [all...] |