Searched refs:rs_malloc (Results 1 – 2 of 2) sorted by relevance
61 #define rs_malloc(x) calloc(1, x) macro148 key = (struct pfctl_anchor *)rs_malloc(sizeof(*key)); in pf_find_anchor()187 p = (char *)rs_malloc(MAXPATHLEN); in pf_find_or_create_ruleset()216 anchor = (struct pfctl_anchor *)rs_malloc(sizeof(*anchor)); in pf_find_or_create_ruleset()379 p = (char *)rs_malloc(MAXPATHLEN); in pf_find_or_create_eth_ruleset()408 anchor = (struct pfctl_eth_anchor *)rs_malloc(sizeof(*anchor)); in pf_find_or_create_eth_ruleset()446 path = (char *)rs_malloc(MAXPATHLEN); in pfctl_anchor_setup()500 path = (char *)rs_malloc(MAXPATHLEN); in pfctl_eth_anchor_setup()
65 #define rs_malloc(x) malloc(x, M_TEMP, M_NOWAIT|M_ZERO) macro139 key = (struct pf_kanchor *)rs_malloc(sizeof(*key)); in pf_find_kanchor()207 p = (char *)rs_malloc(MAXPATHLEN); in pf_find_or_create_kruleset()236 anchor = (struct pf_kanchor *)rs_malloc(sizeof(*anchor)); in pf_find_or_create_kruleset()325 path = (char *)rs_malloc(MAXPATHLEN); in pf_kanchor_setup()513 key = (struct pf_keth_anchor *)rs_malloc(sizeof(*key)); in _pf_find_keth_anchor()542 p = (char *)rs_malloc(MAXPATHLEN); in pf_find_or_create_keth_ruleset()571 anchor = (struct pf_keth_anchor *)rs_malloc(sizeof(*anchor)); in pf_find_or_create_keth_ruleset()632 path = (char *)rs_malloc(MAXPATHLEN); in pf_keth_anchor_setup()