Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp.c725 zcp_alloc_arg_t *allocargs = ud; in zcp_lua_alloc() local
732 ASSERT3S(allocargs->aa_alloc_remaining + allocsize, <=, in zcp_lua_alloc()
733 allocargs->aa_alloc_limit); in zcp_lua_alloc()
734 allocargs->aa_alloc_remaining += allocsize; in zcp_lua_alloc()
742 if (!allocargs->aa_must_succeed && in zcp_lua_alloc()
744 allocsize > allocargs->aa_alloc_remaining)) { in zcp_lua_alloc()
749 allocargs->aa_alloc_remaining -= allocsize; in zcp_lua_alloc()
1050 zcp_alloc_arg_t allocargs = { in zcp_eval() local
1060 state = lua_newstate(zcp_lua_alloc, &allocargs); in zcp_eval()
1144 runinfo.zri_allocargs = &allocargs; in zcp_eval()