Home
last modified time | relevance | path

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

/linux-4.1.27/net/xfrm/
Dxfrm_policy.c1799 int *num_pols, int *num_xfrms) in xfrm_expand_policies() argument
1803 if (*num_pols == 0 || !pols[0]) { in xfrm_expand_policies()
1804 *num_pols = 0; in xfrm_expand_policies()
1822 xfrm_pols_put(pols, *num_pols); in xfrm_expand_policies()
1825 (*num_pols)++; in xfrm_expand_policies()
1830 for (i = 0; i < *num_pols; i++) { in xfrm_expand_policies()
1842 xfrm_resolve_and_create_bundle(struct xfrm_policy **pols, int num_pols, in xfrm_resolve_and_create_bundle() argument
1853 err = xfrm_tmpl_resolve(pols, num_pols, fl, xfrm, family); in xfrm_resolve_and_create_bundle()
1868 if (num_pols > 1) in xfrm_resolve_and_create_bundle()
1878 xdst->num_pols = num_pols; in xfrm_resolve_and_create_bundle()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dlproc_ptlrpc.c487 unsigned num_pols; in ptlrpc_lprocfs_nrs_seq_show() local
507 num_pols = svc->srv_parts[0]->scp_nrs_reg.nrs_num_pols; in ptlrpc_lprocfs_nrs_seq_show()
510 OBD_ALLOC(infos, num_pols * sizeof(*infos)); in ptlrpc_lprocfs_nrs_seq_show()
525 LASSERT(pol_idx < num_pols); in ptlrpc_lprocfs_nrs_seq_show()
597 for (pol_idx = 0; pol_idx < num_pols; pol_idx++) { in ptlrpc_lprocfs_nrs_seq_show()
611 memset(infos, 0, num_pols * sizeof(*infos)); in ptlrpc_lprocfs_nrs_seq_show()
622 OBD_FREE(infos, num_pols * sizeof(*infos)); in ptlrpc_lprocfs_nrs_seq_show()
/linux-4.1.27/include/net/
Dxfrm.h947 int num_pols, num_xfrms; member
963 xfrm_pols_put(xdst->pols, xdst->num_pols); in xfrm_dst_destroy()