/freebsd/sys/kern/ |
H A D | tty_inq.c | 70 ((tib)->tib_quotes[(boff) / BMSIZE] & (1 << ((boff) % BMSIZE))) 72 ((tib)->tib_quotes[(boff) / BMSIZE] |= (1 << ((boff) % BMSIZE))) 74 ((tib)->tib_quotes[(boff) / BMSIZE] &= ~(1 << ((boff) % BMSIZE))) 291 unsigned int boff; in ttyinq_write() local 366 unsigned int boff; in ttyinq_canonicalize_break() local 380 if (strchr(breakc, tib->tib_data[boff]) && !GETBIT(tib, boff)) { in ttyinq_canonicalize_break() 421 if (strchr(breakc, tib->tib_data[boff]) && !GETBIT(tib, boff)) { in ttyinq_findchar() 425 boff++; in ttyinq_findchar() 452 unsigned int boff; in ttyinq_peekchar() local 505 unsigned int boff; in ttyinq_line_iterate() local [all …]
|
H A D | tty_outq.c | 281 unsigned int boff; in ttyoutq_write() local 285 boff = to->to_end % TTYOUTQ_DATASIZE; in ttyoutq_write() 296 } else if (boff == 0) { in ttyoutq_write() 309 l = MIN(nbytes, TTYOUTQ_DATASIZE - boff); in ttyoutq_write() 311 memcpy(tob->tob_data + boff, cbuf, l); in ttyoutq_write()
|
/freebsd/sys/dev/le/ |
H A D | lance.c | 355 boff += len; in lance_put() 412 boff += len; in lance_get() 667 memset(buf + boff, 0, len); in lance_zerobuf_contig() 690 if (boff & 0x1) { 716 if (boff & 0x1) { 769 boff &= 0xf; 775 boff = 0; 789 boff &= 0xf; 795 boff = 0; 809 boff &= 0xf; [all …]
|
/freebsd/sys/geom/vinum/ |
H A D | geom_vinum_raid5.c | 69 err = gv_raid5_rebuild(p, wp, bp, addr, boff, bcount); in gv_raid5_start() 71 err = gv_raid5_check(p, wp, bp, addr, boff, bcount); in gv_raid5_start() 73 err = gv_raid5_request(p, wp, bp, addr, boff, bcount, &delay); in gv_raid5_start() 177 caddr_t addr, off_t boff, off_t bcount) in gv_raid5_check() argument 255 caddr_t addr, off_t boff, off_t bcount) in gv_raid5_rebuild() argument 334 p->synced = boff; in gv_raid5_rebuild() 367 if (boff >= p->synced) { in gv_raid5_request() 370 } else if (boff + bcount <= p->synced) { in gv_raid5_request() 378 gv_raid5_offset(p, boff, bcount, &real_off, &real_len, in gv_raid5_request() 605 stripeoff = boff % (p->stripesize * (sdcount - 1)); in gv_raid5_offset() [all …]
|
H A D | geom_vinum_plex.c | 60 off_t bcount, boff, len; in gv_plex_start() local 64 boff = bp->bio_offset; in gv_plex_start() 75 wp = gv_raid5_start(p, bp, addr, boff, bcount); in gv_plex_start() 98 boff += len; in gv_plex_start() 142 if (s->plex_offset <= boff && in gv_plex_offset() 143 s->plex_offset + s->size > boff) { in gv_plex_offset() 153 *real_off = boff - s->plex_offset; in gv_plex_offset() 161 stripeno = boff / p->stripesize; in gv_plex_offset() 165 sdcount = gv_sdcount(p, (boff >= p->synced)); in gv_plex_offset() 167 if (!(boff + bcount <= p->synced) && in gv_plex_offset() [all …]
|
/freebsd/sys/dev/vt/hw/vbefb/ |
H A D | vbefb.c | 103 int format, roff, goff, boff; in vt_vbefb_init() local 134 boff = ffs(vbefb->fb_mask_blue) - 1; in vt_vbefb_init() 138 vbefb->fb_mask_blue >> boff, boff); in vt_vbefb_init()
|
/freebsd/stand/libsa/ |
H A D | cd9660read.c | 227 daddr_t bno, boff; in cd9660_lookup() local 253 boff = 0; in cd9660_lookup() 257 rc = read_iso_block(blkbuf, bno + boff); in cd9660_lookup() 261 boff++; in cd9660_lookup() 266 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_lookup() 286 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_lookup()
|
H A D | cd9660.c | 341 daddr_t bno, boff; in cd9660_open() local 382 boff = 0; in cd9660_open() 389 cdb2devb(bno + boff), in cd9660_open() 398 boff++; in cd9660_open() 403 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_open() 423 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_open()
|
/freebsd/sys/dev/vt/hw/efifb/ |
H A D | efifb.c | 104 int roff, goff, boff; in vt_efifb_init() local 156 boff = ffs(efifb->fb_mask_blue) - 1; in vt_efifb_init() 160 efifb->fb_mask_blue >> boff, boff); in vt_efifb_init()
|
/freebsd/usr.sbin/fstyp/ |
H A D | hammer2.c | 72 size_t bytes, io_bytes, boff; in read_media() local 86 boff = io_off - io_base; in read_media() 89 while (io_bytes + boff < bytes) in read_media() 106 if (boff) in read_media() 107 memcpy(media, (char *)media + boff, bytes); in read_media()
|
/freebsd/usr.sbin/makefs/msdos/ |
H A D | msdosfs_denode.c | 213 int boff; in detrunc() local 270 if ((boff = length & pmp->pm_crbomask) != 0) { in detrunc() 282 memset(bp->b_data + boff, 0, pmp->pm_bpcluster - boff); in detrunc()
|
/freebsd/usr.sbin/bhyve/ |
H A D | block_if.c | 236 size_t clen, len, off, boff, voff; in blockif_proc() local 265 boff = 0; in blockif_proc() 267 clen = MIN(len - boff, br->br_iov[i].iov_len - in blockif_proc() 270 buf + boff, clen); in blockif_proc() 277 boff += clen; in blockif_proc() 278 } while (boff < len); in blockif_proc() 300 boff = 0; in blockif_proc() 302 clen = MIN(len - boff, br->br_iov[i].iov_len - in blockif_proc() 304 memcpy(buf + boff, in blockif_proc() 313 boff += clen; in blockif_proc() [all …]
|
/freebsd/usr.sbin/makefs/ffs/ |
H A D | ffs_bswap.c | 200 int32_t btotoff, boff, clustersumoff; in ffs_cg_swap() local 236 boff = n->cg_old_boff; in ffs_cg_swap() 240 boff = bswap32(n->cg_old_boff); in ffs_cg_swap() 245 n16 = (u_int16_t *)((u_int8_t *)n + boff); in ffs_cg_swap() 246 o16 = (u_int16_t *)((u_int8_t *)o + boff); in ffs_cg_swap()
|
/freebsd/usr.bin/grep/ |
H A D | queue.c | 98 item->boff = x->boff; in enqueue()
|
H A D | util.c | 323 pc.ln.boff = 0; in procfile() 348 pc.ln.boff = 0; in procfile() 734 printf("%lld", (long long)(line->off + line->boff)); in printline_metadata() 772 pc->ln.boff = match.rm_so; in printline()
|
H A D | grep.h | 81 off_t boff; member
|
/freebsd/stand/i386/libi386/ |
H A D | vidconsole.c | 634 int i, roff, goff, boff, rc; in vidc_load_palette() local 644 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1; in vidc_load_palette() 648 gfx_state.tg_fb.fb_mask_blue >> boff, boff); in vidc_load_palette() 884 int format, roff, goff, boff; in cons_update_mode() local 946 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1; in cons_update_mode() 950 gfx_state.tg_fb.fb_mask_blue >> boff, boff); in cons_update_mode()
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_denode.c | 369 int boff; in detrunc() local 428 if ((boff = length & pmp->pm_crbomask) != 0) { in detrunc() 443 memset(bp->b_data + boff, 0, pmp->pm_bpcluster - boff); in detrunc()
|
/freebsd/stand/efi/libefi/ |
H A D | efi_console.c | 924 int roff, goff, boff; in cons_update_mode() local 928 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1; in cons_update_mode() 933 gfx_state.tg_fb.fb_mask_blue >> boff, boff); in cons_update_mode()
|
/freebsd/stand/common/ |
H A D | gfx_fb.c | 281 int roff, goff, boff, bpp; in gfx_fb_color_map() local 285 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1; in gfx_fb_color_map() 299 bmask = gfx_state.tg_fb.fb_mask_blue >> boff; in gfx_fb_color_map() 413 int roff, goff, boff; in gfxfb_blt_fill() local 433 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1; in gfxfb_blt_fill() 443 (gfx_state.tg_fb.fb_mask_blue >> boff)) << boff; in gfxfb_blt_fill()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_lock.cpp | 2666 void __kmp_spin_backoff(kmp_backoff_t *boff) { in __kmp_spin_backoff() argument 2669 for (i = boff->step; i > 0; i--) { in __kmp_spin_backoff() 2670 kmp_uint64 goal = __kmp_tsc() + boff->min_tick; in __kmp_spin_backoff() 2673 __kmp_tpause(0, boff->min_tick); in __kmp_spin_backoff() 2683 boff->step = (boff->step << 1 | 1) & (boff->max_backoff - 1); in __kmp_spin_backoff()
|
/freebsd/stand/libsa/zfs/ |
H A D | zfsimpl.c | 2352 int boff = offset % bsize; in dnode_read() local 2390 i = bsize - boff; in dnode_read() 2392 memcpy(buf, &dnode_cache_buf[boff], i); in dnode_read()
|
/freebsd/contrib/one-true-awk/ |
H A D | run.c | 118 int boff = pbptr ? *pbptr - *pbuf : 0; in adjbuf() local 132 *pbptr = tbuf + boff; in adjbuf()
|