Searched defs:fsz (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Drawput.c47 _elf_read(int fd, off_t off, size_t fsz) argument
51 if (fsz == 0)
63 if ((p = (char *)malloc(fsz)) == 0) {
68 if (read(fd, p, fsz) != fsz) {
H A Dar.c122 _elf_armem(Elf *elf, char *file, size_t fsz) argument
129 if (fsz < sizeof (struct ar_hdr)) {
H A Dclscook.c151 size_t fsz, msz; local
177 fsz = elf_fsize(d->db_data.d_type, 1, elf->ed_version);
179 d->db_data.d_size = MAX(sh->sh_size, (sh->sh_size / fsz) * msz);
222 register size_t fsz; /* field size */ local
225 fsz = elf_fsize(ELF_T_EHDR, 1, elf->ed_version);
226 if (fsz > elf->ed_fsz) {
230 if (inplace && (fsz >= sizeof (Ehdr))) {
247 * Memory size >= fsz, because otherwise the memory version
254 src.d_size = fsz;
260 if ((_elf_vm(elf, (size_t)0, fsz) !
299 register size_t fsz, msz; local
359 register size_t fsz, msz; local
[all...]
H A Dupdate.c217 register Lword fsz, j; local
235 if ((fsz = elf_fsize(d->db_data.d_type,
240 fsz *= (d->db_data.d_size / j);
241 d->db_osz = (size_t)fsz;
251 sz += fsz;
278 if ((fsz = hi % j) != 0)
279 hi += j - fsz;
396 register Lword fsz, j; local
405 if ((fsz = elf_fsize(d->db_data.d_type, 1,
409 fsz *
[all...]
/illumos-gate/usr/src/uts/sun4/os/
H A Dforthdebug.c99 uint64_t fsz; local
116 i = kobj_get_filesize(file, &fsz);
117 if (i || !fsz) {
119 FDEBUGFILE, i, (long long)fsz);
123 fth_buf = (char *)kobj_zalloc(fsz + 1, KM_SLEEP);
124 sz = kobj_read_file(file, fth_buf, fsz, 0); /* entire file */
129 ASSERT(fsz == sz);
179 kobj_free(fth_buf, fsz + 1);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7clogd.c398 nl7c_logd_init(int fsz, caddr_t *fnv) argument
419 nca_fio_size(&fio) = fsz;
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Dprofv.c733 process_mon_out(caddr_t memp, size_t fsz) argument
742 file_end = memp + fsz;
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext.h153 size_t fsz; /* file size */ member in struct:msg_pack
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_transceiver.c832 size_t fsz; local
846 fsz = sizeof (i40e_tx_control_block_t) *
848 kmem_free(itrq->itrq_tcb_area, fsz);
853 fsz = sizeof (i40e_tx_control_block_t *) *
855 kmem_free(itrq->itrq_tcb_free_list, fsz);
860 fsz = sizeof (i40e_tx_control_block_t *) *
862 kmem_free(itrq->itrq_tcb_work_list, fsz);
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dgprof.c1260 getpfiledata(caddr_t memp, size_t fsz) argument
1276 file_end = memp + fsz;
1456 handle_versioned(FILE *pfile, char *filename, size_t *fsz) argument
1501 *fsz = lret;
1503 fmem = mmap(0, *fsz, PROT_READ, MAP_PRIVATE, fd, 0);
1530 openpfile(char *filename, size_t *fsz) argument
1567 return (handle_versioned(pfile, filename, fsz));
1578 fsz = 0;
1728 size_t fsz; local
1730 handle = openpfile(filename, &fsz);
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Droff.c2945 size_t fsz, ssz; local
2956 fsz = ssz = 1;
2966 fsz = (size_t)(p - first);
2985 if (fsz > 1) {
2986 roff_setstrn(&r->xmbtab, first, fsz,

Completed in 161 milliseconds