Home
last modified time | relevance | path

Searched refs:boff (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_dir.c140 int boff; in pc_direnter() local
224 boff = pc_blkoff(fsp, offset); in pc_direnter()
233 *pcpp = pc_getnode(fsp, blkno, boff, ep); in pc_direnter()
280 int boff; in pc_makedirentry() local
353 boff = pc_blkoff(fsp, offset); in pc_makedirentry()
354 if (boff == 0 || bp == NULL || boff >= bp->b_bcount) { in pc_makedirentry()
492 int boff; in pc_dirempty() local
508 boff = pc_blkoff(VFSTOPCFS(vp->v_vfsp), offset); in pc_dirempty()
509 if (boff == 0 || bp == NULL || boff >= bp->b_bcount) { in pc_dirempty()
700 int boff; in pc_rename() local
[all …]
H A Dpc_vnops.c1309 int boff; in pcfs_readdir() local
1381 boff = pc_blkoff(fsp, offset); in pcfs_readdir()
1382 if (boff == 0 || bp == NULL || boff >= bp->b_bcount) { in pcfs_readdir()
2174 int boff; in pc_extract_long_fn() local
2196 boff = pc_blkoff(fsp, *offset); in pc_extract_long_fn()
2197 if (boff == 0 || *bp == NULL || boff >= (*bp)->b_bcount) { in pc_extract_long_fn()
2232 boff = pc_blkoff(fsp, *offset); in pc_extract_long_fn()
2234 if (boff == 0 || *bp == NULL || boff >= (*bp)->b_bcount) { in pc_extract_long_fn()
2360 int boff = pc_blkoff(fsp, *offset); in pc_read_short_fn() local
2374 boff, ep->pcd_attr, pc_getstartcluster(fsp, ep), in pc_read_short_fn()
/illumos-gate/usr/src/lib/libtecla/common/
H A Dchrqueue.c184 int boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars() local
198 if(boff == 0 && _idle_FreeListNodes(cq->bufmem) == 0) { in _glq_append_chars()
208 boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars()
216 if(boff == 0) { in _glq_append_chars()
242 nleft = GL_CQ_SIZE - boff; in _glq_append_chars()
254 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew); in _glq_append_chars()
/illumos-gate/usr/src/boot/i386/isoboot/
H A Dcd9660read.c232 daddr_t bno, boff; in cd9660_lookup() local
260 boff = 0; in cd9660_lookup()
264 rc = read_iso_block(blkbuf, bno + boff); in cd9660_lookup()
268 boff++; in cd9660_lookup()
273 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_lookup()
293 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_lookup()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_send.c133 uint32_t boff = 0; in hxge_start() local
264 pkt_len = pack_len = boff = TX_PKT_HEADER_SIZE; in hxge_start()
316 boff = 0; in hxge_start()
364 boff = pack_len - len; in hxge_start()
369 boff = 0; in hxge_start()
380 if ((boff == TX_PKT_HEADER_SIZE) && (nmblks == 1)) { in hxge_start()
389 kaddr += boff; in hxge_start()
397 clen, boff)); in hxge_start()
405 b_rptr, kaddr, len, boff)); in hxge_start()
421 clen = len + boff; in hxge_start()
[all …]
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dblock_if.c280 size_t clen, len, off, boff, voff; in blockif_proc() local
309 boff = 0; in blockif_proc()
311 clen = MIN(len - boff, br->br_iov[i].iov_len - in blockif_proc()
314 buf + boff, clen); in blockif_proc()
321 boff += clen; in blockif_proc()
322 } while (boff < len); in blockif_proc()
344 boff = 0; in blockif_proc()
346 clen = MIN(len - boff, br->br_iov[i].iov_len - in blockif_proc()
348 memcpy(buf + boff, in blockif_proc()
357 boff += clen; in blockif_proc()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dcd9660.c290 daddr_t bno, boff; in cd9660_open() local
331 boff = 0; in cd9660_open()
337 cdb2devb(bno + boff), in cd9660_open()
346 boff++; in cd9660_open()
351 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_open()
372 off = boff * ISO_DEFAULT_BLOCK_SIZE; in cd9660_open()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_inode.c1165 int boff; in ufs_itrunc() local
1240 boff = (int)blkoff(fs, length); in ufs_itrunc()
1249 if (boff == 0) in ufs_itrunc()
1252 err = BMAPALLOC(oip, length - 1, boff, cr); in ufs_itrunc()
1269 if ((boff = (int)blkoff(fs, osize)) != 0) { in ufs_itrunc()
1271 fs->fs_bsize : fragroundup(fs, boff); in ufs_itrunc()
1273 (size_t)(bsize - boff)); in ufs_itrunc()
1305 if (boff == 0) { in ufs_itrunc()
1316 err = BMAPALLOC(oip, length - 1, boff, cr); in ufs_itrunc()
1373 fs->fs_bsize : fragroundup(fs, boff); in ufs_itrunc()
[all …]
H A Dufs_bmap.c112 #define DOEXTENT(fs, lbn, boff, bnp, lenp, size, tblp, n, chkfrag, maxtrans) {\ argument
130 len -= (boff); \
134 *(bnp) = fsbtodb(fs, *dp) + btodb(boff); \
211 int i, j, boff; in bmap_read() local
219 boff = (int)blkoff(fs, off); in bmap_read()
227 DOEXTENT(fs, lbn, boff, bnp, lenp, in bmap_read()
287 DOEXTENT(fs, lbn, boff, bnp, lenp, ip->i_size, &bap[i], in bmap_read()
/illumos-gate/usr/src/lib/libproc/common/
H A DPgcore.c1098 off64_t poff, soff, doff, boff; in Pfgcore() local
1209 doff = boff = ehdr.e_ehsize + in Pfgcore()
1267 doff = boff = ehdr.e_ehsize + in Pfgcore()
1340 phdr.p_offset = (Elf32_Off)boff; in Pfgcore()
1341 phdr.p_filesz = doff - boff; in Pfgcore()
1342 boff = doff; in Pfgcore()
1354 phdr.p_offset = boff; in Pfgcore()
1355 phdr.p_filesz = doff - boff; in Pfgcore()
1356 boff = doff; in Pfgcore()
1543 phdr.p_offset = (Elf32_Off)boff; in Pfgcore()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c182 uint32_t boff = 0; in nxge_start() local
428 pkt_len = pack_len = boff = TX_PKT_HEADER_SIZE; in nxge_start()
492 boff = 0; in nxge_start()
543 boff = pack_len - len; in nxge_start()
548 boff = 0; in nxge_start()
560 if ((boff == TX_PKT_HEADER_SIZE) && (nmblks == 1)) { in nxge_start()
569 kaddr += boff; in nxge_start()
583 boff)); in nxge_start()
591 b_rptr, kaddr, len, boff)); in nxge_start()
610 clen = len + boff; in nxge_start()
[all …]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c226 size_t aoff, boff, poff, slotnumber; in swap_getoff() local
277 for (boff = (sip->si_hint % NBBW); boff < NBBW; boff++) { in swap_getoff()
278 if (!TESTBIT(sip->si_swapslots, aoff + boff)) in swap_getoff()
283 for (boff = 0; boff < (sip->si_hint % NBBW); boff++) { in swap_getoff()
284 if (!TESTBIT(sip->si_swapslots, aoff + boff)) in swap_getoff()
297 slotnumber = aoff + boff; in swap_getoff()
303 aoff, boff, ptob(slotnumber), (long)sip->si_eoff); in swap_getoff()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_node.h341 #define BYTE_TO_LBN(boff, vfsp) ((boff)>>((struct hsfs *)((vfsp)->vfs_data))-> \ argument
/illumos-gate/usr/src/cmd/nvmeadm/
H A Dnvmeadm_wdc.c117 void *boff = (void *)((uintptr_t)buf + off); in wdc_e6_write() local
118 ssize_t ret = write(fd, boff, len); in wdc_e6_write()
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_inode.c1559 int32_t error, boff; in ud_itrunc() local
1592 boff = blkoff(udf_vfsp, length); in ud_itrunc()
1600 if (boff == 0) { in ud_itrunc()
1604 error = ud_bmap_write(oip, length - 1, boff, 0, cr); in ud_itrunc()
1616 if ((boff = blkoff(udf_vfsp, osize)) != 0) { in ud_itrunc()
1618 (uint32_t)(bsize - boff)); in ud_itrunc()
1635 if (boff == 0) { in ud_itrunc()
1645 error = ud_bmap_write(oip, length - 1, boff, 0, cr); in ud_itrunc()
1650 pvn_vpzero(ITOV(oip), length, (uint32_t)(bsize - boff)); in ud_itrunc()
/illumos-gate/usr/src/uts/common/io/bnx/570x/common/include/
H A Dl2_defs.h22 u16_t boff; member
26 u16_t boff; member
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzvol.c1309 uint64_t boff; in zvol_dump() local
1319 boff = ldbtob(blkno); in zvol_dump()
1322 VERIFY3U(boff + resid, <=, zv->zv_volsize); in zvol_dump()
1325 size = MIN(resid, P2END(boff, zv->zv_volblocksize) - boff); in zvol_dump()
1326 error = zvol_dumpio(zv, addr, boff, size, B_FALSE, B_TRUE); in zvol_dump()
1329 boff += size; in zvol_dump()
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay_target.c820 size_t boff; in overlay_target_packet() local
843 boff = 0; in overlay_target_packet()
847 (void *)((uintptr_t)pkt->otp_buf + boff), in overlay_target_packet()
853 boff += wlen; in overlay_target_packet()
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dgen_struct_layout.c742 print_row(int boff, int eltlen, int nelts, int issigned, char *comment) in print_row() argument
745 boff, eltlen, nelts, issigned, comment); in print_row()
/illumos-gate/usr/src/cmd/mdb/intel/modules/mdb_kb/
H A Dmdb_kb.c392 size_t boff = xc->xc_hdr.xch_index_offset; in xkb_map_p2m() local
396 off = PAGE_MASK(boff); in xkb_map_p2m()
409 PAGE_OFFSET(boff)); in xkb_map_p2m()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c2054 cg_constants(int cgno, daddr32_t *btotoff, daddr32_t *boff, in cg_constants() argument
2072 *boff = *btotoff + sblock.fs_cpg * sizeof (daddr32_t); in cg_constants()
2073 *iusedoff = *boff + sblock.fs_cpg * sblock.fs_nrpos * sizeof (int16_t); in cg_constants()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c1175 ulong_t boff; in type_equals_cb() local
1181 if (mdb_ctf_member_info(b, name, &boff, &bmem) != 0) in type_equals_cb()
1187 if (aoff != boff) in type_equals_cb()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c3121 uint32_t bsize, boff, types, cpsize, hsize; in ql_get_fcache() local
3146 boff = 0; in ql_get_fcache()
3161 (void *)(uintptr_t)(cmd->ResponseAdr + boff), in ql_get_fcache()
3168 boff += 100; in ql_get_fcache()
3229 uint32_t boff = 0; in ql_get_fcache_ex() local
3255 boff = 0; in ql_get_fcache_ex()
3260 (void *)(uintptr_t)(cmd->ResponseAdr + boff), in ql_get_fcache_ex()
3263 EL(ha, "failed, ddicopy at %xh, done\n", boff); in ql_get_fcache_ex()
3268 boff += FBUFSIZE; in ql_get_fcache_ex()
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c2370 int boff = offset % bsize; in dnode_read() local
2415 i = bsize - boff; in dnode_read()
2417 memcpy(buf, &dnode_cache_buf[boff], i); in dnode_read()
/illumos-gate/usr/src/cmd/awk/
H A Drun.c122 int boff = pbptr ? *pbptr - *pbuf : 0; in adjbuf() local
137 *pbptr = tbuf + boff; in adjbuf()

12