Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp.c720 zcp_alloc_arg_t *allocargs = ud; in zcp_lua_alloc() local
721 int flags = (allocargs->aa_must_succeed) ? KM_SLEEP : KM_NOSLEEP_LAZY; in zcp_lua_alloc()
728 ASSERT3S(allocargs->aa_alloc_remaining + allocsize, <=, in zcp_lua_alloc()
729 allocargs->aa_alloc_limit); in zcp_lua_alloc()
730 allocargs->aa_alloc_remaining += allocsize; in zcp_lua_alloc()
738 if (!allocargs->aa_must_succeed && in zcp_lua_alloc()
740 allocsize > allocargs->aa_alloc_remaining)) { in zcp_lua_alloc()
748 allocargs->aa_alloc_remaining -= allocsize; in zcp_lua_alloc()
1043 zcp_alloc_arg_t allocargs = { in zcp_eval() local
1053 state = lua_newstate(zcp_lua_alloc, &allocargs); in zcp_eval()
[all …]