Home
last modified time | relevance | path

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

/linux-5.19.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.c87 struct tracing_map_elt *elt,
170 struct tracing_map_elt *elt, in hist_field_none() argument
179 struct tracing_map_elt *elt, in hist_field_const() argument
188 struct tracing_map_elt *elt, in hist_field_counter() argument
197 struct tracing_map_elt *elt, in hist_field_string() argument
208 struct tracing_map_elt *elt, in hist_field_dynstring() argument
221 struct tracing_map_elt *elt, in hist_field_reldynstring() argument
235 struct tracing_map_elt *elt, in hist_field_pstring() argument
246 struct tracing_map_elt *elt, in hist_field_log2() argument
253 u64 val = operand->fn(operand, elt, buffer, rbe, event); in hist_field_log2()
[all …]
/linux-5.19.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)
/linux-5.19.10/drivers/comedi/drivers/
Dni_routes.c347 const struct ni_route_set *elt = velt; in _ni_bsearch_destcmp() local
349 if (*key < elt->dest) in _ni_bsearch_destcmp()
351 else if (*key > elt->dest) in _ni_bsearch_destcmp()
359 const int *elt = velt; in _ni_bsearch_srccmp() local
361 if (*key < *elt) in _ni_bsearch_srccmp()
363 else if (*key > *elt) in _ni_bsearch_srccmp()
/linux-5.19.10/lib/
Dextable.c91 static int cmp_ex_search(const void *key, const void *elt) in cmp_ex_search() argument
93 const struct exception_table_entry *_elt = elt; in cmp_ex_search()
/linux-5.19.10/drivers/infiniband/hw/qib/
Dqib_sd7220.c88 #define EPB_LOC(chn, elt, reg) \ argument
89 (((elt & 0xf) | ((chn & 7) << 4) | ((reg & 0x3f) << 9)) << \
1002 #define RXEQ_INIT_RDESC(elt, addr) (((elt) & 0xF) | ((addr) << 4)) argument
1003 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument
1004 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} }
1006 #define RXEQ_VAL_ALL(elt, adr, val) \ argument
1007 {RXEQ_INIT_RDESC((elt), (adr)), {(val), (val), (val), (val)} }
1220 int elt, reg, val, loc; in set_rxeq_vals() local
1222 elt = rxeq_init_vals[ridx].rdesc & 0xF; in set_rxeq_vals()
1224 loc = EPB_LOC(0, elt, reg); in set_rxeq_vals()
/linux-5.19.10/include/net/sctp/
Dcommand.h139 #define SCTP_ARG_CONSTRUCTOR(name, type, elt) \ argument
144 retval.elt = arg;\
/linux-5.19.10/arch/arm64/kvm/
Dsys_regs.h176 static inline int match_sys_reg(const void *key, const void *elt) in match_sys_reg() argument
179 const struct sys_reg_desc *r = elt; in match_sys_reg()
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c207 static int iwl_hcmd_names_cmp(const void *key, const void *elt) in iwl_hcmd_names_cmp() argument
209 const struct iwl_hcmd_names *name = elt; in iwl_hcmd_names_cmp()
/linux-5.19.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()
/linux-5.19.10/net/core/
Dskbuff.c4406 int elt = 0; in __skb_to_sgvec() local
4415 elt++; in __skb_to_sgvec()
4417 return elt; in __skb_to_sgvec()
4429 if (unlikely(elt && sg_is_last(&sg[elt - 1]))) in __skb_to_sgvec()
4434 sg_set_page(&sg[elt], skb_frag_page(frag), copy, in __skb_to_sgvec()
4436 elt++; in __skb_to_sgvec()
4438 return elt; in __skb_to_sgvec()
4451 if (unlikely(elt && sg_is_last(&sg[elt - 1]))) in __skb_to_sgvec()
4456 ret = __skb_to_sgvec(frag_iter, sg+elt, offset - start, in __skb_to_sgvec()
4460 elt += ret; in __skb_to_sgvec()
[all …]
/linux-5.19.10/net/tls/
Dtls_sw.c66 int elt = 0; in __skb_nsg() local
74 elt++; in __skb_nsg()
77 return elt; in __skb_nsg()
91 elt++; in __skb_nsg()
94 return elt; in __skb_nsg()
115 elt += ret; in __skb_nsg()
118 return elt; in __skb_nsg()
125 return elt; in __skb_nsg()
/linux-5.19.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()
/linux-5.19.10/arch/arm64/kvm/vgic/
Dvgic-mmio.c833 static int match_region(const void *key, const void *elt) in match_region() argument
836 const struct vgic_register_region *region = elt; in match_region()
/linux-5.19.10/arch/x86/kernel/
Dalternative.c1347 static __always_inline int patch_cmp(const void *key, const void *elt) in patch_cmp() argument
1349 struct text_poke_loc *tp = (struct text_poke_loc *) elt; in patch_cmp()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c346 const struct brcmf_tlv *elt = buf; in brcmf_parse_tlvs() local
351 int len = elt->len; in brcmf_parse_tlvs()
354 if ((elt->id == key) && (totlen >= (len + TLV_HDR_LEN))) in brcmf_parse_tlvs()
355 return elt; in brcmf_parse_tlvs()
357 elt = (struct brcmf_tlv *)((u8 *)elt + (len + TLV_HDR_LEN)); in brcmf_parse_tlvs()
/linux-5.19.10/drivers/tty/vt/
Dvt.c2579 static int ucs_cmp(const void *key, const void *elt) in ucs_cmp() argument
2582 struct interval e = *(struct interval *) elt; in ucs_cmp()
/linux-5.19.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].
/linux-5.19.10/fs/btrfs/
Dsend.c1216 static int __clone_root_cmp_bsearch(const void *key, const void *elt) in __clone_root_cmp_bsearch() argument
1219 const struct clone_root *cr = elt; in __clone_root_cmp_bsearch()