Home
last modified time | relevance | path

Searched refs:elt (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/kernel/trace/
Dtracing_map.c39 void tracing_map_update_sum(struct tracing_map_elt *elt, unsigned int i, u64 n) in tracing_map_update_sum() argument
41 atomic64_add(n, &elt->fields[i].sum); in tracing_map_update_sum()
56 u64 tracing_map_read_sum(struct tracing_map_elt *elt, unsigned int i) in tracing_map_read_sum() argument
58 return (u64)atomic64_read(&elt->fields[i].sum); in tracing_map_read_sum()
71 void tracing_map_set_var(struct tracing_map_elt *elt, unsigned int i, u64 n) in tracing_map_set_var() argument
73 atomic64_set(&elt->vars[i], n); in tracing_map_set_var()
74 elt->var_set[i] = true; in tracing_map_set_var()
86 bool tracing_map_var_set(struct tracing_map_elt *elt, unsigned int i) in tracing_map_var_set() argument
88 return elt->var_set[i]; in tracing_map_var_set()
103 u64 tracing_map_read_var(struct tracing_map_elt *elt, unsigned int i) in tracing_map_read_var() argument
[all …]
Dtracing_map.h159 struct tracing_map_elt *elt; member
234 int (*elt_alloc)(struct tracing_map_elt *elt);
235 void (*elt_free)(struct tracing_map_elt *elt);
236 void (*elt_clear)(struct tracing_map_elt *elt);
237 void (*elt_init)(struct tracing_map_elt *elt);
266 extern void tracing_map_update_sum(struct tracing_map_elt *elt,
268 extern void tracing_map_set_var(struct tracing_map_elt *elt,
270 extern bool tracing_map_var_set(struct tracing_map_elt *elt, unsigned int i);
271 extern u64 tracing_map_read_sum(struct tracing_map_elt *elt, unsigned int i);
272 extern u64 tracing_map_read_var(struct tracing_map_elt *elt, unsigned int i);
[all …]
Dtrace_events_hist.c84 struct tracing_map_elt *elt,
156 struct tracing_map_elt *elt, in hist_field_none() argument
164 struct tracing_map_elt *elt, in hist_field_counter() argument
172 struct tracing_map_elt *elt, in hist_field_string() argument
182 struct tracing_map_elt *elt, in hist_field_dynstring() argument
194 struct tracing_map_elt *elt, in hist_field_pstring() argument
204 struct tracing_map_elt *elt, in hist_field_log2() argument
210 u64 val = operand->fn(operand, elt, rbe, event); in hist_field_log2()
216 struct tracing_map_elt *elt, in hist_field_plus() argument
223 u64 val1 = operand1->fn(operand1, elt, rbe, event); in hist_field_plus()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Datari_scsi.c83 #define SCSI_DMA_WRITE_P(elt,val) \ argument
86 tt_scsi_dma.elt##_lo = v & 0xff; \
88 tt_scsi_dma.elt##_lmd = v & 0xff; \
90 tt_scsi_dma.elt##_hmd = v & 0xff; \
92 tt_scsi_dma.elt##_hi = v & 0xff; \
95 #define SCSI_DMA_READ_P(elt) \ argument
96 (((((((unsigned long)tt_scsi_dma.elt##_hi << 8) | \
97 (unsigned long)tt_scsi_dma.elt##_hmd) << 8) | \
98 (unsigned long)tt_scsi_dma.elt##_lmd) << 8) | \
99 (unsigned long)tt_scsi_dma.elt##_lo)
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dni_routes.c351 const struct ni_route_set *elt = velt; in _ni_bsearch_destcmp() local
353 if (*key < elt->dest) in _ni_bsearch_destcmp()
355 else if (*key > elt->dest) in _ni_bsearch_destcmp()
363 const int *elt = velt; in _ni_bsearch_srccmp() local
365 if (*key < *elt) in _ni_bsearch_srccmp()
367 else if (*key > *elt) in _ni_bsearch_srccmp()
/kernel/linux/linux-5.10/lib/
Dextable.c95 static int cmp_ex_search(const void *key, const void *elt) in cmp_ex_search() argument
97 const struct exception_table_entry *_elt = elt; in cmp_ex_search()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_sd7220.c88 #define EPB_LOC(chn, elt, reg) \ argument
89 (((elt & 0xf) | ((chn & 7) << 4) | ((reg & 0x3f) << 9)) << \
1003 #define RXEQ_INIT_RDESC(elt, addr) (((elt) & 0xF) | ((addr) << 4)) argument
1004 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument
1005 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
1007 #define RXEQ_VAL_ALL(elt, adr, val) \ argument
1008 {RXEQ_INIT_RDESC((elt), (adr)), {(val), (val), (val), (val)} }
1221 int elt, reg, val, loc; in set_rxeq_vals() local
1223 elt = rxeq_init_vals[ridx].rdesc & 0xF; in set_rxeq_vals()
1225 loc = EPB_LOC(0, elt, reg); in set_rxeq_vals()
/kernel/linux/linux-5.10/include/net/sctp/
Dcommand.h139 #define SCTP_ARG_CONSTRUCTOR(name, type, elt) \ argument
144 retval.elt = arg;\
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c226 static int iwl_hcmd_names_cmp(const void *key, const void *elt) in iwl_hcmd_names_cmp() argument
228 const struct iwl_hcmd_names *name = elt; in iwl_hcmd_names_cmp()
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_cmd.c116 uint8_t *elt; in qxl_ring_push() local
144 elt = ring->ring->elements + idx * ring->element_size; in qxl_ring_push()
146 memcpy((void *)elt, new_elt, ring->element_size); in qxl_ring_push()
/kernel/linux/linux-5.10/net/core/
Dskbuff.c4319 int elt = 0; in __skb_to_sgvec() local
4328 elt++; in __skb_to_sgvec()
4330 return elt; in __skb_to_sgvec()
4342 if (unlikely(elt && sg_is_last(&sg[elt - 1]))) in __skb_to_sgvec()
4347 sg_set_page(&sg[elt], skb_frag_page(frag), copy, in __skb_to_sgvec()
4349 elt++; in __skb_to_sgvec()
4351 return elt; in __skb_to_sgvec()
4364 if (unlikely(elt && sg_is_last(&sg[elt - 1]))) in __skb_to_sgvec()
4369 ret = __skb_to_sgvec(frag_iter, sg+elt, offset - start, in __skb_to_sgvec()
4373 elt += ret; in __skb_to_sgvec()
[all …]
/kernel/linux/linux-5.10/net/tls/
Dtls_sw.c61 int elt = 0; in __skb_nsg() local
69 elt++; in __skb_nsg()
72 return elt; in __skb_nsg()
86 elt++; in __skb_nsg()
89 return elt; in __skb_nsg()
110 elt += ret; in __skb_nsg()
113 return elt; in __skb_nsg()
120 return elt; in __skb_nsg()
/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-btree.c27 unsigned index, void *elt) in array_insert() argument
28 __dm_written_to_disk(elt) in array_insert()
35 memcpy_disk(base + (elt_size * index), elt, elt_size); in array_insert()
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-mmio.c799 static int match_region(const void *key, const void *elt) in match_region() argument
802 const struct vgic_register_region *region = elt; in match_region()
/kernel/linux/linux-5.10/drivers/hwmon/
Dibmaem.c349 static int aem_read_sensor(struct aem_data *data, u8 elt, u8 reg, in aem_read_sensor() argument
371 rs_req.element = elt; in aem_read_sensor()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dalternative.c1306 static __always_inline int patch_cmp(const void *key, const void *elt) in patch_cmp() argument
1308 struct text_poke_loc *tp = (struct text_poke_loc *) elt; in patch_cmp()
/kernel/linux/linux-5.10/drivers/media/rc/
Drc-main.c500 static int rc_map_cmp(const void *key, const void *elt) in rc_map_cmp() argument
503 const struct rc_map_table *e = elt; in rc_map_cmp()
/kernel/linux/linux-5.10/arch/arm64/kvm/
Dsys_regs.c2144 static int match_sys_reg(const void *key, const void *elt) in match_sys_reg() argument
2147 const struct sys_reg_desc *r = elt; in match_sys_reg()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c345 const struct brcmf_tlv *elt = buf; in brcmf_parse_tlvs() local
350 int len = elt->len; in brcmf_parse_tlvs()
353 if ((elt->id == key) && (totlen >= (len + TLV_HDR_LEN))) in brcmf_parse_tlvs()
354 return elt; in brcmf_parse_tlvs()
356 elt = (struct brcmf_tlv *)((u8 *)elt + (len + TLV_HDR_LEN)); in brcmf_parse_tlvs()
/kernel/linux/linux-5.10/Documentation/trace/
Dhistogram-design.rst714 using tracing_map_read_var(elt, var.idx), which yields the value of
1071 variable at elt->vars[var.idx].
/kernel/linux/linux-5.10/drivers/tty/vt/
Dvt.c2580 static int ucs_cmp(const void *key, const void *elt) in ucs_cmp() argument
2583 struct interval e = *(struct interval *) elt; in ucs_cmp()
/kernel/linux/linux-5.10/fs/btrfs/
Dsend.c1201 static int __clone_root_cmp_bsearch(const void *key, const void *elt) in __clone_root_cmp_bsearch() argument
1204 struct clone_root *cr = (struct clone_root *)elt; in __clone_root_cmp_bsearch()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch1053 + int (*dphy_timing_cmp)(const void *key, const void *elt);
1105 +static inline int dphy_timing_default_cmp(const void *key, const void *elt)
1108 + const struct sec_mipi_dsim_dphy_timing *_elt = elt;