/Linux-v5.15/security/integrity/ima/ |
D | ima_template_lib.c | 307 int ima_eventdigest_init(struct ima_event_data *event_data, in ima_eventdigest_init() argument 321 if (event_data->violation) /* recording a violation. */ in ima_eventdigest_init() 324 if (ima_template_hash_algo_allowed(event_data->iint->ima_hash->algo)) { in ima_eventdigest_init() 325 cur_digest = event_data->iint->ima_hash->digest; in ima_eventdigest_init() 326 cur_digestsize = event_data->iint->ima_hash->length; in ima_eventdigest_init() 330 if ((const char *)event_data->filename == boot_aggregate_name) { in ima_eventdigest_init() 348 if (!event_data->file) /* missing info to re-calculate the digest */ in ima_eventdigest_init() 351 inode = file_inode(event_data->file); in ima_eventdigest_init() 354 result = ima_calc_file_hash(event_data->file, &hash.hdr); in ima_eventdigest_init() 357 event_data->filename, "collect_data", in ima_eventdigest_init() [all …]
|
D | ima_template_lib.h | 35 int ima_eventdigest_init(struct ima_event_data *event_data, 37 int ima_eventname_init(struct ima_event_data *event_data, 39 int ima_eventdigest_ng_init(struct ima_event_data *event_data, 41 int ima_eventdigest_modsig_init(struct ima_event_data *event_data, 43 int ima_eventname_ng_init(struct ima_event_data *event_data, 45 int ima_eventsig_init(struct ima_event_data *event_data, 47 int ima_eventbuf_init(struct ima_event_data *event_data, 49 int ima_eventmodsig_init(struct ima_event_data *event_data, 51 int ima_eventevmsig_init(struct ima_event_data *event_data, 53 int ima_eventinodeuid_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() 311 struct ima_event_data event_data = { .iint = iint, in ima_store_measurement() local 328 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 83 result = ima_alloc_init_template(&event_data, &entry, NULL); in ima_add_boot_aggregate()
|
/Linux-v5.15/drivers/connector/ |
D | cn_proc.c | 81 memset(&ev->event_data, 0, sizeof(ev->event_data)); in proc_fork_connector() 86 ev->event_data.fork.parent_pid = parent->pid; in proc_fork_connector() 87 ev->event_data.fork.parent_tgid = parent->tgid; in proc_fork_connector() 89 ev->event_data.fork.child_pid = task->pid; in proc_fork_connector() 90 ev->event_data.fork.child_tgid = task->tgid; in proc_fork_connector() 110 memset(&ev->event_data, 0, sizeof(ev->event_data)); in proc_exec_connector() 113 ev->event_data.exec.process_pid = task->pid; in proc_exec_connector() 114 ev->event_data.exec.process_tgid = task->tgid; in proc_exec_connector() 135 memset(&ev->event_data, 0, sizeof(ev->event_data)); in proc_id_connector() 137 ev->event_data.id.process_pid = task->pid; in proc_id_connector() [all …]
|
/Linux-v5.15/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 | 226 char event_data[] __aligned(4); member 3609 struct SL_WH_TRIGGERS_EVENT_DATA_T *event_data) in mpt3sas_send_trigger_data_event() argument 3616 sz = sizeof(*event_data); in mpt3sas_send_trigger_data_event() 3622 memcpy(fw_event->event_data, event_data, sizeof(*event_data)); in mpt3sas_send_trigger_data_event() 4017 Mpi2EventDataSasTopologyChangeList_t *event_data) in _scsih_block_io_to_children_attached_directly() argument 4023 for (i = 0; i < event_data->NumEntries; i++) { in _scsih_block_io_to_children_attached_directly() 4024 handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle); in _scsih_block_io_to_children_attached_directly() 4027 reason_code = event_data->PHY[i].PhyStatus & in _scsih_block_io_to_children_attached_directly() 4044 Mpi26EventDataPCIeTopologyChangeList_t *event_data) in _scsih_block_io_to_pcie_children_attached_directly() argument 4050 for (i = 0; i < event_data->NumEntries; i++) { in _scsih_block_io_to_pcie_children_attached_directly() [all …]
|
/Linux-v5.15/drivers/hwtracing/coresight/ |
D | coresight-etm-perf.c | 45 struct etm_event_data *event_data; member 189 static void free_sink_buffer(struct etm_event_data *event_data) in free_sink_buffer() argument 192 cpumask_t *mask = &event_data->mask; in free_sink_buffer() 195 if (!event_data->snk_config) in free_sink_buffer() 202 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer() 203 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer() 210 struct etm_event_data *event_data; in free_event_data() local 212 event_data = container_of(work, struct etm_event_data, work); in free_event_data() 213 mask = &event_data->mask; in free_event_data() 216 free_sink_buffer(event_data); in free_event_data() [all …]
|
/Linux-v5.15/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-v5.15/drivers/input/keyboard/ |
D | cros_ec_keyb.c | 250 switch (ckdev->ec->event_data.event_type) { in cros_ec_keyb_work() 261 ckdev->ec->event_data.data.key_matrix, in cros_ec_keyb_work() 268 val = get_unaligned_le32(&ckdev->ec->event_data.data.sysrq); in cros_ec_keyb_work() 277 if (ckdev->ec->event_data.event_type == EC_MKBP_EVENT_BUTTON) { in cros_ec_keyb_work() 279 &ckdev->ec->event_data.data.buttons); in cros_ec_keyb_work() 283 &ckdev->ec->event_data.data.switches); in cros_ec_keyb_work() 397 union ec_response_get_next_data event_data = {}; in cros_ec_keyb_query_switches() local 401 EC_MKBP_EVENT_SWITCH, &event_data, in cros_ec_keyb_query_switches() 402 sizeof(event_data.switches)); in cros_ec_keyb_query_switches() 407 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-v5.15/drivers/scsi/mpi3mr/ |
D | mpi3mr_os.c | 915 (struct mpi3_event_data_device_status_change *)fwevt->event_data; in mpi3mr_devstatuschg_evt_bh() 1010 struct mpi3_event_data_sas_topology_change_list *event_data) in mpi3mr_sastopochg_evt_debug() argument 1018 switch (event_data->exp_status) { in mpi3mr_sastopochg_evt_debug() 1039 __func__, le16_to_cpu(event_data->expander_dev_handle), in mpi3mr_sastopochg_evt_debug() 1040 le16_to_cpu(event_data->enclosure_handle), in mpi3mr_sastopochg_evt_debug() 1041 event_data->start_phy_num, event_data->num_entries); in mpi3mr_sastopochg_evt_debug() 1042 for (i = 0; i < event_data->num_entries; i++) { in mpi3mr_sastopochg_evt_debug() 1043 handle = le16_to_cpu(event_data->phy_entry[i].attached_dev_handle); in mpi3mr_sastopochg_evt_debug() 1046 phy_number = event_data->start_phy_num + i; in mpi3mr_sastopochg_evt_debug() 1047 reason_code = event_data->phy_entry[i].status & in mpi3mr_sastopochg_evt_debug() [all …]
|
/Linux-v5.15/drivers/platform/chrome/ |
D | cros_ec_proto.c | 645 ec_dev->event_data = *event; in get_next_event_xfer() 678 sizeof(ec_dev->event_data.data)]; in get_keyboard_state_event() 683 msg->insize = sizeof(ec_dev->event_data.data); in get_keyboard_state_event() 687 ec_dev->event_data.event_type = EC_MKBP_EVENT_KEY_MATRIX; in get_keyboard_state_event() 688 memcpy(&ec_dev->event_data.data, msg->data, in get_keyboard_state_event() 689 sizeof(ec_dev->event_data.data)); in get_keyboard_state_event() 744 *has_more_events = ec_dev->event_data.event_type & in cros_ec_get_next_event() 746 ec_dev->event_data.event_type &= EC_MKBP_EVENT_TYPE_MASK; in cros_ec_get_next_event() 749 event_type = ec_dev->event_data.event_type; in cros_ec_get_next_event() 788 if (ec_dev->event_data.event_type != EC_MKBP_EVENT_HOST_EVENT) in cros_ec_get_host_event() [all …]
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | devcom.h | 17 void *event_data); 32 void *event_data);
|
/Linux-v5.15/drivers/misc/vmw_vmci/ |
D | vmci_event.c | 91 subscriber_list = &subscriber_array[event_msg->event_data.event]; in event_deliver() 93 cur->callback(cur->id, &event_msg->event_data, in event_deliver() 111 if (!VMCI_EVENT_VALID(event_msg->event_data.event)) in vmci_event_dispatch()
|
D | vmci_guest.c | 135 const struct vmci_event_data *event_data, in vmci_guest_cid_update() argument 139 vmci_event_data_const_payload(event_data); in vmci_guest_cid_update() 146 if (!event_data || ev_payload->context_id == VMCI_INVALID_ID) { in vmci_guest_cid_update() 152 vm_context_id, ev_payload->context_id, event_data->event); in vmci_guest_cid_update()
|
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/media/cec/platform/cros-ec/ |
D | cros-ec-cec.c | 44 uint8_t *cec_message = cros_ec->event_data.data.cec_message; in handle_cec_message() 56 uint32_t events = cros_ec->event_data.data.cec_events; in handle_cec_event() 79 if (cros_ec->event_data.event_type == EC_MKBP_EVENT_CEC_EVENT) { in cros_ec_cec_event() 84 if (cros_ec->event_data.event_type == EC_MKBP_EVENT_CEC_MESSAGE) { in cros_ec_cec_event()
|
/Linux-v5.15/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-v5.15/arch/powerpc/perf/ |
D | hv-24x7.c | 792 void *event_data, *end; in create_events_from_catalog() local 857 event_data = vmalloc(event_data_bytes); in create_events_from_catalog() 858 if (!event_data) { in create_events_from_catalog() 864 end = event_data + event_data_bytes; in create_events_from_catalog() 874 vmalloc_to_phys(event_data + i * 4096), in create_events_from_catalog() 889 for (junk_events = 0, event = event_data, event_idx = 0, attr_max = 0; in create_events_from_catalog() 892 size_t offset = (void *)event - (void *)event_data; in create_events_from_catalog() 953 event = event_data, event_idx = 0; in create_events_from_catalog() 1000 vfree(event_data); in create_events_from_catalog() 1013 vfree(event_data); in create_events_from_catalog()
|
/Linux-v5.15/include/uapi/scsi/ |
D | scsi_netlink_fc.h | 53 __u32 event_data; member
|
/Linux-v5.15/drivers/mfd/ |
D | iqs62x.c | 458 struct iqs62x_event_data event_data; in iqs62x_irq() local 484 event_data.ui_data = get_unaligned_le16(&event_map[i]); in iqs62x_irq() 492 event_data.als_flags = event_map[i]; in iqs62x_irq() 496 event_data.ir_flags = event_map[i]; in iqs62x_irq() 500 event_data.interval = event_map[i]; in iqs62x_irq() 566 &event_data); in iqs62x_irq()
|
/Linux-v5.15/include/linux/ |
D | tpm_eventlog.h | 31 u8 event_data[]; member 58 u8 event_data[]; member
|