Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/Linux-v5.4/tools/lib/traceevent/Documentation/
Dlibtraceevent-fields.txt6 tep_event_common_fields, tep_event_fields - Get a list of fields for an event.
21 fields for the _event_. The array is allocated in the function and must be freed
25 fields for the _event_. The array is allocated in the function and must be freed
43 struct tep_format_field **fields;
46 fields = tep_event_common_fields(event);
47 if (fields != NULL) {
49 while (fields[i]) {
51 walk through the list of the common fields
56 free(fields);
58 fields = tep_event_fields(event);
[all …]
/Linux-v5.4/arch/x86/kvm/
Dioapic.c111 if (!kvm_apic_match_dest(vcpu, NULL, 0, e->fields.dest_id, in __rtc_irq_eoi_tracking_restore_one()
112 e->fields.dest_mode)) in __rtc_irq_eoi_tracking_restore_one()
115 new_val = kvm_apic_pending_eoi(vcpu, e->fields.vector); in __rtc_irq_eoi_tracking_restore_one()
123 dest_map->vectors[vcpu->vcpu_id] = e->fields.vector; in __rtc_irq_eoi_tracking_restore_one()
180 edge = (entry.fields.trig_mode == IOAPIC_EDGE_TRIG); in ioapic_set_irq()
250 if (e->fields.trig_mode == IOAPIC_LEVEL_TRIG || in kvm_ioapic_scan_entry()
254 e->fields.dest_id, e->fields.dest_mode) || in kvm_ioapic_scan_entry()
255 kvm_apic_pending_eoi(vcpu, e->fields.vector)) in kvm_ioapic_scan_entry()
256 __set_bit(e->fields.vector, in kvm_ioapic_scan_entry()
295 mask_before = e->fields.mask; in ioapic_write_indirect()
[all …]
/Linux-v5.4/Documentation/accounting/
Dtaskstats-struct.rst5 This document contains an explanation of the struct taskstats fields.
7 There are three different groups of fields in the struct taskstats:
9 1) Common and basic accounting fields
11 the common fields and basic accounting fields are collected for
13 2) Delay accounting fields
14 These fields are placed between::
16 /* Delay accounting fields start */
20 /* Delay accounting fields end */
23 3) Extended accounting fields
24 These fields are placed between::
[all …]
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c275 void *key, void *mask, u64 *fields) in prep_eth_rule() argument
283 *fields |= DPAA2_ETH_DIST_ETHTYPE; in prep_eth_rule()
290 *fields |= DPAA2_ETH_DIST_ETHSRC; in prep_eth_rule()
297 *fields |= DPAA2_ETH_DIST_ETHDST; in prep_eth_rule()
305 void *key, void *mask, u64 *fields) in prep_uip_rule() argument
317 *fields |= DPAA2_ETH_DIST_IPSRC; in prep_uip_rule()
324 *fields |= DPAA2_ETH_DIST_IPDST; in prep_uip_rule()
331 *fields |= DPAA2_ETH_DIST_IPPROTO; in prep_uip_rule()
341 *fields |= DPAA2_ETH_DIST_L4SRC; in prep_uip_rule()
346 *fields |= DPAA2_ETH_DIST_L4DST; in prep_uip_rule()
[all …]
/Linux-v5.4/drivers/pci/
Dpci-acpi.c174 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() local
175 u32 revision = fields[1].integer.value; in decode_type0_hpx_record()
182 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type0_hpx_record()
185 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
186 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record()
187 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record()
188 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record()
224 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() local
225 u32 revision = fields[1].integer.value; in decode_type1_hpx_record()
232 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type1_hpx_record()
[all …]
/Linux-v5.4/drivers/hid/
Dhid-sensor-custom.c41 struct hid_sensor_custom_field *fields; member
299 attribute = &sensor_inst->fields[field_index].attribute; in show_value()
352 value = sensor_inst->fields[field_index].attribute.units; in show_value()
354 value = sensor_inst->fields[field_index].attribute.unit_expo; in show_value()
356 value = sensor_inst->fields[field_index].attribute.size; in show_value()
358 value = sensor_inst->fields[field_index].attribute. in show_value()
361 value = sensor_inst->fields[field_index].attribute. in show_value()
402 report_id = sensor_inst->fields[field_index].attribute. in store_value()
476 void *fields; in hid_sensor_custom_add_field() local
478 fields = krealloc(sensor_inst->fields, in hid_sensor_custom_add_field()
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dfield-order.rst18 Interlaced video divides an image into two fields, containing only the
21 fields a cathode ray TV displays the lines interleaved, yielding the
24 fields reduces the flicker without the necessity of doubling the frame
28 at a time, merely transmitting the frames separated into fields. The
29 fields are in fact captured at two different instances in time. An
35 interleaved, it is also important applications understand how the fields
37 even) fields, the *spatial order*: The first line of the top field is
41 However because fields were captured one after the other, arguing
43 two successive top and bottom, or bottom and top fields yield a valid
45 transferring film to video, two fields may come from the same frame,
[all …]
Dpixfmt-v4l2.rst35 * - :cspan:`2` Applications set these fields to request an image
44 inside the stream, when fed to a stateful mem2mem decoder, the fields
59 capture or output only the top or bottom field, or both fields
62 For more details on fields see :ref:`field-order`.
117 - This field indicates whether the remaining fields of the
119 extended fields, are valid. When set to
120 ``V4L2_PIX_FMT_PRIV_MAGIC``, it indicates that the extended fields
122 indicates that the extended fields contain undefined values.
124 Applications that wish to use the pixel format extended fields
128 fields are not supported and using the extended fields will lead
[all …]
/Linux-v5.4/drivers/mux/
Dmmio.c20 struct regmap_field **fields = mux_chip_priv(mux->chip); in mux_mmio_set() local
22 return regmap_field_write(fields[mux_control_get_index(mux)], state); in mux_mmio_set()
40 struct regmap_field **fields; in mux_mmio_probe() local
68 sizeof(*fields)); in mux_mmio_probe()
72 fields = mux_chip_priv(mux_chip); in mux_mmio_probe()
102 fields[i] = devm_regmap_field_alloc(dev, regmap, field); in mux_mmio_probe()
103 if (IS_ERR(fields[i])) { in mux_mmio_probe()
104 ret = PTR_ERR(fields[i]); in mux_mmio_probe()
/Linux-v5.4/drivers/scsi/
Daha152x.h272 } fields; member
276 #define cf_parity fields.parity
277 #define cf_dmachan fields.dmachan
278 #define cf_irq fields.irq
279 #define cf_id fields.id
280 #define cf_dma fields.dma
281 #define cf_boot fields.boot
282 #define cf_msgclasses fields.msgclasses
283 #define cf_syncneg fields.syncneg
284 #define cf_tardisc fields.tardisc
/Linux-v5.4/arch/x86/kvm/vmx/
Dnested.h105 static inline unsigned long nested_read_cr0(struct vmcs12 *fields) in nested_read_cr0() argument
107 return (fields->guest_cr0 & ~fields->cr0_guest_host_mask) | in nested_read_cr0()
108 (fields->cr0_read_shadow & fields->cr0_guest_host_mask); in nested_read_cr0()
110 static inline unsigned long nested_read_cr4(struct vmcs12 *fields) in nested_read_cr4() argument
112 return (fields->guest_cr4 & ~fields->cr4_guest_host_mask) | in nested_read_cr4()
113 (fields->cr4_read_shadow & fields->cr4_guest_host_mask); in nested_read_cr4()
/Linux-v5.4/arch/mips/mm/
Duasm-micromips.c164 (insn_table_MM[opc].match == 0 && insn_table_MM[opc].fields == 0)) in build_insn()
171 if (ip->fields & RS) { in build_insn()
178 if (ip->fields & RT) { in build_insn()
185 if (ip->fields & RD) in build_insn()
187 if (ip->fields & RE) in build_insn()
189 if (ip->fields & SIMM) in build_insn()
191 if (ip->fields & UIMM) in build_insn()
193 if (ip->fields & BIMM) in build_insn()
195 if (ip->fields & JIMM) in build_insn()
197 if (ip->fields & FUNC) in build_insn()
[all …]
Duasm-mips.c238 (insn_table[opc].match == 0 && insn_table[opc].fields == 0)) in build_insn()
245 if (ip->fields & RS) in build_insn()
247 if (ip->fields & RT) in build_insn()
249 if (ip->fields & RD) in build_insn()
251 if (ip->fields & RE) in build_insn()
253 if (ip->fields & SIMM) in build_insn()
255 if (ip->fields & UIMM) in build_insn()
257 if (ip->fields & BIMM) in build_insn()
259 if (ip->fields & JIMM) in build_insn()
261 if (ip->fields & FUNC) in build_insn()
[all …]
/Linux-v5.4/kernel/
Dauditfilter.c89 if (erule->fields) in audit_free_rule()
91 audit_free_lsm_field(&erule->fields[i]); in audit_free_rule()
92 kfree(erule->fields); in audit_free_rule()
107 struct audit_field *fields; in audit_init_entry() local
113 fields = kcalloc(field_count, sizeof(*fields), GFP_KERNEL); in audit_init_entry()
114 if (unlikely(!fields)) { in audit_init_entry()
118 entry->rule.fields = fields; in audit_init_entry()
458 struct audit_field *f = &entry->rule.fields[i]; in audit_data_to_entry()
466 f->type = data->fields[i]; in audit_data_to_entry()
635 struct audit_field *f = &krule->fields[i]; in audit_krule_to_data()
[all …]
/Linux-v5.4/kernel/trace/
Dtracing_map.c40 atomic64_add(n, &elt->fields[i].sum); in tracing_map_update_sum()
57 return (u64)atomic64_read(&elt->fields[i].sum); in tracing_map_read_sum()
208 map->fields[map->n_fields++].cmp_fn = cmp_fn; in tracing_map_add_field()
279 map->fields[idx].offset = offset; in tracing_map_add_key_field()
360 if (elt->fields[i].cmp_fn == tracing_map_cmp_atomic64) in tracing_map_elt_clear()
361 atomic64_set(&elt->fields[i].sum, 0); in tracing_map_elt_clear()
379 elt->fields[i].cmp_fn = elt->map->fields[i].cmp_fn; in tracing_map_elt_init_fields()
381 if (elt->fields[i].cmp_fn != tracing_map_cmp_atomic64) in tracing_map_elt_init_fields()
382 elt->fields[i].offset = elt->map->fields[i].offset; in tracing_map_elt_init_fields()
393 kfree(elt->fields); in tracing_map_elt_free()
[all …]
/Linux-v5.4/security/integrity/ima/
Dima_template.c73 if (!strcmp(ima_template->fields[i]->field_id, "modsig") || in ima_template_has_modsig()
74 !strcmp(ima_template->fields[i]->field_id, "d-modsig")) in ima_template_has_modsig()
182 const struct ima_template_field ***fields, in template_desc_init_fields() argument
220 if (fields && num_fields) { in template_desc_init_fields()
221 *fields = kmalloc_array(i, sizeof(*fields), GFP_KERNEL); in template_desc_init_fields()
222 if (*fields == NULL) in template_desc_init_fields()
225 memcpy(*fields, found_fields, i * sizeof(*fields)); in template_desc_init_fields()
263 &(template->fields), in ima_init_template()
434 &(template_desc->fields), in ima_restore_measurement_list()
/Linux-v5.4/drivers/media/rc/
Dmtk-cir.c108 const struct mtk_field_type *fields; member
273 .fields = mt7623_fields,
281 .fields = mt7622_fields,
390 val = (mtk_chk_period(ir) << ir->data->fields[MTK_CHK_PERIOD].offset) & in mtk_ir_probe()
391 ir->data->fields[MTK_CHK_PERIOD].mask; in mtk_ir_probe()
392 mtk_w32_mask(ir, val, ir->data->fields[MTK_CHK_PERIOD].mask, in mtk_ir_probe()
393 ir->data->fields[MTK_CHK_PERIOD].reg); in mtk_ir_probe()
399 val = (ir->data->hw_period << ir->data->fields[MTK_HW_PERIOD].offset) & in mtk_ir_probe()
400 ir->data->fields[MTK_HW_PERIOD].mask; in mtk_ir_probe()
401 mtk_w32_mask(ir, val, ir->data->fields[MTK_HW_PERIOD].mask, in mtk_ir_probe()
[all …]
/Linux-v5.4/arch/x86/pci/
Dpcbios.c71 } fields; member
305 if (probe_kernel_address(&check->fields.signature, sig)) in pci_find_bios()
308 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios()
310 length = check->fields.length * 16; in pci_find_bios()
318 if (check->fields.revision != 0) { in pci_find_bios()
320 check->fields.revision, check); in pci_find_bios()
324 if (check->fields.entry >= 0x100000) { in pci_find_bios()
329 unsigned long bios32_entry = check->fields.entry; in pci_find_bios()
/Linux-v5.4/drivers/pnp/pnpbios/
Dcore.c441 if (check->fields.signature != PNP_SIGNATURE) in pnpbios_probe_system()
446 length = check->fields.length; in pnpbios_probe_system()
459 if (check->fields.version < 0x10) { in pnpbios_probe_system()
462 check->fields.version >> 4, in pnpbios_probe_system()
463 check->fields.version & 15); in pnpbios_probe_system()
468 check->fields.version >> 4, check->fields.version & 15, in pnpbios_probe_system()
469 check->fields.pm16cseg, check->fields.pm16offset, in pnpbios_probe_system()
470 check->fields.pm16dseg); in pnpbios_probe_system()
/Linux-v5.4/drivers/phy/ti/
Dphy-gmii-sel.c37 struct regmap_field *fields[PHY_GMII_SEL_LAST]; member
99 regfield = if_phy->fields[PHY_GMII_SEL_PORT_MODE]; in phy_gmii_sel_mode()
107 if_phy->fields[PHY_GMII_SEL_RGMII_ID_MODE]) { in phy_gmii_sel_mode()
108 regfield = if_phy->fields[PHY_GMII_SEL_RGMII_ID_MODE]; in phy_gmii_sel_mode()
115 if_phy->fields[PHY_GMII_SEL_RMII_IO_CLK_EN]) { in phy_gmii_sel_mode()
116 regfield = if_phy->fields[PHY_GMII_SEL_RMII_IO_CLK_EN]; in phy_gmii_sel_mode()
255 if_phys[i].fields[PHY_GMII_SEL_PORT_MODE] = regfield; in phy_gmii_sel_init_ports()
264 if_phys[i].fields[PHY_GMII_SEL_RGMII_ID_MODE] = in phy_gmii_sel_init_ports()
275 if_phys[i].fields[PHY_GMII_SEL_RMII_IO_CLK_EN] = in phy_gmii_sel_init_ports()
/Linux-v5.4/arch/mips/boot/tools/
Drelocs_64.c20 } fields; member
25 #define ELF_R_SYM(val) (((Elf64_Mips_Rela *)(&val))->fields.r_sym)
26 #define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type)
/Linux-v5.4/tools/kvm/kvm_stat/
Dkvm_stat564 fields = self.walkdir(path)[1]
566 for field in fields:
571 fields += extra
572 return fields
576 self.fields = [field for field in self._get_available_fields()
582 self.fields.append(parent)
610 fields = self._get_available_fields()
621 newlim = len(groupids) * len(fields) + 50
637 for name in fields:
666 def fields(self): member in TracepointProvider
[all …]
/Linux-v5.4/arch/alpha/oprofile/
Dop_model_ev67.c159 } fields; in ev67_handle_interrupt() member
188 if (i_stat.fields.trap) { in ev67_handle_interrupt()
189 switch (i_stat.fields.trap_type) { in ev67_handle_interrupt()
207 (i_stat.fields.load_store in ev67_handle_interrupt()
234 if (i_stat.fields.mispredict) { in ev67_handle_interrupt()
/Linux-v5.4/Documentation/arm/samsung/
Dclksrc-change-registers.awk72 splitdefine(line, fields)
73 name = fields[0]
76 dmask[name,0] = find_length(fields[1])
77 dmask[name,1] = find_shift(fields[1])
/Linux-v5.4/drivers/media/pci/tw68/
Dtw68-risc.c137 u32 instructions, fields; in tw68_risc_buffer() local
140 fields = 0; in tw68_risc_buffer()
142 fields++; in tw68_risc_buffer()
144 fields++; in tw68_risc_buffer()
151 instructions = fields * (1 + (((bpl + padding) * lines) / in tw68_risc_buffer()

12345678910>>...23