Home
last modified time | relevance | path

Searched refs:ext_size (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_vstafs.c193 int ext_size; in vstafs_read() local
210 ext_size = a[0].a_len * 512 - VSTAFS_START_DATA; in vstafs_read()
211 offset = filepos - ext_size; in vstafs_read()
215 curr_len -= ext_size; in vstafs_read()
216 offset -= ext_size; in vstafs_read()
217 ext_size = a[extent+1].a_len * 512; in vstafs_read()
219 while (extent < FILE_INFO->extents && offset>ext_size); in vstafs_read()
/illumos-gate/usr/src/uts/intel/os/
H A Dmicrocode_intel.c192 int total_size, body_size, ext_size; in ucode_locate_intel() local
226 ext_size = total_size - offset; in ucode_locate_intel()
228 if (ext_size <= 0) in ucode_locate_intel()
231 ucodefp->uf_ext_table = ucode_zalloc(cp->cpu_id, ext_size); in ucode_locate_intel()
238 ext_size, offset) != ext_size) { in ucode_locate_intel()
240 } else if (ucode_checksum_intel(0, ext_size, in ucode_locate_intel()
334 int total_size, body_size, ext_size; in ucode_extract_intel() local
342 ext_size = total_size - (header_size + body_size); in ucode_extract_intel()
344 if (ext_size > 0) in ucode_extract_intel()
/illumos-gate/usr/src/common/ucode/
H A Ducode_utils_intel.c155 uint32_t total_size, body_size, ext_size; in ucode_validate_intel() local
171 ext_size = total_size - (header_size + body_size); in ucode_validate_intel()
173 if (ext_size > 0) { in ucode_validate_intel()
180 if (ucode_checksum_intel(0, ext_size, (uint8_t *)ext)) in ucode_validate_intel()
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dmbuf.h128 uint_t ext_size; /* size of external buffer */ member
236 (m)->m_ext.ext_size = MCLBYTES; \
285 (((m)->m_flags & M_EXT) ? (m)->m_ext.ext_size : \
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dcudbg_flash_utils.c101 u32 start_offset, u32 ext_size) in update_headers() argument
157 flash_hdr->data_len += ext_size; in update_headers()
165 u32 ext_size) in cudbg_write_flash() argument
197 start_offset, ext_size); in cudbg_write_flash()
199 if (ext_size) { in cudbg_write_flash()
H A Dcudbg_lib.c173 get_next_ext_entity_hdr(void *outbuf, u32 *ext_size, in get_next_ext_entity_hdr() argument
180 *ext_size = 0; in get_next_ext_entity_hdr()
197 *ext_size += (*entity_hdr)->size + in get_next_ext_entity_hdr()
200 if (dbg_buff->size - dbg_buff->offset + *ext_size <= in get_next_ext_entity_hdr()
212 (*entity_hdr)->next_ext_offset = *ext_size; in get_next_ext_entity_hdr()
229 int entity_nu, u32 ext_size) in wr_entity_to_flash() argument
276 ext_size); in wr_entity_to_flash()
301 u32 ext_size = 0; in cudbg_collect() local
366 rc = get_next_ext_entity_hdr(outbuf, &ext_size, in cudbg_collect()
444 ext_size += (sizeof(struct cudbg_entity_hdr) + in cudbg_collect()
[all …]
H A Dcudbg_lib_common.h152 u32 ext_size);
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_node.c332 (size_t)(hp->hs_dirent.ext_size + 1)); in hs_getfree()
560 } else if ((dp->ext_size == 0 || dp->sym_link != (char *)NULL) && in hs_makenode()
641 kmem_free(dp->sym_link, (size_t)(dp->ext_size + 1)); in hs_makenode()
683 (size_t)(hp->hs_dirent.ext_size + 1)); in hs_freenode()
835 if (dhp->hs_dirent.ext_size == 0) in hs_dirlook()
846 end = dhp->hs_dirent.ext_size; in hs_dirlook()
940 hdp->ext_size = HDE_EXT_SIZE(dirp); in hs_parsedir()
1015 (size_t)(hdp->ext_size + 1)); in hs_parsedir()
1039 if (hdp->ext_size == 0) { in hs_parsedir()
1570 (size_t)(hd.ext_size+1)); in process_dirblock()
H A Dhsfs_vnops.c166 if (hp->hs_dirent.ext_size == 0) in hsfs_read()
169 filesize = hp->hs_dirent.ext_size; in hsfs_read()
262 if ((hp->hs_dirent.ext_size == 0) && (vp->v_type == VDIR)) { in hsfs_getattr()
273 vap->va_size = (offset_t)hp->hs_dirent.ext_size; in hsfs_getattr()
309 (size_t)MIN(hp->hs_dirent.ext_size, in hsfs_readlink()
429 if (dhp->hs_dirent.ext_size == 0) in hsfs_readdir()
431 dirsiz = dhp->hs_dirent.ext_size; in hsfs_readdir()
520 } else if ((hd.ext_size == 0 || in hsfs_readdir()
544 (size_t)(hd.ext_size+1)); in hsfs_readdir()
753 filsiz = hp->hs_dirent.ext_size; in hsfs_getpage_ra()
[all …]
H A Dhsfs_rrip.c414 kmem_free(hdp->sym_link, (size_t)(hdp->ext_size + 1)); in rrip_sym_link()
418 hdp->ext_size = (uint_t)strlen(tmp_sym_link); in rrip_sym_link()
H A Dhsfs_subr.c292 if (hd->ext_size == 0)
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_util.c189 m->m_ext.ext_size = len; in smb_mbuf_alloc_ext()
203 kmem_free(m->m_ext.ext_buf, m->m_ext.ext_size); in smb_mbuf_kmem_free()
481 (MBC)->chain->m_ext.ext_size = (LEN); in MBC_ATTACH_BUF()
644 ASSERT(m->m_ext.ext_size == MCLBYTES); in smb_mbufcl_free()
H A Dsmb_net.c246 mbuf->m_ext.ext_size = MCLBYTES; in smb_net_wrap_mbuf()
H A Dsmb_mbuf_marshaling.c1263 m->m_len = m->m_ext.ext_size = iov->iov_len; in mbc_marshal_put_uio()
/illumos-gate/usr/src/common/fs/
H A Dhsfs.c184 ip->i_size = hsdep.hs_dir.ext_size; in opendir()
272 ip->i_size = hsdep->hs_dir.ext_size; in dlook()
659 hdp->ext_size = IDE_EXT_SIZE(bufp); in parse_dir()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_node.h40 uint_t ext_size; /* no. of data bytes in extent */ member
/illumos-gate/usr/src/stand/lib/fs/hsfs/
H A Dhsfsops.c751 hdp->ext_size = IDE_EXT_SIZE(bufp); in parse_dir()
965 ip->i_size = hsdep->hs_dir.ext_size; in hs_seti()