Home
last modified time | relevance | path

Searched defs:ca (Results 1 – 25 of 142) sorted by relevance

123456

/linux-6.15/fs/bcachefs/
H A Dsb-members.h31 struct bch_dev *ca = bch2_dev_rcu(c, dev); in bch2_dev_idx_is_online() local
85 struct bch_dev *ca = NULL; in __bch2_next_dev_idx() local
107 static inline void bch2_dev_get(struct bch_dev *ca) in bch2_dev_get()
130 static inline void bch2_dev_put(struct bch_dev *ca) in bch2_dev_put()
158 struct bch_dev *ca, in bch2_get_next_online_dev()
179 #define for_each_online_member(c, ca) \ argument
182 #define for_each_rw_member(c, ca) \ argument
185 #define for_each_readable_member(c, ca) \ argument
225 struct bch_dev *ca = bch2_dev_rcu_noerror(c, dev); in bch2_dev_rcu() local
234 struct bch_dev *ca = bch2_dev_rcu_noerror(c, dev); in bch2_dev_tryget_noerror() local
[all …]
H A Dbuckets.h15 static inline u64 sector_to_bucket(const struct bch_dev *ca, sector_t s) in sector_to_bucket()
64 static inline struct bucket_gens *bucket_gens(struct bch_dev *ca) in bucket_gens()
70 static inline u8 *bucket_gen(struct bch_dev *ca, size_t b) in bucket_gen()
79 static inline int bucket_gen_get_rcu(struct bch_dev *ca, size_t b) in bucket_gen_get_rcu()
85 static inline int bucket_gen_get(struct bch_dev *ca, size_t b) in bucket_gen_get()
93 static inline size_t PTR_BUCKET_NR(const struct bch_dev *ca, in PTR_BUCKET_NR()
99 static inline struct bpos PTR_BUCKET_POS(const struct bch_dev *ca, in PTR_BUCKET_POS()
112 static inline struct bucket *PTR_GC_BUCKET(struct bch_dev *ca, in PTR_GC_BUCKET()
215 static inline u64 dev_buckets_free(struct bch_dev *ca, in dev_buckets_free()
225 static inline u64 __dev_buckets_available(struct bch_dev *ca, in __dev_buckets_available()
[all …]
H A Dsuper.c1022 struct bch_dev *ca; in bch2_fs_may_start() local
1235 static void bch2_dev_io_ref_stop(struct bch_dev *ca, int rw) in bch2_dev_io_ref_stop()
1251 static void bch2_dev_free(struct bch_dev *ca) in bch2_dev_free()
1323 static void bch2_dev_unlink(struct bch_dev *ca) in bch2_dev_unlink()
1375 struct bch_dev *ca; in __bch2_dev_alloc() local
1443 struct bch_dev *ca = NULL; in bch2_dev_alloc() local
1503 struct bch_dev *ca; in bch2_dev_attach_bdev() local
1648 int bch2_dev_set_state(struct bch_fs *c, struct bch_dev *ca, in bch2_dev_set_state()
1773 struct bch_dev *ca = NULL; in bch2_dev_add() local
1891 struct bch_dev *ca; in bch2_dev_online() local
[all …]
H A Dbackpointers.h39 static inline struct bpos bp_pos_to_bucket(const struct bch_dev *ca, struct bpos bp_pos) in bp_pos_to_bucket()
46 static inline struct bpos bp_pos_to_bucket_and_offset(const struct bch_dev *ca, struct bpos bp_pos, in bp_pos_to_bucket_and_offset()
57 struct bch_dev *ca = bch2_dev_rcu_noerror(c, bp_pos.inode); in bp_pos_to_bucket_nodev_noerror() local
64 static inline struct bpos bucket_pos_to_bp_noerror(const struct bch_dev *ca, in bucket_pos_to_bp_noerror()
76 static inline struct bpos bucket_pos_to_bp(const struct bch_dev *ca, in bucket_pos_to_bp()
85 static inline struct bpos bucket_pos_to_bp_start(const struct bch_dev *ca, struct bpos bucket) in bucket_pos_to_bp_start()
90 static inline struct bpos bucket_pos_to_bp_end(const struct bch_dev *ca, struct bpos bucket) in bucket_pos_to_bp_end()
H A Dalloc_background.c595 struct bch_dev *ca = NULL; in bch2_alloc_read() local
698 struct bch_dev *ca, in bch2_bucket_do_index()
1242 struct bch_dev *ca, in bch2_check_alloc_hole_freespace()
1558 struct bch_dev *ca = NULL; in bch2_check_alloc_info() local
1823 struct bch_dev *ca, in bch2_discard_one_bucket()
1959 void bch2_dev_do_discards(struct bch_dev *ca) in bch2_dev_do_discards()
1984 struct bch_dev *ca, in bch2_do_discards_fast_one()
2076 struct bch_dev *ca, in invalidate_one_bp()
2104 struct bch_dev *ca, in invalidate_one_bucket_by_bps()
2133 struct bch_dev *ca, in invalidate_one_bucket()
[all …]
H A Dbuckets.c84 struct bch_dev *ca, in bch2_dev_usage_to_text()
119 struct bch_dev *ca = bch2_dev_tryget(c, p.ptr.dev); in bch2_check_fix_ptr() local
303 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in bch2_check_fix_ptrs() local
317 struct bch_dev *ca = bch2_dev_rcu(c, p.ptr.dev); in bch2_check_fix_ptrs() local
599 struct bch_dev *ca = bch2_dev_tryget(c, p.ptr.dev); in bch2_trigger_pointer() local
955 struct bch_dev *ca, u64 b, in __bch2_trans_mark_metadata_bucket()
1035 struct bch_dev *ca, u64 b, in bch2_trans_mark_metadata_bucket()
1059 struct bch_dev *ca, u64 start, u64 end, in bch2_trans_mark_metadata_sectors()
1134 int bch2_trans_mark_dev_sb(struct bch_fs *c, struct bch_dev *ca, in bch2_trans_mark_dev_sb()
1162 bool bch2_is_superblock_bucket(struct bch_dev *ca, u64 b) in bch2_is_superblock_bucket()
[all …]
H A Dchardev.c31 struct bch_dev *ca; in bch2_device_lookup() local
210 struct bch_dev *ca; in bch2_ioctl_disk_remove() local
252 struct bch_dev *ca; in bch2_ioctl_disk_offline() local
277 struct bch_dev *ca; in bch2_ioctl_disk_set_state() local
351 struct bch_dev *ca = bch2_dev_tryget(c, ctx->arg.scrub.dev); in bch2_data_job_read() local
477 struct bch_dev *ca; in bch2_ioctl_dev_usage() local
518 struct bch_dev *ca; in bch2_ioctl_dev_usage_v2() local
567 struct bch_dev *ca = NULL; in bch2_ioctl_read_super() local
628 struct bch_dev *ca; in bch2_ioctl_disk_resize() local
651 struct bch_dev *ca; in bch2_ioctl_disk_resize_journal() local
H A Dalloc_foreground.c103 struct bch_dev *ca = ob_dev(c, ob); in __bch2_open_bucket_put() local
288 struct bch_dev *ca, in bch2_bucket_alloc_early()
381 struct bch_dev *ca, in bch2_bucket_alloc_freelist()
508 struct bch_dev *ca, in bch2_bucket_alloc_trans()
840 struct bch_dev *ca = ob_dev(c, ob); in want_bucket() local
909 struct bch_dev *ca = ob_dev(c, ob); in bucket_alloc_set_partial() local
1057 struct bch_dev *ca, bool ec) in should_drop_bucket()
1431 struct bch_dev *ca = ob_dev(c, ob); in bch2_alloc_sectors_start_trans() local
1479 struct bch_dev *ca = ob_dev(c, ob); in bch2_ob_ptr() local
1555 struct bch_dev *ca = ob_dev(c, ob); in bch2_open_bucket_to_text() local
[all …]
/linux-6.15/drivers/md/bcache/
H A Dalloc.c76 uint8_t bch_inc_gen(struct cache *ca, struct bucket *b) in bch_inc_gen()
88 struct cache *ca; in bch_rescale_priorities() local
178 struct cache *ca = args; in new_bucket_max_cmp() local
187 struct cache *ca = args; in new_bucket_min_cmp() local
192 static void invalidate_buckets_lru(struct cache *ca) in invalidate_buckets_lru()
237 static void invalidate_buckets_fifo(struct cache *ca) in invalidate_buckets_fifo()
286 static void invalidate_buckets(struct cache *ca) in invalidate_buckets()
303 #define allocator_wait(ca, cond) \ argument
340 struct cache *ca = arg; in bch_allocator_thread() local
511 struct cache *ca; in __bch_bucket_alloc_set() local
[all …]
/linux-6.15/net/ipv4/
H A Dtcp_cong.c51 struct tcp_congestion_ops *ca = tcp_ca_find(name); in tcp_ca_find_autoload() local
182 const struct tcp_congestion_ops *ca; in tcp_ca_get_key_by_name() local
200 const struct tcp_congestion_ops *ca; in tcp_ca_get_name_by_key() local
219 const struct tcp_congestion_ops *ca; in tcp_assign_congestion_control() local
250 const struct tcp_congestion_ops *ca) in tcp_reinit_congestion_control()
282 struct tcp_congestion_ops *ca; in tcp_set_default_congestion_control() local
320 struct tcp_congestion_ops *ca; in tcp_get_available_congestion_control() local
338 const struct tcp_congestion_ops *ca; in tcp_get_default_congestion_control() local
349 struct tcp_congestion_ops *ca; in tcp_get_allowed_congestion_control() local
370 struct tcp_congestion_ops *ca; in tcp_set_allowed_congestion_control() local
[all …]
H A Dtcp_htcp.c49 static inline u32 htcp_cong_time(const struct htcp *ca) in htcp_cong_time()
54 static inline u32 htcp_ccount(const struct htcp *ca) in htcp_ccount()
59 static inline void htcp_reset(struct htcp *ca) in htcp_reset()
70 struct htcp *ca = inet_csk_ca(sk); in htcp_cwnd_undo() local
85 struct htcp *ca = inet_csk_ca(sk); in measure_rtt() local
106 struct htcp *ca = inet_csk_ca(sk); in measure_achieved_throughput() local
210 struct htcp *ca = inet_csk_ca(sk); in htcp_param_update() local
225 const struct htcp *ca = inet_csk_ca(sk); in htcp_recalc_ssthresh() local
234 struct htcp *ca = inet_csk_ca(sk); in htcp_cong_avoid() local
259 struct htcp *ca = inet_csk_ca(sk); in htcp_init() local
[all …]
H A Dtcp_illinois.c60 struct illinois *ca = inet_csk_ca(sk); in rtt_reset() local
71 struct illinois *ca = inet_csk_ca(sk); in tcp_illinois_init() local
88 struct illinois *ca = inet_csk_ca(sk); in tcp_illinois_acked() local
114 static inline u32 max_delay(const struct illinois *ca) in max_delay()
120 static inline u32 avg_delay(const struct illinois *ca) in avg_delay()
140 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha()
225 struct illinois *ca = inet_csk_ca(sk); in update_params() local
246 struct illinois *ca = inet_csk_ca(sk); in tcp_illinois_state() local
263 struct illinois *ca = inet_csk_ca(sk); in tcp_illinois_cong_avoid() local
298 struct illinois *ca = inet_csk_ca(sk); in tcp_illinois_ssthresh() local
[all …]
H A Dtcp_dctcp.c81 static void dctcp_reset(const struct tcp_sock *tp, struct dctcp *ca) in dctcp_reset()
96 struct dctcp *ca = inet_csk_ca(sk); in dctcp_init() local
120 struct dctcp *ca = inet_csk_ca(sk); in dctcp_ssthresh() local
130 struct dctcp *ca = inet_csk_ca(sk); in dctcp_update_alpha() local
176 struct dctcp *ca = inet_csk_ca(sk); in dctcp_react_to_loss() local
195 struct dctcp *ca = inet_csk_ca(sk); in dctcp_cwnd_event() local
218 const struct dctcp *ca = inet_csk_ca(sk); in dctcp_get_info() local
245 const struct dctcp *ca = inet_csk_ca(sk); in dctcp_cwnd_undo() local
H A Dtcp_bic.c60 static inline void bictcp_reset(struct bictcp *ca) in bictcp_reset()
72 struct bictcp *ca = inet_csk_ca(sk); in bictcp_init() local
83 static inline void bictcp_update(struct bictcp *ca, u32 cwnd) in bictcp_update()
143 struct bictcp *ca = inet_csk_ca(sk); in bictcp_cong_avoid() local
164 struct bictcp *ca = inet_csk_ca(sk); in bictcp_recalc_ssthresh() local
195 struct bictcp *ca = inet_csk_ca(sk); in bictcp_acked() local
H A Dtcp_cdg.c142 struct cdg *ca = inet_csk_ca(sk); in tcp_cdg_hystart_update() local
190 static s32 tcp_cdg_grad(struct cdg *ca) in tcp_cdg_grad()
243 struct cdg *ca = inet_csk_ca(sk); in tcp_cdg_backoff() local
264 struct cdg *ca = inet_csk_ca(sk); in tcp_cdg_cong_avoid() local
301 struct cdg *ca = inet_csk_ca(sk); in tcp_cdg_acked() local
330 struct cdg *ca = inet_csk_ca(sk); in tcp_cdg_ssthresh() local
347 struct cdg *ca = inet_csk_ca(sk); in tcp_cdg_cwnd_event() local
375 struct cdg *ca = inet_csk_ca(sk); in tcp_cdg_init() local
389 struct cdg *ca = inet_csk_ca(sk); in tcp_cdg_release() local
H A Dtcp_cubic.c107 static inline void bictcp_reset(struct bictcp *ca) in bictcp_reset()
121 struct bictcp *ca = inet_csk_ca(sk); in bictcp_hystart_reset() local
131 struct bictcp *ca = inet_csk_ca(sk); in cubictcp_init() local
145 struct bictcp *ca = inet_csk_ca(sk); in cubictcp_cwnd_event() local
214 static inline void bictcp_update(struct bictcp *ca, u32 cwnd, u32 acked) in bictcp_update()
327 struct bictcp *ca = inet_csk_ca(sk); in cubictcp_cong_avoid() local
344 struct bictcp *ca = inet_csk_ca(sk); in cubictcp_recalc_ssthresh() local
389 struct bictcp *ca = inet_csk_ca(sk); in hystart_update() local
455 struct bictcp *ca = inet_csk_ca(sk); in cubictcp_acked() local
/linux-6.15/drivers/media/pci/mantis/
H A Dmantis_ca.c30 struct mantis_ca *ca = en50221->data; in mantis_ca_read_attr_mem() local
43 struct mantis_ca *ca = en50221->data; in mantis_ca_write_attr_mem() local
56 struct mantis_ca *ca = en50221->data; in mantis_ca_read_cam_ctl() local
69 struct mantis_ca *ca = en50221->data; in mantis_ca_write_cam_ctl() local
82 struct mantis_ca *ca = en50221->data; in mantis_ca_slot_reset() local
98 struct mantis_ca *ca = en50221->data; in mantis_ca_slot_shutdown() local
108 struct mantis_ca *ca = en50221->data; in mantis_ts_control() local
118 struct mantis_ca *ca = en50221->data; in mantis_slot_status() local
136 struct mantis_ca *ca; in mantis_ca_init() local
185 struct mantis_ca *ca = mantis->mantis_ca; in mantis_ca_exit() local
H A Dmantis_hif.c30 static int mantis_hif_sbuf_opdone_wait(struct mantis_ca *ca) in mantis_hif_sbuf_opdone_wait()
47 static int mantis_hif_write_wait(struct mantis_ca *ca) in mantis_hif_write_wait()
77 int mantis_hif_read_mem(struct mantis_ca *ca, u32 addr) in mantis_hif_read_mem()
105 int mantis_hif_write_mem(struct mantis_ca *ca, u32 addr, u8 data) in mantis_hif_write_mem()
134 int mantis_hif_read_iom(struct mantis_ca *ca, u32 addr) in mantis_hif_read_iom()
164 int mantis_hif_write_iom(struct mantis_ca *ca, u32 addr, u8 data) in mantis_hif_write_iom()
192 int mantis_hif_init(struct mantis_ca *ca) in mantis_hif_init()
216 void mantis_hif_exit(struct mantis_ca *ca) in mantis_hif_exit()
H A Dmantis_pcmcia.c30 void mantis_event_cam_plugin(struct mantis_ca *ca) in mantis_event_cam_plugin()
54 void mantis_event_cam_unplug(struct mantis_ca *ca) in mantis_event_cam_unplug()
74 int mantis_pcmcia_init(struct mantis_ca *ca) in mantis_pcmcia_init()
103 void mantis_pcmcia_exit(struct mantis_ca *ca) in mantis_pcmcia_exit()
/linux-6.15/drivers/media/pci/ddbridge/
H A Dddbridge-ci.c36 static int read_attribute_mem(struct dvb_ca_en50221 *ca, in read_attribute_mem()
51 static int write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, in write_attribute_mem()
62 static int read_cam_control(struct dvb_ca_en50221 *ca, in read_cam_control()
83 static int write_cam_control(struct dvb_ca_en50221 *ca, int slot, in write_cam_control()
94 static int slot_reset(struct dvb_ca_en50221 *ca, int slot) in slot_reset()
111 static int slot_shutdown(struct dvb_ca_en50221 *ca, int slot) in slot_shutdown()
120 static int slot_ts_enable(struct dvb_ca_en50221 *ca, int slot) in slot_ts_enable()
180 static int read_attribute_mem_xo2(struct dvb_ca_en50221 *ca, in read_attribute_mem_xo2()
203 static int read_cam_control_xo2(struct dvb_ca_en50221 *ca, in read_cam_control_xo2()
226 static int slot_reset_xo2(struct dvb_ca_en50221 *ca, int slot) in slot_reset_xo2()
[all …]
/linux-6.15/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c176 struct dvb_ca_private *ca; in dvb_ca_private_release() local
942 struct dvb_ca_private *ca = pubca->private; in dvb_ca_en50221_camchange_irq() local
970 struct dvb_ca_private *ca = pubca->private; in dvb_ca_en50221_camready_irq() local
1305 struct dvb_ca_private *ca = data; in dvb_ca_en50221_thread() local
1350 struct dvb_ca_private *ca = dvbdev->priv; in dvb_ca_en50221_io_do_ioctl() local
1451 struct dvb_ca_private *ca = dvbdev->priv; in dvb_ca_en50221_io_write() local
1606 struct dvb_ca_private *ca = dvbdev->priv; in dvb_ca_en50221_io_read() local
1714 struct dvb_ca_private *ca = dvbdev->priv; in dvb_ca_en50221_io_open() local
1775 struct dvb_ca_private *ca = dvbdev->priv; in dvb_ca_en50221_io_release() local
1813 struct dvb_ca_private *ca = dvbdev->priv; in dvb_ca_en50221_io_poll() local
[all …]
/linux-6.15/kernel/sched/
H A Dcpuacct.c42 static inline struct cpuacct *parent_ca(struct cpuacct *ca) in parent_ca()
57 struct cpuacct *ca; in cpuacct_css_alloc() local
87 struct cpuacct *ca = css_ca(css); in cpuacct_css_free() local
94 static u64 cpuacct_cpuusage_read(struct cpuacct *ca, int cpu, in cpuacct_cpuusage_read()
164 struct cpuacct *ca = css_ca(css); in __cpuusage_read() local
194 struct cpuacct *ca = css_ca(css); in cpuusage_write() local
212 struct cpuacct *ca = css_ca(seq_css(m)); in __cpuacct_percpu_seq_show() local
241 struct cpuacct *ca = css_ca(seq_css(m)); in cpuacct_all_seq_show() local
262 struct cpuacct *ca = css_ca(seq_css(sf)); in cpuacct_stats_show() local
337 struct cpuacct *ca; in cpuacct_charge() local
[all …]
/linux-6.15/drivers/media/usb/dvb-usb/
H A Dttusb2.c65 struct dvb_ca_en50221 ca; member
130 static int tt3650_ci_msg_locked(struct dvb_ca_en50221 *ca, u8 cmd, u8 *data, unsigned int write_len… in tt3650_ci_msg_locked()
143 static int tt3650_ci_read_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address) in tt3650_ci_read_attribute_mem()
165 static int tt3650_ci_write_attribute_mem(struct dvb_ca_en50221 *ca, int slot, int address, u8 value) in tt3650_ci_write_attribute_mem()
181 static int tt3650_ci_read_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address) in tt3650_ci_read_cam_control()
201 static int tt3650_ci_write_cam_control(struct dvb_ca_en50221 *ca, int slot, u8 address, u8 value) in tt3650_ci_write_cam_control()
216 static int tt3650_ci_set_video_port(struct dvb_ca_en50221 *ca, int slot, int enable) in tt3650_ci_set_video_port()
240 static int tt3650_ci_slot_shutdown(struct dvb_ca_en50221 *ca, int slot) in tt3650_ci_slot_shutdown()
245 static int tt3650_ci_slot_ts_enable(struct dvb_ca_en50221 *ca, int slot) in tt3650_ci_slot_ts_enable()
250 static int tt3650_ci_slot_reset(struct dvb_ca_en50221 *ca, int slot) in tt3650_ci_slot_reset()
[all …]
/linux-6.15/drivers/ras/
H A Dcec.c142 static void do_spring_cleaning(struct ce_array *ca) in do_spring_cleaning()
186 static int __find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) in __find_elem()
223 static int find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) in find_elem()
234 static void del_elem(struct ce_array *ca, int idx) in del_elem()
245 static u64 del_lru_elem_unlocked(struct ce_array *ca) in del_lru_elem_unlocked()
270 struct ce_array *ca = &ce_arr; in del_lru_elem() local
283 static bool sanity_check(struct ce_array *ca) in sanity_check()
323 struct ce_array *ca = &ce_arr; in cec_add_elem() local
449 struct ce_array *ca = &ce_arr; in array_show() local
/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c59 static void dctcp_reset(const struct tcp_sock *tp, struct bpf_dctcp *ca) in dctcp_reset()
71 struct bpf_dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local
117 struct bpf_dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local
128 struct bpf_dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local
156 struct bpf_dctcp *ca = inet_csk_ca(sk); in dctcp_react_to_loss() local
213 struct bpf_dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local
232 const struct bpf_dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local

123456