Searched refs:nb (Results 1 - 25 of 76) sorted by relevance

1234

/openbsd-current/sys/dev/pci/drm/include/asm/
H A Diosf_mbi.h35 iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) argument
41 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) argument
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D921011-1.c2 fun (nb)
3 int nb;
7 while (nb--)
/openbsd-current/sys/dev/pci/drm/i915/
H A Di915_iosf_mbi.h24 int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) argument
30 iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) argument
36 int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) argument
/openbsd-current/usr.sbin/tcpdump/
H A Dprint-netbios.c49 netbios_print(struct p8022Hdr *nb, u_int length) argument
56 TCHECK(*nb);
58 if (nb->flags == UI)
64 netbios_decode(nb, (u_char *)nb + p8022Size, length - p8022Size);
/openbsd-current/usr.bin/talk/
H A Dio.c59 int nb; local
81 nb = poll(fds, 2, A_LONG_TIME * 1000);
86 if (nb <= 0) {
94 nb = read(sockt, buf, sizeof buf);
95 if (nb <= 0)
97 display(&his_win, buf, nb);
104 ioctl(0, FIONREAD, &nb);
105 nb = read(STDIN_FILENO, buf, nb);
106 display(&my_win, buf, nb);
[all...]
/openbsd-current/sys/dev/pci/drm/include/linux/
H A Dreboot.h13 register_reboot_notifier(struct notifier_block *nb) argument
18 unregister_reboot_notifier(struct notifier_block *nb) argument
/openbsd-current/usr.sbin/makefs/ffs/
H A Dffs_balloc.c73 int32_t nb; local
101 nb = lastlbn;
102 osize = blksize(fs, ip, nb);
114 nb = ip->i_ffs1_db[lbn];
115 if (nb != 0 && ip->i_ffs1_size >= lblktosize(fs, lbn + 1)) {
134 if (nb != 0) {
209 nb = ip->i_ffs1_ib[indirs[0].in_off];
212 if (nb == 0) {
217 nb = newb;
218 *allocblk++ = nb;
326 daddr_t newb, pref, nb; local
[all...]
/openbsd-current/sys/dev/pci/drm/include/drm/
H A Ddrm_privacy_screen_consumer.h29 struct notifier_block *nb);
31 struct notifier_block *nb);
54 struct notifier_block *nb)
59 struct notifier_block *nb)
53 drm_privacy_screen_register_notifier(struct drm_privacy_screen *priv, struct notifier_block *nb) argument
58 drm_privacy_screen_unregister_notifier(struct drm_privacy_screen *priv, struct notifier_block *nb) argument
/openbsd-current/gnu/llvm/libcxx/src/support/solaris/
H A Dmbsnrtowcs.inc38 size_t nb;
46 if ((nb = mbrtowc_l(&wc, s, nms, ps, loc)) == (size_t)-1)
49 else if (nb == 0 || nb == (size_t)-2)
51 s += nb;
52 nms -= nb;
59 if ((nb = mbrtowc_l(dst, s, nms, ps, loc)) == (size_t)-1) {
62 } else if (nb == (size_t)-2) {
65 } else if (nb == 0) {
69 s += nb;
[all...]
H A Dwcsnrtombs.inc36 size_t nb;
43 if ((nb = wcrtomb_l(buf, *s, ps, loc)) == (size_t)-1)
47 return (nbytes + nb - 1);
49 nbytes += nb;
57 if ((nb = wcrtomb_l(dst, *s, ps, loc)) == (size_t)-1) {
70 if ((nb = wcrtomb_l(buf, *s, ps, loc)) == (size_t)-1) {
74 if (nb > (int)len) {
79 memcpy(dst, buf, nb);
83 return (nbytes + nb - 1);
86 dst += nb;
[all...]
/openbsd-current/regress/lib/libpthread/select/
H A Dselect.c82 int nb; local
110 while ((nb = read(fd, buf, sizeof(buf) - 1)) > 0) {
111 printf("read %d: `%.*s'\n", nb, nb, buf);
113 printf("last read was %d, errno = %d %s\n", nb, errno,
115 if (nb < 0)
118 if (nb == 0)
/openbsd-current/sys/ufs/ext2fs/
H A Dext2fs_balloc.c62 u_int32_t nb, newb, *bap; local
77 nb = letoh32(ip->i_e2fs_blocks[bn]);
78 if (nb != 0) {
121 nb = letoh32(ip->i_e2fs_blocks[NDADDR + indirs[0].in_off]);
124 if (nb == 0) {
129 nb = newb;
130 *allocblk++ = nb;
156 nb = letoh32(bap[indirs[i].in_off]);
160 if (nb != 0) {
170 nb
[all...]
H A Dext2fs_inode.c429 int32_t *copy = NULL, nb, nlbn, last; local
491 nb = letoh32(bap[i]);
492 if (nb == 0)
495 error = ext2fs_indirtrunc(ip, nlbn, fsbtodb(fs, nb),
502 ext2fs_blkfree(ip, nb);
511 nb = letoh32(bap[i]);
512 if (nb != 0) {
513 error = ext2fs_indirtrunc(ip, nlbn, fsbtodb(fs, nb),
/openbsd-current/usr.sbin/map-mbone/
H A Dmapper.c150 Neighbor *nb; local
152 for (nb = ifc->neighbors; nb; nb = nb->next)
153 if (nb->addr == addr)
154 return nb;
386 Neighbor *nb; local
399 for (nb = old_neighbors; nb; n
527 Neighbor *nb; local
638 Neighbor *nb; local
692 Neighbor *nb; local
741 Neighbor *nb; local
[all...]
/openbsd-current/lib/libcrypto/bn/asm/
H A Dco-586.pl18 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
35 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # load next b
36 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # load next b
46 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
65 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb);
75 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
101 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb);
159 $nb
[all...]
/openbsd-current/sys/ufs/ffs/
H A Dffs_balloc.c73 daddr_t lbn, nb, newb, pref; local
101 nb = lblkno(fs, ip->i_ffs1_size);
102 if (nb < NDADDR && nb < lbn) {
103 osize = blksize(fs, ip, nb);
105 error = ffs_realloccg(ip, nb,
106 ffs1_blkpref(ip, nb, (int)nb, &ip->i_ffs1_db[0]),
111 ip->i_ffs1_size = lblktosize(fs, nb + 1);
113 ip->i_ffs1_db[nb]
407 daddr_t lbn, lastlbn, nb, newb, *blkp; local
[all...]
/openbsd-current/lib/libc/db/btree/
H A Dbt_overflow.c78 size_t nb, plen; local
104 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) {
108 nb = MINIMUM(sz, plen);
109 memmove(p, (char *)h + BTDATAOFF, nb); local
112 if ((sz -= nb) == 0)
135 size_t nb, plen; local
153 nb = MINIMUM(sz, plen);
154 memmove((char *)h + BTDATAOFF, p, nb);
162 if ((sz -= nb) == 0) {
/openbsd-current/gnu/usr.bin/perl/ext/B/t/
H A Dshowlex.t30 my ($na,$nb,$nc); # holds regex-strs
45 $nb = padrep('$b',$newlex);
47 like ($out, qr/2: $nb/ms, 'found $b in "my ($a,$b)"');
57 $nb = padrep('$bar',$newlex);
59 like ($buf, qr/2: $nb/ms, 'found $bar in "sub { my ($foo,$bar) }"');
70 $nb = padrep('@arr',$newlex);
73 like ($buf, qr/2: $nb/ms, 'found @arr in "'. $src .'"');
/openbsd-current/usr.bin/make/
H A Dbuf.c84 #define DO_STAT_BUF(bp, nb) \
102 /* BufExpand(bp, nb)
103 * Expand buffer bp to hold up to nb additional
107 BufExpand(Buffer bp, size_t nb) argument
111 DO_STAT_BUF(bp, nb);
120 } while (size - occupied < nb+1+BUF_MARGIN);
/openbsd-current/usr.bin/ssh/
H A Dpoly1305.c34 uint32_t b, nb; local
139 nb = ~b;
140 h0 = (h0 & nb) | (g0 & b);
141 h1 = (h1 & nb) | (g1 & b);
142 h2 = (h2 & nb) | (g2 & b);
143 h3 = (h3 & nb) | (g3 & b);
144 h4 = (h4 & nb) | (g4 & b);
/openbsd-current/gnu/usr.bin/binutils/intl/
H A Dloadmsgcat.c132 long int nb = (long int) read (fd, read_ptr, to_read); local
133 if (nb == -1)
139 read_ptr += nb;
140 to_read -= nb;
/openbsd-current/gnu/usr.bin/binutils-2.17/intl/
H A Dloadmsgcat.c132 long int nb = (long int) read (fd, read_ptr, to_read); local
133 if (nb == -1)
139 read_ptr += nb;
140 to_read -= nb;
/openbsd-current/lib/libcurses/tinfo/
H A Dalloc_ttype.c56 merge_names(char **dst, char **a, int na, char **b, int nb) argument
59 while (na > 0 && nb > 0) {
66 nb--;
70 na--, nb--;
76 while (nb-- > 0) {
428 int nb; local
432 nb = from ? ((int) NUM_EXT_NAMES(from)) : 0;
436 nb, from ? NonNull(from->term_names) : "?"));
438 if (to != NULL && from != NULL && (na != 0 || nb != 0)) {
442 if ((na == nb) /* chec
[all...]
/openbsd-current/usr.bin/col/
H A Dcol.c349 int half, i, nb; local
352 nb = nblank_lines;
353 if (nb & 1) {
357 nb++;
359 nb /= 2;
360 for (i = nb; --i >= 0;)
369 if (!nb)
/openbsd-current/sys/dev/pci/drm/i915/gt/uc/
H A Dintel_huc.c178 static int gsc_notifier(struct notifier_block *nb, unsigned long action, void *data) argument
184 struct intel_huc *huc = container_of(nb, struct intel_huc, delayed_load.nb);
213 huc->delayed_load.nb.notifier_call = gsc_notifier;
214 ret = bus_register_notifier(bus, &huc->delayed_load.nb);
217 huc->delayed_load.nb.notifier_call = NULL;
224 if (!huc->delayed_load.nb.notifier_call)
229 bus_unregister_notifier(bus, &huc->delayed_load.nb);
230 huc->delayed_load.nb.notifier_call = NULL;

Completed in 283 milliseconds

1234