/linux-6.6.21/lib/crypto/ |
D | curve25519-selftest.c | 9 u8 private[CURVE25519_KEY_SIZE]; member 16 .private = { 0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d, 31 .private = { 0x5d, 0xab, 0x08, 0x7e, 0x62, 0x4a, 0x8a, 0x4b, 46 .private = { 1 }, 58 .private = { 1 }, 70 .private = { 0xa5, 0x46, 0xe3, 0x6b, 0xf0, 0x52, 0x7c, 0x9d, 85 .private = { 1, 2, 3, 4 }, 91 .private = { 2, 4, 6, 8 }, 100 .private = { 0xff, 0xff, 0xff, 0xff, 0x0a, 0xff, 0xff, 0xff, 115 .private = { 0x8e, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, [all …]
|
/linux-6.6.21/drivers/s390/cio/ |
D | vfio_ccw_ops.c | 21 static int vfio_ccw_mdev_reset(struct vfio_ccw_private *private) in vfio_ccw_mdev_reset() argument 27 vfio_ccw_fsm_event(private, VFIO_CCW_EVENT_CLOSE); in vfio_ccw_mdev_reset() 28 vfio_ccw_fsm_event(private, VFIO_CCW_EVENT_OPEN); in vfio_ccw_mdev_reset() 29 if (private->state == VFIO_CCW_STATE_NOT_OPER) in vfio_ccw_mdev_reset() 37 struct vfio_ccw_private *private = in vfio_ccw_dma_unmap() local 41 if (!cp_iova_pinned(&private->cp, iova, length)) in vfio_ccw_dma_unmap() 44 vfio_ccw_mdev_reset(private); in vfio_ccw_dma_unmap() 49 struct vfio_ccw_private *private = in vfio_ccw_mdev_init_dev() local 52 mutex_init(&private->io_mutex); in vfio_ccw_mdev_init_dev() 53 private->state = VFIO_CCW_STATE_STANDBY; in vfio_ccw_mdev_init_dev() [all …]
|
D | device_fsm.c | 42 struct io_subchannel_private *private; in ccw_timeout_log() local 47 private = to_io_private(sch); in ccw_timeout_log() 48 orb = &private->orb; in ccw_timeout_log() 72 &private->dma_area->sense_ccw || in ccw_timeout_log() 74 cdev->private->dma_area->iccws) in ccw_timeout_log() 85 cdev->private->state); in ccw_timeout_log() 92 &cdev->private->flags, sizeof(cdev->private->flags), 0); in ccw_timeout_log() 118 del_timer(&cdev->private->timer); in ccw_device_set_timeout() 120 mod_timer(&cdev->private->timer, jiffies + expires); in ccw_device_set_timeout() 130 ret = cio_cancel_halt_clear(sch, &cdev->private->iretry); in ccw_device_cancel_halt_clear() [all …]
|
D | vfio_ccw_fsm.c | 19 static int fsm_io_helper(struct vfio_ccw_private *private) in fsm_io_helper() argument 21 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_io_helper() 30 orb = cp_get_orb(&private->cp, sch); in fsm_io_helper() 51 private->state = VFIO_CCW_STATE_CP_PENDING; in fsm_io_helper() 79 static int fsm_do_halt(struct vfio_ccw_private *private) in fsm_do_halt() argument 81 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_do_halt() 118 static int fsm_do_clear(struct vfio_ccw_private *private) in fsm_do_clear() argument 120 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_do_clear() 154 static void fsm_notoper(struct vfio_ccw_private *private, in fsm_notoper() argument 157 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_notoper() [all …]
|
D | device_pgid.c | 37 struct ccw_dev_id *id = &cdev->private->dev_id; in verify_done() 38 int mpath = cdev->private->flags.mpath; in verify_done() 39 int pgroup = cdev->private->flags.pgroup; in verify_done() 60 struct ccw_request *req = &cdev->private->req; in nop_build_cp() 61 struct ccw1 *cp = cdev->private->dma_area->iccws; in nop_build_cp() 76 struct ccw_request *req = &cdev->private->req; in nop_do() 79 ~cdev->private->path_noirq_mask); in nop_do() 108 struct ccw_request *req = &cdev->private->req; in nop_callback() 115 cdev->private->path_noirq_mask |= req->lpm; in nop_callback() 118 cdev->private->path_notoper_mask |= req->lpm; in nop_callback() [all …]
|
D | eadm_sch.c | 101 struct eadm_private *private = from_timer(private, t, timer); in eadm_subchannel_timeout() local 102 struct subchannel *sch = private->sch; in eadm_subchannel_timeout() 114 struct eadm_private *private = get_eadm_private(sch); in eadm_subchannel_set_timeout() local 117 del_timer(&private->timer); in eadm_subchannel_set_timeout() 119 mod_timer(&private->timer, jiffies + expires); in eadm_subchannel_set_timeout() 124 struct eadm_private *private = get_eadm_private(sch); in eadm_subchannel_irq() local 143 if (private->state != EADM_BUSY) { in eadm_subchannel_irq() 146 private->state = EADM_NOT_OPER; in eadm_subchannel_irq() 151 private->state = EADM_IDLE; in eadm_subchannel_irq() 153 if (private->completion) in eadm_subchannel_irq() [all …]
|
D | vfio_ccw_chp.c | 15 static ssize_t vfio_ccw_schib_region_read(struct vfio_ccw_private *private, in vfio_ccw_schib_region_read() argument 19 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in vfio_ccw_schib_region_read() 28 mutex_lock(&private->io_mutex); in vfio_ccw_schib_region_read() 29 region = private->region[i].data; in vfio_ccw_schib_region_read() 46 mutex_unlock(&private->io_mutex); in vfio_ccw_schib_region_read() 50 static ssize_t vfio_ccw_schib_region_write(struct vfio_ccw_private *private, in vfio_ccw_schib_region_write() argument 58 static void vfio_ccw_schib_region_release(struct vfio_ccw_private *private, in vfio_ccw_schib_region_release() argument 70 int vfio_ccw_register_schib_dev_regions(struct vfio_ccw_private *private) in vfio_ccw_register_schib_dev_regions() argument 72 return vfio_ccw_register_dev_region(private, in vfio_ccw_register_schib_dev_regions() 77 private->schib_region); in vfio_ccw_register_schib_dev_regions() [all …]
|
D | vfio_ccw_drv.c | 40 struct vfio_ccw_private *private = dev_get_drvdata(&parent->dev); in vfio_ccw_sch_quiesce() local 49 if (WARN_ON(!private)) in vfio_ccw_sch_quiesce() 67 private->completion = &completion; in vfio_ccw_sch_quiesce() 73 private->completion = NULL; in vfio_ccw_sch_quiesce() 84 struct vfio_ccw_private *private; in vfio_ccw_sch_io_todo() local 89 private = container_of(work, struct vfio_ccw_private, io_work); in vfio_ccw_sch_io_todo() 90 irb = &private->irb; in vfio_ccw_sch_io_todo() 95 cp_update_scsw(&private->cp, &irb->scsw); in vfio_ccw_sch_io_todo() 96 if (is_final && private->state == VFIO_CCW_STATE_CP_PENDING) { in vfio_ccw_sch_io_todo() 97 cp_free(&private->cp); in vfio_ccw_sch_io_todo() [all …]
|
D | device_ops.c | 47 cdev->private->options.fast = (flags & CCWDEV_EARLY_NOTIFICATION) != 0; in ccw_device_set_options_mask() 48 cdev->private->options.repall = (flags & CCWDEV_REPORT_ALL) != 0; in ccw_device_set_options_mask() 49 cdev->private->options.pgroup = (flags & CCWDEV_DO_PATHGROUP) != 0; in ccw_device_set_options_mask() 50 cdev->private->options.force = (flags & CCWDEV_ALLOW_FORCE) != 0; in ccw_device_set_options_mask() 51 cdev->private->options.mpath = (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options_mask() 72 cdev->private->options.repall) || in ccw_device_set_options() 74 cdev->private->options.fast)) in ccw_device_set_options() 76 cdev->private->options.fast |= (flags & CCWDEV_EARLY_NOTIFICATION) != 0; in ccw_device_set_options() 77 cdev->private->options.repall |= (flags & CCWDEV_REPORT_ALL) != 0; in ccw_device_set_options() 78 cdev->private->options.pgroup |= (flags & CCWDEV_DO_PATHGROUP) != 0; in ccw_device_set_options() [all …]
|
D | vfio_ccw_async.c | 14 static ssize_t vfio_ccw_async_region_read(struct vfio_ccw_private *private, in vfio_ccw_async_region_read() argument 26 mutex_lock(&private->io_mutex); in vfio_ccw_async_region_read() 27 region = private->region[i].data; in vfio_ccw_async_region_read() 32 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_read() 36 static ssize_t vfio_ccw_async_region_write(struct vfio_ccw_private *private, in vfio_ccw_async_region_write() argument 48 if (!mutex_trylock(&private->io_mutex)) in vfio_ccw_async_region_write() 51 region = private->region[i].data; in vfio_ccw_async_region_write() 57 vfio_ccw_fsm_event(private, VFIO_CCW_EVENT_ASYNC_REQ); in vfio_ccw_async_region_write() 62 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_write() 66 static void vfio_ccw_async_region_release(struct vfio_ccw_private *private, in vfio_ccw_async_region_release() argument [all …]
|
D | device.c | 254 if (cdev->private->flags.initialized) { in ccw_device_unregister() 255 cdev->private->flags.initialized = 0; in ccw_device_unregister() 294 cdev->private->state != DEV_STATE_DISCONNECTED) { in ccw_device_set_offline() 296 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_offline() 297 cdev->private->state == DEV_STATE_DISCONNECTED)); in ccw_device_set_offline() 305 "0.%x.%04x\n", ret, cdev->private->dev_id.ssid, in ccw_device_set_offline() 306 cdev->private->dev_id.devno); in ccw_device_set_offline() 309 state = cdev->private->state; in ccw_device_set_offline() 313 cdev->private->state = state; in ccw_device_set_offline() 316 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_offline() [all …]
|
D | device_id.c | 101 struct ccw_dev_id *dev_id = &cdev->private->dev_id; in diag210_get_dev_info() 102 struct senseid *senseid = &cdev->private->dma_area->senseid; in diag210_get_dev_info() 136 cdev->private->flags.esid = 0; in snsid_init() 138 memset(&cdev->private->dma_area->senseid, 0, in snsid_init() 139 sizeof(cdev->private->dma_area->senseid)); in snsid_init() 140 cdev->private->dma_area->senseid.cu_type = 0xffff; in snsid_init() 148 struct cmd_scsw *scsw = &cdev->private->dma_area->irb.scsw.cmd; in snsid_check() 154 if (cdev->private->dma_area->senseid.cu_type == 0xffff) in snsid_check() 157 if (cdev->private->dma_area->senseid.reserved != 0xff) in snsid_check() 161 cdev->private->flags.esid = 1; in snsid_check() [all …]
|
D | vfio_ccw_private.h | 38 ssize_t (*read)(struct vfio_ccw_private *private, char __user *buf, 40 ssize_t (*write)(struct vfio_ccw_private *private, 42 void (*release)(struct vfio_ccw_private *private, 55 int vfio_ccw_register_dev_region(struct vfio_ccw_private *private, 59 void vfio_ccw_unregister_dev_regions(struct vfio_ccw_private *private); 61 int vfio_ccw_register_async_dev_regions(struct vfio_ccw_private *private); 62 int vfio_ccw_register_schib_dev_regions(struct vfio_ccw_private *private); 63 int vfio_ccw_register_crw_dev_regions(struct vfio_ccw_private *private); 169 static inline void vfio_ccw_fsm_event(struct vfio_ccw_private *private, in vfio_ccw_fsm_event() argument 172 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in vfio_ccw_fsm_event() [all …]
|
/linux-6.6.21/sound/usb/ |
D | mixer_scarlett_gen2.c | 1149 static void scarlett2_fill_request_header(struct scarlett2_data *private, in scarlett2_fill_request_header() argument 1154 u16 seq = private->scarlett2_seq++; in scarlett2_fill_request_header() 1186 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb() local 1205 mutex_lock(&private->usb_mutex); in scarlett2_usb() 1209 scarlett2_fill_request_header(private, req, cmd, req_size); in scarlett2_usb() 1214 err = scarlett2_usb_tx(dev, private->bInterfaceNumber, in scarlett2_usb() 1228 err = scarlett2_usb_rx(dev, private->bInterfaceNumber, in scarlett2_usb() 1271 mutex_unlock(&private->usb_mutex); in scarlett2_usb() 1299 struct scarlett2_data *private = mixer->private_data; in scarlett2_usb_get_config() local 1300 const struct scarlett2_device_info *info = private->info; in scarlett2_usb_get_config() [all …]
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_drm_drv.c | 396 static bool mtk_drm_find_mmsys_comp(struct mtk_drm_private *private, int comp_id) in mtk_drm_find_mmsys_comp() argument 398 const struct mtk_mmsys_driver_data *drv_data = private->data; in mtk_drm_find_mmsys_comp() 421 struct mtk_drm_private *private = drm->dev_private; in mtk_drm_kms_init() local 447 for (i = 0; i < private->data->mmsys_dev_num; i++) { in mtk_drm_kms_init() 448 drm->dev_private = private->all_drm_private[i]; in mtk_drm_kms_init() 449 ret = component_bind_all(private->all_drm_private[i]->dev, drm); in mtk_drm_kms_init() 470 for (j = 0; j < private->data->mmsys_dev_num; j++) { in mtk_drm_kms_init() 471 priv_n = private->all_drm_private[j]; in mtk_drm_kms_init() 508 for (i = 0; i < private->data->mmsys_dev_num; i++) in mtk_drm_kms_init() 509 private->all_drm_private[i]->dma_dev = dma_dev; in mtk_drm_kms_init() [all …]
|
/linux-6.6.21/sound/soc/sof/ |
D | ipc3-pcm.c | 197 struct sof_dai_private_data *private = dai->private; in ssp_dai_config_pcm_params_match() local 199 config = &private->dai_config[i]; in ssp_dai_config_pcm_params_match() 218 struct sof_dai_private_data *private; in sof_ipc3_pcm_dai_link_fixup() local 227 private = dai->private; in sof_ipc3_pcm_dai_link_fixup() 228 if (!private) { in sof_ipc3_pcm_dai_link_fixup() 237 switch (private->comp_dai->config.frame_fmt) { in sof_ipc3_pcm_dai_link_fixup() 253 switch (private->dai_config->type) { in sof_ipc3_pcm_dai_link_fixup() 258 rate->min = private->dai_config[dai->current_config].ssp.fsync_rate; in sof_ipc3_pcm_dai_link_fixup() 259 rate->max = private->dai_config[dai->current_config].ssp.fsync_rate; in sof_ipc3_pcm_dai_link_fixup() 260 channels->min = private->dai_config[dai->current_config].ssp.tdm_slots; in sof_ipc3_pcm_dai_link_fixup() [all …]
|
D | ipc3-topology.c | 387 swidget->private = host; in sof_ipc3_widget_setup_comp_host() 415 kfree(swidget->private); in sof_ipc3_widget_setup_comp_host() 416 swidget->private = NULL; in sof_ipc3_widget_setup_comp_host() 423 kfree(swidget->private); in sof_ipc3_widget_free_comp() 437 swidget->private = tone; in sof_ipc3_widget_setup_comp_tone() 447 kfree(swidget->private); in sof_ipc3_widget_setup_comp_tone() 448 swidget->private = NULL; in sof_ipc3_widget_setup_comp_tone() 470 swidget->private = mixer; in sof_ipc3_widget_setup_comp_mixer() 481 kfree(swidget->private); in sof_ipc3_widget_setup_comp_mixer() 482 swidget->private = NULL; in sof_ipc3_widget_setup_comp_mixer() [all …]
|
/linux-6.6.21/drivers/s390/block/ |
D | dasd_diag.c | 106 struct dasd_diag_private *private = device->private; in mdsk_init_io() local 107 struct dasd_diag_init_io *iib = &private->iib; in mdsk_init_io() 112 iib->dev_nr = private->dev_id.devno; in mdsk_init_io() 130 struct dasd_diag_private *private = device->private; in mdsk_term_io() local 131 struct dasd_diag_init_io *iib = &private->iib; in mdsk_term_io() 135 iib->dev_nr = private->dev_id.devno; in mdsk_term_io() 166 struct dasd_diag_private *private; in dasd_start_diag() local 177 private = device->private; in dasd_start_diag() 180 private->iob.dev_nr = private->dev_id.devno; in dasd_start_diag() 181 private->iob.key = 0; in dasd_start_diag() [all …]
|
D | dasd_eckd.c | 220 struct dasd_eckd_private *private = device->private; in dasd_eckd_track_from_irb() local 248 *track = cyl * private->rdc_data.trk_per_cyl + head; in dasd_eckd_track_from_irb() 255 struct dasd_eckd_private *private = device->private; in set_timestamp() local 263 if ((rc && !private->rdc_data.facilities.XRC_supported) || in set_timestamp() 284 struct dasd_eckd_private *private = device->private; in define_extent() local 307 data->attributes.operation = private->attrib.operation; in define_extent() 316 data->attributes.operation = private->attrib.operation; in define_extent() 324 data->attributes.operation = private->attrib.operation; in define_extent() 342 data->attributes.operation = private->attrib.operation; in define_extent() 347 data->attributes.operation = private->attrib.operation; in define_extent() [all …]
|
D | dasd_alias.c | 189 struct dasd_eckd_private *private = device->private; in dasd_alias_make_device_known_to_lcu() local 232 private->lcu = lcu; in dasd_alias_make_device_known_to_lcu() 246 struct dasd_eckd_private *private = device->private; in dasd_alias_disconnect_device_from_lcu() local 253 lcu = private->lcu; in dasd_alias_disconnect_device_from_lcu() 280 private->lcu = NULL; in dasd_alias_disconnect_device_from_lcu() 317 struct dasd_eckd_private *private = device->private; in _add_device_to_lcu() local 322 private->uid.type = lcu->uac->unit[private->uid.real_unit_addr].ua_type; in _add_device_to_lcu() 323 private->uid.base_unit_addr = in _add_device_to_lcu() 324 lcu->uac->unit[private->uid.real_unit_addr].base_ua; in _add_device_to_lcu() 325 uid = private->uid; in _add_device_to_lcu() [all …]
|
D | dasd_fba.c | 121 struct dasd_fba_private *private = device->private; in dasd_fba_check_characteristics() local 126 if (!private) { in dasd_fba_check_characteristics() 127 private = kzalloc(sizeof(*private), GFP_KERNEL | GFP_DMA); in dasd_fba_check_characteristics() 128 if (!private) { in dasd_fba_check_characteristics() 134 device->private = private; in dasd_fba_check_characteristics() 136 memset(private, 0, sizeof(*private)); in dasd_fba_check_characteristics() 142 device->private = NULL; in dasd_fba_check_characteristics() 143 kfree(private); in dasd_fba_check_characteristics() 151 &private->rdc_data, 32); in dasd_fba_check_characteristics() 157 device->private = NULL; in dasd_fba_check_characteristics() [all …]
|
/linux-6.6.21/drivers/usb/serial/ |
D | upd78f0730.c | 162 struct upd78f0730_port_private *private; in upd78f0730_port_probe() local 164 private = kzalloc(sizeof(*private), GFP_KERNEL); in upd78f0730_port_probe() 165 if (!private) in upd78f0730_port_probe() 168 mutex_init(&private->lock); in upd78f0730_port_probe() 169 usb_set_serial_port_data(port, private); in upd78f0730_port_probe() 176 struct upd78f0730_port_private *private; in upd78f0730_port_remove() local 178 private = usb_get_serial_port_data(port); in upd78f0730_port_remove() 179 mutex_destroy(&private->lock); in upd78f0730_port_remove() 180 kfree(private); in upd78f0730_port_remove() 185 struct upd78f0730_port_private *private; in upd78f0730_tiocmget() local [all …]
|
/linux-6.6.21/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_drv.c | 55 struct rockchip_drm_private *private = drm_dev->dev_private; in rockchip_drm_dma_attach_device() local 58 if (!private->domain) in rockchip_drm_dma_attach_device() 70 ret = iommu_attach_device(private->domain, dev); in rockchip_drm_dma_attach_device() 82 struct rockchip_drm_private *private = drm_dev->dev_private; in rockchip_drm_dma_detach_device() local 84 if (!private->domain) in rockchip_drm_dma_detach_device() 87 iommu_detach_device(private->domain, dev); in rockchip_drm_dma_detach_device() 93 struct rockchip_drm_private *private = drm_dev->dev_private; in rockchip_drm_dma_init_device() local 96 private->iommu_dev = ERR_PTR(-ENODEV); in rockchip_drm_dma_init_device() 97 else if (!private->iommu_dev) in rockchip_drm_dma_init_device() 98 private->iommu_dev = dev; in rockchip_drm_dma_init_device() [all …]
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | charge_reserved_hugetlb.sh | 157 local private="$7" 182 [[ "$private" == "-r" ]] && [[ "$expect_failure" != 1 ]]; then 185 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output & 218 "$cgroup" "$path" "$method" "$private" "$reserve" 275 local private="$8" 294 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \ 323 local private="${13}" 348 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \ 365 "$populate2" "$write2" "/mnt/huge/test2" "$method" "$private" \ 401 for private in "" "-r"; do [all …]
|
/linux-6.6.21/fs/pstore/ |
D | inode.c | 52 static void free_pstore_private(struct pstore_private *private) in free_pstore_private() argument 54 if (!private) in free_pstore_private() 56 if (private->record) { in free_pstore_private() 57 kvfree(private->record->buf); in free_pstore_private() 58 kfree(private->record->priv); in free_pstore_private() 59 kfree(private->record); in free_pstore_private() 61 kfree(private); in free_pstore_private() 66 struct pstore_private *ps = s->private; in pstore_ftrace_seq_start() 91 struct pstore_private *ps = s->private; in pstore_ftrace_seq_next() 104 struct pstore_private *ps = s->private; in pstore_ftrace_seq_show() [all …]
|