Home
last modified time | relevance | path

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

/net/sunrpc/
Dauth_unix.c84 groups = acred->cred->group_info->ngroups; in unx_match()
89 if (groups != cred->cr_cred->group_info->ngroups) in unx_match()
132 for (i = 0; i < UNX_NGROUPS && i < gi->ngroups; i++) in unx_marshal()
Dsvcauth_unix.c572 glen = ug->gi->ngroups; in unix_gid_show()
/net/netlink/
Daf_netlink.c561 if (i < NLGRPLONGS(nlk_sk(sk)->ngroups)) in netlink_update_listeners()
773 for (i = 0; i < nlk->ngroups; i++) in netlink_release()
960 if (nlk->ngroups >= groups) in netlink_realloc_groups()
968 memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, in netlink_realloc_groups()
969 NLGRPSZ(groups) - NLGRPSZ(nlk->ngroups)); in netlink_realloc_groups()
972 nlk->ngroups = groups; in netlink_realloc_groups()
1019 if (nlk->ngroups < BITS_PER_LONG) in netlink_bind()
1020 groups &= (1UL << nlk->ngroups) - 1; in netlink_bind()
1439 if (nlk->portid == p->portid || p->group - 1 >= nlk->ngroups || in do_one_broadcast()
1585 if (nlk->portid == p->portid || p->group - 1 >= nlk->ngroups || in do_one_set_err()
[all …]
Daf_netlink.h31 u32 ngroups; member
Ddiag.c19 return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups), in sk_diag_dump_groups()
/net/netfilter/
Dxt_owner.c109 for (i = 0; i < gi->ngroups; ++i) { in owner_mt()
/net/ipv4/
Dping.c276 for (i = 0; i < group_info->ngroups; i++) { in ping_init_sock()
/net/core/
Dsock.c1414 for (i = 0; i < src->ngroups; i++) in groups_to_user()
1597 n = cred->group_info->ngroups; in sock_getsockopt()