/src/usr.bin/fstat/ |
ptyfs.c | 61 struct specnode sn; local in function:ptyfs_filestat 81 if (!KVM_READ(vp->v_specnode, &sn, sizeof(sn))) { 86 fsp->rdev = sn.sn_rdev;
|
/src/sys/compat/sys/ |
ttycom.h | 47 * The cn and sn fields in struct ptmget changed size from 54 char sn[16]; member in struct:compat_60_ptmget
|
/src/lib/libcurses/ |
instr.c | 140 int epos, sn; local in function:winnstr 145 sn = n; 165 if (sn < 0)
|
/src/bin/kill/ |
kill.c | 78 const char *sn; local in function:main 96 sn = argv[0] + 2; 99 sn = argv[0]; 104 if (isdigit((unsigned char)*sn) == 0) 106 numsig = signum(sn); 110 nosig(sn); 111 sn = signalname(numsig); 112 if (sn == NULL) 115 printf("%s\n", sn); 123 sn = argv[0] + 2 [all...] |
/src/sbin/fsck_lfs/ |
pass4.c | 152 int sn; local in function:pass4check 154 sn = lfs_dtosn(fs, blkno); 170 LFS_SEGENTRY(sup, fs, sn, bp); 173 seg_table[sn].su_nbytes -= lfs_fsbtob(fs, 1);
|
setup.c | 172 long sn, curseg; local in function:setup 294 for (sn = curseg + lfs_sb_getinterleave(fs);;) { 295 sn = (sn + 1) % lfs_sb_getnseg(fs); 296 if (sn == curseg) 298 LFS_SEGENTRY(sup, fs, sn, bp); 312 lfs_sb_setnextseg(fs, lfs_sntod(fs, sn));
|
/src/sys/arch/vax/boot/boot/ |
hp.c | 111 unsigned int bn, cn, sn, tn; local in function:hpstrategy 121 sn = bn % hplabel.d_secpercyl; 122 tn = sn / hplabel.d_nsectors; 123 sn = sn % hplabel.d_nsectors; 125 cn = sn = tn = 0; 128 HP_WCSR(HP_DA, (tn << 8) | sn);
|
tmscp.c | 154 u_int i,j,pfnum, mapnr, nsize, bn, cn, sn, tn; local in function:tmscpstrategy
|
/src/sbin/nvmectl/ |
util.c | 93 BIGNUM *sn; local in function:unit_string 108 sn = BN_bin2bn(tmp, sizeof(tmp), NULL); 109 if (sn != NULL) { 110 BN_mul(bn, bn, sn, ctx); 111 BN_free(sn);
|
wdc.c | 70 char sn[sizeof(cdata.sn) + 1]; local in function:wdc_append_serial_name 76 memcpy(sn, cdata.sn, sizeof(cdata.sn)); 77 walker = sn + sizeof(cdata.sn) - 1; 78 while (walker > sn && *walker == ' ') 81 snprintf(buf, len, "%s%s.bin", sn, suffix);
|
/src/sys/arch/amiga/dev/ |
p5bus.c | 96 char *sn; local in function:p5bus_attach 102 sn = p5bus_cardsn(); 110 if (sn[0] == 'F') { 112 "CyberStorm Mk-III (sn %s)\n", sn); 116 "CyberStorm PPC 604e (sn %s)\n", sn); 125 if (sn[0] != 'I') { /* only "+" model has SCSI */ 127 "BlizzardPPC 603e (sn %s)\n", sn); 183 char *snr, *sn; local in function:p5bus_cardsn [all...] |
/src/games/monop/ |
trade.c | 107 int sn, pn; local in function:get_list 115 sn = struct_no, pn = play_no; 117 tp = &trades[sn];
|
/src/lib/libc/stdlib/ |
radixsort.c | 71 int sn, si; member in struct:__anon23be511e0108 143 #define pop(a, n, i) a = (--sp)->sa, n = sp->sn, i = sp->si 144 #define push(a, n, i) sp->sa = a, sp->sn = n, (sp++)->si = i
|
/src/usr.bin/sort/ |
radix_sort.c | 57 int sn; /* Number of entries */ member in struct:__anon199a33e40108 66 #define pop(a, n, i) a = (--sp)->sa, n = sp->sn, i = sp->si 67 #define push(a, n, i) sp->sa = a, sp->sn = n, (sp++)->si = i
|
/src/sys/dev/iscsi/ |
iscsi_utils.c | 605 * next_sn is the next expected SN, so normally diff should be 1. 611 return 0; /* ignore if SN is smaller than expected (dup or retransmit) */ 694 uint32_t sn; local in function:get_sernum 698 sn = sess->s_CmdSN; 701 return sn;
|
iscsi_send.c | 155 uint32_t sn; local in function:reassign_tasks 297 sn = get_sernum(sess, pdu); 301 ccb->ccb_CmdSN, sn)); 302 ccb->ccb_CmdSN = sn; 1030 uint32_t sn; local in function:send_nop_out 1058 sn = get_sernum(sess, ppdu); 1065 hpdu->pduh_p.nop_out.CmdSN = htonl(sn); 1070 ccb->ccb_CmdSN = sn; 1071 hpdu->pduh_p.nop_out.CmdSN = htonl(sn); 1074 DEBC(conn, 10, ("Send NOP_Out CmdSN=%d, rx_pdu=%p\n", sn, rx_pdu)) 1376 uint32_t totlen, len, offs, sn; local in function:send_data_out [all...] |
/src/tests/kernel/ |
h_segv.c | 73 } sn[] = { variable in typeref:struct:__anon70d0e90c0208[] 241 for (j = 0; j < __arraycount(sn); j++) { 242 if (strcmp(sn[j].n, argv[i]) == 0) { 243 sig = sn[j].v;
|
/src/lib/libm/src/ |
e_powf.c | 62 float yy1,t1,t2,r,s,sn,t,u,v,w; local in function:__ieee754_powf 133 sn = one; /* s (sign of result -ve**odd) = -1 else = 1 */ 134 if((n|(yisint-1))==0) sn = -one;/* (-ve)**(odd int) */ 139 if(ix<0x3f7ffff8) return (hy<0)? sn*huge*huge:sn*tiny*tiny; 140 if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny; 213 return sn*huge*huge; /* overflow */ 215 if(p_l+ovt>z-p_h) return sn*huge*huge; /* overflow */ 218 return sn*tiny*tiny; /* underflow * [all...] |
/src/sys/arch/atari/stand/tostools/aptck/ |
diskio.c | 218 char sn[16], us[16], ls[16], *bs; local in function:setnames 247 snprintf(sn, sizeof(sn), "i%d", u); 250 snprintf(sn, sizeof(sn), "%c%d%d", tolower(*bs), u, l); 255 dd->sname = strbd(sn, NULL);
|
/src/sys/arch/atari/stand/tostools/libtos/ |
diskio.c | 218 char sn[16], us[16], ls[16], *bs; local in function:setnames 247 snprintf(sn, sizeof(sn), "i%d", u); 250 snprintf(sn, sizeof(sn), "%c%d%d", tolower(*bs), u, l); 255 dd->sname = strbd(sn, NULL);
|
/src/sys/arch/vax/boot/xxboot/ |
bootxx.c | 329 u_int cn, sn, tn; local in function:hpread 347 : "=g"(cn),"=g"(sn),"=g"(tn) 352 sn = bn % dp->d_secpercyl; 353 tn = sn / dp->d_nsectors; 354 sn = sn % dp->d_nsectors; 357 HP_WCSR(HP_DA, (tn << 8) | sn);
|
/src/sys/arch/vax/mba/ |
hp.c | 240 unsigned bn, cn, sn, tn; local in function:hpstart 251 sn = bn % lp->d_secpercyl; 252 tn = sn / lp->d_nsectors; 253 sn = sn % lp->d_nsectors; 255 cn = sn = tn = 0; 258 HP_WCSR(HP_DA, (tn << 8) | sn);
|
/src/sys/dev/qbus/ |
rl.c | 591 int bn, cn, sn, tn, blks, err; local in function:rlcstart 613 sn = bn % lp->d_secpercyl; 614 tn = sn / lp->d_nsectors; 615 sn = sn % lp->d_nsectors; 617 cn = sn = tn = 0; 637 RL_WREG(RL_DA, (cn << RLDA_CYLSHFT) | (tn ? RLDA_HSRW : 0) | (sn << 1)); 640 if (sn + blks > RL_SPT/2) 641 blks = RL_SPT/2 - sn;
|
/src/sys/external/isc/libsodium/dist/src/libsodium/include/sodium/private/ |
ed25519_ref10_fe_51.h | 497 uint128_t sn = (uint128_t) n; local in function:fe25519_scalar_product 500 a = f[0] * sn; 502 a = f[1] * sn + ((uint64_t) (a >> 51)); 504 a = f[2] * sn + ((uint64_t) (a >> 51)); 506 a = f[3] * sn + ((uint64_t) (a >> 51)); 508 a = f[4] * sn + ((uint64_t) (a >> 51));
|
/src/usr.bin/systat/ |
bufcache.c | 315 specnode_t sn; local in function:fetchbufcache 317 if (!KREAD(vn->v_specnode, &sn, sizeof(sn))) 319 if (!KREAD(sn.sn_dev, &sd, sizeof(sd)))
|