/linux/lib/crypto/ |
A 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/drivers/s390/cio/ |
A D | vfio_ccw_ops.c | 27 sch = private->sch; in vfio_ccw_mdev_reset() 127 memset(&private->vdev, 0, sizeof(private->vdev)); in vfio_ccw_mdev_probe() 208 &private->nb); in vfio_ccw_mdev_open_device() 267 return private->region[index].ops->read(private, buf, count, in vfio_ccw_mdev_read() 319 return private->region[index].ops->write(private, buf, count, in vfio_ccw_mdev_write() 505 private->region[private->num_regions].subtype = subtype; in vfio_ccw_register_dev_region() 506 private->region[private->num_regions].ops = ops; in vfio_ccw_register_dev_region() 507 private->region[private->num_regions].size = size; in vfio_ccw_register_dev_region() 508 private->region[private->num_regions].flags = flags; in vfio_ccw_register_dev_region() 509 private->region[private->num_regions].data = data; in vfio_ccw_register_dev_region() [all …]
|
A D | vfio_ccw_drv.c | 92 irb = &private->irb; in vfio_ccw_sch_io_todo() 99 cp_free(&private->cp); in vfio_ccw_sch_io_todo() 125 if (!list_empty(&private->crw) && private->crw_trigger) in vfio_ccw_crw_todo() 144 private = kzalloc(sizeof(*private), GFP_KERNEL); in vfio_ccw_alloc_private() 145 if (!private) in vfio_ccw_alloc_private() 148 private->sch = sch; in vfio_ccw_alloc_private() 182 return private; in vfio_ccw_alloc_private() 194 kfree(private); in vfio_ccw_alloc_private() 213 kfree(private); in vfio_ccw_free_private() 229 if (IS_ERR(private)) in vfio_ccw_sch_probe() [all …]
|
A D | device_fsm.c | 46 private = to_io_private(sch); in ccw_timeout_log() 47 orb = &private->orb; in ccw_timeout_log() 84 cdev->private->state); in ccw_timeout_log() 91 &cdev->private->flags, sizeof(cdev->private->flags), 0); in ccw_timeout_log() 125 add_timer(&cdev->private->timer); in ccw_device_set_timeout() 255 cdev->private->state = state; in ccw_device_recog_done() 299 cdev->private->dev_id.ssid, cdev->private->dev_id.devno, in ccw_device_notify() 347 cdev->private->state = state; in ccw_device_done() 767 cdev->private->intparm = 0; in ccw_device_irq() 800 cdev->private->iretry = 255; in ccw_device_online_timeout() [all …]
|
A D | device_pgid.c | 185 if (cdev->private->flags.mpath) in pgid_wipeout_start() 209 if (cdev->private->flags.mpath) in spid_do() 246 cdev->private->flags.mpath = 0; in spid_callback() 425 cdev->private->flags.mpath = 0; in snid_done() 559 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id)); in ccw_device_verify_start() 564 cdev->private->flags.pgroup = cdev->private->options.pgroup; in ccw_device_verify_start() 565 cdev->private->flags.mpath = cdev->private->options.mpath; in ccw_device_verify_start() 582 cdev->private->flags.mpath = 0; in disband_callback() 608 CIO_HEX_EVENT(4, &cdev->private->dev_id, sizeof(cdev->private->dev_id)); in ccw_device_disband_start() 617 if (cdev->private->flags.mpath) in ccw_device_disband_start() [all …]
|
A D | vfio_ccw_fsm.c | 27 sch = private->sch; in fsm_io_helper() 87 sch = private->sch; in fsm_do_halt() 128 sch = private->sch; in fsm_do_clear() 162 struct subchannel *sch = private->sch; in fsm_notoper() 187 private->io_region->ret_code = -EIO; in fsm_io_error() 210 "<unknown>", private->state); in fsm_async_error() 243 union scsw *scsw = &private->scsw; in fsm_io_request() 285 cp_free(&private->cp); in fsm_io_request() 298 cp_free(&private->cp); in fsm_io_request() 366 if (private->completion) in fsm_irq() [all …]
|
A D | eadm_sch.c | 100 struct eadm_private *private = from_timer(private, t, timer); in eadm_subchannel_timeout() local 124 add_timer(&private->timer); in eadm_subchannel_set_timeout() 156 private->state = EADM_IDLE; in eadm_subchannel_irq() 158 if (private->completion) in eadm_subchannel_irq() 170 sch = private->sch; in eadm_get_idle_sch() 222 private = kzalloc(sizeof(*private), GFP_KERNEL | GFP_DMA); in eadm_subchannel_probe() 223 if (!private) in eadm_subchannel_probe() 232 private->sch = sch; in eadm_subchannel_probe() 238 kfree(private); in eadm_subchannel_probe() 290 list_del(&private->head); in eadm_subchannel_remove() [all …]
|
A D | vfio_ccw_chp.c | 27 mutex_lock(&private->io_mutex); in vfio_ccw_schib_region_read() 28 region = private->region[i].data; in vfio_ccw_schib_region_read() 30 if (cio_update_schib(private->sch)) { in vfio_ccw_schib_region_read() 45 mutex_unlock(&private->io_mutex); in vfio_ccw_schib_region_read() 76 private->schib_region); in vfio_ccw_register_schib_dev_regions() 98 mutex_lock(&private->io_mutex); in vfio_ccw_crw_region_read() 99 region = private->region[i].data; in vfio_ccw_crw_region_read() 111 mutex_unlock(&private->io_mutex); in vfio_ccw_crw_region_read() 116 if (!list_empty(&private->crw) && private->crw_trigger) in vfio_ccw_crw_region_read() 117 eventfd_signal(private->crw_trigger, 1); in vfio_ccw_crw_region_read() [all …]
|
A D | device_ops.c | 72 cdev->private->options.repall) || in ccw_device_set_options() 74 cdev->private->options.fast)) in ccw_device_set_options() 108 return cdev->private->flags.pgroup; in ccw_device_is_pathgroup() 120 return cdev->private->flags.mpath; in ccw_device_is_multipath() 155 cdev->private->intparm = intparm; in ccw_device_clear() 209 cdev->private->intparm = intparm; in ccw_device_start_timeout_key() 218 cdev->private->flags.doverify) in ccw_device_start_timeout_key() 232 cdev->private->intparm = intparm; in ccw_device_start_timeout_key() 388 cdev->private->intparm = intparm; in ccw_device_halt() 523 *dev_id = cdev->private->dev_id; in ccw_device_get_id() [all …]
|
A D | device.c | 306 state = cdev->private->state; in ccw_device_set_offline() 310 cdev->private->state = state; in ccw_device_set_offline() 544 switch (cdev->private->state) { in available_show() 669 cio_gp_dma_free(cdev->private->dma_pool, cdev->private->dma_area, in ccw_device_release() 674 kfree(cdev->private); in ccw_device_release() 691 if (!cdev->private) { in io_subchannel_allocate_dev() 709 if (!cdev->private->dma_area) { in io_subchannel_allocate_dev() 718 kfree(cdev->private); in io_subchannel_allocate_dev() 1222 cdev->private->iretry = 255; in io_subchannel_quiesce() 1873 cdev->private->dev_id.ssid, cdev->private->dev_id.devno, in ccw_device_sched_todo() [all …]
|
A D | vfio_ccw_async.c | 15 static ssize_t vfio_ccw_async_region_read(struct vfio_ccw_private *private, in vfio_ccw_async_region_read() argument 27 mutex_lock(&private->io_mutex); in vfio_ccw_async_region_read() 28 region = private->region[i].data; in vfio_ccw_async_region_read() 33 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_read() 49 if (!mutex_trylock(&private->io_mutex)) in vfio_ccw_async_region_write() 52 region = private->region[i].data; in vfio_ccw_async_region_write() 58 vfio_ccw_fsm_event(private, VFIO_CCW_EVENT_ASYNC_REQ); in vfio_ccw_async_region_write() 63 mutex_unlock(&private->io_mutex); in vfio_ccw_async_region_write() 79 int vfio_ccw_register_async_dev_regions(struct vfio_ccw_private *private) in vfio_ccw_register_async_dev_regions() argument 81 return vfio_ccw_register_dev_region(private, in vfio_ccw_register_async_dev_regions() [all …]
|
A D | device_id.c | 101 struct ccw_dev_id *dev_id = &cdev->private->dev_id; 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() 157 if (cdev->private->dma_area->senseid.reserved != 0xff) in snsid_check() 161 cdev->private->flags.esid = 1; in snsid_check() 174 struct ccw_dev_id *id = &cdev->private->dev_id; in snsid_callback() 204 struct ccw_request *req = &cdev->private->req; in ccw_device_sense_id_start() 205 struct ccw1 *cp = cdev->private->dma_area->iccws; in ccw_device_sense_id_start() [all …]
|
A D | vfio_ccw_private.h | 37 ssize_t (*read)(struct vfio_ccw_private *private, char __user *buf, 39 ssize_t (*write)(struct vfio_ccw_private *private, 41 void (*release)(struct vfio_ccw_private *private, 54 int vfio_ccw_register_dev_region(struct vfio_ccw_private *private, 58 void vfio_ccw_unregister_dev_regions(struct vfio_ccw_private *private); 60 int vfio_ccw_register_async_dev_regions(struct vfio_ccw_private *private); 61 int vfio_ccw_register_schib_dev_regions(struct vfio_ccw_private *private); 62 int vfio_ccw_register_crw_dev_regions(struct vfio_ccw_private *private); 160 static inline void vfio_ccw_fsm_event(struct vfio_ccw_private *private, in vfio_ccw_fsm_event() argument 163 trace_vfio_ccw_fsm_event(private->sch->schid, private->state, event); in vfio_ccw_fsm_event() [all …]
|
A D | cmf.c | 219 if (!cdev->private->cmb) in set_schib_wait() 251 cdev->private->cmb_wait = NULL; in set_schib_wait() 287 cmb_data = cdev->private->cmb; in cmf_copy_block() 305 if (!cdev->private->cmb) in cmf_cmb_copy_wait() 355 cmb_data = cdev->private->cmb; in cmf_generic_reset() 471 cdev->private->cmb = cmb_data; in alloc_cmb_single() 542 priv = cdev->private; in free_cmb() 568 if (!cdev->private->cmb) { in set_cmb() 783 if (cdev->private->cmb) in alloc_cmbe() 817 cdev->private->cmb = NULL; in free_cmbe() [all …]
|
/linux/sound/usb/ |
A D | mixer_scarlett_gen2.c | 1363 private->mix[j] = k; in scarlett2_usb_get_mix() 1489 private->mux_updated = 0; in scarlett2_usb_get_mux() 1736 private->vol[i] = private->master_vol; in scarlett2_update_volumes() 1988 private->vol[index] = private->master_vol; in scarlett2_sw_hw_change() 1989 private->mute_switch[index] = private->dim_mute[SCARLETT2_BUTTON_MUTE]; in scarlett2_sw_hw_change() 3484 kfree(private); in scarlett2_private_free() 3554 if (!private) in scarlett2_init_private() 3565 private->info = info; in scarlett2_init_private() 3568 private->mixer = mixer; in scarlett2_init_private() 3717 if (private->vol_sw_hw_switch[line_out_remap(private, i)]) in scarlett2_notify_monitor() [all …]
|
A D | mixer_s1810c.c | 343 mutex_lock(&private->usb_mutex); in snd_s1810c_get_switch_state() 345 ctl_idx, &private->seqnum); in snd_s1810c_get_switch_state() 371 mutex_lock(&private->usb_mutex); in snd_s1810c_set_switch_state() 391 mutex_lock(&private->data_mutex); in snd_s1810c_switch_get() 423 mutex_lock(&private->data_mutex); in snd_s1810c_switch_set() 538 kfree(private); in snd_sc1810_mixer_state_free() 568 if (!private) in snd_sc1810_init_mixer() 571 mutex_init(&private->usb_mutex); in snd_sc1810_init_mixer() 572 mutex_init(&private->data_mutex); in snd_sc1810_init_mixer() 574 mixer->private_data = private; in snd_sc1810_init_mixer() [all …]
|
/linux/drivers/gpu/drm/mediatek/ |
A D | mtk_drm_drv.c | 219 private->mutex_node); in mtk_drm_kms_init() 267 np = private->comp_node[private->data->main_path[0]] ?: in mtk_drm_kms_init() 268 private->comp_node[private->data->ext_path[0]]; in mtk_drm_kms_init() 277 private->dma_dev = dma_dev; in mtk_drm_kms_init() 362 private->drm = drm; in mtk_drm_bind() 389 drm_dev_put(private->drm); in mtk_drm_unbind() 390 private->num_pipes = 0; in mtk_drm_unbind() 391 private->drm = NULL; in mtk_drm_unbind() 511 private = devm_kzalloc(dev, sizeof(*private), GFP_KERNEL); in mtk_drm_probe() 512 if (!private) in mtk_drm_probe() [all …]
|
/linux/drivers/s390/block/ |
A D | dasd_diag.c | 106 struct dasd_diag_private *private = device->private; in mdsk_init_io() local 130 struct dasd_diag_private *private = device->private; in mdsk_term_io() 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() 317 struct dasd_diag_private *private = device->private; in dasd_diag_check_device() local 327 private = kzalloc(sizeof(*private), GFP_KERNEL); in dasd_diag_check_device() 335 device->private = private; in dasd_diag_check_device() 342 kfree(private); in dasd_diag_check_device() 475 kfree(private); in dasd_diag_check_device() [all …]
|
A D | dasd_eckd.c | 1123 private = device->private; in dasd_eckd_read_conf() 2054 device->private = private; in dasd_eckd_check_characteristics() 3032 private = device->private; in dasd_eckd_format_process_data() 3151 private = base->private; in dasd_eckd_ese_format() 3234 private = base->private; in dasd_eckd_ese_read() 3857 private = device->private; in dasd_eckd_release_space_trks() 3912 private = basedev->private; in dasd_eckd_build_cp_cmd_single() 4599 private = basedev->private; in dasd_eckd_build_cp() 4829 private = cqr->block->base->private; in dasd_eckd_free_cp() 4913 private = startdev->private; in dasd_eckd_build_alias_cp() [all …]
|
A D | dasd_alias.c | 189 struct dasd_eckd_private *private = device->private; in dasd_alias_make_device_known_to_lcu() local 246 struct dasd_eckd_private *private = device->private; in dasd_alias_disconnect_device_from_lcu() local 317 struct dasd_eckd_private *private = device->private; in _add_device_to_lcu() local 361 struct dasd_eckd_private *private = device->private; in _remove_device_from_lcu() local 495 private = device->private; in _lcu_update() 501 private = device->private; in _lcu_update() 621 struct dasd_eckd_private *private = device->private; in dasd_alias_add_device() local 769 private = device->private; in _restart_all_base_devices_on_lcu() 776 private = device->private; in _restart_all_base_devices_on_lcu() 812 private = device->private; in flush_all_alias_devices_on_lcu() [all …]
|
A 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() 143 kfree(private); in dasd_fba_check_characteristics() 158 kfree(private); in dasd_fba_check_characteristics() 189 struct dasd_fba_private *private = block->base->private; in dasd_fba_do_analysis() local 434 struct dasd_fba_private *private = block->base->private; in dasd_fba_build_cp_regular() local [all …]
|
/linux/drivers/usb/serial/ |
A D | upd78f0730.c | 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() 179 mutex_destroy(&private->lock); in upd78f0730_port_remove() 180 kfree(private); in upd78f0730_port_remove() 192 mutex_lock(&private->lock); in upd78f0730_tiocmget() 194 mutex_unlock(&private->lock); in upd78f0730_tiocmget() 215 mutex_lock(&private->lock); in upd78f0730_tiocmset() 236 mutex_unlock(&private->lock); in upd78f0730_tiocmset() 250 mutex_lock(&private->lock); in upd78f0730_break_ctl() [all …]
|
/linux/tools/testing/selftests/vm/ |
A D | charge_reserved_hugetlb.sh | 153 local private="$7" 271 local private="$8" 319 local private="${13}" 397 for private in "" "-r"; do 419 echo private=$private, populate=$populate, method=$method, reserve=$reserve 448 echo private=$private, populate=$populate, method=$method, reserve=$reserve 468 echo private=$private, populate=$populate, method=$method, reserve=$reserve 485 echo private=$private, populate=$populate, method=$method, reserve=$reserve 501 echo private=$private, populate=$populate, method=$method, reserve=$reserve 504 "$method" "$private" "0" "$reserve" [all …]
|
/linux/sound/soc/sof/ |
A D | topology.c | 1552 private->size); in sof_widget_load_dai() 1605 private->size); in sof_widget_load_buffer() 1666 private->size); in sof_widget_load_pcm() 1748 private->size); in sof_widget_load_pipeline() 1757 private->size); in sof_widget_load_pipeline() 1808 private->size); in sof_widget_load_mixer() 1846 private->size); in sof_widget_load_mux() 1896 private->size); in sof_widget_load_pga() 1957 private->size); in sof_widget_load_src() 2009 private->size); in sof_widget_load_asrc() [all …]
|
/linux/fs/pstore/ |
A D | inode.c | 54 if (!private) in free_pstore_private() 56 if (private->record) { in free_pstore_private() 57 kfree(private->record->buf); in free_pstore_private() 58 kfree(private->record); in free_pstore_private() 60 kfree(private); in free_pstore_private() 155 sf->private = ps; in pstore_file_open() 378 private = kzalloc(sizeof(*private), GFP_KERNEL); in pstore_mkfile() 379 if (!private) in pstore_mkfile() 386 private->dentry = dentry; in pstore_mkfile() 387 private->record = record; in pstore_mkfile() [all …]
|