Home
last modified time | relevance | path

Searched refs:grp (Results 1 – 25 of 35) sorted by relevance

12

/linux-4.19.296/drivers/s390/net/
Dctcm_mpc.c330 struct mpc_group *grp; in ctc_mpc_alloc_channel() local
337 grp = priv->mpcg; in ctc_mpc_alloc_channel()
339 grp->allochanfunc = callback; in ctc_mpc_alloc_channel()
340 grp->port_num = port_num; in ctc_mpc_alloc_channel()
341 grp->port_persist = 1; in ctc_mpc_alloc_channel()
345 CTCM_FUNTAIL, dev->name, fsm_getstate_str(grp->fsm)); in ctc_mpc_alloc_channel()
347 switch (fsm_getstate(grp->fsm)) { in ctc_mpc_alloc_channel()
350 grp->alloc_called = 1; in ctc_mpc_alloc_channel()
359 grp->send_qllc_disc = 1; in ctc_mpc_alloc_channel()
361 fsm_deltimer(&grp->timer); in ctc_mpc_alloc_channel()
[all …]
Dctcm_main.c602 struct mpc_group *grp; in ctcmpc_send_sweep_req() local
609 grp = priv->mpcg; in ctcmpc_send_sweep_req()
614 if (grp->in_sweep == 0) { in ctcmpc_send_sweep_req()
615 grp->in_sweep = 1; in ctcmpc_send_sweep_req()
616 grp->sweep_rsp_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
617 grp->sweep_req_pend_num = grp->active_channels[CTCM_READ]; in ctcmpc_send_sweep_req()
654 grp->in_sweep = 0; in ctcmpc_send_sweep_req()
656 fsm_event(grp->fsm, MPCG_EVENT_INOP, dev); in ctcmpc_send_sweep_req()
669 struct mpc_group *grp = priv->mpcg; in ctcmpc_transmit_skb() local
681 if ((fsm_getstate(ch->fsm) != CTC_STATE_TXIDLE) || grp->in_sweep) { in ctcmpc_transmit_skb()
[all …]
Dctcm_fsms.c1221 struct mpc_group *grp = priv->mpcg; in ctcmpc_chx_txdone() local
1257 if ((ch->collect_len <= 0) || (grp->in_sweep != 0)) { in ctcmpc_chx_txdone()
1276 data_space = grp->group_max_buflen - TH_HEADER_LENGTH; in ctcmpc_chx_txdone()
1391 struct mpc_group *grp = priv->mpcg; in ctcmpc_chx_rx() local
1428 switch (fsm_getstate(grp->fsm)) { in ctcmpc_chx_rx()
1448 switch (fsm_getstate(grp->fsm)) { in ctcmpc_chx_rx()
1547 struct mpc_group *grp = priv->mpcg; in ctcmpc_chx_rxidle() local
1554 fsm_getstate(fi), fsm_getstate(grp->fsm)); in ctcmpc_chx_rxidle()
1559 switch (fsm_getstate(grp->fsm)) { in ctcmpc_chx_rxidle()
1602 struct mpc_group *grp = priv->mpcg; in ctcmpc_chx_attn() local
[all …]
Dctcm_main.h241 struct mpc_group *grp; in ctcm_clear_busy() local
242 grp = ((struct ctcm_priv *)dev->ml_priv)->mpcg; in ctcm_clear_busy()
244 if (!(grp && grp->in_sweep)) in ctcm_clear_busy()
/linux-4.19.296/fs/sysfs/
Dgroup.c20 const struct attribute_group *grp) in remove_files() argument
25 if (grp->attrs) in remove_files()
26 for (attr = grp->attrs; *attr; attr++) in remove_files()
28 if (grp->bin_attrs) in remove_files()
29 for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) in remove_files()
35 const struct attribute_group *grp, int update) in create_files() argument
41 if (grp->attrs) { in create_files()
42 for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) { in create_files()
52 if (grp->is_visible) { in create_files()
53 mode = grp->is_visible(kobj, *attr, i); in create_files()
[all …]
/linux-4.19.296/include/linux/pinctrl/
Dmachine.h88 #define PIN_MAP_MUX_GROUP(dev, state, pinctrl, grp, func) \ argument
95 .group = grp, \
100 #define PIN_MAP_MUX_GROUP_DEFAULT(dev, pinctrl, grp, func) \ argument
101 PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, pinctrl, grp, func)
103 #define PIN_MAP_MUX_GROUP_HOG(dev, state, grp, func) \ argument
104 PIN_MAP_MUX_GROUP(dev, state, dev, grp, func)
106 #define PIN_MAP_MUX_GROUP_HOG_DEFAULT(dev, grp, func) \ argument
107 PIN_MAP_MUX_GROUP(dev, PINCTRL_STATE_DEFAULT, dev, grp, func)
131 #define PIN_MAP_CONFIGS_GROUP(dev, state, pinctrl, grp, cfgs) \ argument
138 .group_or_pin = grp, \
[all …]
/linux-4.19.296/drivers/base/
Ddevres.c432 struct devres_group *grp; in remove_nodes() local
437 grp = node_to_group(node); in remove_nodes()
438 if (grp) { in remove_nodes()
440 grp->color = 0; in remove_nodes()
463 struct devres_group *grp; in remove_nodes() local
468 grp = node_to_group(node); in remove_nodes()
469 BUG_ON(!grp || list_empty(&grp->node[0].entry)); in remove_nodes()
471 grp->color++; in remove_nodes()
472 if (list_empty(&grp->node[1].entry)) in remove_nodes()
473 grp->color++; in remove_nodes()
[all …]
Dattribute_container.c321 BUG_ON(attrs && cont->grp); in attribute_container_add_attrs()
323 if (!attrs && !cont->grp) in attribute_container_add_attrs()
326 if (cont->grp) in attribute_container_add_attrs()
327 return sysfs_create_group(&classdev->kobj, cont->grp); in attribute_container_add_attrs()
386 if (!attrs && !cont->grp) in attribute_container_remove_attrs()
389 if (cont->grp) { in attribute_container_remove_attrs()
390 sysfs_remove_group(&classdev->kobj, cont->grp); in attribute_container_remove_attrs()
/linux-4.19.296/fs/xfs/
Dxfs_mru_cache.c130 unsigned int grp; in _xfs_mru_cache_migrate() local
168 for (grp = 0; grp < mru->grp_count; grp++) { in _xfs_mru_cache_migrate()
171 lru_list = mru->lists + ((mru->lru_grp + grp) % mru->grp_count); in _xfs_mru_cache_migrate()
174 (mru->grp_count + grp) * mru->grp_time; in _xfs_mru_cache_migrate()
194 unsigned int grp = 0; in _xfs_mru_cache_list_insert() local
210 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert()
211 grp = (mru->lru_grp + grp) % mru->grp_count; in _xfs_mru_cache_list_insert()
215 list_add_tail(&elem->list_node, mru->lists + grp); in _xfs_mru_cache_list_insert()
324 int err = 0, grp; in xfs_mru_cache_create() local
348 for (grp = 0; grp < mru->grp_count; grp++) in xfs_mru_cache_create()
[all …]
/linux-4.19.296/drivers/regulator/
Dtwl6030-regulator.c128 int grp = 0, val; in twl6030reg_is_enabled() local
131 grp = twlreg_grp(rdev); in twl6030reg_is_enabled()
132 if (grp < 0) in twl6030reg_is_enabled()
133 return grp; in twl6030reg_is_enabled()
134 grp &= P1_GRP_6030; in twl6030reg_is_enabled()
140 grp = 1; in twl6030reg_is_enabled()
143 return grp && (val == TWL6030_CFG_STATE_ON); in twl6030reg_is_enabled()
153 int grp = 0; in twl6030reg_enable() local
157 grp = twlreg_grp(rdev); in twl6030reg_enable()
158 if (grp < 0) in twl6030reg_enable()
[all …]
Dtwl-regulator.c202 int grp; in twl4030reg_enable() local
205 grp = twlreg_grp(rdev); in twl4030reg_enable()
206 if (grp < 0) in twl4030reg_enable()
207 return grp; in twl4030reg_enable()
209 grp |= P1_GRP_4030; in twl4030reg_enable()
211 ret = twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_GRP, grp); in twl4030reg_enable()
219 int grp; in twl4030reg_disable() local
222 grp = twlreg_grp(rdev); in twl4030reg_disable()
223 if (grp < 0) in twl4030reg_disable()
224 return grp; in twl4030reg_disable()
[all …]
/linux-4.19.296/drivers/isdn/i4l/
Disdn_audio.c504 int grp[2]; in isdn_audio_eval_dtmf() local
512 grp[LOGRP] = grp[HIGRP] = -1; in isdn_audio_eval_dtmf()
534 if (grp[LOGRP] >= 0) { in isdn_audio_eval_dtmf()
536 grp[LOGRP] = -1; in isdn_audio_eval_dtmf()
540 grp[LOGRP] = i; in isdn_audio_eval_dtmf()
543 if (grp[HIGRP] >= 0) { // Bad. Another tone found. */ in isdn_audio_eval_dtmf()
544 grp[HIGRP] = -1; in isdn_audio_eval_dtmf()
548 grp[HIGRP] = i - NCOEFF/2; in isdn_audio_eval_dtmf()
551 if ((grp[LOGRP] >= 0) && (grp[HIGRP] >= 0)) { in isdn_audio_eval_dtmf()
552 what = dtmf_matrix[grp[LOGRP]][grp[HIGRP]]; in isdn_audio_eval_dtmf()
/linux-4.19.296/fs/ext4/
Dialloc.c85 struct ext4_group_info *grp = ext4_get_group_info(sb, block_group); in ext4_validate_inode_bitmap() local
89 if (EXT4_MB_GRP_IBITMAP_CORRUPT(grp)) in ext4_validate_inode_bitmap()
244 struct ext4_group_info *grp; in ext4_free_inode() local
290 grp = ext4_get_group_info(sb, block_group); in ext4_free_inode()
296 if (unlikely(EXT4_MB_GRP_IBITMAP_CORRUPT(grp))) { in ext4_free_inode()
431 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local
461 grp = hinfo.hash; in find_group_orlov()
463 grp = prandom_u32(); in find_group_orlov()
464 parent_group = (unsigned)grp % ngroups; in find_group_orlov()
476 grp = g; in find_group_orlov()
[all …]
Dmballoc.c555 struct ext4_group_info *grp; in __mb_check_buddy() local
629 grp = ext4_get_group_info(sb, e4b->bd_group); in __mb_check_buddy()
630 list_for_each(cur, &grp->bb_prealloc_list) { in __mb_check_buddy()
656 struct ext4_group_info *grp) in ext4_mb_mark_free_simple() argument
680 grp->bb_counters[min]++; in ext4_mb_mark_free_simple()
695 mb_set_largest_free_order(struct super_block *sb, struct ext4_group_info *grp) in mb_set_largest_free_order() argument
700 grp->bb_largest_free_order = -1; /* uninit */ in mb_set_largest_free_order()
704 if (grp->bb_counters[i] > 0) { in mb_set_largest_free_order()
705 grp->bb_largest_free_order = i; in mb_set_largest_free_order()
715 struct ext4_group_info *grp = ext4_get_group_info(sb, group); in ext4_mb_generate_buddy() local
[all …]
Dballoc.c387 struct ext4_group_info *grp = ext4_get_group_info(sb, block_group); in ext4_validate_block_bitmap() local
391 if (EXT4_MB_GRP_BBITMAP_CORRUPT(grp)) in ext4_validate_block_bitmap()
716 struct ext4_group_info *grp; in ext4_count_free_clusters() local
732 grp = NULL; in ext4_count_free_clusters()
734 grp = ext4_get_group_info(sb, i); in ext4_count_free_clusters()
735 if (!grp || !EXT4_MB_GRP_BBITMAP_CORRUPT(grp)) in ext4_count_free_clusters()
762 grp = NULL; in ext4_count_free_clusters()
764 grp = ext4_get_group_info(sb, i); in ext4_count_free_clusters()
765 if (!grp || !EXT4_MB_GRP_BBITMAP_CORRUPT(grp)) in ext4_count_free_clusters()
Dext4.h2703 #define ext4_grp_locked_error(sb, grp, ino, block, fmt, ...) \ argument
2704 __ext4_grp_locked_error(__func__, __LINE__, sb, grp, ino, block, \
2746 #define ext4_grp_locked_error(sb, grp, ino, block, fmt, ...) \ argument
2749 __ext4_grp_locked_error("", 0, sb, grp, ino, block, " "); \
2976 #define EXT4_MB_GRP_NEED_INIT(grp) \ argument
2977 (test_bit(EXT4_GROUP_INFO_NEED_INIT_BIT, &((grp)->bb_state)))
2978 #define EXT4_MB_GRP_BBITMAP_CORRUPT(grp) \ argument
2979 (test_bit(EXT4_GROUP_INFO_BBITMAP_CORRUPT_BIT, &((grp)->bb_state)))
2980 #define EXT4_MB_GRP_IBITMAP_CORRUPT(grp) \ argument
2981 (test_bit(EXT4_GROUP_INFO_IBITMAP_CORRUPT_BIT, &((grp)->bb_state)))
[all …]
/linux-4.19.296/virt/kvm/
Dvfio.c143 struct iommu_group *grp = kvm_vfio_group_get_iommu_group(vfio_group); in kvm_spapr_tce_release_vfio_group() local
145 if (WARN_ON_ONCE(!grp)) in kvm_spapr_tce_release_vfio_group()
148 kvm_spapr_tce_release_iommu_group(kvm, grp); in kvm_spapr_tce_release_vfio_group()
149 iommu_group_put(grp); in kvm_spapr_tce_release_vfio_group()
287 struct iommu_group *grp; in kvm_vfio_set_group() local
303 grp = kvm_vfio_group_get_iommu_group(vfio_group); in kvm_vfio_set_group()
304 if (WARN_ON_ONCE(!grp)) { in kvm_vfio_set_group()
318 param.tablefd, grp); in kvm_vfio_set_group()
324 iommu_group_put(grp); in kvm_vfio_set_group()
/linux-4.19.296/include/linux/
Dsysfs.h268 const struct attribute_group *grp);
272 const struct attribute_group *grp);
274 const struct attribute_group *grp);
282 const struct attribute_group *grp);
284 const struct attribute_group *grp);
430 const struct attribute_group *grp) in sysfs_create_group() argument
442 const struct attribute_group *grp) in sysfs_update_group() argument
448 const struct attribute_group *grp) in sysfs_remove_group() argument
469 const struct attribute_group *grp) in sysfs_merge_group() argument
475 const struct attribute_group *grp) in sysfs_unmerge_group() argument
Dcred.h79 static inline int in_group_p(kgid_t grp) in in_group_p() argument
83 static inline int in_egroup_p(kgid_t grp) in in_egroup_p() argument
87 static inline int groups_search(const struct group_info *group_info, kgid_t grp) in groups_search() argument
Dattribute_container.h21 const struct attribute_group *grp; member
Dlightnvm.h64 u64 grp : NVM_GEN_CH_BITS; member
450 l.ppa = ((u64)r.m.grp) << lbaf->ch_offset; in generic_to_dev_addr()
479 l.m.grp = (r.ppa & lbaf->ch_mask) >> lbaf->ch_offset; in dev_to_generic_addr()
/linux-4.19.296/virt/kvm/arm/hyp/
Dvgic-v3-sr.c571 static u8 __hyp_text __vgic_v3_pri_to_pre(u8 pri, u32 vmcr, int grp) in __vgic_v3_pri_to_pre() argument
575 if (!grp) in __vgic_v3_pri_to_pre()
589 static void __hyp_text __vgic_v3_set_active_priority(u8 pri, u32 vmcr, int grp) in __vgic_v3_set_active_priority() argument
595 pre = __vgic_v3_pri_to_pre(pri, vmcr, grp); in __vgic_v3_set_active_priority()
599 if (!grp) { in __vgic_v3_set_active_priority()
650 int lr, grp; in __vgic_v3_read_iar() local
652 grp = __vgic_v3_get_group(vcpu); in __vgic_v3_read_iar()
658 if (grp != !!(lr_val & ICH_LR_GROUP)) in __vgic_v3_read_iar()
666 if (__vgic_v3_get_highest_active_priority() <= __vgic_v3_pri_to_pre(lr_prio, vmcr, grp)) in __vgic_v3_read_iar()
674 __vgic_v3_set_active_priority(lr_prio, vmcr, grp); in __vgic_v3_read_iar()
[all …]
/linux-4.19.296/drivers/rtc/
Drtc-core.h43 int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp);
52 int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp) in rtc_add_group() argument
/linux-4.19.296/drivers/pci/controller/
Dpcie-iproc-msi.c324 struct iproc_msi_grp *grp; in iproc_msi_handler() local
332 grp = irq_desc_get_handler_data(desc); in iproc_msi_handler()
333 msi = grp->msi; in iproc_msi_handler()
334 eq = grp->eq; in iproc_msi_handler()
/linux-4.19.296/include/uapi/linux/
Dmroute6.h94 struct sockaddr_in6 grp; member

12