Home
last modified time | relevance | path

Searched refs:bf (Results 1 – 25 of 243) sorted by relevance

12345678910

/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dbitfield-size.c6 unsigned int get__bfu_a(struct bfu bf) { return bf.a; } in get__bfu_a() argument
7 unsigned int get__bfu_b(struct bfu bf) { return bf.b; } in get__bfu_b() argument
8 unsigned int get_pbfu_a(struct bfu *bf) { return bf->a; } in get_pbfu_a() argument
9 unsigned int get_pbfu_b(struct bfu *bf) { return bf->b; } in get_pbfu_b() argument
17 signed int get__bfs_a(struct bfs bf) { return bf.a; } in get__bfs_a() argument
18 signed int get__bfs_b(struct bfs bf) { return bf.b; } in get__bfs_b() argument
19 signed int get_pbfs_a(struct bfs *bf) { return bf->a; } in get_pbfs_a() argument
20 signed int get_pbfs_b(struct bfs *bf) { return bf->b; } in get_pbfs_b() argument
28 unsigned int get__bfi_a(struct bfi bf) { return bf.a; } in get__bfi_a() argument
29 unsigned int get__bfi_b(struct bfi bf) { return bf.b; } in get__bfi_b() argument
[all …]
H A Dbitfield-init-zero.c10 struct bfu bf = { .f = a, }; in bfuu_init() local
11 return bf; in bfuu_init()
16 struct bfu bf = { .f = a, }; in bfus_init() local
17 return bf; in bfus_init()
22 struct bfu bf = { }; in bfu_get0() local
23 return bf.f; in bfu_get0()
36 struct bfs bf = { .f = a, }; in bfsu_init() local
37 return bf; in bfsu_init()
42 struct bfs bf = { .f = a, }; in bfss_init() local
43 return bf; in bfss_init()
[all …]
H A Dbitfield-store-load0.c6 } bf; in ufoo() local
8 bf.a = a; in ufoo()
9 return bf.a; in ufoo()
17 } bf; in sfoo() local
19 bf.a = a; in sfoo()
20 return bf.a; in sfoo()
/illumos-gate/usr/src/uts/common/syscall/
H A Dfcntl.c80 struct flock64 bf; in fcntl() local
341 bf.l_type = obf.l_type; in fcntl()
342 bf.l_whence = obf.l_whence; in fcntl()
343 bf.l_start = (off64_t)obf.l_start; in fcntl()
344 bf.l_len = (off64_t)obf.l_len; in fcntl()
345 bf.l_sysid = (int)obf.l_sysid; in fcntl()
346 bf.l_pid = obf.l_pid; in fcntl()
359 bf.l_type = sbf.l_type; in fcntl()
360 bf.l_whence = sbf.l_whence; in fcntl()
361 bf.l_start = (off64_t)sbf.l_start; in fcntl()
[all …]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c99 static void arn_tx_complete_buf(struct arn_softc *sc, struct ath_buf *bf,
103 static void arn_buf_set_rate(struct arn_softc *sc, struct ath_buf *bf);
105 struct ath_buf *bf, int txok);
106 static void arn_tx_rc_status(struct ath_buf *bf, struct ath_desc *ds,
215 struct ath_buf *bf; in arn_tx_flush_tid() local
232 bf = list_head(&tid->buf_q); in arn_tx_flush_tid()
233 ASSERT(!bf_isretried(bf)); in arn_tx_flush_tid()
234 list_remove(&tid->buf_q, bf); in arn_tx_flush_tid()
235 list_insert_tail(&list, bf); in arn_tx_flush_tid()
262 struct ath_buf *bf) in arn_tx_addto_baw() argument
[all …]
H A Darn_beacon.c38 arn_beacon_setup(struct arn_softc *sc, struct ath_buf *bf) in arn_beacon_setup() argument
43 mblk_t *mp = bf->bf_m; in arn_beacon_setup()
55 ds = bf->bf_desc; in arn_beacon_setup()
60 ds->ds_link = bf->bf_daddr; /* self-linked */ in arn_beacon_setup()
75 ds->ds_data = bf->bf_dma.cookie.dmac_address; in arn_beacon_setup()
120 struct ath_buf *bf = list_head(&sc->sc_bcbuf_list); in arn_beacon_start_adhoc() local
121 struct ieee80211_node *in = bf->bf_in; in arn_beacon_start_adhoc()
126 mp = bf->bf_m; in arn_beacon_start_adhoc()
127 if (ieee80211_beacon_update(ic, bf->bf_in, &sc->asc_boff, mp, 0)) in arn_beacon_start_adhoc()
128 bcopy(mp->b_rptr, bf->bf_dma.mem_va, MBLKL(mp)); in arn_beacon_start_adhoc()
[all …]
H A Darn_recv.c35 arn_rx_buf_link(struct arn_softc *sc, struct ath_buf *bf) in arn_rx_buf_link() argument
39 ds = bf->bf_desc; in arn_rx_buf_link()
41 ds->ds_data = bf->bf_dma.cookie.dmac_address; in arn_rx_buf_link()
44 ds->ds_vdata = bf->bf_dma.mem_va; in arn_rx_buf_link()
52 bf->bf_dma.alength, /* buffer size */ in arn_rx_buf_link()
56 ath9k_hw_putrxbuf(sc->sc_ah, bf->bf_daddr); in arn_rx_buf_link()
58 *sc->sc_rxlink = bf->bf_daddr; in arn_rx_buf_link()
277 struct ath_buf *bf; in arn_startrecv() local
287 bf = list_head(&sc->sc_rxbuf_list); in arn_startrecv()
288 while (bf != NULL) { in arn_startrecv()
[all …]
H A Darn_core.h363 #define bf_isdata(bf) (bf->bf_state.bf_type & BUF_DATA) argument
364 #define bf_isaggr(bf) (bf->bf_state.bf_type & BUF_AGGR) argument
365 #define bf_isampdu(bf) (bf->bf_state.bf_type & BUF_AMPDU) argument
366 #define bf_isht(bf) (bf->bf_state.bf_type & BUF_HT) argument
367 #define bf_isretried(bf) (bf->bf_state.bf_type & BUF_RETRY) argument
368 #define bf_isxretried(bf) (bf->bf_state.bf_type & BUF_XRETRY) argument
369 #define bf_isshpreamble(bf) (bf->bf_state.bf_type & BUF_SHORT_PREAMBLE) argument
370 #define bf_isbar(bf) (bf->bf_state.bf_type & BUF_BAR) argument
371 #define bf_ispspoll(bf) (bf->bf_state.bf_type & BUF_PSPOLL) argument
372 #define bf_isaggrburst(bf) (bf->bf_state.bf_type & BUF_AGGR_BURST) argument
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dclearok.c45 clearok(WINDOW *w, bool bf) in clearok() argument
48 __m_trace("clearok(%p, %d)", w, bf); in clearok()
52 if (bf) in clearok()
59 immedok(WINDOW *w, bool bf) in immedok() argument
62 __m_trace("immedok(%p, %d)", w, bf); in immedok()
66 if (bf) in immedok()
73 leaveok(WINDOW *w, bool bf) in leaveok() argument
76 __m_trace("leaveok(%p, %d)", w, bf); in leaveok()
80 if (bf) in leaveok()
87 notimeout(WINDOW *w, bool bf) in notimeout() argument
[all …]
H A Dwtouchln.c49 wtouchln(w, y, n, bf) in wtouchln() argument
51 int y, n, bf;
56 __m_trace("wtouchln(%p, %d, %d, %d)", w, y, n, bf);
58 first = bf ? 0 : w->_maxx;
59 last = bf ? w->_maxx : -1;
H A Dmeta.c49 meta(WINDOW *w, bool bf) in meta() argument
52 __m_trace("meta(%p, %d)", w, bf); in meta()
55 cur_term->_prog.c_cflag |= bf ? CS8 : CS7; in meta()
62 if (bf) { in meta()
H A Dintrflsh.c50 (intrflush)(WINDOW *w, bool bf)
53 __m_trace("intrflush(%p, %d)", w, bf);
57 if (!bf)
H A Dtimeout.c45 (nodelay)(WINDOW *w, bool bf)
48 __m_trace("nodelay(%p, %d)", w, bf);
51 wtimeout(w, bf ? 0 : -1);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dclearok.c48 clearok(WINDOW *w, bool bf) in clearok() argument
51 if (bf) in clearok()
58 immedok(WINDOW *w, bool bf) in immedok() argument
61 if (bf) in immedok()
66 leaveok(WINDOW *w, bool bf) in leaveok() argument
69 if (bf) in leaveok()
76 notimeout(WINDOW *w, bool bf) in notimeout() argument
79 if (!bf) in notimeout()
86 scrollok(WINDOW *w, bool bf) in scrollok() argument
89 if (bf) in scrollok()
H A Dwtouchln.c54 wtouchln(WINDOW *w, int y, int n, int bf) in wtouchln() argument
58 first = bf ? 0 : w->_maxx; in wtouchln()
59 last = bf ? w->_maxx : -1; in wtouchln()
/illumos-gate/usr/src/data/ucode/
H A Dupdate.amd100 bf=${f##*/}
101 bf=${bf#microcode_}
102 bf=${bf%.bin}
103 [[ $bf = amd* ]] || errexit "$f does not look like a firmware file"
105 echo "*** Converting $bf"
107 mkdir $tmp/out/$bf
110 $UCODEADM -i -R $tmp/out/$bf $tmp/amd-fw
137 bf=${f##*/}
138 [[ $bf = THIRDPARTYLICENSE* ]] && continue
139 [[ $bf = Makefile* ]] && continue
[all …]
H A Dupdate.intel94 bf=$(basename $f)
95 [[ -n "${seen[$bf]}" ]] && continue
98 links[$bf]=${inodes[$inode]}
100 inodes[$inode]=$bf
101 cp $f intel/$bf
103 seen[$bf]=1
107 bf=$(basename $f)
108 [[ $bf = THIRDPARTYLICENSE* ]] && continue
109 [[ $bf = Makefile* ]] && continue
110 echo "file path=$FW/$bf group=sys mode=0444 reboot-needed=true" >> $mf
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_main.c303 ath_setup_desc(ath_t *asc, struct ath_buf *bf) in ath_setup_desc() argument
307 ds = bf->bf_desc; in ath_setup_desc()
308 ds->ds_link = bf->bf_daddr; in ath_setup_desc()
309 ds->ds_data = bf->bf_dma.cookie.dmac_address; in ath_setup_desc()
311 bf->bf_dma.alength, /* buffer size */ in ath_setup_desc()
315 *asc->asc_rxlink = bf->bf_daddr; in ath_setup_desc()
391 struct ath_buf *bf = *pbf; in ath_buflist_setup() local
396 for (i = 0; i < nbuf; i++, bf++, ds++) { in ath_buflist_setup()
397 bf->bf_desc = ds; in ath_buflist_setup()
398 bf->bf_daddr = asc->asc_desc_dma.cookie.dmac_address + in ath_buflist_setup()
[all …]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dhtable.c131 a->bf = 0; in avl_ll()
133 b->bf = 0; in avl_ll()
157 a->bf = 0; in avl_rr()
159 b->bf = 0; in avl_rr()
192 switch (c->bf) { in avl_lr()
195 a->bf = 0; in avl_lr()
196 b->bf = 1; in avl_lr()
200 a->bf = 0; in avl_lr()
201 b->bf = 0; in avl_lr()
205 a->bf = -1; in avl_lr()
[all …]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Ddouble_decim.c338 __bigfloat_to_decimal(_big_float *bf, decimal_mode *pm, decimal_record *pd, in __bigfloat_to_decimal() argument
355 pbf = bf; in __bigfloat_to_decimal()
361 if (pm->ndigits >= 0 && bf->bexponent < 0) { in __bigfloat_to_decimal()
366 if (powten > -bf->bexponent) in __bigfloat_to_decimal()
367 powten = -bf->bexponent; in __bigfloat_to_decimal()
372 sigbits = bf->bexponent + (bf->blength << 4) + in __bigfloat_to_decimal()
376 __big_float_times_power(bf, 10, powten, sigbits, &pbf); in __bigfloat_to_decimal()
381 if (bf->bexponent < 0) { in __bigfloat_to_decimal()
383 i = bf->bexponent + ((bf->blength - 1) << 4); in __bigfloat_to_decimal()
395 if (powten > -bf->bexponent) in __bigfloat_to_decimal()
[all …]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dbf.c53 struct bf struct
108 struct bf *bfp;
132 bfp = (struct bf *) sm_malloc(sizeof(struct bf));
268 struct bf *bfp;
270 bfp = (struct bf *) fp->f_cookie;
302 struct bf *bfp;
305 bfp = (struct bf *) fp->f_cookie;
346 struct bf *bfp;
351 bfp = (struct bf *) fp->f_cookie;
443 struct bf *bfp;
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dring.c46 _ring(bool bf) in _ring() argument
54 _PUTS(str_array[offsets[bf]] ? str_array[offsets[bf]] : in _ring()
55 str_array[offsets[1 - bf]], 0); in _ring()
H A Dmeta.c48 _meta(int bf) in _meta() argument
56 if (bf) in _meta()
62 if (bf) in _meta()
70 if ((SP->fl_meta = bf) != 0) in _meta()
H A Dkeypad.c48 keypad(WINDOW *win, bool bf) in keypad() argument
55 win->_use_keypad = (bf) ? TRUE : FALSE; in keypad()
56 if (bf && (!SP->kp_state)) { in keypad()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dacpi.c258 basl_open(struct basl_fio *bf, int suffix) in basl_open() argument
265 strlcpy(bf->f_name, basl_stemplate, MAXPATHLEN); in basl_open()
266 bf->fd = mkstemps(bf->f_name, strlen(BHYVE_ASL_SUFFIX)); in basl_open()
268 strlcpy(bf->f_name, basl_template, MAXPATHLEN); in basl_open()
269 bf->fd = mkstemp(bf->f_name); in basl_open()
272 if (bf->fd > 0) { in basl_open()
273 bf->fp = fdopen(bf->fd, "w+"); in basl_open()
274 if (bf->fp == NULL) { in basl_open()
275 unlink(bf->f_name); in basl_open()
276 close(bf->fd); in basl_open()
[all …]

12345678910