| /linux/fs/ext4/ |
| H A D | ext4_jbd2.c | 39 /* Just increment the non-pointer handle value */ in ext4_get_nojournal() 42 handle_t *handle = current->journal_info; in ext4_get_nojournal() 44 BUG_ON(handle && !handle->h_invalid); in ext4_get_nojournal() 46 if (!handle) { in ext4_get_nojournal() 47 handle = jbd2_alloc_handle(GFP_NOFS); in ext4_get_nojournal() 48 if (!handle) in ext4_get_nojournal() 50 handle->h_invalid = 1; in ext4_get_nojournal() 55 handle->saved_alloc_context = memalloc_nofs_save(); 56 current->journal_info = handle; 35 handle_t *handle = current->journal_info; ext4_get_nojournal() local 57 ext4_put_nojournal(handle_t * handle) ext4_put_nojournal() argument 126 __ext4_journal_stop(const char * where,unsigned int line,handle_t * handle) __ext4_journal_stop() argument 153 __ext4_journal_start_reserved(handle_t * handle,unsigned int line,int type) __ext4_journal_start_reserved() argument 177 __ext4_journal_ensure_credits(handle_t * handle,int check_cred,int extend_cred,int revoke_cred) __ext4_journal_ensure_credits() argument 195 ext4_journal_abort_handle(const char * caller,unsigned int line,const char * err_fn,struct buffer_head * bh,handle_t * handle,int err) ext4_journal_abort_handle() argument 240 __ext4_journal_get_write_access(const char * where,unsigned int line,handle_t * handle,struct super_block * sb,struct buffer_head * bh,enum ext4_journal_trigger_type trigger_type) __ext4_journal_get_write_access() argument 275 __ext4_forget(const char * where,unsigned int line,handle_t * handle,int is_metadata,struct inode * inode,struct buffer_head * bh,ext4_fsblk_t blocknr) __ext4_forget() argument 337 __ext4_journal_get_create_access(const char * where,unsigned int line,handle_t * handle,struct super_block * sb,struct buffer_head * bh,enum ext4_journal_trigger_type trigger_type) __ext4_journal_get_create_access() argument 377 __ext4_handle_dirty_metadata(const char * where,unsigned int line,handle_t * handle,struct inode * inode,struct buffer_head * bh) __ext4_handle_dirty_metadata() argument [all...] |
| H A D | ext4_jbd2.h | 68 /* We break up a large truncate or write transaction once the handle's 109 * Ext4 handle operation types -- for logging purposes 126 ext4_mark_iloc_dirty(handle_t *handle, 135 int ext4_reserve_inode_write(handle_t *handle, struct inode *inode, 140 int __ext4_mark_inode_dirty(handle_t *handle, struct inode *inode, 150 handle_t *handle, struct super_block *sb, 154 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, 159 handle_t *handle, struct super_block *sb, 164 handle_t *handle, struct inode *inode, 167 #define ext4_journal_get_write_access(handle, s argument 170 ext4_forget(handle,is_metadata,inode,bh,block_nr) global() argument 173 ext4_journal_get_create_access(handle,sb,bh,trigger_type) global() argument 176 ext4_handle_dirty_metadata(handle,inode,bh) global() argument 187 ext4_handle_valid(handle_t * handle) ext4_handle_valid() argument 192 ext4_handle_sync(handle_t * handle) ext4_handle_sync() argument 198 ext4_handle_is_aborted(handle_t * handle) ext4_handle_is_aborted() argument 242 ext4_journal_stop(handle) global() argument 245 ext4_journal_start_reserved(handle,type) global() argument 256 ext4_journal_extend(handle_t * handle,int nblocks,int revoke) ext4_journal_extend() argument 263 ext4_journal_restart(handle_t * handle,int nblocks,int revoke) ext4_journal_restart() argument 285 ext4_journal_ensure_credits_fn(handle,check_cred,extend_cred,revoke_cred,fn) global() argument 311 ext4_journal_ensure_credits(handle_t * handle,int credits,int revoke_creds) ext4_journal_ensure_credits() argument 332 ext4_jbd2_inode_add_write(handle_t * handle,struct inode * inode,loff_t start_byte,loff_t length) ext4_jbd2_inode_add_write() argument 341 ext4_jbd2_inode_add_wait(handle_t * handle,struct inode * inode,loff_t start_byte,loff_t length) ext4_jbd2_inode_add_wait() argument 350 ext4_update_inode_fsync_trans(handle_t * handle,struct inode * inode,int datasync) ext4_update_inode_fsync_trans() argument [all...] |
| H A D | migrate.c | 21 static int finish_range(handle_t *handle, struct inode *inode, in finish_range() argument 52 retval = ext4_datasem_ensure_credits(handle, inode, needed, needed, 0); in finish_range() 55 path = ext4_ext_insert_extent(handle, inode, path, &newext, 0); in finish_range() 64 static int update_extent_range(handle_t *handle, struct inode *inode, 87 retval = finish_range(handle, inode, lb); in update_extent_range() 94 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range() 110 retval = update_extent_range(handle, inode, in update_ind_extent_range() 123 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range() 139 retval = update_ind_extent_range(handle, inode, in update_dind_extent_range() 153 static int update_tind_extent_range(handle_t *handle, struc in update_tind_extent_range() 65 update_extent_range(handle_t * handle,struct inode * inode,ext4_fsblk_t pblock,struct migrate_struct * lb) update_extent_range() argument 90 update_ind_extent_range(handle_t * handle,struct inode * inode,ext4_fsblk_t pblock,struct migrate_struct * lb) update_ind_extent_range() argument 119 update_dind_extent_range(handle_t * handle,struct inode * inode,ext4_fsblk_t pblock,struct migrate_struct * lb) update_dind_extent_range() argument 149 update_tind_extent_range(handle_t * handle,struct inode * inode,ext4_fsblk_t pblock,struct migrate_struct * lb) update_tind_extent_range() argument 179 free_dind_blocks(handle_t * handle,struct inode * inode,__le32 i_data) free_dind_blocks() argument 220 free_tind_blocks(handle_t * handle,struct inode * inode,__le32 i_data) free_tind_blocks() argument 254 free_ind_block(handle_t * handle,struct inode * inode,__le32 * i_data) free_ind_block() argument 287 ext4_ext_swap_inode_data(handle_t * handle,struct inode * inode,struct inode * tmp_inode) ext4_ext_swap_inode_data() argument 353 free_ext_idx(handle_t * handle,struct inode * inode,struct ext4_extent_idx * ix) free_ext_idx() argument 390 free_ext_block(handle_t * handle,struct inode * inode) free_ext_block() argument 412 handle_t *handle; ext4_ext_migrate() local 614 handle_t *handle; ext4_ind_migrate() local [all...] |
| /linux/tools/testing/selftests/namespaces/ |
| H A D | file_handle_test.c | 25 struct file_handle *handle; in TEST() local 36 handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ); in TEST() 37 ASSERT_NE(handle, NULL); in TEST() 44 handle->handle_bytes = MAX_HANDLE_SZ; in TEST() 45 ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH); in TEST() 47 SKIP(free(handle); close(ns_fd); in TEST() 51 ASSERT_GT(handle->handle_bytes, 0); in TEST() 54 fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY); in TEST() 56 SKIP(free(handle); close(ns_fd); in TEST() 61 SKIP(free(handle); close(ns_fd); in TEST() [all …]
|
| /linux/drivers/net/ethernet/qualcomm/ |
| H A D | qca_7k_common.c | 64 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte) in qcafrm_fsm_decode() argument 69 switch (handle->state) { in qcafrm_fsm_decode() 73 handle->state--; in qcafrm_fsm_decode() 77 handle->state = handle->init; in qcafrm_fsm_decode() 82 handle->state--; in qcafrm_fsm_decode() 91 handle->state = handle->init; in qcafrm_fsm_decode() 93 handle->state--; in qcafrm_fsm_decode() 99 handle->offset = recv_byte; in qcafrm_fsm_decode() 100 handle->state = QCAFRM_WAIT_LEN_BYTE1; in qcafrm_fsm_decode() 103 handle->offset = handle->offset | (recv_byte << 8); in qcafrm_fsm_decode() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A 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 …]
|
| H A D | tc_restrictions.sh | 47 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 59 tc filter del block 22 protocol ip pref 1 handle 101 flower 64 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 73 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 77 tc filter del block 22 protocol ip pref 1 handle 101 flower 95 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 108 tc filter del block 22 protocol ip pref 1 handle 101 flower 113 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 123 tc filter add block 22 protocol ip pref 1 handle 101 flower \ 130 tc filter add block 22 protocol ip pref 1 handle 101 flower \ [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns/ |
| H A 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() 137 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() argument 139 struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); in hns_ae_put_handle() 142 for (i = 0; i < handle->q_num; i++) in hns_ae_put_handle() 143 hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0; in hns_ae_put_handle() 148 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down() argument 156 for (i = 0; i < handle->q_num; i++) { in hns_ae_wait_flow_down() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hnae3.h | 202 struct hnae3_handle *handle; member 345 (((struct hnae3_ae_dev *)hnae3_seq_file_to_ae_dev(s))->handle) 413 int (*init_instance)(struct hnae3_handle *handle); 414 void (*uninit_instance)(struct hnae3_handle *handle, bool reset); 415 void (*link_status_change)(struct hnae3_handle *handle, bool state); 416 int (*reset_notify)(struct hnae3_handle *handle, 418 void (*process_hw_error)(struct hnae3_handle *handle, 442 struct hnae3_handle *handle; member 620 int (*start)(struct hnae3_handle *handle); 621 void (*stop)(struct hnae3_handle *handle); [all …]
|
| /linux/kernel/events/ |
| H A D | ring_buffer.c | 20 static void perf_output_wakeup(struct perf_output_handle *handle) in perf_output_wakeup() argument 22 atomic_set(&handle->rb->poll, EPOLLIN | EPOLLRDNORM); in perf_output_wakeup() 24 handle->event->pending_wakeup = 1; in perf_output_wakeup() 26 if (*perf_event_fasync(handle->event) && !handle->event->pending_kill) in perf_output_wakeup() 27 handle->event->pending_kill = POLL_IN; in perf_output_wakeup() 29 irq_work_queue(&handle->event->pending_irq); in perf_output_wakeup() 40 static void perf_output_get_handle(struct perf_output_handle *handle) in perf_output_get_handle() argument 42 struct perf_buffer *rb = handle->rb; in perf_output_get_handle() 51 handle in perf_output_get_handle() 54 perf_output_put_handle(struct perf_output_handle * handle) perf_output_put_handle() argument 153 __perf_output_begin(struct perf_output_handle * handle,struct perf_sample_data * data,struct perf_event * event,unsigned int size,bool backward) __perf_output_begin() argument 272 perf_output_begin_forward(struct perf_output_handle * handle,struct perf_sample_data * data,struct perf_event * event,unsigned int size) perf_output_begin_forward() argument 279 perf_output_begin_backward(struct perf_output_handle * handle,struct perf_sample_data * data,struct perf_event * event,unsigned int size) perf_output_begin_backward() argument 286 perf_output_begin(struct perf_output_handle * handle,struct perf_sample_data * data,struct perf_event * event,unsigned int size) perf_output_begin() argument 295 perf_output_copy(struct perf_output_handle * handle,const void * buf,unsigned int len) perf_output_copy() argument 301 perf_output_skip(struct perf_output_handle * handle,unsigned int len) perf_output_skip() argument 307 perf_output_end(struct perf_output_handle * handle) perf_output_end() argument 346 perf_aux_output_flag(struct perf_output_handle * handle,u64 flags) perf_aux_output_flag() argument 373 perf_aux_output_begin(struct perf_output_handle * handle,struct perf_event * event) perf_aux_output_begin() argument 489 perf_aux_output_end(struct perf_output_handle * handle,unsigned long size) perf_aux_output_end() argument 552 perf_aux_output_skip(struct perf_output_handle * handle,unsigned long size) perf_aux_output_skip() argument 574 perf_get_aux(struct perf_output_handle * handle) perf_get_aux() argument 588 perf_output_copy_aux(struct perf_output_handle * aux_handle,struct perf_output_handle * handle,unsigned long from,unsigned long to) perf_output_copy_aux() argument [all...] |
| /linux/drivers/pci/hotplug/ |
| H A D | acpi_pcihp.c | 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() 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() 119 while (handle) { in acpi_get_hp_hw_control_from_firmware() 120 acpi_get_name(handle, ACPI_FULL_PATHNAME, &string); in acpi_get_hp_hw_control_from_firmware() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | post_act.c | 81 struct mlx5e_post_act_handle *handle) in mlx5e_tc_post_act_offload() argument 94 mlx5e_tc_match_to_reg_match(spec, FTEID_TO_REG, handle->id, MLX5_POST_ACTION_MASK); in mlx5e_tc_post_act_offload() 96 handle->rule = mlx5e_tc_rule_offload(post_act->priv, spec, handle->attr); in mlx5e_tc_post_act_offload() 97 if (IS_ERR(handle->rule)) { in mlx5e_tc_post_act_offload() 98 err = PTR_ERR(handle->rule); in mlx5e_tc_post_act_offload() 114 struct mlx5e_post_act_handle *handle; in mlx5e_tc_post_act_add() local 120 handle = kzalloc_obj(*handle); in mlx5e_tc_post_act_add() 121 if (!handle) in mlx5e_tc_post_act_add() 132 handle->ns_type = post_act->ns_type; in mlx5e_tc_post_act_add() 134 if (handle->ns_type == MLX5_FLOW_NAMESPACE_FDB) in mlx5e_tc_post_act_add() [all …]
|
| H A D | act_stats.c | 36 struct mlx5e_tc_act_stats_handle *handle; in mlx5e_tc_act_stats_create() local 39 handle = kvzalloc_obj(*handle); in mlx5e_tc_act_stats_create() 40 if (!handle) in mlx5e_tc_act_stats_create() 43 err = rhashtable_init(&handle->ht, &act_counters_ht_params); in mlx5e_tc_act_stats_create() 47 spin_lock_init(&handle->ht_lock); in mlx5e_tc_act_stats_create() 48 return handle; in mlx5e_tc_act_stats_create() 50 kvfree(handle); in mlx5e_tc_act_stats_create() 54 void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle) in mlx5e_tc_act_stats_free() argument 56 rhashtable_destroy(&handle->ht); in mlx5e_tc_act_stats_free() 57 kvfree(handle); in mlx5e_tc_act_stats_free() [all …]
|
| /linux/drivers/misc/vmw_vmci/ |
| H A 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() 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() 81 struct vmci_handle handle; in vmci_resource_find_id() local [all …]
|
| H A D | vmci_doorbell.c | 85 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags) in vmci_dbell_get_priv_flags() argument 87 if (priv_flags == NULL || handle.context == VMCI_INVALID_ID) in vmci_dbell_get_priv_flags() 90 if (handle.context == VMCI_HOST_CONTEXT_ID) { in vmci_dbell_get_priv_flags() 94 resource = vmci_resource_by_handle(handle, in vmci_dbell_get_priv_flags() 102 } else if (handle.context == VMCI_HYPERVISOR_CONTEXT_ID) { in vmci_dbell_get_priv_flags() 109 *priv_flags = vmci_context_get_priv_flags(handle.context); in vmci_dbell_get_priv_flags() 229 static int dbell_link(struct vmci_handle handle, u32 notify_idx) in dbell_link() argument 237 link_msg.handle = handle; in dbell_link() 247 static int dbell_unlink(struct vmci_handle handle) in dbell_unlink() argument 255 unlink_msg.handle = handle; in dbell_unlink() [all …]
|
| /linux/fs/jbd2/ |
| H A D | transaction.c | 312 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle() argument 316 int blocks = handle->h_total_credits; in start_this_handle() 320 if (handle->h_rsv_handle) in start_this_handle() 321 rsv_blocks = handle->h_rsv_handle->h_total_credits; in start_this_handle() 357 jbd2_debug(3, "New handle %p going live.\n", handle); in start_this_handle() 378 if (!handle->h_reserved && journal->j_barrier_count) { in start_this_handle() 391 (handle->h_reserved || !journal->j_barrier_count)) { in start_this_handle() 401 if (!handle->h_reserved) { in start_this_handle() 424 handle->h_reserved = 0; in start_this_handle() 431 handle->h_transaction = transaction; in start_this_handle() [all …]
|
| /linux/drivers/sh/intc/ |
| H A D | chip.c | 16 void _intc_enable(struct irq_data *data, unsigned long handle) in _intc_enable() argument 23 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_E(handle)); cpu++) { in _intc_enable() 28 addr = INTC_REG(d, _INTC_ADDR_E(handle), cpu); in _intc_enable() 29 intc_enable_fns[_INTC_MODE(handle)](addr, handle, intc_reg_fns\ in _intc_enable() 30 [_INTC_FN(handle)], irq); in _intc_enable() 45 unsigned long handle = (unsigned long)irq_data_get_irq_chip_data(data); in intc_disable() local 51 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_D(handle)); cpu++) { in intc_disable() 56 addr = INTC_REG(d, _INTC_ADDR_D(handle), cpu); in intc_disable() 57 intc_disable_fns[_INTC_MODE(handle)](addr, handle,intc_reg_fns\ in intc_disable() 58 [_INTC_FN(handle)], irq); in intc_disable() [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | icp_qat_hal.h | 125 #define SET_CAP_CSR(handle, csr, val) \ argument 126 ADF_CSR_WR((handle)->hal_cap_g_ctl_csr_addr_v, csr, val) 127 #define GET_CAP_CSR(handle, csr) \ argument 128 ADF_CSR_RD((handle)->hal_cap_g_ctl_csr_addr_v, csr) 129 #define AE_CSR(handle, ae) \ argument 130 ((char __iomem *)(handle)->hal_cap_ae_local_csr_addr_v + ((ae) << 12)) 131 #define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & (csr))) argument 132 #define SET_AE_CSR(handle, ae, csr, val) \ argument 133 ADF_CSR_WR(AE_CSR_ADDR(handle, ae, csr), 0, val) 134 #define GET_AE_CSR(handle, ae, csr) ADF_CSR_RD(AE_CSR_ADDR(handle, ae, csr), 0) argument [all …]
|
| /linux/drivers/acpi/ |
| H A D | scan.c | 186 static acpi_status acpi_bus_offline(acpi_handle handle, u32 lvl, void *data, in acpi_bus_online() 189 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_bus_online() 250 static acpi_status acpi_bus_online(acpi_handle handle, u32 lvl, void *data, 253 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_scan_check_and_detach() 275 acpi_handle handle = device->handle; in acpi_scan_check_and_detach() 288 status = acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX, in acpi_scan_check_and_detach() 293 acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX, in acpi_bus_post_eject() 297 acpi_bus_offline(handle, 0, (void *)false, (void **)&errdev); in acpi_bus_post_eject() 300 acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MA in acpi_bus_post_eject() 135 acpi_bus_offline(acpi_handle handle,u32 lvl,void * data,void ** ret_p) acpi_bus_offline() argument 180 acpi_bus_online(acpi_handle handle,u32 lvl,void * data,void ** ret_p) acpi_bus_online() argument 204 acpi_handle handle = device->handle; acpi_scan_try_to_offline() local 319 acpi_handle handle = device->handle; acpi_scan_hot_remove() local 605 acpi_scan_drop_device(acpi_handle handle,void * context) acpi_scan_drop_device() argument 632 handle_to_device(acpi_handle handle,void (* callback)(void *)) handle_to_device() argument 654 acpi_fetch_acpi_dev(acpi_handle handle) acpi_fetch_acpi_dev() argument 676 acpi_get_acpi_dev(acpi_handle handle) acpi_get_acpi_dev() argument 711 acpi_handle handle = adev->handle; acpi_tie_acpi_dev() local 875 acpi_find_parent_acpi_dev(acpi_handle handle) acpi_find_parent_acpi_dev() argument 903 acpi_bus_get_ejd(acpi_handle handle,acpi_handle * ejd) acpi_bus_get_ejd() argument 927 acpi_handle handle = dev->handle; acpi_bus_extract_wakeup_device_power_package() local 1213 acpi_ata_match(acpi_handle handle) acpi_ata_match() argument 1227 acpi_bay_match(acpi_handle handle) acpi_bay_match() argument 1254 acpi_handle handle = adev->handle; is_ejectable_bay() local 1265 acpi_dock_match(acpi_handle handle) acpi_dock_match() argument 1271 acpi_backlight_cap_match(acpi_handle handle,u32 level,void * context,void ** return_value) acpi_backlight_cap_match() argument 1292 acpi_is_video_device(acpi_handle handle) acpi_is_video_device() argument 1355 acpi_ibm_smbus_match(acpi_handle handle) acpi_ibm_smbus_match() argument 1377 acpi_object_is_system_bus(acpi_handle handle) acpi_object_is_system_bus() argument 1391 acpi_set_pnp_ids(acpi_handle handle,struct acpi_device_pnp * pnp,int device_type) acpi_set_pnp_ids() argument 1808 acpi_init_device_object(struct acpi_device * device,acpi_handle handle,int type,void (* release)(struct device *)) acpi_init_device_object() argument 1864 acpi_add_single_object(struct acpi_device ** child,acpi_handle handle,int type,bool dep_init) acpi_add_single_object() argument 1933 acpi_device_should_be_hidden(acpi_handle handle) acpi_device_should_be_hidden() argument 2011 acpi_scan_add_dep(acpi_handle handle,struct acpi_handle_list * dep_devices) acpi_scan_add_dep() argument 2073 arch_acpi_add_auto_dep(acpi_handle handle) arch_acpi_add_auto_dep() argument 2075 acpi_scan_check_dep(acpi_handle handle) acpi_scan_check_dep() argument 2107 acpi_scan_check_crs_csi2_cb(acpi_handle handle,u32 a,void * b,void ** c) acpi_scan_check_crs_csi2_cb() argument 2113 acpi_bus_check_add(acpi_handle handle,bool first_pass,struct acpi_device ** adev_p) acpi_bus_check_add() argument 2188 acpi_bus_check_add_1(acpi_handle handle,u32 lvl_not_used,void * not_used,void ** ret_p) acpi_bus_check_add_1() argument 2194 acpi_bus_check_add_2(acpi_handle handle,u32 lvl_not_used,void * not_used,void ** ret_p) acpi_bus_check_add_2() argument 2490 acpi_walk_dep_device_list(acpi_handle handle,int (* callback)(struct acpi_dep_data *,void *),void * data) acpi_walk_dep_device_list() argument 2567 acpi_scan_postponed_branch(acpi_handle handle) acpi_scan_postponed_branch() argument 2593 acpi_handle handle = dep->consumer; acpi_scan_postponed() local 2718 acpi_bus_scan(acpi_handle handle) acpi_bus_scan() argument [all...] |
| /linux/drivers/firmware/ |
| H A D | ti_sci.c | 111 * @handle: Instance of TI SCI handle to send to clients. 130 struct ti_sci_handle handle; member 145 #define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle) 277 dev_err(dev, "Unable to handle %zu xfer(max %d)\n", in ti_sci_rx_callback() 474 struct ti_sci_handle *handle = &info->handle; in ti_sci_cmd_get_revision() local 475 struct ti_sci_version_info *ver = &handle->version; in ti_sci_cmd_get_revision() 524 * @handle: pointer to TI SCI handle 531 ti_sci_set_device_state(const struct ti_sci_handle * handle,u32 id,u32 flags,u8 state) ti_sci_set_device_state() argument 588 ti_sci_get_device_state(const struct ti_sci_handle * handle,u32 id,u32 * clcnt,u32 * resets,u8 * p_state,u8 * c_state) ti_sci_get_device_state() argument 659 ti_sci_cmd_get_device(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_get_device() argument 678 ti_sci_cmd_get_device_exclusive(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_get_device_exclusive() argument 697 ti_sci_cmd_idle_device(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_idle_device() argument 716 ti_sci_cmd_idle_device_exclusive(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_idle_device_exclusive() argument 735 ti_sci_cmd_put_device(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_put_device() argument 749 ti_sci_cmd_dev_is_valid(const struct ti_sci_handle * handle,u32 id) ti_sci_cmd_dev_is_valid() argument 765 ti_sci_cmd_dev_get_clcnt(const struct ti_sci_handle * handle,u32 id,u32 * count) ti_sci_cmd_dev_get_clcnt() argument 779 ti_sci_cmd_dev_is_idle(const struct ti_sci_handle * handle,u32 id,bool * r_state) ti_sci_cmd_dev_is_idle() argument 806 ti_sci_cmd_dev_is_stop(const struct ti_sci_handle * handle,u32 id,bool * r_state,bool * curr_state) ti_sci_cmd_dev_is_stop() argument 837 ti_sci_cmd_dev_is_on(const struct ti_sci_handle * handle,u32 id,bool * r_state,bool * curr_state) ti_sci_cmd_dev_is_on() argument 867 ti_sci_cmd_dev_is_trans(const struct ti_sci_handle * handle,u32 id,bool * curr_state) ti_sci_cmd_dev_is_trans() argument 894 ti_sci_cmd_set_device_resets(const struct ti_sci_handle * handle,u32 id,u32 reset_state) ti_sci_cmd_set_device_resets() argument 949 ti_sci_cmd_get_device_resets(const struct ti_sci_handle * handle,u32 id,u32 * reset_state) ti_sci_cmd_get_device_resets() argument 968 ti_sci_set_clock_state(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u32 flags,u8 state) ti_sci_set_clock_state() argument 1033 ti_sci_cmd_get_clock_state(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u8 * programmed_state,u8 * current_state) ti_sci_cmd_get_clock_state() argument 1109 ti_sci_cmd_get_clock(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,bool needs_ssc,bool can_change_freq,bool enable_input_term) ti_sci_cmd_get_clock() argument 1135 ti_sci_cmd_idle_clock(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id) ti_sci_cmd_idle_clock() argument 1155 ti_sci_cmd_put_clock(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id) ti_sci_cmd_put_clock() argument 1174 ti_sci_cmd_clk_is_auto(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,bool * req_state) ti_sci_cmd_clk_is_auto() argument 1203 ti_sci_cmd_clk_is_on(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,bool * req_state,bool * curr_state) ti_sci_cmd_clk_is_on() argument 1236 ti_sci_cmd_clk_is_off(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,bool * req_state,bool * curr_state) ti_sci_cmd_clk_is_off() argument 1268 ti_sci_cmd_clk_set_parent(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u32 parent_id) ti_sci_cmd_clk_set_parent() argument 1336 ti_sci_cmd_clk_get_parent(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u32 * parent_id) ti_sci_cmd_clk_get_parent() argument 1405 ti_sci_cmd_clk_get_num_parents(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u32 * num_parents) ti_sci_cmd_clk_get_num_parents() argument 1483 ti_sci_cmd_clk_get_match_freq(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u64 min_freq,u64 target_freq,u64 max_freq,u64 * match_freq) ti_sci_cmd_clk_get_match_freq() argument 1560 ti_sci_cmd_clk_set_freq(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u64 min_freq,u64 target_freq,u64 max_freq) ti_sci_cmd_clk_set_freq() argument 1626 ti_sci_cmd_clk_get_freq(const struct ti_sci_handle * handle,u32 dev_id,u32 clk_id,u64 * freq) ti_sci_cmd_clk_get_freq() argument 1690 ti_sci_cmd_prepare_sleep(const struct ti_sci_handle * handle,u8 mode,u32 ctx_lo,u32 ctx_hi,u32 debug_flags) ti_sci_cmd_prepare_sleep() argument 1757 ti_sci_msg_cmd_query_fw_caps(const struct ti_sci_handle * handle,u64 * fw_caps) ti_sci_msg_cmd_query_fw_caps() argument 1814 ti_sci_cmd_set_io_isolation(const struct ti_sci_handle * handle,u8 state) ti_sci_cmd_set_io_isolation() argument 1872 ti_sci_msg_cmd_lpm_wake_reason(const struct ti_sci_handle * handle,u32 * source,u64 * timestamp,u8 * pin,u8 * mode) ti_sci_msg_cmd_lpm_wake_reason() argument 1936 ti_sci_cmd_set_device_constraint(const struct ti_sci_handle * handle,u32 id,u8 state) ti_sci_cmd_set_device_constraint() argument 1993 ti_sci_cmd_set_latency_constraint(const struct ti_sci_handle * handle,u16 latency,u8 state) ti_sci_cmd_set_latency_constraint() argument 2083 ti_sci_cmd_core_reboot(const struct ti_sci_handle * handle) ti_sci_cmd_core_reboot() argument 2143 ti_sci_get_resource_range(const struct ti_sci_handle * handle,u32 dev_id,u8 subtype,u8 s_host,struct ti_sci_resource_desc * desc) ti_sci_get_resource_range() argument 2214 ti_sci_cmd_get_resource_range(const struct ti_sci_handle * handle,u32 dev_id,u8 subtype,struct ti_sci_resource_desc * desc) ti_sci_cmd_get_resource_range() argument 2237 ti_sci_cmd_get_resource_range_from_shost(const struct ti_sci_handle * handle,u32 dev_id,u8 subtype,u8 s_host,struct ti_sci_resource_desc * desc) ti_sci_cmd_get_resource_range_from_shost() argument 2263 ti_sci_manage_irq(const struct ti_sci_handle * handle,u32 valid_params,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit,u8 s_host,u16 type) ti_sci_manage_irq() argument 2363 ti_sci_set_irq(const struct ti_sci_handle * handle,u32 valid_params,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit,u8 s_host) ti_sci_set_irq() argument 2435 ti_sci_free_irq(const struct ti_sci_handle * handle,u32 valid_params,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit,u8 s_host) ti_sci_free_irq() argument 2500 ti_sci_cmd_set_irq(const struct ti_sci_handle * handle,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq) ti_sci_cmd_set_irq() argument 2522 ti_sci_cmd_set_event_map(const struct ti_sci_handle * handle,u16 src_id,u16 src_index,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit) ti_sci_cmd_set_event_map() argument 2546 ti_sci_cmd_free_irq(const struct ti_sci_handle * handle,u16 src_id,u16 src_index,u16 dst_id,u16 dst_host_irq) ti_sci_cmd_free_irq() argument 2568 ti_sci_cmd_free_event_map(const struct ti_sci_handle * handle,u16 src_id,u16 src_index,u16 ia_id,u16 vint,u16 global_event,u8 vint_status_bit) ti_sci_cmd_free_event_map() argument 2591 ti_sci_cmd_rm_ring_cfg(const struct ti_sci_handle * handle,const struct ti_sci_msg_rm_ring_cfg * params) ti_sci_cmd_rm_ring_cfg() argument 2653 ti_sci_cmd_rm_psil_pair(const struct ti_sci_handle * handle,u32 nav_id,u32 src_thread,u32 dst_thread) ti_sci_cmd_rm_psil_pair() argument 2709 ti_sci_cmd_rm_psil_unpair(const struct ti_sci_handle * handle,u32 nav_id,u32 src_thread,u32 dst_thread) ti_sci_cmd_rm_psil_unpair() argument 2766 ti_sci_cmd_rm_udmap_tx_ch_cfg(const struct ti_sci_handle * handle,const struct ti_sci_msg_rm_udmap_tx_ch_cfg * params) ti_sci_cmd_rm_udmap_tx_ch_cfg() argument 2838 ti_sci_cmd_rm_udmap_rx_ch_cfg(const struct ti_sci_handle * handle,const struct ti_sci_msg_rm_udmap_rx_ch_cfg * params) ti_sci_cmd_rm_udmap_rx_ch_cfg() argument 2907 ti_sci_cmd_rm_udmap_rx_flow_cfg(const struct ti_sci_handle * handle,const struct ti_sci_msg_rm_udmap_flow_cfg * params) ti_sci_cmd_rm_udmap_rx_flow_cfg() argument 2977 ti_sci_cmd_proc_request(const struct ti_sci_handle * handle,u8 proc_id) ti_sci_cmd_proc_request() argument 3029 ti_sci_cmd_proc_release(const struct ti_sci_handle * handle,u8 proc_id) ti_sci_cmd_proc_release() argument 3084 ti_sci_cmd_proc_handover(const struct ti_sci_handle * handle,u8 proc_id,u8 host_id) ti_sci_cmd_proc_handover() argument 3141 ti_sci_cmd_proc_set_config(const struct ti_sci_handle * handle,u8 proc_id,u64 bootvector,u32 config_flags_set,u32 config_flags_clear) ti_sci_cmd_proc_set_config() argument 3203 ti_sci_cmd_proc_set_control(const struct ti_sci_handle * handle,u8 proc_id,u32 control_flags_set,u32 control_flags_clear) ti_sci_cmd_proc_set_control() argument 3262 ti_sci_cmd_proc_get_status(const struct ti_sci_handle * handle,u8 proc_id,u64 * bv,u32 * cfg_flags,u32 * ctrl_flags,u32 * sts_flags) ti_sci_cmd_proc_get_status() argument 3415 struct ti_sci_handle *handle = NULL; ti_sci_get_handle() local 3458 ti_sci_put_handle(const struct ti_sci_handle * handle) ti_sci_put_handle() argument 3480 const struct ti_sci_handle *handle = *ptr; devm_ti_sci_release() local 3502 const struct ti_sci_handle *handle; devm_ti_sci_get_handle() local 3536 struct ti_sci_handle *handle = NULL; ti_sci_get_by_phandle() local 3582 const struct ti_sci_handle *handle; devm_ti_sci_get_by_phandle() local 3688 devm_ti_sci_get_resource_sets(const struct ti_sci_handle * handle,struct device * dev,u32 dev_id,u32 * sub_types,u32 sets) devm_ti_sci_get_resource_sets() argument 3748 devm_ti_sci_get_of_resource(const struct ti_sci_handle * handle,struct device * dev,u32 dev_id,char * of_prop) devm_ti_sci_get_of_resource() argument 3786 devm_ti_sci_get_resource(const struct ti_sci_handle * handle,struct device * dev,u32 dev_id,u32 sub_type) devm_ti_sci_get_resource() argument 3842 const struct ti_sci_handle *handle = &info->handle; ti_sci_sys_off_handler() local 3868 const struct ti_sci_handle *handle = &info->handle; tisci_reboot_handler() local [all...] |
| /linux/drivers/input/ |
| H A D | apm-power.c | 31 static void apmpower_event(struct input_handle *handle, unsigned int type, in apmpower_event() argument 52 struct input_handle *handle; in apmpower_connect() local 55 handle = kzalloc_obj(struct input_handle); in apmpower_connect() 56 if (!handle) in apmpower_connect() 59 handle->dev = dev; in apmpower_connect() 60 handle->handler = handler; in apmpower_connect() 61 handle->name = "apm-power"; in apmpower_connect() 63 error = input_register_handle(handle); in apmpower_connect() 67 kfree(handle); in apmpower_connect() 71 error = input_open_device(handle); in apmpower_connect() [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | tc_flower.sh | 44 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 46 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 58 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 59 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower 70 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 72 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ 84 tc filter del dev $h2 ingress protocol ip pref 1 handle 101 flower 85 tc filter del dev $h2 ingress protocol ip pref 2 handle 102 flower 94 tc filter add dev $h2 ingress protocol ip pref 1 handle 101 flower \ 96 tc filter add dev $h2 ingress protocol ip pref 2 handle 102 flower \ [all …]
|
| /linux/tools/testing/selftests/alsa/ |
| H A D | test-pcmtest-driver.c | 85 static int setup_handle(snd_pcm_t **handle, snd_pcm_sw_params_t *swparams, in setup_handle() 93 err = snd_pcm_open(handle, pcm_name, stream, 0); in setup_handle() 96 snd_pcm_hw_params_any(*handle, hwparams); in setup_handle() 97 snd_pcm_hw_params_set_rate_resample(*handle, hwparams, 0); in setup_handle() 98 snd_pcm_hw_params_set_access(*handle, hwparams, params->access); in setup_handle() 99 snd_pcm_hw_params_set_format(*handle, hwparams, params->format); in setup_handle() 100 snd_pcm_hw_params_set_channels(*handle, hwparams, params->channels); in setup_handle() 101 snd_pcm_hw_params_set_rate_near(*handle, hwparams, ¶ms->rate, 0); in setup_handle() 102 snd_pcm_hw_params_set_period_size_near(*handle, hwparams, ¶ms->period_size, 0); in setup_handle() 103 snd_pcm_hw_params_set_buffer_size_near(*handle, hwparam in setup_handle() 83 setup_handle(snd_pcm_t ** handle,snd_pcm_sw_params_t * swparams,snd_pcm_hw_params_t * hwparams,struct pcmtest_test_params * params,int card,snd_pcm_stream_t stream) setup_handle() argument 167 snd_pcm_t *handle; TEST_F() local 207 snd_pcm_t *handle; TEST_F() local 239 snd_pcm_t *handle; TEST_F() local 273 snd_pcm_t *handle; TEST_F() local 315 snd_pcm_t *handle; TEST_F() local [all...] |
| /linux/net/shaper/ |
| H A D | shaper.c | 116 const struct net_shaper_handle *handle, in net_shaper_fill_handle() argument 121 if (handle->scope == NET_SHAPER_SCOPE_UNSPEC) in net_shaper_fill_handle() 128 if (nla_put_u32(msg, NET_SHAPER_A_HANDLE_SCOPE, handle->scope) || in net_shaper_fill_handle() 129 (handle->scope >= NET_SHAPER_SCOPE_QUEUE && in net_shaper_fill_handle() 130 nla_put_u32(msg, NET_SHAPER_A_HANDLE_ID, handle->id))) in net_shaper_fill_handle() 146 WRITE_ONCE(dst->handle.scope, READ_ONCE(src->handle.scope)); in net_shaper_copy() 147 WRITE_ONCE(dst->handle.id, READ_ONCE(src->handle.id)); in net_shaper_copy() 179 net_shaper_fill_handle(msg, &cur.handle, in net_shaper_fill_one() 278 net_shaper_handle_to_index(const struct net_shaper_handle * handle) net_shaper_handle_to_index() argument 285 net_shaper_index_to_handle(u32 index,struct net_shaper_handle * handle) net_shaper_index_to_handle() argument 291 net_shaper_default_parent(const struct net_shaper_handle * handle,struct net_shaper_handle * parent) net_shaper_default_parent() argument 311 net_shaper_lookup(struct net_shaper_binding * binding,const struct net_shaper_handle * handle) net_shaper_lookup() argument 360 net_shaper_pre_insert(struct net_shaper_binding * binding,struct net_shaper_handle * handle,struct netlink_ext_ack * extack) net_shaper_pre_insert() argument 470 net_shaper_parse_handle(const struct nlattr * attr,const struct genl_info * info,struct net_shaper_handle * handle) net_shaper_parse_handle() argument 817 struct net_shaper_handle handle; net_shaper_nl_get_doit() local 897 struct net_shaper_handle handle; net_shaper_nl_set_doit() local 943 struct net_shaper_handle parent_handle, handle = shaper->handle; __net_shaper_delete() local 1210 struct net_shaper_handle handle; net_shaper_nl_delete_doit() local 1242 net_shaper_group_send_reply(struct net_shaper_binding * binding,const struct net_shaper_handle * handle,struct genl_info * info,struct sk_buff * msg) net_shaper_group_send_reply() argument 1515 struct net_shaper_handle handle, parent_handle; net_shaper_set_real_num_tx_queues() local [all...] |
| /linux/drivers/gpu/drm/amd/include/ |
| H A D | kgd_pp_interface.h | 432 int (*pre_set_power_state)(void *handle); 433 int (*set_power_state)(void *handle); 434 void (*post_set_power_state)(void *handle); 435 void (*display_configuration_changed)(void *handle); 436 void (*print_power_state)(void *handle, void *ps); 437 bool (*vblank_too_short)(void *handle); 438 void (*notify_ac_dc)(void *handle); 439 int (*check_state_equal)(void *handle, 444 int (*set_fan_control_mode)(void *handle, u32 mode); 445 int (*get_fan_control_mode)(void *handle, u3 [all...] |