/linux-6.12.1/security/integrity/ima/ |
D | ima_template_lib.c | 344 int ima_eventdigest_init(struct ima_event_data *event_data, in ima_eventdigest_init() argument 357 if (event_data->violation) /* recording a violation. */ in ima_eventdigest_init() 360 if (ima_template_hash_algo_allowed(event_data->iint->ima_hash->algo)) { in ima_eventdigest_init() 361 cur_digest = event_data->iint->ima_hash->digest; in ima_eventdigest_init() 362 cur_digestsize = event_data->iint->ima_hash->length; in ima_eventdigest_init() 366 if ((const char *)event_data->filename == boot_aggregate_name) { in ima_eventdigest_init() 384 if (!event_data->file) /* missing info to re-calculate the digest */ in ima_eventdigest_init() 387 inode = file_inode(event_data->file); in ima_eventdigest_init() 390 result = ima_calc_file_hash(event_data->file, hash_hdr); in ima_eventdigest_init() 393 event_data->filename, "collect_data", in ima_eventdigest_init() [all …]
|
D | ima_template_lib.h | 37 int ima_eventdigest_init(struct ima_event_data *event_data, 39 int ima_eventname_init(struct ima_event_data *event_data, 41 int ima_eventdigest_ng_init(struct ima_event_data *event_data, 43 int ima_eventdigest_ngv2_init(struct ima_event_data *event_data, 45 int ima_eventdigest_modsig_init(struct ima_event_data *event_data, 47 int ima_eventname_ng_init(struct ima_event_data *event_data, 49 int ima_eventsig_init(struct ima_event_data *event_data, 51 int ima_eventbuf_init(struct ima_event_data *event_data, 53 int ima_eventmodsig_init(struct ima_event_data *event_data, 55 int ima_eventevmsig_init(struct ima_event_data *event_data, [all …]
|
D | ima_api.c | 37 int ima_alloc_init_template(struct ima_event_data *event_data, in ima_alloc_init_template() argument 70 result = field->field_init(event_data, in ima_alloc_init_template() 139 struct ima_event_data event_data = { .iint = iint, in ima_add_violation() local 149 result = ima_alloc_init_template(&event_data, &entry, NULL); in ima_add_violation() 359 struct ima_event_data event_data = { .iint = iint, in ima_store_measurement() local 376 result = ima_alloc_init_template(&event_data, &entry, template_desc); in ima_store_measurement()
|
D | ima_init.c | 48 struct ima_event_data event_data = { .iint = iint, in ima_add_boot_aggregate() local 82 result = ima_alloc_init_template(&event_data, &entry, NULL); in ima_add_boot_aggregate()
|
/linux-6.12.1/drivers/scsi/mpt3sas/ |
D | mpt3sas_trigger_diag.c | 69 struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) in _mpt3sas_raise_sigio() argument 85 memcpy(&mpi_reply->EventData, event_data, in _mpt3sas_raise_sigio() 113 struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) in mpt3sas_process_trigger_data() argument 116 u32 *trig_data = (u32 *)&event_data->u.master; in mpt3sas_process_trigger_data() 129 __func__, event_data->trigger_type, in mpt3sas_process_trigger_data() 136 if (event_data) { in mpt3sas_process_trigger_data() 137 ioc->htb_rel.trigger_type = event_data->trigger_type; in mpt3sas_process_trigger_data() 138 switch (event_data->trigger_type) { in mpt3sas_process_trigger_data() 141 &event_data->u.scsi, in mpt3sas_process_trigger_data() 146 &event_data->u.mpi, in mpt3sas_process_trigger_data() [all …]
|
D | mpt3sas_scsih.c | 225 char event_data[] __aligned(4); member 3599 struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) in mpt3sas_send_trigger_data_event() argument 3606 sz = sizeof(*event_data); in mpt3sas_send_trigger_data_event() 3612 memcpy(fw_event->event_data, event_data, sizeof(*event_data)); in mpt3sas_send_trigger_data_event() 4007 Mpi2EventDataSasTopologyChangeList_t *event_data) in _scsih_block_io_to_children_attached_directly() argument 4013 for (i = 0; i < event_data->NumEntries; i++) { in _scsih_block_io_to_children_attached_directly() 4014 handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle); in _scsih_block_io_to_children_attached_directly() 4017 reason_code = event_data->PHY[i].PhyStatus & in _scsih_block_io_to_children_attached_directly() 4034 Mpi26EventDataPCIeTopologyChangeList_t *event_data) in _scsih_block_io_to_pcie_children_attached_directly() argument 4040 for (i = 0; i < event_data->NumEntries; i++) { in _scsih_block_io_to_pcie_children_attached_directly() [all …]
|
/linux-6.12.1/drivers/connector/ |
D | cn_proc.c | 106 ((struct proc_event *)msg->data)->event_data.exit.exit_code; in send_msg() 129 memset(&ev->event_data, 0, sizeof(ev->event_data)); in proc_fork_connector() 134 ev->event_data.fork.parent_pid = parent->pid; in proc_fork_connector() 135 ev->event_data.fork.parent_tgid = parent->tgid; in proc_fork_connector() 137 ev->event_data.fork.child_pid = task->pid; in proc_fork_connector() 138 ev->event_data.fork.child_tgid = task->tgid; in proc_fork_connector() 158 memset(&ev->event_data, 0, sizeof(ev->event_data)); in proc_exec_connector() 161 ev->event_data.exec.process_pid = task->pid; in proc_exec_connector() 162 ev->event_data.exec.process_tgid = task->tgid; in proc_exec_connector() 183 memset(&ev->event_data, 0, sizeof(ev->event_data)); in proc_id_connector() [all …]
|
/linux-6.12.1/tools/testing/selftests/connector/ |
D | proc_filter.c | 150 event->event_data.exit.process_pid, in handle_packet() 151 event->event_data.exit.process_tgid, in handle_packet() 152 event->event_data.exit.exit_code, in handle_packet() 153 event->event_data.exit.exit_signal); in handle_packet() 157 event->event_data.fork.child_pid, in handle_packet() 158 event->event_data.fork.child_tgid, in handle_packet() 159 event->event_data.fork.parent_pid, in handle_packet() 160 event->event_data.fork.parent_tgid); in handle_packet() 164 event->event_data.exec.process_pid, in handle_packet() 165 event->event_data.exec.process_tgid); in handle_packet() [all …]
|
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | coresight-etm-perf.c | 47 struct etm_event_data *event_data; member 195 static void free_sink_buffer(struct etm_event_data *event_data) in free_sink_buffer() argument 198 cpumask_t *mask = &event_data->mask; in free_sink_buffer() 201 if (!event_data->snk_config) in free_sink_buffer() 208 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer() 209 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer() 216 struct etm_event_data *event_data; in free_event_data() local 218 event_data = container_of(work, struct etm_event_data, work); in free_event_data() 219 mask = &event_data->mask; in free_event_data() 222 free_sink_buffer(event_data); in free_event_data() [all …]
|
/linux-6.12.1/tools/counter/ |
D | counter_example.c | 47 struct counter_event event_data[2]; in main() local 70 ret = read(fd, event_data, sizeof(event_data)); in main() 76 if (ret != sizeof(event_data)) { in main() 85 event_data[0].timestamp, event_data[0].value, in main() 86 strerror(event_data[0].status), in main() 87 event_data[1].timestamp, event_data[1].value, in main() 88 strerror(event_data[1].status)); in main()
|
D | counter_watch_events.c | 197 struct counter_event event_data; in main() local 375 ret = read(fd, &event_data, sizeof(event_data)); in main() 382 if (ret != sizeof(event_data)) { in main() 389 event_data.timestamp, event_data.value, in main() 390 counter_event_type_name[event_data.watch.event], in main() 391 event_data.watch.channel); in main() 393 if (event_data.status) { in main() 394 fprintf(stderr, "Error %d: %s\n", event_data.status, in main() 395 strerror(event_data.status)); in main()
|
/linux-6.12.1/drivers/misc/ibmasm/ |
D | ibmasmfs.c | 339 struct ibmasmfs_event_data *event_data; in event_file_open() local 347 event_data = kmalloc(sizeof(struct ibmasmfs_event_data), GFP_KERNEL); in event_file_open() 348 if (!event_data) in event_file_open() 351 ibmasm_event_reader_register(sp, &event_data->reader); in event_file_open() 353 event_data->sp = sp; in event_file_open() 354 event_data->active = 0; in event_file_open() 355 file->private_data = event_data; in event_file_open() 361 struct ibmasmfs_event_data *event_data = file->private_data; in event_file_close() local 363 ibmasm_event_reader_unregister(event_data->sp, &event_data->reader); in event_file_close() 364 kfree(event_data); in event_file_close() [all …]
|
/linux-6.12.1/drivers/input/keyboard/ |
D | cros_ec_keyb.c | 260 switch (ckdev->ec->event_data.event_type) { in cros_ec_keyb_work() 271 ckdev->ec->event_data.data.key_matrix, in cros_ec_keyb_work() 278 val = get_unaligned_le32(&ckdev->ec->event_data.data.sysrq); in cros_ec_keyb_work() 287 if (ckdev->ec->event_data.event_type == EC_MKBP_EVENT_BUTTON) { in cros_ec_keyb_work() 289 &ckdev->ec->event_data.data.buttons); in cros_ec_keyb_work() 293 &ckdev->ec->event_data.data.switches); in cros_ec_keyb_work() 407 union ec_response_get_next_data event_data = {}; in cros_ec_keyb_query_switches() local 411 EC_MKBP_EVENT_SWITCH, &event_data, in cros_ec_keyb_query_switches() 412 sizeof(event_data.switches)); in cros_ec_keyb_query_switches() 417 get_unaligned_le32(&event_data.switches)); in cros_ec_keyb_query_switches() [all …]
|
D | iqs62x-keys.c | 187 struct iqs62x_event_data *event_data = context; in iqs62x_keys_notifier() local 207 event_data->interval == iqs62x_keys->interval) in iqs62x_keys_notifier() 223 if (event_data->interval == iqs62x_keys->interval) in iqs62x_keys_notifier() 242 iqs62x_keys->interval = event_data->interval; in iqs62x_keys_notifier()
|
/linux-6.12.1/drivers/scsi/mpi3mr/ |
D | mpi3mr_os.c | 256 struct trigger_event_data *event_data) in mpi3mr_hdb_trigger_data_event() argument 259 u16 sz = sizeof(*event_data); in mpi3mr_hdb_trigger_data_event() 273 memcpy(fwevt->event_data, event_data, sz); in mpi3mr_hdb_trigger_data_event() 432 *(struct mpi3mr_throttle_group_info **)fwevt->event_data = tg; in mpi3mr_queue_qd_reduction_event() 1344 (struct mpi3_event_data_device_status_change *)fwevt->event_data; in mpi3mr_devstatuschg_evt_bh() 1484 struct trigger_event_data *event_data) in mpi3mr_process_trigger_data_event_bh() argument 1486 struct diag_buffer_desc *trace_hdb = event_data->trace_hdb; in mpi3mr_process_trigger_data_event_bh() 1487 struct diag_buffer_desc *fw_hdb = event_data->fw_hdb; in mpi3mr_process_trigger_data_event_bh() 1490 u8 trigger_type = event_data->trigger_type; in mpi3mr_process_trigger_data_event_bh() 1492 &event_data->trigger_specific_data; in mpi3mr_process_trigger_data_event_bh() [all …]
|
/linux-6.12.1/drivers/platform/chrome/ |
D | cros_ec_proto.c | 701 ec_dev->event_data = *event; in get_next_event_xfer() 743 sizeof(ec_dev->event_data.data)]; in get_keyboard_state_event() 748 msg->insize = sizeof(ec_dev->event_data.data); in get_keyboard_state_event() 752 ec_dev->event_data.event_type = EC_MKBP_EVENT_KEY_MATRIX; in get_keyboard_state_event() 753 memcpy(&ec_dev->event_data.data, msg->data, in get_keyboard_state_event() 754 sizeof(ec_dev->event_data.data)); in get_keyboard_state_event() 843 *has_more_events = ec_dev->event_data.event_type & in cros_ec_get_next_event() 845 ec_dev->event_data.event_type &= EC_MKBP_EVENT_TYPE_MASK; in cros_ec_get_next_event() 848 event_type = ec_dev->event_data.event_type; in cros_ec_get_next_event() 888 if (ec_dev->event_data.event_type != EC_MKBP_EVENT_HOST_EVENT) in cros_ec_get_host_event() [all …]
|
/linux-6.12.1/drivers/misc/vmw_vmci/ |
D | vmci_event.c | 94 sanitized_event = array_index_nospec(event_msg->event_data.event, max_vmci_event); in event_deliver() 97 cur->callback(cur->id, &event_msg->event_data, in event_deliver() 115 if (!VMCI_EVENT_VALID(event_msg->event_data.event)) in vmci_event_dispatch()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | devcom.h | 19 void *event_data); 34 void *event_data);
|
/linux-6.12.1/drivers/devfreq/ |
D | exynos-bus.c | 66 struct devfreq_event_data event_data; in exynos_bus_get_event() local 74 ret = devfreq_event_get_event(bus->edev[i], &event_data); in exynos_bus_get_event() 78 if (i == 0 || event_data.load_count > load_count) { in exynos_bus_get_event() 79 load_count = event_data.load_count; in exynos_bus_get_event() 80 total_count = event_data.total_count; in exynos_bus_get_event()
|
/linux-6.12.1/drivers/iio/light/ |
D | iqs621-als.c | 96 struct iqs62x_event_data *event_data = context; in iqs621_als_notifier() local 132 light_new = event_data->als_flags & IQS621_ALS_FLAGS_LIGHT; in iqs621_als_notifier() 149 range_new = event_data->als_flags & IQS621_ALS_FLAGS_RANGE; in iqs621_als_notifier() 166 prox_new = event_data->ir_flags & iqs621_als->ir_flags_mask; in iqs621_als_notifier() 182 iqs621_als->als_flags = event_data->als_flags; in iqs621_als_notifier() 183 iqs621_als->ir_flags = event_data->ir_flags; in iqs621_als_notifier()
|
/linux-6.12.1/scripts/gcc-plugins/ |
D | structleak_plugin.c | 67 static void register_attributes(void *event_data, void *data) in register_attributes() argument 99 static void finish_type(void *event_data, void *data) in finish_type() argument 101 tree type = (tree)event_data; in finish_type()
|
/linux-6.12.1/drivers/iio/position/ |
D | iqs624-pos.c | 53 struct iqs62x_event_data *event_data = context; in iqs624_pos_notifier() local 57 u16 angle = event_data->ui_data; in iqs624_pos_notifier() 68 angle = event_data->interval; in iqs624_pos_notifier()
|
/linux-6.12.1/drivers/misc/ |
D | smpro-errmon.c | 216 s32 event_data; in smpro_event_data_read() local 219 ret = regmap_read(errmon->regmap, smpro_event_table[channel], &event_data); in smpro_event_data_read() 223 if (event_data != 0) in smpro_event_data_read() 224 regmap_write(errmon->regmap, smpro_event_table[channel], event_data); in smpro_event_data_read() 226 return sysfs_emit(buf, "%04x\n", event_data); in smpro_event_data_read()
|
/linux-6.12.1/arch/powerpc/perf/ |
D | hv-24x7.c | 769 void *event_data, *end; in create_events_from_catalog() local 834 event_data = vmalloc(event_data_bytes); in create_events_from_catalog() 835 if (!event_data) { in create_events_from_catalog() 841 end = event_data + event_data_bytes; in create_events_from_catalog() 851 vmalloc_to_phys(event_data + i * 4096), in create_events_from_catalog() 866 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog() 869 size_t offset = (void *)event - (void *)event_data; in create_events_from_catalog() 930 event = event_data, event_idx = 0; in create_events_from_catalog() 977 vfree(event_data); in create_events_from_catalog() 990 vfree(event_data); in create_events_from_catalog()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_events.c | 801 struct kfd_event_data *event_data) in init_event_waiter() argument 803 struct kfd_event *ev = lookup_event_by_id(p, event_data->event_id); in init_event_waiter() 815 event_data->signal_event_data.last_event_age) { in init_event_waiter() 817 if (ev->event_age != event_data->signal_event_data.last_event_age) in init_event_waiter() 964 struct kfd_event_data event_data; in kfd_wait_on_events() local 966 if (copy_from_user(&event_data, &events[i], in kfd_wait_on_events() 972 ret = init_event_waiter(p, &event_waiters[i], &event_data); in kfd_wait_on_events() 1104 int type, void *event_data) in lookup_events_by_type_and_signal() argument 1111 ev_data = (struct kfd_hsa_memory_exception_data *) event_data; in lookup_events_by_type_and_signal()
|