Home
last modified time | relevance | path

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

12345678910>>...27

/linux/arch/x86/kvm/
H A Dioapic.c118 e->fields.dest_id, in __rtc_irq_eoi_tracking_restore_one()
119 kvm_lapic_irq_dest_mode(!!e->fields.dest_mode))) in __rtc_irq_eoi_tracking_restore_one()
122 new_val = kvm_apic_pending_eoi(vcpu, e->fields.vector); in __rtc_irq_eoi_tracking_restore_one()
130 dest_map->vectors[vcpu->vcpu_id] = e->fields.vector; in __rtc_irq_eoi_tracking_restore_one()
192 entry->fields.dest_id, in ioapic_lazy_update_eoi()
193 entry->fields.dest_mode) || in ioapic_lazy_update_eoi()
194 kvm_apic_pending_eoi(vcpu, entry->fields.vector)) in ioapic_lazy_update_eoi()
201 rtc_irq_eoi(ioapic, vcpu, entry->fields.vector); in ioapic_lazy_update_eoi()
215 edge = (entry.fields.trig_mode == IOAPIC_EDGE_TRIG); in ioapic_set_irq()
294 if (e->fields.trig_mode == IOAPIC_LEVEL_TRIG || in kvm_ioapic_scan_entry()
[all …]
/linux/kernel/trace/
H A Dtrace_events_synth.c130 union trace_synth_field fields[]; member
136 int offset = offsetof(typeof(trace), fields); in synth_event_define_fields()
144 size = event->fields[i]->size; in synth_event_define_fields()
145 is_signed = event->fields[i]->is_signed; in synth_event_define_fields()
146 type = event->fields[i]->type; in synth_event_define_fields()
147 name = event->fields[i]->name; in synth_event_define_fields()
153 event->fields[i]->offset = n_u64; in synth_event_define_fields()
155 if (event->fields[i]->is_string && !event->fields[i]->is_dynamic) { in synth_event_define_fields()
366 fmt = synth_field_fmt(se->fields[i]->type); in print_synth_event()
375 if (se->fields[i]->is_string) { in print_synth_event()
[all …]
H A Dtracing_map.c41 atomic64_add(n, &elt->fields[i].sum); in tracing_map_update_sum()
58 return (u64)atomic64_read(&elt->fields[i].sum); in tracing_map_read_sum()
209 map->fields[map->n_fields++].cmp_fn = cmp_fn; in tracing_map_add_field()
280 map->fields[idx].offset = offset; in tracing_map_add_key_field()
363 if (elt->fields[i].cmp_fn == tracing_map_cmp_atomic64) in tracing_map_elt_clear()
364 atomic64_set(&elt->fields[i].sum, 0); in tracing_map_elt_clear()
382 elt->fields[i].cmp_fn = elt->map->fields[i].cmp_fn; in tracing_map_elt_init_fields()
384 if (elt->fields[i].cmp_fn != tracing_map_cmp_atomic64) in tracing_map_elt_init_fields()
385 elt->fields[i].offset = elt->map->fields[i].offset; in tracing_map_elt_init_fields()
396 kfree(elt->fields); in tracing_map_elt_free()
[all …]
/linux/rust/kernel/init/
H A Dmacros.rs72 //! This macro is used to specify which fields are structurally pinned and which fields are not. It
73 //! is placed on the struct definition and allows `#[pin]` to be placed on the fields.
155 //! // fields (those marked with `#[pin]`). These fields will be listed in this struct, in our
156 //! // case no such fields exist, hence this is almost empty. The two phantomdata fields exist
225 //! // Get the data about fields from the supplied type.
528 /// fields. Afterwards it declares the struct and implement the `PinData` trait safely.
543 @body({ $($fields
[all...]
/linux/Documentation/accounting/
H A 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/drivers/usb/isp1760/
H A Disp1760-core.h59 static inline u32 isp1760_field_read(struct regmap_field **fields, u32 field) in isp1760_field_read() argument
63 regmap_field_read(fields[field], &val); in isp1760_field_read()
68 static inline void isp1760_field_write(struct regmap_field **fields, u32 field, in isp1760_field_write() argument
71 regmap_field_write(fields[field], val); in isp1760_field_write()
74 static inline void isp1760_field_set(struct regmap_field **fields, u32 field) in isp1760_field_set() argument
76 isp1760_field_write(fields, field, 0xFFFFFFFF); in isp1760_field_set()
79 static inline void isp1760_field_clear(struct regmap_field **fields, u32 field) in isp1760_field_clear() argument
81 isp1760_field_write(fields, field, 0); in isp1760_field_clear()
/linux/Documentation/userspace-api/media/v4l/
H A Dfield-order.rst11 Interlaced video divides an image into two fields, containing only the
14 fields a cathode ray TV displays the lines interleaved, yielding the
17 fields reduces the flicker without the necessity of doubling the frame
21 at a time, merely transmitting the frames separated into fields. The
22 fields are in fact captured at two different instances in time. An
28 interleaved, it is also important applications understand how the fields
30 even) fields, the *spatial order*: The first line of the top field is
34 However because fields were captured one after the other, arguing
36 two successive top and bottom, or bottom and top fields yield a valid
38 transferring film to video, two fields may come from the same frame,
[all …]
/linux/drivers/pci/
H A Dpci-acpi.c199 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() local
200 u32 revision = fields[1].integer.value; in decode_type0_hpx_record()
207 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type0_hpx_record()
210 hpx0->cache_line_size = fields[2].integer.value; in decode_type0_hpx_record()
211 hpx0->latency_timer = fields[3].integer.value; in decode_type0_hpx_record()
212 hpx0->enable_serr = fields[4].integer.value; in decode_type0_hpx_record()
213 hpx0->enable_perr = fields[5].integer.value; in decode_type0_hpx_record()
249 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() local
250 u32 revision = fields[1].integer.value; in decode_type1_hpx_record()
257 if (fields[i].type != ACPI_TYPE_INTEGER) in decode_type1_hpx_record()
[all …]
/linux/drivers/hid/
H A Dhid-sensor-custom.c44 struct hid_sensor_custom_field *fields; member
303 attribute = &sensor_inst->fields[field_index].attribute; in show_value()
356 value = sensor_inst->fields[field_index].attribute.units; in show_value()
358 value = sensor_inst->fields[field_index].attribute.unit_expo; in show_value()
360 value = sensor_inst->fields[field_index].attribute.size; in show_value()
362 value = sensor_inst->fields[field_index].attribute. in show_value()
365 value = sensor_inst->fields[field_index].attribute. in show_value()
404 report_id = sensor_inst->fields[field_index].attribute. in store_value()
480 void *fields; in hid_sensor_custom_add_field() local
482 fields = krealloc(sensor_inst->fields, in hid_sensor_custom_add_field()
[all …]
/linux/drivers/mux/
H A 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
73 sizeof(*fields)); in mux_mmio_probe()
77 fields = mux_chip_priv(mux_chip); in mux_mmio_probe()
107 fields[i] = devm_regmap_field_alloc(dev, regmap, field); in mux_mmio_probe()
108 if (IS_ERR(fields[i])) { in mux_mmio_probe()
109 ret = PTR_ERR(fields[i]); in mux_mmio_probe()
/linux/rust/kernel/
H A Dinit.rs33 //! [structurally pinned fields]. After doing this, you can then create an in-place constructor via
35 //! that you need to write `<-` instead of `:` for fields that you want to initialize in-place.
79 //! above method only works for types where you can access the fields.
175 //! // All fields of `RawFoo` have been initialized, since `_p` is a ZST.
201 //! [structurally pinned fields]:
398 /// The fields are initialized in the order that they appear in the initializer. So it is possible
399 /// to read already initialized fields using raw pointers.
401 /// IMPORTANT: You are not allowed to create references to fields of the struct inside of the
407 /// giving access to all fields. This is where you would normally write a plain function `new`
557 $($fields
[all...]
/linux/drivers/scsi/
H A 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/Documentation/trace/
H A Dhistogram-design.rst74 keeps an array of these fields named fields[]. The fields[] array is
93 fields[] array is the tracing_map instance created for the histogram,
103 associated key and value fields for the histogram described above. As
104 you can see, there are two fields in the fields array, one val field
109 relationships between the hist_data fields and the tracing_map
115 | .fields[] |---->| val = hitcount |----------------------------+
145 The hist_data n_vals and n_fields delineate the extent of the fields[] | |
149 histogram, with pointers from various parts of the fields[] array | |
162 for each key or value in the map_elt.fields[] array. There is an | |
163 entry in the map_elt.fields[] array corresponding to each hist_field | |
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-h264.c78 u8 fields = V4L2_H264_FRAME_REF; in v4l2_h264_init_reflist_builder() local
81 b->unordered_reflist[b->num_valid].fields = fields; in v4l2_h264_init_reflist_builder()
86 if (dpb[i].fields & V4L2_H264_TOP_FIELD_REF) { in v4l2_h264_init_reflist_builder()
87 u8 fields = V4L2_H264_TOP_FIELD_REF; in v4l2_h264_init_reflist_builder() local
90 b->unordered_reflist[b->num_valid].fields = fields; in v4l2_h264_init_reflist_builder()
94 if (dpb[i].fields & V4L2_H264_BOTTOM_FIELD_REF) { in v4l2_h264_init_reflist_builder()
95 u8 fields = V4L2_H264_BOTTOM_FIELD_REF; in v4l2_h264_init_reflist_builder() local
98 b->unordered_reflist[b->num_valid].fields = fields; in v4l2_h264_init_reflist_builder()
111 switch (ref->fields) { in v4l2_h264_get_poc()
270 if (tmplist[i].fields == b->cur_pic_fields) { in reorder_field_reflist()
[all …]
/linux/arch/x86/kvm/vmx/
H A Dnested.h94 static inline unsigned long nested_read_cr0(struct vmcs12 *fields) in nested_read_cr0() argument
96 return (fields->guest_cr0 & ~fields->cr0_guest_host_mask) | in nested_read_cr0()
97 (fields->cr0_read_shadow & fields->cr0_guest_host_mask); in nested_read_cr0()
99 static inline unsigned long nested_read_cr4(struct vmcs12 *fields) in nested_read_cr4() argument
101 return (fields->guest_cr4 & ~fields->cr4_guest_host_mask) | in nested_read_cr4()
102 (fields->cr4_read_shadow & fields->cr4_guest_host_mask); in nested_read_cr4()
/linux/kernel/
H A Dauditfilter.c91 if (erule->fields) in audit_free_rule()
93 audit_free_lsm_field(&erule->fields[i]); in audit_free_rule()
94 kfree(erule->fields); in audit_free_rule()
109 struct audit_field *fields; in audit_init_entry() local
115 fields = kcalloc(field_count, sizeof(*fields), GFP_KERNEL); in audit_init_entry()
116 if (unlikely(!fields)) { in audit_init_entry()
120 entry->rule.fields = fields; in audit_init_entry()
466 struct audit_field *f = &entry->rule.fields[i]; in audit_data_to_entry()
475 f->type = data->fields[i]; in audit_data_to_entry()
651 struct audit_field *f = &krule->fields[i]; in audit_krule_to_data()
[all …]
/linux/arch/mips/mm/
H A 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 …]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_hdmi_types.h82 } fields; member
93 } fields; member
113 } fields; member
122 } fields; member
130 } fields; member
/linux/scripts/
H A Dfaddr2line195 local fields=($line)
196 local sym_addr=0x${fields[1]}
197 local sym_elf_size=${fields[2]}
198 local sym_sec=${fields[6]}
232 local fields=($line)
233 cur_sym_addr=0x${fields[1]}
234 local cur_sym_elf_size=${fields[2]}
235 local cur_sym_name=${fields[7]:-}
/linux/security/integrity/ima/
H A Dima_template.c97 if (!strcmp(ima_template->fields[i]->field_id, "modsig") || in ima_template_has_modsig()
98 !strcmp(ima_template->fields[i]->field_id, "d-modsig")) in ima_template_has_modsig()
209 const struct ima_template_field ***fields, in template_desc_init_fields() argument
247 if (fields && num_fields) { in template_desc_init_fields()
248 *fields = kmalloc_array(i, sizeof(**fields), GFP_KERNEL); in template_desc_init_fields()
249 if (*fields == NULL) in template_desc_init_fields()
252 memcpy(*fields, found_fields, i * sizeof(**fields)); in template_desc_init_fields()
299 &(template->fields), in ima_init_template()
315 &(template->fields), in ima_init_template()
501 &(template_desc->fields), in ima_restore_measurement_list()
/linux/drivers/pnp/pnpbios/
H A Dcore.c439 if (check->fields.signature != PNP_SIGNATURE) in pnpbios_probe_system()
444 length = check->fields.length; in pnpbios_probe_system()
457 if (check->fields.version < 0x10) { in pnpbios_probe_system()
460 check->fields.version >> 4, in pnpbios_probe_system()
461 check->fields.version & 15); in pnpbios_probe_system()
466 check->fields.version >> 4, check->fields.version & 15, in pnpbios_probe_system()
467 check->fields.pm16cseg, check->fields.pm16offset, in pnpbios_probe_system()
468 check->fields.pm16dseg); in pnpbios_probe_system()
/linux/arch/x86/pci/
H A Dpcbios.c84 } fields; member
318 if (get_kernel_nofault(sig, &check->fields.signature)) in pci_find_bios()
321 if (check->fields.signature != BIOS32_SIGNATURE) in pci_find_bios()
323 length = check->fields.length * 16; in pci_find_bios()
331 if (check->fields.revision != 0) { in pci_find_bios()
333 check->fields.revision, check); in pci_find_bios()
337 if (check->fields.entry >= 0x100000) { in pci_find_bios()
342 unsigned long bios32_entry = check->fields.entry; in pci_find_bios()
/linux/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c149 struct regmap_field *fields[F_MAX_FIELDS]; member
260 return regmap_field_write(priv->fields[sel_field], level); in mt6370_set_led_brightness()
270 return regmap_field_read(priv->fields[sel_field], level); in mt6370_get_led_brightness()
298 return regmap_field_write(priv->fields[sel_field], ratio); in mt6370_set_led_duty()
331 return regmap_field_write(priv->fields[sel_field], sel); in mt6370_set_led_freq()
417 return regmap_field_write(priv->fields[sel_field], mode); in mt6370_set_led_mode()
433 ret = regmap_field_read(priv->fields[F_RGB_EN], &enable); in mt6370_mc_brightness_set()
468 ret = regmap_field_write(priv->fields[F_RGB_EN], disable); in mt6370_mc_brightness_set()
472 ret = regmap_field_write(priv->fields[F_RGB_EN], enable); in mt6370_mc_brightness_set()
496 ret = regmap_field_read(priv->fields[F_RGB_EN], &enable); in mt6370_mc_blink_set()
[all …]
/linux/tools/kvm/kvm_stat/
H A Dkvm_stat641 fields = self.walkdir(path)[1]
643 for field in fields:
648 fields += extra
649 return fields
653 self.fields = [field for field in self._get_available_fields()
659 self.fields.append(parent)
687 fields = self._get_available_fields()
698 newlim = len(groupids) * len(fields) + 50
714 for name in fields:
743 def fields(self): member in TracepointProvider
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_field_iter.c12 } fields[] = { variable
145 if (!ASSERT_OK(strcmp(fields[id].strs[str_idx], str), "field_str_match")) in test_btf_field_iter()
150 ASSERT_EQ(fields[id].strs[str_idx], NULL, "field_str_cnt"); in test_btf_field_iter()
153 if (!ASSERT_EQ(*next_id, fields[id].ids[id_idx], "field_id_match")) in test_btf_field_iter()
158 ASSERT_EQ(fields[id].ids[id_idx], 0, "field_id_cnt"); in test_btf_field_iter()

12345678910>>...27