Home
last modified time | relevance | path

Searched refs:allocated (Results 1 – 25 of 28) sorted by relevance

12

/xnu-11215/bsd/vfs/
H A Dvfs_init.c497 struct vfstable *slotp, *allocated = NULL; in vfstable_add() local
521 if (allocated == NULL) { in vfstable_add()
524 allocated = kalloc_type(struct vfstable, Z_WAITOK); in vfstable_add()
527 slotp = allocated; in vfstable_add()
548 if (slotp != allocated) { in vfstable_add()
563 if (allocated && allocated != slotp) { in vfstable_add()
565 kfree_type(struct vfstable, allocated); in vfstable_add()
H A Dvfs_attrlist.c85 ssize_t allocated; member
1204 ab.allocated = fixedsize + varsize; in getvolattrlist()
1638 kfree_data(ab.base, ab.allocated); in getvolattrlist()
2878 ab.allocated = fixedsize + varsize; in vfs_attr_pack_internal()
2891 if (buf_size < ab.allocated) { in vfs_attr_pack_internal()
2896 newlen = (ab.allocated + 7) & ~0x07; in vfs_attr_pack_internal()
2899 ab.allocated = newlen; in vfs_attr_pack_internal()
2930 bzero(ab.base, ab.allocated); in vfs_attr_pack_internal()
2981 ab.needed = ab.allocated; in vfs_attr_pack_internal()
3076 kfree_data(ab.base, ab.allocated); in vfs_attr_pack_internal()
[all …]
/xnu-11215/iokit/DriverKit/
H A DOSAction.iig47 * State associated with the callback may be allocated and stored for the creator of the object.
101 * @brief Return a pointer to any state allocated by the OSAction creator.
102 …* @discussion Reference data is allocated with zero initialized content. It may be set and retrie…
141 * @discussion Free any resources needed to wait for the action allocated by WillWait().
H A DIOBufferMemoryDescriptor.iig45 * IOBufferMemoryDescriptor describes a memory buffer allocated in the callers address space.
90 …* @discussion IOBufferMemoryDescriptor have capacity allocated at Create() but no valid data unti…
H A DIOWorkGroup.iig98 …() and Leave() require the caller to pass a token. This token should be allocated by the caller, a…
H A DIODMACommand.iig86 * to/from a driver allocated bounce buffer.
/xnu-11215/doc/mach_ipc/
H A Dkmsg.md166 auxiliary payload) is allocated out of line. The kmsg uses its `ikm_small_data`
224 In this layout, the entire Mach message is allocated out of line in a single
286 auxiliary payload) is allocated out of line like for the `IKM_TYPE_UDATA_OOL`
288 also allocated out of line, this way:
/xnu-11215/tests/
H A Dtest_sysctl_kern_procargs_25397314.m72 T_ASSERT_LE(bufferSize, allocSize, "returned buffer size should be less than allocated size");
106 T_QUIET; T_ASSERT_NOTNULL(current, "allocated string");
124 T_QUIET; T_ASSERT_NOTNULL(current, "allocated string");
/xnu-11215/libkern/kxld/
H A Dkxld_sect.h63 boolean_t allocated; // This section's data is allocated internally member
H A Dkxld_sect.c178 sect->allocated = TRUE; in kxld_sect_init_got()
215 if (sect->allocated) { in kxld_sect_clear()
217 sect->allocated = FALSE; in kxld_sect_clear()
/xnu-11215/doc/allocators/
H A Dapi-basics.md82 - the object type being allocated requires extremely strong segregation
107 The typed allocators assume that allocated types fit a very precise model.
115 of the types being allocated. Because some scalars actually represent
195 <td>This should be used when the allocated type contains no kernel pointer only</td>
380 being allocated (i.e. `IOMallocData` for data only buffers, and `IOMallocType`/`IONew`
H A Dread-only.md8 "read-only" allocations. Data allocated from a read-only zone can only be
102 - `zalloc_ro_mut`: Modify part of an element allocated from a read-only zone.
/xnu-11215/iokit/IOKit/
H A DIOPolledInterface.h169 bool allocated; member
/xnu-11215/osfmk/vm/
H A Dpmap_cs.h503 bool allocated; member
/xnu-11215/osfmk/mach/
H A Dvm_map.defs105 * [If the specified address is not allocated, the next
107 * the one specified are allocated, the call returns KERN_NO_SPACE.]
278 * specified size; else, the specific address will be allocated.
H A Dmach_vm.defs327 * specified size; else, the specific address will be allocated.
438 * [If the specified address is not allocated, the next
440 * the one specified are allocated, the call returns KERN_NO_SPACE.]
H A Dmach_types.defs665 * These types should NEVER be allocated on the stack.
/xnu-11215/doc/observability/
H A Dmt_stackshot.md74 originally allocated from a different cluster's buffer, it will be put into the
80 used and the amount of buffer space allocated from other clusters.
/xnu-11215/tools/tests/perf_index/
H A DREADME41 from the first half of memory to the second. If the allocated space is less than
/xnu-11215/iokit/Kernel/
H A DIOPolledInterface.cpp620 vars->allocated = true; in IOPolledFileOpen()
817 if (vars->allocated) { in IOPolledFileClose()
/xnu-11215/osfmk/kern/
H A Dbtlog.c732 goto allocated; in __btlib_insert()
746 allocated: in __btlib_insert()
/xnu-11215/doc/building/
H A Dxnu_build_consolidation.md115 In some cases, certain statically-allocated arrays/structures need to be cache line-aligned, or hav…
/xnu-11215/doc/vm/
H A Dmemorystatus.md121 The `VM_CHECK_MEMORYSTATUS` macro is called whenever a page is allocated, wired, freed, etc... Basi…
/xnu-11215/doc/lifecycle/
H A Dhibernation.md67 allocated for each one of these ranges (as well as a single bitmap for the
/xnu-11215/tests/vm/
H A Dvm_parameter_validation.c3021 RUN_SRC_DST_SIZE(fn, allocated, fixed, "src/dst/size", name); \
3022 RUN_SRC_DST_SIZE(fn, allocated, fixed_copy, "src/dst/size", name); \

12