Home
last modified time | relevance | path

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

1234

/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmcg.c50 #define mcg_warn_group(group, format, arg...) \ argument
52 (group)->name, group->demux->port, ## arg)
54 #define mcg_error_group(group, format, arg...) \ argument
55 pr_err(" %16s: " format, (group)->name, ## arg)
132 struct mcast_group *group; member
140 mcg_warn_group(group, "did not expect to reach zero\n"); \
162 struct mcast_group *group; in mcast_find() local
166 group = rb_entry(node, struct mcast_group, node); in mcast_find()
167 ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid); in mcast_find()
169 return group; in mcast_find()
[all …]
/linux-4.1.27/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()
130 struct fsnotify_group *group) in fsnotify_destroy_mark_locked() argument
134 BUG_ON(!mutex_is_locked(&group->mark_mutex)); in fsnotify_destroy_mark_locked()
161 mutex_unlock(&group->mark_mutex); in fsnotify_destroy_mark_locked()
178 if (group->ops->freeing_mark) in fsnotify_destroy_mark_locked()
179 group->ops->freeing_mark(mark, group); in fsnotify_destroy_mark_locked()
193 atomic_dec(&group->num_marks); in fsnotify_destroy_mark_locked()
195 mutex_lock_nested(&group->mark_mutex, SINGLE_DEPTH_NESTING); in fsnotify_destroy_mark_locked()
199 struct fsnotify_group *group) in fsnotify_destroy_mark() argument
[all …]
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()
134 struct fsnotify_group *group = f->private_data; in fanotify_show_fdinfo() local
137 switch (group->priority) { in fanotify_show_fdinfo()
149 if (group->max_events == UINT_MAX) in fanotify_show_fdinfo()
152 if (group->fanotify_data.max_marks == UINT_MAX) in fanotify_show_fdinfo()
156 flags, group->fanotify_data.f_flags); in fanotify_show_fdinfo()
Dvfsmount_mark.c51 void fsnotify_clear_vfsmount_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_vfsmount_marks_by_group() argument
53 fsnotify_clear_marks_by_group_flags(group, FSNOTIFY_MARK_FLAG_VFSMOUNT); in fsnotify_clear_vfsmount_marks_by_group()
74 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); in fsnotify_destroy_vfsmount_mark()
90 struct fsnotify_mark *fsnotify_find_vfsmount_mark(struct fsnotify_group *group, in fsnotify_find_vfsmount_mark() argument
97 mark = fsnotify_find_mark(&m->mnt_fsnotify_marks, group); in fsnotify_find_vfsmount_mark()
109 struct fsnotify_group *group, struct vfsmount *mnt, in fsnotify_add_vfsmount_mark() argument
117 BUG_ON(!mutex_is_locked(&group->mark_mutex)); in fsnotify_add_vfsmount_mark()
Dfsnotify.c133 struct fsnotify_group *group = NULL; in send_to_group() local
154 group = inode_mark->group; in send_to_group()
163 group = vfsmount_mark->group; in send_to_group()
173 __func__, group, to_tell, mask, inode_mark, in send_to_group()
180 return group->ops->handle_event(group, to_tell, inode_mark, in send_to_group()
246 inode_group = inode_mark->group; in fsnotify()
252 vfsmount_group = vfsmount_mark->group; in fsnotify()
Dinode_mark.c50 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); in fsnotify_destroy_inode_mark()
90 void fsnotify_clear_inode_marks_by_group(struct fsnotify_group *group) in fsnotify_clear_inode_marks_by_group() argument
92 fsnotify_clear_marks_by_group_flags(group, FSNOTIFY_MARK_FLAG_INODE); in fsnotify_clear_inode_marks_by_group()
99 struct fsnotify_mark *fsnotify_find_inode_mark(struct fsnotify_group *group, in fsnotify_find_inode_mark() argument
105 mark = fsnotify_find_mark(&inode->i_fsnotify_marks, group); in fsnotify_find_inode_mark()
144 struct fsnotify_group *group, struct inode *inode, in fsnotify_add_inode_mark() argument
151 BUG_ON(!mutex_is_locked(&group->mark_mutex)); in fsnotify_add_inode_mark()
Dfsnotify.h10 extern void fsnotify_flush_notify(struct fsnotify_group *group);
30 struct fsnotify_group *group, struct inode *inode,
34 struct fsnotify_group *group, struct vfsmount *mnt,
45 struct fsnotify_group *group);
/linux-4.1.27/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.1.27/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 …]
/linux-4.1.27/drivers/vfio/
Dvfio.c92 struct vfio_group *group; member
149 static int vfio_alloc_group_minor(struct vfio_group *group) in vfio_alloc_group_minor() argument
151 return idr_alloc(&vfio.group_idr, group, 0, MINORMASK + 1, GFP_KERNEL); in vfio_alloc_group_minor()
161 static void vfio_group_get(struct vfio_group *group);
187 static void vfio_group_unlock_and_free(struct vfio_group *group) in vfio_group_unlock_and_free() argument
194 iommu_group_unregister_notifier(group->iommu_group, &group->nb); in vfio_group_unlock_and_free()
195 kfree(group); in vfio_group_unlock_and_free()
203 struct vfio_group *group, *tmp; in vfio_create_group() local
207 group = kzalloc(sizeof(*group), GFP_KERNEL); in vfio_create_group()
208 if (!group) in vfio_create_group()
[all …]
Dvfio_iommu_type1.c728 struct vfio_group *group, *g; in vfio_iommu_type1_attach_group() local
745 group = kzalloc(sizeof(*group), GFP_KERNEL); in vfio_iommu_type1_attach_group()
747 if (!group || !domain) { in vfio_iommu_type1_attach_group()
752 group->iommu_group = iommu_group; in vfio_iommu_type1_attach_group()
779 list_add(&group->next, &domain->group_list); in vfio_iommu_type1_attach_group()
804 list_add(&group->next, &d->group_list); in vfio_iommu_type1_attach_group()
836 kfree(group); in vfio_iommu_type1_attach_group()
854 struct vfio_group *group; in vfio_iommu_type1_detach_group() local
859 list_for_each_entry(group, &domain->group_list, next) { in vfio_iommu_type1_detach_group()
860 if (group->iommu_group != iommu_group) in vfio_iommu_type1_detach_group()
[all …]
Dvfio_spapr_eeh.c34 long vfio_spapr_iommu_eeh_ioctl(struct iommu_group *group, in vfio_spapr_iommu_eeh_ioctl() argument
50 pe = eeh_iommu_group_to_pe(group); in vfio_spapr_iommu_eeh_ioctl()
/linux-4.1.27/drivers/iommu/
Diommu.c64 ssize_t (*show)(struct iommu_group *group, char *buf);
65 ssize_t (*store)(struct iommu_group *group,
82 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_show() local
86 ret = attr->show(group, buf); in iommu_group_attr_show()
95 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_store() local
99 ret = attr->store(group, buf, count); in iommu_group_attr_store()
108 static int iommu_group_create_file(struct iommu_group *group, in iommu_group_create_file() argument
111 return sysfs_create_file(&group->kobj, &attr->attr); in iommu_group_create_file()
114 static void iommu_group_remove_file(struct iommu_group *group, in iommu_group_remove_file() argument
117 sysfs_remove_file(&group->kobj, &attr->attr); in iommu_group_remove_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.c718 struct iommu_group *group; in rk_iommu_from_dev() local
722 group = iommu_group_get(dev); in rk_iommu_from_dev()
723 if (!group) in rk_iommu_from_dev()
725 iommu_dev = iommu_group_get_iommudata(group); in rk_iommu_from_dev()
727 iommu_group_put(group); in rk_iommu_from_dev()
880 static int rk_iommu_group_set_iommudata(struct iommu_group *group, in rk_iommu_group_set_iommudata() argument
913 iommu_group_set_iommudata(group, &pd->dev, NULL); in rk_iommu_group_set_iommudata()
920 struct iommu_group *group; in rk_iommu_add_device() local
926 group = iommu_group_get(dev); in rk_iommu_add_device()
927 if (!group) { in rk_iommu_add_device()
[all …]
Dtegra-smmu.c298 const struct tegra_smmu_swgroup *group = NULL; in tegra_smmu_find_swgroup() local
303 group = &smmu->soc->swgroups[i]; in tegra_smmu_find_swgroup()
308 return group; in tegra_smmu_find_swgroup()
314 const struct tegra_smmu_swgroup *group; in tegra_smmu_enable() local
329 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_enable()
330 if (group) { in tegra_smmu_enable()
331 value = smmu_readl(smmu, group->reg); in tegra_smmu_enable()
335 smmu_writel(smmu, value, group->reg); in tegra_smmu_enable()
342 const struct tegra_smmu_swgroup *group; in tegra_smmu_disable() local
346 group = tegra_smmu_find_swgroup(smmu, swgroup); in tegra_smmu_disable()
[all …]
Dipmmu-vmsa.c609 struct iommu_group *group = NULL; in ipmmu_add_device() local
658 group = iommu_group_alloc(); in ipmmu_add_device()
659 if (IS_ERR(group)) { in ipmmu_add_device()
661 ret = PTR_ERR(group); in ipmmu_add_device()
665 ret = iommu_group_add_device(group, dev); in ipmmu_add_device()
666 iommu_group_put(group); in ipmmu_add_device()
670 group = NULL; in ipmmu_add_device()
725 if (!IS_ERR_OR_NULL(group)) in ipmmu_add_device()
/linux-4.1.27/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.1.27/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.1.27/drivers/clk/shmobile/
Dclk-mstp.c51 struct mstp_clock_group *group; member
59 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_endisable() local
65 spin_lock_irqsave(&group->lock, flags); in cpg_mstp_clock_endisable()
67 value = clk_readl(group->smstpcr); in cpg_mstp_clock_endisable()
72 clk_writel(value, group->smstpcr); in cpg_mstp_clock_endisable()
74 spin_unlock_irqrestore(&group->lock, flags); in cpg_mstp_clock_endisable()
76 if (!enable || !group->mstpsr) in cpg_mstp_clock_endisable()
80 if (!(clk_readl(group->mstpsr) & bitmask)) in cpg_mstp_clock_endisable()
87 group->smstpcr, clock->bit_index); in cpg_mstp_clock_endisable()
107 struct mstp_clock_group *group = clock->group; in cpg_mstp_clock_is_enabled() local
[all …]
/linux-4.1.27/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-cs5535.c147 int cs5535_gpio_set_irq(unsigned group, unsigned irq) in cs5535_gpio_set_irq() argument
151 if (group > 7 || irq > 15) in cs5535_gpio_set_irq()
156 lo &= ~(0xF << (group * 4)); in cs5535_gpio_set_irq()
157 lo |= (irq & 0xF) << (group * 4); in cs5535_gpio_set_irq()
/linux-4.1.27/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.1.27/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()
141 nilfs_palloc_group_desc_nfrees(struct inode *inode, unsigned long group, in nilfs_palloc_group_desc_nfrees() argument
146 spin_lock(nilfs_mdt_bgl_lock(inode, group)); in nilfs_palloc_group_desc_nfrees()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dkernel_user_comm.c112 int libcfs_kkuc_group_add(struct file *filp, int uid, int group, __u32 data) in libcfs_kkuc_group_add() argument
116 if (group > KUC_GRP_MAX) { in libcfs_kkuc_group_add()
117 CDEBUG(D_WARNING, "Kernelcomm: bad group %d\n", group); in libcfs_kkuc_group_add()
135 if (kkuc_groups[group].next == NULL) in libcfs_kkuc_group_add()
136 INIT_LIST_HEAD(&kkuc_groups[group]); in libcfs_kkuc_group_add()
137 list_add(&reg->kr_chain, &kkuc_groups[group]); in libcfs_kkuc_group_add()
140 CDEBUG(D_KUC, "Added uid=%d fp=%p to group %d\n", uid, filp, group); in libcfs_kkuc_group_add()
146 int libcfs_kkuc_group_rem(int uid, int group) in libcfs_kkuc_group_rem() argument
150 if (kkuc_groups[group].next == NULL) in libcfs_kkuc_group_rem()
161 libcfs_kkuc_group_put(group, &lh); in libcfs_kkuc_group_rem()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.c412 ext4_group_t *group, umode_t mode, in find_group_orlov() argument
478 *group = grp; in find_group_orlov()
495 *group = grp+i; in find_group_orlov()
541 *group = grp; in find_group_orlov()
560 ext4_group_t *group, umode_t mode) in find_group_other() argument
585 *group = i; in find_group_other()
599 *group = parent_group + flex_size; in find_group_other()
600 if (*group > ngroups) in find_group_other()
601 *group = 0; in find_group_other()
602 return find_group_orlov(sb, parent, group, mode, NULL); in find_group_other()
[all …]
Dmballoc.c366 ext4_group_t group);
368 ext4_group_t group);
722 void *buddy, void *bitmap, ext4_group_t group) in ext4_mb_generate_buddy() argument
724 struct ext4_group_info *grp = ext4_get_group_info(sb, group); in ext4_mb_generate_buddy()
754 ext4_grp_locked_error(sb, group, 0, 0, in ext4_mb_generate_buddy()
825 ext4_group_t first_group, group; in ext4_mb_init_cache() local
861 for (i = 0, group = first_group; i < groups_per_page; i++, group++) { in ext4_mb_init_cache()
862 if (group >= ngroups) in ext4_mb_init_cache()
865 grinfo = ext4_get_group_info(sb, group); in ext4_mb_init_cache()
876 if (!(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()
737 int ext4_bg_has_super(struct super_block *sb, ext4_group_t group) in ext4_bg_has_super() argument
741 if (group == 0) in ext4_bg_has_super()
744 if (group == le32_to_cpu(es->s_backup_bgs[0]) || in ext4_bg_has_super()
745 group == le32_to_cpu(es->s_backup_bgs[1])) in ext4_bg_has_super()
749 if ((group <= 1) || !EXT4_HAS_RO_COMPAT_FEATURE(sb, in ext4_bg_has_super()
752 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.1.27/include/linux/
Dfsnotify_backend.h97 int (*handle_event)(struct fsnotify_group *group,
103 void (*free_group_priv)(struct fsnotify_group *group);
104 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
214 struct fsnotify_group *group; /* group this mark is for */ member
301 extern void fsnotify_get_group(struct fsnotify_group *group);
303 extern void fsnotify_put_group(struct fsnotify_group *group);
305 extern void fsnotify_destroy_group(struct fsnotify_group *group);
309 extern void fsnotify_destroy_event(struct fsnotify_group *group,
312 extern int fsnotify_add_event(struct fsnotify_group *group,
317 extern void fsnotify_remove_event(struct fsnotify_group *group, struct fsnotify_event *event);
[all …]
Diommu.h208 struct iommu_group *group);
210 struct iommu_group *group);
212 extern void *iommu_group_get_iommudata(struct iommu_group *group);
213 extern void iommu_group_set_iommudata(struct iommu_group *group,
216 extern int iommu_group_set_name(struct iommu_group *group, const char *name);
217 extern int iommu_group_add_device(struct iommu_group *group,
220 extern int iommu_group_for_each_dev(struct iommu_group *group, void *data,
223 extern void iommu_group_put(struct iommu_group *group);
224 extern int iommu_group_register_notifier(struct iommu_group *group,
226 extern int iommu_group_unregister_notifier(struct iommu_group *group,
[all …]
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()
233 struct config_item *(*make_item)(struct config_group *group, const char *name);
234 struct config_group *(*make_group)(struct config_group *group, const char *name);
236 void (*disconnect_notify)(struct config_group *group, struct config_item *item);
237 void (*drop_item)(struct config_group *group, struct config_item *item);
[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.h49 int (*bind)(struct net *net, int group);
50 void (*unbind)(struct net *net, int group);
66 extern void __netlink_clear_multicast_users(struct sock *sk, unsigned int group);
68 extern int netlink_has_listeners(struct sock *sk, unsigned int group);
73 __u32 group, gfp_t allocation);
75 __u32 portid, __u32 group, gfp_t allocation,
78 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);
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.1.27/fs/ext3/
Dialloc.c204 int group = -1, i; in find_group_orlov() local
218 group = prandom_u32(); in find_group_orlov()
219 parent_group = (unsigned)group % ngroups; in find_group_orlov()
221 group = (parent_group + i) % ngroups; in find_group_orlov()
222 desc = ext3_get_group_desc (sb, group, NULL); in find_group_orlov()
231 best_group = group; in find_group_orlov()
244 group = (parent_group + i) % ngroups; in find_group_orlov()
245 desc = ext3_get_group_desc (sb, group, NULL); in find_group_orlov()
254 return group; in find_group_orlov()
259 group = (parent_group + i) % ngroups; in find_group_orlov()
[all …]
Dballoc.c273 unsigned int group, struct super_block * sb) in goal_in_my_reservation() argument
277 group_first_block = ext3_group_first_block_no(sb, group); in goal_in_my_reservation()
876 ext3_try_to_allocate(struct super_block *sb, handle_t *handle, int group, in ext3_try_to_allocate() argument
886 group_first_block = ext3_group_first_block_no(sb, group); in ext3_try_to_allocate()
927 if (!claim_block(sb_bgl_lock(EXT3_SB(sb), group), in ext3_try_to_allocate()
943 && claim_block(sb_bgl_lock(EXT3_SB(sb), group), in ext3_try_to_allocate()
1114 unsigned int group, struct buffer_head *bitmap_bh) in alloc_new_reservation() argument
1124 group_first_block = ext3_group_first_block_no(sb, group); in alloc_new_reservation()
1316 unsigned int group, struct buffer_head *bitmap_bh, in ext3_try_to_allocate_with_rsv() argument
1347 ret = ext3_try_to_allocate(sb, handle, group, bitmap_bh, in ext3_try_to_allocate_with_rsv()
[all …]
Dresize.c27 unsigned group = input->group; in verify_group_input() local
29 unsigned overhead = ext3_bg_has_super(sb, group) ? in verify_group_input()
30 (1 + ext3_bg_num_gdb(sb, group) + in verify_group_input()
43 ext3_bg_has_super(sb, input->group) ? "normal" : in verify_group_input()
44 "no-super", input->group, input->blocks_count, in verify_group_input()
47 if (group != sbi->s_groups_count) in verify_group_input()
50 input->group, sbi->s_groups_count); in verify_group_input()
192 ext3_fsblk_t start = ext3_group_first_block_no(sb, input->group); in setup_new_group_blocks()
193 int reserved_gdb = ext3_bg_has_super(sb, input->group) ? in setup_new_group_blocks()
195 unsigned long gdblocks = ext3_bg_num_gdb(sb, input->group); in setup_new_group_blocks()
[all …]
/linux-4.1.27/include/net/
Dgenetlink.h64 int (*mcast_bind)(struct net *net, int group);
65 void (*mcast_unbind)(struct net *net, int group);
188 u32 group, struct nlmsghdr *nlh, gfp_t flags);
295 u32 portid, unsigned int group, gfp_t flags) in genlmsg_multicast_netns() argument
297 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_netns()
299 group = family->mcgrp_offset + group; in genlmsg_multicast_netns()
300 return nlmsg_multicast(net->genl_sock, skb, portid, group, flags); in genlmsg_multicast_netns()
313 unsigned int group, gfp_t flags) in genlmsg_multicast() argument
316 portid, group, flags); in genlmsg_multicast()
331 unsigned int group, gfp_t flags);
[all …]
/linux-4.1.27/drivers/usb/gadget/function/
Duvc_configfs.c144 static struct config_item *uvcg_control_header_make(struct config_group *group, in uvcg_control_header_make() argument
164 static void uvcg_control_header_drop(struct config_group *group, in uvcg_control_header_drop() argument
174 struct config_group group; member
189 struct config_group group; member
196 struct uvcg_default_processing, group); in to_uvcg_default_processing()
212 struct mutex *su_mutex = &dp->group.cg_subsys->su_mutex; \
218 opts_item = dp->group.cg_item.ci_parent->ci_parent->ci_parent; \
250 struct mutex *su_mutex = &dp->group.cg_subsys->su_mutex; in uvcg_default_processing_bm_controls_show()
257 opts_item = dp->group.cg_item.ci_parent->ci_parent->ci_parent; in uvcg_default_processing_bm_controls_show()
296 &uvcg_default_processing.group,
[all …]
/linux-4.1.27/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.1.27/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.c144 new_map[0].data.mux.group = np->name; in imx_dt_node_to_map()
161 (*map)->data.mux.function, (*map)->data.mux.group, map_num); in imx_dt_node_to_map()
183 unsigned group) in imx_pmx_set() argument
196 grp = &info->groups[group]; in imx_pmx_set()
305 unsigned int pin, group; in imx_pmx_gpio_request_enable() local
317 for (group = 0; group < info->ngroups; group++) { in imx_pmx_gpio_request_enable()
318 grp = &info->groups[group]; in imx_pmx_gpio_request_enable()
450 struct seq_file *s, unsigned group) in imx_pinconf_group_dbg_show() argument
459 if (group > info->ngroups) in imx_pinconf_group_dbg_show()
463 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.1.27/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.c325 const char *group; in pinmux_map_to_setting() local
354 if (map->data.mux.group) { in pinmux_map_to_setting()
356 group = map->data.mux.group; in pinmux_map_to_setting()
358 if (!strcmp(group, groups[i])) { in pinmux_map_to_setting()
366 group, map->data.mux.function); in pinmux_map_to_setting()
370 group = groups[0]; in pinmux_map_to_setting()
373 ret = pinctrl_get_group_selector(pctldev, group); in pinmux_map_to_setting()
376 map->data.mux.group); in pinmux_map_to_setting()
379 setting->data.mux.group = ret; in pinmux_map_to_setting()
401 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-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-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-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.c126 unsigned int group) in tegra_xusb_padctl_get_group_name() argument
130 return padctl->soc->pins[group].name; in tegra_xusb_padctl_get_group_name()
156 const char *function, *group; in tegra_xusb_padctl_parse_subnode() local
203 of_property_for_each_string(np, "nvidia,lanes", prop, group) { in tegra_xusb_padctl_parse_subnode()
206 reserved_maps, num_maps, group, in tegra_xusb_padctl_parse_subnode()
214 maps, reserved_maps, num_maps, group, in tegra_xusb_padctl_parse_subnode()
291 unsigned int group) in tegra_xusb_padctl_pinmux_set() argument
298 lane = &padctl->soc->lanes[group]; in tegra_xusb_padctl_pinmux_set()
323 unsigned int group, in tegra_xusb_padctl_pinconf_group_get() argument
332 lane = &padctl->soc->lanes[group]; in tegra_xusb_padctl_pinconf_group_get()
[all …]
Dpinctrl-utils.h30 unsigned *num_maps, const char *group,
34 unsigned *num_maps, const char *group,
/linux-4.1.27/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.1.27/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.c125 void config_group_init_type_name(struct config_group *group, const char *name, in config_group_init_type_name() argument
128 config_item_set_name(&group->cg_item, name); in config_group_init_type_name()
129 group->cg_item.ci_type = type; in config_group_init_type_name()
130 config_group_init(group); in config_group_init_type_name()
182 void config_group_init(struct config_group *group) in config_group_init() argument
184 config_item_init(&group->cg_item); in config_group_init()
185 INIT_LIST_HEAD(&group->cg_children); in config_group_init()
198 struct config_item *config_group_find_item(struct config_group *group, in config_group_find_item() argument
204 list_for_each(entry, &group->cg_children) { in config_group_find_item()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.c294 index = plane - plane->group->planes.planes; in rcar_du_atomic_check()
295 group_freed_planes[plane->group->index] |= 1 << index; in rcar_du_atomic_check()
304 groups |= 1 << plane->group->index; in rcar_du_atomic_check()
307 index = plane - plane->group->planes.planes; in rcar_du_atomic_check()
308 group_freed_planes[plane->group->index] |= 1 << index; in rcar_du_atomic_check()
326 struct rcar_du_group *group = &rcdu->groups[index]; in rcar_du_atomic_check() local
330 struct rcar_du_plane *plane = &group->planes.planes[i]; in rcar_du_atomic_check()
376 group_free_planes[plane->group->index]); in rcar_du_atomic_check()
385 group_free_planes[plane->group->index] &= in rcar_du_atomic_check()
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()
332 struct rcar_du_group *rgrp = rplane->group; in rcar_du_plane_atomic_set_property()
353 struct rcar_du_group *rgrp = rplane->group; in rcar_du_plane_atomic_get_property()
436 plane->group = rgrp; in rcar_du_planes_init()
/linux-4.1.27/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()
1786 int last_allocs, group, unit; in pcpu_build_alloc_info() local
[all …]
/linux-4.1.27/fs/ocfs2/
Dresize.c98 struct ocfs2_group_desc *group; in ocfs2_update_last_group_and_inode() local
113 group = (struct ocfs2_group_desc *)group_bh->b_data; in ocfs2_update_last_group_and_inode()
117 le16_add_cpu(&group->bg_bits, num_bits); in ocfs2_update_last_group_and_inode()
118 le16_add_cpu(&group->bg_free_bits_count, num_bits); in ocfs2_update_last_group_and_inode()
127 group, in ocfs2_update_last_group_and_inode()
129 le16_add_cpu(&group->bg_free_bits_count, -1 * backups); in ocfs2_update_last_group_and_inode()
142 chain = le16_to_cpu(group->bg_chain); in ocfs2_update_last_group_and_inode()
165 group, in ocfs2_update_last_group_and_inode()
167 le16_add_cpu(&group->bg_free_bits_count, backups); in ocfs2_update_last_group_and_inode()
168 le16_add_cpu(&group->bg_bits, -1 * num_bits); 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.1.27/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.1.27/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.1.27/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:
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 …]
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,falcon-pinumx.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";
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".
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).
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 …]
Dlantiq,xway-pinumx.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
Datmel,at91-pinctrl.txt14 Atmel AT91 pin configuration node is a node of a group of pins which can be
16 of the pins in that group. The 'pins' selects the function mode(also named pin
83 - atmel,pins: 4 integers array, represents a group of pins mux and config
109 name describe the pin function and group hierarchy.
111 as the function name and pin configuration node's name as group name to
/linux-4.1.27/drivers/usb/gadget/
Dconfigfs.c45 struct config_group group; member
69 struct config_group group; member
85 struct config_group group; member
90 struct config_group group; member
98 struct config_group group; member
312 return container_of(to_config_group(item), struct gadget_info, group); in to_gadget_info()
318 group); in to_gadget_strings()
325 group); in to_gadget_config_name()
331 group); in to_config_usb_cfg()
338 struct usb_function_instance, group); in to_usb_function_instance()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/staging/rtl8188eu/hal/
Drtl8188e_hal_init.c355 u32 rfPath, eeAddr = EEPROM_TX_PWR_INX_88E, group, TxCount = 0; in Hal_ReadPowerValueFromPROM_8188E() local
362 for (group = 0; group < MAX_CHNL_GROUP_24G; group++) { in Hal_ReadPowerValueFromPROM_8188E()
363 pwrInfo24G->IndexCCK_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8188E()
364 pwrInfo24G->IndexBW40_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8188E()
383 for (group = 0; group < MAX_CHNL_GROUP_24G; group++) { in Hal_ReadPowerValueFromPROM_8188E()
384 pwrInfo24G->IndexCCK_Base[rfPath][group] = PROMContent[eeAddr++]; in Hal_ReadPowerValueFromPROM_8188E()
385 if (pwrInfo24G->IndexCCK_Base[rfPath][group] == 0xFF) in Hal_ReadPowerValueFromPROM_8188E()
386 pwrInfo24G->IndexCCK_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; in Hal_ReadPowerValueFromPROM_8188E()
388 for (group = 0; group < MAX_CHNL_GROUP_24G-1; group++) { in Hal_ReadPowerValueFromPROM_8188E()
389 pwrInfo24G->IndexBW40_Base[rfPath][group] = PROMContent[eeAddr++]; in Hal_ReadPowerValueFromPROM_8188E()
[all …]
/linux-4.1.27/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 milli seconds), each group got and how many secotors 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.1.27/drivers/staging/rtl8723au/hal/
Drtl8723a_hal_init.c1527 u32 rfPath, eeAddr, group, rfPathMax = 1; in Hal_ReadPowerValueFromPROM_8723A() local
1532 for (group = 0; group < MAX_CHNL_GROUP; group++) { in Hal_ReadPowerValueFromPROM_8723A()
1534 pwrInfo->CCKIndex[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1536 pwrInfo->HT40_1SIndex[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1538 pwrInfo->HT40_2SIndexDiff[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1540 pwrInfo->HT20IndexDiff[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1542 pwrInfo->OFDMIndexDiff[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1544 pwrInfo->HT40MaxOffset[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1546 pwrInfo->HT20MaxOffset[rfPath][group] = in Hal_ReadPowerValueFromPROM_8723A()
1555 for (group = 0; group < MAX_CHNL_GROUP; group++) { in Hal_ReadPowerValueFromPROM_8723A()
[all …]
/linux-4.1.27/drivers/net/wireless/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.1.27/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.1.27/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.1.27/net/bridge/
Dbr_multicast.c350 __be32 group) in br_ip4_multicast_alloc_query() argument
401 ih->code = (group ? br->multicast_last_member_interval : in br_ip4_multicast_alloc_query()
404 ih->group = group; in br_ip4_multicast_alloc_query()
417 const struct in6_addr *group) in br_ip6_multicast_alloc_query() argument
473 interval = ipv6_addr_any(group) ? in br_ip6_multicast_alloc_query()
482 mldq->mld_mca = *group; in br_ip6_multicast_alloc_query()
514 struct br_ip *group, int hash) in br_multicast_get_group() argument
526 if (unlikely(br_ip_equal(group, &mp->addr))) in br_multicast_get_group()
587 struct net_bridge_port *port, struct br_ip *group) in br_multicast_new_group() argument
602 hash = br_ip_hash(mdb, group); in br_multicast_new_group()
[all …]
Dbr_mdb.c233 struct br_ip *group, int type) in br_mdb_notify() argument
239 entry.addr.proto = group->proto; in br_mdb_notify()
240 entry.addr.u.ip4 = group->u.ip4; in br_mdb_notify()
242 entry.addr.u.ip6 = group->u.ip6; in br_mdb_notify()
320 struct br_ip *group, unsigned char state) in br_mdb_add_group() argument
329 mp = br_mdb_ip_get(mdb, group); in br_mdb_add_group()
331 mp = br_multicast_new_group(br, port, group); in br_mdb_add_group()
346 p = br_multicast_new_port_group(port, group, *pp, state); in br_mdb_add_group()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c385 intel_cqm_xchg_rmid(struct perf_event *group, unsigned int rmid) in intel_cqm_xchg_rmid() argument
388 unsigned int old_rmid = group->hw.cqm_rmid; in intel_cqm_xchg_rmid()
389 struct list_head *head = &group->hw.cqm_group_entry; in intel_cqm_xchg_rmid()
404 local64_set(&group->count, atomic64_read(&rr.value)); in intel_cqm_xchg_rmid()
409 group->hw.cqm_rmid = rmid; in intel_cqm_xchg_rmid()
628 struct perf_event *group, *g; in intel_cqm_sched_out_conflicting_events() local
633 list_for_each_entry_safe(group, g, &cache_groups, hw.cqm_groups_entry) { in intel_cqm_sched_out_conflicting_events()
634 if (group == event) in intel_cqm_sched_out_conflicting_events()
637 rmid = group->hw.cqm_rmid; in intel_cqm_sched_out_conflicting_events()
648 if (!__conflict_event(group, event)) in intel_cqm_sched_out_conflicting_events()
[all …]
/linux-4.1.27/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.1.27/drivers/target/
Dtarget_core_fabric_configfs.c263 struct config_group *group, in target_core_mappedlun_stat_mkdir() argument
270 struct config_group *group, in target_core_mappedlun_stat_rmdir() argument
330 struct config_group *group, in target_fabric_make_mappedlun() argument
333 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun()
344 acl_ci = &group->cg_item; in target_fabric_make_mappedlun()
429 struct config_group *group, in target_fabric_drop_mappedlun() argument
495 struct config_group *group, in target_fabric_make_nodeacl() argument
498 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl()
509 se_nacl = tf->tf_ops.fabric_make_nodeacl(se_tpg, group, name); in target_fabric_make_nodeacl()
537 struct config_group *group, in target_fabric_drop_nodeacl() argument
[all …]
/linux-4.1.27/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.1.27/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.1.27/fs/dlm/
Dconfig.c95 struct config_group group; member
313 struct config_group group; member
432 return i ? container_of(to_config_group(i), struct dlm_cluster, group) : in config_item_to_cluster()
438 return i ? container_of(to_config_group(i), struct dlm_space, group) : in config_item_to_space()
468 config_group_init_type_name(&cl->group, name, &cluster_type); in make_cluster()
472 cl->group.default_groups = gps; in make_cluster()
473 cl->group.default_groups[0] = &sps->ss_group; in make_cluster()
474 cl->group.default_groups[1] = &cms->cs_group; in make_cluster()
475 cl->group.default_groups[2] = NULL; in make_cluster()
494 return &cl->group; in make_cluster()
[all …]
/linux-4.1.27/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.c121 static inline u32 netlink_group_mask(u32 group) in netlink_group_mask() argument
123 return group ? 1 << (group - 1) : 0; in netlink_group_mask()
1197 int (*bind)(struct net *net, int group); in netlink_create()
1198 void (*unbind)(struct net *net, int group); in netlink_create()
1484 static void netlink_undo_bind(int group, long unsigned int groups, in netlink_undo_bind() argument
1493 for (undo = 0; undo < group; undo++) in netlink_undo_bind()
1534 int group; in netlink_bind() local
1536 for (group = 0; group < nlk->ngroups; group++) { in netlink_bind()
1537 if (!test_bit(group, &groups)) in netlink_bind()
1539 err = nlk->netlink_bind(net, group + 1); in netlink_bind()
[all …]
/linux-4.1.27/include/linux/usb/
Dgadget_configfs.h56 struct config_group *group, \
72 config_group_init_type_name(&new->group, name, \
75 gi = container_of(group, struct struct_member, strings_group); \
87 return &new->group; \
94 struct config_group *group, \
/linux-4.1.27/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.1.27/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.1.27/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
223 void config_group_init(struct config_group *group);
224 void config_group_init_type_name(struct config_group *group,
230 that item means that a group can behave as an item in its own right.
232 accomplished via the group operations specified on the group's
236 struct config_item *(*make_item)(struct config_group *group,
238 struct config_group *(*make_group)(struct config_group *group,
241 void (*disconnect_notify)(struct config_group *group,
[all …]
Dconfigfs_example_macros.c233 struct config_group group; member
238 return item ? container_of(to_config_group(item), struct simple_children, group) : NULL; in to_simple_children()
241 static struct config_item *simple_children_make_item(struct config_group *group, const char *name) in simple_children_make_item() argument
326 static struct config_group *group_children_make_group(struct config_group *group, const char *name) in group_children_make_group() argument
335 config_group_init_type_name(&simple_children->group, name, in group_children_make_group()
338 return &simple_children->group; in group_children_make_group()
Dconfigfs_example_explicit.c270 struct config_group group; member
275 return item ? container_of(to_config_group(item), struct simple_children, group) : NULL; in to_simple_children()
278 static struct config_item *simple_children_make_item(struct config_group *group, const char *name) in simple_children_make_item() argument
363 static struct config_group *group_children_make_group(struct config_group *group, const char *name) in group_children_make_group() argument
372 config_group_init_type_name(&simple_children->group, name, in group_children_make_group()
375 return &simple_children->group; in group_children_make_group()
/linux-4.1.27/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 invalied.\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.1.27/drivers/net/wireless/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/pinctrl/samsung/
Dpinctrl-samsung.c71 unsigned group) in samsung_get_group_name() argument
75 return pmx->pin_groups[group].name; in samsung_get_group_name()
79 unsigned group, in samsung_get_group_pins() argument
85 *pins = pmx->pin_groups[group].pins; in samsung_get_group_pins()
86 *num_pins = pmx->pin_groups[group].num_pins; in samsung_get_group_pins()
117 unsigned *num_maps, const char *group, in add_map_mux() argument
124 (*map)[*num_maps].data.mux.group = group; in add_map_mux()
133 const char *group, unsigned long *configs, in add_map_configs() argument
149 (*map)[*num_maps].data.configs.group_or_pin = group; in add_map_configs()
206 const char *group; in samsung_dt_subnode_to_map() local
[all …]
/linux-4.1.27/arch/cris/arch-v32/
DKconfig27 bool "Use one LED group"
29 Select this if you want one Ethernet LED group. This LED group
31 recommended that each Ethernet interface use a dedicated LED group.
43 string "Ethernet LED group 0 green LED bit"
47 Bit to use for the green LED in Ethernet LED group 0.
50 string "Ethernet LED group 0 red LED bit"
54 Bit to use for the red LED in Ethernet LED group 0.
57 string "Ethernet group 1 green LED bit"
61 Bit to use for the green LED in Ethernet LED group 1.
64 string "Ethernet group 1 red LED bit"
[all …]
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/arm/spear/
Dshirq.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
/linux-4.1.27/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.1.27/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 …]
Dcompat_linux.h90 long compat_sys_s390_chown16(const char __user *filename, u16 user, u16 group);
91 long compat_sys_s390_lchown16(const char __user *filename, u16 user, u16 group);
92 long compat_sys_s390_fchown16(unsigned int fd, u16 user, u16 group);
/linux-4.1.27/drivers/net/wireless/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.1.27/drivers/iio/
Dindustrialio-event.c42 struct attribute_group group; member
475 indio_dev->event_interface->group.name = iio_event_group_name; in iio_device_register_eventset()
476 indio_dev->event_interface->group.attrs = kcalloc(attrcount + 1, in iio_device_register_eventset()
477 sizeof(indio_dev->event_interface->group.attrs[0]), in iio_device_register_eventset()
479 if (indio_dev->event_interface->group.attrs == NULL) { in iio_device_register_eventset()
484 memcpy(indio_dev->event_interface->group.attrs, in iio_device_register_eventset()
486 sizeof(indio_dev->event_interface->group.attrs[0]) in iio_device_register_eventset()
493 indio_dev->event_interface->group.attrs[attrn++] = in iio_device_register_eventset()
496 &indio_dev->event_interface->group; in iio_device_register_eventset()
526 kfree(indio_dev->event_interface->group.attrs); in iio_device_unregister_eventset()
/linux-4.1.27/fs/nfsd/
Dnfs4acl.c192 unsigned short group; member
219 pas->group = pa->e_perm; in summarize_posix_acl()
237 pas->group &= pas->mask; in summarize_posix_acl()
265 deny &= pas.users | pas.group | pas.groups | pas.other; in _posix_to_nfsv4_one()
285 deny &= pas.groups | pas.group | pas.other; in _posix_to_nfsv4_one()
315 ace->access_mask = mask_from_posix(pas.group, flags); in _posix_to_nfsv4_one()
337 deny = ~pas.group & pas.other; in _posix_to_nfsv4_one()
458 struct posix_ace_state group; member
546 low_mode_from_nfs4(state->group.allow, &pace->e_perm, flags); in posix_state_to_acl()
547 add_to_mask(state, &state->group); in posix_state_to_acl()
[all …]
/linux-4.1.27/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.1.27/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()
472 static int nfnetlink_bind(struct net *net, int group) in nfnetlink_bind() argument
477 if (group <= NFNLGRP_NONE || group > NFNLGRP_MAX) in nfnetlink_bind()
480 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.1.27/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.1.27/drivers/pinctrl/berlin/
Dberlin.c45 unsigned group) in berlin_pinctrl_get_group_name() argument
49 return pctrl->desc->groups[group].name; in berlin_pinctrl_get_group_name()
139 const struct berlin_desc_group *group, in berlin_pinctrl_find_function_by_name() argument
142 struct berlin_desc_function *function = group->functions; in berlin_pinctrl_find_function_by_name()
156 unsigned group) in berlin_pinmux_set() argument
159 const struct berlin_desc_group *group_desc = pctrl->desc->groups + group; in berlin_pinmux_set()
/linux-4.1.27/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.1.27/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.1.27/arch/arm/kernel/
Dperf_event_v7.c1269 unsigned int group = EVENT_GROUP(config_base); in krait_evt_setup() local
1274 group_shift = group * 8; in krait_evt_setup()
1282 val += group; in krait_evt_setup()
1304 static u32 clear_pmresrn_group(u32 val, int group) in clear_pmresrn_group() argument
1309 group_shift = group * 8; in clear_pmresrn_group()
1325 unsigned int group = EVENT_GROUP(config_base); in krait_clearpmu() local
1331 val = clear_pmresrn_group(val, group); in krait_clearpmu()
1336 val = clear_pmresrn_group(val, group); in krait_clearpmu()
1429 unsigned int group) in krait_event_to_bit() argument
1440 bit += group; in krait_event_to_bit()
[all …]
/linux-4.1.27/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.1.27/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.1.27/scripts/tracing/
Ddraw_functrace.py109 return (m.group(1), m.group(2), m.group(3))
/linux-4.1.27/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.1.27/drivers/pinctrl/sh-pfc/
Dpinctrl.c112 const char *group; in sh_pfc_dt_subnode_to_map() local
177 of_property_for_each_string(np, "renesas,groups", prop, group) { in sh_pfc_dt_subnode_to_map()
180 maps[idx].data.mux.group = group; in sh_pfc_dt_subnode_to_map()
186 ret = sh_pfc_map_add_config(&maps[idx], group, in sh_pfc_dt_subnode_to_map()
316 unsigned group) in sh_pfc_func_set_mux() argument
320 const struct sh_pfc_pin_group *grp = &pfc->info->groups[group]; in sh_pfc_func_set_mux()
545 static int sh_pfc_pinconf_group_set(struct pinctrl_dev *pctldev, unsigned group, in sh_pfc_pinconf_group_set() argument
554 pins = pmx->pfc->info->groups[group].pins; in sh_pfc_pinconf_group_set()
555 num_pins = pmx->pfc->info->groups[group].nr_pins; in sh_pfc_pinconf_group_set()
/linux-4.1.27/Documentation/devicetree/bindings/arm/samsung/
Dinterrupt-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.1.27/tools/perf/util/
Dprobe-event.c1106 pev->group = NULL; in parse_perf_probe_point()
1425 tev->group = strdup(fmt2_str); in parse_probe_trace_command()
1427 if (tev->group == NULL || tev->event == NULL) { in parse_probe_trace_command()
1431 pr_debug("Group:%s Event:%s probe:%c\n", tev->group, tev->event, pr); in parse_probe_trace_command()
1698 tev->group, tev->event); in synthesize_probe_trace_command()
1814 pev->group = strdup(tev->group); in convert_to_perf_probe_event()
1815 if (pev->event == NULL || pev->group == NULL) in convert_to_perf_probe_event()
1852 free(pev->group); in clear_perf_probe_event()
1878 free(tev->group); in clear_probe_trace_event()
2111 ret = e_snprintf(buf, 128, "%s:%s", pev->group, pev->event); in show_perf_probe_event()
[all …]
Dparse-events.y79 %type <head> group
104 groups ',' group
107 struct list_head *group = $3; variable
109 parse_events_update_lists(group, list);
122 group
126 group:
/linux-4.1.27/drivers/staging/speakup/
Di18n.c581 struct msg_group_t *group = NULL; in spk_find_msg_group() local
586 group = &all_groups[i]; in spk_find_msg_group()
590 return group; in spk_find_msg_group()
593 void spk_reset_msg_group(struct msg_group_t *group) in spk_reset_msg_group() argument
600 for (i = group->start; i <= group->end; i++) { in spk_reset_msg_group()
Dkobjects.c742 struct msg_group_t *group) in message_store_helper() argument
756 enum msg_index_t firstmessage = group->start; in message_store_helper()
757 enum msg_index_t lastmessage = group->end; in message_store_helper()
820 spk_reset_msg_group(group); in message_store_helper()
822 report_msg_status(reset, received, used, rejected, group->name); in message_store_helper()
830 struct msg_group_t *group = spk_find_msg_group(attr->attr.name); in message_show() local
833 BUG_ON(!group); in message_show()
835 retval = message_show_helper(buf, group->start, group->end); in message_show()
843 struct msg_group_t *group = spk_find_msg_group(attr->attr.name); in message_store() local
845 BUG_ON(!group); in message_store()
[all …]
/linux-4.1.27/tools/perf/Documentation/
Dperf-evlist.txt32 --group::
33 Show event group information.
/linux-4.1.27/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.1.27/fs/sysfs/
Dfile.c350 const struct attribute *attr, const char *group) in sysfs_add_file_to_group() argument
355 if (group) { in sysfs_add_file_to_group()
356 parent = kernfs_find_and_get(kobj->sd, group); in sysfs_add_file_to_group()
455 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group() argument
459 if (group) { in sysfs_remove_file_from_group()
460 parent = kernfs_find_and_get(kobj->sd, group); in sysfs_remove_file_from_group()
/linux-4.1.27/fs/btrfs/
Dqgroup.c98 struct btrfs_qgroup *group; member
217 list->group = parent; in add_relation_rb()
239 if (list->group == parent) { in del_relation_rb()
1038 ret = ulist_add(tmp, glist->group->qgroupid, in __qgroup_excl_accounting()
1039 ptr_to_u64(glist->group), GFP_ATOMIC); in __qgroup_excl_accounting()
1059 ret = ulist_add(tmp, glist->group->qgroupid, in __qgroup_excl_accounting()
1060 ptr_to_u64(glist->group), GFP_ATOMIC); in __qgroup_excl_accounting()
1141 if (list->group == parent) { in btrfs_add_qgroup_relation()
1201 if (list->group == parent) in __del_qgroup_relation()
1300 list->group->qgroupid); in btrfs_remove_qgroup()
[all …]
/linux-4.1.27/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.1.27/drivers/net/wireless/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.1.27/drivers/mfd/
Dmax8997-irq.c65 enum max8997_irq_source group; member
69 [(idx)] = { .group = (_group), .mask = (_mask) }
155 max8997->irq_masks_cur[irq_data->group] |= irq_data->mask; in max8997_irq_mask()
164 max8997->irq_masks_cur[irq_data->group] &= ~irq_data->mask; in max8997_irq_unmask()
273 if (irq_reg[max8997_irqs[i].group] & max8997_irqs[i].mask) { in max8997_irq_thread()
/linux-4.1.27/net/bridge/netfilter/
Debt_nflog.c31 li.u.ulog.group = info->group; in ebt_nflog_tg()
/linux-4.1.27/include/uapi/linux/
Digmp.h34 __be32 group; member
66 __be32 group; member
/linux-4.1.27/fs/ocfs2/cluster/
Dnodemanager.c470 static struct o2nm_node_group *to_o2nm_node_group(struct config_group *group)
472 return group ?
473 container_of(group, struct o2nm_node_group, ns_group)
697 static struct config_item *o2nm_node_group_make_item(struct config_group *group, in o2nm_node_group_make_item() argument
718 static void o2nm_node_group_drop_item(struct config_group *group, in o2nm_node_group_drop_item() argument
722 struct o2nm_cluster *cluster = to_o2nm_cluster(group->cg_item.ci_parent); in o2nm_node_group_drop_item()
794 static struct o2nm_cluster_group *to_o2nm_cluster_group(struct config_group *group)
796 return group ?
797 container_of(to_configfs_subsystem(group), struct o2nm_cluster_group, cs_subsys)
802 static struct config_group *o2nm_cluster_group_make_group(struct config_group *group, in o2nm_cluster_group_make_group() argument
[all …]
/linux-4.1.27/drivers/net/wireless/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.1.27/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.1.27/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c271 unsigned group, in mtk_pconf_group_get() argument
276 *config = pctl->groups[group].config; in mtk_pconf_group_get()
281 static int mtk_pconf_group_set(struct pinctrl_dev *pctldev, unsigned group, in mtk_pconf_group_set() argument
285 struct mtk_pinctrl_group *g = &pctl->groups[group]; in mtk_pconf_group_set()
370 (*map)[*num_maps].data.mux.group = grp->name; in mtk_pctrl_dt_node_to_map_func()
508 unsigned group) in mtk_pctrl_get_group_name() argument
512 return pctl->groups[group].name; in mtk_pctrl_get_group_name()
516 unsigned group, in mtk_pctrl_get_group_pins() argument
522 *pins = (unsigned *)&pctl->groups[group].pin; in mtk_pctrl_get_group_pins()
596 unsigned group) in mtk_pmx_set_mux() argument
[all …]
/linux-4.1.27/net/batman-adv/
Dbridge_loop_avoidance.c821 if (bla_dst->group == bla_dst_own->group) in batadv_check_claim_group()
834 if (ntohs(bla_dst->group) > ntohs(bla_dst_own->group)) { in batadv_check_claim_group()
837 ntohs(bla_dst->group)); in batadv_check_claim_group()
838 bla_dst_own->group = bla_dst->group; in batadv_check_claim_group()
1096 __be16 group; in batadv_bla_update_orig_address() local
1100 group = htons(crc16(0, primary_if->net_dev->dev_addr, ETH_ALEN)); in batadv_bla_update_orig_address()
1101 bat_priv->bla.claim_dest.group = group; in batadv_bla_update_orig_address()
1238 bat_priv->bla.claim_dest.group = htons(crc); in batadv_bla_init()
1241 bat_priv->bla.claim_dest.group = 0; /* will be set later */ in batadv_bla_init()
1644 ntohs(bat_priv->bla.claim_dest.group)); in batadv_bla_claim_table_seq_print_text()
[all …]
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
Ddma_defs.h331 unsigned int group : 1; member
343 unsigned int group : 1; member
355 unsigned int group : 1; member
366 unsigned int group : 1; member
/linux-4.1.27/tools/perf/tests/attr/
DREADME50 perf record --group -e cycles,instructions kill (test-record-group)
62 perf stat --group -e cycles,instructions kill (test-stat-group)
/linux-4.1.27/Documentation/driver-model/
Ddevres.txt136 3. Devres group
139 Devres entries can be grouped using devres group. When a group is
168 Each group is identified by void *id. It can either be explicitly
171 cases, devres_open_group() returns the group's id. The returned id
172 can be passed to other devres functions to select the target group.
173 If NULL is given to those functions, the latest open group is
225 Each devres group occupies 8 pointers. It can be reduced to 6 if
/linux-4.1.27/drivers/block/mtip32xx/
Dmtip32xx.h184 #define DEFINE_HANDLER(group) \ argument
185 void mtip_workq_sdbf##group(struct work_struct *work) \
188 mtip_workq_sdbfx(w->port, group, w->completed); \

1234