Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 2379) sorted by relevance

12345678910>>...96

/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_subr.c33 ctf_data_alloc(size_t size) in ctf_data_alloc()
40 ctf_data_free(void *buf, size_t size) in ctf_data_free()
46 ctf_data_protect(void *buf, size_t size) in ctf_data_protect()
52 ctf_alloc(size_t size) in ctf_alloc()
58 mergeq_alloc(size_t size) in mergeq_alloc()
64 workq_alloc(size_t size) in workq_alloc()
71 ctf_free(void *buf, size_t size) in ctf_free()
78 mergeq_free(void *buf, size_t size) in mergeq_free()
85 workq_free(void *buf, size_t size) in workq_free()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_alloc.c35 topo_alloc(size_t size, int flags) in topo_alloc()
42 topo_zalloc(size_t size, int flags) in topo_zalloc()
52 topo_free(void *data, size_t size) in topo_free()
58 topo_hdl_alloc(topo_hdl_t *thp, size_t size) in topo_hdl_alloc()
66 topo_hdl_zalloc(topo_hdl_t *thp, size_t size) in topo_hdl_zalloc()
74 topo_hdl_free(topo_hdl_t *thp, void *data, size_t size) in topo_hdl_free()
82 topo_mod_alloc(topo_mod_t *mod, size_t size) in topo_mod_alloc()
88 topo_mod_zalloc(topo_mod_t *mod, size_t size) in topo_mod_zalloc()
94 topo_mod_free(topo_mod_t *mod, void *data, size_t size) in topo_mod_free()
/illumos-gate/usr/src/tools/smatch/src/
H A Dbits.h13 static inline unsigned long long sign_bit(unsigned size) in sign_bit()
18 static inline unsigned long long sign_mask(unsigned size) in sign_mask()
24 static inline unsigned long long bits_mask(unsigned size) in bits_mask()
31 static inline long long zero_extend(long long val, unsigned size) in zero_extend()
36 static inline long long sign_extend(long long val, unsigned size) in sign_extend()
45 static inline long long sign_extend_safe(long long val, unsigned size) in sign_extend_safe()
53 static inline long long bits_extend(long long val, unsigned size, int is_signed) in bits_extend()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_alloc.c55 smb_mem_alloc(size_t size) in smb_mem_alloc()
64 smb_mem_zalloc(size_t size) in smb_mem_zalloc()
75 smb_mem_realloc(void *ptr, size_t size) in smb_mem_realloc()
88 smb_mem_rezalloc(void *ptr, size_t size) in smb_mem_rezalloc()
121 size_t size; in smb_mem_strdup() local
159 smb_srm_alloc(smb_request_t *sr, size_t size) in smb_srm_alloc()
170 smb_srm_zalloc(smb_request_t *sr, size_t size) in smb_srm_zalloc()
181 smb_srm_realloc(smb_request_t *sr, void *p, size_t size) in smb_srm_realloc()
195 smb_srm_rezalloc(smb_request_t *sr, void *p, size_t size) in smb_srm_rezalloc()
204 size_t size; in smb_srm_strdup() local
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ppp.c898 opt_format_vendor(uchar_t *optdata, uint8_t size) in opt_format_vendor()
927 opt_format_mru(uchar_t *optdata, uint8_t size) in opt_format_mru()
948 opt_format_accm(uchar_t *optdata, uint8_t size) in opt_format_accm()
1090 opt_format_fcs(uchar_t *optdata, uint8_t size) in opt_format_fcs()
1116 opt_format_sdp(uchar_t *optdata, uint8_t size) in opt_format_sdp()
1203 opt_format_mrru(uchar_t *optdata, uint8_t size) in opt_format_mrru()
1221 opt_format_epdisc(uchar_t *optdata, uint8_t size) in opt_format_epdisc()
1310 opt_format_dce(uchar_t *optdata, uint8_t size) in opt_format_dce()
1363 opt_format_i18n(uchar_t *optdata, uint8_t size) in opt_format_i18n()
1706 opt_format_mppc(uchar_t *optdata, uint8_t size) in opt_format_mppc()
[all …]
/illumos-gate/usr/src/uts/common/ctf/
H A Dctf_subr.c41 ctf_data_alloc(size_t size) in ctf_data_alloc()
52 ctf_data_free(void *buf, size_t size) in ctf_data_free()
59 ctf_data_protect(void *buf, size_t size) in ctf_data_protect()
65 ctf_alloc(size_t size) in ctf_alloc()
72 ctf_free(void *buf, size_t size) in ctf_free()
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drsrc_info.c133 size_t size = 0; in ri_pack() local
207 size_t size; in ap_list_pack() local
260 size_t size = 0; in dev_list_pack() local
314 size_t size = 0; in client_list_pack() local
364 size_t size = 0; in ap_pack() local
428 size_t size = 0; in dev_pack() local
473 size_t size = 0; in client_pack() local
520 size_t size = 0; in pack_add_byte_array() local
830 dev_unpack(char *buf, size_t size, ri_dev_t *dev) in dev_unpack()
868 ap_unpack(char *buf, size_t size, ri_ap_t *ap) in ap_unpack()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dabd.c243 abd_chunkcnt_for_bytes(size_t size) in abd_chunkcnt_for_bytes()
303 abd_alloc(size_t size, boolean_t is_metadata) in abd_alloc()
362 abd_alloc_linear(size_t size, boolean_t is_metadata) in abd_alloc_linear()
425 abd_alloc_sametype(abd_t *sabd, size_t size) in abd_alloc_sametype()
446 abd_alloc_for_io(size_t size, boolean_t is_metadata) in abd_alloc_for_io()
534 abd_get_from_buf(void *buf, size_t size) in abd_get_from_buf()
791 abd_iterate_func(abd_t *abd, size_t off, size_t size, in abd_iterate_func()
898 abd_zero_off_cb(void *buf, size_t size, void *private) in abd_zero_off_cb()
908 abd_zero_off(abd_t *abd, size_t off, size_t size) in abd_zero_off()
920 size_t size, abd_iter_func2_t *func, void *private) in abd_iterate_func2()
[all …]
H A Drange_tree.c81 size_t size = 0; in rs_copy() local
108 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in range_tree_stat_verify() local
127 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in range_tree_stat_incr() local
141 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in range_tree_stat_decr() local
198 size_t size; in range_tree_create_impl() local
407 range_tree_add(void *arg, uint64_t start, uint64_t size) in range_tree_add()
528 range_tree_remove(void *arg, uint64_t start, uint64_t size) in range_tree_remove()
573 range_tree_find(range_tree_t *rt, uint64_t start, uint64_t size) in range_tree_find()
606 range_tree_find_in(range_tree_t *rt, uint64_t start, uint64_t size, in range_tree_find_in()
639 range_tree_clear(range_tree_t *rt, uint64_t start, uint64_t size) in range_tree_clear()
[all …]
H A Dsha256.c35 sha_incremental(void *buf, size_t size, void *arg) in sha_incremental()
44 abd_checksum_SHA256(abd_t *abd, uint64_t size, in abd_checksum_SHA256()
69 abd_checksum_SHA512_native(abd_t *abd, uint64_t size, in abd_checksum_SHA512_native()
81 abd_checksum_SHA512_byteswap(abd_t *abd, uint64_t size, in abd_checksum_SHA512_byteswap()
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kmem.c202 hat_memload_alloc(vmem_t *vmp, size_t size, int flags) in hat_memload_alloc()
364 boot_mapin(caddr_t addr, size_t size) in boot_mapin()
417 boot_alloc(void *inaddr, size_t size, uint_t align) in boot_alloc()
602 segkmem_dump_range(void *arg, void *start, size_t size) in segkmem_dump_range()
973 segkmem_alloc(vmem_t *vmp, size_t size, int vmflag) in segkmem_alloc()
979 segkmem_zio_alloc(vmem_t *vmp, size_t size, int vmflag) in segkmem_zio_alloc()
1048 segkmem_free(vmem_t *vmp, void *inaddr, size_t size) in segkmem_free()
1223 segkmem_free_one_lp(caddr_t addr, size_t size) in segkmem_free_one_lp()
1259 size_t size; in segkmem_alloc_lp() local
1541 segkmem_kvmm_init(void *base, size_t size) in segkmem_kvmm_init()
[all …]
/illumos-gate/usr/src/common/zfs/
H A Dzfs_fletcher.c146 fletcher_2_incremental_native(void *buf, size_t size, void *data) in fletcher_2_incremental_native()
172 fletcher_2_native(const void *buf, size_t size, in fletcher_2_native()
180 fletcher_2_incremental_byteswap(void *buf, size_t size, void *data) in fletcher_2_incremental_byteswap()
206 fletcher_2_byteswap(const void *buf, size_t size, in fletcher_2_byteswap()
214 fletcher_4_incremental_native(void *buf, size_t size, void *data) in fletcher_4_incremental_native()
240 fletcher_4_native(const void *buf, size_t size, in fletcher_4_native()
248 fletcher_4_incremental_byteswap(void *buf, size_t size, void *data) in fletcher_4_incremental_byteswap()
274 fletcher_4_byteswap(const void *buf, size_t size, in fletcher_4_byteswap()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_alloc.c53 size_t size; local
76 __os_calloc(num, size, storep) in __os_calloc() argument
100 __os_malloc(size, db_malloc, storep) in __os_malloc() argument
141 __os_realloc(storep, size) in __os_realloc() argument
186 __os_free(ptr, size) in __os_free() argument
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c52 size_t size; /* Space available for user */ member
60 size_t size; /* Total page size (incl. header) */ member
87 scribble(ulong_t *membgn, int pattern, size_t size) in scribble()
135 split(struct block *block, size_t size) in split()
159 malloc(size_t size) in malloc()
207 calloc(size_t num, size_t size) in calloc()
231 realloc(void *ptr, size_t size) in realloc()
307 lfree(void *ptr, size_t size) in lfree()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_event.c545 uint32_t size; in emlxs_log_link_event() local
703 uint32_t size; in emlxs_log_temp_event() local
739 uint32_t size; in emlxs_log_fcoe_event() local
773 uint32_t size; in emlxs_log_async_event() local
1110 uint32_t size; in emlxs_log_sd_basic_els_event() local
1147 uint32_t size; in emlxs_log_sd_prlo_event() local
1185 uint32_t size; in emlxs_log_sd_lsrjt_event() local
1225 uint32_t size; in emlxs_log_sd_fc_bsy_event() local
1268 uint32_t size; in emlxs_log_sd_fc_rdchk_event() local
1309 uint32_t size; in emlxs_log_sd_scsi_event() local
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dheap.c75 #define MALLOC_SIZE(size) ((size) == 0 ? 1 : (size)) argument
96 sm_malloc_x(size) in sm_malloc_x() argument
122 sm_malloc(size) in sm_malloc() argument
145 sm_realloc(ptr, size) in sm_realloc() argument
172 sm_realloc_x(ptr, size) in sm_realloc_x() argument
361 sm_malloc_tagged(size, tag, num, group) in sm_malloc_tagged() argument
415 sm_malloc_tagged_x(size, tag, num, group) in sm_malloc_tagged_x() argument
472 sm_heap_register(ptr, size, tag, num, group) in sm_heap_register() argument
525 sm_realloc(ptr, size) in sm_realloc() argument
593 sm_realloc_x(ptr, size) in sm_realloc_x() argument
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc_aux.c50 mandoc_calloc(size_t num, size_t size) in mandoc_calloc()
61 mandoc_malloc(size_t size) in mandoc_malloc()
72 mandoc_realloc(void *ptr, size_t size) in mandoc_realloc()
81 mandoc_reallocarray(void *ptr, size_t num, size_t size) in mandoc_reallocarray()
90 mandoc_recallocarray(void *ptr, size_t oldnum, size_t num, size_t size) in mandoc_recallocarray()
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dheap.h34 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup) argument
46 # define sm_malloc_tagged(size, file, line, grp) sm_malloc(size) argument
47 # define sm_malloc_tagged_x(size, file, line, grp) sm_malloc_x(size) argument
49 # define sm_heap_register(ptr, size, file, line, grp) (true) argument
89 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0) argument
90 # define sm_pmalloc_x(size) sm_malloc_tagged_x(size, __FILE__, __LINE__, 0) argument
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_vpd.c168 __in size_t size) in efx_vpd_read()
191 __in size_t size) in efx_vpd_verify()
214 __in size_t size) in efx_vpd_reinit()
244 __in size_t size, in efx_vpd_get()
268 __in size_t size, in efx_vpd_set()
292 __in size_t size, in efx_vpd_next()
317 __in size_t size) in efx_vpd_write()
339 __in size_t size, in efx_vpd_next_tag()
424 __in size_t size, in efx_vpd_next_keyword()
462 __in size_t size, in efx_vpd_hunk_length()
[all …]
H A Dsiena_vpd.c47 size_t size; in siena_vpd_get_static() local
161 size_t size = 0; in siena_vpd_init() local
236 __in size_t size) in siena_vpd_read()
288 __in size_t size) in siena_vpd_verify()
370 __in size_t size) in siena_vpd_reinit()
412 __in size_t size, in siena_vpd_get()
456 __in size_t size, in siena_vpd_set()
493 __in size_t size, in siena_vpd_next()
506 __in size_t size) in siena_vpd_write()
H A Def10_vpd.c133 __in size_t size) in ef10_vpd_read()
183 __in size_t size) in ef10_vpd_verify()
265 __in size_t size) in ef10_vpd_reinit()
307 __in size_t size, in ef10_vpd_get()
352 __in size_t size, in ef10_vpd_set()
390 __in size_t size, in ef10_vpd_next()
403 __in size_t size) in ef10_vpd_write()
/illumos-gate/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c63 size_t size; /* Space available for user */ member
71 size_t size; /* Total page size (incl. header) */ member
96 malloc(size_t size) in malloc()
107 malloc_unlocked(size_t size) in malloc_unlocked()
157 realloc(void *ptr, size_t size) in realloc()
216 align(size_t size, int bound) in align()
225 split(struct block *block, size_t size) in split()
/illumos-gate/usr/src/uts/common/os/
H A Dbp_map.c41 #define BP_FLUSH(addr, size) flush_instr_mem((void *)addr, size); argument
43 #define BP_FLUSH(addr, size) argument
61 bp_vmem_alloc(vmem_t *vmp, size_t size, int vmflag) in bp_vmem_alloc()
91 size_t size; in bp_mapin_common() local
206 size_t size; in bp_mapout() local
250 bp_copyout(void *driverbuf, struct buf *bp, offset_t offset, size_t size) in bp_copyout()
260 bp_copyin(struct buf *bp, void *driverbuf, offset_t offset, size_t size) in bp_copyin()
272 offset_t offset, size_t size) in bp_copy_common()
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dvla-sizeof.c1 unsigned long vla_sizeof0(int size) in vla_sizeof0()
7 unsigned long vla_sizeof1(int size) in vla_sizeof1()
15 unsigned long vla_sizeof2(int size) in vla_sizeof2()
23 void* vla_inc(int size, void *base) in vla_inc()
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_mmu.c64 prom_map_phys(int mode, size_t size, caddr_t virt, unsigned long long physaddr) in prom_map_phys()
96 prom_unmap_phys(size_t size, caddr_t virt) in prom_unmap_phys()
105 prom_allocate_virt(uint_t align, size_t size) in prom_allocate_virt()
140 prom_claim_virt(size_t size, caddr_t virt) in prom_claim_virt()
173 prom_free_virt(size_t size, caddr_t virt) in prom_free_virt()
198 prom_unmap_virt(size_t size, caddr_t virt) in prom_unmap_virt()

12345678910>>...96