| /linux/tools/net/ynl/pyynl/ |
| H A D | ynl_gen_c.py | 184 ri.cw.p(line) 203 ri.cw.p(f"{member}{spc}{ptr}{self.c_name};") 207 ri.cw.p(one + ';') 212 def attr_policy(self, cw): argument 219 cw.p(f"\t[{self.enum_name}] = {spec},") 224 def attr_typol(self, cw): argument 226 cw.p(f'[{self.enum_name}] = {"{"} .name = "{self.name}", {typol}{"}"},') 231 ri.cw.p(f"if ({var}->_{presence}.{self.c_name})") 232 ri.cw.p(f"{line};") 252 ri.cw.block_start(line=f"{kw} (type == {self.enum_name})") [all …]
|
| /linux/tools/perf/util/ |
| H A 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/net/netfilter/ipvs/ |
| H A D | ip_vs_wrr.c | 29 * - cw: current required weight 32 * First, we start with cw = mw and select dests with weight >= cw. 33 * Then cw is reduced with di and all dests are checked again. 34 * Last pass should be with cw = di. We have mw/di passes in total: 36 * pass 1: cw = max weight 37 * pass 2: cw = max weight - di 38 * pass 3: cw = max weight - 2 * di 40 * last pass: cw = di 47 * so that last cw i 62 int cw; /* current weight */ global() member [all...] |
| /linux/drivers/md/ |
| H A 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/drivers/mtd/nand/raw/ |
| H A D | qcom_nandc.c | 147 static bool qcom_nandc_is_last_cw(struct nand_ecc_ctrl *ecc, int cw) in qcom_nandc_is_last_cw() argument 149 return cw == (ecc->steps - 1); in qcom_nandc_is_last_cw() 217 static void nandc_set_read_loc(struct nand_chip *chip, int cw, int reg, in nandc_set_read_loc() argument 224 if (nandc->props->qpic_version2 && qcom_nandc_is_last_cw(ecc, cw)) in nandc_set_read_loc() 229 if (nandc->props->qpic_version2 && qcom_nandc_is_last_cw(ecc, cw)) in nandc_set_read_loc() 258 static void update_rw_regs(struct qcom_nand_host *host, int num_cw, bool read, int cw) in update_rw_regs() argument 300 nandc_set_read_loc(chip, cw, 0, 0, host->use_ecc ? in update_rw_regs() 327 config_nand_cw_read(struct nand_chip *chip, bool use_ecc, int cw) in config_nand_cw_read() argument 334 if (nandc->props->qpic_version2 && qcom_nandc_is_last_cw(ecc, cw)) in config_nand_cw_read() 358 bool use_ecc, int cw) in config_nand_single_cw_page_read() argument [all …]
|
| /linux/fs/ceph/ |
| H A D | debugfs.c | 271 struct cap_wait *cw; in caps_show() local 304 list_for_each_entry(cw, &mdsc->cap_wait_list, list) { in caps_show() 305 seq_printf(s, "%-13d0x%-17llx%-17s%-17s\n", cw->tgid, cw->ino, in caps_show() 306 ceph_cap_string(cw->need), in caps_show() 307 ceph_cap_string(cw->want)); in caps_show()
|
| H A D | caps.c | 3068 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 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/include/uapi/linux/dvb/ |
| H A D | ca.h | 117 unsigned char cw[8]; member
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A 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/drivers/ata/ |
| H A D | sata_mv.c | 2003 __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 D | rtl8180.h | 54 u8 cw; member
|
| /linux/drivers/net/can/ctucanfd/ |
| H A D | Kconfig | 34 https://cw.fel.cvut.cz/wiki/courses/b35apo/documentation/mz_apo/start .
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A 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/net/ceph/crush/ |
| H A D | mapper.c | 903 struct crush_work *cw = cwin; in crush_do_rule() local 1034 cw, in crush_do_rule() 1056 cw, in crush_do_rule()
|
| /linux/arch/x86/include/uapi/asm/ |
| H A D | sigcontext.h | 109 __u32 cw; member
|
| /linux/drivers/video/fbdev/core/ |
| H A D | bitblit.c | 232 unsigned int cw = vc->vc_font.width; in bit_clear_margins() local 234 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in bit_clear_margins()
|
| /linux/fs/dlm/ |
| H A D | lock.c | 2451 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw, in grant_pending_convert() argument 2506 if (cw && lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_convert() 2507 *cw = 1; in grant_pending_convert() 2520 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw, in grant_pending_wait() argument 2533 *cw = 1; in grant_pending_wait() 2545 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument 2547 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast() 2563 int cw = 0; in grant_pending_locks() local 2571 high = grant_pending_convert(r, high, &cw, count); in grant_pending_locks() 2572 high = grant_pending_wait(r, high, &cw, count); in grant_pending_locks() [all …]
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_hw.c | 2319 rqe->cw = 0; in ocrdma_set_create_qp_ird_cmd() 2320 rqe->cw |= 2; in ocrdma_set_create_qp_ird_cmd() 2321 rqe->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_set_create_qp_ird_cmd() 2322 rqe->cw |= (8 << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd() 2323 rqe->cw |= (8 << OCRDMA_WQE_NXT_WQE_SIZE_SHIFT); in ocrdma_set_create_qp_ird_cmd()
|
| H A D | ocrdma_sli.h | 1862 u32 cw; member
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | fsp2.dts | 370 compatible = "ibm,cw-476fsp2";
|
| /linux/net/mac80211/ |
| H A D | tdls.c | 302 wmm->ac[i].cw = ieee80211_wmm_ecw(txq->cw_min, txq->cw_max); in ieee80211_tdls_add_wmm_param_ie()
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_join.sh | 3872 count=$(grep -cw "type:${evt}" "${evts}")
|