/Linux-v6.1/kernel/trace/ |
D | tracing_map.c | 39 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 …]
|
D | tracing_map.h | 159 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 …]
|
D | trace_events_hist.c | 87 struct tracing_map_elt *elt, 202 struct tracing_map_elt *elt, 208 struct tracing_map_elt *elt, in hist_field_const() argument 217 struct tracing_map_elt *elt, in hist_field_counter() argument 226 struct tracing_map_elt *elt, in hist_field_string() argument 237 struct tracing_map_elt *elt, in hist_field_dynstring() argument 250 struct tracing_map_elt *elt, in hist_field_reldynstring() argument 264 struct tracing_map_elt *elt, in hist_field_pstring() argument 275 struct tracing_map_elt *elt, in hist_field_log2() argument 282 u64 val = hist_fn_call(operand, elt, buffer, rbe, event); in hist_field_log2() [all …]
|
/Linux-v6.1/drivers/scsi/ |
D | atari_scsi.c | 83 #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-v6.1/drivers/comedi/drivers/ |
D | ni_routes.c | 347 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-v6.1/rust/alloc/vec/ |
D | drain.rs | 90 self.iter.next().map(|elt| unsafe { ptr::read(elt as *const _) }) in next() 102 self.iter.next_back().map(|elt| unsafe { ptr::read(elt as *const _) }) in next_back()
|
/Linux-v6.1/lib/ |
D | extable.c | 91 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-v6.1/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 88 #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-v6.1/include/net/sctp/ |
D | command.h | 139 #define SCTP_ARG_CONSTRUCTOR(name, type, elt) \ argument 144 retval.elt = arg;\
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-trans.c | 207 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-v6.1/arch/arm64/kvm/ |
D | sys_regs.h | 186 static inline int match_sys_reg(const void *key, const void *elt) in match_sys_reg() argument 189 const struct sys_reg_desc *r = elt; in match_sys_reg()
|
/Linux-v6.1/drivers/gpu/drm/qxl/ |
D | qxl_cmd.c | 108 uint8_t *elt; in qxl_ring_push() local 136 elt = ring->ring->elements + idx * ring->element_size; in qxl_ring_push() 138 memcpy((void *)elt, new_elt, ring->element_size); in qxl_ring_push()
|
/Linux-v6.1/net/core/ |
D | skbuff.c | 4541 int elt = 0; in __skb_to_sgvec() local 4550 elt++; in __skb_to_sgvec() 4552 return elt; in __skb_to_sgvec() 4564 if (unlikely(elt && sg_is_last(&sg[elt - 1]))) in __skb_to_sgvec() 4569 sg_set_page(&sg[elt], skb_frag_page(frag), copy, in __skb_to_sgvec() 4571 elt++; in __skb_to_sgvec() 4573 return elt; in __skb_to_sgvec() 4586 if (unlikely(elt && sg_is_last(&sg[elt - 1]))) in __skb_to_sgvec() 4591 ret = __skb_to_sgvec(frag_iter, sg+elt, offset - start, in __skb_to_sgvec() 4595 elt += ret; in __skb_to_sgvec() [all …]
|
/Linux-v6.1/net/tls/ |
D | tls_sw.c | 80 int elt = 0; in __skb_nsg() local 88 elt++; in __skb_nsg() 91 return elt; in __skb_nsg() 105 elt++; in __skb_nsg() 108 return elt; in __skb_nsg() 129 elt += ret; in __skb_nsg() 132 return elt; in __skb_nsg() 139 return elt; in __skb_nsg()
|
/Linux-v6.1/arch/arm64/kvm/vgic/ |
D | vgic-mmio.c | 833 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-v6.1/drivers/hwmon/ |
D | ibmaem.c | 349 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-v6.1/arch/x86/kernel/ |
D | alternative.c | 1357 static __always_inline int patch_cmp(const void *key, const void *elt) in patch_cmp() argument 1359 struct text_poke_loc *tp = (struct text_poke_loc *) elt; in patch_cmp()
|
/Linux-v6.1/drivers/md/persistent-data/ |
D | dm-btree.c | 27 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-v6.1/drivers/media/rc/ |
D | rc-main.c | 500 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-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 346 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-v6.1/drivers/tty/vt/ |
D | vt.c | 2579 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-v6.1/Documentation/trace/ |
D | histogram-design.rst | 714 using tracing_map_read_var(elt, var.idx), which yields the value of 1071 variable at elt->vars[var.idx].
|
/Linux-v6.1/fs/btrfs/ |
D | send.c | 1243 static int __clone_root_cmp_bsearch(const void *key, const void *elt) in __clone_root_cmp_bsearch() argument 1246 const struct clone_root *cr = elt; in __clone_root_cmp_bsearch()
|