Home
last modified time | relevance | path

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

/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py198 ri.cw.p(line)
218 ri.cw.p(f"{member}{spc}{ptr}{self.c_name};")
222 ri.cw.p(one + ';')
227 def attr_policy(self, cw): argument
234 cw.p(f"\t[{self.enum_name}] = {spec},")
239 def attr_typol(self, cw): argument
241 cw.p(f'[{self.enum_name}] = {"{"} .name = "{self.name}", {typol}{"}"},')
246 ri.cw.p(f"if ({var}->_{presence}.{self.c_name})")
247 ri.cw.p(f"{line};")
267 ri.cw.block_start(line=f"{kw} (type == {self.enum_name})")
[all …]
/linux/tools/perf/util/
H A Ddata-convert-bt.c151 static __maybe_unused int value_set_##_name(struct ctf_writer *cw, \
156 struct bt_ctf_field_type *type = cw->data._name; \
170 value_set_string(struct ctf_writer *cw, struct bt_ctf_event *event, in value_set_string() argument
173 struct bt_ctf_field_type *type = cw->data.string; in value_set_string()
199 get_tracepoint_field_type(struct ctf_writer *cw, struct tep_format_field *field) in get_tracepoint_field_type() argument
204 return cw->data.string; in get_tracepoint_field_type()
209 return cw->data.u64_hex; in get_tracepoint_field_type()
214 return cw->data.s64; in get_tracepoint_field_type()
216 return cw->data.s32; in get_tracepoint_field_type()
220 return cw in get_tracepoint_field_type()
300 add_tracepoint_field_value(struct ctf_writer * cw,struct bt_ctf_event_class * event_class,struct bt_ctf_event * event,struct perf_sample * sample,struct tep_format_field * fmtf) add_tracepoint_field_value() argument
412 add_tracepoint_fields_values(struct ctf_writer * cw,struct bt_ctf_event_class * event_class,struct bt_ctf_event * event,struct tep_format_field * fields,struct perf_sample * sample) add_tracepoint_fields_values() argument
430 add_tracepoint_values(struct ctf_writer * cw,struct bt_ctf_event_class * event_class,struct bt_ctf_event * event,struct evsel * evsel,struct perf_sample * sample) add_tracepoint_values() argument
603 add_generic_values(struct ctf_writer * cw,struct bt_ctf_event * event,struct evsel * evsel,struct perf_sample * sample) add_generic_values() argument
698 ctf_stream__create(struct ctf_writer * cw,int cpu) ctf_stream__create() argument
761 ctf_stream(struct ctf_writer * cw,int cpu) ctf_stream() argument
773 get_sample_cpu(struct ctf_writer * cw,struct perf_sample * sample,struct evsel * evsel) get_sample_cpu() argument
811 struct ctf_writer *cw = &c->writer; process_sample_event() local
1033 add_tracepoint_fields_types(struct ctf_writer * cw,struct tep_format_field * fields,struct bt_ctf_event_class * event_class) add_tracepoint_fields_types() argument
1076 add_tracepoint_types(struct ctf_writer * cw,struct evsel * evsel,struct bt_ctf_event_class * class) add_tracepoint_types() argument
1092 add_bpf_output_types(struct ctf_writer * cw,struct bt_ctf_event_class * class) add_bpf_output_types() argument
1111 add_generic_types(struct ctf_writer * cw,struct evsel * evsel,struct bt_ctf_event_class * event_class) add_generic_types() argument
1177 add_event(struct ctf_writer * cw,struct evsel * evsel) add_event() argument
1226 setup_events(struct ctf_writer * cw,struct perf_session * session) setup_events() argument
1351 setup_streams(struct ctf_writer * cw,struct perf_session * session) setup_streams() argument
1374 free_streams(struct ctf_writer * cw) free_streams() argument
1384 ctf_writer__setup_env(struct ctf_writer * cw,struct perf_session * session) ctf_writer__setup_env() argument
1413 struct ctf_writer *cw = &c->writer; process_feature_event() local
1454 ctf_writer__setup_clock(struct ctf_writer * cw,struct perf_session * session,bool tod) ctf_writer__setup_clock() argument
1522 ctf_writer__cleanup_data(struct ctf_writer * cw) ctf_writer__cleanup_data() argument
1530 ctf_writer__init_data(struct ctf_writer * cw) ctf_writer__init_data() argument
1556 ctf_writer__cleanup(struct ctf_writer * cw) ctf_writer__cleanup() argument
1569 ctf_writer__init(struct ctf_writer * cw,const char * path,struct perf_session * session,bool tod) ctf_writer__init() argument
1642 ctf_writer__flush_streams(struct ctf_writer * cw) ctf_writer__flush_streams() argument
1672 struct ctf_writer *cw = &c.writer; bt_convert__perf2ctf() local
[all...]
/linux/net/netfilter/ipvs/
H A Dip_vs_wrr.c61 int cw; /* current weight */ member
119 mark->cw = mark->mw; in ip_vs_wrr_init_svc()
146 if (mark->cw > mark->mw || !mark->cw) in ip_vs_wrr_dest_changed()
147 mark->cw = mark->mw; in ip_vs_wrr_dest_changed()
149 mark->cw = (mark->cw / mark->di) * mark->di + 1; in ip_vs_wrr_dest_changed()
180 atomic_read(&dest->weight) >= mark->cw) in ip_vs_wrr_schedule()
185 mark->cw -= mark->di; in ip_vs_wrr_schedule()
186 if (mark->cw <= 0) { in ip_vs_wrr_schedule()
187 mark->cw = mark->mw; in ip_vs_wrr_schedule()
199 last_pass = mark->cw <= mark->di; in ip_vs_wrr_schedule()
/linux/drivers/md/
H A Ddm-zoned-target.c395 static void dmz_handle_bio(struct dmz_target *dmz, struct dm_chunk_work *cw, in dmz_handle_bio() argument
457 static inline void dmz_get_chunk_work(struct dm_chunk_work *cw) in dmz_get_chunk_work() argument
459 refcount_inc(&cw->refcount); in dmz_get_chunk_work()
466 static void dmz_put_chunk_work(struct dm_chunk_work *cw) in dmz_put_chunk_work() argument
468 if (refcount_dec_and_test(&cw->refcount)) { in dmz_put_chunk_work()
469 WARN_ON(!bio_list_empty(&cw->bio_list)); in dmz_put_chunk_work()
470 radix_tree_delete(&cw->target->chunk_rxtree, cw->chunk); in dmz_put_chunk_work()
471 kfree(cw); in dmz_put_chunk_work()
480 struct dm_chunk_work *cw = container_of(work, struct dm_chunk_work, work); in dmz_chunk_work() local
481 struct dmz_target *dmz = cw->target; in dmz_chunk_work()
[all …]
/linux/drivers/pps/clients/
H A Dpps_parport.c42 unsigned int cw; /* port clear timeout */ member
64 if (dev->cw == 0) in parport_irq()
89 for (i = dev->cw; i; i--) in parport_irq()
103 dev->cw = 0; in parport_irq()
180 device->cw = clear_wait; in parport_attach()
/linux/drivers/spi/
H A Dspi-qpic-snand.c459 static void qcom_spi_set_read_loc(struct qcom_nand_controller *snandc, int cw, int reg, in qcom_spi_set_read_loc() argument
465 if (cw == (num_cw - 1)) in qcom_spi_set_read_loc()
470 if (cw == (num_cw - 1)) in qcom_spi_set_read_loc()
479 qcom_spi_config_cw_read(struct qcom_nand_controller *snandc, bool use_ecc, int cw) in qcom_spi_config_cw_read() argument
485 if (cw == (num_cw - 1)) { in qcom_spi_config_cw_read()
536 bool use_ecc, int cw) in qcom_spi_config_single_cw_page_read() argument
549 if (cw == (num_cw - 1)) { in qcom_spi_config_single_cw_page_read()
708 u8 *oob_buf, int cw) in qcom_spi_read_cw_raw() argument
714 int raw_cw = cw; in qcom_spi_read_cw_raw()
729 col = ecc_cfg->cw_size * cw; in qcom_spi_read_cw_raw()
[all …]
/linux/fs/ceph/
H A Ddebugfs.c303 struct cap_wait *cw; in caps_show() local
336 list_for_each_entry(cw, &mdsc->cap_wait_list, list) { in caps_show()
337 seq_printf(s, "%-13d0x%-17llx%-17s%-17s\n", cw->tgid, cw->ino, in caps_show()
338 ceph_cap_string(cw->need), in caps_show()
339 ceph_cap_string(cw->want)); in caps_show()
H A Dcaps.c3068 struct cap_wait cw; in __ceph_get_caps() local
3073 cw.ino = ceph_ino(inode); in __ceph_get_caps()
3074 cw.tgid = current->tgid; in __ceph_get_caps()
3075 cw.need = need; in __ceph_get_caps()
3076 cw.want = want; in __ceph_get_caps()
3079 list_add(&cw.list, &mdsc->cap_wait_list); in __ceph_get_caps()
3102 list_del(&cw.list); in __ceph_get_caps()
/linux/drivers/media/usb/gspca/
H A Dw996Xcf.c397 int start_cropx, start_cropy, x, y, fw, fh, cw, ch, in w9968cf_set_crop_window() local
435 cw = (fw >= fh) ? max_width : SC(sd->gspca_dev.pixfmt.width) / fh; in w9968cf_set_crop_window()
441 x = (max_width - cw) / 2; in w9968cf_set_crop_window()
446 reg_w(sd, 0x12, start_cropx + x + cw); in w9968cf_set_crop_window()
/linux/include/uapi/linux/dvb/
H A Dca.h117 unsigned char cw[8]; member
/linux/drivers/net/wireless/ath/ath9k/
H A Dmac.c199 u32 cw; in ath9k_hw_set_txq_props() local
221 cw = min(qinfo->tqi_cwmin, 1024U); in ath9k_hw_set_txq_props()
223 while (qi->tqi_cwmin < cw) in ath9k_hw_set_txq_props()
228 cw = min(qinfo->tqi_cwmax, 1024U); in ath9k_hw_set_txq_props()
230 while (qi->tqi_cwmax < cw) in ath9k_hw_set_txq_props()
/linux/drivers/ata/
H A Dsata_mv.c2003 __le16 *cw; in mv_qc_prep() local
2039 cw = &pp->crqb[in_index].ata_cmd[0]; in mv_qc_prep()
2054 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2058 mv_crqb_pack_cmd(cw++, tf->hob_feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2059 mv_crqb_pack_cmd(cw++, tf->feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2071 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2072 mv_crqb_pack_cmd(cw++, tf->hob_lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2073 mv_crqb_pack_cmd(cw++, tf->lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2074 mv_crqb_pack_cmd(cw++, tf->hob_lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
2075 mv_crqb_pack_cmd(cw++, tf->lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
[all …]
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Drtl8180.h54 u8 cw; member
/linux/drivers/net/can/ctucanfd/
H A DKconfig34 https://cw.fel.cvut.cz/wiki/courses/b35apo/documentation/mz_apo/start .
/linux/drivers/infiniband/hw/mlx4/
H A Dmcg.c1131 struct clean_work *cw = container_of(work, struct clean_work, work); in mcg_clean_task() local
1133 _mlx4_ib_mcg_port_cleanup(cw->ctx, cw->destroy_wq); in mcg_clean_task()
1134 cw->ctx->flushing = 0; in mcg_clean_task()
1135 kfree(cw); in mcg_clean_task()
/linux/net/ceph/crush/
H A Dmapper.c903 struct crush_work *cw = cwin; in crush_do_rule() local
1033 cw, in crush_do_rule()
1055 cw, in crush_do_rule()
/linux/arch/x86/include/uapi/asm/
H A Dsigcontext.h109 __u32 cw; member
/linux/fs/dlm/
H A Dlock.c2452 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw, in grant_pending_convert() argument
2507 if (cw && lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_convert()
2508 *cw = 1; in grant_pending_convert()
2521 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw, in grant_pending_wait() argument
2534 *cw = 1; in grant_pending_wait()
2546 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument
2548 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast()
2564 int cw = 0; in grant_pending_locks() local
2572 high = grant_pending_convert(r, high, &cw, count); in grant_pending_locks()
2573 high = grant_pending_wait(r, high, &cw, count); in grant_pending_locks()
[all …]
/linux/drivers/mtd/
H A Dmtdswap.c1175 unsigned int i, cw = 0, cwp = 0, cwecount = 0, bb_cnt, mapped, pages; in mtdswap_show() local
1195 cw = 1; in mtdswap_show()
1231 if (cw) in mtdswap_show()
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c2318 rqe->cw = 0; in ocrdma_set_create_qp_ird_cmd()
2319 rqe->cw |= 2; in ocrdma_set_create_qp_ird_cmd()
2320 rqe->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
2321 rqe->cw |= (8 << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
2322 rqe->cw |= (8 << OCRDMA_WQE_NXT_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
H A Docrdma_sli.h1862 u32 cw; member
/linux/arch/powerpc/boot/dts/
H A Dfsp2.dts370 compatible = "ibm,cw-476fsp2";
/linux/drivers/tty/
H A Dsynclink_gt.c2933 static void remove_cond_wait(struct cond_wait **head, struct cond_wait *cw) in remove_cond_wait() argument
2936 remove_wait_queue(&cw->q, &cw->wait); in remove_cond_wait()
2939 if (w == cw) { in remove_cond_wait()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_join.sh3927 count=$(grep -cw "type:${evt}" "${evts}")
3960 count=$(grep -cw "type:${evt}" "${evts}")
/linux/net/mac80211/
H A Dtdls.c302 wmm->ac[i].cw = ieee80211_wmm_ecw(txq->cw_min, txq->cw_max); in ieee80211_tdls_add_wmm_param_ie()