Searched refs:grp (Results 1 – 7 of 7) sorted by relevance
/kernel/ |
D | groups.c | 92 int groups_search(const struct group_info *group_info, kgid_t grp) in groups_search() argument 103 if (gid_gt(grp, group_info->gid[mid])) in groups_search() 105 else if (gid_lt(grp, group_info->gid[mid])) in groups_search() 214 int in_group_p(kgid_t grp) in in_group_p() argument 219 if (!gid_eq(grp, cred->fsgid)) in in_group_p() 220 retval = groups_search(cred->group_info, grp); in in_group_p() 226 int in_egroup_p(kgid_t grp) in in_egroup_p() argument 231 if (!gid_eq(grp, cred->egid)) in in_egroup_p() 232 retval = groups_search(cred->group_info, grp); in in_egroup_p()
|
D | params.c | 550 struct attribute_group grp; member 641 mk->mp->grp.name = "parameters"; in add_sysfs_param() 643 mk->mp->grp.attrs = kzalloc(sizeof(mk->mp->grp.attrs[0]), in add_sysfs_param() 646 if (!mk->mp->grp.attrs) in add_sysfs_param() 660 new_attrs = krealloc(mk->mp->grp.attrs, in add_sysfs_param() 661 sizeof(mk->mp->grp.attrs[0]) * (mk->mp->num + 2), in add_sysfs_param() 665 mk->mp->grp.attrs = new_attrs; in add_sysfs_param() 683 mk->mp->grp.attrs[i] = &mk->mp->attrs[i].mattr.attr; in add_sysfs_param() 684 mk->mp->grp.attrs[mk->mp->num] = NULL; in add_sysfs_param() 692 kfree(mk->mp->grp.attrs); in free_module_param_attrs() [all …]
|
D | module.c | 1510 struct attribute_group grp; member 1566 sizeof(sect_attrs->grp.bin_attrs[0])); in add_sect_attrs() 1567 size[1] = (nloaded + 1) * sizeof(sect_attrs->grp.bin_attrs[0]); in add_sect_attrs() 1573 sect_attrs->grp.name = "sections"; in add_sect_attrs() 1574 sect_attrs->grp.bin_attrs = (void *)sect_attrs + size[0]; in add_sect_attrs() 1578 gattr = §_attrs->grp.bin_attrs[0]; in add_sect_attrs() 1597 if (sysfs_create_group(&mod->mkobj.kobj, §_attrs->grp)) in add_sect_attrs() 1610 &mod->sect_attrs->grp); in remove_sect_attrs()
|
D | sys.c | 1141 struct pid *grp; in do_getpgid() local 1146 grp = task_pgrp(current); in do_getpgid() 1152 grp = task_pgrp(p); in do_getpgid() 1153 if (!grp) in do_getpgid() 1160 retval = pid_vnr(grp); in do_getpgid()
|
/kernel/sched/ |
D | core_sched.c | 131 struct pid *grp; in sched_core_share_pid() local 209 grp = task_pid_type(task, type); in sched_core_share_pid() 211 do_each_pid_thread(grp, type, p) { in sched_core_share_pid() 216 } while_each_pid_thread(grp, type, p); in sched_core_share_pid() 218 do_each_pid_thread(grp, type, p) { in sched_core_share_pid() 220 } while_each_pid_thread(grp, type, p); in sched_core_share_pid()
|
D | fair.c | 2486 static inline int get_numa_group(struct numa_group *grp) in get_numa_group() argument 2488 return refcount_inc_not_zero(&grp->refcount); in get_numa_group() 2491 static inline void put_numa_group(struct numa_group *grp) in put_numa_group() argument 2493 if (refcount_dec_and_test(&grp->refcount)) in put_numa_group() 2494 kfree_rcu(grp, rcu); in put_numa_group() 2500 struct numa_group *grp, *my_grp; in task_numa_group() local 2510 grp = kzalloc(size, GFP_KERNEL | __GFP_NOWARN); in task_numa_group() 2511 if (!grp) in task_numa_group() 2514 refcount_set(&grp->refcount, 1); in task_numa_group() 2515 grp->active_nodes = 1; in task_numa_group() [all …]
|
D | sched.h | 1419 static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp) in group_cfs_rq() argument 1421 return grp->my_q; in group_cfs_rq() 1445 static inline struct cfs_rq *group_cfs_rq(struct sched_entity *grp) in group_cfs_rq() argument
|