/linux-6.6.21/tools/net/ynl/ ! |
D | ynl-gen-c.py | 103 ri.cw.p(f'free({var}->{ref}{self.c_name});') 116 ri.cw.p(f"unsigned int n_{self.c_name};") 120 ri.cw.p(f"{member} {ptr}{self.c_name};") 124 ri.cw.p(one + ';') 129 def attr_policy(self, cw): argument 133 cw.p(f"\t[{self.enum_name}] = {spec},") 138 def attr_typol(self, cw): argument 140 cw.p(f'[{self.enum_name}] = {"{"} .name = "{self.name}", {typol}{"}"},') 144 ri.cw.p(f"if ({var}->_present.{self.c_name})") 146 ri.cw.p(f"if ({var}->_present.{self.c_name}_len)") [all …]
|
/linux-6.6.21/tools/perf/util/ ! |
D | data-convert-bt.c | 144 static __maybe_unused int value_set_##_name(struct ctf_writer *cw, \ 149 struct bt_ctf_field_type *type = cw->data._name; \ 163 value_set_string(struct ctf_writer *cw, struct bt_ctf_event *event, in value_set_string() argument 166 struct bt_ctf_field_type *type = cw->data.string; in value_set_string() 192 get_tracepoint_field_type(struct ctf_writer *cw, struct tep_format_field *field) in get_tracepoint_field_type() argument 197 return cw->data.string; in get_tracepoint_field_type() 202 return cw->data.u64_hex; in get_tracepoint_field_type() 207 return cw->data.s64; in get_tracepoint_field_type() 209 return cw->data.s32; in get_tracepoint_field_type() 213 return cw->data.u64; in get_tracepoint_field_type() [all …]
|
/linux-6.6.21/net/netfilter/ipvs/ ! |
D | ip_vs_wrr.c | 62 int cw; /* current weight */ member 120 mark->cw = mark->mw; in ip_vs_wrr_init_svc() 147 if (mark->cw > mark->mw || !mark->cw) in ip_vs_wrr_dest_changed() 148 mark->cw = mark->mw; in ip_vs_wrr_dest_changed() 150 mark->cw = (mark->cw / mark->di) * mark->di + 1; in ip_vs_wrr_dest_changed() 181 atomic_read(&dest->weight) >= mark->cw) in ip_vs_wrr_schedule() 186 mark->cw -= mark->di; in ip_vs_wrr_schedule() 187 if (mark->cw <= 0) { in ip_vs_wrr_schedule() 188 mark->cw = mark->mw; in ip_vs_wrr_schedule() 200 last_pass = mark->cw <= mark->di; in ip_vs_wrr_schedule()
|
/linux-6.6.21/drivers/md/ ! |
D | dm-zoned-target.c | 395 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-6.6.21/drivers/pps/clients/ ! |
D | pps_parport.c | 42 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() 177 device->cw = clear_wait; in parport_attach()
|
/linux-6.6.21/drivers/staging/media/av7110/ ! |
D | av7110_ca.c | 305 (descr->cw[0]<<8)|descr->cw[1], in dvb_ca_ioctl() 306 (descr->cw[2]<<8)|descr->cw[3], in dvb_ca_ioctl() 307 (descr->cw[4]<<8)|descr->cw[5], in dvb_ca_ioctl() 308 (descr->cw[6]<<8)|descr->cw[7]); in dvb_ca_ioctl()
|
/linux-6.6.21/drivers/mtd/nand/raw/ ! |
D | qcom_nandc.c | 765 static bool qcom_nandc_is_last_cw(struct nand_ecc_ctrl *ecc, int cw) in qcom_nandc_is_last_cw() argument 767 return cw == (ecc->steps - 1); in qcom_nandc_is_last_cw() 771 static void nandc_set_read_loc(struct nand_chip *chip, int cw, int reg, in nandc_set_read_loc() argument 778 if (nandc->props->qpic_v2 && qcom_nandc_is_last_cw(ecc, cw)) in nandc_set_read_loc() 783 if (nandc->props->qpic_v2 && qcom_nandc_is_last_cw(ecc, cw)) in nandc_set_read_loc() 811 static void update_rw_regs(struct qcom_nand_host *host, int num_cw, bool read, int cw) in update_rw_regs() argument 851 nandc_set_read_loc(chip, cw, 0, 0, host->use_ecc ? in update_rw_regs() 1237 config_nand_cw_read(struct nand_chip *chip, bool use_ecc, int cw) in config_nand_cw_read() argument 1244 if (nandc->props->qpic_v2 && qcom_nandc_is_last_cw(ecc, cw)) in config_nand_cw_read() 1268 bool use_ecc, int cw) in config_nand_single_cw_page_read() argument [all …]
|
/linux-6.6.21/fs/ceph/ ! |
D | debugfs.c | 273 struct cap_wait *cw; in caps_show() local 306 list_for_each_entry(cw, &mdsc->cap_wait_list, list) { in caps_show() 307 seq_printf(s, "%-13d0x%-17llx%-17s%-17s\n", cw->tgid, cw->ino, in caps_show() 308 ceph_cap_string(cw->need), in caps_show() 309 ceph_cap_string(cw->want)); in caps_show()
|
/linux-6.6.21/drivers/infiniband/hw/ocrdma/ ! |
D | ocrdma_verbs.c | 1888 hdr->cw |= (OCRDMA_FLAG_AH_VLAN_PR << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_build_ud_hdr() 1945 hdr->cw |= (OCRDMA_TYPE_INLINE << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges() 1952 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges() 1954 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_inline_sges() 2002 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_read() 2003 hdr->cw |= (OCRDMA_READ << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_read() 2004 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_read() 2036 hdr->cw |= (OCRDMA_FR_MR << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_reg() 2037 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_reg() 2115 hdr->cw = 0; in ocrdma_post_send() [all …]
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/ ! |
D | testmode.c | 203 u16 cw = 0; in mt7915_tm_set_ipg_params() local 219 cw++; in mt7915_tm_set_ipg_params() 221 if (cw > 16) in mt7915_tm_set_ipg_params() 222 cw = 16; in mt7915_tm_set_ipg_params() 224 ipg -= ((1 << cw) - 1) * slot_time; in mt7915_tm_set_ipg_params() 251 aifsn, cw, cw, 0); in mt7915_tm_set_ipg_params()
|
/linux-6.6.21/drivers/media/usb/gspca/ ! |
D | w996Xcf.c | 397 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-6.6.21/include/uapi/linux/dvb/ ! |
D | ca.h | 117 unsigned char cw[8]; member
|
/linux-6.6.21/net/mac80211/ ! |
D | rc80211_minstrel_ht.c | 1387 unsigned int cw = mp->cw_min; in minstrel_calc_retransmit() local 1407 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit() 1408 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit() 1409 ctime += (t_slot * cw) >> 1; in minstrel_calc_retransmit() 1410 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit() 1427 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit() 1428 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
|
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ ! |
D | mac.c | 199 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-6.6.21/drivers/ata/ ! |
D | sata_mv.c | 2034 __le16 *cw; in mv_qc_prep() local 2070 cw = &pp->crqb[in_index].ata_cmd[0]; in mv_qc_prep() 2085 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0); in mv_qc_prep() 2089 mv_crqb_pack_cmd(cw++, tf->hob_feature, ATA_REG_FEATURE, 0); in mv_qc_prep() 2090 mv_crqb_pack_cmd(cw++, tf->feature, ATA_REG_FEATURE, 0); in mv_qc_prep() 2102 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); in mv_qc_prep() 2103 mv_crqb_pack_cmd(cw++, tf->hob_lbal, ATA_REG_LBAL, 0); in mv_qc_prep() 2104 mv_crqb_pack_cmd(cw++, tf->lbal, ATA_REG_LBAL, 0); in mv_qc_prep() 2105 mv_crqb_pack_cmd(cw++, tf->hob_lbam, ATA_REG_LBAM, 0); in mv_qc_prep() 2106 mv_crqb_pack_cmd(cw++, tf->lbam, ATA_REG_LBAM, 0); in mv_qc_prep() [all …]
|
/linux-6.6.21/drivers/net/wireless/realtek/rtl818x/rtl8180/ ! |
D | rtl8180.h | 54 u8 cw; member
|
/linux-6.6.21/drivers/net/can/ctucanfd/ ! |
D | Kconfig | 34 https://cw.fel.cvut.cz/wiki/courses/b35apo/documentation/mz_apo/start .
|
/linux-6.6.21/drivers/infiniband/hw/mlx4/ ! |
D | mcg.c | 1131 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-6.6.21/kernel/time/ ! |
D | posix-cpu-timers.c | 1166 struct posix_cputimers_work *cw = container_of(work, typeof(*cw), work); in posix_cpu_timers_work() local 1168 mutex_lock(&cw->mutex); in posix_cpu_timers_work() 1170 mutex_unlock(&cw->mutex); in posix_cpu_timers_work()
|
/linux-6.6.21/net/ceph/crush/ ! |
D | mapper.c | 900 struct crush_work *cw = cwin; in crush_do_rule() local 1031 cw, in crush_do_rule() 1053 cw, in crush_do_rule()
|
/linux-6.6.21/arch/x86/include/uapi/asm/ ! |
D | sigcontext.h | 109 __u32 cw; member
|
/linux-6.6.21/drivers/video/fbdev/core/ ! |
D | fbcon_cw.c | 177 unsigned int cw = vc->vc_font.width; in cw_clear_margins() local 179 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in cw_clear_margins()
|
D | bitblit.c | 208 unsigned int cw = vc->vc_font.width; in bit_clear_margins() local 210 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in bit_clear_margins()
|
D | fbcon_ccw.c | 194 unsigned int cw = vc->vc_font.width; in ccw_clear_margins() local 196 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in ccw_clear_margins()
|
D | fbcon_ud.c | 225 unsigned int cw = vc->vc_font.width; in ud_clear_margins() local 227 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in ud_clear_margins()
|