Home
last modified time | relevance | path

Searched refs:sn (Results 1 – 25 of 447) sorted by relevance

12345678910>>...18

/netbsd-src/sys/dev/ic/
H A Dathrate-sample.c141 rate_to_ndx(struct sample_node *sn, int rate) { in rate_to_ndx() argument
143 for (x = 0; x < sn->num_rates; x++) { in rate_to_ndx()
144 if (sn->rates[x].rate == rate) { in rate_to_ndx()
169 static inline int best_rate_ndx(struct sample_node *sn, int size_bin, in best_rate_ndx() argument
175 for (x = 0; x < sn->num_rates; x++) { in best_rate_ndx()
176 int tt = sn->stats[size_bin][x].average_tx_time; in best_rate_ndx()
178 !sn->stats[size_bin][x].packets_acked)) { in best_rate_ndx()
183 if (sn->rates[x].rate == 18) in best_rate_ndx()
187 if (sn->stats[size_bin][x].successive_failures > 3) in best_rate_ndx()
202 pick_sample_ndx(struct sample_node *sn, int size_bin) in pick_sample_ndx() argument
[all …]
/netbsd-src/lib/libm/src/
H A Ds_sincosf.c47 sincosf(float x, float *sn, float *cs) in __weak_alias()
59 *sn = x; /* x with inexact if x != 0 */ in __weak_alias()
64 __kernel_sincosdf(x, sn, cs); in __weak_alias()
71 __kernel_sincosdf(x - p1pio2, cs, sn); in __weak_alias()
74 __kernel_sincosdf(x + p1pio2, cs, sn); in __weak_alias()
75 *sn = -*sn; in __weak_alias()
79 __kernel_sincosdf(x - p2pio2, sn, cs); in __weak_alias()
81 __kernel_sincosdf(x + p2pio2, sn, cs); in __weak_alias()
82 *sn = -*sn; in __weak_alias()
91 __kernel_sincosdf(x - p3pio2, cs, sn); in __weak_alias()
[all …]
H A Ds_sincosl.c60 sincosl(long double x, long double *sn, long double *cs) in __weak_alias()
78 *sn = x; in __weak_alias()
81 __kernel_sincosl(x, 0, 0, sn, cs); in __weak_alias()
87 *sn = x - x; in __weak_alias()
97 __kernel_sincosl(y[0], y[1], 1, sn, cs); in __weak_alias()
100 __kernel_sincosl(y[0], y[1], 1, cs, sn); in __weak_alias()
104 __kernel_sincosl(y[0], y[1], 1, sn, cs); in __weak_alias()
105 *sn = -*sn; in __weak_alias()
109 __kernel_sincosl(y[0], y[1], 1, cs, sn); in __weak_alias()
110 *sn = -*sn; in __weak_alias()
[all …]
H A Ds_sincos.c37 sincos(double x, double *sn, double *cs) in __weak_alias()
50 *sn = x; in __weak_alias()
55 __kernel_sincos(x, 0, 0, sn, cs); in __weak_alias()
61 *sn = x - x; in __weak_alias()
71 __kernel_sincos(y[0], y[1], 1, sn, cs); in __weak_alias()
74 __kernel_sincos(y[0], y[1], 1, cs, sn); in __weak_alias()
78 __kernel_sincos(y[0], y[1], 1, sn, cs); in __weak_alias()
79 *sn = -*sn; in __weak_alias()
83 __kernel_sincos(y[0], y[1], 1, cs, sn); in __weak_alias()
84 *sn = -*sn; in __weak_alias()
H A De_powf.c62 float yy1,t1,t2,r,s,sn,t,u,v,w; in __ieee754_powf() local
133 sn = one; /* s (sign of result -ve**odd) = -1 else = 1 */ in __ieee754_powf()
134 if((n|(yisint-1))==0) sn = -one;/* (-ve)**(odd int) */ in __ieee754_powf()
139 if(ix<0x3f7ffff8) return (hy<0)? sn*huge*huge:sn*tiny*tiny; in __ieee754_powf()
140 if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny; in __ieee754_powf()
213 return sn*huge*huge; /* overflow */ in __ieee754_powf()
215 if(p_l+ovt>z-p_h) return sn*huge*huge; /* overflow */ in __ieee754_powf()
218 return sn*tiny*tiny; /* underflow */ in __ieee754_powf()
220 if(p_l<=z-p_h) return sn*tiny*tiny; /* underflow */ in __ieee754_powf()
251 return sn*z; in __ieee754_powf()
/netbsd-src/sys/miscfs/specfs/
H A Dspec_vnops.c237 * spec_io_enter(vp, &sn, &dev)
243 * On success, set sn to the specnode pointer and dev to the dev_t
254 struct specnode *sn; in spec_io_enter() local
269 (sn = vp->v_specnode) == NULL || in spec_io_enter()
285 iocnt = atomic_load_relaxed(&sn->sn_dev->sd_iocnt); in spec_io_enter()
301 } while (atomic_cas_uint(&sn->sn_dev->sd_iocnt, iocnt, iocnt + 1) in spec_io_enter()
305 *snp = sn; in spec_io_enter()
314 * spec_io_exit(vp, sn)
317 * allow concurrent spec_node_revoke to proceed. The argument sn
322 spec_io_exit(struct vnode *vp, struct specnode *sn) in spec_io_exit() argument
376 specnode_t *sn; spec_node_init() local
569 struct specnode *sn; spec_node_setmountedfs() local
601 specnode_t *sn; spec_node_revoke() local
665 specnode_t *sn; spec_node_destroy() local
728 specnode_t *sn, *sn1; spec_open() local
1068 struct specnode *sn; spec_read() local
1190 struct specnode *sn; spec_write() local
1321 struct specnode *sn; spec_ioctl() local
1357 struct specnode *sn; spec_poll() local
1386 struct specnode *sn; spec_kqfilter() local
1423 struct specnode *sn; spec_mmap() local
1480 struct specnode *sn = NULL; spec_strategy() local
1592 specnode_t *sn; spec_close() local
[all...]
/netbsd-src/bin/kill/
H A Dkill.c78 const char *sn; in main() local
96 sn = argv[0] + 2; in main()
99 sn = argv[0]; in main()
104 if (isdigit((unsigned char)*sn) == 0) in main()
106 numsig = signum(sn); in main()
110 nosig(sn); in main()
111 sn = signalname(numsig); in main()
112 if (sn == NULL) in main()
115 printf("%s\n", sn); in main()
123 sn = argv[0] + 2; in main()
[all …]
/netbsd-src/external/bsd/openldap/dist/tests/data/
H A Dproxycache.out1 # Query 1: filter:(sn=Jon) attrs:all (expect nothing)
2 # Query 2: filter:(|(cn=*Jon*)(sn=Jon*)) attrs:cn sn title uid
7 sn: Jones
16 sn: Doe
23 sn: Doe
27 # Query 3: filter:(sn=Smith*) attrs:cn sn uid
31 sn: Smith
34 # Query 4: filter:(sn=Doe*) attrs:cn sn title uid
40 sn: Doe
47 sn: Doe
[all …]
H A Dtest-limits.ldif24 sn: User
31 sn: User
38 sn: User
45 sn: User
52 sn: User
59 sn: User
66 sn: User
73 sn: User 2
95 sn: User 3
102 sn: User
[all …]
H A Ddds.out6 sn: Object
14 sn: Object
23 sn: Object
30 sn: Object
40 sn: Object
47 sn: Object
56 sn: Object
65 sn: Object
H A Dsql-write.out6 sn: Zinberstein
49 sn: Kovalev
59 sn: Puzdoy
71 sn: Zinberstein
118 sn: Tolstoij
127 sn: Kovalev
138 sn: One
152 sn: User
164 sn: Puzdoy
183 sn: Zinberstein
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/objects/
H A Dobj_dat.pl50 my %sn;
69 $sn{$1} = $d;
118 my $sn = defined $sn{$nid{$i}} ? "$sn{$nid{$i}}" : "NULL";
120 if ($sn eq "NULL") {
121 $sn = $ln;
122 $sn{$nid{$i}} = $ln;
125 $ln = $sn;
126 $ln{$nid{$i}} = $sn;
129 my $out = " {\"$sn\", \"$ln\", NID_$nid{$i}";
182 @a = grep(defined $sn{$nid{$_}}, 0 .. $n);
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/objects/
H A Dobj_dat.pl50 my %sn;
69 $sn{$1} = $d;
118 my $sn = defined $sn{$nid{$i}} ? "$sn{$nid{$i}}" : "NULL";
120 if ($sn eq "NULL") {
121 $sn = $ln;
122 $sn{$nid{$i}} = $ln;
125 $ln = $sn;
126 $ln{$nid{$i}} = $sn;
129 my $out = " {\"$sn\", \"$ln\", NID_$nid{$i}";
182 @a = grep(defined $sn{$nid{$_}}, 0 .. $n);
[all …]
/netbsd-src/sys/arch/amiga/dev/
H A Dp5bus.c96 char *sn; in p5bus_attach() local
102 sn = p5bus_cardsn(); in p5bus_attach()
110 if (sn[0] == 'F') { in p5bus_attach()
112 "CyberStorm Mk-III (sn %s)\n", sn); in p5bus_attach()
116 "CyberStorm PPC 604e (sn %s)\n", sn); in p5bus_attach()
125 if (sn[0] != 'I') { /* only "+" model has SCSI */ in p5bus_attach()
127 "BlizzardPPC 603e (sn %s)\n", sn); in p5bus_attach()
131 "BlizzardPPC 603e+ (sn %s)\n", sn); in p5bus_attach()
183 char *snr, *sn; in p5bus_cardsn() local
185 sn = kmem_zalloc(P5_SN_LEN + 1, KM_SLEEP); in p5bus_cardsn()
[all …]
/netbsd-src/usr.sbin/bad144/
H A Dbad144.c112 daddr_t sn; in main() local
184 sn = getold(f, &oldbad); in main()
186 (long long)sn, diskname); in main()
248 sn = atoi(*argv++); in main()
250 if (sn < 0 || sn >= size) { in main()
252 (long long)sn, (long long)size, dp->d_typename); in main()
257 bn[i] = sn; in main()
259 curbad.bt_bad[i].bt_cyl = sn / (dp->d_nsectors*dp->d_ntracks); in main()
260 sn %= (dp->d_nsectors*dp->d_ntracks); in main()
262 ((sn/dp->d_nsectors) << 8) + (sn%dp->d_nsectors); in main()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mpz/
H A Dmfac_uiui.c64 mp_limb_t g, sn; in mpz_mfac_uiui() local
67 sn = n; in mpz_mfac_uiui()
68 g = mpn_gcd_1 (&sn, 1, m); in mpz_mfac_uiui()
76 sn = n; in mpz_mfac_uiui()
88 sn = n / 2 + 1; in mpz_mfac_uiui()
100 sn = n / m + 1; in mpz_mfac_uiui()
108 factors = MPZ_NEWALLOC (x, sn / log_n_max (n) + 2); in mpz_mfac_uiui()
111 factors = TMP_ALLOC_LIMBS (sn / log_n_max (n) + 2); in mpz_mfac_uiui()
134 mpz_ui_pow_ui (p, g, sn); /* g^sn */ in mpz_mfac_uiui()
/netbsd-src/external/lgpl3/gmp/dist/mpn/generic/
H A Drootrem.c104 mp_size_t rn, sn, wn; in mpn_rootrem() local
108 sn = (un - 1) / k + 2; /* ceil(un/k) + 1 */ in mpn_rootrem()
110 sp, sn); /* approximate root of padded input */ in mpn_rootrem()
119 MPN_COPY (rootp, sp + 1, sn - 1); in mpn_rootrem()
211 mp_size_t qn, rn, sn, wn, nl, bn; in mpn_rootrem_internal() local
312 sn = 1; /* Initial approximation has one limb */ in mpn_rootrem_internal()
340 wn = mpn_pow_1 (wp, sp, sn, k - 1, qp); in mpn_rootrem_internal()
341 mpn_mul (qp, wp, wn, sp, sn); in mpn_rootrem_internal()
342 qn = wn + sn; in mpn_rootrem_internal()
348 MPN_DECR_U (sp, sn, 1); in mpn_rootrem_internal()
[all …]
H A Dget_str.c330 mp_size_t sn; in mpn_dc_get_str() local
334 sn = powtab->shift; in mpn_dc_get_str()
336 if (un < pwn + sn || (un == pwn + sn && mpn_cmp (up + sn, pwp, un - sn) < 0)) in mpn_dc_get_str()
345 mpn_tdiv_qr (qp, rp + sn, 0L, up + sn, un - sn, pwp, pwn); in mpn_dc_get_str()
346 qn = un - sn - pwn; qn += qp[qn] != 0; /* quotient size */ in mpn_dc_get_str()
348 ASSERT (qn < pwn + sn || (qn == pwn + sn && mpn_cmp (qp + sn, pwp, pwn) < 0)); in mpn_dc_get_str()
354 str = mpn_dc_get_str (str, powtab->digits_in_base, rp, pwn + sn, powtab - 1, tmp); in mpn_dc_get_str()
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dsum.c623 mp_size_t sn; /* size of the output number */ in sum_aux() local
1083 sn = MPFR_PREC2LIMBS (sq); in sum_aux()
1084 sd = (mpfr_prec_t) sn * GMP_NUMB_BITS - sq; in sum_aux()
1099 fi = (e - minexp) / GMP_NUMB_BITS - (sn - 1); in sum_aux()
1101 mpn_lshift (sump, wp + fi, sn, sh); in sum_aux()
1107 MPFR_ASSERTD ((mpfr_prec_t) (ws - (wi + sn)) * GMP_NUMB_BITS in sum_aux()
1109 MPN_COPY (sump, wp + wi, sn); in sum_aux()
1118 mpn_lshift (sump + sn - en, wp, en, sh); in sum_aux()
1120 MPN_COPY (sump + sn - en, wp, en); in sum_aux()
1121 if (sn > en) in sum_aux()
[all …]
/netbsd-src/sbin/nvmectl/
H A Dwdc.c70 char sn[sizeof(cdata.sn) + 1]; in wdc_append_serial_name() local
76 memcpy(sn, cdata.sn, sizeof(cdata.sn)); in wdc_append_serial_name()
77 walker = sn + sizeof(cdata.sn) - 1; in wdc_append_serial_name()
78 while (walker > sn && *walker == ' ') in wdc_append_serial_name()
81 snprintf(buf, len, "%s%s.bin", sn, suffix); in wdc_append_serial_name()
/netbsd-src/sys/arch/vax/boot/boot/
H A Dhp.c111 unsigned int bn, cn, sn, tn; in hpstrategy() local
121 sn = bn % hplabel.d_secpercyl; in hpstrategy()
122 tn = sn / hplabel.d_nsectors; in hpstrategy()
123 sn = sn % hplabel.d_nsectors; in hpstrategy()
125 cn = sn = tn = 0; in hpstrategy()
128 HP_WCSR(HP_DA, (tn << 8) | sn); in hpstrategy()
/netbsd-src/external/bsd/openldap/dist/tests/scripts/
H A Dtest024-unique79 sn: nothere
105 sn: johnson
129 sn: johnson
152 sn: johnson
175 sn: johnson
301 sn: johnson
358 sn: johnson
418 sn: johnson
487 olcUniqueURI: ldap:///?sn?sub?((cn=e*))
513 olcUniqueURI: ldap:///?sn?sub?(cn=e*)
[all …]
/netbsd-src/external/gpl2/lvm2/dist/lib/mirror/
H A Dmirrored.c79 static int _mirrored_text_import_area_count(struct config_node *sn, uint32_t *area_count) in _mirrored_text_import_area_count() argument
81 if (!get_config_uint32(sn, "mirror_count", area_count)) { in _mirrored_text_import_area_count()
83 "segment '%s'.", config_parent_name(sn)); in _mirrored_text_import_area_count()
90 static int _mirrored_text_import(struct lv_segment *seg, const struct config_node *sn, in _mirrored_text_import() argument
96 if (find_config_node(sn, "extents_moved")) { in _mirrored_text_import()
97 if (get_config_uint32(sn, "extents_moved", in _mirrored_text_import()
103 config_parent_name(sn), seg->lv->name); in _mirrored_text_import()
108 if (find_config_node(sn, "region_size")) { in _mirrored_text_import()
109 if (!get_config_uint32(sn, "region_size", in _mirrored_text_import()
113 config_parent_name(sn), seg->lv->name); in _mirrored_text_import()
[all …]
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/variant/tests/data/
H A Dtest006-out.ldif7 sn: Elliot
24 sn: Elliot
44 dn: sn=Doe,ou=Add & Delete,dc=example,dc=com
48 sn: Doe
51 dn: sn=Elliot,ou=Add & Delete,dc=example,dc=com
55 sn: Elliot
77 dn: sn=Doe,ou=Add & Delete,dc=example,dc=com
81 sn: Doe
84 dn: sn=Elliot,ou=Add & Delete,dc=example,dc=com
88 sn: Elliot
[all …]
/netbsd-src/external/gpl2/lvm2/dist/lib/striped/
H A Dstriped.c62 static int _striped_text_import_area_count(struct config_node *sn, uint32_t *area_count) in _striped_text_import_area_count() argument
64 if (!get_config_uint32(sn, "stripe_count", area_count)) { in _striped_text_import_area_count()
66 "segment '%s'.", config_parent_name(sn)); in _striped_text_import_area_count()
73 static int _striped_text_import(struct lv_segment *seg, const struct config_node *sn, in _striped_text_import() argument
79 !get_config_uint32(sn, "stripe_size", &seg->stripe_size)) { in _striped_text_import()
81 "of logical volume %s.", config_parent_name(sn), seg->lv->name); in _striped_text_import()
85 if (!(cn = find_config_node(sn, "stripes"))) { in _striped_text_import()
87 "of logical volume %s.", config_parent_name(sn), seg->lv->name); in _striped_text_import()
93 return text_import_areas(seg, sn, cn, pv_hash, 0); in _striped_text_import()

12345678910>>...18