/linux-4.4.14/block/ |
D | blk-throttle.c | 55 struct throtl_grp *tg; /* tg this qnode belongs to */ member 169 static inline struct blkcg_gq *tg_to_blkg(struct throtl_grp *tg) in tg_to_blkg() argument 171 return pd_to_blkg(&tg->pd); in tg_to_blkg() 198 struct throtl_grp *tg = sq_to_tg(sq); in sq_to_td() local 200 if (tg) in sq_to_td() 201 return tg->td; in sq_to_td() 233 static void throtl_qnode_init(struct throtl_qnode *qn, struct throtl_grp *tg) in throtl_qnode_init() argument 237 qn->tg = tg; in throtl_qnode_init() 256 blkg_get(tg_to_blkg(qn->tg)); in throtl_qnode_add_bio() 306 *tg_to_put = qn->tg; in throtl_pop_queued() [all …]
|
/linux-4.4.14/kernel/sched/ |
D | auto_group.h | 13 struct task_group *tg; member 20 extern void autogroup_free(struct task_group *tg); 22 static inline bool task_group_is_autogroup(struct task_group *tg) in task_group_is_autogroup() argument 24 return !!tg->autogroup; in task_group_is_autogroup() 27 extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg); 30 autogroup_task_group(struct task_struct *p, struct task_group *tg) in autogroup_task_group() argument 34 if (enabled && task_wants_autogroup(p, tg)) in autogroup_task_group() 35 return p->signal->autogroup->tg; in autogroup_task_group() 37 return tg; in autogroup_task_group() 40 extern int autogroup_path(struct task_group *tg, char *buf, int buflen); [all …]
|
D | auto_group.c | 16 autogroup_default.tg = &root_task_group; in autogroup_init() 22 void autogroup_free(struct task_group *tg) in autogroup_free() argument 24 kfree(tg->autogroup); in autogroup_free() 33 ag->tg->rt_se = NULL; in autogroup_destroy() 34 ag->tg->rt_rq = NULL; in autogroup_destroy() 36 sched_offline_group(ag->tg); in autogroup_destroy() 37 sched_destroy_group(ag->tg); in autogroup_destroy() 68 struct task_group *tg; in autogroup_create() local 73 tg = sched_create_group(&root_task_group); in autogroup_create() 75 if (IS_ERR(tg)) in autogroup_create() [all …]
|
D | rt.c | 140 void free_rt_sched_group(struct task_group *tg) in free_rt_sched_group() argument 144 if (tg->rt_se) in free_rt_sched_group() 145 destroy_rt_bandwidth(&tg->rt_bandwidth); in free_rt_sched_group() 148 if (tg->rt_rq) in free_rt_sched_group() 149 kfree(tg->rt_rq[i]); in free_rt_sched_group() 150 if (tg->rt_se) in free_rt_sched_group() 151 kfree(tg->rt_se[i]); in free_rt_sched_group() 154 kfree(tg->rt_rq); in free_rt_sched_group() 155 kfree(tg->rt_se); in free_rt_sched_group() 158 void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, in init_tg_rt_entry() argument [all …]
|
D | core.c | 806 int tg_nop(struct task_group *tg, void *data) in tg_nop() argument 7697 static void sched_free_group(struct task_group *tg) in sched_free_group() argument 7699 free_fair_sched_group(tg); in sched_free_group() 7700 free_rt_sched_group(tg); in sched_free_group() 7701 autogroup_free(tg); in sched_free_group() 7702 kfree(tg); in sched_free_group() 7708 struct task_group *tg; in sched_create_group() local 7710 tg = kzalloc(sizeof(*tg), GFP_KERNEL); in sched_create_group() 7711 if (!tg) in sched_create_group() 7714 if (!alloc_fair_sched_group(tg, parent)) in sched_create_group() [all …]
|
D | sched.h | 307 extern int tg_nop(struct task_group *tg, void *data); 309 extern void free_fair_sched_group(struct task_group *tg); 310 extern int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent); 311 extern void unregister_fair_sched_group(struct task_group *tg, int cpu); 312 extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq, 316 extern int sched_group_set_shares(struct task_group *tg, unsigned long shares); 322 extern void free_rt_sched_group(struct task_group *tg); 323 extern int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent); 324 extern void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, 329 extern void sched_online_group(struct task_group *tg, [all …]
|
D | fair.c | 295 if (cfs_rq->tg->parent && in list_add_leaf_cfs_rq() 296 cfs_rq->tg->parent->cfs_rq[cpu_of(rq_of(cfs_rq))]->on_list) { in list_add_leaf_cfs_rq() 1121 static long effective_load(struct task_group *tg, int cpu, long wl, long wg); 2362 static inline long calc_tg_weight(struct task_group *tg, struct cfs_rq *cfs_rq) in calc_tg_weight() argument 2371 tg_weight = atomic_long_read(&tg->load_avg); in calc_tg_weight() 2378 static long calc_cfs_shares(struct cfs_rq *cfs_rq, struct task_group *tg) in calc_cfs_shares() argument 2382 tg_weight = calc_tg_weight(tg, cfs_rq); in calc_cfs_shares() 2385 shares = (tg->shares * load); in calc_cfs_shares() 2391 if (shares > tg->shares) in calc_cfs_shares() 2392 shares = tg->shares; in calc_cfs_shares() [all …]
|
D | debug.c | 62 static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group *tg) in print_cfs_group_stats() argument 64 struct sched_entity *se = tg->se[cpu]; in print_cfs_group_stats() 102 static char *task_group_path(struct task_group *tg) in task_group_path() argument 104 if (autogroup_path(tg, group_path, PATH_MAX)) in task_group_path() 107 return cgroup_path(tg->css.cgroup, group_path, PATH_MAX); in task_group_path() 175 SEQ_printf(m, "\ncfs_rq[%d]:%s\n", cpu, task_group_path(cfs_rq->tg)); in print_cfs_rq() 222 atomic_long_read(&cfs_rq->tg->load_avg)); in print_cfs_rq() 233 print_cfs_group_stats(m, cpu, cfs_rq->tg); in print_cfs_rq() 240 SEQ_printf(m, "\nrt_rq[%d]:%s\n", cpu, task_group_path(rt_rq->tg)); in print_rt_rq()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | w100fb.c | 231 struct w100_tg_info *tg = par->mach->tg; in w100fb_blank() local 240 if(tg && tg->suspend) in w100fb_blank() 241 tg->suspend(par); in w100fb_blank() 248 if(tg && tg->resume) in w100fb_blank() 249 tg->resume(par); in w100fb_blank() 409 struct w100_tg_info *tg = par->mach->tg; in w100fb_activate_var() local 425 if (!par->blanked && tg && tg->change) in w100fb_activate_var() 426 tg->change(par); in w100fb_activate_var() 601 struct w100_tg_info *tg = par->mach->tg; in w100fb_suspend() local 604 if(tg && tg->suspend) in w100fb_suspend() [all …]
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_crtc.c | 5871 struct drm_tile_group *tg = container_of(kref, struct drm_tile_group, refcount); in drm_tile_group_free() local 5872 struct drm_device *dev = tg->dev; in drm_tile_group_free() 5874 idr_remove(&dev->mode_config.tile_idr, tg->id); in drm_tile_group_free() 5876 kfree(tg); in drm_tile_group_free() 5887 struct drm_tile_group *tg) in drm_mode_put_tile_group() argument 5889 kref_put(&tg->refcount, drm_tile_group_free); in drm_mode_put_tile_group() 5905 struct drm_tile_group *tg; in drm_mode_get_tile_group() local 5908 idr_for_each_entry(&dev->mode_config.tile_idr, tg, id) { in drm_mode_get_tile_group() 5909 if (!memcmp(tg->group_data, topology, 8)) { in drm_mode_get_tile_group() 5910 if (!kref_get_unless_zero(&tg->refcount)) in drm_mode_get_tile_group() [all …]
|
D | drm_edid.c | 4062 struct drm_tile_group *tg; in drm_parse_display_id() local 4089 tg = drm_mode_get_tile_group(connector->dev, tile->topology_id); in drm_parse_display_id() 4090 if (!tg) { in drm_parse_display_id() 4091 tg = drm_mode_create_tile_group(connector->dev, tile->topology_id); in drm_parse_display_id() 4093 if (!tg) in drm_parse_display_id() 4096 if (connector->tile_group != tg) { in drm_parse_display_id() 4102 connector->tile_group = tg; in drm_parse_display_id() 4105 drm_mode_put_tile_group(connector->dev, tg); in drm_parse_display_id()
|
/linux-4.4.14/include/video/ |
D | w100fb.h | 120 struct w100_tg_info *tg; member
|
/linux-4.4.14/net/netfilter/ |
D | nft_compat.c | 702 static bool nft_target_cmp(const struct xt_target *tg, in nft_target_cmp() argument 705 return strcmp(tg->name, name) == 0 && tg->revision == rev && in nft_target_cmp() 706 (tg->family == NFPROTO_UNSPEC || tg->family == family); in nft_target_cmp()
|
/linux-4.4.14/arch/cris/arch-v32/mach-a3/ |
D | pinmux.c | 122 hwprot.tg = hwprot.tg_clk = regk_pinmux_yes; in crisv32_pinmux_alloc_fixed() 291 hwprot.tg = hwprot.tg_clk = regk_pinmux_no; in crisv32_pinmux_dealloc_fixed()
|
/linux-4.4.14/drivers/hwmon/ |
D | nct6683.c | 397 nct6683_create_attr_group(struct device *dev, struct sensor_template_group *tg, in nct6683_create_attr_group() argument 411 t = tg->templates; in nct6683_create_attr_group() 433 group->is_visible = tg->is_visible; in nct6683_create_attr_group() 436 t = tg->templates; in nct6683_create_attr_group() 439 (*t)->dev_attr.attr.name, tg->base + i); in nct6683_create_attr_group()
|
D | nct6775.c | 1048 nct6775_create_attr_group(struct device *dev, struct sensor_template_group *tg, in nct6775_create_attr_group() argument 1062 t = tg->templates; in nct6775_create_attr_group() 1084 group->is_visible = tg->is_visible; in nct6775_create_attr_group() 1087 t = tg->templates; in nct6775_create_attr_group() 1090 (*t)->dev_attr.attr.name, tg->base + i); in nct6775_create_attr_group()
|
/linux-4.4.14/arch/cris/include/arch-v32/mach-a3/mach/hwregs/ |
D | pinmux_defs.h | 89 unsigned int tg : 1; member
|
/linux-4.4.14/net/nfc/ |
D | core.c | 834 struct nfc_target *tg; in nfc_target_lost() local 842 tg = &dev->targets[i]; in nfc_target_lost() 843 if (tg->idx == target_idx) in nfc_target_lost()
|
/linux-4.4.14/drivers/nfc/ |
D | pn533.c | 319 u8 tg; member 1440 static int pn533_target_found(struct pn533 *dev, u8 tg, u8 *tgdata, in pn533_target_found() argument 1449 if (tg != 1) in pn533_target_found() 1539 u8 nbtg, tg, *tgdata; in pn533_start_poll_complete() local 1546 tg = resp->data[1]; in pn533_start_poll_complete() 1551 rc = pn533_target_found(dev, tg, tgdata, tgdata_len); in pn533_start_poll_complete()
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | hx4700.c | 510 .tg = &w3220_tg_info,
|
D | eseries.c | 867 .tg = &e800_tg_info,
|
/linux-4.4.14/include/drm/ |
D | drm_crtc.h | 1468 struct drm_tile_group *tg);
|