Home
last modified time | relevance | path

Searched full:private (Results 1 – 25 of 2794) sorted by relevance

12345678910>>...112

/linux/drivers/s390/cio/
H A Dvfio_ccw_ops.c21 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 …]
H A Ddevice_fsm.c43 struct io_subchannel_private *private; in ccw_timeout_log() local
48 private = to_io_private(sch); in ccw_timeout_log()
49 orb = &private->orb; in ccw_timeout_log()
73 &private->dma_area->sense_ccw || in ccw_timeout_log()
75 cdev->private->dma_area->iccws) in ccw_timeout_log()
86 cdev->private->state); in ccw_timeout_log()
93 &cdev->private->flags, sizeof(cdev->private->flags), 0); in ccw_timeout_log()
119 timer_delete(&cdev->private->timer); in ccw_device_set_timeout()
121 mod_timer(&cdev->private->timer, jiffies + expires); in ccw_device_set_timeout()
131 ret = cio_cancel_halt_clear(sch, &cdev->private->iretry); in ccw_device_cancel_halt_clear()
[all …]
H A Dvfio_ccw_fsm.c19 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 …]
H A Ddevice_pgid.c37 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 …]
H A Deadm_sch.c102 struct eadm_private *private = timer_container_of(private, t, timer); in eadm_subchannel_timeout() local
103 struct subchannel *sch = private->sch; in eadm_subchannel_timeout()
115 struct eadm_private *private = get_eadm_private(sch); in eadm_subchannel_set_timeout() local
118 timer_delete(&private->timer); in eadm_subchannel_set_timeout()
120 mod_timer(&private->timer, jiffies + expires); in eadm_subchannel_set_timeout()
125 struct eadm_private *private = get_eadm_private(sch); in eadm_subchannel_irq() local
144 if (private->state != EADM_BUSY) { in eadm_subchannel_irq()
147 private->state = EADM_NOT_OPER; in eadm_subchannel_irq()
152 private->state = EADM_IDLE; in eadm_subchannel_irq()
154 if (private->completion) in eadm_subchannel_irq()
[all …]
H A Dvfio_ccw_chp.c15 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 …]
H A Dvfio_ccw_async.c14 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 …]
/linux/sound/usb/
H A Dfcp.c146 static void fcp_fill_request_header(struct fcp_data *private, in fcp_fill_request_header() argument
151 u16 seq = private->seq++; in fcp_fill_request_header()
183 struct fcp_data *private = mixer->private_data; in fcp_usb() local
205 fcp_fill_request_header(private, req, opcode, req_size); in fcp_usb()
211 err = fcp_usb_tx(dev, private->bInterfaceNumber, req, req_buf_size); in fcp_usb()
223 if (!wait_for_completion_timeout(&private->cmd_done, in fcp_usb()
232 err = fcp_usb_rx(dev, private->bInterfaceNumber, resp, resp_buf_size); in fcp_usb()
302 struct fcp_data *private = mixer->private_data; in fcp_reinit() local
309 step0_resp = kmalloc(private->step0_resp_size, GFP_KERNEL); in fcp_reinit()
312 step2_resp = kmalloc(private->step2_resp_size, GFP_KERNEL); in fcp_reinit()
[all …]
/linux/include/crypto/
H A Ddh.h18 * a DH private key. The packet private key that can be set with
23 * struct dh - define a DH private key
25 * @key: Private DH key
28 * @key_size: Size of the private DH key
42 * crypto_dh_key_len() - Obtain the size of the private DH key
43 * @params: private DH key
46 * with the provided DH private key reference to obtain the required
54 * crypto_dh_encode_key() - encode the private key
56 * private key. The buffer should be at least crypto_dh_key_len
58 * @len: Length of the packet private key buffer
[all …]
H A Decdh.h21 * an ECDH private key. The packet private key that can be set with
32 * struct ecdh - define an ECDH private key
34 * @key: Private ECDH key
35 * @key_size: Size of the private ECDH key
43 * crypto_ecdh_key_len() - Obtain the size of the private ECDH key
44 * @params: private ECDH key
47 * with the provided ECDH private key reference to obtain the required
55 * crypto_ecdh_encode_key() - encode the private key
57 * private key. The buffer should be at least crypto_ecdh_key_len
59 * @len: Length of the packet private key buffer
[all …]
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_drv.c433 static bool mtk_drm_find_mmsys_comp(struct mtk_drm_private *private, int comp_id) in mtk_drm_find_mmsys_comp() argument
435 const struct mtk_mmsys_driver_data *drv_data = private->data; in mtk_drm_find_mmsys_comp()
463 struct mtk_drm_private *private = drm->dev_private; in mtk_drm_kms_init() local
489 for (i = 0; i < private->data->mmsys_dev_num; i++) { in mtk_drm_kms_init()
490 drm->dev_private = private->all_drm_private[i]; in mtk_drm_kms_init()
491 ret = component_bind_all(private->all_drm_private[i]->dev, drm); in mtk_drm_kms_init()
494 component_unbind_all(private->all_drm_private[i]->dev, drm); in mtk_drm_kms_init()
510 * different drm private data structures. Loop through crtc index to in mtk_drm_kms_init()
515 for (j = 0; j < private->data->mmsys_dev_num; j++) { in mtk_drm_kms_init()
516 priv_n = private->all_drm_private[j]; in mtk_drm_kms_init()
[all …]
/linux/drivers/usb/serial/
H A Dupd78f0730.c41 * Each adaptor is associated with a private structure, that holds the current
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()
[all …]
/linux/drivers/s390/block/
H A Ddasd_alias.c181 struct dasd_eckd_private *private = device->private; in dasd_alias_make_device_known_to_lcu() local
224 private->lcu = lcu; in dasd_alias_make_device_known_to_lcu()
238 struct dasd_eckd_private *private = device->private; in dasd_alias_disconnect_device_from_lcu() local
245 lcu = private->lcu; in dasd_alias_disconnect_device_from_lcu()
272 private->lcu = NULL; in dasd_alias_disconnect_device_from_lcu()
309 struct dasd_eckd_private *private = device->private; in _add_device_to_lcu() local
314 private->uid.type = lcu->uac->unit[private->uid.real_unit_addr].ua_type; in _add_device_to_lcu()
315 private->uid.base_unit_addr = in _add_device_to_lcu()
316 lcu->uac->unit[private->uid.real_unit_addr].base_ua; in _add_device_to_lcu()
317 uid = private->uid; in _add_device_to_lcu()
[all …]
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c56 struct rockchip_drm_private *private = drm_dev->dev_private; in rockchip_drm_dma_attach_device() local
59 if (!private->domain) in rockchip_drm_dma_attach_device()
71 ret = iommu_attach_device(private->domain, dev); in rockchip_drm_dma_attach_device()
83 struct rockchip_drm_private *private = drm_dev->dev_private; in rockchip_drm_dma_detach_device() local
85 if (!private->domain) in rockchip_drm_dma_detach_device()
88 iommu_detach_device(private->domain, dev); in rockchip_drm_dma_detach_device()
94 struct rockchip_drm_private *private = drm_dev->dev_private; in rockchip_drm_dma_init_device() local
97 private->iommu_dev = ERR_PTR(-ENODEV); in rockchip_drm_dma_init_device()
98 else if (!private->iommu_dev) in rockchip_drm_dma_init_device()
99 private->iommu_dev = dev; in rockchip_drm_dma_init_device()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dsdma_txreq.h20 /* private: don't use directly */
63 /* private: */
65 /* private: */
67 /* private: */
69 /* private: */
74 /* private: - used in coalesce/pad processing */
76 /* private: - down-counted to trigger last */
78 /* private: */
80 /* private: */
82 /* private: */
[all …]
/linux/rust/
H A DMakefile172 rustdoc-proc_macro2: private rustdoc_host = yes macro
173 rustdoc-proc_macro2: private rustc_target_flags = $(proc_macro2-flags) macro
177 rustdoc-quote: private rustdoc_host = yes macro
178 rustdoc-quote: private rustc_target_flags = $(quote-flags) macro
179 rustdoc-quote: private skip_flags = $(quote-skip_flags) macro
183 rustdoc-syn: private rustdoc_host = yes macro
184 rustdoc-syn: private rustc_target_flags = $(syn-flags) macro
188 rustdoc-macros: private rustdoc_host = yes macro
189 rustdoc-macros: private rustc_target_flags = --crate-type proc-macro \ macro
197 rustdoc-core: private skip_flags = $(core-skip_flags) macro
[all …]
/linux/sound/soc/sof/
H A Dipc3-topology.c413 swidget->private = host; in sof_ipc3_widget_setup_comp_host()
441 kfree(swidget->private); in sof_ipc3_widget_setup_comp_host()
442 swidget->private = NULL; in sof_ipc3_widget_setup_comp_host()
449 kfree(swidget->private); in sof_ipc3_widget_free_comp()
463 swidget->private = tone; in sof_ipc3_widget_setup_comp_tone()
473 kfree(swidget->private); in sof_ipc3_widget_setup_comp_tone()
474 swidget->private = NULL; in sof_ipc3_widget_setup_comp_tone()
496 swidget->private = mixer; in sof_ipc3_widget_setup_comp_mixer()
507 kfree(swidget->private); in sof_ipc3_widget_setup_comp_mixer()
508 swidget->private = NULL; in sof_ipc3_widget_setup_comp_mixer()
[all …]
/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh159 local private="$7"
184 [[ "$private" == "-r" ]] && [[ "$expect_failure" != 1 ]]; then
187 "$cgroup" "$path" "$method" "$private" "-l" "$reserve" 2>&1 | tee $output &
220 "$cgroup" "$path" "$method" "$private" "$reserve"
277 local private="$8"
296 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
325 local private="${13}"
350 "$populate1" "$write1" "/mnt/huge/test1" "$method" "$private" \
367 "$populate2" "$write2" "/mnt/huge/test2" "$method" "$private" \
403 for private in "" "-r"; do
[all …]
H A Duffd-wp-mremap.c63 static void *alloc_one_folio(size_t size, bool private, bool hugetlb) in alloc_one_folio() argument
72 if (private) in alloc_one_folio()
84 if (private) in alloc_one_folio()
155 static void test_one_folio(uffd_global_test_opts_t *gopts, size_t size, bool private, in test_one_folio() argument
165 ksft_print_msg("[RUN] %s(size=%zu, private=%s, swapout=%s, hugetlb=%s)\n", in test_one_folio()
168 private ? "true" : "false", in test_one_folio()
173 mem = alloc_one_folio(size, private, hugetlb); in test_one_folio()
232 ksft_test_result_pass("%s(size=%zu, private=%s, swapout=%s, hugetlb=%s)\n", in test_one_folio()
235 private ? "true" : "false", in test_one_folio()
250 bool private; member
[all …]
/linux/rust/kernel/debugfs/
H A Dfile_ops.rs20 /// off an inode which has a pointer to a `T` in its private data that is safe to convert
34 /// inode has a pointer to `T` in its private data that is safe to convert into a reference.
79 /// * `inode`'s private pointer must point to a value of type `T` which will outlive the `inode`
90 // * `print_act` will be called on a `seq_file` with private data set to the third argument, in writer_open()
97 /// Prints private data stashed in a seq_file to that seq file.
101 /// `seq` must point to a live `seq_file` whose private data is a valid pointer to a `T` which may
109 let data = unsafe { &*((*seq).private.cast::<T>()) }; in writer_act()
154 /// `private` data in turn points to a `T` that implements `Reader`.
165 let data = unsafe { &*(seq.private as *const T) }; in write()
190 // `write` only requires that the file's private data pointer points to `seq_file`
[all …]
/linux/drivers/net/fddi/skfp/h/
H A Dfddimib.h84 * private
91 * private variables for static allocation of the
103 * private variables for the Synchronous Bandwidth Allocator
160 u_char fddiMACMultiple_N ; /* private */
161 u_char fddiMACMultiple_P ; /* private */
162 u_char fddiMACDuplicateAddressCond ;/* private */
178 Timer_2 fddiMACT_Min ; /* private */
180 Timer_2 fddiMACT_Req ; /* private */
183 Timer_2 fddiMACT_Max ; /* private */
185 Timer_2 fddiMACTvxValue ; /* private */
[all …]
/linux/fs/pstore/
H A Dinode.c55 static void free_pstore_private(struct pstore_private *private) in free_pstore_private() argument
57 if (!private) in free_pstore_private()
59 if (private->record) { in free_pstore_private()
60 kvfree(private->record->buf); in free_pstore_private()
61 kfree(private->record->priv); in free_pstore_private()
62 kfree(private->record); in free_pstore_private()
64 kfree(private); in free_pstore_private()
70 struct pstore_private *ps = s->private; in pstore_ftrace_seq_start()
92 struct pstore_private *ps = s->private; in pstore_ftrace_seq_next()
105 struct pstore_private *ps = s->private; in pstore_ftrace_seq_show()
[all …]
/linux/include/net/
H A Dgue.h5 /* Definitions for the GUE header, standard and private flags, lengths
17 * | Private flags (optional, P bit is set) |
20 * ~ Private fields (optional) ~
29 * P bit indicates private flags field is present. The private flags
59 #define GUE_FLAG_PRIV htons(1<<0) /* Private flags are in options */
64 /* Private flags in the private option extension */
86 /* Validate standard and private flags. Returns non-zero (meaning invalid)
87 * if there is an unknown standard or private flags, or the options length for
103 /* Private flags are last four bytes accounted in in validate_gue_flags()
/linux/crypto/
H A Dalgif_skcipher.c44 struct crypto_skcipher *tfm = pask->private; in skcipher_sendmsg()
63 ctx = ask->private; in algif_skcipher_export()
66 tfm = pask->private; in algif_skcipher_export()
103 struct af_alg_ctx *ctx = ask->private; in _skcipher_recvmsg()
104 struct crypto_skcipher *tfm = pask->private; in _skcipher_recvmsg()
280 tfm = pask->private; in skcipher_check_key()
348 static void skcipher_release(void *private) in skcipher_release() argument
350 crypto_free_skcipher(private); in skcipher_release()
353 static int skcipher_setkey(void *private, const u8 *key, unsigned int keylen) in skcipher_setkey() argument
355 return crypto_skcipher_setkey(private, key, keylen); in skcipher_setkey()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_dpll.c84 * @pf: private board structure
114 * @pf: private board structure
134 * @pf: private board structure
185 * @pin_priv: private data pointer passed on pin registration
187 * @dpll_priv: private data pointer passed on dpll registration
224 * @pin_priv: private data pointer passed on pin registration
226 * @dpll_priv: private data pointer passed on dpll registration
249 * @pin_priv: private data pointer passed on pin registration
251 * @dpll_priv: private data pointer passed on dpll registration
274 * @pin_priv: private data pointer passed on pin registration
[all …]

12345678910>>...112