Lines Matching defs:group_info
26 struct group_info {
34 * @group_info: The group info to reference
41 static inline struct group_info *get_group_info(struct group_info *gi)
49 * @group_info: The group info to release
51 #define put_group_info(group_info) \
53 if (refcount_dec_and_test(&(group_info)->usage)) \
54 groups_free(group_info); \
58 extern struct group_info *groups_alloc(int);
59 extern void groups_free(struct group_info *);
63 extern int groups_search(const struct group_info *, kgid_t);
65 extern int set_current_groups(struct group_info *);
66 extern void set_groups(struct cred *, struct group_info *);
68 extern void groups_sort(struct group_info *);
70 static inline void groups_free(struct group_info *group_info)
82 static inline int groups_search(const struct group_info *group_info, kgid_t grp)
141 struct group_info *group_info; /* supplementary groups for euid/fsgid */
347 struct group_info *__groups; \
350 __groups = get_group_info(__cred->group_info); \