/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_subr.c | 33 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 D | topo_alloc.c | 33 topo_alloc(size_t size, int flags) in topo_alloc() 40 topo_zalloc(size_t size, int flags) in topo_zalloc() 50 topo_free(void *data, size_t size) in topo_free() 56 topo_hdl_alloc(topo_hdl_t *thp, size_t size) in topo_hdl_alloc() 64 topo_hdl_zalloc(topo_hdl_t *thp, size_t size) in topo_hdl_zalloc() 72 topo_hdl_free(topo_hdl_t *thp, void *data, size_t size) in topo_hdl_free() 80 topo_mod_alloc(topo_mod_t *mod, size_t size) in topo_mod_alloc() 86 topo_mod_zalloc(topo_mod_t *mod, size_t size) in topo_mod_zalloc() 92 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 D | bits.h | 13 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 D | smb_alloc.c | 55 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 D | snoop_ppp.c | 896 opt_format_vendor(uchar_t *optdata, uint8_t size) in opt_format_vendor() 925 opt_format_mru(uchar_t *optdata, uint8_t size) in opt_format_mru() 946 opt_format_accm(uchar_t *optdata, uint8_t size) in opt_format_accm() 969 opt_format_authproto(uchar_t *optdata, uint8_t size) in opt_format_authproto() 1027 opt_format_qualproto(uchar_t *optdata, uint8_t size) in opt_format_qualproto() 1069 opt_format_magicnum(uchar_t *optdata, uint8_t size) in opt_format_magicnum() 1088 opt_format_fcs(uchar_t *optdata, uint8_t size) in opt_format_fcs() 1114 opt_format_sdp(uchar_t *optdata, uint8_t size) in opt_format_sdp() 1134 opt_format_nummode(uchar_t *optdata, uint8_t size) in opt_format_nummode() 1152 opt_format_callback(uchar_t *optdata, uint8_t size) in opt_format_callback() [all …]
|
/illumos-gate/usr/src/uts/common/ctf/ |
H A D | ctf_subr.c | 39 ctf_data_alloc(size_t size) in ctf_data_alloc() 50 ctf_data_free(void *buf, size_t size) in ctf_data_free() 57 ctf_data_protect(void *buf, size_t size) in ctf_data_protect() 63 ctf_alloc(size_t size) in ctf_alloc() 70 ctf_free(void *buf, size_t size) in ctf_free()
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rsrc_info.c | 133 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 541 ri_unpack(caddr_t buf, size_t size, ri_hdl_t **hdlp) in ri_unpack() 614 ap_list_unpack(char *buf, size_t size, ri_ap_t **aps) in ap_list_unpack() [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_kmem.c | 205 hat_memload_alloc(vmem_t *vmp, size_t size, int flags) in hat_memload_alloc() 218 segkmem_alloc_permanent(vmem_t *vmp, size_t size, int flags) in segkmem_alloc_permanent() 367 boot_mapin(caddr_t addr, size_t size) in boot_mapin() 420 boot_alloc(void *inaddr, size_t size, uint_t align) in boot_alloc() 450 segkmem_fault(struct hat *hat, struct seg *seg, caddr_t addr, size_t size, in segkmem_fault() 518 segkmem_setprot(struct seg *seg, caddr_t addr, size_t size, uint_t prot) in segkmem_setprot() 546 segkmem_checkprot(struct seg *seg, caddr_t addr, size_t size, uint_t prot) in segkmem_checkprot() 589 segkmem_xdump_range(void *arg, void *start, size_t size) in segkmem_xdump_range() 605 segkmem_dump_range(void *arg, void *start, size_t size) in segkmem_dump_range() 837 segkmem_page_create(void *addr, size_t size, int vmflag, void *arg) in segkmem_page_create() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | abd.c | 244 abd_chunkcnt_for_bytes(size_t size) in abd_chunkcnt_for_bytes() 282 size_t size = offsetof(abd_t, abd_u.abd_scatter.abd_chunks[chunkcnt]); in abd_alloc_struct() local 294 int size = offsetof(abd_t, abd_u.abd_scatter.abd_chunks[chunkcnt]); in abd_free_struct() local 304 abd_alloc(size_t size, boolean_t is_metadata) in abd_alloc() 363 abd_alloc_linear(size_t size, boolean_t is_metadata) in abd_alloc_linear() 426 abd_alloc_sametype(abd_t *sabd, size_t size) in abd_alloc_sametype() 447 abd_alloc_for_io(size_t size, boolean_t is_metadata) in abd_alloc_for_io() 459 abd_get_offset_impl(abd_t *sabd, size_t off, size_t size) in abd_get_offset_impl() 514 size_t size = sabd->abd_size > off ? sabd->abd_size - off : 0; in abd_get_offset() local 522 abd_get_offset_size(abd_t *sabd, size_t off, size_t size) in abd_get_offset_size() [all …]
|
H A D | range_tree.c | 81 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 266 range_tree_add_impl(void *arg, uint64_t start, uint64_t size, uint64_t fill) in range_tree_add_impl() 407 range_tree_add(void *arg, uint64_t start, uint64_t size) in range_tree_add() 413 range_tree_remove_impl(range_tree_t *rt, uint64_t start, uint64_t size, in range_tree_remove_impl() 528 range_tree_remove(void *arg, uint64_t start, uint64_t size) in range_tree_remove() 534 range_tree_remove_fill(range_tree_t *rt, uint64_t start, uint64_t size) in range_tree_remove_fill() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_alloc.c | 53 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/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_event.c | 213 emlxs_event(emlxs_port_t *port, emlxs_event_t *evt, void *bp, uint32_t size) in emlxs_event() 352 emlxs_log_rscn_event(emlxs_port_t *port, uint8_t *payload, uint32_t size) in emlxs_log_rscn_event() 393 emlxs_log_vportrscn_event(emlxs_port_t *port, uint8_t *payload, uint32_t size) in emlxs_log_vportrscn_event() 472 emlxs_log_ct_event(emlxs_port_t *port, uint8_t *payload, uint32_t size, in emlxs_log_ct_event() 545 uint32_t size; in emlxs_log_link_event() local 661 emlxs_log_dump_event(emlxs_port_t *port, uint8_t *buffer, uint32_t size) in emlxs_log_dump_event() 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 972 uint32_t size = 0; in emlxs_get_dfc_event() local [all …]
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | malloc.c | 52 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/cmd/sendmail/libsm/ |
H A D | heap.c | 73 #define MALLOC_SIZE(size) ((size) == 0 ? 1 : (size)) argument 94 sm_malloc_x(size) in sm_malloc_x() argument 120 sm_malloc(size) in sm_malloc() argument 143 sm_realloc(ptr, size) in sm_realloc() argument 170 sm_realloc_x(ptr, size) in sm_realloc_x() argument 359 sm_malloc_tagged(size, tag, num, group) in sm_malloc_tagged() argument 413 sm_malloc_tagged_x(size, tag, num, group) in sm_malloc_tagged_x() argument 470 sm_heap_register(ptr, size, tag, num, group) in sm_heap_register() argument 523 sm_realloc(ptr, size) in sm_realloc() argument 591 sm_realloc_x(ptr, size) in sm_realloc_x() argument
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_vpd.c | 168 __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 D | siena_vpd.c | 47 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 D | ef10_vpd.c | 133 __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/cmd/mandoc/ |
H A D | mandoc_aux.c | 50 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 D | heap.h | 32 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup) argument 44 # define sm_malloc_tagged(size, file, line, grp) sm_malloc(size) argument 45 # define sm_malloc_tagged_x(size, file, line, grp) sm_malloc_x(size) argument 47 # define sm_heap_register(ptr, size, file, line, grp) (true) argument 87 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0) argument 88 # define sm_pmalloc_x(size) sm_malloc_tagged_x(size, __FILE__, __LINE__, 0) argument
|
/illumos-gate/usr/src/lib/libmapmalloc/common/ |
H A D | textmem.c | 61 size_t size; /* Space available for user */ member 69 size_t size; /* Total page size (incl. header) */ member 94 malloc(size_t size) in malloc() 105 malloc_unlocked(size_t size) in malloc_unlocked() 155 realloc(void *ptr, size_t size) in realloc() 214 align(size_t size, int bound) in align() 223 split(struct block *block, size_t size) in split()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bp_map.c | 41 #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 D | vla-sizeof.c | 1 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/lib/libproc/common/ |
H A D | Putil.c | 48 prset_fill(void *sp, size_t size) in prset_fill() 57 prset_empty(void *sp, size_t size) in prset_empty() 66 prset_add(void *sp, size_t size, uint_t flag) in prset_add() 73 prset_del(void *sp, size_t size, uint_t flag) in prset_del() 80 prset_ismember(void *sp, size_t size, uint_t flag) in prset_ismember()
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_fletcher.c | 249 fletcher_2_incremental_native(void *buf, size_t size, void *data) in fletcher_2_incremental_native() 274 fletcher_2_native(const void *buf, size_t size, in fletcher_2_native() 282 fletcher_2_incremental_byteswap(void *buf, size_t size, void *data) in fletcher_2_incremental_byteswap() 307 fletcher_2_byteswap(const void *buf, size_t size, in fletcher_2_byteswap() 327 fletcher_4_scalar_native(fletcher_4_ctx_t *ctx, const void *buf, size_t size) in fletcher_4_scalar_native() 349 fletcher_4_scalar_byteswap(fletcher_4_ctx_t *ctx, const void *buf, size_t size) in fletcher_4_scalar_byteswap() 458 fletcher_4_native_impl(const void *buf, size_t size, zio_cksum_t *zcp) in fletcher_4_native_impl() 473 fletcher_4_native(const void *buf, size_t size, in fletcher_4_native() 499 fletcher_4_native_varsize(const void *buf, size_t size, zio_cksum_t *zcp) in fletcher_4_native_varsize() 506 fletcher_4_byteswap_impl(const void *buf, size_t size, zio_cksum_t *zcp) in fletcher_4_byteswap_impl() [all …]
|
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_mmu.c | 64 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()
|