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()
572 glen = ug->gi->ngroups; in unix_gid_show()
561 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 …]
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()
1414 for (i = 0; i < src->ngroups; i++) in groups_to_user()1597 n = cred->group_info->ngroups; in sock_getsockopt()