/Linux-v5.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 …]
|
D | icp_qat_hal.h | 90 #define SET_CAP_CSR(handle, csr, val) \ argument 91 ADF_CSR_WR(handle->hal_cap_g_ctl_csr_addr_v, csr, val) 92 #define GET_CAP_CSR(handle, csr) \ argument 93 ADF_CSR_RD(handle->hal_cap_g_ctl_csr_addr_v, csr) 94 #define SET_GLB_CSR(handle, csr, val) SET_CAP_CSR(handle, csr + GLOBAL_CSR, val) argument 95 #define GET_GLB_CSR(handle, csr) GET_CAP_CSR(handle, GLOBAL_CSR + csr) argument 96 #define AE_CSR(handle, ae) \ argument 97 ((char __iomem *)handle->hal_cap_ae_local_csr_addr_v + \ 98 ((ae & handle->hal_handle->ae_mask) << 12)) 99 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & csr)) 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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
D | ext4_jbd2.h | 68 /* We break up a large truncate or write transaction once the handle's 112 * Ext4 handle operation types -- for logging purposes 137 /* list information for other callbacks attached to the same handle */ 149 * @handle: active journal transaction handle to register callback on 157 * after the transaction for which the handle was created has completed. 168 static inline void _ext4_journal_callback_add(handle_t *handle, in _ext4_journal_callback_add() argument 172 list_add_tail(&jce->jce_list, &handle->h_transaction->t_private_list); in _ext4_journal_callback_add() 175 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add() argument 182 EXT4_SB(handle->h_transaction->t_journal->j_private); in ext4_journal_callback_add() 187 _ext4_journal_callback_add(handle, jce); in ext4_journal_callback_add() [all …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 | 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 …]
|
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 | perf.c | 178 static int scmi_perf_attributes_get(const struct scmi_handle *handle, in scmi_perf_attributes_get() argument 185 ret = scmi_xfer_get_init(handle, PROTOCOL_ATTRIBUTES, in scmi_perf_attributes_get() 192 ret = scmi_do_xfer(handle, t); in scmi_perf_attributes_get() 203 scmi_xfer_put(handle, t); in scmi_perf_attributes_get() 208 scmi_perf_domain_attributes_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_domain_attributes_get() argument 215 ret = scmi_xfer_get_init(handle, PERF_DOMAIN_ATTRIBUTES, in scmi_perf_domain_attributes_get() 224 ret = scmi_do_xfer(handle, t); in scmi_perf_domain_attributes_get() 248 scmi_xfer_put(handle, t); in scmi_perf_domain_attributes_get() 260 scmi_perf_describe_levels_get(const struct scmi_handle *handle, u32 domain, in scmi_perf_describe_levels_get() argument 271 ret = scmi_xfer_get_init(handle, PERF_DESCRIBE_LEVELS, in scmi_perf_describe_levels_get() [all …]
|
D | power.c | 71 static int scmi_power_attributes_get(const struct scmi_handle *handle, in scmi_power_attributes_get() argument 78 ret = scmi_xfer_get_init(handle, PROTOCOL_ATTRIBUTES, in scmi_power_attributes_get() 85 ret = scmi_do_xfer(handle, t); in scmi_power_attributes_get() 93 scmi_xfer_put(handle, t); in scmi_power_attributes_get() 98 scmi_power_domain_attributes_get(const struct scmi_handle *handle, u32 domain, in scmi_power_domain_attributes_get() argument 105 ret = scmi_xfer_get_init(handle, POWER_DOMAIN_ATTRIBUTES, in scmi_power_domain_attributes_get() 114 ret = scmi_do_xfer(handle, t); in scmi_power_domain_attributes_get() 124 scmi_xfer_put(handle, t); in scmi_power_domain_attributes_get() 129 scmi_power_state_set(const struct scmi_handle *handle, u32 domain, u32 state) in scmi_power_state_set() argument 135 ret = scmi_xfer_get_init(handle, POWER_STATE_SET, SCMI_PROTOCOL_POWER, in scmi_power_state_set() [all …]
|
D | sensors.c | 90 static int scmi_sensor_attributes_get(const struct scmi_handle *handle, in scmi_sensor_attributes_get() argument 97 ret = scmi_xfer_get_init(handle, PROTOCOL_ATTRIBUTES, in scmi_sensor_attributes_get() 104 ret = scmi_do_xfer(handle, t); in scmi_sensor_attributes_get() 113 scmi_xfer_put(handle, t); in scmi_sensor_attributes_get() 117 static int scmi_sensor_description_get(const struct scmi_handle *handle, in scmi_sensor_description_get() argument 126 ret = scmi_xfer_get_init(handle, SENSOR_DESCRIPTION_GET, in scmi_sensor_description_get() 137 ret = scmi_do_xfer(handle, t); in scmi_sensor_description_get() 145 dev_err(handle->dev, "No. of sensors can't exceed %d", in scmi_sensor_description_get() 170 scmi_reset_rx_to_maxsz(handle, t); in scmi_sensor_description_get() 177 scmi_xfer_put(handle, t); in scmi_sensor_description_get() [all …]
|
/Linux-v5.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 = kmalloc(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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.10/drivers/net/ethernet/qualcomm/ |
D | qca_7k_common.c | 77 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte) in qcafrm_fsm_decode() argument 82 switch (handle->state) { in qcafrm_fsm_decode() 86 handle->state--; in qcafrm_fsm_decode() 90 handle->state = handle->init; in qcafrm_fsm_decode() 95 handle->state--; in qcafrm_fsm_decode() 104 handle->state = handle->init; in qcafrm_fsm_decode() 106 handle->state--; in qcafrm_fsm_decode() 112 handle->offset = recv_byte; in qcafrm_fsm_decode() 113 handle->state = QCAFRM_WAIT_LEN_BYTE1; in qcafrm_fsm_decode() 116 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode() [all …]
|
/Linux-v5.10/drivers/firmware/ |
D | ti_sci.c | 91 * @handle: Instance of TI SCI handle to send to clients. 108 struct ti_sci_handle handle; member 121 #define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle) 267 dev_err(dev, "Unable to handle %zu xfer(max %d)\n", in ti_sci_rx_callback() 445 struct ti_sci_handle *handle = &info->handle; in ti_sci_cmd_get_revision() local 446 struct ti_sci_version_info *ver = &handle->version; in ti_sci_cmd_get_revision() 495 * @handle: pointer to TI SCI handle 502 static int ti_sci_set_device_state(const struct ti_sci_handle *handle, in ti_sci_set_device_state() argument 512 if (IS_ERR(handle)) in ti_sci_set_device_state() 513 return PTR_ERR(handle); in ti_sci_set_device_state() [all …]
|
/Linux-v5.10/drivers/pci/hotplug/ |
D | acpi_pcihp.c | 36 * @handle - the handle of the hotplug controller. 38 static acpi_status acpi_run_oshp(acpi_handle handle) in acpi_run_oshp() argument 43 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_run_oshp() 46 status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL); in acpi_run_oshp() 73 acpi_handle chandle, handle; in acpi_get_hp_hw_control_from_firmware() local 105 handle = ACPI_HANDLE(&pdev->dev); in acpi_get_hp_hw_control_from_firmware() 106 if (!handle) { in acpi_get_hp_hw_control_from_firmware() 109 * space at all. Try to get ACPI handle of parent PCI bus. in acpi_get_hp_hw_control_from_firmware() 113 handle = acpi_pci_get_bridge_handle(pbus); in acpi_get_hp_hw_control_from_firmware() 114 if (handle) in acpi_get_hp_hw_control_from_firmware() [all …]
|
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | tc_restrictions.sh | 44 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 56 tc filter del block 22 protocol ip pref 1 handle 101 flower 61 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 70 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 74 tc filter del block 22 protocol ip pref 1 handle 101 flower 92 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 105 tc filter del block 22 protocol ip pref 1 handle 101 flower 110 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 120 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 127 tc filter add block 22 protocol ip pref 1 handle 101 flower \ [all …]
|
/Linux-v5.10/drivers/misc/vmw_vmci/ |
D | vmci_resource.c | 30 static unsigned int vmci_resource_hash(struct vmci_handle handle) in vmci_resource_hash() argument 32 return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS); in vmci_resource_hash() 36 * Gets a resource (if one exists) matching given handle from the hash table. 38 static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle, in vmci_resource_lookup() argument 42 unsigned int idx = vmci_resource_hash(handle); in vmci_resource_lookup() 47 u32 cid = r->handle.context; in vmci_resource_lookup() 48 u32 rid = r->handle.resource; in vmci_resource_lookup() 51 rid == handle.resource && in vmci_resource_lookup() 52 (cid == handle.context || cid == VMCI_INVALID_ID || in vmci_resource_lookup() 53 handle.context == VMCI_INVALID_ID)) { in vmci_resource_lookup() [all …]
|