Home
last modified time | relevance | path

Searched refs:css (Results 1 – 25 of 101) sorted by relevance

12345

/linux/drivers/staging/media/ipu3/
A Dipu3-css-fw.c79 &css->fwp->binary_header[css->pipes[pipe].bindex]; in imgu_css_fw_pipeline_params()
105 if (css->fw) in imgu_css_fw_cleanup()
109 css->fw = NULL; in imgu_css_fw_cleanup()
120 r = request_firmware(&css->fw, IMGU_FW_NAME, css->dev); in imgu_css_fw_init()
126 css->fwp = (struct imgu_fw_header *)css->fw->data; in imgu_css_fw_init()
127 if (css->fw->size < struct_size(css->fwp, binary_header, 1) || in imgu_css_fw_init()
131 css->fwp->file_header.binary_nr) > css->fw->size) in imgu_css_fw_init()
135 css->fwp->file_header.version, css->fwp->file_header.binary_nr, in imgu_css_fw_init()
136 css->fw->size); in imgu_css_fw_init()
142 css->fw_bl = -1; in imgu_css_fw_init()
[all …]
A Dipu3-css.c419 &css->fwp->binary_header[css->fw_sp[i]]; in imgu_css_hw_init()
421 writel(css->binary[css->fw_sp[i]].daddr, in imgu_css_hw_init()
472 struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[sp]]; in imgu_css_hw_start_sp()
474 .ddr_data_addr = css->binary[css->fw_sp[sp]].daddr in imgu_css_hw_start_sp()
532 &css->fwp->binary_header[css->fw_sp[j]]; in imgu_css_hw_start()
534 .src_addr = css->binary[css->fw_sp[j]].daddr in imgu_css_hw_start()
562 bi = &css->fwp->binary_header[css->fw_sp[0]]; in imgu_css_hw_start()
593 bi = &css->fwp->binary_header[css->fw_sp[1]]; in imgu_css_hw_start()
610 struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[0]]; in imgu_css_hw_stop()
1509 css->dev = dev; in imgu_css_init()
[all …]
A Dipu3-css.h167 int imgu_css_init(struct device *dev, struct imgu_css *css,
169 void imgu_css_cleanup(struct imgu_css *css);
170 int imgu_css_fmt_try(struct imgu_css *css,
174 int imgu_css_fmt_set(struct imgu_css *css,
179 int imgu_css_buf_queue(struct imgu_css *css, unsigned int pipe,
181 struct imgu_css_buffer *imgu_css_buf_dequeue(struct imgu_css *css);
182 int imgu_css_start_streaming(struct imgu_css *css);
183 void imgu_css_stop_streaming(struct imgu_css *css);
184 bool imgu_css_queue_empty(struct imgu_css *css);
185 bool imgu_css_is_streaming(struct imgu_css *css);
[all …]
A Dipu3.c233 if (!imgu_css_is_streaming(&imgu->css)) in imgu_queue_buffers()
385 imgu_css_stop_streaming(&imgu->css); in imgu_s_stream()
409 r = imgu_css_start_streaming(&imgu->css); in imgu_s_stream()
436 imgu_css_stop_streaming(&imgu->css); in imgu_s_stream()
528 b = imgu_css_buf_dequeue(&imgu->css); in imgu_isr_threaded()
573 if (imgu_css_queue_empty(&imgu->css)) in imgu_isr_threaded()
595 if (imgu_css_irq_ack(&imgu->css) < 0) in imgu_isr()
733 imgu_css_cleanup(&imgu->css); in imgu_pci_probe()
755 imgu_css_cleanup(&imgu->css); in imgu_pci_remove()
784 imgu_css_stop_streaming(&imgu->css); in imgu_suspend()
[all …]
A DMakefile8 ipu3-tables.o ipu3-css-pool.o \
9 ipu3-css-fw.o ipu3-css-params.o \
10 ipu3-css.o ipu3-v4l2.o ipu3.o
/linux/net/core/
A Dnetclassid_cgroup.c18 return css ? container_of(css, struct cgroup_cls_state, css) : NULL; in css_cls_state()
37 return &cs->css; in cgrp_css_alloc()
42 struct cgroup_cls_state *cs = css_cls_state(css); in cgrp_css_online()
51 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free() argument
53 kfree(css_cls_state(css)); in cgrp_css_free()
101 struct cgroup_subsys_state *css; in cgrp_attach() local
104 cgroup_taskset_for_each(p, css, tset) { in cgrp_attach()
105 update_classid_task(p, css_cls_state(css)->classid); in cgrp_attach()
111 return css_cls_state(css)->classid; in read_classid()
117 struct cgroup_cls_state *cs = css_cls_state(css); in write_classid()
[all …]
A Dnetprio_cgroup.c96 int id = css->id; in netprio_prio()
116 int id = css->id; in netprio_set_prio()
136 struct cgroup_subsys_state *css; in cgrp_css_alloc() local
138 css = kzalloc(sizeof(*css), GFP_KERNEL); in cgrp_css_alloc()
139 if (!css) in cgrp_css_alloc()
142 return css; in cgrp_css_alloc()
151 if (css->id > NETPRIO_ID_MAX) in cgrp_css_online()
175 kfree(css); in cgrp_css_free()
180 return css->id; in read_prioidx()
232 struct cgroup_subsys_state *css; in net_prio_attach() local
[all …]
/linux/kernel/cgroup/
A Ddebug.c17 struct cgroup_subsys_state *css = kzalloc(sizeof(*css), GFP_KERNEL); in debug_css_alloc() local
19 if (!css) in debug_css_alloc()
22 return css; in debug_css_alloc()
27 kfree(css); in debug_css_free()
64 css = cset->subsys[ss->id]; in current_css_set_read()
65 if (!css) in current_css_set_read()
68 css, css->id); in current_css_set_read()
218 if (!css) in cgroup_subsys_states_read()
224 if (css->parent) in cgroup_subsys_states_read()
226 css->parent->id); in cgroup_subsys_states_read()
[all …]
A Dlegacy_freezer.c44 struct cgroup_subsys_state css; member
52 return css ? container_of(css, struct freezer, css) : NULL; in css_freezer()
62 return css_freezer(freezer->css.parent); in parent_freezer()
94 return &freezer->css; in freezer_css_alloc()
107 struct freezer *freezer = css_freezer(css); in freezer_css_online()
132 struct freezer *freezer = css_freezer(css); in freezer_css_offline()
146 kfree(css_freezer(css)); in freezer_css_free()
246 struct freezer *freezer = css_freezer(css); in update_if_frozen()
259 css_for_each_child(pos, css) { in update_if_frozen()
271 css_task_iter_start(css, 0, &it); in update_if_frozen()
[all …]
A Dpids.c42 struct cgroup_subsys_state css; member
60 return container_of(css, struct pids_cgroup, css); in css_pids()
65 return css_pids(pids->css.parent); in parent_pids()
80 return &pids->css; in pids_css_alloc()
85 kfree(css_pids(css)); in pids_css_free()
220 struct cgroup_subsys_state *css; in pids_can_fork() local
225 css = cset->subsys[pids_cgrp_id]; in pids_can_fork()
228 pids = css_pids(css); in pids_can_fork()
244 struct cgroup_subsys_state *css; in pids_cancel_fork() local
248 css = cset->subsys[pids_cgrp_id]; in pids_cancel_fork()
[all …]
A Dcgroup.c505 if (css && !css_tryget_online(css)) in cgroup_tryget_css()
509 return css; in cgroup_tryget_css()
567 if (css) in cgroup_e_css()
599 if (css && css_tryget_online(css)) in cgroup_get_e_css()
608 return css; in cgroup_get_e_css()
3005 if (!css || !percpu_ref_is_dying(&css->refcnt)) in cgroup_lock_and_drain_offline()
3587 if (!css) in cgroup_extra_stat_show()
5218 memset(css, 0, sizeof(*css)); in init_and_link_css()
5317 cgroup_idr_replace(&ss->css_idr, css, css->id); in css_create()
5551 css = css->parent; in css_killed_work_fn()
[all …]
A Dcpuset.c204 return css ? container_of(css, struct cpuset, css) : NULL; in css_cs()
997 css_get(&cs->css); in rebuild_root_domains()
1004 css_put(&cs->css); in rebuild_root_domains()
2202 cs = css_cs(css); in cpuset_can_attach()
2261 cs = css_cs(css); in cpuset_attach()
2445 css_get(&cs->css); in cpuset_write_resmask()
2477 css_put(&cs->css); in cpuset_write_resmask()
2605 css_get(&cs->css); in sched_partition_write()
2812 return &cs->css; in cpuset_css_alloc()
3025 if (cgroup_transfer_tasks(parent->css.cgroup, cs->css.cgroup)) { in remove_tasks_in_empty_cpuset()
[all …]
/linux/drivers/s390/cio/
A Dcss.c901 css->id_valid ? css->cssid : 0; in css_generate_pgid()
916 kfree(css); in channel_subsystem_release()
968 ret = css->cm_enabled ? chsc_secm(css, 0) : 0; in cm_enable_store()
971 ret = css->cm_enabled ? 0 : chsc_secm(css, 1); in cm_enable_store()
1018 css = kzalloc(sizeof(*css), GFP_KERNEL); in setup_css()
1019 if (!css) in setup_css()
1033 kfree(css); in setup_css()
1038 ret = chsc_get_cssid_iid(nr, &css->cssid, &css->iid); in setup_css()
1042 css->iid); in setup_css()
1052 css->pseudo_subchannel = kzalloc(sizeof(*css->pseudo_subchannel), in setup_css()
[all …]
A Dchsc.c826 if (!css->chps[i]) in chsc_remove_cmg_attr()
839 if (!css->chps[i]) in chsc_add_cmg_attr()
848 if (!css->chps[i]) in chsc_add_cmg_attr()
919 if (!css->cub_addr1 || !css->cub_addr2) { in chsc_secm()
927 css->cm_enabled = enable; in chsc_secm()
928 if (css->cm_enabled) { in chsc_secm()
929 ret = chsc_add_cmg_attr(css); in chsc_secm()
931 __chsc_do_secm(css, 0); in chsc_secm()
932 css->cm_enabled = 0; in chsc_secm()
935 chsc_remove_cmg_attr(css); in chsc_secm()
[all …]
/linux/include/linux/
A Dcgroup.h323 if (!(css->flags & CSS_NO_REF)) in css_get()
324 percpu_ref_get(&css->refcnt); in css_get()
336 if (!(css->flags & CSS_NO_REF)) in css_get_many()
353 if (!(css->flags & CSS_NO_REF)) in css_tryget()
370 if (!(css->flags & CSS_NO_REF)) in css_tryget_online()
392 return !(css->flags & CSS_NO_REF) && percpu_ref_is_dying(&css->refcnt); in css_is_dying()
403 if (!(css->flags & CSS_NO_REF)) in css_put()
404 percpu_ref_put(&css->refcnt); in css_put()
416 if (!(css->flags & CSS_NO_REF)) in css_put_many()
520 if (likely(css_tryget(css))) in task_get_css()
[all …]
A Dblk-cgroup.h49 struct cgroup_subsys_state css; member
226 css = kthread_blkcg(); in blkcg_css()
227 if (css) in blkcg_css()
228 return css; in blkcg_css()
234 return css ? container_of(css, struct blkcg, css) : NULL; in css_to_blkcg()
279 css = kthread_blkcg(); in blk_cgroup_congested()
280 if (!css) in blk_cgroup_congested()
282 while (css) { in blk_cgroup_congested()
287 css = css->parent; in blk_cgroup_congested()
690 if (!css) { in blkcg_set_fc_appid()
[all …]
A Dmisc_cgroup.h48 struct cgroup_subsys_state css; member
72 static inline struct misc_cg *css_misc(struct cgroup_subsys_state *css) in css_misc() argument
74 return css ? container_of(css, struct misc_cg, css) : NULL; in css_misc()
97 css_put(&cg->css); in put_misc_cg()
A Dcgroup-defs.h577 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft);
581 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
596 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft,
601 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
627 int (*css_online)(struct cgroup_subsys_state *css);
628 void (*css_offline)(struct cgroup_subsys_state *css);
629 void (*css_released)(struct cgroup_subsys_state *css);
630 void (*css_free)(struct cgroup_subsys_state *css);
631 void (*css_reset)(struct cgroup_subsys_state *css);
632 void (*css_rstat_flush)(struct cgroup_subsys_state *css, int cpu);
[all …]
/linux/kernel/sched/
A Dcpuacct.c30 struct cgroup_subsys_state css; member
38 return css ? container_of(css, struct cpuacct, css) : NULL; in css_ca()
49 return css_ca(ca->css.parent); in parent_ca()
65 return &root_cpuacct.css; in cpuacct_css_alloc()
79 return &ca->css; in cpuacct_css_alloc()
92 struct cpuacct *ca = css_ca(css); in cpuacct_css_free()
159 struct cpuacct *ca = css_ca(css); in __cpuusage_read()
172 return __cpuusage_read(css, CPUACCT_STAT_USER); in cpuusage_user_read()
178 return __cpuusage_read(css, CPUACCT_STAT_SYSTEM); in cpuusage_sys_read()
183 return __cpuusage_read(css, CPUACCT_STAT_NSTATS); in cpuusage_read()
[all …]
/linux/tools/cgroup/
A Dmemcg_slabinfo.py36 def find_memcg_ids(css=prog['root_mem_cgroup'].css, prefix=''): argument
37 if not list_empty(css.children.address_of_()):
38 for css in list_for_each_entry('struct cgroup_subsys_state',
39 css.children.address_of_(),
41 name = prefix + '/' + css.cgroup.kn.name.string_().decode('utf-8')
42 memcg = container_of(css, 'struct mem_cgroup', 'css')
43 MEMCGS[css.cgroup.kn.id.value_()] = memcg
44 find_memcg_ids(css, name)
/linux/security/
A Ddevice_cgroup.c43 struct cgroup_subsys_state css; member
50 return s ? container_of(s, struct dev_cgroup, css) : NULL; in css_to_devcgroup()
176 static int devcgroup_online(struct cgroup_subsys_state *css) in devcgroup_online() argument
178 struct dev_cgroup *dev_cgroup = css_to_devcgroup(css); in devcgroup_online()
199 struct dev_cgroup *dev_cgroup = css_to_devcgroup(css); in devcgroup_offline()
220 return &dev_cgroup->css; in devcgroup_css_alloc()
225 struct dev_cgroup *dev_cgroup = css_to_devcgroup(css); in devcgroup_css_free()
544 css_for_each_descendant_pre(pos, &devcg_root->css) { in propagate_exception()
553 if (pos == &devcg_root->css || !is_devcg_online(devcg)) in propagate_exception()
617 if (css_has_online_children(&devcgroup->css)) in devcgroup_update_access()
[all …]
/linux/mm/
A Dhugetlb_cgroup.c73 return hugetlb_cgroup_from_css(h_cg->css.parent); in parent_hugetlb_cgroup()
140 return &h_cgroup->css; in hugetlb_cgroup_css_alloc()
147 h_cgroup = hugetlb_cgroup_from_css(css); in hugetlb_cgroup_css_free()
247 if (!css_tryget(&h_cg->css)) { in __hugetlb_cgroup_charge_cgroup()
258 css_put(&h_cg->css); in __hugetlb_cgroup_charge_cgroup()
265 css_put(&h_cg->css); in __hugetlb_cgroup_charge_cgroup()
330 css_put(&h_cg->css); in __hugetlb_cgroup_uncharge_page()
362 css_put(&h_cg->css); in __hugetlb_cgroup_uncharge_cgroup()
381 !resv->css) in hugetlb_cgroup_uncharge_counter()
386 css_put(resv->css); in hugetlb_cgroup_uncharge_counter()
[all …]
A Dmemcontrol.c422 return &memcg->css; in mem_cgroup_css_from_page()
1016 css = &pos->css; in mem_cgroup_iter()
1019 css = css_next_descendant_pre(css, &root->css); in mem_cgroup_iter()
1020 if (!css) { in mem_cgroup_iter()
1039 if (css == &root->css) in mem_cgroup_iter()
1042 if (css_tryget(css)) in mem_cgroup_iter()
2172 css_put(&old->css); in drain_stock()
4835 css_put(css); in memcg_write_event_control()
5213 return &memcg->css; in mem_cgroup_css_alloc()
5236 css_get(css); in mem_cgroup_css_online()
[all …]
/linux/block/
A Dblk-cgroup.c97 css_put(&blkg->blkcg->css); in __blkg_release()
308 css_put(&blkcg->css); in blkg_create()
795 if (!cgroup_parent(css->cgroup)) in blkcg_rstat_flush()
1133 return &blkcg->css; in blkcg_css_alloc()
1710 struct cgroup_subsys_state *css; in blkcg_maybe_throttle_current() local
1722 css = kthread_blkcg(); in blkcg_maybe_throttle_current()
1723 if (css) in blkcg_maybe_throttle_current()
1724 blkcg = css_to_blkcg(css); in blkcg_maybe_throttle_current()
1848 if (css && css->parent) { in bio_associate_blkg_from_css()
1873 css = &bio_blkcg(bio)->css; in bio_associate_blkg()
[all …]
/linux/drivers/infiniband/hw/hfi1/
A Dfirmware.c411 struct css_header *css; in obtain_one_firmware() local
429 css = (struct css_header *)fdet->fw->data; in obtain_one_firmware()
436 css->header_len, 4 * css->header_len); in obtain_one_firmware()
442 css->size, 4 * css->size); in obtain_one_firmware()
444 css->key_size, 4 * css->key_size); in obtain_one_firmware()
446 css->modulus_size, 4 * css->modulus_size); in obtain_one_firmware()
448 css->exponent_size, 4 * css->exponent_size); in obtain_one_firmware()
462 ret = verify_css_header(dd, css); in obtain_one_firmware()
474 fdet->css_header = css; in obtain_one_firmware()
499 fdet->css_header = css; in obtain_one_firmware()
[all …]

Completed in 83 milliseconds

12345