Home
last modified time | relevance | path

Searched refs:css (Results 1 - 25 of 203) sorted by relevance

123456789

/kernel/linux/linux-6.6/drivers/staging/media/ipu3/
H A Dipu3-css-fw.c9 #include "ipu3-css.h"
10 #include "ipu3-css-fw.h"
72 void *imgu_css_fw_pipeline_params(struct imgu_css *css, unsigned int pipe, in imgu_css_fw_pipeline_params() argument
79 &css->fwp->binary_header[css->pipes[pipe].bindex]; in imgu_css_fw_pipeline_params()
94 void imgu_css_fw_cleanup(struct imgu_css *css) in imgu_css_fw_cleanup() argument
96 struct imgu_device *imgu = dev_get_drvdata(css->dev); in imgu_css_fw_cleanup()
98 if (css->binary) { in imgu_css_fw_cleanup()
101 for (i = 0; i < css->fwp->file_header.binary_nr; i++) in imgu_css_fw_cleanup()
102 imgu_dmamap_free(imgu, &css in imgu_css_fw_cleanup()
112 imgu_css_fw_init(struct imgu_css *css) imgu_css_fw_init() argument
[all...]
H A Dipu3-css.c9 #include "ipu3-css.h"
10 #include "ipu3-css-fw.h"
11 #include "ipu3-css-params.h"
173 /******************* css hw *******************/
217 /* Reset the css */ in imgu_css_set_powerup()
298 /* wait for css idle signal */ in imgu_css_set_powerdown()
301 dev_warn(dev, "wait css idle timeout\n"); in imgu_css_set_powerdown()
303 /* do halt-halted handshake with css */ in imgu_css_set_powerdown()
307 dev_warn(dev, "failed to halt css"); in imgu_css_set_powerdown()
313 static void imgu_css_hw_enable_irq(struct imgu_css *css) in imgu_css_hw_enable_irq() argument
361 imgu_css_hw_init(struct imgu_css *css) imgu_css_hw_init() argument
469 imgu_css_hw_start_sp(struct imgu_css *css, int sp) imgu_css_hw_start_sp() argument
500 imgu_css_hw_start(struct imgu_css *css) imgu_css_hw_start() argument
607 imgu_css_hw_stop(struct imgu_css *css) imgu_css_hw_stop() argument
627 imgu_css_hw_cleanup(struct imgu_css *css) imgu_css_hw_cleanup() argument
649 imgu_css_pipeline_cleanup(struct imgu_css *css, unsigned int pipe) imgu_css_pipeline_cleanup() argument
668 imgu_css_pipeline_init(struct imgu_css *css, unsigned int pipe) imgu_css_pipeline_init() argument
1057 imgu_css_queue_pos(struct imgu_css *css, int queue, int thread) imgu_css_queue_pos() argument
1070 imgu_css_queue_data(struct imgu_css *css, int queue, int thread, u32 data) imgu_css_queue_data() argument
1109 imgu_css_dequeue_data(struct imgu_css *css, int queue, u32 *data) imgu_css_dequeue_data() argument
1156 imgu_css_binary_cleanup(struct imgu_css *css, unsigned int pipe) imgu_css_binary_cleanup() argument
1179 imgu_css_binary_preallocate(struct imgu_css *css, unsigned int pipe) imgu_css_binary_preallocate() argument
1214 imgu_css_binary_setup(struct imgu_css *css, unsigned int pipe) imgu_css_binary_setup() argument
1284 imgu_css_start_streaming(struct imgu_css *css) imgu_css_start_streaming() argument
1354 imgu_css_stop_streaming(struct imgu_css *css) imgu_css_stop_streaming() argument
1392 imgu_css_pipe_queue_empty(struct imgu_css *css, unsigned int pipe) imgu_css_pipe_queue_empty() argument
1405 imgu_css_queue_empty(struct imgu_css *css) imgu_css_queue_empty() argument
1416 imgu_css_is_streaming(struct imgu_css *css) imgu_css_is_streaming() argument
1421 imgu_css_map_init(struct imgu_css *css, unsigned int pipe) imgu_css_map_init() argument
1463 imgu_css_pipe_cleanup(struct imgu_css *css, unsigned int pipe) imgu_css_pipe_cleanup() argument
1488 imgu_css_cleanup(struct imgu_css *css) imgu_css_cleanup() argument
1500 imgu_css_init(struct device *dev, struct imgu_css *css, void __iomem *base, int length) imgu_css_init() argument
1548 imgu_css_find_binary(struct imgu_css *css, unsigned int pipe, struct imgu_css_queue queue[IPU3_CSS_QUEUES], struct v4l2_rect rects[IPU3_CSS_RECTS]) imgu_css_find_binary() argument
1672 imgu_css_fmt_try(struct imgu_css *css, struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], struct v4l2_rect *rects[IPU3_CSS_RECTS], unsigned int pipe) imgu_css_fmt_try() argument
1828 imgu_css_fmt_set(struct imgu_css *css, struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], struct v4l2_rect *rects[IPU3_CSS_RECTS], unsigned int pipe) imgu_css_fmt_set() argument
1891 imgu_css_buf_queue(struct imgu_css *css, unsigned int pipe, struct imgu_css_buffer *b) imgu_css_buf_queue() argument
1965 imgu_css_buf_dequeue(struct imgu_css *css) imgu_css_buf_dequeue() argument
2101 imgu_css_set_parameters(struct imgu_css *css, unsigned int pipe, struct ipu3_uapi_params *set_params) imgu_css_set_parameters() argument
2313 imgu_css_irq_ack(struct imgu_css *css) imgu_css_irq_ack() argument
[all...]
H A Dipu3-css.h11 #include "ipu3-css-pool.h"
166 /******************* css v4l *******************/
167 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);
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
H A Dipu3-css-fw.c9 #include "ipu3-css.h"
10 #include "ipu3-css-fw.h"
72 void *imgu_css_fw_pipeline_params(struct imgu_css *css, unsigned int pipe, in imgu_css_fw_pipeline_params() argument
79 &css->fwp->binary_header[css->pipes[pipe].bindex]; in imgu_css_fw_pipeline_params()
94 void imgu_css_fw_cleanup(struct imgu_css *css) in imgu_css_fw_cleanup() argument
96 struct imgu_device *imgu = dev_get_drvdata(css->dev); in imgu_css_fw_cleanup()
98 if (css->binary) { in imgu_css_fw_cleanup()
101 for (i = 0; i < css->fwp->file_header.binary_nr; i++) in imgu_css_fw_cleanup()
102 imgu_dmamap_free(imgu, &css in imgu_css_fw_cleanup()
112 imgu_css_fw_init(struct imgu_css *css) imgu_css_fw_init() argument
[all...]
H A Dipu3-css.c8 #include "ipu3-css.h"
9 #include "ipu3-css-fw.h"
10 #include "ipu3-css-params.h"
186 /******************* css hw *******************/
230 /* Reset the css */ in imgu_css_set_powerup()
311 /* wait for css idle signal */ in imgu_css_set_powerdown()
314 dev_warn(dev, "wait css idle timeout\n"); in imgu_css_set_powerdown()
316 /* do halt-halted handshake with css */ in imgu_css_set_powerdown()
320 dev_warn(dev, "failed to halt css"); in imgu_css_set_powerdown()
326 static void imgu_css_hw_enable_irq(struct imgu_css *css) in imgu_css_hw_enable_irq() argument
374 imgu_css_hw_init(struct imgu_css *css) imgu_css_hw_init() argument
482 imgu_css_hw_start_sp(struct imgu_css *css, int sp) imgu_css_hw_start_sp() argument
513 imgu_css_hw_start(struct imgu_css *css) imgu_css_hw_start() argument
620 imgu_css_hw_stop(struct imgu_css *css) imgu_css_hw_stop() argument
640 imgu_css_hw_cleanup(struct imgu_css *css) imgu_css_hw_cleanup() argument
662 imgu_css_pipeline_cleanup(struct imgu_css *css, unsigned int pipe) imgu_css_pipeline_cleanup() argument
681 imgu_css_pipeline_init(struct imgu_css *css, unsigned int pipe) imgu_css_pipeline_init() argument
1070 imgu_css_queue_pos(struct imgu_css *css, int queue, int thread) imgu_css_queue_pos() argument
1083 imgu_css_queue_data(struct imgu_css *css, int queue, int thread, u32 data) imgu_css_queue_data() argument
1122 imgu_css_dequeue_data(struct imgu_css *css, int queue, u32 *data) imgu_css_dequeue_data() argument
1169 imgu_css_binary_cleanup(struct imgu_css *css, unsigned int pipe) imgu_css_binary_cleanup() argument
1192 imgu_css_binary_preallocate(struct imgu_css *css, unsigned int pipe) imgu_css_binary_preallocate() argument
1227 imgu_css_binary_setup(struct imgu_css *css, unsigned int pipe) imgu_css_binary_setup() argument
1297 imgu_css_start_streaming(struct imgu_css *css) imgu_css_start_streaming() argument
1367 imgu_css_stop_streaming(struct imgu_css *css) imgu_css_stop_streaming() argument
1405 imgu_css_pipe_queue_empty(struct imgu_css *css, unsigned int pipe) imgu_css_pipe_queue_empty() argument
1418 imgu_css_queue_empty(struct imgu_css *css) imgu_css_queue_empty() argument
1429 imgu_css_is_streaming(struct imgu_css *css) imgu_css_is_streaming() argument
1434 imgu_css_map_init(struct imgu_css *css, unsigned int pipe) imgu_css_map_init() argument
1478 imgu_css_pipe_cleanup(struct imgu_css *css, unsigned int pipe) imgu_css_pipe_cleanup() argument
1503 imgu_css_cleanup(struct imgu_css *css) imgu_css_cleanup() argument
1515 imgu_css_init(struct device *dev, struct imgu_css *css, void __iomem *base, int length) imgu_css_init() argument
1563 imgu_css_find_binary(struct imgu_css *css, unsigned int pipe, struct imgu_css_queue queue[IPU3_CSS_QUEUES], struct v4l2_rect rects[IPU3_CSS_RECTS]) imgu_css_find_binary() argument
1687 imgu_css_fmt_try(struct imgu_css *css, struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], struct v4l2_rect *rects[IPU3_CSS_RECTS], unsigned int pipe) imgu_css_fmt_try() argument
1843 imgu_css_fmt_set(struct imgu_css *css, struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], struct v4l2_rect *rects[IPU3_CSS_RECTS], unsigned int pipe) imgu_css_fmt_set() argument
1906 imgu_css_buf_queue(struct imgu_css *css, unsigned int pipe, struct imgu_css_buffer *b) imgu_css_buf_queue() argument
1980 imgu_css_buf_dequeue(struct imgu_css *css) imgu_css_buf_dequeue() argument
2116 imgu_css_set_parameters(struct imgu_css *css, unsigned int pipe, struct ipu3_uapi_params *set_params) imgu_css_set_parameters() argument
2328 imgu_css_irq_ack(struct imgu_css *css) imgu_css_irq_ack() argument
[all...]
H A Dipu3-css.h11 #include "ipu3-css-pool.h"
167 /******************* css v4l *******************/
168 int imgu_css_init(struct device *dev, struct imgu_css *css,
170 void imgu_css_cleanup(struct imgu_css *css);
171 int imgu_css_fmt_try(struct imgu_css *css,
175 int imgu_css_fmt_set(struct imgu_css *css,
180 int imgu_css_buf_queue(struct imgu_css *css, unsigned int pipe,
182 struct imgu_css_buffer *imgu_css_buf_dequeue(struct imgu_css *css);
183 int imgu_css_start_streaming(struct imgu_css *css);
184 void imgu_css_stop_streaming(struct imgu_css *css);
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dcgroup_refcnt.h2 * css_get - obtain a reference on the specified css
3 * @css: target css
8 void css_get(struct cgroup_subsys_state *css) in css_get() argument
10 if (!(css->flags & CSS_NO_REF)) in css_get()
11 percpu_ref_get(&css->refcnt); in css_get()
16 * css_get_many - obtain references on the specified css
17 * @css: target css
23 void css_get_many(struct cgroup_subsys_state *css, unsigne argument
42 css_tryget(struct cgroup_subsys_state *css) css_tryget() argument
61 css_tryget_online(struct cgroup_subsys_state *css) css_tryget_online() argument
76 css_put(struct cgroup_subsys_state *css) css_put() argument
91 css_put_many(struct cgroup_subsys_state *css, unsigned int n) css_put_many() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dstats.c89 struct xchk_scrub_stats *css = &cs->cs_stats[0]; in xchk_stats_format() local
94 for (i = 0; i < XFS_SCRUB_TYPE_NR; i++, css++) { in xchk_stats_format()
101 (unsigned int)css->invocations, in xchk_stats_format()
102 (unsigned int)css->clean, in xchk_stats_format()
103 (unsigned int)css->corrupt, in xchk_stats_format()
104 (unsigned int)css->preen, in xchk_stats_format()
105 (unsigned int)css->xfail, in xchk_stats_format()
106 (unsigned int)css->xcorrupt, in xchk_stats_format()
107 (unsigned int)css->incomplete, in xchk_stats_format()
108 (unsigned int)css in xchk_stats_format()
130 struct xchk_scrub_stats *css = &cs->cs_stats[0]; xchk_stats_estimate_bufsize() local
163 struct xchk_scrub_stats *css = &cs->cs_stats[0]; xchk_stats_clearall() local
186 struct xchk_scrub_stats *css; xchk_stats_merge_one() local
310 struct xchk_scrub_stats *css = &cs->cs_stats[0]; xchk_stats_init() local
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dnetclassid_cgroup.c16 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state() argument
18 return css ? container_of(css, struct cgroup_cls_state, css) : NULL; in css_cls_state()
37 return &cs->css; in cgrp_css_alloc()
40 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() argument
42 struct cgroup_cls_state *cs = css_cls_state(css); in cgrp_css_online()
43 struct cgroup_cls_state *parent = css_cls_state(css->parent); 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()
102 struct cgroup_subsys_state *css; cgrp_attach() local
110 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) read_classid() argument
115 write_classid(struct cgroup_subsys_state *css, struct cftype *cft, u64 value) write_classid() argument
[all...]
H A Dnetprio_cgroup.c30 * css->id. Limiting css ID to 16bits doesn't lose anything.
88 * @css: css part of the target pair
93 static u32 netprio_prio(struct cgroup_subsys_state *css, struct net_device *dev) in netprio_prio() argument
96 int id = css->id; in netprio_prio()
105 * @css: css part of the target pair
109 * Set netprio to @prio on @css-@dev pair. Should be called under rtnl
112 static int netprio_set_prio(struct cgroup_subsys_state *css, in netprio_set_prio() argument
136 struct cgroup_subsys_state *css; cgrp_css_alloc() local
145 cgrp_css_online(struct cgroup_subsys_state *css) cgrp_css_online() argument
173 cgrp_css_free(struct cgroup_subsys_state *css) cgrp_css_free() argument
178 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) read_prioidx() argument
234 struct cgroup_subsys_state *css; net_prio_attach() local
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dnetclassid_cgroup.c16 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state() argument
18 return css ? container_of(css, struct cgroup_cls_state, css) : NULL; in css_cls_state()
37 return &cs->css; in cgrp_css_alloc()
40 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online() argument
42 struct cgroup_cls_state *cs = css_cls_state(css); in cgrp_css_online()
43 struct cgroup_cls_state *parent = css_cls_state(css->parent); 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; cgrp_attach() local
109 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) read_classid() argument
114 write_classid(struct cgroup_subsys_state *css, struct cftype *cft, u64 value) write_classid() argument
[all...]
H A Dnetprio_cgroup.c30 * css->id. Limiting css ID to 16bits doesn't lose anything.
88 * @css: css part of the target pair
93 static u32 netprio_prio(struct cgroup_subsys_state *css, struct net_device *dev) in netprio_prio() argument
96 int id = css->id; in netprio_prio()
105 * @css: css part of the target pair
109 * Set netprio to @prio on @css-@dev pair. Should be called under rtnl
112 static int netprio_set_prio(struct cgroup_subsys_state *css, in netprio_set_prio() argument
136 struct cgroup_subsys_state *css; cgrp_css_alloc() local
145 cgrp_css_online(struct cgroup_subsys_state *css) cgrp_css_online() argument
173 cgrp_css_free(struct cgroup_subsys_state *css) cgrp_css_free() argument
178 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) read_prioidx() argument
232 struct cgroup_subsys_state *css; net_prio_attach() local
[all...]
/kernel/linux/linux-5.10/kernel/cgroup/
H A Dpids.c42 struct cgroup_subsys_state css; member
58 static struct pids_cgroup *css_pids(struct cgroup_subsys_state *css) in css_pids() argument
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()
83 static void pids_css_free(struct cgroup_subsys_state *css) in pids_css_free() argument
85 kfree(css_pids(css)); in pids_css_free()
220 struct cgroup_subsys_state *css; in pids_can_fork() local
225 css in pids_can_fork()
244 struct cgroup_subsys_state *css; pids_cancel_fork() local
265 struct cgroup_subsys_state *css = of_css(of); pids_max_write() local
294 struct cgroup_subsys_state *css = seq_css(sf); pids_max_show() local
306 pids_current_read(struct cgroup_subsys_state *css, struct cftype *cft) pids_current_read() argument
[all...]
H A Dlegacy_freezer.c44 struct cgroup_subsys_state css; member
50 static inline struct freezer *css_freezer(struct cgroup_subsys_state *css) in css_freezer() argument
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()
98 * freezer_css_online - commit creation of a freezer css
99 * @css: css bein
105 freezer_css_online(struct cgroup_subsys_state *css) freezer_css_online() argument
130 freezer_css_offline(struct cgroup_subsys_state *css) freezer_css_offline() argument
144 freezer_css_free(struct cgroup_subsys_state *css) freezer_css_free() argument
244 update_if_frozen(struct cgroup_subsys_state *css) update_if_frozen() argument
293 struct cgroup_subsys_state *css = seq_css(m), *pos; freezer_read() local
437 freezer_self_freezing_read(struct cgroup_subsys_state *css, struct cftype *cft) freezer_self_freezing_read() argument
445 freezer_parent_freezing_read(struct cgroup_subsys_state *css, struct cftype *cft) freezer_parent_freezing_read() argument
[all...]
H 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()
25 static void debug_css_free(struct cgroup_subsys_state *css) in debug_css_free() argument
27 kfree(css); in debug_css_free()
34 static u64 debug_taskcount_read(struct cgroup_subsys_state *css, in debug_taskcount_read() argument
37 return cgroup_task_count(css->cgroup); in debug_taskcount_read()
45 struct cgroup_subsys_state *css; in current_css_set_read() local
61 * Print the css'e in current_css_set_read()
76 current_css_set_refcount_read(struct cgroup_subsys_state *css, struct cftype *cft) current_css_set_refcount_read() argument
116 struct cgroup_subsys_state *css = seq_css(seq); cgroup_css_links_read() local
208 struct cgroup_subsys_state *css; cgroup_subsys_states_read() local
271 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) releasable_read() argument
[all...]
H A Dcgroup.c101 * against file removal/re-creation across css hiding.
221 static void kill_css(struct cgroup_subsys_state *css);
222 static int cgroup_addrm_files(struct cgroup_subsys_state *css,
450 * cgroup_css - obtain a cgroup's css for the specified subsystem
454 * Return @cgrp's css (cgroup_subsys_state) associated with @ss. This
456 * the caller is responsible for pinning the returned css if it wants to
471 * cgroup_tryget_css - try to get a cgroup's css for the specified subsystem
475 * Find and get @cgrp's css assocaited with @ss. If the css doesn't exist
481 struct cgroup_subsys_state *css; in cgroup_tryget_css() local
539 struct cgroup_subsys_state *css; cgroup_e_css() local
566 struct cgroup_subsys_state *css; cgroup_get_e_css() local
915 css_set_hash(struct cgroup_subsys_state *css[]) css_set_hash() argument
1243 struct cgroup_subsys_state *css = cset->subsys[ssid]; find_css_set() local
1626 struct cgroup_subsys_state *css = cgroup_css(cgrp, cft->ss); cgroup_rm_file() local
1643 css_clear_dir(struct cgroup_subsys_state *css) css_clear_dir() argument
1672 css_populate_dir(struct cgroup_subsys_state *css) css_populate_dir() argument
1759 struct cgroup_subsys_state *css = cgroup_css(scgrp, ss); rebind_subsystems() local
3043 struct cgroup_subsys_state *css = cgroup_css(dsct, ss); cgroup_for_each_live_descendant_post() local
3124 css_visible(struct cgroup_subsys_state *css) css_visible() argument
3158 struct cgroup_subsys_state *css = cgroup_css(dsct, ss); cgroup_apply_control_enable() local
3204 struct cgroup_subsys_state *css = cgroup_css(dsct, ss); cgroup_apply_control_disable() local
3621 struct cgroup_subsys_state *css; cgroup_extra_stat_show() local
3818 struct cgroup_subsys_state *css; cgroup_file_write() local
3894 struct cgroup_subsys_state *css = seq_css(m); cgroup_seqfile_show() local
3949 cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, struct cftype *cft) cgroup_add_file() argument
3997 cgroup_addrm_files(struct cgroup_subsys_state *css, struct cgroup *cgrp, struct cftype cfts[], bool is_add) cgroup_addrm_files() argument
4039 struct cgroup_subsys_state *css; cgroup_apply_cftypes() local
4456 css_has_online_children(struct cgroup_subsys_state *css) css_has_online_children() argument
4654 css_task_iter_start(struct cgroup_subsys_state *css, unsigned int flags, struct css_task_iter *it) css_task_iter_start() argument
5048 struct cgroup_subsys_state *css = container_of(to_rcu_work(work), css_free_rwork_fn() local
5098 struct cgroup_subsys_state *css = css_release_work_fn() local
5155 struct cgroup_subsys_state *css = css_release() local
5162 init_and_link_css(struct cgroup_subsys_state *css, struct cgroup_subsys *ss, struct cgroup *cgrp) init_and_link_css() argument
5191 online_css(struct cgroup_subsys_state *css) online_css() argument
5212 offline_css(struct cgroup_subsys_state *css) offline_css() argument
5244 struct cgroup_subsys_state *css; css_create() local
5505 struct cgroup_subsys_state *css = css_killed_work_fn() local
5523 struct cgroup_subsys_state *css = css_killed_ref_fn() local
5541 kill_css(struct cgroup_subsys_state *css) kill_css() argument
5603 struct cgroup_subsys_state *css; global() variable
5697 struct cgroup_subsys_state *css; cgroup_init_subsys() local
5825 struct cgroup_subsys_state *css = cgroup_init() local
6014 struct cgroup_subsys_state *css; cgroup_get_from_file() local
6396 struct cgroup_subsys_state *css = NULL; css_tryget_online_from_dir() local
[all...]
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dcss.c28 #include "css.h"
327 return sprintf(buf, "css:t%01X\n", sch->st); in modalias_show()
867 css_generate_pgid(struct channel_subsystem *css, u32 tod_high) in css_generate_pgid() argument
872 css->global_pgid.pgid_high.ext_cssid.version = 0x80; in css_generate_pgid()
873 css->global_pgid.pgid_high.ext_cssid.cssid = in css_generate_pgid()
874 css->id_valid ? css->cssid : 0; in css_generate_pgid()
876 css->global_pgid.pgid_high.cpu_addr = stap(); in css_generate_pgid()
879 css->global_pgid.cpu_id = cpu_id.ident; in css_generate_pgid()
880 css in css_generate_pgid()
886 struct channel_subsystem *css = to_css(dev); channel_subsystem_release() local
895 struct channel_subsystem *css = to_css(dev); real_cssid_show() local
907 struct channel_subsystem *css = to_css(dev); cm_enable_show() local
919 struct channel_subsystem *css = to_css(dev); cm_enable_store() local
975 struct channel_subsystem *css; setup_css() local
1045 struct channel_subsystem *css; css_reboot_event() local
1073 struct channel_subsystem *css; css_power_event() local
1281 struct channel_subsystem *css = channel_subsystems[i]; css_bus_init() local
1297 struct channel_subsystem *css; css_bus_cleanup() local
[all...]
/kernel/linux/linux-6.6/kernel/cgroup/
H A Dlegacy_freezer.c45 struct cgroup_subsys_state css; member
51 static inline struct freezer *css_freezer(struct cgroup_subsys_state *css) in css_freezer() argument
53 return css ? container_of(css, struct freezer, css) : NULL; in css_freezer()
63 return css_freezer(freezer->css.parent); in parent_freezer()
101 return &freezer->css; in freezer_css_alloc()
105 * freezer_css_online - commit creation of a freezer css
106 * @css: css bein
112 freezer_css_online(struct cgroup_subsys_state *css) freezer_css_online() argument
139 freezer_css_offline(struct cgroup_subsys_state *css) freezer_css_offline() argument
155 freezer_css_free(struct cgroup_subsys_state *css) freezer_css_free() argument
256 update_if_frozen(struct cgroup_subsys_state *css) update_if_frozen() argument
297 struct cgroup_subsys_state *css = seq_css(m), *pos; freezer_read() local
443 freezer_self_freezing_read(struct cgroup_subsys_state *css, struct cftype *cft) freezer_self_freezing_read() argument
451 freezer_parent_freezing_read(struct cgroup_subsys_state *css, struct cftype *cft) freezer_parent_freezing_read() argument
[all...]
H 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()
25 static void debug_css_free(struct cgroup_subsys_state *css) in debug_css_free() argument
27 kfree(css); in debug_css_free()
34 static u64 debug_taskcount_read(struct cgroup_subsys_state *css, in debug_taskcount_read() argument
37 return cgroup_task_count(css->cgroup); in debug_taskcount_read()
45 struct cgroup_subsys_state *css; in current_css_set_read() local
61 * Print the css'e in current_css_set_read()
76 current_css_set_refcount_read(struct cgroup_subsys_state *css, struct cftype *cft) current_css_set_refcount_read() argument
116 struct cgroup_subsys_state *css = seq_css(seq); cgroup_css_links_read() local
208 struct cgroup_subsys_state *css; cgroup_subsys_states_read() local
271 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) releasable_read() argument
[all...]
H A Dpids.c42 struct cgroup_subsys_state css; member
59 static struct pids_cgroup *css_pids(struct cgroup_subsys_state *css) in css_pids() argument
61 return container_of(css, struct pids_cgroup, css); in css_pids()
66 return css_pids(pids->css.parent); in parent_pids()
81 return &pids->css; in pids_css_alloc()
84 static void pids_css_free(struct cgroup_subsys_state *css) in pids_css_free() argument
86 kfree(css_pids(css)); in pids_css_free()
240 struct cgroup_subsys_state *css; in pids_can_fork() local
245 css in pids_can_fork()
264 struct cgroup_subsys_state *css; pids_cancel_fork() local
285 struct cgroup_subsys_state *css = of_css(of); pids_max_write() local
314 struct cgroup_subsys_state *css = seq_css(sf); pids_max_show() local
326 pids_current_read(struct cgroup_subsys_state *css, struct cftype *cft) pids_current_read() argument
334 pids_peak_read(struct cgroup_subsys_state *css, struct cftype *cft) pids_peak_read() argument
[all...]
H A Dcgroup.c110 * against file removal/re-creation across css hiding.
247 static void kill_css(struct cgroup_subsys_state *css);
248 static int cgroup_addrm_files(struct cgroup_subsys_state *css,
475 * cgroup_css - obtain a cgroup's css for the specified subsystem
479 * Return @cgrp's css (cgroup_subsys_state) associated with @ss. This
481 * the caller is responsible for pinning the returned css if it wants to
496 * cgroup_e_css_by_mask - obtain a cgroup's effective css for the specified ss
500 * Similar to cgroup_css() but returns the effective css, which is defined
501 * as the matching css of the nearest ancestor including self which has @ss
503 * function is guaranteed to return non-NULL css
542 struct cgroup_subsys_state *css; cgroup_e_css() local
572 struct cgroup_subsys_state *css; cgroup_get_e_css() local
910 css_set_hash(struct cgroup_subsys_state **css) css_set_hash() argument
1238 struct cgroup_subsys_state *css = cset->subsys[ssid]; find_css_set() local
1661 struct cgroup_subsys_state *css = cgroup_css(cgrp, cft->ss); cgroup_rm_file() local
1678 css_clear_dir(struct cgroup_subsys_state *css) css_clear_dir() argument
1711 css_populate_dir(struct cgroup_subsys_state *css) css_populate_dir() argument
1806 struct cgroup_subsys_state *css = cgroup_css(scgrp, ss); rebind_subsystems() local
3065 struct cgroup_subsys_state *css = cgroup_css(dsct, ss); cgroup_for_each_live_descendant_post() local
3146 css_visible(struct cgroup_subsys_state *css) css_visible() argument
3180 struct cgroup_subsys_state *css = cgroup_css(dsct, ss); cgroup_apply_control_enable() local
3226 struct cgroup_subsys_state *css = cgroup_css(dsct, ss); cgroup_apply_control_disable() local
3647 struct cgroup_subsys_state *css; cgroup_tryget_css() local
3662 struct cgroup_subsys_state *css; cgroup_extra_stat_show() local
3681 struct cgroup_subsys_state *css; cgroup_local_stat_show() local
3959 struct cgroup_subsys_state *css; cgroup_kill() local
4043 struct cgroup_subsys_state *css; cgroup_file_write() local
4119 struct cgroup_subsys_state *css = seq_css(m); cgroup_seqfile_show() local
4174 cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp, struct cftype *cft) cgroup_add_file() argument
4222 cgroup_addrm_files(struct cgroup_subsys_state *css, struct cgroup *cgrp, struct cftype cfts[], bool is_add) cgroup_addrm_files() argument
4264 struct cgroup_subsys_state *css; cgroup_apply_cftypes() local
4711 css_has_online_children(struct cgroup_subsys_state *css) css_has_online_children() argument
4909 css_task_iter_start(struct cgroup_subsys_state *css, unsigned int flags, struct css_task_iter *it) css_task_iter_start() argument
5334 struct cgroup_subsys_state *css = container_of(to_rcu_work(work), css_free_rwork_fn() local
5384 struct cgroup_subsys_state *css = css_release_work_fn() local
5438 struct cgroup_subsys_state *css = css_release() local
5445 init_and_link_css(struct cgroup_subsys_state *css, struct cgroup_subsys *ss, struct cgroup *cgrp) init_and_link_css() argument
5474 online_css(struct cgroup_subsys_state *css) online_css() argument
5495 offline_css(struct cgroup_subsys_state *css) offline_css() argument
5527 struct cgroup_subsys_state *css; css_create() local
5774 struct cgroup_subsys_state *css = css_killed_work_fn() local
5792 struct cgroup_subsys_state *css = css_killed_ref_fn() local
5810 kill_css(struct cgroup_subsys_state *css) kill_css() argument
5872 struct cgroup_subsys_state *css; global() variable
5966 struct cgroup_subsys_state *css; cgroup_init_subsys() local
6089 struct cgroup_subsys_state *css = cgroup_init() local
6328 struct cgroup_subsys_state *css; cgroup_v1v2_get_from_file() local
6769 struct cgroup_subsys_state *css = NULL; css_tryget_online_from_dir() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dcgroup.h99 bool css_has_online_children(struct cgroup_subsys_state *css);
147 struct cgroup_subsys_state *css);
150 struct cgroup_subsys_state *css);
157 void css_task_iter_start(struct cgroup_subsys_state *css, unsigned int flags,
163 * css_for_each_child - iterate through children of a css
164 * @pos: the css * to use as the loop cursor
165 * @parent: css whose children to walk
170 * css which finished ->css_online() is guaranteed to be visible in the
172 * A css which hasn't finished ->css_online() or already finished
178 * the start of the next iteration by, for example, bumping the css refcn
322 css_get(struct cgroup_subsys_state *css) css_get() argument
335 css_get_many(struct cgroup_subsys_state *css, unsigned int n) css_get_many() argument
352 css_tryget(struct cgroup_subsys_state *css) css_tryget() argument
369 css_tryget_online(struct cgroup_subsys_state *css) css_tryget_online() argument
391 css_is_dying(struct cgroup_subsys_state *css) css_is_dying() argument
402 css_put(struct cgroup_subsys_state *css) css_put() argument
415 css_put_many(struct cgroup_subsys_state *css, unsigned int n) css_put_many() argument
511 struct cgroup_subsys_state *css; task_get_css() local
707 css_get(struct cgroup_subsys_state *css) css_get() argument
708 css_put(struct cgroup_subsys_state *css) css_put() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dcss.c27 #include "css.h"
333 return sprintf(buf, "css:t%01X\n", sch->st); in modalias_show()
862 css_generate_pgid(struct channel_subsystem *css, u32 tod_high) in css_generate_pgid() argument
867 css->global_pgid.pgid_high.ext_cssid.version = 0x80; in css_generate_pgid()
868 css->global_pgid.pgid_high.ext_cssid.cssid = in css_generate_pgid()
869 css->id_valid ? css->cssid : 0; in css_generate_pgid()
871 css->global_pgid.pgid_high.cpu_addr = stap(); in css_generate_pgid()
874 css->global_pgid.cpu_id = cpu_id.ident; in css_generate_pgid()
875 css in css_generate_pgid()
881 struct channel_subsystem *css = to_css(dev); channel_subsystem_release() local
890 struct channel_subsystem *css = to_css(dev); real_cssid_show() local
914 struct channel_subsystem *css = to_css(dev); cm_enable_show() local
926 struct channel_subsystem *css = to_css(dev); cm_enable_store() local
983 struct channel_subsystem *css; setup_css() local
1056 struct channel_subsystem *css; css_reboot_event() local
1234 struct channel_subsystem *css = channel_subsystems[i]; css_bus_init() local
1250 struct channel_subsystem *css; css_bus_cleanup() local
[all...]
/kernel/linux/linux-5.10/kernel/sched/
H A Dcpuacct.c26 struct cgroup_subsys_state css; member
32 static inline struct cpuacct *css_ca(struct cgroup_subsys_state *css) in css_ca() argument
34 return css ? container_of(css, struct cpuacct, css) : NULL; in css_ca()
45 return css_ca(ca->css.parent); in parent_ca()
61 return &root_cpuacct.css; in cpuacct_css_alloc()
75 return &ca->css; in cpuacct_css_alloc()
86 static void cpuacct_css_free(struct cgroup_subsys_state *css) in cpuacct_css_free() argument
88 struct cpuacct *ca = css_ca(css); in cpuacct_css_free()
161 __cpuusage_read(struct cgroup_subsys_state *css, enum cpuacct_stat_index index) __cpuusage_read() argument
174 cpuusage_user_read(struct cgroup_subsys_state *css, struct cftype *cft) cpuusage_user_read() argument
180 cpuusage_sys_read(struct cgroup_subsys_state *css, struct cftype *cft) cpuusage_sys_read() argument
186 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) cpuusage_read() argument
191 cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val) cpuusage_write() argument
[all...]
/kernel/linux/linux-6.6/kernel/sched/
H A Dcpuacct.c25 struct cgroup_subsys_state css; member
31 static inline struct cpuacct *css_ca(struct cgroup_subsys_state *css) in css_ca() argument
33 return css ? container_of(css, struct cpuacct, css) : NULL; in css_ca()
44 return css_ca(ca->css.parent); in parent_ca()
60 return &root_cpuacct.css; in cpuacct_css_alloc()
74 return &ca->css; in cpuacct_css_alloc()
85 static void cpuacct_css_free(struct cgroup_subsys_state *css) in cpuacct_css_free() argument
87 struct cpuacct *ca = css_ca(css); in cpuacct_css_free()
161 __cpuusage_read(struct cgroup_subsys_state *css, enum cpuacct_stat_index index) __cpuusage_read() argument
174 cpuusage_user_read(struct cgroup_subsys_state *css, struct cftype *cft) cpuusage_user_read() argument
180 cpuusage_sys_read(struct cgroup_subsys_state *css, struct cftype *cft) cpuusage_sys_read() argument
186 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) cpuusage_read() argument
191 cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val) cpuusage_write() argument
[all...]

Completed in 25 milliseconds

123456789