Home
last modified time | relevance | path

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

/xnu-11417.101.15/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-11417.101.15/bsd/vfs/
H A Dvfs_exclave_fs.c1598 char *scratch_base; in vfs_exclave_is_enospc_exclave() local
1604 scratch_base = kalloc_data(buf_len, Z_WAITOK); in vfs_exclave_is_enospc_exclave()
1605 if (scratch_base == NULL) { in vfs_exclave_is_enospc_exclave()
1610 strlcpy(scratch_base, enospc_exclaves, buf_len); in vfs_exclave_is_enospc_exclave()
1616 scratch = scratch_base; in vfs_exclave_is_enospc_exclave()
1628 if (scratch_base != NULL) { in vfs_exclave_is_enospc_exclave()
1629 kfree_data(scratch_base, buf_len); in vfs_exclave_is_enospc_exclave()