Home
last modified time | relevance | path

Searched refs:scratch_base (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.1.9/security/
H A Dmac_base.c1013 char *scratch_base; in mac_externalize() local
1020 scratch_base = kalloc_data(buf_len, Z_WAITOK); in mac_externalize()
1021 if (scratch_base == NULL) { in mac_externalize()
1027 strlcpy(scratch_base, elementlist, buf_len); in mac_externalize()
1033 scratch = scratch_base; in mac_externalize()
1061 if (scratch_base != NULL) { in mac_externalize()
1062 kfree_data(scratch_base, buf_len); in mac_externalize()
/xnu-12377.1.9/bsd/vfs/
H A Dvfs_exclave_fs.c1593 char *scratch_base; in vfs_exclave_is_enospc_exclave() local
1599 scratch_base = kalloc_data(buf_len, Z_WAITOK); in vfs_exclave_is_enospc_exclave()
1600 if (scratch_base == NULL) { in vfs_exclave_is_enospc_exclave()
1605 strlcpy(scratch_base, enospc_exclaves, buf_len); in vfs_exclave_is_enospc_exclave()
1611 scratch = scratch_base; in vfs_exclave_is_enospc_exclave()
1623 if (scratch_base != NULL) { in vfs_exclave_is_enospc_exclave()
1624 kfree_data(scratch_base, buf_len); in vfs_exclave_is_enospc_exclave()