Home
last modified time | relevance | path

Searched refs:group (Results 1 – 200 of 838) sorted by relevance

12345

/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dmcg.c50 #define mcg_warn_group(group, format, arg...) \ argument
52 (group)->name, group->demux->port, ## arg)
54 #define mcg_debug_group(group, format, arg...) \ argument
56 (group)->name, (group)->demux->port, ## arg)
58 #define mcg_error_group(group, format, arg...) \ argument
59 pr_err(" %16s: " format, (group)->name, ## arg)
136 struct mcast_group *group; member
144 mcg_warn_group(group, "did not expect to reach zero\n"); \
166 struct mcast_group *group; in mcast_find() local
170 group = rb_entry(node, struct mcast_group, node); in mcast_find()
[all …]
/linux-4.4.14/fs/notify/
Dgroup.c34 static void fsnotify_final_destroy_group(struct fsnotify_group *group) in fsnotify_final_destroy_group() argument
36 if (group->ops->free_group_priv) in fsnotify_final_destroy_group()
37 group->ops->free_group_priv(group); in fsnotify_final_destroy_group()
39 kfree(group); in fsnotify_final_destroy_group()
48 void fsnotify_destroy_group(struct fsnotify_group *group) in fsnotify_destroy_group() argument
51 fsnotify_clear_marks_by_group(group); in fsnotify_destroy_group()
56 fsnotify_flush_notify(group); in fsnotify_destroy_group()
62 if (group->overflow_event) in fsnotify_destroy_group()
63 group->ops->free_event(group->overflow_event); in fsnotify_destroy_group()
65 fsnotify_put_group(group); in fsnotify_destroy_group()
[all …]
Dnotification.c64 bool fsnotify_notify_queue_is_empty(struct fsnotify_group *group) in fsnotify_notify_queue_is_empty() argument
66 BUG_ON(!mutex_is_locked(&group->notification_mutex)); in fsnotify_notify_queue_is_empty()
67 return list_empty(&group->notification_list) ? true : false; in fsnotify_notify_queue_is_empty()
70 void fsnotify_destroy_event(struct fsnotify_group *group, in fsnotify_destroy_event() argument
78 group->ops->free_event(event); in fsnotify_destroy_event()
87 int fsnotify_add_event(struct fsnotify_group *group, in fsnotify_add_event() argument
93 struct list_head *list = &group->notification_list; in fsnotify_add_event()
95 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in fsnotify_add_event()
97 mutex_lock(&group->notification_mutex); in fsnotify_add_event()
99 if (group->q_len >= group->max_events) { in fsnotify_add_event()
[all …]
Dmark.c107 if (mark->group) in fsnotify_put_mark()
108 fsnotify_put_group(mark->group); in fsnotify_put_mark()
133 struct fsnotify_group *group = mark->group; in fsnotify_detach_mark() local
135 BUG_ON(!mutex_is_locked(&group->mark_mutex)); in fsnotify_detach_mark()
168 atomic_dec(&group->num_marks); in fsnotify_detach_mark()
178 struct fsnotify_group *group = mark->group; in fsnotify_free_mark() local
199 if (group->ops->freeing_mark) in fsnotify_free_mark()
200 group->ops->freeing_mark(mark, group); in fsnotify_free_mark()
204 struct fsnotify_group *group) in fsnotify_destroy_mark() argument
206 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_destroy_mark()
[all …]
Dvfsmount_mark.c32 void fsnotify_clear_vfsmount_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_vfsmount_marks_by_group() argument
34 fsnotify_clear_marks_by_group_flags(group, FSNOTIFY_MARK_FLAG_VFSMOUNT); in fsnotify_clear_vfsmount_marks_by_group()
55 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); in fsnotify_destroy_vfsmount_mark()
71 struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, in fsnotify_find_vfsmount_mark() argument
78 mark = fsnotify_find_mark(&m->mnt_fsnotify_marks, group); in fsnotify_find_vfsmount_mark()
90 struct fsnotify_group *group, struct vfsmount *mnt, in fsnotify_add_vfsmount_mark() argument
98 BUG_ON(!mutex_is_locked(&group->mark_mutex)); in fsnotify_add_vfsmount_mark()
Dfdinfo.c27 struct fsnotify_group *group = f->private_data; in show_fdinfo() local
30 mutex_lock(&group->mark_mutex); in show_fdinfo()
31 list_for_each_entry(mark, &group->marks_list, g_list) { in show_fdinfo()
36 mutex_unlock(&group->mark_mutex); in show_fdinfo()
142 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo() local
145 switch (group->priority) { in fanotify_show_fdinfo()
157 if (group->max_events == UINT_MAX) in fanotify_show_fdinfo()
160 if (group->fanotify_data.max_marks == UINT_MAX) in fanotify_show_fdinfo()
164 flags, group->fanotify_data.f_flags); in fanotify_show_fdinfo()
Dfsnotify.c132 struct fsnotify_group *group = NULL; in send_to_group() local
153 group = inode_mark->group; in send_to_group()
162 group = vfsmount_mark->group; in send_to_group()
172 __func__, group, to_tell, mask, inode_mark, in send_to_group()
179 return group->ops->handle_event(group, to_tell, inode_mark, in send_to_group()
255 inode_group = inode_mark->group; in fsnotify()
261 vfsmount_group = vfsmount_mark->group; in fsnotify()
Dinode_mark.c50 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); in fsnotify_destroy_inode_mark()
70 void fsnotify_clear_inode_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_inode_marks_by_group() argument
72 fsnotify_clear_marks_by_group_flags(group, FSNOTIFY_MARK_FLAG_INODE); in fsnotify_clear_inode_marks_by_group()
79 struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, in fsnotify_find_inode_mark() argument
85 mark = fsnotify_find_mark(&inode->i_fsnotify_marks, group); in fsnotify_find_inode_mark()
124 struct fsnotify_group *group, struct inode *inode, in fsnotify_add_inode_mark() argument
131 BUG_ON(!mutex_is_locked(&group->mark_mutex)); in fsnotify_add_inode_mark()
Dfsnotify.h12 extern void fsnotify_flush_notify(struct fsnotify_group *group);
32 struct fsnotify_group *group, struct inode *inode,
36 struct fsnotify_group *group, struct vfsmount *mnt,
45 struct fsnotify_group *group);
/linux-4.4.14/drivers/iommu/
Diommu.c66 ssize_t (*show)(struct iommu_group *group, char *buf);
67 ssize_t (*store)(struct iommu_group *group,
85 struct iommu_group *group);
87 struct iommu_group *group);
93 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_show() local
97 ret = attr->show(group, buf); in iommu_group_attr_show()
106 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_store() local
110 ret = attr->store(group, buf, count); in iommu_group_attr_store()
119 static int iommu_group_create_file(struct iommu_group *group, in iommu_group_create_file() argument
122 return sysfs_create_file(&group->kobj, &attr->attr); in iommu_group_create_file()
[all …]
Dfsl_pamu_domain.c870 struct iommu_group *group; in get_device_iommu_group() local
872 group = iommu_group_get(dev); in get_device_iommu_group()
873 if (!group) in get_device_iommu_group()
874 group = iommu_group_alloc(); in get_device_iommu_group()
876 return group; in get_device_iommu_group()
894 struct iommu_group *group; in get_shared_pci_device_group() local
905 group = iommu_group_get(&tmp->dev); in get_shared_pci_device_group()
906 if (group) in get_shared_pci_device_group()
907 return group; in get_shared_pci_device_group()
920 struct iommu_group *group = NULL; in get_pci_device_group() local
[all …]
Drockchip-iommu.c729 struct iommu_group *group; in rk_iommu_from_dev() local
733 group = iommu_group_get(dev); in rk_iommu_from_dev()
734 if (!group) in rk_iommu_from_dev()
736 iommu_dev = iommu_group_get_iommudata(group); in rk_iommu_from_dev()
738 iommu_group_put(group); in rk_iommu_from_dev()
891 static int rk_iommu_group_set_iommudata(struct iommu_group *group, in rk_iommu_group_set_iommudata() argument
924 iommu_group_set_iommudata(group, &pd->dev, NULL); in rk_iommu_group_set_iommudata()
931 struct iommu_group *group; in rk_iommu_add_device() local
937 group = iommu_group_get(dev); in rk_iommu_add_device()
938 if (!group) { in rk_iommu_add_device()
[all …]
Ds390-iommu.c170 struct iommu_group *group; in s390_iommu_add_device() local
173 group = iommu_group_get(dev); in s390_iommu_add_device()
174 if (!group) { in s390_iommu_add_device()
175 group = iommu_group_alloc(); in s390_iommu_add_device()
176 if (IS_ERR(group)) in s390_iommu_add_device()
177 return PTR_ERR(group); in s390_iommu_add_device()
180 rc = iommu_group_add_device(group, dev); in s390_iommu_add_device()
181 iommu_group_put(group); in s390_iommu_add_device()
Dtegra-smmu.c314 const struct tegra_smmu_swgroup *group = NULL; in tegra_smmu_find_swgroup() local
319 group = &smmu->soc->swgroups[i]; in tegra_smmu_find_swgroup()
324 return group; in tegra_smmu_find_swgroup()
330 const struct tegra_smmu_swgroup *group; in tegra_smmu_enable() local
345 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_enable()
346 if (group) { in tegra_smmu_enable()
347 value = smmu_readl(smmu, group->reg); in tegra_smmu_enable()
351 smmu_writel(smmu, value, group->reg); in tegra_smmu_enable()
358 const struct tegra_smmu_swgroup *group; in tegra_smmu_disable() local
362 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_disable()
[all …]
Darm-smmu.c424 struct iommu_group *group = iommu_group_get(dev); in find_smmu_master_cfg() local
426 if (group) { in find_smmu_master_cfg()
427 cfg = iommu_group_get_iommudata(group); in find_smmu_master_cfg()
428 iommu_group_put(group); in find_smmu_master_cfg()
1299 struct iommu_group *group) in arm_smmu_init_pci_device() argument
1305 cfg = iommu_group_get_iommudata(group); in arm_smmu_init_pci_device()
1311 iommu_group_set_iommudata(group, cfg, in arm_smmu_init_pci_device()
1335 struct iommu_group *group) in arm_smmu_init_platform_device() argument
1347 iommu_group_set_iommudata(group, &master->cfg, NULL); in arm_smmu_init_platform_device()
1354 struct iommu_group *group; in arm_smmu_add_device() local
[all …]
Damd_iommu_v2.c135 struct iommu_group *group; in free_device_state() local
141 group = iommu_group_get(&dev_state->pdev->dev); in free_device_state()
142 if (WARN_ON(!group)) in free_device_state()
145 iommu_detach_group(dev_state->domain, group); in free_device_state()
147 iommu_group_put(group); in free_device_state()
765 struct iommu_group *group; in amd_iommu_init_device() local
811 group = iommu_group_get(&pdev->dev); in amd_iommu_init_device()
812 if (!group) in amd_iommu_init_device()
815 ret = iommu_attach_group(dev_state->domain, group); in amd_iommu_init_device()
819 iommu_group_put(group); in amd_iommu_init_device()
[all …]
/linux-4.4.14/arch/sparc/kernel/
Dhvapi.c18 unsigned long group; member
27 { .group = HV_GRP_SUN4V, .flags = FLAG_PRE_API },
28 { .group = HV_GRP_CORE, .flags = FLAG_PRE_API },
29 { .group = HV_GRP_INTR, },
30 { .group = HV_GRP_SOFT_STATE, },
31 { .group = HV_GRP_TM, },
32 { .group = HV_GRP_PCI, .flags = FLAG_PRE_API },
33 { .group = HV_GRP_LDOM, },
34 { .group = HV_GRP_SVC_CHAN, .flags = FLAG_PRE_API },
35 { .group = HV_GRP_NCS, .flags = FLAG_PRE_API },
[all …]
/linux-4.4.14/drivers/infiniband/core/
Dmulticast.c118 struct mcast_group *group; member
134 struct mcast_group *group; in mcast_find() local
138 group = rb_entry(node, struct mcast_group, node); in mcast_find()
139 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); in mcast_find()
141 return group; in mcast_find()
152 struct mcast_group *group, in mcast_insert() argument
164 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert()
165 sizeof group->rec.mgid); in mcast_insert()
175 rb_link_node(&group->node, parent, link); in mcast_insert()
176 rb_insert_color(&group->node, &port->table); in mcast_insert()
[all …]
Dnetlink.c52 int ibnl_chk_listeners(unsigned int group) in ibnl_chk_listeners() argument
54 if (netlink_has_listeners(nls, group) == 0) in ibnl_chk_listeners()
238 unsigned int group, gfp_t flags) in ibnl_multicast() argument
240 return nlmsg_multicast(nls, skb, 0, group, flags); in ibnl_multicast()
/linux-4.4.14/drivers/vfio/
Dvfio.c93 struct vfio_group *group; member
150 static int vfio_alloc_group_minor(struct vfio_group *group) in vfio_alloc_group_minor() argument
152 return idr_alloc(&vfio.group_idr, group, 0, MINORMASK + 1, GFP_KERNEL); in vfio_alloc_group_minor()
162 static void vfio_group_get(struct vfio_group *group);
188 static void vfio_group_unlock_and_free(struct vfio_group *group) in vfio_group_unlock_and_free() argument
195 iommu_group_unregister_notifier(group->iommu_group, &group->nb); in vfio_group_unlock_and_free()
196 kfree(group); in vfio_group_unlock_and_free()
204 struct vfio_group *group, *tmp; in vfio_create_group() local
208 group = kzalloc(sizeof(*group), GFP_KERNEL); in vfio_create_group()
209 if (!group) in vfio_create_group()
[all …]
Dvfio_iommu_type1.c741 struct vfio_group *group, *g; in vfio_iommu_type1_attach_group() local
758 group = kzalloc(sizeof(*group), GFP_KERNEL); in vfio_iommu_type1_attach_group()
760 if (!group || !domain) { in vfio_iommu_type1_attach_group()
765 group->iommu_group = iommu_group; in vfio_iommu_type1_attach_group()
792 list_add(&group->next, &domain->group_list); in vfio_iommu_type1_attach_group()
817 list_add(&group->next, &d->group_list); in vfio_iommu_type1_attach_group()
849 kfree(group); in vfio_iommu_type1_attach_group()
867 struct vfio_group *group; in vfio_iommu_type1_detach_group() local
872 list_for_each_entry(group, &domain->group_list, next) { in vfio_iommu_type1_detach_group()
873 if (group->iommu_group != iommu_group) in vfio_iommu_type1_detach_group()
[all …]
/linux-4.4.14/fs/notify/fanotify/
Dfanotify_user.c54 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument
57 BUG_ON(!mutex_is_locked(&group->notification_mutex)); in get_one_event()
59 pr_debug("%s: group=%p count=%zd\n", __func__, group, count); in get_one_event()
61 if (fsnotify_notify_queue_is_empty(group)) in get_one_event()
69 return fsnotify_remove_first_event(group); in get_one_event()
72 static int create_fd(struct fsnotify_group *group, in create_fd() argument
79 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in create_fd()
81 client_fd = get_unused_fd_flags(group->fanotify_data.f_flags); in create_fd()
93 group->fanotify_data.f_flags | FMODE_NONOTIFY, in create_fd()
114 static int fill_event_metadata(struct fsnotify_group *group, in fill_event_metadata() argument
[all …]
Dfanotify.c63 static int fanotify_get_response(struct fsnotify_group *group, in fanotify_get_response() argument
68 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in fanotify_get_response()
70 wait_event(group->fanotify_data.access_waitq, event->response || in fanotify_get_response()
71 atomic_read(&group->fanotify_data.bypass_perm)); in fanotify_get_response()
79 fsnotify_remove_event(group, &event->fae.fse); in fanotify_get_response()
95 group, event, ret); in fanotify_get_response()
187 static int fanotify_handle_event(struct fsnotify_group *group, in fanotify_handle_event() argument
213 pr_debug("%s: group=%p inode=%p mask=%x\n", __func__, group, inode, in fanotify_handle_event()
221 ret = fsnotify_add_event(group, fsn_event, fanotify_merge); in fanotify_handle_event()
226 fsnotify_destroy_event(group, fsn_event); in fanotify_handle_event()
[all …]
/linux-4.4.14/fs/notify/inotify/
Dinotify_user.c114 struct fsnotify_group *group = file->private_data; in inotify_poll() local
117 poll_wait(file, &group->notification_waitq, wait); in inotify_poll()
118 mutex_lock(&group->notification_mutex); in inotify_poll()
119 if (!fsnotify_notify_queue_is_empty(group)) in inotify_poll()
121 mutex_unlock(&group->notification_mutex); in inotify_poll()
143 static struct fsnotify_event *get_one_event(struct fsnotify_group *group, in get_one_event() argument
149 if (fsnotify_notify_queue_is_empty(group)) in get_one_event()
152 event = fsnotify_peek_first_event(group); in get_one_event()
154 pr_debug("%s: group=%p event=%p\n", __func__, group, event); in get_one_event()
162 fsnotify_remove_first_event(group); in get_one_event()
[all …]
Dinotify_fsnotify.c65 int inotify_handle_event(struct fsnotify_group *group, in inotify_handle_event() argument
93 pr_debug("%s: group=%p inode=%p mask=%x\n", __func__, group, inode, in inotify_handle_event()
111 ret = fsnotify_add_event(group, fsn_event, inotify_merge); in inotify_handle_event()
114 fsnotify_destroy_event(group, fsn_event); in inotify_handle_event()
118 fsnotify_destroy_mark(inode_mark, group); in inotify_handle_event()
123 static void inotify_freeing_mark(struct fsnotify_mark *fsn_mark, struct fsnotify_group *group) in inotify_freeing_mark() argument
125 inotify_ignored_and_remove_idr(fsn_mark, group); in inotify_freeing_mark()
159 fsn_mark->group, fsn_mark->inode, i_mark->wd); in idr_callback()
163 static void inotify_free_group_priv(struct fsnotify_group *group) in inotify_free_group_priv() argument
166 idr_for_each(&group->inotify_data.idr, idr_callback, group); in inotify_free_group_priv()
[all …]
Dinotify.h24 struct fsnotify_group *group);
25 extern int inotify_handle_event(struct fsnotify_group *group,
/linux-4.4.14/drivers/gpio/
Dgpio-lpc32xx.c174 static void __set_gpio_dir_p012(struct lpc32xx_gpio_chip *group, in __set_gpio_dir_p012() argument
179 group->gpio_grp->dir_clr); in __set_gpio_dir_p012()
182 group->gpio_grp->dir_set); in __set_gpio_dir_p012()
185 static void __set_gpio_dir_p3(struct lpc32xx_gpio_chip *group, in __set_gpio_dir_p3() argument
191 __raw_writel(u, group->gpio_grp->dir_clr); in __set_gpio_dir_p3()
193 __raw_writel(u, group->gpio_grp->dir_set); in __set_gpio_dir_p3()
196 static void __set_gpio_level_p012(struct lpc32xx_gpio_chip *group, in __set_gpio_level_p012() argument
201 group->gpio_grp->outp_set); in __set_gpio_level_p012()
204 group->gpio_grp->outp_clr); in __set_gpio_level_p012()
207 static void __set_gpio_level_p3(struct lpc32xx_gpio_chip *group, in __set_gpio_level_p3() argument
[all …]
Dgpio-it87.c166 u8 mask, group; in it87_gpio_request() local
171 group = (gpio_num / 8); in it87_gpio_request()
182 if (group < it87_gpio->simple_size) in it87_gpio_request()
183 superio_set_mask(mask, group + it87_gpio->simple_base); in it87_gpio_request()
188 superio_clear_mask(mask, group + it87_gpio->output_base); in it87_gpio_request()
211 u8 mask, group; in it87_gpio_direction_in() local
216 group = (gpio_num / 8); in it87_gpio_direction_in()
225 superio_clear_mask(mask, group + it87_gpio->output_base); in it87_gpio_direction_in()
254 u8 mask, group; in it87_gpio_direction_out() local
259 group = (gpio_num / 8); in it87_gpio_direction_out()
[all …]
/linux-4.4.14/fs/ext2/
Dialloc.c65 static void ext2_release_inode(struct super_block *sb, int group, int dir) in ext2_release_inode() argument
70 desc = ext2_get_group_desc(sb, group, &bh); in ext2_release_inode()
73 "can't get descriptor for group %d", group); in ext2_release_inode()
77 spin_lock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
81 spin_unlock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
209 int group, best_group = -1; in find_group_dir() local
211 for (group = 0; group < ngroups; group++) { in find_group_dir()
212 desc = ext2_get_group_desc (sb, group, NULL); in find_group_dir()
220 best_group = group; in find_group_dir()
272 int group = -1, i; in find_group_orlov() local
[all …]
Dballoc.c265 unsigned int group, struct super_block * sb) in goal_in_my_reservation() argument
269 group_first_block = ext2_group_first_block_no(sb, group); in goal_in_my_reservation()
664 ext2_try_to_allocate(struct super_block *sb, int group, in ext2_try_to_allocate() argument
675 group_first_block = ext2_group_first_block_no(sb, group); in ext2_try_to_allocate()
716 if (ext2_set_bit_atomic(sb_bgl_lock(EXT2_SB(sb), group), grp_goal, in ext2_try_to_allocate()
731 && !ext2_set_bit_atomic(sb_bgl_lock(EXT2_SB(sb), group), in ext2_try_to_allocate()
900 unsigned int group, struct buffer_head *bitmap_bh) in alloc_new_reservation() argument
910 group_first_block = ext2_group_first_block_no(sb, group); in alloc_new_reservation()
1092 ext2_try_to_allocate_with_rsv(struct super_block *sb, unsigned int group, in ext2_try_to_allocate_with_rsv() argument
1108 return ext2_try_to_allocate(sb, group, bitmap_bh, in ext2_try_to_allocate_with_rsv()
[all …]
/linux-4.4.14/drivers/clk/shmobile/
Dclk-mstp.c57 struct mstp_clock_group *group; member
65 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_endisable() local
71 spin_lock_irqsave(&group->lock, flags); in cpg_mstp_clock_endisable()
73 value = clk_readl(group->smstpcr); in cpg_mstp_clock_endisable()
78 clk_writel(value, group->smstpcr); in cpg_mstp_clock_endisable()
80 spin_unlock_irqrestore(&group->lock, flags); in cpg_mstp_clock_endisable()
82 if (!enable || !group->mstpsr) in cpg_mstp_clock_endisable()
86 if (!(clk_readl(group->mstpsr) & bitmask)) in cpg_mstp_clock_endisable()
93 group->smstpcr, clock->bit_index); in cpg_mstp_clock_endisable()
113 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_is_enabled() local
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dkernel_user_comm.c113 int libcfs_kkuc_group_add(struct file *filp, int uid, int group, __u32 data) in libcfs_kkuc_group_add() argument
117 if (group > KUC_GRP_MAX) { in libcfs_kkuc_group_add()
118 CDEBUG(D_WARNING, "Kernelcomm: bad group %d\n", group); in libcfs_kkuc_group_add()
136 if (kkuc_groups[group].next == NULL) in libcfs_kkuc_group_add()
137 INIT_LIST_HEAD(&kkuc_groups[group]); in libcfs_kkuc_group_add()
138 list_add(&reg->kr_chain, &kkuc_groups[group]); in libcfs_kkuc_group_add()
141 CDEBUG(D_KUC, "Added uid=%d fp=%p to group %d\n", uid, filp, group); in libcfs_kkuc_group_add()
147 int libcfs_kkuc_group_rem(int uid, int group) in libcfs_kkuc_group_rem() argument
151 if (kkuc_groups[group].next == NULL) in libcfs_kkuc_group_rem()
162 libcfs_kkuc_group_put(group, &lh); in libcfs_kkuc_group_rem()
[all …]
/linux-4.4.14/fs/ext4/
Dresize.c61 ext4_group_t group) { in ext4_meta_bg_first_group() argument
62 return (group >> EXT4_DESC_PER_BLOCK_BITS(sb)) << in ext4_meta_bg_first_group()
67 ext4_group_t group) { in ext4_meta_bg_first_block_no() argument
68 group = ext4_meta_bg_first_group(sb, group); in ext4_meta_bg_first_block_no()
69 return ext4_group_first_block_no(sb, group); in ext4_meta_bg_first_block_no()
73 ext4_group_t group) { in ext4_group_overhead_blocks() argument
75 overhead = ext4_bg_num_gdb(sb, group); in ext4_group_overhead_blocks()
76 if (ext4_bg_has_super(sb, group)) in ext4_group_overhead_blocks()
92 ext4_group_t group = input->group; in verify_group_input() local
100 if (group != sbi->s_groups_count) { in verify_group_input()
[all …]
Dialloc.c444 ext4_group_t *group, umode_t mode, in find_group_orlov() argument
510 *group = grp; in find_group_orlov()
527 *group = grp+i; in find_group_orlov()
573 *group = grp; in find_group_orlov()
592 ext4_group_t *group, umode_t mode) in find_group_other() argument
617 *group = i; in find_group_other()
631 *group = parent_group + flex_size; in find_group_other()
632 if (*group > ngroups) in find_group_other()
633 *group = 0; in find_group_other()
634 return find_group_orlov(sb, parent, group, mode, NULL); in find_group_other()
[all …]
Dmballoc.c367 ext4_group_t group);
369 ext4_group_t group);
723 void *buddy, void *bitmap, ext4_group_t group) in ext4_mb_generate_buddy() argument
725 struct ext4_group_info *grp = ext4_get_group_info(sb, group); in ext4_mb_generate_buddy()
755 ext4_grp_locked_error(sb, group, 0, 0, in ext4_mb_generate_buddy()
826 ext4_group_t first_group, group; in ext4_mb_init_cache() local
862 for (i = 0, group = first_group; i < groups_per_page; i++, group++) { in ext4_mb_init_cache()
863 if (group >= ngroups) in ext4_mb_init_cache()
866 grinfo = ext4_get_group_info(sb, group); in ext4_mb_init_cache()
877 bh[i] = ext4_read_block_bitmap_nowait(sb, group); in ext4_mb_init_cache()
[all …]
Dballoc.c37 ext4_group_t group; in ext4_get_group_number() local
40 group = (block - in ext4_get_group_number()
44 ext4_get_group_no_and_offset(sb, block, &group, NULL); in ext4_get_group_number()
45 return group; in ext4_get_group_number()
746 int ext4_bg_has_super(struct super_block *sb, ext4_group_t group) in ext4_bg_has_super() argument
750 if (group == 0) in ext4_bg_has_super()
753 if (group == le32_to_cpu(es->s_backup_bgs[0]) || in ext4_bg_has_super()
754 group == le32_to_cpu(es->s_backup_bgs[1])) in ext4_bg_has_super()
758 if ((group <= 1) || !ext4_has_feature_sparse_super(sb)) in ext4_bg_has_super()
760 if (!(group & 1)) in ext4_bg_has_super()
[all …]
Dbitmap.c18 int ext4_inode_bitmap_csum_verify(struct super_block *sb, ext4_group_t group, in ext4_inode_bitmap_csum_verify() argument
40 void ext4_inode_bitmap_csum_set(struct super_block *sb, ext4_group_t group, in ext4_inode_bitmap_csum_set() argument
56 int ext4_block_bitmap_csum_verify(struct super_block *sb, ext4_group_t group, in ext4_block_bitmap_csum_verify() argument
82 void ext4_block_bitmap_csum_set(struct super_block *sb, ext4_group_t group, in ext4_block_bitmap_csum_set() argument
/linux-4.4.14/arch/mips/rb532/
Dirq.c87 static inline int group_to_ip(unsigned int group) in group_to_ip() argument
89 return group + 2; in group_to_ip()
115 unsigned int group, intr_bit, irq_nr = d->irq; in rb532_enable_irq() local
122 group = ip >> 5; in rb532_enable_irq()
127 enable_local_irq(group_to_ip(group)); in rb532_enable_irq()
129 addr = intr_group[group].base_addr; in rb532_enable_irq()
136 unsigned int group, intr_bit, mask, irq_nr = d->irq; in rb532_disable_irq() local
143 group = ip >> 5; in rb532_disable_irq()
147 addr = intr_group[group].base_addr; in rb532_disable_irq()
153 if (group == GPIO_MAPPED_IRQ_GROUP && irq_nr <= (GROUP4_IRQ_BASE + 13)) in rb532_disable_irq()
[all …]
/linux-4.4.14/include/linux/
Dconfigfs.h100 extern void config_group_init(struct config_group *group);
101 extern void config_group_init_type_name(struct config_group *group,
110 static inline struct config_group *config_group_get(struct config_group *group) in config_group_get() argument
112 return group ? to_config_group(config_item_get(&group->cg_item)) : NULL; in config_group_get()
115 static inline void config_group_put(struct config_group *group) in config_group_put() argument
117 config_item_put(&group->cg_item); in config_group_put()
178 struct config_item *(*make_item)(struct config_group *group, const char *name);
179 struct config_group *(*make_group)(struct config_group *group, const char *name);
181 void (*disconnect_notify)(struct config_group *group, struct config_item *item);
182 void (*drop_item)(struct config_group *group, struct config_item *item);
[all …]
Dfsnotify_backend.h95 int (*handle_event)(struct fsnotify_group *group,
101 void (*free_group_priv)(struct fsnotify_group *group);
102 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
219 struct fsnotify_group *group; member
308 extern void fsnotify_get_group(struct fsnotify_group *group);
310 extern void fsnotify_put_group(struct fsnotify_group *group);
312 extern void fsnotify_destroy_group(struct fsnotify_group *group);
316 extern void fsnotify_destroy_event(struct fsnotify_group *group,
319 extern int fsnotify_add_event(struct fsnotify_group *group,
324 extern void fsnotify_remove_event(struct fsnotify_group *group, struct fsnotify_event *event);
[all …]
Diommu.h232 struct iommu_group *group);
234 struct iommu_group *group);
236 extern void *iommu_group_get_iommudata(struct iommu_group *group);
237 extern void iommu_group_set_iommudata(struct iommu_group *group,
240 extern int iommu_group_set_name(struct iommu_group *group, const char *name);
241 extern int iommu_group_add_device(struct iommu_group *group,
244 extern int iommu_group_for_each_dev(struct iommu_group *group, void *data,
247 extern void iommu_group_put(struct iommu_group *group);
248 extern int iommu_group_register_notifier(struct iommu_group *group,
250 extern int iommu_group_unregister_notifier(struct iommu_group *group,
[all …]
Dvfio.h72 struct iommu_group *group);
74 struct iommu_group *group);
87 extern void vfio_group_put_external_user(struct vfio_group *group);
88 extern int vfio_external_user_iommu_id(struct vfio_group *group);
89 extern long vfio_external_check_extension(struct vfio_group *group,
96 extern long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group,
108 static inline long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, in vfio_spapr_iommu_eeh_ioctl() argument
Dnetlink.h51 int (*bind)(struct net *net, int group);
52 void (*unbind)(struct net *net, int group);
68 extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group);
70 extern int netlink_has_listeners(struct sock *sk, unsigned int group);
84 __u32 group, gfp_t allocation);
86 __u32 portid, __u32 group, gfp_t allocation,
89 extern int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code);
Dconnector.h58 u32 seq, group; member
74 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid, u32 group, gfp_t gfp_mask);
75 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 group, gfp_t gfp_mask);
Dcs5535.h52 static inline int cs5535_pic_unreqz_select_high(unsigned int group, in cs5535_pic_unreqz_select_high() argument
58 lo &= ~(0xF << (group * 4)); in cs5535_pic_unreqz_select_high()
59 lo |= (irq & 0xF) << (group * 4); in cs5535_pic_unreqz_select_high()
179 int cs5535_gpio_set_irq(unsigned group, unsigned irq);
Dsock_diag.h64 const enum sknetlink_groups group = sock_diag_destroy_group(sk); in sock_diag_has_destroy_listeners() local
66 return group != SKNLGRP_NONE && n->diag_nlsk && in sock_diag_has_destroy_listeners()
67 netlink_has_listeners(n->diag_nlsk, group); in sock_diag_has_destroy_listeners()
Dgenl_magic_func.h12 #define GENL_mc_group(group) argument
279 #define GENL_mc_group(group) { .name = #group, }, argument
285 #define GENL_mc_group(group) CONCAT_(GENL_MAGIC_FAMILY, _group_ ## group), in CONCAT_() argument
290 #define GENL_mc_group(group) \ argument
291 static int CONCAT_(GENL_MAGIC_FAMILY, _genl_multicast_ ## group)( \
295 CONCAT_(GENL_MAGIC_FAMILY, _group_ ## group); \
303 #define GENL_mc_group(group) argument
Drtnetlink.h10 extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo);
13 u32 group, struct nlmsghdr *nlh, gfp_t flags);
14 extern void rtnl_set_sk_err(struct net *net, u32 group, int error);
/linux-4.4.14/drivers/pinctrl/sirf/
Dpinctrl-prima2.c137 .group = 3,
143 .group = 2,
161 .group = 3,
167 .group = 2,
170 .group = 0,
188 .group = 3,
194 .group = 2,
197 .group = 0,
217 .group = 3,
223 .group = 2,
[all …]
Dpinctrl-atlas6.c133 .group = 1,
136 .group = 2,
157 .group = 2,
163 .group = 1,
166 .group = 0,
184 .group = 2,
190 .group = 1,
193 .group = 0,
213 .group = 2,
219 .group = 1,
[all …]
/linux-4.4.14/fs/nilfs2/
Dalloc.c95 __u64 group = nr; in nilfs_palloc_group() local
97 *offset = do_div(group, nilfs_palloc_entries_per_group(inode)); in nilfs_palloc_group()
98 return group; in nilfs_palloc_group()
110 nilfs_palloc_desc_blkoff(const struct inode *inode, unsigned long group) in nilfs_palloc_desc_blkoff() argument
113 group / nilfs_palloc_groups_per_desc_block(inode); in nilfs_palloc_desc_blkoff()
126 nilfs_palloc_bitmap_blkoff(const struct inode *inode, unsigned long group) in nilfs_palloc_bitmap_blkoff() argument
129 group % nilfs_palloc_groups_per_desc_block(inode); in nilfs_palloc_bitmap_blkoff()
130 return nilfs_palloc_desc_blkoff(inode, group) + 1 + in nilfs_palloc_bitmap_blkoff()
178 unsigned long group, group_offset; in nilfs_palloc_entry_blkoff() local
180 group = nilfs_palloc_group(inode, nr, &group_offset); in nilfs_palloc_entry_blkoff()
[all …]
/linux-4.4.14/include/net/
Dgenetlink.h64 int (*mcast_bind)(struct net *net, int group);
65 void (*mcast_unbind)(struct net *net, int group);
187 struct genl_info *info, u32 group, gfp_t flags);
294 u32 portid, unsigned int group, gfp_t flags) in genlmsg_multicast_netns() argument
296 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_netns()
298 group = family->mcgrp_offset + group; in genlmsg_multicast_netns()
299 return nlmsg_multicast(net->genl_sock, skb, portid, group, flags); in genlmsg_multicast_netns()
312 unsigned int group, gfp_t flags) in genlmsg_multicast() argument
315 portid, group, flags); in genlmsg_multicast()
330 unsigned int group, gfp_t flags);
[all …]
/linux-4.4.14/fs/configfs/
Ddir.c609 static void detach_groups(struct config_group *group) in detach_groups() argument
611 struct dentry * dentry = dget(group->cg_item.ci_dentry); in detach_groups()
654 struct config_group *group) in create_default_group() argument
661 if (!group->cg_item.ci_name) in create_default_group()
662 group->cg_item.ci_name = group->cg_item.ci_namebuf; in create_default_group()
665 child = d_alloc_name(parent, group->cg_item.ci_name); in create_default_group()
670 &group->cg_item, child); in create_default_group()
684 static int populate_groups(struct config_group *group) in populate_groups() argument
690 if (group->default_groups) { in populate_groups()
691 for (i = 0; group->default_groups[i]; i++) { in populate_groups()
[all …]
Ditem.c124 void config_group_init_type_name(struct config_group *group, const char *name, in config_group_init_type_name() argument
127 config_item_set_name(&group->cg_item, "%s", name); in config_group_init_type_name()
128 group->cg_item.ci_type = type; in config_group_init_type_name()
129 config_group_init(group); in config_group_init_type_name()
181 void config_group_init(struct config_group *group) in config_group_init() argument
183 config_item_init(&group->cg_item); in config_group_init()
184 INIT_LIST_HEAD(&group->cg_children); in config_group_init()
197 struct config_item *config_group_find_item(struct config_group *group, in config_group_find_item() argument
203 list_for_each(entry, &group->cg_children) { in config_group_find_item()
/linux-4.4.14/drivers/usb/gadget/function/
Duvc_configfs.c135 static struct config_item *uvcg_control_header_make(struct config_group *group, in uvcg_control_header_make() argument
155 static void uvcg_control_header_drop(struct config_group *group, in uvcg_control_header_drop() argument
165 struct config_group group; member
180 struct config_group group; member
187 struct uvcg_default_processing, group); in to_uvcg_default_processing()
197 struct mutex *su_mutex = &dp->group.cg_subsys->su_mutex; \
203 opts_item = dp->group.cg_item.ci_parent->ci_parent->ci_parent; \
234 struct mutex *su_mutex = &dp->group.cg_subsys->su_mutex; in uvcg_default_processing_bm_controls_show()
241 opts_item = dp->group.cg_item.ci_parent->ci_parent->ci_parent; in uvcg_default_processing_bm_controls_show()
276 &uvcg_default_processing.group,
[all …]
/linux-4.4.14/drivers/s390/block/
Ddasd_alias.c88 struct alias_pav_group, group); in _find_group()
96 list_for_each_entry(pos, &lcu->grouplist, group) { in _find_group()
320 struct alias_pav_group *group; in _add_device_to_lcu() local
344 group = _find_group(lcu, &uid); in _add_device_to_lcu()
345 if (!group) { in _add_device_to_lcu()
346 group = kzalloc(sizeof(*group), GFP_ATOMIC); in _add_device_to_lcu()
347 if (!group) in _add_device_to_lcu()
349 memcpy(group->uid.vendor, uid.vendor, sizeof(uid.vendor)); in _add_device_to_lcu()
350 memcpy(group->uid.serial, uid.serial, sizeof(uid.serial)); in _add_device_to_lcu()
351 group->uid.ssid = uid.ssid; in _add_device_to_lcu()
[all …]
/linux-4.4.14/drivers/hwtracing/stm/
Dpolicy.c33 struct config_group group; member
38 struct config_group group; member
60 return policy_node->group.cg_item.ci_name ? : "<none>"; in stp_policy_node_name()
66 container_of(to_config_group(item), struct stp_policy, group) : in to_stp_policy()
75 group) : in to_stp_policy_node()
195 stp_policy_node_make(struct config_group *group, const char *name) in stp_policy_node_make() argument
200 if (group->cg_item.ci_type == &stp_policy_type) { in stp_policy_node_make()
201 policy = container_of(group, struct stp_policy, group); in stp_policy_node_make()
203 parent_node = container_of(group, struct stp_policy_node, in stp_policy_node_make()
204 group); in stp_policy_node_make()
[all …]
/linux-4.4.14/drivers/pinctrl/freescale/
Dpinctrl-mxs.c44 unsigned group) in mxs_get_group_name() argument
48 return d->soc->groups[group].name; in mxs_get_group_name()
51 static int mxs_get_group_pins(struct pinctrl_dev *pctldev, unsigned group, in mxs_get_group_pins() argument
56 *pins = d->soc->groups[group].pins; in mxs_get_group_pins()
57 *num_pins = d->soc->groups[group].npins; in mxs_get_group_pins()
73 char *group = NULL; in mxs_dt_node_to_map() local
109 group = kzalloc(length, GFP_KERNEL); in mxs_dt_node_to_map()
110 if (!group) { in mxs_dt_node_to_map()
114 snprintf(group, length, "%s.%d", np->name, reg); in mxs_dt_node_to_map()
115 new_map[i].data.mux.group = group; in mxs_dt_node_to_map()
[all …]
Dpinctrl-imx.c146 new_map[0].data.mux.group = np->name; in imx_dt_node_to_map()
163 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in imx_dt_node_to_map()
185 unsigned group) in imx_pmx_set() argument
198 grp = &info->groups[group]; in imx_pmx_set()
312 unsigned int pin, group; in imx_pmx_gpio_request_enable() local
324 for (group = 0; group < info->ngroups; group++) { in imx_pmx_gpio_request_enable()
325 grp = &info->groups[group]; in imx_pmx_gpio_request_enable()
457 struct seq_file *s, unsigned group) in imx_pinconf_group_dbg_show() argument
466 if (group > info->ngroups) in imx_pinconf_group_dbg_show()
470 grp = &info->groups[group]; in imx_pinconf_group_dbg_show()
Dpinctrl-imx1-core.c265 new_map[0].data.mux.group = np->name; in imx1_dt_node_to_map()
280 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in imx1_dt_node_to_map()
302 unsigned group) in imx1_pmx_set() argument
314 pins = info->groups[group].pins; in imx1_pmx_set()
315 npins = info->groups[group].npins; in imx1_pmx_set()
320 info->functions[selector].name, info->groups[group].name); in imx1_pmx_set()
428 struct seq_file *s, unsigned group) in imx1_pinconf_group_dbg_show() argument
437 if (group > info->ngroups) in imx1_pinconf_group_dbg_show()
441 grp = &info->groups[group]; in imx1_pinconf_group_dbg_show()
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-tz1090-pdc.c171 #define FUNCTION(mux, fname, group) \ argument
174 .groups = group##_groups, \
175 .ngroups = ARRAY_SIZE(group##_groups), \
263 unsigned int group) in tz1090_pdc_pinctrl_get_group_name() argument
265 return tz1090_pdc_groups[group].name; in tz1090_pdc_pinctrl_get_group_name()
269 unsigned int group, in tz1090_pdc_pinctrl_get_group_pins() argument
273 *pins = tz1090_pdc_groups[group].pins; in tz1090_pdc_pinctrl_get_group_pins()
274 *num_pins = tz1090_pdc_groups[group].npins; in tz1090_pdc_pinctrl_get_group_pins()
314 unsigned int *num_maps, const char *group, in add_map_mux() argument
321 (*map)[*num_maps].data.mux.group = group; in add_map_mux()
[all …]
Dpinmux.c336 const char *group; in pinmux_map_to_setting() local
365 if (map->data.mux.group) { in pinmux_map_to_setting()
367 group = map->data.mux.group; in pinmux_map_to_setting()
369 if (!strcmp(group, groups[i])) { in pinmux_map_to_setting()
377 group, map->data.mux.function); in pinmux_map_to_setting()
381 group = groups[0]; in pinmux_map_to_setting()
384 ret = pinctrl_get_group_selector(pctldev, group); in pinmux_map_to_setting()
387 map->data.mux.group); in pinmux_map_to_setting()
390 setting->data.mux.group = ret; in pinmux_map_to_setting()
412 ret = pctlops->get_group_pins(pctldev, setting->data.mux.group, in pinmux_enable_setting()
[all …]
Dpinctrl-tz1090.c693 #define FUNCTION(mux, fname, group) \ argument
696 .groups = group##_groups, \
697 .ngroups = ARRAY_SIZE(group##_groups), \
992 unsigned int group) in tz1090_pinctrl_get_group_name() argument
994 if (group < ARRAY_SIZE(tz1090_groups)) { in tz1090_pinctrl_get_group_name()
996 return tz1090_groups[group].name; in tz1090_pinctrl_get_group_name()
999 unsigned int pin = group - ARRAY_SIZE(tz1090_groups); in tz1090_pinctrl_get_group_name()
1005 unsigned int group, in tz1090_pinctrl_get_group_pins() argument
1009 if (group < ARRAY_SIZE(tz1090_groups)) { in tz1090_pinctrl_get_group_pins()
1011 *pins = tz1090_groups[group].pins; in tz1090_pinctrl_get_group_pins()
[all …]
Dpinctrl-utils.c58 unsigned *num_maps, const char *group, in pinctrl_utils_add_map_mux() argument
65 (*map)[*num_maps].data.mux.group = group; in pinctrl_utils_add_map_mux()
75 unsigned *num_maps, const char *group, in pinctrl_utils_add_map_configs() argument
92 (*map)[*num_maps].data.configs.group_or_pin = group; in pinctrl_utils_add_map_configs()
Dpinctrl-lantiq.c78 const char *group, *pin; in ltq_pinctrl_dt_subnode_to_map() local
96 of_property_for_each_string(np, "lantiq,groups", prop, group) { in ltq_pinctrl_dt_subnode_to_map()
99 (*map)->data.mux.group = group; in ltq_pinctrl_dt_subnode_to_map()
128 of_property_for_each_string(np, "lantiq,groups", prop, group) { in ltq_pinctrl_dt_subnode_to_map()
133 (*map)->name = group; in ltq_pinctrl_dt_subnode_to_map()
134 (*map)->data.configs.group_or_pin = group; in ltq_pinctrl_dt_subnode_to_map()
262 unsigned group) in ltq_pmx_set() argument
265 const struct ltq_pin_group *pin_grp = &info->grps[group]; in ltq_pmx_set()
271 info->grps[group].name); in ltq_pmx_set()
Dpinctrl-tegra.c66 unsigned group) in tegra_pinctrl_get_group_name() argument
70 return pmx->soc->groups[group].name; in tegra_pinctrl_get_group_name()
74 unsigned group, in tegra_pinctrl_get_group_pins() argument
80 *pins = pmx->soc->groups[group].pins; in tegra_pinctrl_get_group_pins()
81 *num_pins = pmx->soc->groups[group].npins; in tegra_pinctrl_get_group_pins()
132 const char *group; in tegra_pinctrl_dt_subnode_to_map() local
175 of_property_for_each_string(np, "nvidia,pins", prop, group) { in tegra_pinctrl_dt_subnode_to_map()
178 reserved_maps, num_maps, group, in tegra_pinctrl_dt_subnode_to_map()
186 reserved_maps, num_maps, group, in tegra_pinctrl_dt_subnode_to_map()
268 unsigned group) in tegra_pinctrl_set_mux() argument
[all …]
Dpinctrl-as3722.c182 unsigned group) in as3722_pinctrl_get_group_name() argument
186 return as_pci->pin_groups[group].name; in as3722_pinctrl_get_group_name()
190 unsigned group, const unsigned **pins, unsigned *num_pins) in as3722_pinctrl_get_group_pins() argument
194 *pins = as_pci->pin_groups[group].pins; in as3722_pinctrl_get_group_pins()
195 *num_pins = as_pci->pin_groups[group].npins; in as3722_pinctrl_get_group_pins()
234 unsigned group) in as3722_pinctrl_set() argument
237 int gpio_cntr_reg = AS3722_GPIOn_CONTROL_REG(group); in as3722_pinctrl_set()
242 __func__, group, function, val); in as3722_pinctrl_set()
248 group, ret); in as3722_pinctrl_set()
251 as_pci->gpio_control[group].io_function = function; in as3722_pinctrl_set()
[all …]
Dpinctrl-tegra-xusb.c121 unsigned int group) in tegra_xusb_padctl_get_group_name() argument
125 return padctl->soc->pins[group].name; in tegra_xusb_padctl_get_group_name()
129 unsigned group, in tegra_xusb_padctl_get_group_pins() argument
137 *pins = &pinctrl->desc->pins[group].number; in tegra_xusb_padctl_get_group_pins()
166 const char *function, *group; in tegra_xusb_padctl_parse_subnode() local
213 of_property_for_each_string(np, "nvidia,lanes", prop, group) { in tegra_xusb_padctl_parse_subnode()
216 reserved_maps, num_maps, group, in tegra_xusb_padctl_parse_subnode()
224 maps, reserved_maps, num_maps, group, in tegra_xusb_padctl_parse_subnode()
302 unsigned int group) in tegra_xusb_padctl_pinmux_set() argument
309 lane = &padctl->soc->lanes[group]; in tegra_xusb_padctl_pinmux_set()
[all …]
Dpinctrl-utils.h30 unsigned *num_maps, const char *group,
34 unsigned *num_maps, const char *group,
Dpinctrl-at91-pio4.c520 const char *group, *func; in atmel_pctl_dt_subnode_to_map() local
526 ret = atmel_pctl_xlate_pinfunc(pctldev, np, pinfunc, &group, in atmel_pctl_dt_subnode_to_map()
532 group, func); in atmel_pctl_dt_subnode_to_map()
536 reserved_maps, num_maps, group, in atmel_pctl_dt_subnode_to_map()
619 unsigned group) in atmel_pmx_set_mux() argument
626 atmel_functions[function], atmel_pioctrl->groups[group].name); in atmel_pmx_set_mux()
628 pin = atmel_pioctrl->groups[group].pin; in atmel_pmx_set_mux()
646 unsigned group, in atmel_conf_pin_config_group_get() argument
651 struct atmel_group *grp = atmel_pioctrl->groups + group; in atmel_conf_pin_config_group_get()
694 unsigned group, in atmel_conf_pin_config_group_set() argument
[all …]
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c34 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_read()
41 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_write()
48 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_clr()
56 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_set()
65 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_clr_set()
83 ret = rcar_du_group_get(rcrtc->group); in rcar_du_crtc_get()
98 rcar_du_group_put(rcrtc->group); in rcar_du_crtc_put()
140 dev_dbg(rcrtc->group->dev->dev, in rcar_du_crtc_set_display_timing()
146 rcar_du_group_write(rcrtc->group, rcrtc->index % 2 ? ESCR2 : ESCR, in rcar_du_crtc_set_display_timing()
148 rcar_du_group_write(rcrtc->group, rcrtc->index % 2 ? OTAR2 : OTAR, 0); in rcar_du_crtc_set_display_timing()
[all …]
Drcar_du_kms.c290 plane->group->index, plane - plane->group->planes); in rcar_du_atomic_check()
299 index = plane - plane->group->planes; in rcar_du_atomic_check()
300 group_freed_planes[plane->group->index] |= 1 << index; in rcar_du_atomic_check()
311 groups |= 1 << plane->group->index; in rcar_du_atomic_check()
314 index = plane - plane->group->planes; in rcar_du_atomic_check()
315 group_freed_planes[plane->group->index] |= 1 << index; in rcar_du_atomic_check()
333 struct rcar_du_group *group = &rcdu->groups[index]; in rcar_du_atomic_check() local
339 for (i = 0; i < group->num_planes; ++i) { in rcar_du_atomic_check()
340 struct rcar_du_plane *plane = &group->planes[i]; in rcar_du_atomic_check()
358 __func__, plane->group->index, in rcar_du_atomic_check()
[all …]
Drcar_du_plane.c50 struct rcar_du_group *rgrp = plane->group; in rcar_du_plane_setup_fb()
113 struct rcar_du_group *rgrp = plane->group; in rcar_du_plane_setup_mode()
176 struct rcar_du_group *rgrp = plane->group; in __rcar_du_plane_setup()
239 struct rcar_du_device *rcdu = rplane->group->dev; in rcar_du_plane_atomic_check()
330 struct rcar_du_device *rcdu = to_rcar_plane(plane)->group->dev; in rcar_du_plane_atomic_set_property()
350 struct rcar_du_device *rcdu = to_rcar_plane(plane)->group->dev; in rcar_du_plane_atomic_get_property()
409 plane->group = rgrp; in rcar_du_planes_init()
/linux-4.4.14/drivers/pwm/
Dpwm-atmel-tcb.c70 unsigned group = pwm->hwpwm / 2; in atmel_tcb_pwm_request() local
79 ret = clk_prepare_enable(tc->clk[group]); in atmel_tcb_pwm_request()
92 cmr = __raw_readl(regs + ATMEL_TC_REG(group, CMR)); in atmel_tcb_pwm_request()
100 __raw_readl(regs + ATMEL_TC_REG(group, RA)); in atmel_tcb_pwm_request()
103 __raw_readl(regs + ATMEL_TC_REG(group, RB)); in atmel_tcb_pwm_request()
106 tcbpwm->period = __raw_readl(regs + ATMEL_TC_REG(group, RC)); in atmel_tcb_pwm_request()
113 __raw_writel(cmr, regs + ATMEL_TC_REG(group, CMR)); in atmel_tcb_pwm_request()
138 unsigned group = pwm->hwpwm / 2; in atmel_tcb_pwm_disable() local
155 cmr = __raw_readl(regs + ATMEL_TC_REG(group, CMR)); in atmel_tcb_pwm_disable()
172 __raw_writel(cmr, regs + ATMEL_TC_REG(group, CMR)); in atmel_tcb_pwm_disable()
[all …]
/linux-4.4.14/security/tomoyo/
Dgroup.c73 struct tomoyo_group *group = tomoyo_get_group(param, type); in tomoyo_write_group() local
75 if (!group) in tomoyo_write_group()
77 param->list = &group->member_list; in tomoyo_write_group()
109 tomoyo_put_group(group); in tomoyo_write_group()
126 const struct tomoyo_group *group) in tomoyo_path_matches_group() argument
129 list_for_each_entry_rcu(member, &group->member_list, head.list) { in tomoyo_path_matches_group()
152 const struct tomoyo_group *group) in tomoyo_number_matches_group() argument
156 list_for_each_entry_rcu(member, &group->member_list, head.list) { in tomoyo_number_matches_group()
180 const struct tomoyo_group *group) in tomoyo_address_matches_group() argument
186 list_for_each_entry_rcu(member, &group->member_list, head.list) { in tomoyo_address_matches_group()
Dmemory.c96 struct tomoyo_group *group = NULL; in tomoyo_get_group() local
108 list_for_each_entry(group, list, head.list) { in tomoyo_get_group()
109 if (e.group_name != group->group_name || in tomoyo_get_group()
110 atomic_read(&group->head.users) == TOMOYO_GC_IN_PROGRESS) in tomoyo_get_group()
112 atomic_inc(&group->head.users); in tomoyo_get_group()
122 group = entry; in tomoyo_get_group()
129 return found ? group : NULL; in tomoyo_get_group()
Dgc.c49 if (head->r.domain == element || head->r.group == element || in tomoyo_struct_used_by_io_buffer()
212 tomoyo_put_group(entry->address.group); in tomoyo_del_acl()
335 struct tomoyo_group *group = in tomoyo_del_group() local
336 container_of(element, typeof(*group), head.list); in tomoyo_del_group()
337 tomoyo_put_name(group->group_name); in tomoyo_del_group()
547 struct tomoyo_group *group; in tomoyo_collect_entry() local
560 list_for_each_entry_safe(group, tmp, list, head.list) { in tomoyo_collect_entry()
561 tomoyo_collect_member(id, &group->member_list); in tomoyo_collect_entry()
562 if (!list_empty(&group->member_list) || in tomoyo_collect_entry()
563 atomic_read(&group->head.users) > 0) in tomoyo_collect_entry()
[all …]
Dcommon.h518 struct tomoyo_group *group; member
524 struct tomoyo_group *group; /* Maybe NULL. */ member
532 struct tomoyo_group *group; /* Pointer to address group. */ member
684 u8 group; /* Group number to use. */ member
799 struct list_head *group; member
917 const struct tomoyo_group *group);
932 const struct tomoyo_group *group);
958 (const struct tomoyo_path_info *pathname, const struct tomoyo_group *group);
1192 static inline void tomoyo_put_group(struct tomoyo_group *group) in tomoyo_put_group() argument
1194 if (group) in tomoyo_put_group()
[all …]
/linux-4.4.14/Documentation/scheduler/
Dsched-bwc.txt5 The SCHED_RT case is covered in Documentation/scheduler/sched-rt-group.txt ]
8 specification of the maximum CPU bandwidth available to a group or hierarchy.
10 The bandwidth allowed for a group is specified using a quota and period. Within
11 each given "period" (microseconds), a group is allowed to consume only up to
13 group exceeds this limit (for that period), the tasks belonging to its
17 A group's unused runtime is globally tracked, being refreshed with quota units
34 A value of -1 for cpu.cfs_quota_us indicates that the group does not have any
35 bandwidth restriction in place, such a group is described as an unconstrained
36 bandwidth group. This represents the traditional work-conserving behavior for
46 and return the group to an unconstrained state once more.
[all …]
Dsched-rt-group.txt1 Real-Time group scheduling
42 Realtime scheduling is all about determinism, a group has to be able to rely on
44 multiple groups of realtime tasks, each group must be assigned a fixed portion
45 of the CPU time available. Without a minimum guarantee a realtime group can
53 in a given period. We allocate this "run time" for each realtime group which
56 Any time not allocated to a realtime group will be used to run normal priority
63 time dedicated for the graphics. We can then give this group a run time of 0.8
66 This way the graphics group will have a 0.04s period with a 0.032s run time
69 0.00015s. So this group can be scheduled with a period of 0.005s and a run time
114 By default all bandwidth is assigned to the root group and new groups get the
[all …]
Dsched-domains.txt19 MUST be the empty set. The group pointed to by the ->groups pointer MUST
23 Balancing within a sched domain occurs between groups. That is, each group
24 is treated as one entity. The load of a group is defined as the sum of the
25 load of each of its member CPUs, and only when the load of a group becomes
42 Initially, load_balance() finds the busiest group in the current sched domain.
44 that group. If it manages to find such a runqueue, it locks both our initial
51 of SMT, you'll span all siblings of the physical CPU, with each group being
55 node. Each group being a single physical CPU. Then with NUMA, the parent
56 of the SMP domain will span the entire machine, with each group having the
D00-INDEX13 sched-rt-group.txt
14 - real-time group scheduling.
Dsched-design-CFS.txt189 its task group.
202 fair CPU time to each task. Sometimes, it may be desirable to group tasks and
203 provide fair CPU time to each such task group. For example, it may be
210 CONFIG_RT_GROUP_SCHED permits to group real-time (i.e., SCHED_FIFO and
213 CONFIG_FAIR_GROUP_SCHED permits to group CFS (i.e., SCHED_NORMAL and
221 group created using the pseudo filesystem. See example steps below to create
229 # mkdir multimedia # create "multimedia" group of tasks
230 # mkdir browser # create "browser" group of tasks
232 # #Configure the multimedia group to receive twice the CPU bandwidth
233 # #that of browser group
[all …]
/linux-4.4.14/drivers/ps3/
Dps3-lpm.c672 static u64 pm_signal_group_to_ps3_lv1_signal_group(u64 group) in pm_signal_group_to_ps3_lv1_signal_group() argument
681 if (group < 1000) { in pm_signal_group_to_ps3_lv1_signal_group()
682 if (group < 100) { in pm_signal_group_to_ps3_lv1_signal_group()
683 if (20 <= group && group < 30) { in pm_signal_group_to_ps3_lv1_signal_group()
685 subgroup = group - 20; in pm_signal_group_to_ps3_lv1_signal_group()
686 } else if (30 <= group && group < 40) { in pm_signal_group_to_ps3_lv1_signal_group()
688 subgroup = group - 30; in pm_signal_group_to_ps3_lv1_signal_group()
689 } else if (40 <= group && group < 50) { in pm_signal_group_to_ps3_lv1_signal_group()
691 subgroup = group - 40; in pm_signal_group_to_ps3_lv1_signal_group()
692 } else if (50 <= group && group < 60) { in pm_signal_group_to_ps3_lv1_signal_group()
[all …]
/linux-4.4.14/drivers/pinctrl/spear/
Dpinctrl-spear.c99 int i, j, group; in pmx_init_addr() local
101 for (group = 0; group < machdata->ngroups; group++) { in pmx_init_addr()
102 pgroup = machdata->groups[group]; in pmx_init_addr()
122 unsigned group) in spear_pinctrl_get_group_name() argument
126 return pmx->machdata->groups[group]->name; in spear_pinctrl_get_group_name()
130 unsigned group, const unsigned **pins, unsigned *num_pins) in spear_pinctrl_get_group_pins() argument
134 *pins = pmx->machdata->groups[group]->pins; in spear_pinctrl_get_group_pins()
135 *num_pins = pmx->machdata->groups[group]->npins; in spear_pinctrl_get_group_pins()
154 const char *function, *group; in spear_pinctrl_dt_node_to_map() local
181 of_property_for_each_string(np, "st,pins", prop, group) { in spear_pinctrl_dt_node_to_map()
[all …]
/linux-4.4.14/mm/
Dpercpu.c1428 int group, v; in pcpu_dump_alloc_info() local
1448 for (group = 0; group < ai->nr_groups; group++) { in pcpu_dump_alloc_info()
1449 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_dump_alloc_info()
1459 printk(KERN_CONT "[%0*d] ", group_width, group); in pcpu_dump_alloc_info()
1541 int group, unit, i; in pcpu_setup_first_chunk() local
1581 for (group = 0, unit = 0; group < ai->nr_groups; group++, unit += i) { in pcpu_setup_first_chunk()
1582 const struct pcpu_group_info *gi = &ai->groups[group]; in pcpu_setup_first_chunk()
1584 group_offsets[group] = gi->base_offset; in pcpu_setup_first_chunk()
1585 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk()
1785 int last_allocs, group, unit; in pcpu_build_alloc_info() local
[all …]
/linux-4.4.14/fs/ocfs2/
Dresize.c105 struct ocfs2_group_desc *group; in ocfs2_update_last_group_and_inode() local
121 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_update_last_group_and_inode()
123 old_bg_clusters = le16_to_cpu(group->bg_bits) / cl_bpc; in ocfs2_update_last_group_and_inode()
126 le16_add_cpu(&group->bg_bits, num_bits); in ocfs2_update_last_group_and_inode()
127 le16_add_cpu(&group->bg_free_bits_count, num_bits); in ocfs2_update_last_group_and_inode()
136 group, in ocfs2_update_last_group_and_inode()
138 le16_add_cpu(&group->bg_free_bits_count, -1 * backups); in ocfs2_update_last_group_and_inode()
151 chain = le16_to_cpu(group->bg_chain); in ocfs2_update_last_group_and_inode()
174 group, in ocfs2_update_last_group_and_inode()
176 le16_add_cpu(&group->bg_free_bits_count, backups); in ocfs2_update_last_group_and_inode()
[all …]
Dstackglue.c314 const char *group, in ocfs2_cluster_connect() argument
325 BUG_ON(group == NULL); in ocfs2_cluster_connect()
347 strlcpy(new_conn->cc_name, group, GROUP_NAME_MAX + 1); in ocfs2_cluster_connect()
383 int ocfs2_cluster_connect_agnostic(const char *group, in ocfs2_cluster_connect_agnostic() argument
395 return ocfs2_cluster_connect(stack_name, NULL, 0, group, grouplen, in ocfs2_cluster_connect_agnostic()
426 static void ocfs2_leave_group(const char *group) in ocfs2_leave_group() argument
434 argv[3] = (char *)group; in ocfs2_leave_group()
458 void ocfs2_cluster_hangup(const char *group, int grouplen) in ocfs2_cluster_hangup() argument
460 BUG_ON(group == NULL); in ocfs2_cluster_hangup()
461 BUG_ON(group[grouplen] != '\0'); in ocfs2_cluster_hangup()
[all …]
Dstackglue.h250 const char *group,
261 int ocfs2_cluster_connect_agnostic(const char *group,
270 void ocfs2_cluster_hangup(const char *group, int grouplen);
/linux-4.4.14/kernel/
Duid16.c19 SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument
21 return sys_chown(filename, low2highuid(user), low2highgid(group)); in SYSCALL_DEFINE3()
24 SYSCALL_DEFINE3(lchown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument
26 return sys_lchown(filename, low2highuid(user), low2highgid(group)); in SYSCALL_DEFINE3()
29 SYSCALL_DEFINE3(fchown16, unsigned int, fd, old_uid_t, user, old_gid_t, group) in SYSCALL_DEFINE3() argument
31 return sys_fchown(fd, low2highuid(user), low2highgid(group)); in SYSCALL_DEFINE3()
116 old_gid_t group; in groups16_to_user() local
121 group = high2lowgid(from_kgid_munged(user_ns, kgid)); in groups16_to_user()
122 if (put_user(group, grouplist+i)) in groups16_to_user()
134 old_gid_t group; in groups16_from_user() local
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dfsl,mxs-pinctrl.txt18 a group of pins, and only affects those parameters that are explicitly listed.
26 One is to set up a group of pins for a function, both mux selection and pin
27 configurations, and it's called group node in the binding document. The other
29 different configuration than what is defined in group node. The binding
32 On mxs, there is no hardware pin group. The pin group in this binding only
33 means a group of pins put together for particular peripheral to work in
35 group node should include all the pins needed for one function rather than
36 having these pins defined in several group nodes. It also means each of
37 "pinctrl-*" phandle in client device node should only have one group node
39 there to adjust configurations for some pins in the group.
[all …]
Dpinctrl-sirf.txt6 - interrupts : Interrupts used by every GPIO group
17 Each of these subnodes represents some desired configuration for a group of pins.
20 - sirf,pins : An array of strings. Each string contains the name of a group.
22 group.
24 Valid values for group and function names can be found from looking at the
25 group and function arrays in driver files:
Dpinctrl-atlas7.txt64 Each of these subnodes represents some desired configuration for a group of pins.
67 - groups : An array of strings. Each string contains the name of a group.
69 group.
71 Valid values for group and function names can be found from looking at the
72 group and function arrays in driver files:
Dimg,tz1090-pinctrl.txt14 pin, a group, or a list of pins or groups. This configuration can include the
15 mux function to select on those pin(s)/group(s), and various pin configuration
32 group. Valid values for these names are listed below.
36 pin or group. Valid values for function names are listed below, including
59 Valid values for pin and group names are:
65 it for all pins in that group).
69 supported by the mux group. All other pins can be muxed to the "perip"
72 Different pins in the same mux group cannot be muxed to different functions,
73 however it is possible to mux only a subset of the pins in a mux group to a
75 the board connects certain pins in a group to other devices to be controlled
[all …]
Dcnxt,cx92755-pinctrl.txt37 container of an arbitrary number of subnodes, called pin group nodes in this
46 A pin group node specifies the desired pin mux for an arbitrary number of
47 pins. The name of the pin group node is optional and not used.
49 A pin group node only affects the properties specified in the node, and has no
52 The pin group node accepts a subset of the generic pin config properties. For
84 In the example above, a single pin group configuration node defines the
Dmarvell,mvebu-pinctrl.txt11 A Marvell SoC pin configuration node is a node of a group of pins which can
13 mpp pins or group of pins and a mpp function common to all pins.
20 - marvell,pins: string array of mpp pins or group of pins to be muxed.
24 valid pin/pin group names and available function names for each SoC.
Dpinctrl_spear.txt36 of these subnodes represents muxing for a pin, a group, or a list of pins or
44 group.
46 group. See the SPEAr's TRM to determine which are valid for each pin or group.
48 Valid values for group and function names can be found from looking at the
49 group and function arrays in driver files:
52 Valid values for group names are:
Dlantiq,pinctrl-falcon.txt14 pin, a group, or a list of pins or groups. This configuration can include the
15 mux function to select on those group(s), and two pin configuration parameters:
32 - lantiq,groups : An array of strings. Each string contains the name of a group.
35 group. Valid values for function names are listed below.
37 Valid values for group and function names:
Dabilis,tb10x-iomux.txt17 Every function is associated to one named pin group inside the pin controller
18 driver and these names are used to associate pin group predefinitions to pin
22 - abilis,function: should be set to the name of the function's pin group.
79 gpio-ranges-group-names = "gpioa";
Dimg,tz1090-pdc-pinctrl.txt14 pin, a group, or a list of pins or groups. This configuration can include the
15 mux function to select on those pin(s)/group(s), and various pin configuration
32 group. Valid values for these names are listed below.
36 pin or group. Valid values for function names are listed below, including
60 Valid values for pin and group names are:
66 it for all gpio pins in that group).
Dnvidia,tegra124-xusb-padctl.txt52 pin or group should be assigned to. Valid values for function names are
61 Valid functions for this group are: "snps", "xusb", "uart", "rsvd".
63 The nvidia,iddq property does not apply to this group.
67 Valid functions for this group are: "snps", "xusb".
69 The nvidia,iddq property does not apply to this group.
73 Valid functions for this group are: "pcie", "usb3", "sata", "rsvd".
Dbrcm,bcm11351-pinctrl.txt28 container of an arbitrary number of subnodes, called pin group nodes in this
37 A pin group node specifies the desired pin mux and/or pin configuration for an
38 arbitrary number of pins. The name of the pin group node is optional and not
41 A pin group node only affects the properties specified in the node, and has no
44 The pin group node accepts a subset of the generic pin config properties. For
127 //group node defining 1 standard pin
137 // group node defining 2 I2C pins
145 // group node defining 2 HDMI pins
152 // other pin group nodes
161 of sub-nodes. In the pin group node "grp_1", one pin, "std_pin1", is defined in
[all …]
Dberlin,pinctrl.txt9 A pin-controller node should contain subnodes representing the pin group
10 configurations, one per function. Each subnode has the group name and
29 - groups: a list of strings describing the group names.
Dlantiq,pinctrl-xway.txt14 pin, a group, or a list of pins or groups. This configuration can include the
15 mux function to select on those group(s), and two pin configuration parameters:
32 - lantiq,groups : An array of strings. Each string contains the name of a group.
35 group. Valid values for function names are listed below.
37 Valid values for group and function names:
Dfsl,imx-pinctrl.txt14 Freescale IMX pin configuration node is a node of a group of pins which can be
16 of the pins in that group. The 'mux' selects the function mode(also named mux
51 this group of pins in this pin configuration node are working on.
53 name describe the pin function and group hierarchy.
55 as the function name and pin configuration node's name as group name to
/linux-4.4.14/net/mac80211/
Drc80211_minstrel_ht.c288 int group, idx; in minstrel_ht_get_stats() local
291 group = minstrel_ht_get_group_idx(rate); in minstrel_ht_get_stats()
294 group = minstrel_vht_get_group_idx(rate); in minstrel_ht_get_stats()
297 group = MINSTREL_CCK_GROUP; in minstrel_ht_get_stats()
304 if (!(mi->groups[group].supported & BIT(idx))) in minstrel_ht_get_stats()
307 return &mi->groups[group].rates[idx]; in minstrel_ht_get_stats()
321 minstrel_ht_get_tp_avg(struct minstrel_ht_sta *mi, int group, int rate, in minstrel_ht_get_tp_avg() argument
330 if (group != MINSTREL_CCK_GROUP) in minstrel_ht_get_tp_avg()
333 nsecs += minstrel_mcs_groups[group].duration[rate]; in minstrel_ht_get_tp_avg()
481 int tmp_max_streams, group, tmp_idx, tmp_prob; in minstrel_ht_prob_rate_reduce_streams() local
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-kernel-iommu_groups6 directories, each representing an IOMMU group. The
8 for the group, which is an integer value. Within each
10 links to the sysfs devices contained in this group.
11 The group directory also optionally contains a "name"
13 common name for the group.
Dconfigfs-usb-gadget5 This group contains sub-groups corresponding to created
32 This group contains a USB gadget's configurations
47 This group contains subdirectories for language-specific
63 This group contains functions available to this USB gadget.
69 This group contains "Feature Descriptors" specific for one
70 gadget's USB interface or one interface group described
82 This group contains "Extended Property Descriptors" specific for one
83 gadget's USB interface or one interface group described
103 This group contains subdirectories for language-specific
120 This group contains "OS String" extension handling attributes.
Dsysfs-bus-event_source-devices-format6 Attribute group to describe the magic bits that go into
8 Each attribute of this group defines the 'hardware' bitmask
Dsysfs-fs-nilfs214 Describe attributes of /sys/fs/nilfs2/features group.
58 Describe attributes of /sys/fs/nilfs2/<device> group.
91 group.
181 group.
212 group.
243 group.
250 group.
269 group.
/linux-4.4.14/drivers/usb/gadget/
Dconfigfs.c47 struct config_group group; member
69 return container_of(to_config_group(item), struct gadget_info, group); in to_gadget_info()
73 struct config_group group; member
85 group); in to_config_usb_cfg()
95 struct config_group group; member
100 struct config_group group; member
108 struct config_group group; member
317 group); in to_gadget_strings()
324 group); in to_gadget_config_name()
331 struct usb_function_instance, group); in to_usb_function_instance()
[all …]
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dflow_table.c51 struct mlx5_ftg *group; member
84 ft->group[group_ix].id); in mlx5_set_flow_entry_cmd()
123 MLX5_SET_DFGI(in, group_id, ft->group[i].id); in mlx5_destroy_flow_group_cmd()
133 struct mlx5_flow_table_group *g = &ft->group[i].g; in mlx5_create_flow_group_cmd()
134 u32 start_ix = ft->group[i].start_ix; in mlx5_create_flow_group_cmd()
162 ft->group[i].id = MLX5_GET(create_flow_group_out, out, in mlx5_create_flow_group_cmd()
255 struct mlx5_flow_table_group *g = &ft->group[i].g; in mlx5_find_group()
290 struct mlx5_ftg *g = &ft->group[group_ix]; in alloc_flow_index()
347 struct mlx5_flow_table_group *group) in mlx5_create_flow_table() argument
358 ft_size += (1 << group[i].log_sz); in mlx5_create_flow_table()
[all …]
/linux-4.4.14/include/trace/events/
Dsignal.h53 int group, int result),
55 TP_ARGS(sig, info, task, group, result),
63 __field( int, group )
72 __entry->group = group;
78 __entry->comm, __entry->pid, __entry->group,
/linux-4.4.14/drivers/staging/rtl8723au/hal/
Drtl8723a_hal_init.c1504 u32 rfPath, eeAddr, group, rfPathMax = 1; in Hal_ReadPowerValueFromPROM_8723A() local
1509 for (group = 0; group < MAX_CHNL_GROUP; group++) { in Hal_ReadPowerValueFromPROM_8723A()
1511 pwrInfo->CCKIndex[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1513 pwrInfo->HT40_1SIndex[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1515 pwrInfo->HT40_2SIndexDiff[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1517 pwrInfo->HT20IndexDiff[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1519 pwrInfo->OFDMIndexDiff[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1521 pwrInfo->HT40MaxOffset[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1523 pwrInfo->HT20MaxOffset[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1532 for (group = 0; group < MAX_CHNL_GROUP; group++) { in Hal_ReadPowerValueFromPROM_8723A()
[all …]
/linux-4.4.14/arch/blackfin/kernel/
Dgptimers.c218 uint32_t get_gptimer_status(unsigned int group) in get_gptimer_status() argument
220 tassert(group < BFIN_TIMER_NUM_GROUP); in get_gptimer_status()
221 return bfin_read(&group_regs[group]->data_ilat); in get_gptimer_status()
225 void set_gptimer_status(unsigned int group, uint32_t value) in set_gptimer_status() argument
227 tassert(group < BFIN_TIMER_NUM_GROUP); in set_gptimer_status()
228 bfin_write(&group_regs[group]->data_ilat, value); in set_gptimer_status()
233 uint32_t get_gptimer_status(unsigned int group) in get_gptimer_status() argument
235 tassert(group < BFIN_TIMER_NUM_GROUP); in get_gptimer_status()
236 return bfin_read(&group_regs[group]->status); in get_gptimer_status()
240 void set_gptimer_status(unsigned int group, uint32_t value) in set_gptimer_status() argument
[all …]
/linux-4.4.14/drivers/staging/rtl8188eu/hal/
Drtl8188e_hal_init.c330 u32 rfPath, eeAddr = EEPROM_TX_PWR_INX_88E, group, TxCount = 0; in Hal_ReadPowerValueFromPROM_8188E() local
337 for (group = 0; group < MAX_CHNL_GROUP_24G; group++) { in Hal_ReadPowerValueFromPROM_8188E()
338 pwrInfo24G->IndexCCK_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8188E()
339 pwrInfo24G->IndexBW40_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8188E()
358 for (group = 0; group < MAX_CHNL_GROUP_24G; group++) { in Hal_ReadPowerValueFromPROM_8188E()
359 pwrInfo24G->IndexCCK_Base[rfPath][group] = PROMContent[eeAddr++]; in Hal_ReadPowerValueFromPROM_8188E()
360 if (pwrInfo24G->IndexCCK_Base[rfPath][group] == 0xFF) in Hal_ReadPowerValueFromPROM_8188E()
361 pwrInfo24G->IndexCCK_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8188E()
363 for (group = 0; group < MAX_CHNL_GROUP_24G-1; group++) { in Hal_ReadPowerValueFromPROM_8188E()
364 pwrInfo24G->IndexBW40_Base[rfPath][group] = PROMContent[eeAddr++]; in Hal_ReadPowerValueFromPROM_8188E()
[all …]
/linux-4.4.14/fs/dlm/
Dconfig.c68 struct config_group group; member
86 return i ? container_of(to_config_group(i), struct dlm_cluster, group) : in config_item_to_cluster()
213 struct config_group group; member
326 return i ? container_of(to_config_group(i), struct dlm_space, group) : in config_item_to_space()
356 config_group_init_type_name(&cl->group, name, &cluster_type); in make_cluster()
360 cl->group.default_groups = gps; in make_cluster()
361 cl->group.default_groups[0] = &sps->ss_group; in make_cluster()
362 cl->group.default_groups[1] = &cms->cs_group; in make_cluster()
363 cl->group.default_groups[2] = NULL; in make_cluster()
382 return &cl->group; in make_cluster()
[all …]
/linux-4.4.14/Documentation/cgroups/
Dcpuacct.txt4 The CPU accounting controller is used to group tasks using cgroups and
8 group accumulates the CPU usage of all of its child groups and the tasks
9 directly present in its group.
15 With the above step, the initial or the parent accounting group becomes
16 visible at /sys/fs/cgroup. At bootup, this group includes all the tasks in
19 by this group which is essentially the CPU time obtained by all the tasks
22 New accounting groups can be created under the parent group /sys/fs/cgroup.
28 The above steps create a new group g1 and move the current shell
Dhugetlb.txt4 The HugeTLB controller allows to limit the HugeTLB usage per control group and
15 With the above step, the initial or the parent HugeTLB group becomes
16 visible at /sys/fs/cgroup. At bootup, this group includes all the tasks in
19 New groups can be created under the parent group /sys/fs/cgroup.
25 The above steps create a new group g1 and move the current shell
Dnet_prio.txt15 This cgroup allows an administrator to assign a process to a group which defines
21 With the above step, the initial group acting as the parent accounting group
22 becomes visible at '/sys/fs/cgroup/net_prio'. This group includes all tasks in
33 processes in this group and egressing the system on various interfaces. It
42 said traffic set to the value 5. The parent accounting group also has a
Dblkio-controller.txt28 - Enable group scheduling in CFQ
41 - Set weights of group test1 and test2
62 much disk time (in milliseconds), each group got and how many sectors each
63 group dispatched to the disk. We provide fairness in terms of disk time, so
77 - Specify a bandwidth rate on particular device for root group. The format
82 Above will put a limit of 1MB/second on reads happening for root group
135 - Enables group scheduling in CFQ. Currently only 1 level of group
146 - Specifies per cgroup weight. This is default weight of the group
153 These rules override the default value of group weight as specified
187 third field specifies the disk time allocated to group in
[all …]
/linux-4.4.14/net/bridge/
Dbr_multicast.c44 __be32 group,
49 const struct in6_addr *group,
364 __be32 group) in br_ip4_multicast_alloc_query() argument
415 ih->code = (group ? br->multicast_last_member_interval : in br_ip4_multicast_alloc_query()
418 ih->group = group; in br_ip4_multicast_alloc_query()
431 const struct in6_addr *group) in br_ip6_multicast_alloc_query() argument
487 interval = ipv6_addr_any(group) ? in br_ip6_multicast_alloc_query()
496 mldq->mld_mca = *group; in br_ip6_multicast_alloc_query()
528 struct br_ip *group, int hash) in br_multicast_get_group() argument
540 if (unlikely(br_ip_equal(group, &mp->addr))) in br_multicast_get_group()
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.h35 u8 group; in rtl92c_get_chnl_group() local
38 group = 0; in rtl92c_get_chnl_group()
40 group = 1; in rtl92c_get_chnl_group()
42 group = 2; in rtl92c_get_chnl_group()
43 return group; in rtl92c_get_chnl_group()
/linux-4.4.14/drivers/pinctrl/meson/
Dpinctrl-meson.c195 struct meson_pmx_group *group; in meson_pmx_disable_other_groups() local
200 group = &pc->data->groups[i]; in meson_pmx_disable_other_groups()
201 if (group->is_gpio || i == sel_group) in meson_pmx_disable_other_groups()
204 for (j = 0; j < group->num_pins; j++) { in meson_pmx_disable_other_groups()
205 if (group->pins[j] == pin) { in meson_pmx_disable_other_groups()
207 domain = &pc->domains[group->domain]; in meson_pmx_disable_other_groups()
209 group->reg * 4, in meson_pmx_disable_other_groups()
210 BIT(group->bit), 0); in meson_pmx_disable_other_groups()
221 struct meson_pmx_group *group = &pc->data->groups[group_num]; in meson_pmx_set_mux() local
222 struct meson_domain *domain = &pc->domains[group->domain]; in meson_pmx_set_mux()
[all …]
/linux-4.4.14/scripts/
Dlink-vmlinux.sh45 --start-group ${KBUILD_VMLINUX_MAIN} --end-group
58 --start-group ${KBUILD_VMLINUX_MAIN} --end-group ${1}
62 -Wl,--start-group \
64 -Wl,--end-group \
Danalyze_suspend.py125 self.htmlfile = m.group('name')+'.html'
129 self.htmlfile = m.group('name')+'.html'
167 int(mD.group('y')), int(mD.group('m')), int(mD.group('d')),
168 int(mT.group('h')), int(mT.group('m')), int(mT.group('s')))
639 msg = em.group('msg')
643 self.name = emm.group('msg')
644 self.type = emm.group('call')
656 self.depth = self.getDepth(match.group('d'))
657 m = match.group('o')
665 self.name = match.group('n')
[all …]
Dgcc-ld14 --end-group|--start-group)
/linux-4.4.14/drivers/staging/gdm724x/
Dnetlink_k.c115 int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len) in netlink_send() argument
122 if (group > ND_MAX_GROUP) in netlink_send()
125 if (!netlink_has_listeners(sock, group + 1)) in netlink_send()
139 ret = netlink_broadcast(sock, skb, 0, group + 1, GFP_ATOMIC); in netlink_send()
145 group, type, len, ret); in netlink_send()
146 else if (netlink_has_listeners(sock, group + 1)) in netlink_send()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c403 static u32 intel_cqm_xchg_rmid(struct perf_event *group, u32 rmid) in intel_cqm_xchg_rmid() argument
406 struct list_head *head = &group->hw.cqm_group_entry; in intel_cqm_xchg_rmid()
407 u32 old_rmid = group->hw.cqm_rmid; in intel_cqm_xchg_rmid()
422 local64_set(&group->count, atomic64_read(&rr.value)); in intel_cqm_xchg_rmid()
427 group->hw.cqm_rmid = rmid; in intel_cqm_xchg_rmid()
646 struct perf_event *group, *g; in intel_cqm_sched_out_conflicting_events() local
651 list_for_each_entry_safe(group, g, &cache_groups, hw.cqm_groups_entry) { in intel_cqm_sched_out_conflicting_events()
652 if (group == event) in intel_cqm_sched_out_conflicting_events()
655 rmid = group->hw.cqm_rmid; in intel_cqm_sched_out_conflicting_events()
666 if (!__conflict_event(group, event)) in intel_cqm_sched_out_conflicting_events()
[all …]
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_kernelcomm.h93 int libcfs_kkuc_group_put(int group, void *payload);
94 int libcfs_kkuc_group_add(struct file *fp, int uid, int group,
96 int libcfs_kkuc_group_rem(int uid, int group);
97 int libcfs_kkuc_group_foreach(int group, libcfs_kkuc_cb_t cb_func,
/linux-4.4.14/arch/ia64/scripts/
Dunwcheck.py44 func = m.group(1)
45 start = long(m.group(2), 16)
46 end = long(m.group(3), 16)
53 rlen_sum += long(m.group(1))
/linux-4.4.14/drivers/connector/
Dconnector.c82 u32 group = 0; in cn_netlink_send_mult() local
86 group = __group; in cn_netlink_send_mult()
93 group = __cbq->group; in cn_netlink_send_mult()
103 if (!portid && !netlink_has_listeners(dev->nls, group)) in cn_netlink_send_mult()
122 NETLINK_CB(skb).dst_group = group; in cn_netlink_send_mult()
124 if (group) in cn_netlink_send_mult()
125 return netlink_broadcast(dev->nls, skb, portid, group, in cn_netlink_send_mult()
/linux-4.4.14/drivers/target/
Dtarget_core_fabric_configfs.c238 struct config_group *group, in target_core_mappedlun_stat_mkdir() argument
245 struct config_group *group, in target_core_mappedlun_stat_rmdir() argument
268 struct config_group *group, in target_fabric_make_mappedlun() argument
271 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun()
282 acl_ci = &group->cg_item; in target_fabric_make_mappedlun()
355 struct config_group *group, in target_fabric_drop_mappedlun() argument
420 struct config_group *group, in target_fabric_make_nodeacl() argument
423 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl()
464 struct config_group *group, in target_fabric_drop_nodeacl() argument
517 struct config_group *group, in target_fabric_make_np() argument
[all …]
/linux-4.4.14/Documentation/virtual/kvm/devices/
Dvfio.txt12 VFIO-group is held by KVM.
18 KVM_DEV_VFIO_GROUP_ADD: Add a VFIO group to VFIO-KVM device tracking
19 KVM_DEV_VFIO_GROUP_DEL: Remove a VFIO group from VFIO-KVM device tracking
22 for the VFIO group.
/linux-4.4.14/Documentation/filesystems/configfs/
Dconfigfs.txt31 symlink(2) can be used to group items together. Unlike sysfs, the
110 Items are created and destroyed inside a config_group. A group is a
113 handles that. The group has a set of operations to perform these tasks
217 void config_group_init(struct config_group *group);
218 void config_group_init_type_name(struct config_group *group,
224 that item means that a group can behave as an item in its own right.
226 accomplished via the group operations specified on the group's
230 struct config_item *(*make_item)(struct config_group *group,
232 struct config_group *(*make_group)(struct config_group *group,
235 void (*disconnect_notify)(struct config_group *group,
[all …]
/linux-4.4.14/include/linux/usb/
Dgadget_configfs.h47 struct config_group *group, \
63 config_group_init_type_name(&new->group, name, \
66 gi = container_of(group, struct struct_member, strings_group); \
78 return &new->group; \
85 struct config_group *group, \
/linux-4.4.14/net/decnet/netfilter/
Ddn_rtmsg.c68 int group = 0; in dnrmg_send_peer() local
73 group = DNRNG_NLGRP_L1; in dnrmg_send_peer()
76 group = DNRNG_NLGRP_L2; in dnrmg_send_peer()
85 NETLINK_CB(skb2).dst_group = group; in dnrmg_send_peer()
86 netlink_broadcast(dnrmg, skb2, 0, group, GFP_ATOMIC); in dnrmg_send_peer()
/linux-4.4.14/Documentation/
Dvfio.txt67 IOMMU API therefore supports a notion of IOMMU groups. A group is
71 While the group is the minimum granularity that must be used to
83 The user needs to add a group into the container for the next level
85 group associated with the desired device. This can be done using
88 VFIO group will appear for the group as /dev/vfio/$GROUP, where
89 $GROUP is the IOMMU group number of which the device is a member.
90 If the IOMMU group contains multiple devices, each will need to
91 be bound to a VFIO driver before operations on the VFIO group
94 group available, but not that particular device). TBD - interface
97 Once the group is ready, it may be added to the container by opening
[all …]
/linux-4.4.14/net/netlink/
Daf_netlink.h44 int (*netlink_bind)(struct net *net, int group);
45 void (*netlink_unbind)(struct net *net, int group);
80 int (*bind)(struct net *net, int group);
81 void (*unbind)(struct net *net, int group);
Dgenetlink.c994 static int genl_bind(struct net *net, int group) in genl_bind() argument
1003 if (group >= f->mcgrp_offset && in genl_bind()
1004 group < f->mcgrp_offset + f->n_mcgrps) { in genl_bind()
1005 int fam_grp = group - f->mcgrp_offset; in genl_bind()
1022 static void genl_unbind(struct net *net, int group) in genl_unbind() argument
1031 if (group >= f->mcgrp_offset && in genl_unbind()
1032 group < f->mcgrp_offset + f->n_mcgrps) { in genl_unbind()
1033 int fam_grp = group - f->mcgrp_offset; in genl_unbind()
1100 static int genlmsg_mcast(struct sk_buff *skb, u32 portid, unsigned long group, in genlmsg_mcast() argument
1115 portid, group, flags); in genlmsg_mcast()
[all …]
Daf_netlink.c123 static inline u32 netlink_group_mask(u32 group) in netlink_group_mask() argument
125 return group ? 1 << (group - 1) : 0; in netlink_group_mask()
1212 int (*bind)(struct net *net, int group); in netlink_create()
1213 void (*unbind)(struct net *net, int group); in netlink_create()
1503 static void netlink_undo_bind(int group, long unsigned int groups, in netlink_undo_bind() argument
1512 for (undo = 0; undo < group; undo++) in netlink_undo_bind()
1553 int group; in netlink_bind() local
1555 for (group = 0; group < nlk->ngroups; group++) { in netlink_bind()
1556 if (!test_bit(group, &groups)) in netlink_bind()
1558 err = nlk->netlink_bind(net, group + 1); in netlink_bind()
[all …]
/linux-4.4.14/tools/perf/
Dperf-with-kcore.sh126 …find "$USER_HOME/.debug" -xdev -type d ! -group "$SUDO_GID" -ls -exec chgrp "$SUDO_GID…
127 …find "$USER_HOME/.debug" -xdev -type f -links 1 ! -group "$SUDO_GID" -ls -exec chgrp "$SUDO_GID…
128 …find "$USER_HOME/.debug" -xdev -type l ! -group "$SUDO_GID" -ls -exec chgrp -h "$SUDO_GID…
144 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type d ! -group "$GROUPS" -print -quit)
145 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type f -links 1 ! -group "$GROUPS" -print -quit)
146 PERMISSIONS_OK+=$(find "$HOME/.debug" -xdev -type l ! -group "$GROUPS" -print -quit)
Ddesign.txt53 exclusive : 1, /* only group on PMU */
207 and only to group leaders. If a pinned counter cannot be put onto the
213 The 'exclusive' bit, if set, specifies that when this counter's group
214 is on the CPU, it should be the only group using the CPU's counters.
262 counter group has one counter which is the group "leader". The leader
264 that creates it. The rest of the group members are created
265 subsequently, with group_fd giving the fd of the group leader.
267 considered to be a group with only 1 member.)
269 A counter group is scheduled onto the CPU as a unit, that is, it will
270 only be put onto the CPU if all of the counters in the group can be
[all …]
/linux-4.4.14/arch/arc/boot/dts/
Dabilis_tb101.dtsi187 gpio-ranges-group-names = "gpioa";
200 gpio-ranges-group-names = "gpiob";
213 gpio-ranges-group-names = "gpioc";
226 gpio-ranges-group-names = "gpiod";
239 gpio-ranges-group-names = "gpioe";
252 gpio-ranges-group-names = "gpiof";
265 gpio-ranges-group-names = "gpiog";
278 gpio-ranges-group-names = "gpioh";
291 gpio-ranges-group-names = "gpioi";
304 gpio-ranges-group-names = "gpioj";
[all …]
Dabilis_tb100.dtsi178 gpio-ranges-group-names = "gpioa";
191 gpio-ranges-group-names = "gpiob";
204 gpio-ranges-group-names = "gpioc";
217 gpio-ranges-group-names = "gpiod";
230 gpio-ranges-group-names = "gpioe";
243 gpio-ranges-group-names = "gpiof";
256 gpio-ranges-group-names = "gpiog";
269 gpio-ranges-group-names = "gpioh";
282 gpio-ranges-group-names = "gpioi";
295 gpio-ranges-group-names = "gpioj";
[all …]
/linux-4.4.14/drivers/staging/gdm72xx/
Dnetlink_k.c116 int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len) in netlink_send() argument
123 if (group > ND_MAX_GROUP) { in netlink_send()
124 pr_err("Group %d is invalid.\n", group); in netlink_send()
146 ret = netlink_broadcast(sock, skb, 0, group+1, GFP_ATOMIC); in netlink_send()
152 group, type, len, ret); in netlink_send()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c1433 u32 rfpath, eeaddr, group, offset1, offset2; in _rtl92de_readpowervalue_fromprom() local
1438 for (group = 0; group < CHANNEL_GROUP_MAX; group++) { in _rtl92de_readpowervalue_fromprom()
1440 if (group < CHANNEL_GROUP_MAX_2G) { in _rtl92de_readpowervalue_fromprom()
1441 pwrinfo->cck_index[rfpath][group] = in _rtl92de_readpowervalue_fromprom()
1443 pwrinfo->ht40_1sindex[rfpath][group] = in _rtl92de_readpowervalue_fromprom()
1446 pwrinfo->ht40_1sindex[rfpath][group] = in _rtl92de_readpowervalue_fromprom()
1449 pwrinfo->ht40_2sindexdiff[rfpath][group] = in _rtl92de_readpowervalue_fromprom()
1451 pwrinfo->ht20indexdiff[rfpath][group] = in _rtl92de_readpowervalue_fromprom()
1453 pwrinfo->ofdmindexdiff[rfpath][group] = in _rtl92de_readpowervalue_fromprom()
1455 pwrinfo->ht40maxoffset[rfpath][group] = in _rtl92de_readpowervalue_fromprom()
[all …]
Drf.c189 u8 group; in _rtl92d_phy_get_chnlgroup_bypg() local
200 group = 0; in _rtl92d_phy_get_chnlgroup_bypg()
202 group = 1; in _rtl92d_phy_get_chnlgroup_bypg()
204 group = 2; in _rtl92d_phy_get_chnlgroup_bypg()
206 group = 6; in _rtl92d_phy_get_chnlgroup_bypg()
208 group = 7; in _rtl92d_phy_get_chnlgroup_bypg()
210 group = 8; in _rtl92d_phy_get_chnlgroup_bypg()
211 return group; in _rtl92d_phy_get_chnlgroup_bypg()
/linux-4.4.14/drivers/atm/
Dhe.c769 static int he_init_group(struct he_dev *he_dev, int group) in he_init_group() argument
775 he_writel(he_dev, 0x0, G0_RBPS_S + (group * 32)); in he_init_group()
776 he_writel(he_dev, 0x0, G0_RBPS_T + (group * 32)); in he_init_group()
777 he_writel(he_dev, 0x0, G0_RBPS_QI + (group * 32)); in he_init_group()
779 G0_RBPS_BS + (group * 32)); in he_init_group()
832 he_writel(he_dev, he_dev->rbpl_phys, G0_RBPL_S + (group * 32)); in he_init_group()
834 G0_RBPL_T + (group * 32)); in he_init_group()
836 G0_RBPL_BS + (group * 32)); in he_init_group()
841 G0_RBPL_QI + (group * 32)); in he_init_group()
854 he_writel(he_dev, he_dev->rbrq_phys, G0_RBRQ_ST + (group * 16)); in he_init_group()
[all …]
/linux-4.4.14/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c39 sunxi_pinctrl_find_group_by_name(struct sunxi_pinctrl *pctl, const char *group) in sunxi_pinctrl_find_group_by_name() argument
46 if (!strcmp(grp->name, group)) in sunxi_pinctrl_find_group_by_name()
129 unsigned group) in sunxi_pctrl_get_group_name() argument
133 return pctl->groups[group].name; in sunxi_pctrl_get_group_name()
137 unsigned group, in sunxi_pctrl_get_group_pins() argument
143 *pins = (unsigned *)&pctl->groups[group].pin; in sunxi_pctrl_get_group_pins()
158 const char *group; in sunxi_pctrl_dt_node_to_map() local
185 of_property_for_each_string(node, "allwinner,pins", prop, group) { in sunxi_pctrl_dt_node_to_map()
187 sunxi_pinctrl_find_group_by_name(pctl, group); in sunxi_pctrl_dt_node_to_map()
191 dev_err(pctl->dev, "unknown pin %s", group); in sunxi_pctrl_dt_node_to_map()
[all …]
/linux-4.4.14/Documentation/connector/
Dcn_test.c60 u32 group = 1;
92 ctl->group = group;
117 NETLINK_CB(skb).dst_group = ctl->group;
121 pr_info("request was sent: group=0x%x\n", ctl->group);
Dconnector.txt80 If there are no listeners for given group -ESRCH can be returned.
88 u32 __group - destination group.
89 If port and __group is zero, then appropriate group will
91 and message will be delivered to the group which was
94 to the specified group.
98 netlink group to the user which is equal to its id.idx.
152 with a different group number, the userspace application must subscribe to
153 that group first. It can be achieved by the following pseudocode:
176 2.6.14 netlink code only allows to select a group which is less or equal to
177 the maximum group number, which is used at netlink_kernel_create() time.
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/dma/
Dfsl-edma.txt6 group, DMAMUX0 or DMAMUX1, but not both.
24 group called DMAMUX.
28 - clock-names : A list of channel group clock names. Should contain:
29 "dmamux0" - clock name of mux0 group
30 "dmamux1" - clock name of mux1 group
61 specifies the channel group(DMAMUX) in which this request can be multiplexed,
/linux-4.4.14/tools/perf/tests/
Dattr.py74 self.group = ''
210 group = exp_event.group
212 if (group == ''):
216 res_group = result[res_name].group
217 if res_group not in match[group]:
221 (exp_name, str(match[group])))
233 event.group = iname
Dsample-parsing.c62 COMP(read.group.nr); in samples_same()
71 for (i = 0; i < s1->read.group.nr; i++) in samples_same()
72 MCOMP(read.group.values[i]); in samples_same()
223 sample.read.group.nr = 4; in do_test()
224 sample.read.group.values = values; in do_test()
/linux-4.4.14/drivers/pinctrl/samsung/
Dpinctrl-samsung.c66 unsigned group) in samsung_get_group_name() argument
70 return pmx->pin_groups[group].name; in samsung_get_group_name()
74 unsigned group, in samsung_get_group_pins() argument
80 *pins = pmx->pin_groups[group].pins; in samsung_get_group_pins()
81 *num_pins = pmx->pin_groups[group].num_pins; in samsung_get_group_pins()
112 unsigned *num_maps, const char *group, in add_map_mux() argument
119 (*map)[*num_maps].data.mux.group = group; in add_map_mux()
128 const char *group, unsigned long *configs, in add_map_configs() argument
144 (*map)[*num_maps].data.configs.group_or_pin = group; in add_map_configs()
201 const char *group; in samsung_dt_subnode_to_map() local
[all …]
/linux-4.4.14/drivers/hwmon/
Dnct6683.c404 struct attribute_group *group; in nct6683_create_attr_group() local
418 group = devm_kzalloc(dev, sizeof(*group), GFP_KERNEL); in nct6683_create_attr_group()
419 if (group == NULL) in nct6683_create_attr_group()
432 group->attrs = attrs; in nct6683_create_attr_group()
433 group->is_visible = tg->is_visible; in nct6683_create_attr_group()
468 return group; in nct6683_create_attr_group()
1168 struct attribute_group *group; in nct6683_probe() local
1197 group = nct6683_create_attr_group(dev, in nct6683_probe()
1200 if (IS_ERR(group)) in nct6683_probe()
1201 return PTR_ERR(group); in nct6683_probe()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dst,spear3xx-shirq.txt5 interrupt controller (VIC) on behalf of a group of devices.
8 exceeding 4. The number of devices in a group can differ, further they
10 bit masks. Also in some cases the group may not have enable or other
14 interrupt multiplexor (one node for all groups). A group in the
29 then connected to a parent interrupt controller. Each group is
Dsamsung,exynos4210-combiner.txt4 can combine interrupt sources as a group and provide a single interrupt request
5 for the group. The interrupt request from each group are connected to a parent
25 * Second Cell: Interrupt number within the group.
/linux-4.4.14/samples/configfs/
Dconfigfs_sample.c204 struct config_group group; member
210 struct simple_children, group) : NULL; in to_simple_children()
213 static struct config_item *simple_children_make_item(struct config_group *group, in simple_children_make_item() argument
294 struct config_group *group, const char *name) in group_children_make_group()
303 config_group_init_type_name(&simple_children->group, name, in group_children_make_group()
306 return &simple_children->group; in group_children_make_group()
/linux-4.4.14/drivers/staging/comedi/drivers/
Ds626.c1296 unsigned int group = chan / 16; in s626_dio_set_irq() local
1297 unsigned int mask = 1 << (chan - (16 * group)); in s626_dio_set_irq()
1301 status = s626_debi_read(dev, S626_LP_RDEDGSEL(group)); in s626_dio_set_irq()
1302 s626_debi_write(dev, S626_LP_WREDGSEL(group), mask | status); in s626_dio_set_irq()
1305 status = s626_debi_read(dev, S626_LP_RDINTSEL(group)); in s626_dio_set_irq()
1306 s626_debi_write(dev, S626_LP_WRINTSEL(group), mask | status); in s626_dio_set_irq()
1312 status = s626_debi_read(dev, S626_LP_RDCAPSEL(group)); in s626_dio_set_irq()
1313 s626_debi_write(dev, S626_LP_WRCAPSEL(group), mask | status); in s626_dio_set_irq()
1318 static int s626_dio_reset_irq(struct comedi_device *dev, unsigned int group, in s626_dio_reset_irq() argument
1325 s626_debi_write(dev, S626_LP_WRCAPSEL(group), mask); in s626_dio_reset_irq()
[all …]
/linux-4.4.14/arch/s390/kernel/
Dcompat_linux.c90 u16, user, u16, group) in COMPAT_SYSCALL_DEFINE3() argument
92 return sys_chown(filename, low2highuid(user), low2highgid(group)); in COMPAT_SYSCALL_DEFINE3()
96 filename, u16, user, u16, group) in COMPAT_SYSCALL_DEFINE3() argument
98 return sys_lchown(filename, low2highuid(user), low2highgid(group)); in COMPAT_SYSCALL_DEFINE3()
101 COMPAT_SYSCALL_DEFINE3(s390_fchown16, unsigned int, fd, u16, user, u16, group) in COMPAT_SYSCALL_DEFINE3() argument
103 return sys_fchown(fd, low2highuid(user), low2highgid(group)); in COMPAT_SYSCALL_DEFINE3()
188 u16 group; in groups16_to_user() local
193 group = (u16)from_kgid_munged(user_ns, kgid); in groups16_to_user()
194 if (put_user(group, grouplist+i)) in groups16_to_user()
205 u16 group; in groups16_from_user() local
[all …]
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c1738 u8 group = 0; in _rtl92ee_get_chnl_group() local
1742 group = 0; in _rtl92ee_get_chnl_group()
1744 group = 1; in _rtl92ee_get_chnl_group()
1746 group = 2; in _rtl92ee_get_chnl_group()
1748 group = 3; in _rtl92ee_get_chnl_group()
1750 group = 4; in _rtl92ee_get_chnl_group()
1753 group = 0; in _rtl92ee_get_chnl_group()
1755 group = 1; in _rtl92ee_get_chnl_group()
1757 group = 2; in _rtl92ee_get_chnl_group()
1759 group = 3; in _rtl92ee_get_chnl_group()
[all …]
/linux-4.4.14/drivers/iio/
Dindustrialio-event.c43 struct attribute_group group; member
483 indio_dev->event_interface->group.name = iio_event_group_name; in iio_device_register_eventset()
484 indio_dev->event_interface->group.attrs = kcalloc(attrcount + 1, in iio_device_register_eventset()
485 sizeof(indio_dev->event_interface->group.attrs[0]), in iio_device_register_eventset()
487 if (indio_dev->event_interface->group.attrs == NULL) { in iio_device_register_eventset()
492 memcpy(indio_dev->event_interface->group.attrs, in iio_device_register_eventset()
494 sizeof(indio_dev->event_interface->group.attrs[0]) in iio_device_register_eventset()
501 indio_dev->event_interface->group.attrs[attrn++] = in iio_device_register_eventset()
504 &indio_dev->event_interface->group; in iio_device_register_eventset()
534 kfree(indio_dev->event_interface->group.attrs); in iio_device_unregister_eventset()
/linux-4.4.14/drivers/pinctrl/vt8500/
Dpinctrl-wmt.c221 int group; in wmt_pctl_dt_node_to_map_func() local
229 group = wmt_pctl_find_group_by_pin(data, pin); in wmt_pctl_dt_node_to_map_func()
230 if (group < 0) { in wmt_pctl_dt_node_to_map_func()
232 return group; in wmt_pctl_dt_node_to_map_func()
236 map->data.mux.group = data->groups[group]; in wmt_pctl_dt_node_to_map_func()
248 int group; in wmt_pctl_dt_node_to_map_pull() local
257 group = wmt_pctl_find_group_by_pin(data, pin); in wmt_pctl_dt_node_to_map_pull()
258 if (group < 0) { in wmt_pctl_dt_node_to_map_pull()
260 return group; in wmt_pctl_dt_node_to_map_pull()
283 map->data.configs.group_or_pin = data->groups[group]; in wmt_pctl_dt_node_to_map_pull()
/linux-4.4.14/fs/nfsd/
Dnfs4acl.c182 unsigned short group; member
209 pas->group = pa->e_perm; in summarize_posix_acl()
227 pas->group &= pas->mask; in summarize_posix_acl()
255 deny &= pas.users | pas.group | pas.groups | pas.other; in _posix_to_nfsv4_one()
275 deny &= pas.groups | pas.group | pas.other; in _posix_to_nfsv4_one()
305 ace->access_mask = mask_from_posix(pas.group, flags); in _posix_to_nfsv4_one()
327 deny = ~pas.group & pas.other; in _posix_to_nfsv4_one()
446 struct posix_ace_state group; member
534 low_mode_from_nfs4(state->group.allow, &pace->e_perm, flags); in posix_state_to_acl()
535 add_to_mask(state, &state->group); in posix_state_to_acl()
[all …]
/linux-4.4.14/net/netfilter/
Dnfnetlink.c119 int nfnetlink_has_listeners(struct net *net, unsigned int group) in nfnetlink_has_listeners() argument
121 return netlink_has_listeners(net->nfnl, group); in nfnetlink_has_listeners()
133 unsigned int group, int echo, gfp_t flags) in nfnetlink_send() argument
135 return nlmsg_notify(net->nfnl, skb, portid, group, echo, flags); in nfnetlink_send()
139 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error) in nfnetlink_set_err() argument
141 return netlink_set_err(net->nfnl, portid, group, error); in nfnetlink_set_err()
482 static int nfnetlink_bind(struct net *net, int group) in nfnetlink_bind() argument
487 if (group <= NFNLGRP_NONE || group > NFNLGRP_MAX) in nfnetlink_bind()
490 type = nfnl_group2type[group]; in nfnetlink_bind()
Dxt_devgroup.c27 (((info->src_group ^ par->in->group) & info->src_mask ? 1 : 0) ^ in devgroup_mt()
32 (((info->dst_group ^ par->out->group) & info->dst_mask ? 1 : 0) ^ in devgroup_mt()
Dxt_NFLOG.c33 li.u.ulog.group = info->group; in nflog_tg()
/linux-4.4.14/drivers/vfio/pci/
Dvfio_pci.c354 struct vfio_group *group; member
366 struct iommu_group *group; in vfio_pci_validate_devs() local
369 group = iommu_group_get(&pdev->dev); in vfio_pci_validate_devs()
370 if (!group) in vfio_pci_validate_devs()
373 id = iommu_group_id(group); in vfio_pci_validate_devs()
379 iommu_group_put(group); in vfio_pci_validate_devs()
745 struct vfio_group *group; in vfio_pci_ioctl() local
752 group = vfio_group_get_external_user(f.file); in vfio_pci_ioctl()
754 if (IS_ERR(group)) { in vfio_pci_ioctl()
755 ret = PTR_ERR(group); in vfio_pci_ioctl()
[all …]
/linux-4.4.14/include/linux/netfilter/
Dnfnetlink.h36 int nfnetlink_has_listeners(struct net *net, unsigned int group);
40 unsigned int group, int echo, gfp_t flags);
41 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error);
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dio_interface_mux.c47 enum io_if_group group; member
88 .group = group_a,
93 .group = group_b,
98 .group = group_c,
103 .group = group_d,
108 .group = group_e,
113 .group = group_f,
559 static unsigned char clear_group_from_set(const unsigned char groups, struct if_group *group) in clear_group_from_set() argument
561 return (groups & ~group->group); in clear_group_from_set()
569 if (groups & if_groups[i].group) { in get_group()
[all …]
/linux-4.4.14/arch/arm/kernel/
Dperf_event_v7.c1276 unsigned int group = EVENT_GROUP(config_base); in krait_evt_setup() local
1281 group_shift = group * 8; in krait_evt_setup()
1289 val += group; in krait_evt_setup()
1311 static u32 clear_pmresrn_group(u32 val, int group) in clear_pmresrn_group() argument
1316 group_shift = group * 8; in clear_pmresrn_group()
1332 unsigned int group = EVENT_GROUP(config_base); in krait_clearpmu() local
1338 val = clear_pmresrn_group(val, group); in krait_clearpmu()
1343 val = clear_pmresrn_group(val, group); in krait_clearpmu()
1436 unsigned int group) in krait_event_to_bit() argument
1447 bit += group; in krait_event_to_bit()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dmpic-timer.txt8 register (TCRx) for the group.
12 all timers within the group can be used.
14 - interrupts: one interrupt per timer in the group, in order, starting
/linux-4.4.14/drivers/pinctrl/berlin/
Dberlin.c46 unsigned group) in berlin_pinctrl_get_group_name() argument
50 return pctrl->desc->groups[group].name; in berlin_pinctrl_get_group_name()
140 const struct berlin_desc_group *group, in berlin_pinctrl_find_function_by_name() argument
143 struct berlin_desc_function *function = group->functions; in berlin_pinctrl_find_function_by_name()
157 unsigned group) in berlin_pinmux_set() argument
160 const struct berlin_desc_group *group_desc = pctrl->desc->groups + group; in berlin_pinmux_set()
/linux-4.4.14/fs/
Dfcntl.c450 int fd, int reason, int group) in send_sigio_to_task() argument
482 if (!do_send_sig_info(signum, &si, p, group)) in send_sigio_to_task()
486 do_send_sig_info(SIGIO, SEND_SIG_PRIV, p, group); in send_sigio_to_task()
495 int group = 1; in send_sigio() local
501 group = 0; in send_sigio()
511 send_sigio_to_task(p, fown, fd, band, group); in send_sigio()
519 struct fown_struct *fown, int group) in send_sigurg_to_task() argument
522 do_send_sig_info(SIGURG, SEND_SIG_PRIV, p, group); in send_sigurg_to_task()
530 int group = 1; in send_sigurg() local
537 group = 0; in send_sigurg()
[all …]
/linux-4.4.14/scripts/tracing/
Ddraw_functrace.py109 return (m.group(1), m.group(2), m.group(3))
/linux-4.4.14/Documentation/filesystems/nfs/
Didmapper.txt5 Id mapper is used by NFS to translate user and group ids into names, and to
6 translate user and group names into ids. Part of this translation involves
40 gid: Find the GID for the given group
42 group: Find the group name for the given GID
56 /usr/sbin/nfs.idmap will handle gid, user, and group lookups.
/linux-4.4.14/tools/perf/scripts/python/
Dcompaction-times.py34 return m == None or m.group() == ""
298 if m != None and m.group() != "":
299 if m.group(3) != None:
300 f = pid_filter(m.group(3), m.group(3))
302 f = pid_filter(m.group(1), m.group(2))
/linux-4.4.14/drivers/pinctrl/sh-pfc/
Dpinctrl.c119 const char *group; in sh_pfc_dt_subnode_to_map() local
202 of_property_for_each_string(np, pmx->groups_prop_name, prop, group) { in sh_pfc_dt_subnode_to_map()
205 maps[idx].data.mux.group = group; in sh_pfc_dt_subnode_to_map()
211 ret = sh_pfc_map_add_config(&maps[idx], group, in sh_pfc_dt_subnode_to_map()
342 unsigned group) in sh_pfc_func_set_mux() argument
346 const struct sh_pfc_pin_group *grp = &pfc->info->groups[group]; in sh_pfc_func_set_mux()
611 static int sh_pfc_pinconf_group_set(struct pinctrl_dev *pctldev, unsigned group, in sh_pfc_pinconf_group_set() argument
620 pins = pmx->pfc->info->groups[group].pins; in sh_pfc_pinconf_group_set()
621 num_pins = pmx->pfc->info->groups[group].nr_pins; in sh_pfc_pinconf_group_set()
/linux-4.4.14/fs/ocfs2/cluster/
Dnodemanager.c395 static struct o2nm_node_group *to_o2nm_node_group(struct config_group *group)
397 return group ?
398 container_of(group, struct o2nm_node_group, ns_group)
560 static struct config_item *o2nm_node_group_make_item(struct config_group *group, in o2nm_node_group_make_item() argument
581 static void o2nm_node_group_drop_item(struct config_group *group, in o2nm_node_group_drop_item() argument
585 struct o2nm_cluster *cluster = to_o2nm_cluster(group->cg_item.ci_parent); in o2nm_node_group_drop_item()
655 static struct o2nm_cluster_group *to_o2nm_cluster_group(struct config_group *group)
657 return group ?
658 container_of(to_configfs_subsystem(group), struct o2nm_cluster_group, cs_subsys)
663 static struct config_group *o2nm_cluster_group_make_group(struct config_group *group, in o2nm_cluster_group_make_group() argument
[all …]
/linux-4.4.14/include/rdma/
Drdma_netlink.h78 unsigned int group, gfp_t flags);
85 int ibnl_chk_listeners(unsigned int group);
/linux-4.4.14/tools/perf/util/
Dprobe-event.h47 char *group; /* Group name */ member
84 char *group; /* Group name */ member
150 extern int show_perf_probe_event(const char *group, const char *event,
Dbpf-loader.c142 if (pev->group && strcmp(pev->group, PERF_BPF_PROBE_GROUP)) { in config_bpf_program()
147 } else if (!pev->group) in config_bpf_program()
148 pev->group = strdup(PERF_BPF_PROBE_GROUP); in config_bpf_program()
150 if (!pev->group) { in config_bpf_program()
259 "%s:%s", tev->group, tev->event); in bpf__unprobe()
Dprobe-event.c1181 pev->group = NULL; in parse_perf_probe_point()
1537 tev->group = strdup(fmt2_str); in parse_probe_trace_command()
1539 if (tev->group == NULL || tev->event == NULL) { in parse_probe_trace_command()
1543 pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr); in parse_probe_trace_command()
1832 tev->group, tev->event); in synthesize_probe_trace_command()
1966 pev->group = strdup(tev->group); in convert_to_perf_probe_event()
1967 if (pev->event == NULL || pev->group == NULL) in convert_to_perf_probe_event()
2004 free(pev->group); in clear_perf_probe_event()
2030 free(tev->group); in clear_probe_trace_event()
2159 static int perf_probe_event__sprintf(const char *group, const char *event, in perf_probe_event__sprintf() argument
[all …]
/linux-4.4.14/drivers/staging/speakup/
Di18n.c582 struct msg_group_t *group = NULL; in spk_find_msg_group() local
587 group = &all_groups[i]; in spk_find_msg_group()
591 return group; in spk_find_msg_group()
594 void spk_reset_msg_group(struct msg_group_t *group) in spk_reset_msg_group() argument
601 for (i = group->start; i <= group->end; i++) { in spk_reset_msg_group()
Dkobjects.c743 struct msg_group_t *group) in message_store_helper() argument
757 enum msg_index_t firstmessage = group->start; in message_store_helper()
758 enum msg_index_t lastmessage = group->end; in message_store_helper()
821 spk_reset_msg_group(group); in message_store_helper()
823 report_msg_status(reset, received, used, rejected, group->name); in message_store_helper()
831 struct msg_group_t *group = spk_find_msg_group(attr->attr.name); in message_show() local
834 BUG_ON(!group); in message_show()
836 retval = message_show_helper(buf, group->start, group->end); in message_show()
844 struct msg_group_t *group = spk_find_msg_group(attr->attr.name); in message_store() local
846 BUG_ON(!group); in message_store()
[all …]
/linux-4.4.14/tools/perf/Documentation/
Dperf-evlist.txt32 --group::
33 Show event group information.
/linux-4.4.14/tools/perf/util/intel-pt-decoder/
Dgen-insn-attr-x86.awk150 if (!($2 in group))
152 gid = group[$2]
303 if (!(opcode in group)) {
304 group[opcode] = ggid
307 flags = add_flags(flags, "INAT_MAKE_GROUP(" group[opcode] ")")
/linux-4.4.14/arch/x86/tools/
Dgen-insn-attr-x86.awk150 if (!($2 in group))
152 gid = group[$2]
303 if (!(opcode in group)) {
304 group[opcode] = ggid
307 flags = add_flags(flags, "INAT_MAKE_GROUP(" group[opcode] ")")
/linux-4.4.14/net/core/
Dsock_diag.c132 const enum sknetlink_groups group = sock_diag_destroy_group(sk); in sock_diag_broadcast_destroy_work() local
135 WARN_ON(group == SKNLGRP_NONE); in sock_diag_broadcast_destroy_work()
148 nlmsg_multicast(sock_net(sk)->diag_nlsk, skb, 0, group, in sock_diag_broadcast_destroy_work()
279 static int sock_diag_bind(struct net *net, int group) in sock_diag_bind() argument
281 switch (group) { in sock_diag_bind()
/linux-4.4.14/net/bridge/netfilter/
Debt_nflog.c31 li.u.ulog.group = info->group; in ebt_nflog_tg()
/linux-4.4.14/fs/sysfs/
Dfile.c352 const struct attribute *attr, const char *group) in sysfs_add_file_to_group() argument
357 if (group) { in sysfs_add_file_to_group()
358 parent = kernfs_find_and_get(kobj->sd, group); in sysfs_add_file_to_group()
457 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group() argument
461 if (group) { in sysfs_remove_file_from_group()
462 parent = kernfs_find_and_get(kobj->sd, group); in sysfs_remove_file_from_group()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c1540 u8 group = 0; in _rtl88e_get_chnl_group() local
1543 group = 0; in _rtl88e_get_chnl_group()
1545 group = 1; in _rtl88e_get_chnl_group()
1547 group = 2; in _rtl88e_get_chnl_group()
1549 group = 3; in _rtl88e_get_chnl_group()
1551 group = 4; in _rtl88e_get_chnl_group()
1553 group = 5; in _rtl88e_get_chnl_group()
1555 return group; in _rtl88e_get_chnl_group()
1560 int group, txcnt; in set_24g_base() local
1562 for (group = 0 ; group < MAX_CHNL_GROUP_24G; group++) { in set_24g_base()
[all …]
/linux-4.4.14/net/ipv6/
Dmcast.c250 const struct in6_addr *group, in ip6_mc_find_dev_rcu() argument
257 struct rt6_info *rt = rt6_lookup(net, group, NULL, 0, 0); in ip6_mc_find_dev_rcu()
314 struct in6_addr *source, *group; in ip6_mc_source() local
326 group = &((struct sockaddr_in6 *)&pgsr->gsr_group)->sin6_addr; in ip6_mc_source()
328 if (!ipv6_addr_is_multicast(group)) in ip6_mc_source()
332 idev = ip6_mc_find_dev_rcu(net, group, pgsr->gsr_interface); in ip6_mc_source()
343 if (ipv6_addr_equal(&pmc->addr, group)) in ip6_mc_source()
358 ip6_mc_add_src(idev, group, omode, 0, NULL, 0); in ip6_mc_source()
359 ip6_mc_del_src(idev, group, pmc->sfmode, 0, NULL, 0); in ip6_mc_source()
386 ip6_mc_del_src(idev, group, omode, 1, source, 1); in ip6_mc_source()
[all …]
/linux-4.4.14/drivers/mfd/
Dmax8997-irq.c65 enum max8997_irq_source group; member
69 [(idx)] = { .group = (_group), .mask = (_mask) }
154 max8997->irq_masks_cur[irq_data->group] |= irq_data->mask; in max8997_irq_mask()
163 max8997->irq_masks_cur[irq_data->group] &= ~irq_data->mask; in max8997_irq_unmask()
272 if (irq_reg[max8997_irqs[i].group] & max8997_irqs[i].mask) { in max8997_irq_thread()
/linux-4.4.14/include/uapi/linux/
Digmp.h34 __be32 group; member
66 __be32 group; member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c2561 u8 group = 0; in _rtl8821ae_get_chnl_group() local
2565 group = 0; in _rtl8821ae_get_chnl_group()
2567 group = 1; in _rtl8821ae_get_chnl_group()
2569 group = 2; in _rtl8821ae_get_chnl_group()
2571 group = 3; in _rtl8821ae_get_chnl_group()
2573 group = 4; in _rtl8821ae_get_chnl_group()
2576 group = 0; in _rtl8821ae_get_chnl_group()
2578 group = 1; in _rtl8821ae_get_chnl_group()
2580 group = 2; in _rtl8821ae_get_chnl_group()
2582 group = 3; in _rtl8821ae_get_chnl_group()
[all …]
/linux-4.4.14/kernel/trace/
Dtrace_uprobe.c239 alloc_trace_uprobe(const char *group, const char *event, int nargs, bool is_ret) in alloc_trace_uprobe() argument
246 if (!group || !is_good_name(group)) in alloc_trace_uprobe()
258 tu->tp.class.system = kstrdup(group, GFP_KERNEL); in alloc_trace_uprobe()
291 static struct trace_uprobe *find_probe_event(const char *event, const char *group) in find_probe_event() argument
297 strcmp(tu->tp.call.class->system, group) == 0) in find_probe_event()
359 char *arg, *event, *group, *filename; in create_trace_uprobe() local
371 group = NULL; in create_trace_uprobe()
388 group = event; in create_trace_uprobe()
392 if (strlen(group) == 0) { in create_trace_uprobe()
402 if (!group) in create_trace_uprobe()
[all …]
/linux-4.4.14/net/batman-adv/
Dbridge_loop_avoidance.c835 if (bla_dst->group == bla_dst_own->group) in batadv_check_claim_group()
848 if (ntohs(bla_dst->group) > ntohs(bla_dst_own->group)) { in batadv_check_claim_group()
851 ntohs(bla_dst->group)); in batadv_check_claim_group()
852 bla_dst_own->group = bla_dst->group; in batadv_check_claim_group()
1110 __be16 group; in batadv_bla_update_orig_address() local
1114 group = htons(crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN)); in batadv_bla_update_orig_address()
1115 bat_priv->bla.claim_dest.group = group; in batadv_bla_update_orig_address()
1252 bat_priv->bla.claim_dest.group = htons(crc); in batadv_bla_init()
1255 bat_priv->bla.claim_dest.group = 0; /* will be set later */ in batadv_bla_init()
1658 ntohs(bat_priv->bla.claim_dest.group)); in batadv_bla_claim_table_seq_print_text()
[all …]

12345