Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_dir.c138 int boff; in pc_direnter() local
222 boff = pc_blkoff(fsp, offset); in pc_direnter()
231 *pcpp = pc_getnode(fsp, blkno, boff, ep); in pc_direnter()
278 int boff; in pc_makedirentry() local
351 boff = pc_blkoff(fsp, offset); in pc_makedirentry()
352 if (boff == 0 || bp == NULL || boff >= bp->b_bcount) { in pc_makedirentry()
490 int boff; in pc_dirempty() local
506 boff = pc_blkoff(VFSTOPCFS(vp->v_vfsp), offset); in pc_dirempty()
507 if (boff == 0 || bp == NULL || boff >= bp->b_bcount) { in pc_dirempty()
692 int boff; in pc_rename() local
[all …]
H A Dpc_vnops.c1310 int boff; in pcfs_readdir() local
1382 boff = pc_blkoff(fsp, offset); in pcfs_readdir()
1383 if (boff == 0 || bp == NULL || boff >= bp->b_bcount) { in pcfs_readdir()
2175 int boff; in pc_extract_long_fn() local
2197 boff = pc_blkoff(fsp, *offset); in pc_extract_long_fn()
2198 if (boff == 0 || *bp == NULL || boff >= (*bp)->b_bcount) { in pc_extract_long_fn()
2233 boff = pc_blkoff(fsp, *offset); in pc_extract_long_fn()
2235 if (boff == 0 || *bp == NULL || boff >= (*bp)->b_bcount) { in pc_extract_long_fn()
2361 int boff = pc_blkoff(fsp, *offset); in pc_read_short_fn() local
2375 boff, ep->pcd_attr, pc_getstartcluster(fsp, ep), in pc_read_short_fn()
/titanic_41/usr/src/lib/libtecla/common/
H A Dchrqueue.c186 int boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars() local
200 if(boff == 0 && _idle_FreeListNodes(cq->bufmem) == 0) { in _glq_append_chars()
210 boff = cq->ntotal % GL_CQ_SIZE; in _glq_append_chars()
218 if(boff == 0) { in _glq_append_chars()
244 nleft = GL_CQ_SIZE - boff; in _glq_append_chars()
256 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew); in _glq_append_chars()
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhxge_send.c133 uint32_t boff = 0; in hxge_start() local
268 pkt_len = pack_len = boff = TX_PKT_HEADER_SIZE; in hxge_start()
324 boff = 0; in hxge_start()
372 boff = pack_len - len; in hxge_start()
377 boff = 0; in hxge_start()
388 if ((boff == TX_PKT_HEADER_SIZE) && (nmblks == 1)) { in hxge_start()
397 kaddr += boff; in hxge_start()
405 clen, boff)); in hxge_start()
413 b_rptr, kaddr, len, boff)); in hxge_start()
429 clen = len + boff; in hxge_start()
[all …]
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_inode.c1163 int boff; in ufs_itrunc() local
1238 boff = (int)blkoff(fs, length); in ufs_itrunc()
1247 if (boff == 0) in ufs_itrunc()
1250 err = BMAPALLOC(oip, length - 1, boff, cr); in ufs_itrunc()
1267 if ((boff = (int)blkoff(fs, osize)) != 0) { in ufs_itrunc()
1269 fs->fs_bsize : fragroundup(fs, boff); in ufs_itrunc()
1271 (size_t)(bsize - boff)); in ufs_itrunc()
1303 if (boff == 0) { in ufs_itrunc()
1314 err = BMAPALLOC(oip, length - 1, boff, cr); in ufs_itrunc()
1371 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()
/titanic_41/usr/src/lib/libproc/common/
H A DPgcore.c1045 off64_t poff, soff, doff, boff; in Pfgcore() local
1153 doff = boff = ehdr.e_ehsize + in Pfgcore()
1211 doff = boff = ehdr.e_ehsize + in Pfgcore()
1284 phdr.p_offset = (Elf32_Off)boff; in Pfgcore()
1285 phdr.p_filesz = doff - boff; in Pfgcore()
1286 boff = doff; in Pfgcore()
1298 phdr.p_offset = boff; in Pfgcore()
1299 phdr.p_filesz = doff - boff; in Pfgcore()
1300 boff = doff; in Pfgcore()
1456 phdr.p_offset = (Elf32_Off)boff; in Pfgcore()
[all …]
/titanic_41/usr/src/uts/common/vm/
H A Dvm_swap.c221 size_t aoff, boff, poff, slotnumber; in swap_getoff() local
272 for (boff = (sip->si_hint % NBBW); boff < NBBW; boff++) { in swap_getoff()
273 if (!TESTBIT(sip->si_swapslots, aoff + boff)) in swap_getoff()
278 for (boff = 0; boff < (sip->si_hint % NBBW); boff++) { in swap_getoff()
279 if (!TESTBIT(sip->si_swapslots, aoff + boff)) in swap_getoff()
292 slotnumber = aoff + boff; in swap_getoff()
298 aoff, boff, ptob(slotnumber), (long)sip->si_eoff); in swap_getoff()
/titanic_41/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()
496 boff = 0; in nxge_start()
547 boff = pack_len - len; in nxge_start()
552 boff = 0; in nxge_start()
564 if ((boff == TX_PKT_HEADER_SIZE) && (nmblks == 1)) { in nxge_start()
573 kaddr += boff; in nxge_start()
587 boff)); in nxge_start()
595 b_rptr, kaddr, len, boff)); in nxge_start()
614 clen = len + boff; in nxge_start()
[all …]
/titanic_41/usr/src/uts/common/sys/fs/
H A Dhsfs_node.h343 #define BYTE_TO_LBN(boff, vfsp) ((boff)>>((struct hsfs *)((vfsp)->vfs_data))-> \ argument
/titanic_41/usr/src/uts/common/fs/udfs/
H A Dudf_inode.c1558 int32_t error, boff; in ud_itrunc() local
1591 boff = blkoff(udf_vfsp, length); in ud_itrunc()
1599 if (boff == 0) { in ud_itrunc()
1603 error = ud_bmap_write(oip, length - 1, boff, 0, cr); in ud_itrunc()
1615 if ((boff = blkoff(udf_vfsp, osize)) != 0) { in ud_itrunc()
1617 (uint32_t)(bsize - boff)); in ud_itrunc()
1634 if (boff == 0) { in ud_itrunc()
1644 error = ud_bmap_write(oip, length - 1, boff, 0, cr); in ud_itrunc()
1649 pvn_vpzero(ITOV(oip), length, (uint32_t)(bsize - boff)); in ud_itrunc()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzvol.c1351 uint64_t boff; in zvol_dump() local
1361 boff = ldbtob(blkno); in zvol_dump()
1364 VERIFY3U(boff + resid, <=, zv->zv_volsize); in zvol_dump()
1367 size = MIN(resid, P2END(boff, zv->zv_volblocksize) - boff); in zvol_dump()
1368 error = zvol_dumpio(zv, addr, boff, size, B_FALSE, B_TRUE); in zvol_dump()
1371 boff += size; in zvol_dump()
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Diosram.c662 int boff; in iosram_rd() local
732 if ((boff = ((uintptr_t)iosramp & (UINT32SZ - 1))) != 0) { in iosram_rd()
733 int cnt = UINT32SZ - boff; in iosram_rd()
860 int boff; in _iosram_write() local
940 if ((boff = ((uintptr_t)iosramp & (UINT32SZ - 1))) != 0) { in _iosram_write()
941 int cnt = UINT32SZ - boff; in _iosram_write()
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Dgen_struct_layout.c688 print_row(int boff, int eltlen, int nelts, int issigned, char *comment) in print_row() argument
691 boff, eltlen, nelts, issigned, comment); in print_row()
/titanic_41/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()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.c1119 ulong_t boff; in type_equals_cb() local
1125 if (mdb_ctf_member_info(b, name, &boff, &bmem) != 0) in type_equals_cb()
1131 if (aoff != boff) in type_equals_cb()
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c2047 cg_constants(int cgno, daddr32_t *btotoff, daddr32_t *boff, in cg_constants() argument
2065 *boff = *btotoff + sblock.fs_cpg * sizeof (daddr32_t); in cg_constants()
2066 *iusedoff = *boff + sblock.fs_cpg * sblock.fs_nrpos * sizeof (int16_t); in cg_constants()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c3015 uint32_t bsize, boff, types, cpsize, hsize; in ql_get_fcache() local
3044 boff = 0; in ql_get_fcache()
3059 (void *)(uintptr_t)(cmd->ResponseAdr + boff), in ql_get_fcache()
3067 boff += 100; in ql_get_fcache()
3131 uint32_t boff = 0; in ql_get_fcache_ex() local
3160 boff = 0; in ql_get_fcache_ex()
3165 (void *)(uintptr_t)(cmd->ResponseAdr + boff), in ql_get_fcache_ex()
3169 EL(ha, "failed, ddicopy at %xh, done\n", boff); in ql_get_fcache_ex()
3174 boff += FBUFSIZE; in ql_get_fcache_ex()
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c638 int offset, boff; member