Home
last modified time | relevance | path

Searched refs:private (Results 1 – 25 of 1477) sorted by relevance

12345678910>>...60

/kernel/linux/linux-5.10/lib/crypto/
Dcurve25519-selftest.c9 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 …]
/kernel/linux/linux-5.10/drivers/s390/cio/
Dvfio_ccw_ops.c22 struct vfio_ccw_private *private; in vfio_ccw_mdev_reset() local
26 private = dev_get_drvdata(mdev_parent_dev(mdev)); in vfio_ccw_mdev_reset()
27 sch = private->sch; in vfio_ccw_mdev_reset()
42 private->state = VFIO_CCW_STATE_IDLE; in vfio_ccw_mdev_reset()
51 struct vfio_ccw_private *private = in vfio_ccw_mdev_notifier() local
61 if (!cp_iova_pinned(&private->cp, unmap->iova)) in vfio_ccw_mdev_notifier()
64 if (vfio_ccw_mdev_reset(private->mdev)) in vfio_ccw_mdev_notifier()
67 cp_free(&private->cp); in vfio_ccw_mdev_notifier()
90 struct vfio_ccw_private *private = dev_get_drvdata(dev); in available_instances_show() local
92 return sprintf(buf, "%d\n", atomic_read(&private->avail)); in available_instances_show()
[all …]
Dvfio_ccw_drv.c41 struct vfio_ccw_private *private = dev_get_drvdata(&sch->dev); in vfio_ccw_sch_quiesce() local
67 private->completion = &completion; in vfio_ccw_sch_quiesce()
73 private->completion = NULL; in vfio_ccw_sch_quiesce()
79 private->state = VFIO_CCW_STATE_NOT_OPER; in vfio_ccw_sch_quiesce()
86 struct vfio_ccw_private *private; in vfio_ccw_sch_io_todo() local
91 private = container_of(work, struct vfio_ccw_private, io_work); in vfio_ccw_sch_io_todo()
92 irb = &private->irb; in vfio_ccw_sch_io_todo()
97 cp_update_scsw(&private->cp, &irb->scsw); in vfio_ccw_sch_io_todo()
98 if (is_final && private->state == VFIO_CCW_STATE_CP_PENDING) { in vfio_ccw_sch_io_todo()
99 cp_free(&private->cp); in vfio_ccw_sch_io_todo()
[all …]
Ddevice_fsm.c41 struct io_subchannel_private *private; in ccw_timeout_log() local
46 private = to_io_private(sch); in ccw_timeout_log()
47 orb = &private->orb; in ccw_timeout_log()
71 &private->dma_area->sense_ccw || in ccw_timeout_log()
73 cdev->private->dma_area->iccws) 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()
117 del_timer(&cdev->private->timer); in ccw_device_set_timeout()
120 if (timer_pending(&cdev->private->timer)) { in ccw_device_set_timeout()
121 if (mod_timer(&cdev->private->timer, jiffies + expires)) in ccw_device_set_timeout()
[all …]
Dvfio_ccw_fsm.c18 static int fsm_io_helper(struct vfio_ccw_private *private) in fsm_io_helper() argument
27 sch = private->sch; in fsm_io_helper()
31 orb = cp_get_orb(&private->cp, (u32)(addr_t)sch, sch->lpm); in fsm_io_helper()
52 private->state = VFIO_CCW_STATE_CP_PENDING; in fsm_io_helper()
80 static int fsm_do_halt(struct vfio_ccw_private *private) in fsm_do_halt() argument
87 sch = private->sch; in fsm_do_halt()
121 static int fsm_do_clear(struct vfio_ccw_private *private) in fsm_do_clear() argument
128 sch = private->sch; in fsm_do_clear()
159 static void fsm_notoper(struct vfio_ccw_private *private, in fsm_notoper() argument
162 struct subchannel *sch = private->sch; in fsm_notoper()
[all …]
Ddevice_pgid.c36 struct ccw_dev_id *id = &cdev->private->dev_id; in verify_done()
37 int mpath = cdev->private->flags.mpath; in verify_done()
38 int pgroup = cdev->private->flags.pgroup; in verify_done()
59 struct ccw_request *req = &cdev->private->req; in nop_build_cp()
60 struct ccw1 *cp = cdev->private->dma_area->iccws; in nop_build_cp()
75 struct ccw_request *req = &cdev->private->req; in nop_do()
78 ~cdev->private->path_noirq_mask); in nop_do()
107 struct ccw_request *req = &cdev->private->req; in nop_callback()
114 cdev->private->path_noirq_mask |= req->lpm; in nop_callback()
117 cdev->private->path_notoper_mask |= req->lpm; in nop_callback()
[all …]
Dvfio_ccw_chp.c15 static ssize_t vfio_ccw_schib_region_read(struct vfio_ccw_private *private, in vfio_ccw_schib_region_read() argument
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()
35 memcpy(region, &private->sch->schib, sizeof(*region)); in vfio_ccw_schib_region_read()
45 mutex_unlock(&private->io_mutex); in vfio_ccw_schib_region_read()
49 static ssize_t vfio_ccw_schib_region_write(struct vfio_ccw_private *private, in vfio_ccw_schib_region_write() argument
57 static void vfio_ccw_schib_region_release(struct vfio_ccw_private *private, in vfio_ccw_schib_region_release() argument
69 int vfio_ccw_register_schib_dev_regions(struct vfio_ccw_private *private) in vfio_ccw_register_schib_dev_regions() argument
71 return vfio_ccw_register_dev_region(private, in vfio_ccw_register_schib_dev_regions()
[all …]
Deadm_sch.c100 struct eadm_private *private = from_timer(private, t, timer); in eadm_subchannel_timeout() local
101 struct subchannel *sch = private->sch; in eadm_subchannel_timeout()
113 struct eadm_private *private = get_eadm_private(sch); in eadm_subchannel_set_timeout() local
116 del_timer(&private->timer); in eadm_subchannel_set_timeout()
119 if (timer_pending(&private->timer)) { in eadm_subchannel_set_timeout()
120 if (mod_timer(&private->timer, jiffies + expires)) in eadm_subchannel_set_timeout()
123 private->timer.expires = jiffies + expires; in eadm_subchannel_set_timeout()
124 add_timer(&private->timer); in eadm_subchannel_set_timeout()
129 struct eadm_private *private = get_eadm_private(sch); in eadm_subchannel_irq() local
148 if (private->state != EADM_BUSY) { in eadm_subchannel_irq()
[all …]
Ddevice_ops.c47 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 …]
Dvfio_ccw_async.c15 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()
37 static ssize_t vfio_ccw_async_region_write(struct vfio_ccw_private *private, in vfio_ccw_async_region_write() argument
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()
67 static void vfio_ccw_async_region_release(struct vfio_ccw_private *private, in vfio_ccw_async_region_release() argument
[all …]
Ddevice.c265 if (cdev->private->flags.initialized) { in ccw_device_unregister()
266 cdev->private->flags.initialized = 0; in ccw_device_unregister()
305 cdev->private->state != DEV_STATE_DISCONNECTED) { in ccw_device_set_offline()
307 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_offline()
308 cdev->private->state == DEV_STATE_DISCONNECTED)); in ccw_device_set_offline()
316 "0.%x.%04x\n", ret, cdev->private->dev_id.ssid, in ccw_device_set_offline()
317 cdev->private->dev_id.devno); in ccw_device_set_offline()
320 state = cdev->private->state; in ccw_device_set_offline()
324 cdev->private->state = state; in ccw_device_set_offline()
327 wait_event(cdev->private->wait_q, (dev_fsm_final_state(cdev) || in ccw_device_set_offline()
[all …]
Ddevice_id.c101 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 …]
Dvfio_ccw_private.h36 ssize_t (*read)(struct vfio_ccw_private *private, char __user *buf,
38 ssize_t (*write)(struct vfio_ccw_private *private,
40 void (*release)(struct vfio_ccw_private *private,
53 int vfio_ccw_register_dev_region(struct vfio_ccw_private *private,
57 void vfio_ccw_unregister_dev_regions(struct vfio_ccw_private *private);
59 int vfio_ccw_register_async_dev_regions(struct vfio_ccw_private *private);
60 int vfio_ccw_register_schib_dev_regions(struct vfio_ccw_private *private);
61 int vfio_ccw_register_crw_dev_regions(struct vfio_ccw_private *private);
151 static inline void vfio_ccw_fsm_event(struct vfio_ccw_private *private, in vfio_ccw_fsm_event() argument
154 trace_vfio_ccw_fsm_event(private->sch->schid, private->state, event); in vfio_ccw_fsm_event()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_drv.c168 struct mtk_drm_private *private = drm->dev_private; in mtk_drm_kms_init() local
177 pdev = of_find_device_by_node(private->mutex_node); in mtk_drm_kms_init()
180 private->mutex_node); in mtk_drm_kms_init()
181 of_node_put(private->mutex_node); in mtk_drm_kms_init()
184 private->mutex_dev = &pdev->dev; in mtk_drm_kms_init()
212 ret = mtk_drm_crtc_create(drm, private->data->main_path, in mtk_drm_kms_init()
213 private->data->main_len); in mtk_drm_kms_init()
217 ret = mtk_drm_crtc_create(drm, private->data->ext_path, in mtk_drm_kms_init()
218 private->data->ext_len); in mtk_drm_kms_init()
222 ret = mtk_drm_crtc_create(drm, private->data->third_path, in mtk_drm_kms_init()
[all …]
/kernel/linux/linux-5.10/sound/usb/
Dmixer_scarlett_gen2.c571 static void scarlett2_fill_request_header(struct scarlett2_mixer_data *private, in scarlett2_fill_request_header() argument
576 u16 seq = private->scarlett2_seq++; in scarlett2_fill_request_header()
590 struct scarlett2_mixer_data *private = mixer->private_data; in scarlett2_usb() local
608 mutex_lock(&private->usb_mutex); in scarlett2_usb()
612 scarlett2_fill_request_header(private, req, cmd, req_size); in scarlett2_usb()
680 mutex_unlock(&private->usb_mutex); in scarlett2_usb()
700 struct scarlett2_mixer_data *private = in scarlett2_config_save_work() local
703 scarlett2_config_save(private->mixer); in scarlett2_config_save_work()
722 struct scarlett2_mixer_data *private = mixer->private_data; in scarlett2_usb_set_config() local
725 cancel_delayed_work_sync(&private->work); in scarlett2_usb_set_config()
[all …]
Dmixer_s1810c.c338 struct s1810_mixer_state *private = mixer->private_data; in snd_s1810c_get_switch_state() local
343 mutex_lock(&private->usb_mutex); in snd_s1810c_get_switch_state()
345 ctl_idx, &private->seqnum); in snd_s1810c_get_switch_state()
351 mutex_unlock(&private->usb_mutex); in snd_s1810c_get_switch_state()
365 struct s1810_mixer_state *private = mixer->private_data; in snd_s1810c_set_switch_state() local
371 mutex_lock(&private->usb_mutex); in snd_s1810c_set_switch_state()
373 mutex_unlock(&private->usb_mutex); in snd_s1810c_set_switch_state()
385 struct s1810_mixer_state *private = mixer->private_data; in snd_s1810c_switch_get() local
391 mutex_lock(&private->data_mutex); in snd_s1810c_switch_get()
406 mutex_unlock(&private->data_mutex); in snd_s1810c_switch_get()
[all …]
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_diag.c107 struct dasd_diag_private *private = device->private; in mdsk_init_io() local
108 struct dasd_diag_init_io *iib = &private->iib; in mdsk_init_io()
113 iib->dev_nr = private->dev_id.devno; in mdsk_init_io()
131 struct dasd_diag_private *private = device->private; in mdsk_term_io() local
132 struct dasd_diag_init_io *iib = &private->iib; in mdsk_term_io()
136 iib->dev_nr = private->dev_id.devno; in mdsk_term_io()
167 struct dasd_diag_private *private; in dasd_start_diag() local
178 private = device->private; in dasd_start_diag()
181 private->iob.dev_nr = private->dev_id.devno; in dasd_start_diag()
182 private->iob.key = 0; in dasd_start_diag()
[all …]
Ddasd_eckd.c217 struct dasd_eckd_private *private = device->private; in dasd_eckd_track_from_irb() local
245 *track = cyl * private->rdc_data.trk_per_cyl + head; in dasd_eckd_track_from_irb()
252 struct dasd_eckd_private *private = device->private; in set_timestamp() local
260 if ((rc && !private->rdc_data.facilities.XRC_supported) || in set_timestamp()
281 struct dasd_eckd_private *private = device->private; in define_extent() local
304 data->attributes.operation = private->attrib.operation; in define_extent()
313 data->attributes.operation = private->attrib.operation; in define_extent()
321 data->attributes.operation = private->attrib.operation; in define_extent()
339 data->attributes.operation = private->attrib.operation; in define_extent()
344 data->attributes.operation = private->attrib.operation; in define_extent()
[all …]
Ddasd_alias.c189 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 …]
Ddasd_fba.c130 struct dasd_fba_private *private = device->private; in dasd_fba_check_characteristics() local
135 if (!private) { in dasd_fba_check_characteristics()
136 private = kzalloc(sizeof(*private), GFP_KERNEL | GFP_DMA); in dasd_fba_check_characteristics()
137 if (!private) { in dasd_fba_check_characteristics()
143 device->private = private; in dasd_fba_check_characteristics()
145 memset(private, 0, sizeof(*private)); in dasd_fba_check_characteristics()
151 device->private = NULL; in dasd_fba_check_characteristics()
152 kfree(private); in dasd_fba_check_characteristics()
160 &private->rdc_data, 32); in dasd_fba_check_characteristics()
166 device->private = NULL; in dasd_fba_check_characteristics()
[all …]
/kernel/linux/linux-5.10/drivers/usb/serial/
Dupd78f0730.c165 struct upd78f0730_port_private *private; in upd78f0730_port_probe() local
167 private = kzalloc(sizeof(*private), GFP_KERNEL); in upd78f0730_port_probe()
168 if (!private) in upd78f0730_port_probe()
171 mutex_init(&private->lock); in upd78f0730_port_probe()
172 usb_set_serial_port_data(port, private); in upd78f0730_port_probe()
179 struct upd78f0730_port_private *private; in upd78f0730_port_remove() local
181 private = usb_get_serial_port_data(port); in upd78f0730_port_remove()
182 mutex_destroy(&private->lock); in upd78f0730_port_remove()
183 kfree(private); in upd78f0730_port_remove()
191 struct upd78f0730_port_private *private; in upd78f0730_tiocmget() local
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh150 local private="$7"
175 [[ "$private" == "-r" ]] && [[ "$expect_failure" != 1 ]]; then
178 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
211 "$cgroup" "$path" "$method" "$private" "$reserve"
268 local private="$8"
287 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
316 local private="${13}"
341 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \
358 "$populate2" "$write2" "/mnt/huge/test2" "$method" "$private" \
394 for private in "" "-r"; do
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_drv.c48 struct rockchip_drm_private *private = drm_dev->dev_private; in rockchip_drm_dma_attach_device() local
54 ret = iommu_attach_device(private->domain, dev); in rockchip_drm_dma_attach_device()
66 struct rockchip_drm_private *private = drm_dev->dev_private; in rockchip_drm_dma_detach_device() local
67 struct iommu_domain *domain = private->domain; in rockchip_drm_dma_detach_device()
77 struct rockchip_drm_private *private = drm_dev->dev_private; in rockchip_drm_init_iommu() local
84 private->domain = iommu_domain_alloc(&platform_bus_type); in rockchip_drm_init_iommu()
85 if (!private->domain) in rockchip_drm_init_iommu()
88 geometry = &private->domain->geometry; in rockchip_drm_init_iommu()
94 drm_mm_init(&private->mm, start, end - start + 1); in rockchip_drm_init_iommu()
95 mutex_init(&private->mm_lock); in rockchip_drm_init_iommu()
[all …]
/kernel/linux/linux-5.10/fs/pstore/
Dinode.c52 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 kfree(private->record->buf); in free_pstore_private()
58 kfree(private->record); in free_pstore_private()
60 kfree(private); in free_pstore_private()
65 struct pstore_private *ps = s->private; in pstore_ftrace_seq_start()
90 struct pstore_private *ps = s->private; in pstore_ftrace_seq_next()
103 struct pstore_private *ps = s->private; in pstore_ftrace_seq_show()
132 struct pstore_private *ps = sf->private; in pstore_file_read()
[all …]
/kernel/linux/linux-5.10/sound/soc/sof/
Dtopology.c144 struct snd_sof_widget *swidget = w->dobj.private; in sof_keyword_dapm_event()
1283 dobj->private = scontrol; in sof_control_load()
1293 struct snd_sof_control *scontrol = dobj->private; in sof_control_unload()
1366 pipeline = swidget->private; in sof_pipeline_core_enable()
1512 struct snd_soc_tplg_private *private = &tw->priv; in sof_widget_load_dai() local
1527 ARRAY_SIZE(dai_tokens), private->array, in sof_widget_load_dai()
1528 le32_to_cpu(private->size)); in sof_widget_load_dai()
1531 le32_to_cpu(private->size)); in sof_widget_load_dai()
1536 ARRAY_SIZE(comp_tokens), private->array, in sof_widget_load_dai()
1537 le32_to_cpu(private->size)); in sof_widget_load_dai()
[all …]

12345678910>>...60