Searched refs:ngroups (Results 1 – 8 of 8) sorted by relevance
84 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()
580 glen = ug->gi->ngroups; in unix_gid_show()
552 if (i < NLGRPLONGS(nlk_sk(sk)->ngroups)) in netlink_update_listeners()764 for (i = 0; i < nlk->ngroups; i++) in netlink_release()951 if (nlk->ngroups >= groups) in netlink_realloc_groups()959 memset((char *)new_groups + NLGRPSZ(nlk->ngroups), 0, in netlink_realloc_groups()960 NLGRPSZ(groups) - NLGRPSZ(nlk->ngroups)); in netlink_realloc_groups()963 nlk->ngroups = groups; in netlink_realloc_groups()1010 if (nlk->ngroups < BITS_PER_LONG) in netlink_bind()1011 groups &= (1UL << nlk->ngroups) - 1; in netlink_bind()1430 if (nlk->portid == p->portid || p->group - 1 >= nlk->ngroups || in do_one_broadcast()1576 if (nlk->portid == p->portid || p->group - 1 >= nlk->ngroups || in do_one_set_err()[all …]
31 u32 ngroups; member
19 return nla_put(nlskb, NETLINK_DIAG_GROUPS, NLGRPSZ(nlk->ngroups), in sk_diag_dump_groups()
109 for (i = 0; i < gi->ngroups; ++i) { in owner_mt()
276 for (i = 0; i < group_info->ngroups; i++) { in ping_init_sock()
1216 for (i = 0; i < src->ngroups; i++) in groups_to_user()1390 n = cred->group_info->ngroups; in sock_getsockopt()