/linux/tools/perf/util/ |
A D | data-convert-bt.c | 203 return cw->data.s64; in get_tracepoint_field_type() 205 return cw->data.s32; in get_tracepoint_field_type() 209 return cw->data.u64; in get_tracepoint_field_type() 211 return cw->data.u32; in get_tracepoint_field_type() 698 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); in ctf_stream__create() 847 cs = ctf_stream(cw, get_sample_cpu(cw, sample, evsel)); in process_sample_event() 1360 zfree(&cw->stream); in free_streams() 1480 if (cw->data.string) in ctf_writer__init_data() 1494 free_streams(cw); in ctf_writer__cleanup() 1499 memset(cw, 0, sizeof(*cw)); in ctf_writer__cleanup() [all …]
|
/linux/net/netfilter/ipvs/ |
A 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/drivers/md/ |
A D | dm-zoned-target.c | 471 radix_tree_delete(&cw->target->chunk_rxtree, cw->chunk); in dmz_put_chunk_work() 472 kfree(cw); in dmz_put_chunk_work() 492 dmz_put_chunk_work(cw); in dmz_chunk_work() 496 dmz_put_chunk_work(cw); in dmz_chunk_work() 545 if (cw) { in dmz_queue_chunk_work() 546 dmz_get_chunk_work(cw); in dmz_queue_chunk_work() 550 if (unlikely(!cw)) { in dmz_queue_chunk_work() 557 cw->target = dmz; in dmz_queue_chunk_work() 558 cw->chunk = chunk; in dmz_queue_chunk_work() 563 kfree(cw); in dmz_queue_chunk_work() [all …]
|
/linux/drivers/pps/clients/ |
A 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/drivers/staging/media/av7110/ |
A 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/drivers/mtd/nand/raw/ |
A D | qcom_nandc.c | 689 return cw == (ecc->steps - 1); in qcom_nandc_is_last_cw() 1181 bool use_ecc, int cw) in config_nand_single_cw_page_read() argument 1184 config_nand_cw_read(chip, use_ecc, cw); in config_nand_single_cw_page_read() 1679 int raw_cw = cw; in qcom_nandc_read_cw_raw() 1695 if (qcom_nandc_is_last_cw(ecc, cw)) { in qcom_nandc_read_cw_raw() 1765 int cw, data_size, oob_size, ret = 0; in check_for_erased_page() local 1776 if (qcom_nandc_is_last_cw(ecc, cw)) { in check_for_erased_page() 1789 cw_oob_buf, page, cw); in check_for_erased_page() 2055 int cw, ret; in qcom_nandc_read_page_raw() local 2058 for (cw = 0; cw < ecc->steps; cw++) { in qcom_nandc_read_page_raw() [all …]
|
/linux/fs/ceph/ |
A D | debugfs.c | 268 struct cap_wait *cw; in caps_show() local 301 list_for_each_entry(cw, &mdsc->cap_wait_list, list) { in caps_show() 302 seq_printf(s, "%-13d0x%-17llx%-17s%-17s\n", cw->tgid, cw->ino, in caps_show() 303 ceph_cap_string(cw->need), in caps_show() 304 ceph_cap_string(cw->want)); in caps_show()
|
A D | caps.c | 2885 struct cap_wait cw; in ceph_get_caps() local 2888 cw.ino = ceph_ino(inode); in ceph_get_caps() 2889 cw.tgid = current->tgid; in ceph_get_caps() 2890 cw.need = need; in ceph_get_caps() 2891 cw.want = want; in ceph_get_caps() 2894 list_add(&cw.list, &mdsc->cap_wait_list); in ceph_get_caps() 2915 list_del(&cw.list); in ceph_get_caps()
|
/linux/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma_verbs.c | 2007 hdr->cw |= (OCRDMA_READ << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_read() 2040 hdr->cw |= (OCRDMA_FR_MR << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_reg() 2119 hdr->cw = 0; in ocrdma_post_send() 2123 hdr->cw |= in ocrdma_post_send() 2126 hdr->cw |= in ocrdma_post_send() 2135 hdr->cw |= (OCRDMA_SEND << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_post_send() 2140 hdr->cw |= (OCRDMA_SEND << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_post_send() 2156 hdr->cw |= in ocrdma_post_send() 2158 hdr->cw |= ((sizeof(struct ocrdma_hdr_wqe) + in ocrdma_post_send() 2211 rqe->cw = ((wqe_size / OCRDMA_WQE_STRIDE) << in ocrdma_build_rqe() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | testmode.c | 216 u16 cw = 0; in mt7915_tm_set_ipg_params() local 232 cw++; in mt7915_tm_set_ipg_params() 234 if (cw > 16) in mt7915_tm_set_ipg_params() 235 cw = 16; in mt7915_tm_set_ipg_params() 237 ipg -= ((1 << cw) - 1) * slot_time; in mt7915_tm_set_ipg_params() 268 aifsn, cw, cw, 0); in mt7915_tm_set_ipg_params()
|
/linux/drivers/media/usb/gspca/ |
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/net/mac80211/ |
A D | rc80211_minstrel_ht.c | 1266 unsigned int cw = mp->cw_min; in minstrel_calc_retransmit() local 1286 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit() 1287 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit() 1288 ctime += (t_slot * cw) >> 1; in minstrel_calc_retransmit() 1289 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit() 1306 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit() 1307 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
|
/linux/include/uapi/linux/dvb/ |
A D | ca.h | 132 unsigned char cw[8]; member
|
/linux/drivers/net/wireless/ath/ath9k/ |
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/ |
A D | sata_mv.c | 2041 __le16 *cw; in mv_qc_prep() local 2077 cw = &pp->crqb[in_index].ata_cmd[0]; in mv_qc_prep() 2092 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0); in mv_qc_prep() 2109 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); in mv_qc_prep() 2110 mv_crqb_pack_cmd(cw++, tf->hob_lbal, ATA_REG_LBAL, 0); in mv_qc_prep() 2111 mv_crqb_pack_cmd(cw++, tf->lbal, ATA_REG_LBAL, 0); in mv_qc_prep() 2112 mv_crqb_pack_cmd(cw++, tf->hob_lbam, ATA_REG_LBAM, 0); in mv_qc_prep() 2113 mv_crqb_pack_cmd(cw++, tf->lbam, ATA_REG_LBAM, 0); in mv_qc_prep() 2114 mv_crqb_pack_cmd(cw++, tf->hob_lbah, ATA_REG_LBAH, 0); in mv_qc_prep() 2115 mv_crqb_pack_cmd(cw++, tf->lbah, ATA_REG_LBAH, 0); in mv_qc_prep() [all …]
|
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
A D | rtl8180.h | 54 u8 cw; member
|
/linux/drivers/infiniband/hw/mlx4/ |
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/ |
A D | mapper.c | 900 struct crush_work *cw = cwin; in crush_do_rule() local 1032 cw, in crush_do_rule() 1054 cw, in crush_do_rule()
|
/linux/drivers/video/fbdev/core/ |
A D | fbcon_ccw.c | 175 unsigned int cw = vc->vc_font.width; in ccw_clear_margins() local 177 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in ccw_clear_margins()
|
A D | fbcon_cw.c | 158 unsigned int cw = vc->vc_font.width; in cw_clear_margins() local 160 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in cw_clear_margins()
|
A D | bitblit.c | 193 unsigned int cw = vc->vc_font.width; in bit_clear_margins() local 195 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in bit_clear_margins()
|
A D | fbcon_ud.c | 205 unsigned int cw = vc->vc_font.width; in ud_clear_margins() local 207 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in ud_clear_margins()
|
/linux/arch/x86/include/uapi/asm/ |
A D | sigcontext.h | 109 __u32 cw; member
|
/linux/fs/dlm/ |
A D | lock.c | 2558 if (cw && lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_convert() 2559 *cw = 1; in grant_pending_convert() 2572 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw, in grant_pending_wait() argument 2585 *cw = 1; in grant_pending_wait() 2597 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument 2599 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast() 2615 int cw = 0; in grant_pending_locks() local 2623 high = grant_pending_convert(r, high, &cw, count); in grant_pending_locks() 2624 high = grant_pending_wait(r, high, &cw, count); in grant_pending_locks() 2636 if (lkb->lkb_bastfn && lock_requires_bast(lkb, high, cw)) { in grant_pending_locks() [all …]
|
/linux/drivers/mtd/ |
A D | mtdswap.c | 1175 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()
|