| /kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
| D | qat_hal.c | 36 #define AE(handle, ae) ((handle)->hal_handle->aes[ae]) argument 69 void qat_hal_set_live_ctx(struct icp_qat_fw_loader_handle *handle, in qat_hal_set_live_ctx() argument 72 AE(handle, ae).live_ctx_mask = ctx_mask; in qat_hal_set_live_ctx() 76 static int qat_hal_rd_ae_csr(struct icp_qat_fw_loader_handle *handle, in qat_hal_rd_ae_csr() argument 83 value = GET_AE_CSR(handle, ae, csr); in qat_hal_rd_ae_csr() 84 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_rd_ae_csr() 92 static int qat_hal_wr_ae_csr(struct icp_qat_fw_loader_handle *handle, in qat_hal_wr_ae_csr() argument 99 SET_AE_CSR(handle, ae, csr, value); in qat_hal_wr_ae_csr() 100 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_wr_ae_csr() 108 static void qat_hal_get_wakeup_event(struct icp_qat_fw_loader_handle *handle, in qat_hal_get_wakeup_event() argument [all …]
|
| D | qat_uclo.c | 124 static void qat_uclo_wr_sram_by_words(struct icp_qat_fw_loader_handle *handle, in qat_uclo_wr_sram_by_words() argument 133 SRAM_WRITE(handle, addr, outval); in qat_uclo_wr_sram_by_words() 140 static void qat_uclo_wr_umem_by_words(struct icp_qat_fw_loader_handle *handle, in qat_uclo_wr_umem_by_words() argument 152 qat_hal_wr_umem(handle, ae, addr++, 1, &outval); in qat_uclo_wr_umem_by_words() 158 static void qat_uclo_batch_wr_umem(struct icp_qat_fw_loader_handle *handle, in qat_uclo_batch_wr_umem() argument 175 qat_uclo_wr_umem_by_words(handle, ae, addr, value, size); in qat_uclo_batch_wr_umem() 181 qat_uclo_cleanup_batch_init_list(struct icp_qat_fw_loader_handle *handle, in qat_uclo_cleanup_batch_init_list() argument 217 static int qat_uclo_fetch_initmem_ae(struct icp_qat_fw_loader_handle *handle, in qat_uclo_fetch_initmem_ae() argument 221 struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle; in qat_uclo_fetch_initmem_ae() 249 *handle, struct icp_qat_uof_initmem in qat_uclo_create_batch_init_list() [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
| D | qat_hal.c | 36 #define AE(handle, ae) handle->hal_handle->aes[ae] argument 69 void qat_hal_set_live_ctx(struct icp_qat_fw_loader_handle *handle, in qat_hal_set_live_ctx() argument 72 AE(handle, ae).live_ctx_mask = ctx_mask; in qat_hal_set_live_ctx() 76 static int qat_hal_rd_ae_csr(struct icp_qat_fw_loader_handle *handle, in qat_hal_rd_ae_csr() argument 83 value = GET_AE_CSR(handle, ae, csr); in qat_hal_rd_ae_csr() 84 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_rd_ae_csr() 92 static int qat_hal_wr_ae_csr(struct icp_qat_fw_loader_handle *handle, in qat_hal_wr_ae_csr() argument 99 SET_AE_CSR(handle, ae, csr, value); in qat_hal_wr_ae_csr() 100 if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS)) in qat_hal_wr_ae_csr() 108 static void qat_hal_get_wakeup_event(struct icp_qat_fw_loader_handle *handle, in qat_hal_get_wakeup_event() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/rmgr/src/ |
| D | rmgr_vbuf.c | 77 * @brief Retain the reference count for a handle (host, vbuf) 79 * @param handle The pointer to the handle 81 void ia_css_rmgr_refcount_retain_vbuf(struct ia_css_rmgr_vbuf_handle **handle) in ia_css_rmgr_refcount_retain_vbuf() argument 86 if ((!handle) || (!*handle)) { in ia_css_rmgr_refcount_retain_vbuf() 91 if ((*handle)->count == 0) { in ia_css_rmgr_refcount_retain_vbuf() 92 h = *handle; in ia_css_rmgr_refcount_retain_vbuf() 93 *handle = NULL; in ia_css_rmgr_refcount_retain_vbuf() 96 *handle = &handle_table[i]; in ia_css_rmgr_refcount_retain_vbuf() 100 /* if the loop dus not break and *handle == NULL in ia_css_rmgr_refcount_retain_vbuf() 101 this is an error handle and report it. in ia_css_rmgr_refcount_retain_vbuf() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/rmgr/src/ |
| D | rmgr_vbuf.c | 65 * @brief Retain the reference count for a handle (host, vbuf) 67 * @param handle The pointer to the handle 69 void ia_css_rmgr_refcount_retain_vbuf(struct ia_css_rmgr_vbuf_handle **handle) in ia_css_rmgr_refcount_retain_vbuf() argument 74 if ((!handle) || (!*handle)) { in ia_css_rmgr_refcount_retain_vbuf() 79 if ((*handle)->count == 0) { in ia_css_rmgr_refcount_retain_vbuf() 80 h = *handle; in ia_css_rmgr_refcount_retain_vbuf() 81 *handle = NULL; in ia_css_rmgr_refcount_retain_vbuf() 84 *handle = &handle_table[i]; in ia_css_rmgr_refcount_retain_vbuf() 88 /* if the loop dus not break and *handle == NULL in ia_css_rmgr_refcount_retain_vbuf() 89 * this is an error handle and report it. in ia_css_rmgr_refcount_retain_vbuf() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_ae_adapt.c | 16 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb() argument 18 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_mac_cb() 28 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb() argument 32 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_ppe_cb() 139 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() argument 141 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_ae_put_handle() 144 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle() 145 hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0; in hns_ae_put_handle() 150 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down() argument 158 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down() [all …]
|
| /kernel/linux/linux-5.10/fs/ext4/ |
| D | ext4_jbd2.c | 32 /* Just increment the non-pointer handle value */ 35 handle_t *handle = current->journal_info; in ext4_get_nojournal() local 36 unsigned long ref_cnt = (unsigned long)handle; in ext4_get_nojournal() 41 handle = (handle_t *)ref_cnt; in ext4_get_nojournal() 43 current->journal_info = handle; in ext4_get_nojournal() 44 return handle; in ext4_get_nojournal() 48 /* Decrement the non-pointer handle value */ 49 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal() argument 51 unsigned long ref_cnt = (unsigned long)handle; in ext4_put_nojournal() 56 handle = (handle_t *)ref_cnt; in ext4_put_nojournal() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/ |
| D | hns_ae_adapt.c | 16 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb() argument 18 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_mac_cb() 28 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb() argument 32 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_get_ppe_cb() 138 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() argument 140 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_ae_put_handle() 143 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle() 144 hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0; in hns_ae_put_handle() 149 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down() argument 157 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down() [all …]
|
| /kernel/linux/linux-6.6/fs/ext4/ |
| D | ext4_jbd2.c | 32 /* Just increment the non-pointer handle value */ 35 handle_t *handle = current->journal_info; in ext4_get_nojournal() local 36 unsigned long ref_cnt = (unsigned long)handle; in ext4_get_nojournal() 41 handle = (handle_t *)ref_cnt; in ext4_get_nojournal() 43 current->journal_info = handle; in ext4_get_nojournal() 44 return handle; in ext4_get_nojournal() 48 /* Decrement the non-pointer handle value */ 49 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal() argument 51 unsigned long ref_cnt = (unsigned long)handle; in ext4_put_nojournal() 56 handle = (handle_t *)ref_cnt; in ext4_put_nojournal() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | sch_offload.sh | 19 local handle=$1; shift 23 h=$(qdisc_stats_get $h1 "$handle" .handle) 24 [[ $h == '"'$handle'"' ]] 25 check_err $? "Qdisc with handle $handle does not exist" 27 offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded) 29 check_fail $? "Qdisc with handle $handle offloaded, but should not be" 34 local handle=$1; shift 36 if [[ ! -z $handle ]]; then 37 local offloaded=$(qdisc_stats_get $h1 "$handle" .offloaded) 39 check_err $? "Qdisc with handle $handle not offloaded" [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
| D | kgd_pp_interface.h | 238 int (*pre_set_power_state)(void *handle); 239 int (*set_power_state)(void *handle); 240 void (*post_set_power_state)(void *handle); 241 void (*display_configuration_changed)(void *handle); 242 void (*print_power_state)(void *handle, void *ps); 243 bool (*vblank_too_short)(void *handle); 244 void (*enable_bapm)(void *handle, bool enable); 245 int (*check_state_equal)(void *handle, 250 void (*set_fan_control_mode)(void *handle, u32 mode); 251 u32 (*get_fan_control_mode)(void *handle); [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/filters/ |
| D | fw.json | 15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok", 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw", 18 "matchPattern": "pref 65535 fw.*handle 0x1.*gact action pass", 37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok", 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw", 40 "matchPattern": "pref 65536 fw.*handle 0x1.*gact action pass", 164 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", 166 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", 167 "matchPattern": "handle 0x1.*gact action pass", 186 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", [all …]
|
| D | matchall.json | 13 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 15 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 16 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r… 32 "$TC qdisc add dev $DUMMY root handle 1: prio" 34 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action… 36 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall", 37 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … 40 "$TC qdisc del dev $DUMMY root handle 1: prio", 55 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a… 57 … "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ipv6 matchall", [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/filters/ |
| D | fw.json | 15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok", 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw", 18 "matchPattern": "pref 65535 fw.*handle 0x1.*gact action pass", 37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok", 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw", 40 "matchPattern": "pref 65536 fw.*handle 0x1.*gact action pass", 164 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", 166 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol all fw", 167 "matchPattern": "handle 0x1.*gact action pass", 186 … "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action gact index 1", [all …]
|
| D | matchall.json | 13 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ip matchall act… 15 "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ip matchall", 16 …"matchPattern": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*r… 32 "$TC qdisc add dev $DUMMY root handle 1: prio" 34 …"cmdUnderTest": "$TC filter add dev $DUMMY parent 1: handle 0x1 prio 1 protocol ip matchall action… 36 "verifyCmd": "$TC filter get dev $DUMMY parent 1: handle 1 prio 1 protocol ip matchall", 37 …"matchPattern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref … 40 "$TC qdisc del dev $DUMMY root handle 1: prio", 55 …"cmdUnderTest": "$TC filter add dev $DUMMY parent ffff: handle 0x1 prio 1 protocol ipv6 matchall a… 57 … "verifyCmd": "$TC filter get dev $DUMMY parent ffff: handle 1 prio 1 protocol ipv6 matchall", [all …]
|
| D | basic.json | 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 18 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at… 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 40 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1 flowid 1:1.*cmp\\(u8 at… 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… 61 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 1 protocol ip basic", 62 …"matchPattern": "^filter parent ffff: protocol ip pref 1 basic.*handle 0x1.*cmp\\(u16 at 0 layer 0… 81 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 1 basic match 'cm… [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/ |
| D | hnae3.h | 8 * ae handle (handle): 194 struct hnae3_handle *handle; member 195 int tqp_index; /* index in a handle */ 389 int (*init_instance)(struct hnae3_handle *handle); 390 void (*uninit_instance)(struct hnae3_handle *handle, bool reset); 391 void (*link_status_change)(struct hnae3_handle *handle, bool state); 392 int (*reset_notify)(struct hnae3_handle *handle, 394 void (*process_hw_error)(struct hnae3_handle *handle, 420 /* This struct defines the operation on the handle. 439 * Get the carrier state of the back channel of the handle, 1 for ok, 0 for [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
| D | hnae3.h | 8 * ae handle (handle): 153 struct hnae3_handle *handle; member 154 int tqp_index; /* index in a handle */ 285 int (*init_instance)(struct hnae3_handle *handle); 286 void (*uninit_instance)(struct hnae3_handle *handle, bool reset); 287 void (*link_status_change)(struct hnae3_handle *handle, bool state); 288 int (*setup_tc)(struct hnae3_handle *handle, u8 tc); 289 int (*reset_notify)(struct hnae3_handle *handle, 291 void (*process_hw_error)(struct hnae3_handle *handle, 317 /* This struct defines the operation on the handle. [all …]
|
| /kernel/linux/linux-6.6/fs/ |
| D | fhandle.c | 24 struct file_handle *handle = NULL; in do_sys_name_to_handle() local 28 * the file handle if decodeable file handle was requested. in do_sys_name_to_handle() 43 handle = kzalloc(struct_size(handle, f_handle, f_handle.handle_bytes), in do_sys_name_to_handle() 45 if (!handle) in do_sys_name_to_handle() 48 /* convert handle size to multiple of sizeof(u32) */ in do_sys_name_to_handle() 51 /* we ask for a non connectable maybe decodeable file handle */ in do_sys_name_to_handle() 53 (struct fid *)handle->f_handle, in do_sys_name_to_handle() 55 handle->handle_type = retval; in do_sys_name_to_handle() 56 /* convert handle size to bytes */ in do_sys_name_to_handle() 58 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle() [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
| D | base.c | 53 * @handle: SCMI entity handle 57 static int scmi_base_attributes_get(const struct scmi_handle *handle) in scmi_base_attributes_get() argument 62 struct scmi_revision_info *rev = handle->version; in scmi_base_attributes_get() 64 ret = scmi_xfer_get_init(handle, PROTOCOL_ATTRIBUTES, in scmi_base_attributes_get() 69 ret = scmi_do_xfer(handle, t); in scmi_base_attributes_get() 76 scmi_xfer_put(handle, t); in scmi_base_attributes_get() 84 * @handle: SCMI entity handle 90 scmi_base_vendor_id_get(const struct scmi_handle *handle, bool sub_vendor) in scmi_base_vendor_id_get() argument 96 struct scmi_revision_info *rev = handle->version; in scmi_base_vendor_id_get() 108 ret = scmi_xfer_get_init(handle, cmd, SCMI_PROTOCOL_BASE, 0, size, &t); in scmi_base_vendor_id_get() [all …]
|
| D | clock.c | 77 static int scmi_clock_protocol_attributes_get(const struct scmi_handle *handle, in scmi_clock_protocol_attributes_get() argument 84 ret = scmi_xfer_get_init(handle, PROTOCOL_ATTRIBUTES, in scmi_clock_protocol_attributes_get() 91 ret = scmi_do_xfer(handle, t); in scmi_clock_protocol_attributes_get() 97 scmi_xfer_put(handle, t); in scmi_clock_protocol_attributes_get() 101 static int scmi_clock_attributes_get(const struct scmi_handle *handle, in scmi_clock_attributes_get() argument 108 ret = scmi_xfer_get_init(handle, CLOCK_ATTRIBUTES, SCMI_PROTOCOL_CLOCK, in scmi_clock_attributes_get() 116 ret = scmi_do_xfer(handle, t); in scmi_clock_attributes_get() 122 scmi_xfer_put(handle, t); in scmi_clock_attributes_get() 139 scmi_clock_describe_rates_get(const struct scmi_handle *handle, u32 clk_id, in scmi_clock_describe_rates_get() argument 151 ret = scmi_xfer_get_init(handle, CLOCK_DESCRIBE_RATES, in scmi_clock_describe_rates_get() [all …]
|
| D | reset.c | 67 static int scmi_reset_attributes_get(const struct scmi_handle *handle, in scmi_reset_attributes_get() argument 74 ret = scmi_xfer_get_init(handle, PROTOCOL_ATTRIBUTES, in scmi_reset_attributes_get() 79 ret = scmi_do_xfer(handle, t); in scmi_reset_attributes_get() 85 scmi_xfer_put(handle, t); in scmi_reset_attributes_get() 90 scmi_reset_domain_attributes_get(const struct scmi_handle *handle, u32 domain, in scmi_reset_domain_attributes_get() argument 97 ret = scmi_xfer_get_init(handle, RESET_DOMAIN_ATTRIBUTES, in scmi_reset_domain_attributes_get() 106 ret = scmi_do_xfer(handle, t); in scmi_reset_domain_attributes_get() 118 scmi_xfer_put(handle, t); in scmi_reset_domain_attributes_get() 122 static int scmi_reset_num_domains_get(const struct scmi_handle *handle) in scmi_reset_num_domains_get() argument 124 struct scmi_reset_info *pi = handle->reset_priv; in scmi_reset_num_domains_get() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/ |
| D | amd_powerplay.c | 83 static int pp_early_init(void *handle) in pp_early_init() argument 86 struct amdgpu_device *adev = handle; in pp_early_init() 139 static int pp_sw_init(void *handle) in pp_sw_init() argument 141 struct amdgpu_device *adev = handle; in pp_sw_init() 156 static int pp_sw_fini(void *handle) in pp_sw_fini() argument 158 struct amdgpu_device *adev = handle; in pp_sw_fini() 168 static int pp_hw_init(void *handle) in pp_hw_init() argument 171 struct amdgpu_device *adev = handle; in pp_hw_init() 182 static int pp_hw_fini(void *handle) in pp_hw_fini() argument 184 struct amdgpu_device *adev = handle; in pp_hw_fini() [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | fhandle.c | 24 struct file_handle *handle = NULL; in do_sys_name_to_handle() local 28 * support decoding of the file handle in do_sys_name_to_handle() 40 handle = kzalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle() 42 if (!handle) in do_sys_name_to_handle() 45 /* convert handle size to multiple of sizeof(u32) */ in do_sys_name_to_handle() 48 /* we ask for a non connected handle */ in do_sys_name_to_handle() 50 (struct fid *)handle->f_handle, in do_sys_name_to_handle() 52 handle->handle_type = retval; in do_sys_name_to_handle() 53 /* convert handle size to bytes */ in do_sys_name_to_handle() 55 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
| D | amd_powerplay.c | 77 static int pp_early_init(void *handle) in pp_early_init() argument 80 struct amdgpu_device *adev = handle; in pp_early_init() 94 static int pp_sw_init(void *handle) in pp_sw_init() argument 96 struct amdgpu_device *adev = handle; in pp_sw_init() 107 static int pp_sw_fini(void *handle) in pp_sw_fini() argument 109 struct amdgpu_device *adev = handle; in pp_sw_fini() 120 static int pp_hw_init(void *handle) in pp_hw_init() argument 123 struct amdgpu_device *adev = handle; in pp_hw_init() 134 static int pp_hw_fini(void *handle) in pp_hw_fini() argument 136 struct amdgpu_device *adev = handle; in pp_hw_fini() [all …]
|