Symbol: handle
arch/arc/include/asm/unwind.h
114
extern void unwind_remove_table(void *handle, int init_only);
arch/arc/kernel/unwind.c
425
void unwind_remove_table(void *handle, int init_only)
arch/arc/kernel/unwind.c
427
struct unwind_table *table = handle;
arch/arm/mm/dma-mapping.c
1039
dma_addr_t *handle, int coherent_flag,
arch/arm/mm/dma-mapping.c
1052
*handle = __iommu_create_mapping(dev, &page, size, attrs);
arch/arm/mm/dma-mapping.c
1053
if (*handle == DMA_MAPPING_ERROR)
arch/arm/mm/dma-mapping.c
1064
dma_addr_t handle, size_t size, int coherent_flag)
arch/arm/mm/dma-mapping.c
1066
__iommu_remove_mapping(dev, handle, size);
arch/arm/mm/dma-mapping.c
1074
dma_addr_t *handle, gfp_t gfp, unsigned long attrs)
arch/arm/mm/dma-mapping.c
1081
*handle = DMA_MAPPING_ERROR;
arch/arm/mm/dma-mapping.c
1085
return __iommu_alloc_simple(dev, size, gfp, handle,
arch/arm/mm/dma-mapping.c
1092
*handle = __iommu_create_mapping(dev, pages, size, attrs);
arch/arm/mm/dma-mapping.c
1093
if (*handle == DMA_MAPPING_ERROR)
arch/arm/mm/dma-mapping.c
1107
__iommu_remove_mapping(dev, *handle, size);
arch/arm/mm/dma-mapping.c
1142
dma_addr_t handle, unsigned long attrs)
arch/arm/mm/dma-mapping.c
1149
__iommu_free_atomic(dev, cpu_addr, handle, size, coherent_flag);
arch/arm/mm/dma-mapping.c
1162
__iommu_remove_mapping(dev, handle, size);
arch/arm/mm/dma-mapping.c
1184
size_t size, dma_addr_t *handle,
arch/arm/mm/dma-mapping.c
1195
*handle = DMA_MAPPING_ERROR;
arch/arm/mm/dma-mapping.c
1217
*handle = iova_base;
arch/arm/mm/dma-mapping.c
1404
static void arm_iommu_unmap_phys(struct device *dev, dma_addr_t handle,
arch/arm/mm/dma-mapping.c
1408
dma_addr_t iova = handle & PAGE_MASK;
arch/arm/mm/dma-mapping.c
1409
int offset = handle & ~PAGE_MASK;
arch/arm/mm/dma-mapping.c
1427
dma_addr_t handle, size_t size, enum dma_data_direction dir)
arch/arm/mm/dma-mapping.c
1430
dma_addr_t iova = handle & PAGE_MASK;
arch/arm/mm/dma-mapping.c
1431
unsigned int offset = handle & ~PAGE_MASK;
arch/arm/mm/dma-mapping.c
1442
dma_addr_t handle, size_t size, enum dma_data_direction dir)
arch/arm/mm/dma-mapping.c
1445
dma_addr_t iova = handle & PAGE_MASK;
arch/arm/mm/dma-mapping.c
1446
unsigned int offset = handle & ~PAGE_MASK;
arch/arm/mm/dma-mapping.c
533
static void *__dma_alloc(struct device *dev, size_t size, dma_addr_t *handle,
arch/arm/mm/dma-mapping.c
571
*handle = DMA_MAPPING_ERROR;
arch/arm/mm/dma-mapping.c
589
*handle = phys_to_dma(dev, page_to_phys(page));
arch/arm/mm/dma-mapping.c
606
dma_addr_t handle, unsigned long attrs,
arch/arm/mm/dma-mapping.c
609
struct page *page = phys_to_page(dma_to_phys(dev, handle));
arch/arm/xen/mm.c
45
static void dma_cache_maint(struct device *dev, dma_addr_t handle,
arch/arm/xen/mm.c
50
cflush.offset = xen_offset_in_page(handle);
arch/arm/xen/mm.c
52
handle &= XEN_PAGE_MASK;
arch/arm/xen/mm.c
55
cflush.a.dev_bus_addr = dma_to_phys(dev, handle);
arch/arm/xen/mm.c
65
handle += cflush.length;
arch/arm/xen/mm.c
77
void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle,
arch/arm/xen/mm.c
81
dma_cache_maint(dev, handle, size, GNTTAB_CACHE_INVAL);
arch/arm/xen/mm.c
84
void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle,
arch/arm/xen/mm.c
88
dma_cache_maint(dev, handle, size, GNTTAB_CACHE_INVAL);
arch/arm/xen/mm.c
90
dma_cache_maint(dev, handle, size, GNTTAB_CACHE_CLEAN);
arch/arm/xen/p2m.c
113
unmap.handle = map_ops[i].handle;
arch/arm/xen/p2m.c
114
map_ops[i].handle = INVALID_GRANT_HANDLE;
arch/arm64/include/asm/kvm_host.h
253
pkvm_handle_t handle;
arch/arm64/kernel/acpi.c
442
int acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, u32 apci_id,
arch/arm64/kvm/arm.c
700
vcpu->kvm->arch.pkvm.handle,
arch/arm64/kvm/hyp/include/nvhe/pkvm.h
71
void __pkvm_unreserve_vm(pkvm_handle_t handle);
arch/arm64/kvm/hyp/include/nvhe/pkvm.h
74
int __pkvm_init_vcpu(pkvm_handle_t handle, struct kvm_vcpu *host_vcpu,
arch/arm64/kvm/hyp/include/nvhe/pkvm.h
76
int __pkvm_teardown_vm(pkvm_handle_t handle);
arch/arm64/kvm/hyp/include/nvhe/pkvm.h
78
struct pkvm_hyp_vcpu *pkvm_load_hyp_vcpu(pkvm_handle_t handle,
arch/arm64/kvm/hyp/include/nvhe/pkvm.h
83
struct pkvm_hyp_vm *get_pkvm_hyp_vm(pkvm_handle_t handle);
arch/arm64/kvm/hyp/include/nvhe/pkvm.h
84
struct pkvm_hyp_vm *get_np_pkvm_hyp_vm(pkvm_handle_t handle);
arch/arm64/kvm/hyp/nvhe/ffa.c
582
u64 handle;
arch/arm64/kvm/hyp/nvhe/ffa.c
584
handle = PACK_HANDLE(handle_lo, handle_hi);
arch/arm64/kvm/hyp/nvhe/ffa.c
591
.handle = handle,
arch/arm64/kvm/hyp/nvhe/hyp-main.c
167
DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
175
hyp_vcpu = pkvm_load_hyp_vcpu(handle, vcpu_idx);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
278
DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
287
hyp_vm = get_np_pkvm_hyp_vm(handle);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
318
DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
327
hyp_vm = get_np_pkvm_hyp_vm(handle);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
339
DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
349
hyp_vm = get_np_pkvm_hyp_vm(handle);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
426
DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
432
hyp_vm = get_np_pkvm_hyp_vm(handle);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
560
DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
562
__pkvm_unreserve_vm(handle);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
577
DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
582
cpu_reg(host_ctxt, 1) = __pkvm_init_vcpu(handle, host_vcpu, vcpu_hva);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
587
DECLARE_REG(pkvm_handle_t, handle, host_ctxt, 1);
arch/arm64/kvm/hyp/nvhe/hyp-main.c
589
cpu_reg(host_ctxt, 1) = __pkvm_teardown_vm(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
200
static unsigned int vm_handle_to_idx(pkvm_handle_t handle)
arch/arm64/kvm/hyp/nvhe/pkvm.c
202
return handle - HANDLE_OFFSET;
arch/arm64/kvm/hyp/nvhe/pkvm.c
232
static struct pkvm_hyp_vm *get_vm_by_handle(pkvm_handle_t handle)
arch/arm64/kvm/hyp/nvhe/pkvm.c
234
unsigned int idx = vm_handle_to_idx(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
246
struct pkvm_hyp_vcpu *pkvm_load_hyp_vcpu(pkvm_handle_t handle,
arch/arm64/kvm/hyp/nvhe/pkvm.c
257
hyp_vm = get_vm_by_handle(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
298
struct pkvm_hyp_vm *get_pkvm_hyp_vm(pkvm_handle_t handle)
arch/arm64/kvm/hyp/nvhe/pkvm.c
303
hyp_vm = get_vm_by_handle(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
318
struct pkvm_hyp_vm *get_np_pkvm_hyp_vm(pkvm_handle_t handle)
arch/arm64/kvm/hyp/nvhe/pkvm.c
320
struct pkvm_hyp_vm *hyp_vm = get_pkvm_hyp_vm(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
417
unsigned int nr_vcpus, pkvm_handle_t handle)
arch/arm64/kvm/hyp/nvhe/pkvm.c
420
int idx = vm_handle_to_idx(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
422
hyp_vm->kvm.arch.pkvm.handle = handle;
arch/arm64/kvm/hyp/nvhe/pkvm.c
579
static int __insert_vm_table_entry(pkvm_handle_t handle,
arch/arm64/kvm/hyp/nvhe/pkvm.c
594
idx = vm_handle_to_idx(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
611
static int insert_vm_table_entry(pkvm_handle_t handle,
arch/arm64/kvm/hyp/nvhe/pkvm.c
617
ret = __insert_vm_table_entry(handle, hyp_vm);
arch/arm64/kvm/hyp/nvhe/pkvm.c
626
static void remove_vm_table_entry(pkvm_handle_t handle)
arch/arm64/kvm/hyp/nvhe/pkvm.c
629
vm_table[vm_handle_to_idx(handle)] = NULL;
arch/arm64/kvm/hyp/nvhe/pkvm.c
709
void __pkvm_unreserve_vm(pkvm_handle_t handle)
arch/arm64/kvm/hyp/nvhe/pkvm.c
711
unsigned int idx = vm_handle_to_idx(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
718
remove_vm_table_entry(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
742
pkvm_handle_t handle;
arch/arm64/kvm/hyp/nvhe/pkvm.c
756
handle = READ_ONCE(host_kvm->arch.pkvm.handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
757
if (unlikely(handle < HANDLE_OFFSET)) {
arch/arm64/kvm/hyp/nvhe/pkvm.c
775
init_pkvm_hyp_vm(host_kvm, hyp_vm, nr_vcpus, handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
782
ret = insert_vm_table_entry(handle, hyp_vm);
arch/arm64/kvm/hyp/nvhe/pkvm.c
806
int __pkvm_init_vcpu(pkvm_handle_t handle, struct kvm_vcpu *host_vcpu,
arch/arm64/kvm/hyp/nvhe/pkvm.c
820
hyp_vm = get_vm_by_handle(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
862
int __pkvm_teardown_vm(pkvm_handle_t handle)
arch/arm64/kvm/hyp/nvhe/pkvm.c
872
hyp_vm = get_vm_by_handle(handle);
arch/arm64/kvm/hyp/nvhe/pkvm.c
887
remove_vm_table_entry(handle);
arch/arm64/kvm/mmu.c
178
kvm_call_hyp_nvhe(__pkvm_tlb_flush_vmid, kvm->arch.pkvm.handle);
arch/arm64/kvm/mmu.c
191
kvm_call_hyp_nvhe(__pkvm_tlb_flush_vmid, kvm->arch.pkvm.handle);
arch/arm64/kvm/pkvm.c
101
kvm->arch.pkvm.handle = 0;
arch/arm64/kvm/pkvm.c
110
pkvm_handle_t handle = vcpu->kvm->arch.pkvm.handle;
arch/arm64/kvm/pkvm.c
120
ret = kvm_call_hyp_nvhe(__pkvm_init_vcpu, handle, vcpu, hyp_vcpu);
arch/arm64/kvm/pkvm.c
230
if (kvm->arch.pkvm.handle)
arch/arm64/kvm/pkvm.c
238
kvm->arch.pkvm.handle = ret;
arch/arm64/kvm/pkvm.c
328
pkvm_handle_t handle = kvm->arch.pkvm.handle;
arch/arm64/kvm/pkvm.c
332
if (!handle)
arch/arm64/kvm/pkvm.c
336
ret = kvm_call_hyp_nvhe(__pkvm_host_unshare_guest, handle, mapping->gfn,
arch/arm64/kvm/pkvm.c
415
pkvm_handle_t handle = kvm->arch.pkvm.handle;
arch/arm64/kvm/pkvm.c
421
ret = kvm_call_hyp_nvhe(__pkvm_host_wrprotect_guest, handle, mapping->gfn,
arch/arm64/kvm/pkvm.c
446
pkvm_handle_t handle = kvm->arch.pkvm.handle;
arch/arm64/kvm/pkvm.c
452
young |= kvm_call_hyp_nvhe(__pkvm_host_test_clear_young_guest, handle, mapping->gfn,
arch/arm64/kvm/pkvm.c
92
kvm->arch.pkvm.handle));
arch/arm64/kvm/pkvm.c
93
} else if (kvm->arch.pkvm.handle) {
arch/arm64/kvm/pkvm.c
98
kvm_call_hyp_nvhe(__pkvm_unreserve_vm, kvm->arch.pkvm.handle);
arch/loongarch/kernel/acpi.c
333
static int __ref acpi_map_cpu2node(acpi_handle handle, int cpu, int physid)
arch/loongarch/kernel/acpi.c
338
nid = acpi_get_node(handle);
arch/loongarch/kernel/acpi.c
353
int acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, u32 acpi_id, int *pcpu)
arch/loongarch/kernel/acpi.c
365
acpi_map_cpu2node(handle, cpu, physid);
arch/m68k/include/asm/irq.h
72
void (*handle)(struct irq_desc *desc),
arch/m68k/kernel/dma.c
29
void arch_sync_dma_for_device(phys_addr_t handle, size_t size,
arch/m68k/kernel/dma.c
35
cache_push(handle, size);
arch/m68k/kernel/dma.c
38
cache_clear(handle, size);
arch/m68k/kernel/ints.c
118
irq_flow_handler_t handle, unsigned int irq,
arch/m68k/kernel/ints.c
125
if (handle)
arch/m68k/kernel/ints.c
126
irq_set_handler(irq + i, handle);
arch/mips/fw/cfe/cfe_api.c
290
int cfe_inpstat(int handle)
arch/mips/fw/cfe/cfe_api.c
296
xiocb.xiocb_handle = handle;
arch/mips/fw/cfe/cfe_api.c
309
cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer,
arch/mips/fw/cfe/cfe_api.c
316
xiocb.xiocb_handle = handle;
arch/mips/fw/cfe/cfe_api.c
351
int cfe_read(int handle, unsigned char *buffer, int length)
arch/mips/fw/cfe/cfe_api.c
353
return cfe_readblk(handle, 0, buffer, length);
arch/mips/fw/cfe/cfe_api.c
356
int cfe_readblk(int handle, s64 offset, unsigned char *buffer, int length)
arch/mips/fw/cfe/cfe_api.c
362
xiocb.xiocb_handle = handle;
arch/mips/fw/cfe/cfe_api.c
396
int cfe_write(int handle, const char *buffer, int length)
arch/mips/fw/cfe/cfe_api.c
398
return cfe_writeblk(handle, 0, buffer, length);
arch/mips/fw/cfe/cfe_api.c
40
static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb);
arch/mips/fw/cfe/cfe_api.c
401
int cfe_writeblk(int handle, s64 offset, const char *buffer, int length)
arch/mips/fw/cfe/cfe_api.c
407
xiocb.xiocb_handle = handle;
arch/mips/fw/cfe/cfe_api.c
426
int handle;
arch/mips/fw/cfe/cfe_api.c
43
int cfe_init(u64 handle, u64 ept)
arch/mips/fw/cfe/cfe_api.c
46
cfe_handle = handle;
arch/mips/fw/cfe/cfe_api.c
463
handle = cfe_getstdhandle(CFE_STDHANDLE_CONSOLE);
arch/mips/fw/cfe/cfe_api.c
464
if (handle < 0)
arch/mips/fw/cfe/cfe_api.c
467
cfe_write(handle, msg, strlen(msg));
arch/mips/fw/cfe/cfe_api.c
57
int cfe_close(int handle)
arch/mips/fw/cfe/cfe_api.c
63
xiocb.xiocb_handle = handle;
arch/mips/include/asm/fw/cfe/cfe_api.h
102
int cfe_write(int handle, const char *buffer, int length);
arch/mips/include/asm/fw/cfe/cfe_api.h
103
int cfe_writeblk(int handle, int64_t offset, const char *buffer,
arch/mips/include/asm/fw/cfe/cfe_api.h
81
int cfe_close(int handle);
arch/mips/include/asm/fw/cfe/cfe_api.h
93
int cfe_init(uint64_t handle, uint64_t ept);
arch/mips/include/asm/fw/cfe/cfe_api.h
94
int cfe_inpstat(int handle);
arch/mips/include/asm/fw/cfe/cfe_api.h
95
int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer,
arch/mips/include/asm/fw/cfe/cfe_api.h
98
int cfe_read(int handle, unsigned char *buffer, int length);
arch/mips/include/asm/fw/cfe/cfe_api.h
99
int cfe_readblk(int handle, int64_t offset, unsigned char *buffer,
arch/powerpc/include/asm/epapr_hcalls.h
282
static inline unsigned int ev_byte_channel_send(unsigned int handle,
arch/powerpc/include/asm/epapr_hcalls.h
295
r3 = handle;
arch/powerpc/include/asm/epapr_hcalls.h
325
static inline unsigned int ev_byte_channel_receive(unsigned int handle,
arch/powerpc/include/asm/epapr_hcalls.h
338
r3 = handle;
arch/powerpc/include/asm/epapr_hcalls.h
368
static inline unsigned int ev_byte_channel_poll(unsigned int handle,
arch/powerpc/include/asm/epapr_hcalls.h
377
r3 = handle;
arch/powerpc/include/asm/epapr_hcalls.h
402
static inline unsigned int ev_int_iack(unsigned int handle,
arch/powerpc/include/asm/epapr_hcalls.h
410
r3 = handle;
arch/powerpc/include/asm/epapr_hcalls.h
428
static inline unsigned int ev_doorbell_send(unsigned int handle)
arch/powerpc/include/asm/epapr_hcalls.h
434
r3 = handle;
arch/powerpc/include/asm/fsl_hcalls.h
121
static inline unsigned int fh_partition_get_dtprop(int handle,
arch/powerpc/include/asm/fsl_hcalls.h
138
r3 = handle;
arch/powerpc/include/asm/fsl_hcalls.h
175
static inline unsigned int fh_partition_set_dtprop(int handle,
arch/powerpc/include/asm/fsl_hcalls.h
192
r3 = handle;
arch/powerpc/include/asm/fsl_hcalls.h
534
static inline unsigned int fh_get_core_state(unsigned int handle,
arch/powerpc/include/asm/fsl_hcalls.h
542
r3 = handle;
arch/powerpc/include/asm/fsl_hcalls.h
565
static inline unsigned int fh_enter_nap(unsigned int handle, unsigned int vcpu)
arch/powerpc/include/asm/fsl_hcalls.h
572
r3 = handle;
arch/powerpc/include/asm/fsl_hcalls.h
590
static inline unsigned int fh_exit_nap(unsigned int handle, unsigned int vcpu)
arch/powerpc/include/asm/fsl_hcalls.h
597
r3 = handle;
arch/powerpc/include/asm/fsl_hcalls.h
613
static inline unsigned int fh_claim_device(unsigned int handle)
arch/powerpc/include/asm/fsl_hcalls.h
619
r3 = handle;
arch/powerpc/include/asm/fsl_hcalls.h
640
static inline unsigned int fh_partition_stop_dma(unsigned int handle)
arch/powerpc/include/asm/fsl_hcalls.h
646
r3 = handle;
arch/powerpc/include/asm/mpic_timer.h
29
void mpic_start_timer(struct mpic_timer *handle);
arch/powerpc/include/asm/mpic_timer.h
30
void mpic_stop_timer(struct mpic_timer *handle);
arch/powerpc/include/asm/mpic_timer.h
31
void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time);
arch/powerpc/include/asm/mpic_timer.h
32
void mpic_free_timer(struct mpic_timer *handle);
arch/powerpc/include/asm/mpic_timer.h
36
void mpic_start_timer(struct mpic_timer *handle) { }
arch/powerpc/include/asm/mpic_timer.h
37
void mpic_stop_timer(struct mpic_timer *handle) { }
arch/powerpc/include/asm/mpic_timer.h
38
void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time) { }
arch/powerpc/include/asm/mpic_timer.h
39
void mpic_free_timer(struct mpic_timer *handle) { }
arch/powerpc/include/asm/opal.h
287
int opal_get_powercap(u32 handle, int token, u32 *pcap);
arch/powerpc/include/asm/opal.h
288
int opal_set_powercap(u32 handle, int token, u32 pcap);
arch/powerpc/include/asm/opal.h
289
int opal_get_power_shift_ratio(u32 handle, int token, u32 *psr);
arch/powerpc/include/asm/opal.h
290
int opal_set_power_shift_ratio(u32 handle, int token, u32 psr);
arch/powerpc/include/asm/pasemi_dma.h
509
dma_addr_t *handle);
arch/powerpc/include/asm/pasemi_dma.h
511
dma_addr_t *handle);
arch/powerpc/include/asm/rtas.h
429
s32 rtas_function_token(const rtas_fn_handle_t handle);
arch/powerpc/include/asm/rtas.h
430
static inline bool rtas_function_implemented(const rtas_fn_handle_t handle)
arch/powerpc/include/asm/rtas.h
432
return rtas_function_token(handle) != RTAS_UNKNOWN_SERVICE;
arch/powerpc/include/asm/rtas.h
469
int rtas_syscall_dispatch_ibm_suspend_me(u64 handle);
arch/powerpc/include/asm/rtas.h
472
static inline int rtas_syscall_dispatch_ibm_suspend_me(u64 handle)
arch/powerpc/include/asm/vio.h
76
unsigned long handle;
arch/powerpc/kernel/iommu.c
218
unsigned long *handle,
arch/powerpc/kernel/iommu.c
259
if ((pass == 0) && handle && *handle &&
arch/powerpc/kernel/iommu.c
260
(*handle >= pool->start) && (*handle < pool->end))
arch/powerpc/kernel/iommu.c
261
start = *handle;
arch/powerpc/kernel/iommu.c
339
if (handle)
arch/powerpc/kernel/iommu.c
340
*handle = end;
arch/powerpc/kernel/iommu.c
481
unsigned long handle;
arch/powerpc/kernel/iommu.c
492
handle = 0;
arch/powerpc/kernel/iommu.c
516
entry = iommu_range_alloc(dev, tbl, npages, &handle,
arch/powerpc/kernel/rtas.c
1915
u64 handle = ((u64)be32_to_cpu(args.args[0]) << 32)
arch/powerpc/kernel/rtas.c
1917
rc = rtas_syscall_dispatch_ibm_suspend_me(handle);
arch/powerpc/kernel/rtas.c
581
s32 rtas_function_token(const rtas_fn_handle_t handle)
arch/powerpc/kernel/rtas.c
583
const size_t index = handle.index;
arch/powerpc/kernel/rtas_flash.c
632
const rtas_fn_handle_t handle;
arch/powerpc/kernel/rtas_flash.c
640
.handle = RTAS_FN_IBM_UPDATE_FLASH_64_AND_REBOOT,
arch/powerpc/kernel/rtas_flash.c
649
.handle = RTAS_FN_IBM_UPDATE_FLASH_64_AND_REBOOT,
arch/powerpc/kernel/rtas_flash.c
658
.handle = RTAS_FN_IBM_VALIDATE_FLASH_IMAGE,
arch/powerpc/kernel/rtas_flash.c
667
.handle = RTAS_FN_IBM_MANAGE_FLASH_IMAGE,
arch/powerpc/kernel/rtas_flash.c
708
token = rtas_function_token(f->handle);
arch/powerpc/perf/imc-pmu.c
1347
struct perf_output_handle handle;
arch/powerpc/perf/imc-pmu.c
1349
if (perf_output_begin(&handle, &data, event, header.size))
arch/powerpc/perf/imc-pmu.c
1352
perf_output_sample(&handle, &header, &data, event);
arch/powerpc/perf/imc-pmu.c
1353
perf_output_end(&handle);
arch/powerpc/perf/imc-pmu.c
226
u32 handle, base_reg;
arch/powerpc/perf/imc-pmu.c
231
if (!of_property_read_u32(node, "events", &handle))
arch/powerpc/perf/imc-pmu.c
232
pmu_events = of_find_node_by_phandle(handle);
arch/powerpc/perf/vpa-dtl.c
223
aux_buf = perf_aux_output_begin(&vpa_ctx->handle, event);
arch/powerpc/perf/vpa-dtl.c
253
perf_aux_output_end(&vpa_ctx->handle, size);
arch/powerpc/perf/vpa-dtl.c
258
perf_aux_output_end(&vpa_ctx->handle, n_read * sizeof(struct dtl_entry));
arch/powerpc/perf/vpa-dtl.c
270
perf_aux_output_end(&vpa_ctx->handle, size);
arch/powerpc/perf/vpa-dtl.c
276
perf_aux_output_end(&vpa_ctx->handle, (n_req + n_read) * sizeof(struct dtl_entry));
arch/powerpc/perf/vpa-dtl.c
79
struct perf_output_handle handle;
arch/powerpc/platforms/pasemi/dma_lib.c
350
dma_addr_t *handle)
arch/powerpc/platforms/pasemi/dma_lib.c
352
return dma_alloc_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL);
arch/powerpc/platforms/pasemi/dma_lib.c
364
dma_addr_t *handle)
arch/powerpc/platforms/pasemi/dma_lib.c
366
dma_free_coherent(&dma_pdev->dev, size, handle, GFP_KERNEL);
arch/powerpc/platforms/powernv/opal-powercap.c
105
ret = opal_set_powercap(pcap_attr->handle, token, pcap);
arch/powerpc/platforms/powernv/opal-powercap.c
132
static void __init powercap_add_attr(int handle, const char *name,
arch/powerpc/platforms/powernv/opal-powercap.c
135
attr->handle = handle;
arch/powerpc/platforms/powernv/opal-powercap.c
21
u32 handle;
arch/powerpc/platforms/powernv/opal-powercap.c
49
ret = opal_get_powercap(pcap_attr->handle, token, (u32 *)__pa(&pcap));
arch/powerpc/platforms/powernv/opal-psr.c
147
&psr_attrs[i].handle))
arch/powerpc/platforms/powernv/opal-psr.c
21
u32 handle;
arch/powerpc/platforms/powernv/opal-psr.c
42
ret = opal_get_power_shift_ratio(psr_attr->handle, token,
arch/powerpc/platforms/powernv/opal-psr.c
96
ret = opal_set_power_shift_ratio(psr_attr->handle, token, psr);
arch/powerpc/platforms/powernv/opal-sensor-groups.c
120
static void add_attr(int handle, struct sg_attr *attr, int index)
arch/powerpc/platforms/powernv/opal-sensor-groups.c
122
attr->handle = handle;
arch/powerpc/platforms/powernv/opal-sensor-groups.c
130
u32 handle)
arch/powerpc/platforms/powernv/opal-sensor-groups.c
138
add_attr(handle, &sg->sgattrs[count], j);
arch/powerpc/platforms/powernv/opal-sensor-groups.c
21
u32 handle;
arch/powerpc/platforms/powernv/opal-sensor-groups.c
31
int sensor_group_enable(u32 handle, bool enable)
arch/powerpc/platforms/powernv/opal-sensor-groups.c
40
ret = opal_sensor_group_enable(handle, token, enable);
arch/powerpc/platforms/powernv/opal-sensor-groups.c
84
ret = opal_sensor_group_clear(sattr->handle, token);
arch/powerpc/platforms/pseries/mobility.c
396
static int poll_vasi_state(u64 handle, unsigned long *res)
arch/powerpc/platforms/pseries/mobility.c
402
hvrc = plpar_hcall(H_VASI_STATE, retbuf, handle);
arch/powerpc/platforms/pseries/mobility.c
423
static int wait_for_vasi_session_suspending(u64 handle)
arch/powerpc/platforms/pseries/mobility.c
433
ret = poll_vasi_state(handle, &state);
arch/powerpc/platforms/pseries/mobility.c
456
static void wait_for_vasi_session_completed(u64 handle)
arch/powerpc/platforms/pseries/mobility.c
467
ret = poll_vasi_state(handle, &state);
arch/powerpc/platforms/pseries/mobility.c
653
static void pseries_cancel_migration(u64 handle, int err)
arch/powerpc/platforms/pseries/mobility.c
664
hvrc = plpar_hcall_norets(H_VASI_SIGNAL, handle,
arch/powerpc/platforms/pseries/mobility.c
670
static int pseries_suspend(u64 handle)
arch/powerpc/platforms/pseries/mobility.c
708
vasi_err = poll_vasi_state(handle, &vasi_state);
arch/powerpc/platforms/pseries/mobility.c
731
static int pseries_migrate_partition(u64 handle)
arch/powerpc/platforms/pseries/mobility.c
750
ret = wait_for_vasi_session_suspending(handle);
arch/powerpc/platforms/pseries/mobility.c
757
ret = pseries_suspend(handle);
arch/powerpc/platforms/pseries/mobility.c
766
wait_for_vasi_session_completed(handle);
arch/powerpc/platforms/pseries/mobility.c
768
pseries_cancel_migration(handle, ret);
arch/powerpc/platforms/pseries/mobility.c
780
int rtas_syscall_dispatch_ibm_suspend_me(u64 handle)
arch/powerpc/platforms/pseries/mobility.c
782
return pseries_migrate_partition(handle);
arch/powerpc/platforms/pseries/reconfig.c
255
phandle handle;
arch/powerpc/platforms/pseries/reconfig.c
266
handle = simple_strtoul(handle_str, NULL, 0);
arch/powerpc/platforms/pseries/reconfig.c
268
*npp = of_find_node_by_phandle(handle);
arch/powerpc/sysdev/mpic_timer.c
246
void mpic_start_timer(struct mpic_timer *handle)
arch/powerpc/sysdev/mpic_timer.c
248
struct timer_group_priv *priv = container_of(handle,
arch/powerpc/sysdev/mpic_timer.c
249
struct timer_group_priv, timer[handle->num]);
arch/powerpc/sysdev/mpic_timer.c
251
clrbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP);
arch/powerpc/sysdev/mpic_timer.c
261
void mpic_stop_timer(struct mpic_timer *handle)
arch/powerpc/sysdev/mpic_timer.c
263
struct timer_group_priv *priv = container_of(handle,
arch/powerpc/sysdev/mpic_timer.c
264
struct timer_group_priv, timer[handle->num]);
arch/powerpc/sysdev/mpic_timer.c
267
setbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP);
arch/powerpc/sysdev/mpic_timer.c
269
casc_priv = priv->timer[handle->num].cascade_handle;
arch/powerpc/sysdev/mpic_timer.c
271
out_be32(&priv->regs[handle->num].gtccr, 0);
arch/powerpc/sysdev/mpic_timer.c
272
out_be32(&priv->regs[handle->num - 1].gtccr, 0);
arch/powerpc/sysdev/mpic_timer.c
274
out_be32(&priv->regs[handle->num].gtccr, 0);
arch/powerpc/sysdev/mpic_timer.c
286
void mpic_get_remain_time(struct mpic_timer *handle, time64_t *time)
arch/powerpc/sysdev/mpic_timer.c
288
struct timer_group_priv *priv = container_of(handle,
arch/powerpc/sysdev/mpic_timer.c
289
struct timer_group_priv, timer[handle->num]);
arch/powerpc/sysdev/mpic_timer.c
295
casc_priv = priv->timer[handle->num].cascade_handle;
arch/powerpc/sysdev/mpic_timer.c
297
tmp_ticks = in_be32(&priv->regs[handle->num].gtccr);
arch/powerpc/sysdev/mpic_timer.c
300
tmp_ticks = in_be32(&priv->regs[handle->num - 1].gtccr);
arch/powerpc/sysdev/mpic_timer.c
303
ticks = in_be32(&priv->regs[handle->num].gtccr);
arch/powerpc/sysdev/mpic_timer.c
319
void mpic_free_timer(struct mpic_timer *handle)
arch/powerpc/sysdev/mpic_timer.c
321
struct timer_group_priv *priv = container_of(handle,
arch/powerpc/sysdev/mpic_timer.c
322
struct timer_group_priv, timer[handle->num]);
arch/powerpc/sysdev/mpic_timer.c
327
mpic_stop_timer(handle);
arch/powerpc/sysdev/mpic_timer.c
329
casc_priv = priv->timer[handle->num].cascade_handle;
arch/powerpc/sysdev/mpic_timer.c
331
free_irq(priv->timer[handle->num].irq, priv->timer[handle->num].dev);
arch/powerpc/sysdev/mpic_timer.c
340
priv->timer[handle->num].cascade_handle = NULL;
arch/powerpc/sysdev/mpic_timer.c
342
priv->idle |= TIMER_OFFSET(handle->num);
arch/s390/include/asm/kvm_host.h
412
u64 handle;
arch/s390/include/asm/kvm_host.h
627
u64 handle;
arch/s390/include/asm/pci_io.h
42
#define ZPCI_CREATE_REQ(handle, space, len) \
arch/s390/include/asm/pci_io.h
43
((u64) handle << 32 | space << 16 | len)
arch/s390/include/asm/uv.h
273
u64 handle;
arch/s390/include/asm/uv.h
281
u64 handle;
arch/s390/include/asm/uv.h
473
static inline int uv_cmd_nodata(u64 handle, u16 cmd, u16 *rc, u16 *rrc)
arch/s390/include/asm/uv.h
478
.handle = handle,
arch/s390/include/asm/uv.h
482
WARN(!handle, "No handle provided to Ultravisor call cmd %x\n", cmd);
arch/s390/kernel/perf_cpum_sf.c
110
struct perf_output_handle handle; /* AUX buffer output handle */
arch/s390/kernel/perf_cpum_sf.c
1301
static void aux_output_end(struct perf_output_handle *handle)
arch/s390/kernel/perf_cpum_sf.c
1307
aux = perf_get_aux(handle);
arch/s390/kernel/perf_cpum_sf.c
1318
perf_aux_output_end(handle, i << PAGE_SHIFT);
arch/s390/kernel/perf_cpum_sf.c
1334
static int aux_output_begin(struct perf_output_handle *handle,
arch/s390/kernel/perf_cpum_sf.c
1341
if (handle->head & ~PAGE_MASK)
arch/s390/kernel/perf_cpum_sf.c
1344
aux->head = handle->head >> PAGE_SHIFT;
arch/s390/kernel/perf_cpum_sf.c
1345
range = (handle->size + 1) >> PAGE_SHIFT;
arch/s390/kernel/perf_cpum_sf.c
1496
struct perf_output_handle *handle = &cpuhw->handle;
arch/s390/kernel/perf_cpum_sf.c
1499
aux = perf_get_aux(handle);
arch/s390/kernel/perf_cpum_sf.c
1507
perf_aux_output_end(handle, size);
arch/s390/kernel/perf_cpum_sf.c
1512
aux = perf_aux_output_begin(handle, cpuhw->event);
arch/s390/kernel/perf_cpum_sf.c
1513
if (handle->size == 0) {
arch/s390/kernel/perf_cpum_sf.c
1523
aux->head = handle->head >> PAGE_SHIFT;
arch/s390/kernel/perf_cpum_sf.c
1524
range = (handle->size + 1) >> PAGE_SHIFT;
arch/s390/kernel/perf_cpum_sf.c
1536
perf_aux_output_end(&cpuhw->handle, size);
arch/s390/kernel/perf_cpum_sf.c
1541
perf_aux_output_end(&cpuhw->handle, size);
arch/s390/kernel/perf_cpum_sf.c
1803
aux = perf_aux_output_begin(&cpuhw->handle, event);
arch/s390/kernel/perf_cpum_sf.c
1808
err = aux_output_begin(&cpuhw->handle, aux, cpuhw);
arch/s390/kernel/perf_cpum_sf.c
1840
aux_output_end(&cpuhw->handle);
arch/s390/kernel/perf_cpum_sf.c
637
struct perf_output_handle handle;
arch/s390/kernel/perf_cpum_sf.c
650
if (perf_output_begin(&handle, data, event, header.size))
arch/s390/kernel/perf_cpum_sf.c
657
perf_output_sample(&handle, &header, data, event);
arch/s390/kernel/perf_cpum_sf.c
658
perf_output_end(&handle);
arch/s390/kvm/kvm-s390.h
325
return kvm->arch.pv.handle;
arch/s390/kvm/kvm-s390.h
330
return vcpu->arch.pv.handle;
arch/s390/kvm/pv.c
215
u64 handle;
arch/s390/kvm/pv.c
222
kvm->arch.pv.handle = 0;
arch/s390/kvm/pv.c
310
vcpu->arch.pv.handle = uvcb.cpu_handle;
arch/s390/kvm/pv.c
383
if (!leftover->handle)
arch/s390/kvm/pv.c
385
cc = uv_cmd_nodata(leftover->handle, UVC_CMD_DESTROY_SEC_CONF, rc, rrc);
arch/s390/kvm/pv.c
409
.handle = kvm_s390_pv_get_handle(kvm),
arch/s390/kvm/pv.c
478
priv->handle = kvm_s390_pv_get_handle(kvm);
arch/s390/kvm/pv.c
734
kvm->arch.pv.handle = uvcb.guest_handle;
arch/s390/kvm/pv.c
851
.cpu_handle = vcpu->arch.pv.handle,
arch/s390/kvm/pv.c
899
.config_handle = kvm->arch.pv.handle,
arch/sparc/include/asm/iommu-common.h
45
unsigned long *handle,
arch/sparc/include/asm/mdesc.h
22
u64 mdesc_node_by_name(struct mdesc_handle *handle,
arch/sparc/include/asm/mdesc.h
39
const void *mdesc_get_property(struct mdesc_handle *handle,
arch/sparc/include/asm/mdesc.h
55
u64 mdesc_next_arc(struct mdesc_handle *handle, u64 from,
arch/sparc/include/asm/mdesc.h
67
void (*add)(struct mdesc_handle *handle, u64 node,
arch/sparc/include/asm/mdesc.h
69
void (*remove)(struct mdesc_handle *handle, u64 node,
arch/sparc/include/asm/oplib_64.h
247
int prom_ihandle2path(int handle, char *buffer, int bufsize);
arch/sparc/kernel/ds.c
101
__u64 handle;
arch/sparc/kernel/ds.c
1011
struct ds_cap_state *cp = find_cap(dp, dpkt->handle);
arch/sparc/kernel/ds.c
1017
dp->id, dpkt->handle);
arch/sparc/kernel/ds.c
1020
__send_ds_nack(dp, dpkt->handle);
arch/sparc/kernel/ds.c
1057
__send_ds_nack(dp, dpkt->handle);
arch/sparc/kernel/ds.c
107
__u64 handle;
arch/sparc/kernel/ds.c
112
__u64 handle;
arch/sparc/kernel/ds.c
117
__u64 handle;
arch/sparc/kernel/ds.c
1203
dp->ds_states[i].handle = ((u64)i << 32);
arch/sparc/kernel/ds.c
122
__u64 handle;
arch/sparc/kernel/ds.c
127
__u64 handle;
arch/sparc/kernel/ds.c
133
__u64 handle;
arch/sparc/kernel/ds.c
221
static struct ds_cap_state *find_cap(struct ds_info *dp, u64 handle)
arch/sparc/kernel/ds.c
223
unsigned int index = handle >> 32;
arch/sparc/kernel/ds.c
301
pkt.data.handle = cp->handle;
arch/sparc/kernel/ds.c
339
pkt.data.handle = cp->handle;
arch/sparc/kernel/ds.c
379
pkt.data.handle = cp->handle;
arch/sparc/kernel/ds.c
435
pkt.data.handle = cp->handle;
arch/sparc/kernel/ds.c
487
u64 handle, int resp_len, int ncpus,
arch/sparc/kernel/ds.c
499
resp->handle = handle;
arch/sparc/kernel/ds.c
546
dr_cpu_init_response(resp, req_num, cp->handle,
arch/sparc/kernel/ds.c
605
dr_cpu_init_response(resp, req_num, cp->handle,
arch/sparc/kernel/ds.c
800
pkt.header.data.handle = cp->handle;
arch/sparc/kernel/ds.c
87
__u64 handle;
arch/sparc/kernel/ds.c
905
cp->handle = ((u64) i << 32) | new_count;
arch/sparc/kernel/ds.c
913
pbuf.req.handle = cp->handle;
arch/sparc/kernel/ds.c
942
struct ds_cap_state *cp = find_cap(dp, ap->handle);
arch/sparc/kernel/ds.c
946
"handle %llx\n", dp->id, ap->handle);
arch/sparc/kernel/ds.c
95
__u64 handle;
arch/sparc/kernel/ds.c
954
struct ds_cap_state *cp = find_cap(dp, np->handle);
arch/sparc/kernel/ds.c
959
dp->id, np->handle);
arch/sparc/kernel/ds.c
972
static void __send_ds_nack(struct ds_info *dp, u64 handle)
arch/sparc/kernel/ds.c
980
.handle = handle,
arch/sparc/kernel/iommu-common.c
100
unsigned long *handle,
arch/sparc/kernel/iommu-common.c
136
if (pass == 0 && handle && *handle &&
arch/sparc/kernel/iommu-common.c
137
(*handle >= pool->start) && (*handle < pool->end))
arch/sparc/kernel/iommu-common.c
138
start = *handle;
arch/sparc/kernel/iommu-common.c
215
if (handle)
arch/sparc/kernel/iommu-common.c
216
*handle = end;
arch/sparc/kernel/iommu.c
447
unsigned long flags, handle, prot, ctx;
arch/sparc/kernel/iommu.c
479
handle = 0;
arch/sparc/kernel/iommu.c
501
&handle, (unsigned long)(-1), 0);
arch/sparc/kernel/mdesc.c
69
void (*free)(struct mdesc_handle *handle);
arch/sparc/kernel/of_device_64.c
428
phandle handle;
arch/sparc/kernel/of_device_64.c
440
handle = 0;
arch/sparc/kernel/of_device_64.c
449
handle = imap[na + 1];
arch/sparc/kernel/of_device_64.c
475
cp = of_find_node_by_phandle(handle);
arch/sparc/kernel/pci_sun4v.c
483
unsigned long flags, handle, prot;
arch/sparc/kernel/pci_sun4v.c
512
handle = 0;
arch/sparc/kernel/pci_sun4v.c
545
&handle, (unsigned long)(-1), 0);
arch/sparc/prom/tree_64.c
378
int prom_ihandle2path(int handle, char *buffer, int bufsize)
arch/sparc/prom/tree_64.c
385
args[3] = (unsigned int) handle;
arch/um/os-Linux/helper.c
177
pthread_t handle;
arch/um/os-Linux/helper.c
199
err = pthread_create(&td->handle, NULL, routine, arg);
arch/um/os-Linux/helper.c
214
pthread_cancel(td->handle);
arch/um/os-Linux/helper.c
215
pthread_join(td->handle, NULL);
arch/x86/events/intel/bts.c
188
struct bts_buffer *bb = perf_get_aux(&bts->handle);
arch/x86/events/intel/bts.c
202
perf_aux_output_flag(&bts->handle,
arch/x86/events/intel/bts.c
222
bts_buffer_reset(struct bts_buffer *bb, struct perf_output_handle *handle);
arch/x86/events/intel/bts.c
236
struct bts_buffer *bb = perf_get_aux(&bts->handle);
arch/x86/events/intel/bts.c
25
struct perf_output_handle handle;
arch/x86/events/intel/bts.c
267
bb = perf_aux_output_begin(&bts->handle, event);
arch/x86/events/intel/bts.c
271
if (bts_buffer_reset(bb, &bts->handle))
arch/x86/events/intel/bts.c
286
perf_aux_output_end(&bts->handle, 0);
arch/x86/events/intel/bts.c
317
bb = perf_get_aux(&bts->handle);
arch/x86/events/intel/bts.c
326
bts->handle.head =
arch/x86/events/intel/bts.c
329
perf_aux_output_end(&bts->handle,
arch/x86/events/intel/bts.c
361
if (bts->handle.event)
arch/x86/events/intel/bts.c
362
__bts_event_start(bts->handle.event);
arch/x86/events/intel/bts.c
381
if (bts->handle.event)
arch/x86/events/intel/bts.c
382
__bts_event_stop(bts->handle.event, BTS_STATE_INACTIVE);
arch/x86/events/intel/bts.c
386
bts_buffer_reset(struct bts_buffer *bb, struct perf_output_handle *handle)
arch/x86/events/intel/bts.c
396
head = handle->head & ((bb->nr_pages << PAGE_SHIFT) - 1);
arch/x86/events/intel/bts.c
401
if (space > handle->size) {
arch/x86/events/intel/bts.c
402
space = handle->size;
arch/x86/events/intel/bts.c
414
if (handle->size >= skip) {
arch/x86/events/intel/bts.c
416
if (next_space + skip > handle->size) {
arch/x86/events/intel/bts.c
417
next_space = handle->size - skip;
arch/x86/events/intel/bts.c
423
ret = perf_aux_output_skip(handle, skip);
arch/x86/events/intel/bts.c
442
wakeup = BTS_SAFETY_MARGIN + BTS_RECORD_SIZE + handle->wakeup -
arch/x86/events/intel/bts.c
443
handle->head;
arch/x86/events/intel/bts.c
474
event = bts->handle.event;
arch/x86/events/intel/bts.c
489
bb = perf_get_aux(&bts->handle);
arch/x86/events/intel/bts.c
508
perf_aux_output_end(&bts->handle, local_xchg(&bb->data_size, 0));
arch/x86/events/intel/bts.c
510
bb = perf_aux_output_begin(&bts->handle, event);
arch/x86/events/intel/bts.c
512
err = bts_buffer_reset(bb, &bts->handle);
arch/x86/events/intel/bts.c
523
perf_aux_output_end(&bts->handle, 0);
arch/x86/events/intel/bts.c
546
if (bts->handle.event)
arch/x86/events/intel/ds.c
1166
struct perf_output_handle handle;
arch/x86/events/intel/ds.c
1220
if (perf_output_begin(&handle, &data, event,
arch/x86/events/intel/ds.c
1233
perf_output_sample(&handle, &header, &data, event);
arch/x86/events/intel/ds.c
1236
perf_output_end(&handle);
arch/x86/events/intel/pt.c
1110
struct perf_output_handle *handle)
arch/x86/events/intel/pt.c
1120
if (buf->output_off + handle->size + 1 < pt_buffer_region_size(buf)) {
arch/x86/events/intel/pt.c
1121
perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED);
arch/x86/events/intel/pt.c
1140
npages = handle->size >> PAGE_SHIFT;
arch/x86/events/intel/pt.c
1143
if (!offset_in_page(head + handle->size + 1))
arch/x86/events/intel/pt.c
1155
wakeup = handle->wakeup >> PAGE_SHIFT;
arch/x86/events/intel/pt.c
1509
struct perf_event *event = pt->handle.event;
arch/x86/events/intel/pt.c
1524
buf = perf_get_aux(&pt->handle);
arch/x86/events/intel/pt.c
1534
perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0));
arch/x86/events/intel/pt.c
1539
buf = perf_aux_output_begin(&pt->handle, event);
arch/x86/events/intel/pt.c
1546
pt_buffer_reset_offsets(buf, pt->handle.head);
arch/x86/events/intel/pt.c
1548
ret = pt_buffer_reset_markers(buf, &pt->handle);
arch/x86/events/intel/pt.c
1550
perf_aux_output_end(&pt->handle, 0);
arch/x86/events/intel/pt.c
1583
event = pt->handle.event;
arch/x86/events/intel/pt.c
1585
perf_aux_output_flag(&pt->handle,
arch/x86/events/intel/pt.c
1626
buf = perf_aux_output_begin(&pt->handle, event);
arch/x86/events/intel/pt.c
1630
pt_buffer_reset_offsets(buf, pt->handle.head);
arch/x86/events/intel/pt.c
1632
if (pt_buffer_reset_markers(buf, &pt->handle))
arch/x86/events/intel/pt.c
1644
perf_aux_output_end(&pt->handle, 0);
arch/x86/events/intel/pt.c
1683
struct pt_buffer *buf = perf_get_aux(&pt->handle);
arch/x86/events/intel/pt.c
1688
if (WARN_ON_ONCE(pt->handle.event != event))
arch/x86/events/intel/pt.c
1698
pt->handle.head =
arch/x86/events/intel/pt.c
1701
perf_aux_output_end(&pt->handle, local_xchg(&buf->data_size, 0));
arch/x86/events/intel/pt.c
1706
struct perf_output_handle *handle,
arch/x86/events/intel/pt.c
1710
struct pt_buffer *buf = perf_get_aux(&pt->handle);
arch/x86/events/intel/pt.c
1741
ret = perf_output_copy_aux(&pt->handle, handle, from, to);
arch/x86/events/intel/pt.c
1769
if (pt->handle.event)
arch/x86/events/intel/pt.c
1822
if (pt->handle.event)
arch/x86/events/intel/pt.c
1823
pt_event_stop(pt->handle.event, PERF_EF_UPDATE);
arch/x86/events/intel/pt.c
429
perf_aux_output_flag(&pt->handle, PERF_AUX_FLAG_PARTIAL);
arch/x86/events/intel/pt.c
508
struct pt_buffer *buf = perf_get_aux(&pt->handle);
arch/x86/events/intel/pt.c
873
struct pt_buffer *buf = perf_get_aux(&pt->handle);
arch/x86/events/intel/pt.c
927
struct pt_buffer *buf = perf_get_aux(&pt->handle);
arch/x86/events/intel/pt.c
950
perf_aux_output_flag(&pt->handle,
arch/x86/events/intel/pt.h
125
struct perf_output_handle handle;
arch/x86/include/asm/efi.h
265
#define __efi64_argmap_handle_protocol(handle, protocol, interface) \
arch/x86/include/asm/efi.h
266
((handle), (protocol), efi64_zero_upper(interface))
arch/x86/include/asm/efi.h
271
#define __efi64_argmap_locate_device_path(protocol, path, handle) \
arch/x86/include/asm/efi.h
272
((protocol), (path), efi64_zero_upper(handle))
arch/x86/include/asm/efi.h
274
#define __efi64_argmap_exit(handle, status, size, data) \
arch/x86/include/asm/efi.h
275
((handle), efi64_convert_status(status), (size), (data))
arch/x86/include/asm/io.h
347
extern int __must_check arch_phys_wc_index(int handle);
arch/x86/include/asm/io.h
352
extern void arch_phys_wc_del(int handle);
arch/x86/include/uapi/asm/kvm.h
770
__u32 handle;
arch/x86/include/uapi/asm/kvm.h
806
__u32 handle;
arch/x86/include/uapi/asm/kvm.h
855
__u32 handle;
arch/x86/kernel/acpi/boot.c
771
static int acpi_map_cpu2node(acpi_handle handle, int cpu, int physid)
arch/x86/kernel/acpi/boot.c
776
nid = acpi_get_node(handle);
arch/x86/kernel/acpi/boot.c
785
int acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, u32 acpi_id, int *pcpu)
arch/x86/kernel/acpi/boot.c
794
acpi_processor_set_pdc(handle);
arch/x86/kernel/acpi/boot.c
795
acpi_map_cpu2node(handle, cpu, physid);
arch/x86/kernel/acpi/boot.c
813
int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base)
arch/x86/kernel/acpi/boot.c
824
ioapic_id = acpi_get_ioapic_id(handle, gsi_base, &addr);
arch/x86/kernel/acpi/boot.c
829
status = acpi_evaluate_integer(handle, METHOD_NAME__UID,
arch/x86/kernel/acpi/boot.c
832
acpi_handle_warn(handle, "failed to get IOAPIC ID.\n");
arch/x86/kernel/acpi/boot.c
847
int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base)
arch/x86/kernel/acpi/boot.c
870
int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base)
arch/x86/kernel/cpu/mtrr/mtrr.c
509
void arch_phys_wc_del(int handle)
arch/x86/kernel/cpu/mtrr/mtrr.c
511
if (handle >= 1) {
arch/x86/kernel/cpu/mtrr/mtrr.c
512
WARN_ON(handle < MTRR_TO_PHYS_WC_OFFSET);
arch/x86/kernel/cpu/mtrr/mtrr.c
513
mtrr_del(handle - MTRR_TO_PHYS_WC_OFFSET, 0, 0);
arch/x86/kernel/cpu/mtrr/mtrr.c
529
int arch_phys_wc_index(int handle)
arch/x86/kernel/cpu/mtrr/mtrr.c
531
if (handle < MTRR_TO_PHYS_WC_OFFSET)
arch/x86/kernel/cpu/mtrr/mtrr.c
534
return handle - MTRR_TO_PHYS_WC_OFFSET;
arch/x86/kvm/svm/sev.c
1080
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1113
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1128
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1135
params.handle = data.handle;
arch/x86/kvm/svm/sev.c
1150
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1429
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1481
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1515
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1588
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1624
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1692
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1728
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1739
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1778
start.handle = params.handle;
arch/x86/kvm/svm/sev.c
1792
ret = sev_bind_asid(kvm, start.handle, error);
arch/x86/kvm/svm/sev.c
1794
sev_decommission(start.handle);
arch/x86/kvm/svm/sev.c
1798
params.handle = start.handle;
arch/x86/kvm/svm/sev.c
1802
sev_unbind_asid(kvm, start.handle);
arch/x86/kvm/svm/sev.c
1806
sev->handle = start.handle;
arch/x86/kvm/svm/sev.c
1878
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1900
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
1975
dst->handle = src->handle;
arch/x86/kvm/svm/sev.c
1983
src->handle = 0;
arch/x86/kvm/svm/sev.c
2860
mirror_sev->handle = source_sev->handle;
arch/x86/kvm/svm/sev.c
294
static void sev_decommission(unsigned int handle)
arch/x86/kvm/svm/sev.c
2952
sev_unbind_asid(kvm, sev->handle);
arch/x86/kvm/svm/sev.c
298
if (!handle)
arch/x86/kvm/svm/sev.c
301
decommission.handle = handle;
arch/x86/kvm/svm/sev.c
352
static void sev_unbind_asid(struct kvm *kvm, unsigned int handle)
arch/x86/kvm/svm/sev.c
356
if (!handle)
arch/x86/kvm/svm/sev.c
359
deactivate.handle = handle;
arch/x86/kvm/svm/sev.c
366
sev_decommission(handle);
arch/x86/kvm/svm/sev.c
5179
dbg.handle = sev->handle;
arch/x86/kvm/svm/sev.c
572
static int sev_bind_asid(struct kvm *kvm, unsigned int handle, int *error)
arch/x86/kvm/svm/sev.c
579
activate.handle = handle;
arch/x86/kvm/svm/sev.c
642
start.handle = params.handle;
arch/x86/kvm/svm/sev.c
651
ret = sev_bind_asid(kvm, start.handle, error);
arch/x86/kvm/svm/sev.c
653
sev_decommission(start.handle);
arch/x86/kvm/svm/sev.c
658
params.handle = start.handle;
arch/x86/kvm/svm/sev.c
660
sev_unbind_asid(kvm, start.handle);
arch/x86/kvm/svm/sev.c
666
sev->handle = start.handle;
arch/x86/kvm/svm/sev.c
838
data.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/sev.c
995
vmsa.handle = to_kvm_sev_info(kvm)->handle;
arch/x86/kvm/svm/svm.h
100
unsigned int handle; /* SEV firmware handle */
arch/x86/pci/acpi.c
455
int node = acpi_get_node(device->handle);
arch/x86/pci/mmconfig-shared.c
415
static acpi_status find_mboard_resource(acpi_handle handle, u32 lvl,
arch/x86/pci/mmconfig-shared.c
420
acpi_walk_resources(handle, METHOD_NAME__CRS,
arch/x86/platform/olpc/olpc-xo15-sci.c
152
status = acpi_evaluate_integer(device->handle, "_GPE", NULL, &tmp);
arch/x86/xen/p2m.c
729
unmap[0].handle = map_ops[i].handle;
arch/x86/xen/p2m.c
730
map_ops[i].handle = INVALID_GRANT_HANDLE;
arch/x86/xen/p2m.c
739
unmap[1].handle = kmap_ops[i].handle;
arch/x86/xen/p2m.c
740
kmap_ops[i].handle = INVALID_GRANT_HANDLE;
drivers/accel/amdxdna/aie2_ctx.c
178
aie2_sched_resp_handler(void *handle, void __iomem *data, size_t size)
drivers/accel/amdxdna/aie2_ctx.c
180
struct amdxdna_sched_job *job = handle;
drivers/accel/amdxdna/aie2_ctx.c
212
aie2_sched_drvcmd_resp_handler(void *handle, void __iomem *data, size_t size)
drivers/accel/amdxdna/aie2_ctx.c
214
struct amdxdna_sched_job *job = handle;
drivers/accel/amdxdna/aie2_ctx.c
233
aie2_sched_cmdlist_resp_handler(void *handle, void __iomem *data, size_t size)
drivers/accel/amdxdna/aie2_ctx.c
235
struct amdxdna_sched_job *job = handle;
drivers/accel/amdxdna/aie2_ctx.c
711
static int aie2_config_cu_resp_handler(void *handle, void __iomem *data, size_t size)
drivers/accel/amdxdna/aie2_ctx.c
713
struct amdxdna_hwctx *hwctx = handle;
drivers/accel/amdxdna/aie2_error.c
267
static int aie2_error_async_cb(void *handle, void __iomem *data, size_t size)
drivers/accel/amdxdna/aie2_error.c
269
struct async_event *e = handle;
drivers/accel/amdxdna/aie2_message.c
1031
msg.handle = job;
drivers/accel/amdxdna/aie2_message.c
1071
msg.handle = job;
drivers/accel/amdxdna/aie2_message.c
1105
msg.handle = job;
drivers/accel/amdxdna/aie2_message.c
1140
msg.handle = job;
drivers/accel/amdxdna/aie2_message.c
36
struct xdna_notify *hdl = msg->handle;
drivers/accel/amdxdna/aie2_message.c
474
void *handle, int (*cb)(void*, void __iomem *, size_t))
drivers/accel/amdxdna/aie2_message.c
480
.handle = handle,
drivers/accel/amdxdna/aie2_message.c
545
msg.handle = hwctx;
drivers/accel/amdxdna/aie2_message.c
962
msg.handle = job;
drivers/accel/amdxdna/aie2_pci.h
324
void *handle, int (*cb)(void*, void __iomem *, size_t));
drivers/accel/amdxdna/amdxdna_ctx.c
238
args->handle = hwctx->id;
drivers/accel/amdxdna/amdxdna_ctx.c
243
XDNA_DBG(xdna, "PID %d create HW context %d, ret %d", client->pid, args->handle, ret);
drivers/accel/amdxdna/amdxdna_ctx.c
273
hwctx = xa_erase(&client->hwctx_xa, args->handle);
drivers/accel/amdxdna/amdxdna_ctx.c
277
client->pid, args->handle);
drivers/accel/amdxdna/amdxdna_ctx.c
287
XDNA_DBG(xdna, "PID %d destroyed HW context %d", client->pid, args->handle);
drivers/accel/amdxdna/amdxdna_ctx.c
345
hwctx = xa_load(&client->hwctx_xa, args->handle);
drivers/accel/amdxdna/amdxdna_ctx.c
347
XDNA_DBG(xdna, "PID %d failed to get hwctx %d", client->pid, args->handle);
drivers/accel/amdxdna/amdxdna_gem.c
794
ret = drm_gem_handle_create(filp, to_gobj(abo), &args->handle);
drivers/accel/amdxdna/amdxdna_gem.c
801
args->handle, args->type, abo->mem.userptr,
drivers/accel/amdxdna/amdxdna_gem.c
900
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/accel/amdxdna/amdxdna_gem.c
902
XDNA_DBG(xdna, "Lookup GEM object %d failed", args->handle);
drivers/accel/amdxdna/amdxdna_gem.c
916
args->handle, args->map_offset, args->vaddr, args->xdna_addr);
drivers/accel/amdxdna/amdxdna_gem.c
938
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/accel/amdxdna/amdxdna_gem.c
947
XDNA_ERR(xdna, "Pin BO %d failed, ret %d", args->handle, ret);
drivers/accel/amdxdna/amdxdna_gem.c
963
args->handle, args->offset, args->size);
drivers/accel/amdxdna/amdxdna_gem.c
966
ret = amdxdna_hwctx_sync_debug_bo(abo->client, args->handle);
drivers/accel/amdxdna/amdxdna_mailbox.c
182
mb_msg->notify_cb(mb_msg->handle, NULL, 0);
drivers/accel/amdxdna/amdxdna_mailbox.c
259
ret = mb_msg->notify_cb(mb_msg->handle, data, header->total_size);
drivers/accel/amdxdna/amdxdna_mailbox.c
423
mb_msg->handle = msg->handle;
drivers/accel/amdxdna/amdxdna_mailbox.c
93
void *handle;
drivers/accel/amdxdna/amdxdna_mailbox.c
94
int (*notify_cb)(void *handle, void __iomem *data, size_t size);
drivers/accel/amdxdna/amdxdna_mailbox.h
27
void *handle;
drivers/accel/amdxdna/amdxdna_mailbox.h
28
int (*notify_cb)(void *handle, void __iomem *data, size_t size);
drivers/accel/amdxdna/amdxdna_mailbox_helper.c
19
int xdna_msg_cb(void *handle, void __iomem *data, size_t size)
drivers/accel/amdxdna/amdxdna_mailbox_helper.c
21
struct xdna_notify *cb_arg = handle;
drivers/accel/amdxdna/amdxdna_mailbox_helper.c
44
struct xdna_notify *hdl = msg->handle;
drivers/accel/amdxdna/amdxdna_mailbox_helper.h
35
.handle = &hdl, \
drivers/accel/amdxdna/amdxdna_mailbox_helper.h
40
int xdna_msg_cb(void *handle, void __iomem *data, size_t size);
drivers/accel/ethosu/ethosu_drv.c
107
obj = drm_gem_object_lookup(file, args->handle);
drivers/accel/ethosu/ethosu_drv.c
133
args->flags, &args->handle);
drivers/accel/ethosu/ethosu_drv.c
72
args->flags, &args->handle);
drivers/accel/ethosu/ethosu_drv.c
92
ret = drm_gem_dma_resv_wait(file, args->handle, true, timeout);
drivers/accel/ethosu/ethosu_gem.c
680
u32 size, u64 data, u32 flags, u32 *handle)
drivers/accel/ethosu/ethosu_gem.c
703
ret = drm_gem_handle_create(file, &mem->base, handle);
drivers/accel/ethosu/ethosu_gem.c
73
u64 *size, u32 flags, u32 *handle)
drivers/accel/ethosu/ethosu_gem.c
90
ret = drm_gem_handle_create(file, &mem->base, handle);
drivers/accel/ethosu/ethosu_gem.h
40
u64 *size, u32 flags, uint32_t *handle);
drivers/accel/ethosu/ethosu_gem.h
44
u32 size, u64 data, u32 flags, u32 *handle);
drivers/accel/habanalabs/common/command_buffer.c
268
bool map_cb, u64 *handle)
drivers/accel/habanalabs/common/command_buffer.c
298
*handle = buf->handle;
drivers/accel/habanalabs/common/command_buffer.c
335
u64 handle, u32 flags, u32 *usage_cnt, u64 *device_va)
drivers/accel/habanalabs/common/command_buffer.c
340
cb = hl_cb_get(mmg, handle);
drivers/accel/habanalabs/common/command_buffer.c
343
"CB info failed, no match to handle 0x%llx\n", handle);
drivers/accel/habanalabs/common/command_buffer.c
369
u64 handle = 0, device_va = 0;
drivers/accel/habanalabs/common/command_buffer.c
392
&handle);
drivers/accel/habanalabs/common/command_buffer.c
396
args->out.cb_handle = handle;
drivers/accel/habanalabs/common/command_buffer.c
428
struct hl_cb *hl_cb_get(struct hl_mem_mgr *mmg, u64 handle)
drivers/accel/habanalabs/common/command_buffer.c
432
buf = hl_mmap_mem_buf_get(mmg, handle);
drivers/accel/habanalabs/common/command_submission.c
1048
struct hl_cs_encaps_sig_handle *handle;
drivers/accel/habanalabs/common/command_submission.c
1057
idr_for_each_entry(&mgr->handles, handle, id)
drivers/accel/habanalabs/common/command_submission.c
1058
if (handle->cs_seq == ULLONG_MAX)
drivers/accel/habanalabs/common/command_submission.c
1059
kref_put(&handle->refcount, hl_encaps_release_handle_and_put_sob_ctx);
drivers/accel/habanalabs/common/command_submission.c
1986
hl_cb_destroy(&hdev->kernel_mem_mgr, cb->buf->handle);
drivers/accel/habanalabs/common/command_submission.c
2009
struct hl_cs_encaps_sig_handle *handle;
drivers/accel/habanalabs/common/command_submission.c
2041
handle = kzalloc_obj(*handle);
drivers/accel/habanalabs/common/command_submission.c
2042
if (!handle) {
drivers/accel/habanalabs/common/command_submission.c
2047
handle->count = count;
drivers/accel/habanalabs/common/command_submission.c
2050
handle->ctx = hpriv->ctx;
drivers/accel/habanalabs/common/command_submission.c
2054
hdl_id = idr_alloc(&mgr->handles, handle, 1, 0, GFP_ATOMIC);
drivers/accel/habanalabs/common/command_submission.c
2063
handle->id = hdl_id;
drivers/accel/habanalabs/common/command_submission.c
2064
handle->q_idx = q_idx;
drivers/accel/habanalabs/common/command_submission.c
2065
handle->hdev = hdev;
drivers/accel/habanalabs/common/command_submission.c
2066
kref_init(&handle->refcount);
drivers/accel/habanalabs/common/command_submission.c
2089
handle->hw_sob = hw_sob;
drivers/accel/habanalabs/common/command_submission.c
2094
handle->pre_sob_val = prop->next_sob_val - handle->count;
drivers/accel/habanalabs/common/command_submission.c
2096
handle->cs_seq = ULLONG_MAX;
drivers/accel/habanalabs/common/command_submission.c
2101
*sob_addr = handle->hw_sob->sob_addr;
drivers/accel/habanalabs/common/command_submission.c
2106
hw_sob->sob_id, handle->hw_sob->sob_addr,
drivers/accel/habanalabs/common/command_submission.c
2116
hl_ctx_put(handle->ctx);
drivers/accel/habanalabs/common/command_submission.c
2117
kfree(handle);
drivers/accel/habanalabs/common/context.c
12
static void encaps_handle_do_release(struct hl_cs_encaps_sig_handle *handle, bool put_hw_sob,
drivers/accel/habanalabs/common/context.c
15
struct hl_encaps_signals_mgr *mgr = &handle->ctx->sig_mgr;
drivers/accel/habanalabs/common/context.c
173
ctx->handle = rc;
drivers/accel/habanalabs/common/context.c
18
hw_sob_put(handle->hw_sob);
drivers/accel/habanalabs/common/context.c
192
idr_remove(&ctx_mgr->handles, ctx->handle);
drivers/accel/habanalabs/common/context.c
21
idr_remove(&mgr->handles, handle->id);
drivers/accel/habanalabs/common/context.c
25
hl_ctx_put(handle->ctx);
drivers/accel/habanalabs/common/context.c
27
kfree(handle);
drivers/accel/habanalabs/common/context.c
32
struct hl_cs_encaps_sig_handle *handle =
drivers/accel/habanalabs/common/context.c
35
encaps_handle_do_release(handle, false, true);
drivers/accel/habanalabs/common/context.c
40
struct hl_cs_encaps_sig_handle *handle =
drivers/accel/habanalabs/common/context.c
43
encaps_handle_do_release(handle, true, false);
drivers/accel/habanalabs/common/context.c
48
struct hl_cs_encaps_sig_handle *handle =
drivers/accel/habanalabs/common/context.c
51
encaps_handle_do_release(handle, true, true);
drivers/accel/habanalabs/common/context.c
62
struct hl_cs_encaps_sig_handle *handle;
drivers/accel/habanalabs/common/context.c
74
idr_for_each_entry(idp, handle, id)
drivers/accel/habanalabs/common/context.c
75
kref_put(&handle->refcount, hl_encaps_release_handle_and_put_sob);
drivers/accel/habanalabs/common/debugfs.c
123
cb->buf->handle, cb->ctx->asid, cb->size,
drivers/accel/habanalabs/common/debugfs.c
277
phys_pg_pack->handle);
drivers/accel/habanalabs/common/debugfs.c
309
seq_printf(s, "\nhandle: %u\n", phys_pg_pack->handle);
drivers/accel/habanalabs/common/habanalabs.h
1959
u32 handle;
drivers/accel/habanalabs/common/habanalabs.h
2193
u64 handle;
drivers/accel/habanalabs/common/habanalabs.h
2244
u32 handle;
drivers/accel/habanalabs/common/habanalabs.h
3864
bool map_cb, u64 *handle);
drivers/accel/habanalabs/common/habanalabs.h
3867
struct hl_cb *hl_cb_get(struct hl_mem_mgr *mmg, u64 handle);
drivers/accel/habanalabs/common/habanalabs.h
4113
u64 handle);
drivers/accel/habanalabs/common/habanalabs.h
4114
int hl_mmap_mem_buf_put_handle(struct hl_mem_mgr *mmg, u64 handle);
drivers/accel/habanalabs/common/habanalabs.h
963
u64 handle;
drivers/accel/habanalabs/common/hw_queue.c
454
struct hl_cs_encaps_sig_handle *handle = cs->encaps_sig_hdl;
drivers/accel/habanalabs/common/hw_queue.c
457
cs_cmpl->hw_sob = handle->hw_sob;
drivers/accel/habanalabs/common/hw_queue.c
471
cs_cmpl->sob_val = handle->pre_sob_val + offset;
drivers/accel/habanalabs/common/memory.c
1055
u32 handle = 0, va_block_align;
drivers/accel/habanalabs/common/memory.c
1092
handle = phys_pg_pack->handle;
drivers/accel/habanalabs/common/memory.c
1116
handle = lower_32_bits(args->map_device.handle);
drivers/accel/habanalabs/common/memory.c
1119
phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle);
drivers/accel/habanalabs/common/memory.c
1123
"no match for handle %u\n", handle);
drivers/accel/habanalabs/common/memory.c
1150
handle);
drivers/accel/habanalabs/common/memory.c
1180
handle);
drivers/accel/habanalabs/common/memory.c
1190
rc, handle);
drivers/accel/habanalabs/common/memory.c
1216
hnode->handle = is_userptr ? MEM_HANDLE_INVALID : handle;
drivers/accel/habanalabs/common/memory.c
1234
handle, ret_vaddr);
drivers/accel/habanalabs/common/memory.c
1408
static int map_block(struct hl_device *hdev, u64 address, u64 *handle, u32 *size)
drivers/accel/habanalabs/common/memory.c
1413
*handle = 0;
drivers/accel/habanalabs/common/memory.c
1421
*handle = block_id | HL_MMAP_TYPE_BLOCK;
drivers/accel/habanalabs/common/memory.c
1422
*handle <<= PAGE_SHIFT;
drivers/accel/habanalabs/common/memory.c
174
handle = idr_alloc(&vm->phys_pg_pack_handles, phys_pg_pack, 1, 0,
drivers/accel/habanalabs/common/memory.c
178
if (handle < 0) {
drivers/accel/habanalabs/common/memory.c
1803
if (upper_32_bits(hnode->handle)) {
drivers/accel/habanalabs/common/memory.c
1806
hnode->handle, addr);
drivers/accel/habanalabs/common/memory.c
187
phys_pg_pack->handle = handle;
drivers/accel/habanalabs/common/memory.c
192
*ret_handle = handle;
drivers/accel/habanalabs/common/memory.c
1997
phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, (u32) hnode->handle);
drivers/accel/habanalabs/common/memory.c
2000
dev_dbg(hdev->dev, "no match for handle 0x%x\n", (u32) hnode->handle);
drivers/accel/habanalabs/common/memory.c
2007
dev_dbg(hdev->dev, "handle 0x%llx does not represent DRAM memory\n", hnode->handle);
drivers/accel/habanalabs/common/memory.c
2174
static int allocate_timestamps_buffers(struct hl_fpriv *hpriv, struct hl_mem_in *args, u64 *handle)
drivers/accel/habanalabs/common/memory.c
2189
*handle = buf->handle;
drivers/accel/habanalabs/common/memory.c
2202
u32 handle = 0, block_size;
drivers/accel/habanalabs/common/memory.c
2239
args->out.handle = 0;
drivers/accel/habanalabs/common/memory.c
2243
rc = alloc_device_memory(ctx, &args->in, &handle);
drivers/accel/habanalabs/common/memory.c
2246
args->out.handle = (__u64) handle;
drivers/accel/habanalabs/common/memory.c
2303
rc = allocate_timestamps_buffers(hpriv, &args->in, &args->out.handle);
drivers/accel/habanalabs/common/memory.c
27
struct hl_mem_in *args, u64 *handle);
drivers/accel/habanalabs/common/memory.c
358
u32 handle = args->free.handle;
drivers/accel/habanalabs/common/memory.c
361
phys_pg_pack = idr_find(&vm->phys_pg_pack_handles, handle);
drivers/accel/habanalabs/common/memory.c
364
dev_err(hdev->dev, "free device memory failed, no match for handle %u\n", handle);
drivers/accel/habanalabs/common/memory.c
370
dev_err(hdev->dev, "handle %u is mapped, cannot free\n", handle);
drivers/accel/habanalabs/common/memory.c
377
idr_remove(&vm->phys_pg_pack_handles, handle);
drivers/accel/habanalabs/common/memory.c
959
rc, phys_pg_pack->handle, phys_pg_pack->npages,
drivers/accel/habanalabs/common/memory.c
96
int handle, rc;
drivers/accel/habanalabs/common/memory.c
979
phys_pg_pack->handle, next_vaddr,
drivers/accel/habanalabs/common/memory_mgr.c
113
int hl_mmap_mem_buf_put_handle(struct hl_mem_mgr *mmg, u64 handle)
drivers/accel/habanalabs/common/memory_mgr.c
118
buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT));
drivers/accel/habanalabs/common/memory_mgr.c
122
"Buff put failed, no match to handle %#llx\n", handle);
drivers/accel/habanalabs/common/memory_mgr.c
171
buf->handle = (((u64)rc | buf->behavior->mem_id) << PAGE_SHIFT);
drivers/accel/habanalabs/common/memory_mgr.c
185
idr_remove(&mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT));
drivers/accel/habanalabs/common/memory_mgr.c
20
struct hl_mmap_mem_buf *hl_mmap_mem_buf_get(struct hl_mem_mgr *mmg, u64 handle)
drivers/accel/habanalabs/common/memory_mgr.c
235
u64 handle;
drivers/accel/habanalabs/common/memory_mgr.c
241
handle = vma->vm_pgoff << PAGE_SHIFT;
drivers/accel/habanalabs/common/memory_mgr.c
245
buf = hl_mmap_mem_buf_get(mmg, handle);
drivers/accel/habanalabs/common/memory_mgr.c
248
"Memory mmap failed, no match to handle %#llx\n", handle);
drivers/accel/habanalabs/common/memory_mgr.c
25
buf = idr_find(&mmg->handles, lower_32_bits(handle >> PAGE_SHIFT));
drivers/accel/habanalabs/common/memory_mgr.c
28
dev_dbg(mmg->dev, "Buff get failed, no match to handle %#llx\n", handle);
drivers/accel/habanalabs/common/memory_mgr.c
292
vma->vm_pgoff = handle >> PAGE_SHIFT;
drivers/accel/habanalabs/common/memory_mgr.c
67
idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT));
drivers/accel/habanalabs/common/memory_mgr.c
86
idr_remove(&buf->mmg->handles, lower_32_bits(buf->handle >> PAGE_SHIFT));
drivers/accel/habanalabs/gaudi/gaudi.c
1036
hl_cb_destroy(&hdev->kernel_mem_mgr, cb->buf->handle);
drivers/accel/habanalabs/gaudi/gaudi.c
1313
struct hl_cs_encaps_sig_handle *handle = cs->encaps_sig_hdl;
drivers/accel/habanalabs/gaudi/gaudi.c
1327
cs_cmpl->hw_sob = handle->hw_sob;
drivers/accel/habanalabs/gaudi/gaudi.c
1508
hl_cb_destroy(&hdev->kernel_mem_mgr, cb->buf->handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5350
u64 handle;
drivers/accel/habanalabs/gaudi/gaudi.c
5369
&handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5378
parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5381
dev_crit(hdev->dev, "DMA CB handle invalid 0x%llx\n", handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5427
hl_cb_destroy(&hdev->kernel_mem_mgr, handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5435
u64 handle;
drivers/accel/habanalabs/gaudi/gaudi.c
5445
&handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5452
parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5455
dev_crit(hdev->dev, "DMA CB handle invalid 0x%llx\n", handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5472
hl_cb_destroy(&hdev->kernel_mem_mgr, handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5654
hl_cb_destroy(&hdev->kernel_mem_mgr, cb->buf->handle);
drivers/accel/habanalabs/gaudi/gaudi.c
5717
hl_cb_destroy(&hdev->kernel_mem_mgr, cb->buf->handle);
drivers/accel/habanalabs/goya/goya.c
3976
u64 handle;
drivers/accel/habanalabs/goya/goya.c
3991
&handle);
drivers/accel/habanalabs/goya/goya.c
4000
parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle);
drivers/accel/habanalabs/goya/goya.c
4003
dev_crit(hdev->dev, "DMA CB handle invalid 0x%llx\n", handle);
drivers/accel/habanalabs/goya/goya.c
4043
hl_cb_destroy(&hdev->kernel_mem_mgr, handle);
drivers/accel/habanalabs/goya/goya.c
4051
u64 handle;
drivers/accel/habanalabs/goya/goya.c
4061
&handle);
drivers/accel/habanalabs/goya/goya.c
4068
parser->patched_cb = hl_cb_get(&hdev->kernel_mem_mgr, handle);
drivers/accel/habanalabs/goya/goya.c
4071
dev_crit(hdev->dev, "DMA CB handle invalid 0x%llx\n", handle);
drivers/accel/habanalabs/goya/goya.c
4088
hl_cb_destroy(&hdev->kernel_mem_mgr, handle);
drivers/accel/habanalabs/goya/goya.c
4820
hl_cb_destroy(&hdev->kernel_mem_mgr, cb->buf->handle);
drivers/accel/ivpu/ivpu_gem.c
389
ret = drm_gem_handle_create(file, &bo->base.base, &args->handle);
drivers/accel/ivpu/ivpu_gem.c
492
obj = drm_gem_object_lookup(file, args->handle);
drivers/accel/ivpu/ivpu_gem.c
521
obj = drm_gem_object_lookup(file, args->handle);
drivers/accel/ivpu/ivpu_gem_userptr.c
200
ret = drm_gem_handle_create(file, &bo->base.base, &args->handle);
drivers/accel/ivpu/ivpu_gem_userptr.c
206
args->handle, bo->vpu_addr, args->size, bo->flags);
drivers/accel/qaic/qaic.h
71
int handle;
drivers/accel/qaic/qaic_control.c
1219
msg->hdr.handle = cpu_to_le32(usr->handle);
drivers/accel/qaic/qaic_control.c
1222
msg->hdr.handle = 0;
drivers/accel/qaic/qaic_control.c
143
__le32 handle;
drivers/accel/qaic/qaic_control.c
1567
trans->handle = cpu_to_le32(usr->handle);
drivers/accel/qaic/qaic_control.c
1575
msg->hdr.handle = cpu_to_le32(usr->handle);
drivers/accel/qaic/qaic_control.c
59
__le32 handle; /* unique id to track the resources consumed */
drivers/accel/qaic/qaic_data.c
1023
obj = drm_gem_object_lookup(file_priv, args->hdr.handle);
drivers/accel/qaic/qaic_data.c
1218
is_partial ? pexec[i].handle : exec[i].handle);
drivers/accel/qaic/qaic_data.c
1311
is_partial ? pexec[i].handle : exec[i].handle);
drivers/accel/qaic/qaic_data.c
1373
if (!dbc->usr || dbc->usr->handle != usr->handle) {
drivers/accel/qaic/qaic_data.c
1740
obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/accel/qaic/qaic_data.c
1812
obj = drm_gem_object_lookup(file_priv, ent[i].handle);
drivers/accel/qaic/qaic_data.c
1895
obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/accel/qaic/qaic_data.c
1979
if (!qdev->dbc[dbc_id].usr || qdev->dbc[dbc_id].usr->handle != usr->handle)
drivers/accel/qaic/qaic_data.c
759
ret = drm_gem_handle_create(file_priv, obj, &args->handle);
drivers/accel/qaic/qaic_data.c
801
obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/accel/qaic/qaic_drv.c
137
ida_free(&qaic_usrs, usr->handle);
drivers/accel/qaic/qaic_drv.c
161
usr->handle = ida_alloc(&qaic_usrs, GFP_KERNEL);
drivers/accel/qaic/qaic_drv.c
162
if (usr->handle < 0) {
drivers/accel/qaic/qaic_drv.c
163
ret = usr->handle;
drivers/accel/qaic/qaic_drv.c
185
ida_free(&qaic_usrs, usr->handle);
drivers/accel/qaic/qaic_drv.c
210
if (qdev->dbc[i].usr && qdev->dbc[i].usr->handle == usr->handle)
drivers/accel/rocket/rocket_gem.c
141
gem_obj = drm_gem_object_lookup(file, args->handle);
drivers/accel/rocket/rocket_gem.c
170
gem_obj = drm_gem_object_lookup(file, args->handle);
drivers/accel/rocket/rocket_gem.c
82
ret = drm_gem_handle_create(file, gem_obj, &args->handle);
drivers/acpi/ac.c
120
static void acpi_ac_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/ac.c
127
acpi_handle_debug(adev->handle, "Unsupported event [0x%x]\n",
drivers/acpi/ac.c
39
static void acpi_ac_notify(acpi_handle handle, u32 event, void *data);
drivers/acpi/ac.c
78
status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL,
drivers/acpi/ac.c
81
acpi_handle_info(ac->device->handle,
drivers/acpi/acpi_adxl.c
145
status = acpi_get_handle(NULL, path, &handle);
drivers/acpi/acpi_adxl.c
151
if (!acpi_has_method(handle, "_DSM")) {
drivers/acpi/acpi_adxl.c
156
if (!acpi_check_dsm(handle, &adxl_guid, ADXL_REVISION,
drivers/acpi/acpi_adxl.c
30
static acpi_handle handle;
drivers/acpi/acpi_adxl.c
43
obj = acpi_evaluate_dsm_typed(handle, &adxl_guid, ADXL_REVISION,
drivers/acpi/acpi_extlog.c
261
acpi_handle handle;
drivers/acpi/acpi_extlog.c
266
if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle)))
drivers/acpi/acpi_extlog.c
268
if (!acpi_check_dsm(handle, &guid, EXTLOG_DSM_REV, 1 << EXTLOG_FN_ADDR))
drivers/acpi/acpi_extlog.c
270
obj = acpi_evaluate_dsm_typed(handle, &guid, EXTLOG_DSM_REV,
drivers/acpi/acpi_ipmi.c
114
ipmi_dev_alloc(int iface, struct device *dev, acpi_handle handle)
drivers/acpi/acpi_ipmi.c
128
ipmi_device->handle = handle;
drivers/acpi/acpi_ipmi.c
36
acpi_handle handle;
drivers/acpi/acpi_ipmi.c
442
acpi_handle handle;
drivers/acpi/acpi_ipmi.c
450
handle = smi_data.addr_info.acpi_info.acpi_handle;
drivers/acpi/acpi_ipmi.c
451
if (!handle)
drivers/acpi/acpi_ipmi.c
454
ipmi_device = ipmi_dev_alloc(iface, smi_data.dev, handle);
drivers/acpi/acpi_ipmi.c
466
if (temp->handle == handle)
drivers/acpi/acpi_lpat.c
90
handle)
drivers/acpi/acpi_lpat.c
98
status = acpi_evaluate_object(handle, "LPAT", NULL, &buffer);
drivers/acpi/acpi_memhotplug.c
115
status = acpi_walk_resources(mem_device->device->handle, METHOD_NAME__CRS,
drivers/acpi/acpi_memhotplug.c
130
if (ACPI_FAILURE(acpi_evaluate_integer(mem_device->device->handle,
drivers/acpi/acpi_memhotplug.c
172
acpi_handle handle = mem_device->device->handle;
drivers/acpi/acpi_memhotplug.c
179
node = acpi_get_node(handle);
drivers/acpi/acpi_pad.c
358
static int acpi_pad_pur(acpi_handle handle)
drivers/acpi/acpi_pad.c
364
if (ACPI_FAILURE(acpi_evaluate_object(handle, "_PUR", NULL, &buffer)))
drivers/acpi/acpi_pad.c
382
static void acpi_pad_handle_notify(acpi_handle handle)
drivers/acpi/acpi_pad.c
393
num_cpus = acpi_pad_pur(handle);
drivers/acpi/acpi_pad.c
406
acpi_evaluate_ost(handle, ACPI_PROCESSOR_AGGREGATOR_NOTIFY, status, &param);
drivers/acpi/acpi_pad.c
410
static void acpi_pad_notify(acpi_handle handle, u32 event,
drivers/acpi/acpi_pad.c
417
acpi_pad_handle_notify(handle);
drivers/acpi/acpi_pad.c
435
status = acpi_install_notify_handler(adev->handle,
drivers/acpi/acpi_pad.c
452
acpi_remove_notify_handler(adev->handle,
drivers/acpi/acpi_platform.c
129
acpi_walk_resources(adev->handle, METHOD_NAME__CRS,
drivers/acpi/acpi_platform.c
186
set_dev_node(&pdev->dev, acpi_get_node(adev->handle));
drivers/acpi/acpi_processor.c
186
acpi_handle handle;
drivers/acpi/acpi_processor.c
188
status = acpi_get_handle(NULL, "\\_SB", &handle);
drivers/acpi/acpi_processor.c
192
if (acpi_has_method(handle, "PCCH"))
drivers/acpi/acpi_processor.c
241
ret = acpi_map_cpu(pr->handle, pr->phys_id, pr->acpi_id, &pr->id);
drivers/acpi/acpi_processor.c
304
status = acpi_evaluate_object(pr->handle, NULL, NULL, &buffer);
drivers/acpi/acpi_processor.c
317
status = acpi_evaluate_integer(pr->handle, METHOD_NAME__UID,
drivers/acpi/acpi_processor.c
340
pr->phys_id = acpi_get_phys_id(pr->handle, device_declaration,
drivers/acpi/acpi_processor.c
360
if (acpi_has_method(pr->handle, "_PCT"))
drivers/acpi/acpi_processor.c
409
status = acpi_evaluate_integer(pr->handle, "_SUN", NULL, &value);
drivers/acpi/acpi_processor.c
44
return pr->handle;
drivers/acpi/acpi_processor.c
441
pr->handle = device->handle;
drivers/acpi/acpi_processor.c
526
bool __init processor_physically_present(acpi_handle handle)
drivers/acpi/acpi_processor.c
536
status = acpi_get_type(handle, &acpi_type);
drivers/acpi/acpi_processor.c
542
status = acpi_evaluate_object(handle, NULL, NULL, &buffer);
drivers/acpi/acpi_processor.c
548
status = acpi_evaluate_integer(handle, METHOD_NAME__UID,
drivers/acpi/acpi_processor.c
568
cpuid = acpi_get_cpuid(handle, type, acpi_id);
drivers/acpi/acpi_processor.c
576
static acpi_status __init acpi_processor_osc(acpi_handle handle, u32 lvl,
drivers/acpi/acpi_processor.c
588
if (!processor_physically_present(handle))
drivers/acpi/acpi_processor.c
593
status = acpi_run_osc(handle, &osc_context);
drivers/acpi/acpi_processor.c
723
static acpi_status __init acpi_processor_ids_walk(acpi_handle handle,
drivers/acpi/acpi_processor.c
734
status = acpi_get_type(handle, &acpi_type);
drivers/acpi/acpi_processor.c
740
status = acpi_evaluate_object(handle, NULL, NULL, &buffer);
drivers/acpi/acpi_processor.c
747
status = acpi_evaluate_integer(handle, "_UID", NULL, &uid);
drivers/acpi/acpi_processor.c
760
acpi_handle_info(handle, "Invalid processor object\n");
drivers/acpi/acpi_processor.c
837
int acpi_processor_evaluate_cst(acpi_handle handle, u32 cpu,
drivers/acpi/acpi_processor.c
847
status = acpi_evaluate_object(handle, "_CST", NULL, &buffer);
drivers/acpi/acpi_processor.c
849
acpi_handle_debug(handle, "No _CST\n");
drivers/acpi/acpi_processor.c
857
acpi_handle_warn(handle, "Invalid _CST output\n");
drivers/acpi/acpi_processor.c
866
acpi_handle_warn(handle, "Inconsistent _CST data\n");
drivers/acpi/acpi_processor.c
882
acpi_handle_warn(handle,
drivers/acpi/acpi_processor.c
892
acpi_handle_info(handle, "_CST C%d type(%x) is not package, skip...\n",
drivers/acpi/acpi_processor.c
898
acpi_handle_info(handle, "_CST C%d package count(%d) is not 4, skip...\n",
drivers/acpi/acpi_processor.c
906
acpi_handle_info(handle, "_CST C%d package element[0] type(%x) is not buffer, skip...\n",
drivers/acpi/acpi_processor.c
915
acpi_handle_info(handle, "_CST C[%d] package element[1] type(%x) is not integer, skip...\n",
drivers/acpi/acpi_processor.c
955
acpi_handle_info(handle, "_CST C%d declares FIXED_HARDWARE C-state but not supported in hardware, skip...\n",
drivers/acpi/acpi_processor.c
964
acpi_handle_info(handle, "_CST C%d space_id(%x) neither FIXED_HARDWARE nor SYSTEM_IO, skip...\n",
drivers/acpi/acpi_processor.c
974
acpi_handle_info(handle, "_CST C%d package element[2] type(%x) not integer, skip...\n",
drivers/acpi/acpi_processor.c
983
acpi_handle_info(handle, "_CST C%d package element[3] type(%x) not integer, skip...\n",
drivers/acpi/acpi_processor.c
991
acpi_handle_debug(handle, "Found %d idle states\n", last_index);
drivers/acpi/acpi_tad.c
106
acpi_handle handle = ACPI_HANDLE(dev);
drivers/acpi/acpi_tad.c
113
status = acpi_evaluate_object(handle, "_GRT", NULL, &output);
drivers/acpi/acpi_tad.c
263
acpi_handle handle = ACPI_HANDLE(dev);
drivers/acpi/acpi_tad.c
282
status = acpi_evaluate_integer(handle, method, &arg_list, &retval);
drivers/acpi/acpi_tad.c
312
acpi_handle handle = ACPI_HANDLE(dev);
drivers/acpi/acpi_tad.c
329
status = acpi_evaluate_integer(handle, method, &arg_list, &retval);
drivers/acpi/acpi_tad.c
367
acpi_handle handle = ACPI_HANDLE(dev);
drivers/acpi/acpi_tad.c
384
status = acpi_evaluate_integer(handle, "_CWS", &arg_list, &retval);
drivers/acpi/acpi_tad.c
407
acpi_handle handle = ACPI_HANDLE(dev);
drivers/acpi/acpi_tad.c
424
status = acpi_evaluate_integer(handle, "_GWS", &arg_list, &retval);
drivers/acpi/acpi_tad.c
566
acpi_handle handle = ACPI_HANDLE(dev);
drivers/acpi/acpi_tad.c
590
acpi_remove_cmos_rtc_space_handler(handle);
drivers/acpi/acpi_tad.c
596
acpi_handle handle = ACPI_HANDLE(dev);
drivers/acpi/acpi_tad.c
602
ret = acpi_install_cmos_rtc_space_handler(handle);
drivers/acpi/acpi_tad.c
611
status = acpi_evaluate_integer(handle, "_GCP", NULL, &caps);
drivers/acpi/acpi_tad.c
624
if (!acpi_has_method(handle, "_PRW")) {
drivers/acpi/acpi_tad.c
680
acpi_remove_cmos_rtc_space_handler(handle);
drivers/acpi/acpi_tad.c
72
acpi_handle handle = ACPI_HANDLE(dev);
drivers/acpi/acpi_tad.c
97
status = acpi_evaluate_integer(handle, "_SRT", &arg_list, &retval);
drivers/acpi/acpi_video.c
1001
if (acpi_has_method(device->dev->handle, "_BCL"))
drivers/acpi/acpi_video.c
1003
if (acpi_has_method(device->dev->handle, "_BCM"))
drivers/acpi/acpi_video.c
1005
if (acpi_has_method(device->dev->handle, "_BQC")) {
drivers/acpi/acpi_video.c
1007
} else if (acpi_has_method(device->dev->handle, "_BCQ")) {
drivers/acpi/acpi_video.c
1008
acpi_handle_info(device->dev->handle,
drivers/acpi/acpi_video.c
1013
if (acpi_has_method(device->dev->handle, "_DDC"))
drivers/acpi/acpi_video.c
1029
if (acpi_has_method(video->device->handle, "_DOS"))
drivers/acpi/acpi_video.c
1031
if (acpi_has_method(video->device->handle, "_DOD"))
drivers/acpi/acpi_video.c
1033
if (acpi_has_method(video->device->handle, "_ROM"))
drivers/acpi/acpi_video.c
1035
if (acpi_has_method(video->device->handle, "_GPD"))
drivers/acpi/acpi_video.c
1037
if (acpi_has_method(video->device->handle, "_SPD"))
drivers/acpi/acpi_video.c
1039
if (acpi_has_method(video->device->handle, "_VPO"))
drivers/acpi/acpi_video.c
1056
dev = acpi_get_pci_dev(video->device->handle);
drivers/acpi/acpi_video.c
1138
if (acpi_get_local_u64_address(device->handle, &device_id))
drivers/acpi/acpi_video.c
1260
acpi_handle_debug(video->device->handle, "%s: %d\n",
drivers/acpi/acpi_video.c
1312
status = acpi_evaluate_object(video->device->handle, "_DOD", NULL, &buffer);
drivers/acpi/acpi_video.c
1314
acpi_handle_info(video->device->handle,
drivers/acpi/acpi_video.c
1322
acpi_handle_info(video->device->handle, "Invalid _DOD data\n");
drivers/acpi/acpi_video.c
1327
acpi_handle_debug(video->device->handle, "Found %d video heads in _DOD\n",
drivers/acpi/acpi_video.c
1342
acpi_handle_info(video->device->handle,
drivers/acpi/acpi_video.c
1350
acpi_handle_debug(video->device->handle,
drivers/acpi/acpi_video.c
1444
acpi_handle_info(device->dev->handle,
drivers/acpi/acpi_video.c
1535
static void acpi_video_bus_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/acpi_video.c
1568
acpi_handle_debug(device->handle, "Unsupported event [0x%x]\n",
drivers/acpi/acpi_video.c
1595
static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/acpi_video.c
1640
acpi_handle_debug(handle, "Unsupported event [0x%x]\n", event);
drivers/acpi/acpi_video.c
1685
acpi_video_bus_match(acpi_handle handle, u32 level, void *context,
drivers/acpi/acpi_video.c
1691
if (handle == device->handle)
drivers/acpi/acpi_video.c
1694
sibling = acpi_fetch_acpi_dev(handle);
drivers/acpi/acpi_video.c
1723
if (ACPI_SUCCESS(acpi_get_parent(device->dev->handle, &acpi_parent))) {
drivers/acpi/acpi_video.c
1787
if (!acpi_video_device_lcd_query_levels(dev->dev->handle, &levels))
drivers/acpi/acpi_video.c
1877
status = acpi_install_notify_handler(adev->handle, ACPI_DEVICE_NOTIFY,
drivers/acpi/acpi_video.c
1943
acpi_remove_notify_handler(dev->dev->handle, ACPI_DEVICE_NOTIFY,
drivers/acpi/acpi_video.c
1991
acpi_dev_parent(device)->handle, 1,
drivers/acpi/acpi_video.c
206
static void acpi_video_device_notify(acpi_handle handle, u32 event, void *data);
drivers/acpi/acpi_video.c
307
acpi_video_device_lcd_query_levels(acpi_handle handle,
drivers/acpi/acpi_video.c
317
status = acpi_evaluate_object(handle, "_BCL", NULL, &buffer);
drivers/acpi/acpi_video.c
322
acpi_handle_info(handle, "Invalid _BCL data\n");
drivers/acpi/acpi_video.c
343
status = acpi_execute_simple_method(device->dev->handle,
drivers/acpi/acpi_video.c
346
acpi_handle_info(device->dev->handle, "_BCM evaluation failed\n");
drivers/acpi/acpi_video.c
360
acpi_handle_info(device->dev->handle, "Current brightness invalid\n");
drivers/acpi/acpi_video.c
566
status = acpi_evaluate_integer(device->dev->handle, buf,
drivers/acpi/acpi_video.c
590
acpi_handle_info(device->dev->handle,
drivers/acpi/acpi_video.c
602
acpi_handle_info(device->dev->handle,
drivers/acpi/acpi_video.c
644
status = acpi_evaluate_object(device->dev->handle, "_DDC", &args, &buffer);
drivers/acpi/acpi_video.c
661
acpi_handle_debug(device->dev->handle,
drivers/acpi/acpi_video.c
708
status = acpi_execute_simple_method(video->device->handle, "_DOS",
drivers/acpi/acpi_video.c
814
if (ACPI_FAILURE(acpi_video_device_lcd_query_levels(device->handle, &obj))) {
drivers/acpi/acpi_video.c
815
acpi_handle_debug(device->handle,
drivers/acpi/acpi_video.c
83
static void acpi_video_bus_notify(acpi_handle handle, u32 event, void *data);
drivers/acpi/acpi_video.c
847
acpi_handle_info(device->handle, "Invalid data\n");
drivers/acpi/acpi_video.c
884
acpi_handle_info(device->handle,
drivers/acpi/acpi_video.c
895
acpi_handle_info(device->handle,
drivers/acpi/acpi_video.c
974
acpi_handle_debug(device->dev->handle, "found %d brightness levels\n",
drivers/acpi/acpi_video.c
999
if (acpi_has_method(device->dev->handle, "_ADR"))
drivers/acpi/acpica/acevents.h
201
acpi_ev_system_memory_region_setup(acpi_handle handle,
drivers/acpi/acpica/acevents.h
207
acpi_ev_io_space_region_setup(acpi_handle handle,
drivers/acpi/acpica/acevents.h
212
acpi_ev_pci_config_region_setup(acpi_handle handle,
drivers/acpi/acpica/acevents.h
217
acpi_ev_cmos_region_setup(acpi_handle handle,
drivers/acpi/acpica/acevents.h
222
acpi_ev_pci_bar_region_setup(acpi_handle handle,
drivers/acpi/acpica/acevents.h
227
acpi_ev_data_table_region_setup(acpi_handle handle,
drivers/acpi/acpica/acevents.h
232
acpi_ev_default_region_setup(acpi_handle handle,
drivers/acpi/acpica/acnamesp.h
181
void acpi_ns_dump_entry(acpi_handle handle, u32 debug_level);
drivers/acpi/acpica/acnamesp.h
184
acpi_ns_dump_pathname(acpi_handle handle,
drivers/acpi/acpica/acnamesp.h
398
struct acpi_namespace_node *acpi_ns_validate_handle(acpi_handle handle);
drivers/acpi/acpica/acresrc.h
182
acpi_rs_get_method_data(acpi_handle handle,
drivers/acpi/acpica/dbdisply.c
594
acpi_handle handle;
drivers/acpi/acpica/dbdisply.c
600
handle = ACPI_TO_POINTER(arg);
drivers/acpi/acpica/dbdisply.c
602
status = acpi_get_object_info(handle, &info);
drivers/acpi/acpica/dbtest.c
820
params[0].reference.handle = ACPI_CAST_PTR(acpi_handle, node);
drivers/acpi/acpica/dbtest.c
901
params[0].reference.handle = ACPI_CAST_PTR(acpi_handle, node);
drivers/acpi/acpica/dbutils.c
164
acpi_db_display_internal_object(obj_desc->reference.handle,
drivers/acpi/acpica/evrgnini.c
131
acpi_ev_pci_config_region_setup(acpi_handle handle,
drivers/acpi/acpica/evrgnini.c
143
(union acpi_operand_object *)handle;
drivers/acpi/acpica/evrgnini.c
34
acpi_ev_system_memory_region_setup(acpi_handle handle,
drivers/acpi/acpica/evrgnini.c
373
acpi_ev_pci_bar_region_setup(acpi_handle handle,
drivers/acpi/acpica/evrgnini.c
39
(union acpi_operand_object *)handle;
drivers/acpi/acpica/evrgnini.c
400
acpi_ev_cmos_region_setup(acpi_handle handle,
drivers/acpi/acpica/evrgnini.c
427
acpi_ev_data_table_region_setup(acpi_handle handle,
drivers/acpi/acpica/evrgnini.c
432
(union acpi_operand_object *)handle;
drivers/acpi/acpica/evrgnini.c
477
acpi_ev_default_region_setup(acpi_handle handle,
drivers/acpi/acpica/evrgnini.c
98
acpi_ev_io_space_region_setup(acpi_handle handle,
drivers/acpi/acpica/evxface.c
1026
acpi_status acpi_acquire_global_lock(u16 timeout, u32 *handle)
drivers/acpi/acpica/evxface.c
1030
if (!handle) {
drivers/acpi/acpica/evxface.c
1046
*handle = acpi_gbl_global_lock_handle;
drivers/acpi/acpica/evxface.c
1066
acpi_status acpi_release_global_lock(u32 handle)
drivers/acpi/acpica/evxface.c
1070
if (!handle || (handle != acpi_gbl_global_lock_handle)) {
drivers/acpi/acpica/nsdump.c
103
acpi_ns_dump_pathname(acpi_handle handle,
drivers/acpi/acpica/nsdump.c
117
acpi_ns_print_node_pathname(handle, msg);
drivers/acpi/acpica/nsdump.c
797
void acpi_ns_dump_entry(acpi_handle handle, u32 debug_level)
drivers/acpi/acpica/nsdump.c
807
(void)acpi_ns_dump_one_object(handle, 1, &info, NULL);
drivers/acpi/acpica/nsinit.c
109
acpi_handle handle;
drivers/acpi/acpica/nsinit.c
166
status = acpi_get_handle(NULL, "\\_SB", &handle);
drivers/acpi/acpica/nsinit.c
170
info.evaluate_info->prefix_node = handle;
drivers/acpi/acpica/nsload.c
22
acpi_status acpi_ns_unload_namespace(acpi_handle handle);
drivers/acpi/acpica/nsload.c
265
acpi_status acpi_ns_unload_namespace(acpi_handle handle)
drivers/acpi/acpica/nsload.c
277
if (!handle) {
drivers/acpi/acpica/nsload.c
283
status = acpi_ns_delete_subtree(handle);
drivers/acpi/acpica/nsutils.c
528
struct acpi_namespace_node *acpi_ns_validate_handle(acpi_handle handle)
drivers/acpi/acpica/nsutils.c
535
if ((!handle) || (handle == ACPI_ROOT_OBJECT)) {
drivers/acpi/acpica/nsutils.c
541
if (ACPI_GET_DESCRIPTOR_TYPE(handle) != ACPI_DESC_TYPE_NAMED) {
drivers/acpi/acpica/nsutils.c
545
return (ACPI_CAST_PTR(struct acpi_namespace_node, handle));
drivers/acpi/acpica/nsxfeval.c
163
acpi_evaluate_object(acpi_handle handle,
drivers/acpi/acpica/nsxfeval.c
184
info->prefix_node = acpi_ns_validate_handle(handle);
drivers/acpi/acpica/nsxfeval.c
203
} else if (!handle) {
drivers/acpi/acpica/nsxfeval.c
44
acpi_evaluate_object_typed(acpi_handle handle,
drivers/acpi/acpica/nsxfeval.c
69
target_handle = handle;
drivers/acpi/acpica/nsxfeval.c
71
status = acpi_get_handle(handle, pathname, &target_handle);
drivers/acpi/acpica/nsxfname.c
124
acpi_get_name(acpi_handle handle, u32 name_type, struct acpi_buffer *buffer)
drivers/acpi/acpica/nsxfname.c
153
status = acpi_ns_handle_to_pathname(handle, buffer,
drivers/acpi/acpica/nsxfname.c
160
status = acpi_ns_handle_to_name(handle, buffer);
drivers/acpi/acpica/nsxfname.c
226
acpi_get_object_info(acpi_handle handle,
drivers/acpi/acpica/nsxfname.c
246
if (!handle || !return_buffer) {
drivers/acpi/acpica/nsxfname.c
255
node = acpi_ns_validate_handle(handle);
drivers/acpi/acpica/nsxfobj.c
106
node = acpi_ns_validate_handle(handle);
drivers/acpi/acpica/nsxfobj.c
31
acpi_status acpi_get_type(acpi_handle handle, acpi_object_type *ret_type)
drivers/acpi/acpica/nsxfobj.c
44
if (handle == ACPI_ROOT_OBJECT) {
drivers/acpi/acpica/nsxfobj.c
56
node = acpi_ns_validate_handle(handle);
drivers/acpi/acpica/nsxfobj.c
83
acpi_status acpi_get_parent(acpi_handle handle, acpi_handle *ret_handle)
drivers/acpi/acpica/nsxfobj.c
95
if (handle == ACPI_ROOT_OBJECT) {
drivers/acpi/acpica/rsutils.c
637
acpi_rs_get_method_data(acpi_handle handle,
drivers/acpi/acpica/rsutils.c
651
(struct acpi_namespace_node, handle), path,
drivers/acpi/acpica/utcopy.c
151
external_object->reference.handle =
drivers/acpi/acpica/utcopy.c
508
external_object->reference.handle;
drivers/acpi/acpica/utxfmutex.c
100
acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout)
drivers/acpi/acpica/utxfmutex.c
107
status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj);
drivers/acpi/acpica/utxfmutex.c
136
acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname)
drivers/acpi/acpica/utxfmutex.c
143
status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj);
drivers/acpi/acpica/utxfmutex.c
17
acpi_ut_get_mutex_object(acpi_handle handle,
drivers/acpi/acpica/utxfmutex.c
38
acpi_ut_get_mutex_object(acpi_handle handle,
drivers/acpi/acpica/utxfmutex.c
48
if (!ret_obj || (!handle && !pathname)) {
drivers/acpi/acpica/utxfmutex.c
54
mutex_node = handle;
drivers/acpi/acpica/utxfmutex.c
57
acpi_get_handle(handle, pathname,
drivers/acpi/apei/apei-base.c
779
acpi_handle handle;
drivers/acpi/apei/apei-base.c
792
if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle))
drivers/acpi/apei/apei-base.c
793
|| ACPI_FAILURE(acpi_run_osc(handle, &context)))
drivers/acpi/arm64/iort.c
294
status = acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &buf);
drivers/acpi/arm64/iort.c
779
struct fwnode_handle *handle;
drivers/acpi/arm64/iort.c
785
handle = iort_find_domain_token(its_id);
drivers/acpi/arm64/iort.c
786
if (!handle)
drivers/acpi/arm64/iort.c
789
return irq_find_matching_fwnode(handle, bus_token);
drivers/acpi/arm64/iort.c
799
acpi_handle handle;
drivers/acpi/arm64/iort.c
807
status = acpi_get_handle(NULL, iwb->device_name, &handle);
drivers/acpi/arm64/iort.c
811
device = acpi_get_acpi_dev(handle);
drivers/acpi/battery.c
1063
static void acpi_battery_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/battery.c
1239
if (acpi_has_method(battery->device->handle, "_BIX"))
drivers/acpi/battery.c
480
acpi_handle_info(battery->device->handle,
drivers/acpi/battery.c
545
status = acpi_evaluate_object(battery->device->handle,
drivers/acpi/battery.c
550
acpi_handle_info(battery->device->handle,
drivers/acpi/battery.c
584
status = acpi_evaluate_object(battery->device->handle, "_BST",
drivers/acpi/battery.c
587
acpi_handle_info(battery->device->handle,
drivers/acpi/battery.c
633
status = acpi_execute_simple_method(battery->device->handle, "_BTP",
drivers/acpi/battery.c
638
acpi_handle_debug(battery->device->handle, "Alarm set to %d\n",
drivers/acpi/battery.c
647
if (!acpi_has_method(battery->device->handle, "_BTP")) {
drivers/acpi/bus.c
111
status = acpi_bus_get_status_handle(device->handle, &sta);
drivers/acpi/bus.c
138
void acpi_bus_private_data_handler(acpi_handle handle,
drivers/acpi/bus.c
145
int acpi_bus_attach_private_data(acpi_handle handle, void *data)
drivers/acpi/bus.c
149
status = acpi_attach_data(handle,
drivers/acpi/bus.c
152
acpi_handle_debug(handle, "Error attaching device data\n");
drivers/acpi/bus.c
160
int acpi_bus_get_private_data(acpi_handle handle, void **data)
drivers/acpi/bus.c
167
status = acpi_get_data(handle, acpi_bus_private_data_handler, data);
drivers/acpi/bus.c
169
acpi_handle_debug(handle, "No context for object\n");
drivers/acpi/bus.c
177
void acpi_bus_detach_private_data(acpi_handle handle)
drivers/acpi/bus.c
179
acpi_detach_data(handle, acpi_bus_private_data_handler);
drivers/acpi/bus.c
183
static void acpi_dump_osc_data(acpi_handle handle, const guid_t *guid, int rev,
drivers/acpi/bus.c
189
acpi_handle_debug(handle, "_OSC: UUID: %pUL, rev: %d\n", guid, rev);
drivers/acpi/bus.c
191
acpi_handle_debug(handle, "_OSC: capabilities DWORD %i: [%08x]\n",
drivers/acpi/bus.c
199
static int acpi_eval_osc(acpi_handle handle, guid_t *guid, int rev,
drivers/acpi/bus.c
224
status = acpi_evaluate_object(handle, "_OSC", &input, output);
drivers/acpi/bus.c
231
acpi_handle_debug(handle, "Invalid _OSC return buffer\n");
drivers/acpi/bus.c
232
acpi_dump_osc_data(handle, guid, rev, cap);
drivers/acpi/bus.c
240
static bool acpi_osc_error_check(acpi_handle handle, guid_t *guid, int rev,
drivers/acpi/bus.c
259
acpi_dump_osc_data(handle, guid, rev, cap);
drivers/acpi/bus.c
267
acpi_handle_debug(handle, "_OSC: request failed\n");
drivers/acpi/bus.c
270
acpi_handle_debug(handle, "_OSC: invalid UUID\n");
drivers/acpi/bus.c
279
acpi_handle_debug(handle, "_OSC: invalid revision\n");
drivers/acpi/bus.c
282
acpi_handle_debug(handle, "_OSC: capability bits masked\n");
drivers/acpi/bus.c
287
acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context)
drivers/acpi/bus.c
301
ret = acpi_eval_osc(handle, &guid, context->rev, &context->cap,
drivers/acpi/bus.c
309
if (acpi_osc_error_check(handle, &guid, context->rev, &context->cap, retbuf)) {
drivers/acpi/bus.c
328
static int acpi_osc_handshake(acpi_handle handle, const char *uuid_str,
drivers/acpi/bus.c
348
ret = acpi_eval_osc(handle, &guid, rev, &cap, in_params, &output);
drivers/acpi/bus.c
355
if (acpi_osc_error_check(handle, &guid, rev, &cap, retbuf)) {
drivers/acpi/bus.c
389
if (ACPI_FAILURE(acpi_evaluate_object(handle, "_OSC", &input, &output))) {
drivers/acpi/bus.c
406
acpi_handle_err(handle, "_OSC: errors while processing control request\n");
drivers/acpi/bus.c
407
acpi_handle_err(handle, "_OSC: some features may be missing\n");
drivers/acpi/bus.c
408
acpi_osc_error_check(handle, &guid, rev, &cap, retbuf);
drivers/acpi/bus.c
451
acpi_handle handle;
drivers/acpi/bus.c
491
if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle)))
drivers/acpi/bus.c
496
acpi_handle_info(handle, "platform _OSC: OS support mask [%08x]\n", feature_mask);
drivers/acpi/bus.c
498
if (acpi_osc_handshake(handle, sb_uuid_str, 1, capbuf, ARRAY_SIZE(capbuf)))
drivers/acpi/bus.c
503
acpi_handle_info(handle, "platform _OSC: OS control mask [%08x]\n", feature_mask);
drivers/acpi/bus.c
533
acpi_handle handle;
drivers/acpi/bus.c
538
if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle)))
drivers/acpi/bus.c
547
if (acpi_osc_handshake(handle, sb_usb_uuid_str, 1, capbuf, ARRAY_SIZE(capbuf)))
drivers/acpi/bus.c
568
static void acpi_bus_notify(acpi_handle handle, u32 type, void *data)
drivers/acpi/bus.c
574
acpi_handle_debug(handle, "ACPI_NOTIFY_BUS_CHECK event\n");
drivers/acpi/bus.c
578
acpi_handle_debug(handle, "ACPI_NOTIFY_DEVICE_CHECK event\n");
drivers/acpi/bus.c
582
acpi_handle_debug(handle, "ACPI_NOTIFY_DEVICE_WAKE event\n");
drivers/acpi/bus.c
586
acpi_handle_debug(handle, "ACPI_NOTIFY_EJECT_REQUEST event\n");
drivers/acpi/bus.c
590
acpi_handle_debug(handle, "ACPI_NOTIFY_DEVICE_CHECK_LIGHT event\n");
drivers/acpi/bus.c
595
acpi_handle_err(handle, "Device cannot be configured due "
drivers/acpi/bus.c
600
acpi_handle_err(handle, "Device cannot be configured due "
drivers/acpi/bus.c
605
acpi_handle_err(handle, "Device has suffered a power fault\n");
drivers/acpi/bus.c
609
acpi_handle_debug(handle, "Unknown event type 0x%x\n", type);
drivers/acpi/bus.c
613
adev = acpi_get_acpi_dev(handle);
drivers/acpi/bus.c
620
acpi_evaluate_ost(handle, type, ACPI_OST_SC_NON_SPECIFIC_FAILURE, NULL);
drivers/acpi/bus.c
623
static void acpi_notify_device(acpi_handle handle, u32 event, void *data)
drivers/acpi/bus.c
638
status = acpi_install_notify_handler(device->handle, type,
drivers/acpi/bus.c
652
acpi_remove_notify_handler(device->handle, type,
drivers/acpi/bus.c
664
status = acpi_install_notify_handler(adev->handle, handler_type,
drivers/acpi/bus.c
677
acpi_remove_notify_handler(adev->handle, handler_type, handler);
drivers/acpi/bus.c
707
static void acpi_sb_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/bus.c
77
acpi_status acpi_bus_get_status_handle(acpi_handle handle,
drivers/acpi/bus.c
82
status = acpi_evaluate_integer(handle, "_STA", NULL, sta);
drivers/acpi/button.c
200
status = acpi_evaluate_integer(device->handle, "_LID", NULL, &lid_state);
drivers/acpi/button.c
278
acpi_handle_debug(device->handle, "ACPI LID %s\n",
drivers/acpi/button.c
423
static void acpi_lid_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/button.c
429
acpi_handle_debug(device->handle, "Unsupported event [0x%x]\n",
drivers/acpi/button.c
440
static void acpi_button_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/button.c
453
acpi_handle_debug(device->handle, "Unsupported event [0x%x]\n",
drivers/acpi/button.c
642
status = acpi_install_notify_handler(device->handle,
drivers/acpi/button.c
688
acpi_remove_notify_handler(adev->handle, ACPI_DEVICE_NOTIFY,
drivers/acpi/cppc_acpi.c
397
static int acpi_get_psd(struct cpc_desc *cpc_ptr, acpi_handle handle)
drivers/acpi/cppc_acpi.c
407
status = acpi_evaluate_object_typed(handle, "_PSD", NULL,
drivers/acpi/cppc_acpi.c
690
acpi_handle handle = pr->handle;
drivers/acpi/cppc_acpi.c
705
status = acpi_evaluate_object_typed(handle, "_CPC", NULL, &output,
drivers/acpi/cppc_acpi.c
872
ret = acpi_get_psd(cpc_ptr, handle);
drivers/acpi/device_pm.c
135
acpi_handle_debug(device->handle, "Power state: %s\n",
drivers/acpi/device_pm.c
147
status = acpi_evaluate_object(adev->handle, method, NULL, NULL);
drivers/acpi/device_pm.c
171
acpi_handle_debug(device->handle, "Power state change: %s -> %s\n",
drivers/acpi/device_pm.c
191
acpi_handle_debug(device->handle, "Power state %s not supported\n",
drivers/acpi/device_pm.c
201
acpi_handle_debug(device->handle,
drivers/acpi/device_pm.c
222
acpi_handle_debug(device->handle,
drivers/acpi/device_pm.c
278
acpi_handle_debug(device->handle,
drivers/acpi/device_pm.c
283
acpi_handle_debug(device->handle, "Power state changed to %s\n",
drivers/acpi/device_pm.c
290
acpi_handle_debug(device->handle, "Already in %s\n",
drivers/acpi/device_pm.c
296
int acpi_bus_set_power(acpi_handle handle, int state)
drivers/acpi/device_pm.c
298
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/device_pm.c
454
int acpi_bus_update_power(acpi_handle handle, int *state_p)
drivers/acpi/device_pm.c
456
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/device_pm.c
465
bool acpi_bus_power_manageable(acpi_handle handle)
drivers/acpi/device_pm.c
467
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/device_pm.c
478
acpi_handle_debug(adev->handle, "Power state: %s\n",
drivers/acpi/device_pm.c
512
status = acpi_evaluate_integer(adev->handle, "_S0W", NULL, &state);
drivers/acpi/device_pm.c
529
static void acpi_pm_notify_handler(acpi_handle handle, u32 val, void *not_used)
drivers/acpi/device_pm.c
53
status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc);
drivers/acpi/device_pm.c
536
acpi_handle_debug(handle, "Wake notify\n");
drivers/acpi/device_pm.c
538
adev = acpi_get_acpi_dev(handle);
drivers/acpi/device_pm.c
547
acpi_handle_debug(handle, "Running %pS for %s\n",
drivers/acpi/device_pm.c
583
status = acpi_install_notify_handler(adev->handle, ACPI_SYSTEM_NOTIFY,
drivers/acpi/device_pm.c
613
status = acpi_remove_notify_handler(adev->handle,
drivers/acpi/device_pm.c
631
bool acpi_bus_can_wakeup(acpi_handle handle)
drivers/acpi/device_pm.c
633
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/device_pm.c
671
acpi_handle handle = adev->handle;
drivers/acpi/device_pm.c
698
status = acpi_evaluate_integer(handle, method, NULL, &ret);
drivers/acpi/device_pm.c
749
status = acpi_evaluate_integer(handle, method, NULL, &ret);
drivers/acpi/device_pm.c
885
acpi_handle_debug(adev->handle, "GPE%2X enabled for wakeup\n",
drivers/acpi/device_pm.c
892
acpi_handle_info(adev->handle, "Wakeup enable count out of bounds!\n");
drivers/acpi/device_sysfs.c
104
else if (dn->handle)
drivers/acpi/device_sysfs.c
105
acpi_handle_err(dn->handle, "Failed to expose (%d)\n", ret);
drivers/acpi/device_sysfs.c
202
status = acpi_get_name(acpi_dev->handle, ACPI_SINGLE_NAME, &buf);
drivers/acpi/device_sysfs.c
21
static ssize_t acpi_object_path(acpi_handle handle, char *buf)
drivers/acpi/device_sysfs.c
26
result = acpi_get_name(handle, ACPI_FULL_PATHNAME, &path);
drivers/acpi/device_sysfs.c
380
status = acpi_get_type(acpi_device->handle, &not_used);
drivers/acpi/device_sysfs.c
390
acpi_evaluate_ost(acpi_device->handle, ACPI_OST_EC_OSPM_EJECT,
drivers/acpi/device_sysfs.c
413
acpi_get_object_info(acpi_dev->handle, &info);
drivers/acpi/device_sysfs.c
459
return acpi_object_path(acpi_dev->handle, buf);
drivers/acpi/device_sysfs.c
47
return dn->handle ? acpi_object_path(dn->handle, buf) : 0;
drivers/acpi/device_sysfs.c
474
status = acpi_evaluate_object_typed(acpi_dev->handle, "_STR",
drivers/acpi/device_sysfs.c
508
status = acpi_evaluate_integer(acpi_dev->handle, "_SUN", NULL, &sun);
drivers/acpi/device_sysfs.c
524
status = acpi_evaluate_integer(acpi_dev->handle, "_HRV", NULL, &hrv);
drivers/acpi/device_sysfs.c
539
status = acpi_evaluate_integer(acpi_dev->handle, "_STA", NULL, &sta);
drivers/acpi/device_sysfs.c
570
return dev->handle;
drivers/acpi/device_sysfs.c
576
return acpi_has_method(dev->handle, "_STR");
drivers/acpi/device_sysfs.c
585
return acpi_has_method(dev->handle, "_SUN");
drivers/acpi/device_sysfs.c
588
return acpi_has_method(dev->handle, "_HRV");
drivers/acpi/device_sysfs.c
591
return acpi_has_method(dev->handle, "_STA");
drivers/acpi/device_sysfs.c
594
return acpi_has_method(dev->handle, "_CID");
drivers/acpi/device_sysfs.c
601
return acpi_has_method(dev->handle, "_EJ0");
drivers/acpi/dock.c
116
static struct dock_station *find_dock_station(acpi_handle handle)
drivers/acpi/dock.c
121
if (ds->handle == handle)
drivers/acpi/dock.c
175
if (acpi_dock_match(adev->handle))
drivers/acpi/dock.c
199
status = acpi_evaluate_integer(ds->handle, "_STA", NULL, &sta);
drivers/acpi/dock.c
259
int ret = acpi_bus_scan(adev->handle);
drivers/acpi/dock.c
307
acpi_handle_info(ds->handle, "%s\n", dock ? "docking" : "undocking");
drivers/acpi/dock.c
31
acpi_handle handle;
drivers/acpi/dock.c
314
status = acpi_evaluate_integer(ds->handle, "_DCK", &arg_list, &value);
drivers/acpi/dock.c
316
acpi_handle_err(ds->handle, "Failed to execute _DCK (0x%x)\n",
drivers/acpi/dock.c
391
acpi_evaluate_lck(ds->handle, 0);
drivers/acpi/dock.c
392
acpi_evaluate_ej0(ds->handle);
drivers/acpi/dock.c
394
acpi_handle_err(ds->handle, "Unable to undock!\n");
drivers/acpi/dock.c
412
acpi_handle handle = adev->handle;
drivers/acpi/dock.c
413
struct dock_station *ds = find_dock_station(handle);
drivers/acpi/dock.c
443
acpi_handle_err(handle, "Unable to dock!\n");
drivers/acpi/dock.c
450
acpi_evaluate_lck(ds->handle, 1);
drivers/acpi/dock.c
480
struct acpi_device *adev = acpi_fetch_acpi_dev(dock_station->handle);
drivers/acpi/dock.c
528
acpi_status status = acpi_evaluate_integer(dock_station->handle,
drivers/acpi/dock.c
579
acpi_handle handle = adev->handle;
drivers/acpi/dock.c
595
dock_station->handle = handle;
drivers/acpi/dock.c
605
if (acpi_dock_match(handle))
drivers/acpi/dock.c
607
if (acpi_ata_match(handle))
drivers/acpi/dock.c
633
acpi_handle_err(handle, "%s encountered error %d\n", __func__, ret);
drivers/acpi/dptf/dptf_pch_fivr.c
130
status = acpi_evaluate_integer(acpi_dev->handle, "PTYP", NULL, &ptype);
drivers/acpi/dptf/dptf_pch_fivr.c
17
static int pch_fivr_read(acpi_handle handle, char *method, struct pch_fivr_resp *fivr_resp)
drivers/acpi/dptf/dptf_pch_fivr.c
26
status = acpi_evaluate_object(handle, method, NULL, &buffer);
drivers/acpi/dptf/dptf_pch_fivr.c
65
status = pch_fivr_read(acpi_dev->handle, #method, &fivr_resp);\
drivers/acpi/dptf/dptf_pch_fivr.c
84
status = acpi_execute_simple_method(acpi_dev->handle, #method, val);\
drivers/acpi/dptf/dptf_power.c
121
static long long dptf_participant_type(acpi_handle handle)
drivers/acpi/dptf/dptf_power.c
126
status = acpi_evaluate_integer(handle, "PTYP", NULL, &ptype);
drivers/acpi/dptf/dptf_power.c
133
static void dptf_power_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/dptf/dptf_power.c
166
if (dptf_participant_type(handle) == 0x0CULL)
drivers/acpi/dptf/dptf_power.c
183
ptype = dptf_participant_type(acpi_dev->handle);
drivers/acpi/dptf/dptf_power.c
191
result = acpi_install_notify_handler(acpi_dev->handle,
drivers/acpi/dptf/dptf_power.c
201
acpi_remove_notify_handler(acpi_dev->handle,
drivers/acpi/dptf/dptf_power.c
216
acpi_remove_notify_handler(acpi_dev->handle,
drivers/acpi/dptf/dptf_power.c
220
if (dptf_participant_type(acpi_dev->handle) == 0x0CULL)
drivers/acpi/dptf/dptf_power.c
34
status = acpi_evaluate_integer(acpi_dev->handle, #object,\
drivers/acpi/dptf/dptf_power.c
75
status = acpi_execute_simple_method(acpi_dev->handle, "PBOK", seq_no);
drivers/acpi/ec.c
1095
acpi_handle handle, acpi_ec_query_func func,
drivers/acpi/ec.c
1100
if (!handle && !func)
drivers/acpi/ec.c
1108
handler->handle = handle;
drivers/acpi/ec.c
1162
else if (handler->handle)
drivers/acpi/ec.c
1163
acpi_evaluate_object(handler->handle, NULL, NULL, NULL);
drivers/acpi/ec.c
1443
acpi_ec_register_query_methods(acpi_handle handle, u32 level,
drivers/acpi/ec.c
1452
status = acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer);
drivers/acpi/ec.c
1455
acpi_ec_add_query_handler(ec, value, handle, NULL, NULL);
drivers/acpi/ec.c
1460
ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval)
drivers/acpi/ec.c
1469
status = acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/acpi/ec.c
1478
status = acpi_evaluate_integer(handle, "_GPE", NULL, &tmp);
drivers/acpi/ec.c
1488
acpi_evaluate_integer(handle, "_GLK", NULL, &tmp);
drivers/acpi/ec.c
149
acpi_handle handle;
drivers/acpi/ec.c
1490
ec->handle = handle;
drivers/acpi/ec.c
1541
acpi_handle scope_handle = ec == first_ec ? ACPI_ROOT_OBJECT : ec->handle;
drivers/acpi/ec.c
1556
acpi_execute_reg_methods(ec->handle, ACPI_UINT32_MAX, ACPI_ADR_SPACE_EC);
drivers/acpi/ec.c
1578
acpi_walk_namespace(ACPI_TYPE_METHOD, ec->handle, 1,
drivers/acpi/ec.c
1608
acpi_handle scope_handle = ec == first_ec ? ACPI_ROOT_OBJECT : ec->handle;
drivers/acpi/ec.c
1689
if (boot_ec && (boot_ec->handle == device->handle ||
drivers/acpi/ec.c
1700
status = ec_parse_device(device->handle, 0, ec, NULL);
drivers/acpi/ec.c
1714
boot_ec->handle = ec->handle;
drivers/acpi/ec.c
1719
acpi_handle_debug(ec->handle, "duplicated.\n");
drivers/acpi/ec.c
1730
acpi_handle_info(boot_ec->handle,
drivers/acpi/ec.c
1734
acpi_handle_info(ec->handle,
drivers/acpi/ec.c
1747
acpi_handle_debug(ec->handle, "enumerated.\n");
drivers/acpi/ec.c
1771
if (first_ec && first_ec->handle != adev->handle)
drivers/acpi/ec.c
1772
acpi_execute_reg_methods(adev->handle, 1, ACPI_ADR_SPACE_EC);
drivers/acpi/ec.c
1833
if (ACPI_FAILURE(status) || !ec->handle) {
drivers/acpi/ec.c
1853
acpi_handle_info(ec->handle,
drivers/acpi/ec.c
1873
acpi_handle handle;
drivers/acpi/ec.c
1877
if (!boot_ec || boot_ec->handle != ACPI_ROOT_OBJECT)
drivers/acpi/ec.c
1886
status = acpi_get_handle(NULL, ecdt_ptr->id, &handle);
drivers/acpi/ec.c
1888
boot_ec->handle = handle;
drivers/acpi/ec.c
2073
ec->handle = ACPI_ROOT_OBJECT;
drivers/acpi/ec.c
960
return first_ec->handle;
drivers/acpi/evged.c
107
if (ACPI_SUCCESS(acpi_get_handle(handle, ev_name, &evt_handle)))
drivers/acpi/evged.c
111
if (ACPI_SUCCESS(acpi_get_handle(handle, "_EVT", &evt_handle)))
drivers/acpi/evged.c
125
event->handle = evt_handle;
drivers/acpi/evged.c
53
acpi_handle handle;
drivers/acpi/evged.c
61
acpi_ret = acpi_execute_simple_method(event->handle, NULL, event->gsi);
drivers/acpi/evged.c
77
acpi_handle handle = ACPI_HANDLE(dev);
drivers/acpi/fan.h
102
int acpi_fan_get_fst(acpi_handle handle, struct acpi_fan_fst *fst);
drivers/acpi/fan.h
54
acpi_handle handle;
drivers/acpi/fan_attr.c
58
status = acpi_fan_get_fst(acpi_dev->handle, &fst);
drivers/acpi/fan_core.c
114
status = acpi_fan_get_fst(device->handle, &fst);
drivers/acpi/fan_core.c
204
status = acpi_execute_simple_method(device->handle, "_FSL", value);
drivers/acpi/fan_core.c
246
status = acpi_evaluate_object(device->handle, "_FIF", NULL, &buffer);
drivers/acpi/fan_core.c
295
status = acpi_evaluate_object(device->handle, "_FPS", NULL, &buffer);
drivers/acpi/fan_core.c
349
if (!acpi_check_dsm(fan->handle, &acpi_fan_microsoft_guid, 0,
drivers/acpi/fan_core.c
356
obj = acpi_evaluate_dsm_typed(fan->handle, &acpi_fan_microsoft_guid, 0,
drivers/acpi/fan_core.c
398
obj = acpi_evaluate_dsm(fan->handle, &acpi_fan_microsoft_guid, 0,
drivers/acpi/fan_core.c
462
static void acpi_fan_notify_handler(acpi_handle handle, u32 event, void *context)
drivers/acpi/fan_core.c
474
ret = acpi_fan_get_fst(handle, &fst);
drivers/acpi/fan_core.c
496
acpi_remove_notify_handler(fan->handle, ACPI_DEVICE_NOTIFY, acpi_fan_notify_handler);
drivers/acpi/fan_core.c
504
status = acpi_install_notify_handler(fan->handle, ACPI_DEVICE_NOTIFY,
drivers/acpi/fan_core.c
529
fan->handle = device->handle;
drivers/acpi/fan_core.c
533
if (acpi_has_method(device->handle, "_FST")) {
drivers/acpi/fan_core.c
535
fan->acpi4 = acpi_has_method(device->handle, "_FIF") &&
drivers/acpi/fan_core.c
536
acpi_has_method(device->handle, "_FPS") &&
drivers/acpi/fan_core.c
537
acpi_has_method(device->handle, "_FSL");
drivers/acpi/fan_core.c
72
int acpi_fan_get_fst(acpi_handle handle, struct acpi_fan_fst *fst)
drivers/acpi/fan_core.c
79
status = acpi_evaluate_object(handle, "_FST", NULL, &buffer);
drivers/acpi/fan_hwmon.c
97
ret = acpi_fan_get_fst(fan->handle, &fst);
drivers/acpi/glue.c
99
status = acpi_evaluate_integer(adev->handle, "_STA", NULL, &sta);
drivers/acpi/hed.c
46
static void acpi_hed_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/hed.c
59
hed_handle = device->handle;
drivers/acpi/internal.h
116
void acpi_init_device_object(struct acpi_device *device, acpi_handle handle,
drivers/acpi/internal.h
146
struct acpi_device *acpi_add_power_resource(acpi_handle handle);
drivers/acpi/internal.h
173
bool processor_physically_present(acpi_handle handle);
drivers/acpi/internal.h
195
acpi_handle handle;
drivers/acpi/internal.h
232
acpi_handle handle, acpi_ec_query_func func,
drivers/acpi/internal.h
250
acpi_handle handle, acpi_ec_query_func func,
drivers/acpi/internal.h
334
void acpi_mipi_check_crs_csi2(acpi_handle handle);
drivers/acpi/internal.h
339
bool acpi_graph_ignore_port(acpi_handle handle);
drivers/acpi/internal.h
341
static inline bool acpi_graph_ignore_port(acpi_handle handle) { return false; }
drivers/acpi/ioapic.c
107
if (!acpi_is_ioapic(handle, &type))
drivers/acpi/ioapic.c
112
if (ioapic->handle == handle) {
drivers/acpi/ioapic.c
117
status = acpi_evaluate_integer(handle, "_GSB", NULL, &gsi_base);
drivers/acpi/ioapic.c
119
acpi_handle_warn(handle, "failed to evaluate _GSB method\n");
drivers/acpi/ioapic.c
129
ioapic->handle = handle;
drivers/acpi/ioapic.c
134
if (acpi_ioapic_registered(handle, (u32)gsi_base))
drivers/acpi/ioapic.c
137
dev = acpi_get_pci_dev(handle);
drivers/acpi/ioapic.c
152
acpi_walk_resources(handle, METHOD_NAME__CRS, setup_res, crs_res);
drivers/acpi/ioapic.c
156
acpi_handle_warn(handle, "failed to get resource\n");
drivers/acpi/ioapic.c
159
acpi_handle_warn(handle, "failed to insert resource\n");
drivers/acpi/ioapic.c
168
if (acpi_register_ioapic(handle, res->start, (u32)gsi_base)) {
drivers/acpi/ioapic.c
169
acpi_handle_warn(handle, "failed to register IOAPIC\n");
drivers/acpi/ioapic.c
180
acpi_handle_info(handle, "%s at %pR, GSI %u\n",
drivers/acpi/ioapic.c
219
if (root->device->handle != ioapic->root_handle)
drivers/acpi/ioapic.c
237
if (root->device->handle != ioapic->root_handle)
drivers/acpi/ioapic.c
239
if (acpi_unregister_ioapic(ioapic->handle, ioapic->gsi_base))
drivers/acpi/ioapic.c
31
acpi_handle handle;
drivers/acpi/ioapic.c
68
static bool acpi_is_ioapic(acpi_handle handle, char **type)
drivers/acpi/ioapic.c
75
if (!acpi_has_method(handle, "_GSB"))
drivers/acpi/ioapic.c
78
status = acpi_get_object_info(handle, &info);
drivers/acpi/ioapic.c
97
static acpi_status handle_ioapic_add(acpi_handle handle, u32 lvl,
drivers/acpi/irq.c
117
acpi_handle handle;
drivers/acpi/irq.c
123
status = acpi_get_handle(NULL, source->string_ptr, &handle);
drivers/acpi/irq.c
127
device = acpi_get_acpi_dev(handle);
drivers/acpi/irq.c
252
static int acpi_irq_parse_one(acpi_handle handle, unsigned int index,
drivers/acpi/irq.c
257
acpi_walk_resources(handle, METHOD_NAME__CRS, acpi_irq_parse_one_cb, &ctx);
drivers/acpi/irq.c
276
int acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res)
drivers/acpi/irq.c
283
rc = acpi_irq_parse_one(handle, index, &fwspec, &flags);
drivers/acpi/irq.c
303
const struct cpumask *acpi_irq_get_affinity(acpi_handle handle,
drivers/acpi/irq.c
310
if (acpi_irq_parse_one(handle, index, &fwspec, &flags))
drivers/acpi/mipi-disco-img.c
108
static struct crs_csi2 *acpi_mipi_add_crs_csi2(acpi_handle handle,
drivers/acpi/mipi-disco-img.c
117
csi2->handle = handle;
drivers/acpi/mipi-disco-img.c
121
if (ACPI_FAILURE(acpi_attach_data(handle, acpi_mipi_data_tag, csi2))) {
drivers/acpi/mipi-disco-img.c
131
static struct crs_csi2 *acpi_mipi_get_crs_csi2(acpi_handle handle)
drivers/acpi/mipi-disco-img.c
135
if (ACPI_FAILURE(acpi_get_data_full(handle, acpi_mipi_data_tag,
drivers/acpi/mipi-disco-img.c
155
acpi_detach_data(csi2->handle, acpi_mipi_data_tag);
drivers/acpi/mipi-disco-img.c
168
void acpi_mipi_check_crs_csi2(acpi_handle handle)
drivers/acpi/mipi-disco-img.c
171
.handle = handle,
drivers/acpi/mipi-disco-img.c
180
acpi_walk_resources(handle, METHOD_NAME__CRS, parse_csi2_resource, &crwd);
drivers/acpi/mipi-disco-img.c
188
csi2 = acpi_mipi_add_crs_csi2(handle, &acpi_mipi_crs_csi2_list);
drivers/acpi/mipi-disco-img.c
219
acpi_handle_info(csi2->handle,
drivers/acpi/mipi-disco-img.c
37
static void acpi_mipi_data_tag(acpi_handle handle, void *context)
drivers/acpi/mipi-disco-img.c
371
acpi_handle local_handle = csi2->handle;
drivers/acpi/mipi-disco-img.c
451
acpi_handle handle = acpi_device_handle(adev);
drivers/acpi/mipi-disco-img.c
461
acpi_handle_info(handle, "Too many link frequencies: %u\n",
drivers/acpi/mipi-disco-img.c
471
acpi_handle_info(handle, "Unable to get link frequencies (%d)\n",
drivers/acpi/mipi-disco-img.c
489
acpi_handle handle = acpi_device_handle(adev);
drivers/acpi/mipi-disco-img.c
511
acpi_handle_info(handle, "Too many data lanes: %u\n",
drivers/acpi/mipi-disco-img.c
52
acpi_handle handle;
drivers/acpi/mipi-disco-img.c
534
acpi_handle_debug(handle, "Lane polarity bytes missing\n");
drivers/acpi/mipi-disco-img.c
536
acpi_handle_info(handle, "Too few lane polarity bits (%zu vs. %d)\n",
drivers/acpi/mipi-disco-img.c
552
acpi_handle_info(handle, "Too many lane polarities: %d\n",
drivers/acpi/mipi-disco-img.c
59
acpi_handle handle;
drivers/acpi/mipi-disco-img.c
597
acpi_handle handle = csi2->handle;
drivers/acpi/mipi-disco-img.c
613
adev = acpi_fetch_acpi_dev(handle);
drivers/acpi/mipi-disco-img.c
626
if (acpi_get_physical_device_location(handle, &pld)) {
drivers/acpi/mipi-disco-img.c
650
status = acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer);
drivers/acpi/mipi-disco-img.c
652
acpi_handle_info(handle, "Unable to get the path name\n");
drivers/acpi/mipi-disco-img.c
672
acpi_handle_info(handle,
drivers/acpi/mipi-disco-img.c
685
acpi_handle_info(handle,
drivers/acpi/mipi-disco-img.c
762
bool acpi_graph_ignore_port(acpi_handle handle)
drivers/acpi/mipi-disco-img.c
779
orig_path = acpi_handle_path(handle);
drivers/acpi/mipi-disco-img.c
794
acpi_handle_debug(handle, "ignoring data node\n");
drivers/acpi/mipi-disco-img.c
83
acpi_handle_debug(crwd->handle,
drivers/acpi/mipi-disco-img.c
89
acpi_handle_debug(crwd->handle,
drivers/acpi/nfit/core.c
1400
static DEVICE_ATTR_RO(handle);
drivers/acpi/nfit/core.c
1488
u32 handle;
drivers/acpi/nfit/core.c
1498
handle = to_nfit_memdev(dev)->device_handle;
drivers/acpi/nfit/core.c
1506
if (memdev->device_handle != handle)
drivers/acpi/nfit/core.c
1708
static void acpi_nvdimm_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/nfit/core.c
1720
acpi_handle handle;
drivers/acpi/nfit/core.c
1723
status = acpi_get_handle(adev->handle, method, &handle);
drivers/acpi/nfit/core.c
1747
acpi_handle handle = adev->handle;
drivers/acpi/nfit/core.c
1753
out_obj = acpi_evaluate_dsm_typed(handle, guid, revid, func, &in_obj, ACPI_TYPE_BUFFER);
drivers/acpi/nfit/core.c
1828
if (ACPI_FAILURE(acpi_install_notify_handler(adev_dimm->handle,
drivers/acpi/nfit/core.c
1855
if (acpi_check_dsm(adev_dimm->handle, to_nfit_uuid(i), 1, 1)) {
drivers/acpi/nfit/core.c
1895
if (acpi_check_dsm(adev_dimm->handle, guid,
drivers/acpi/nfit/core.c
1959
acpi_remove_notify_handler(adev_dimm->handle,
drivers/acpi/nfit/core.c
2151
if (acpi_check_dsm(adev->handle, guid, 1, 1ULL << i))
drivers/acpi/nfit/core.c
2164
if (acpi_check_dsm(adev->handle, guid, 1, 1ULL << i))
drivers/acpi/nfit/core.c
2172
if (acpi_check_dsm(adev->handle, guid, 1, 1ULL << i))
drivers/acpi/nfit/core.c
317
static union acpi_object *acpi_label_write(acpi_handle handle, u32 offset,
drivers/acpi/nfit/core.c
3292
static void acpi_nfit_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/nfit/core.c
3297
__acpi_nfit_notify(dev, handle, event);
drivers/acpi/nfit/core.c
3387
status = acpi_evaluate_object(adev->handle, "_FIT", NULL, &buf);
drivers/acpi/nfit/core.c
341
rc = acpi_evaluate_object(handle, "_LSW", &input, &buf);
drivers/acpi/nfit/core.c
3410
static void acpi_nfit_update_notify(struct device *dev, acpi_handle handle)
drivers/acpi/nfit/core.c
3438
status = acpi_evaluate_object(handle, "_FIT", NULL, &buf);
drivers/acpi/nfit/core.c
3455
static void acpi_nfit_uc_error_notify(struct device *dev, acpi_handle handle)
drivers/acpi/nfit/core.c
3465
void __acpi_nfit_notify(struct device *dev, acpi_handle handle, u32 event)
drivers/acpi/nfit/core.c
347
static union acpi_object *acpi_label_read(acpi_handle handle, u32 offset,
drivers/acpi/nfit/core.c
3471
return acpi_nfit_update_notify(dev, handle);
drivers/acpi/nfit/core.c
3473
return acpi_nfit_uc_error_notify(dev, handle);
drivers/acpi/nfit/core.c
366
rc = acpi_evaluate_object(handle, "_LSR", &input, &buf);
drivers/acpi/nfit/core.c
372
static union acpi_object *acpi_label_info(acpi_handle handle)
drivers/acpi/nfit/core.c
377
rc = acpi_evaluate_object(handle, "_LSI", NULL, &buf);
drivers/acpi/nfit/core.c
457
acpi_handle handle;
drivers/acpi/nfit/core.c
488
handle = adev->handle;
drivers/acpi/nfit/core.c
508
handle = adev->handle;
drivers/acpi/nfit/core.c
553
out_obj = acpi_label_info(handle);
drivers/acpi/nfit/core.c
558
out_obj = acpi_label_read(handle, p->in_offset, p->in_length);
drivers/acpi/nfit/core.c
563
out_obj = acpi_label_write(handle, p->in_offset, p->in_length,
drivers/acpi/nfit/core.c
572
out_obj = acpi_evaluate_dsm(handle, guid, revid, func, &in_obj);
drivers/acpi/nfit/nfit.h
343
void __acpi_nfit_notify(struct device *dev, acpi_handle handle, u32 event);
drivers/acpi/numa/hmat.c
258
static __init void alloc_genport_target(unsigned int mem_pxm, u8 *handle)
drivers/acpi/numa/hmat.c
266
memcpy(target->gen_port_device_handle, handle,
drivers/acpi/numa/srat.c
679
acpi_handle handle;
drivers/acpi/numa/srat.c
683
handle = phandle;
drivers/acpi/numa/srat.c
684
status = acpi_evaluate_integer(handle, "_PXM", NULL, &pxm);
drivers/acpi/numa/srat.c
687
status = acpi_get_parent(handle, &phandle);
drivers/acpi/numa/srat.c
692
int acpi_get_node(acpi_handle handle)
drivers/acpi/numa/srat.c
696
pxm = acpi_get_pxm(handle);
drivers/acpi/osl.c
1196
acpi_handle_debug(adev->handle,
drivers/acpi/osl.c
1226
acpi_os_create_semaphore(u32 max_units, u32 initial_units, acpi_handle *handle)
drivers/acpi/osl.c
1236
*handle = (acpi_handle *) sem;
drivers/acpi/osl.c
1239
*handle, initial_units));
drivers/acpi/osl.c
1251
acpi_status acpi_os_delete_semaphore(acpi_handle handle)
drivers/acpi/osl.c
1253
struct semaphore *sem = (struct semaphore *)handle;
drivers/acpi/osl.c
1258
ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Deleting semaphore[%p].\n", handle));
drivers/acpi/osl.c
1270
acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout)
drivers/acpi/osl.c
1273
struct semaphore *sem = (struct semaphore *)handle;
drivers/acpi/osl.c
1287
handle, units, timeout));
drivers/acpi/osl.c
1301
handle, units, timeout,
drivers/acpi/osl.c
1305
"Acquired semaphore[%p|%d|%d]", handle,
drivers/acpi/osl.c
1315
acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units)
drivers/acpi/osl.c
1317
struct semaphore *sem = (struct semaphore *)handle;
drivers/acpi/osl.c
1328
ACPI_DEBUG_PRINT((ACPI_DB_MUTEX, "Signaling semaphore[%p|%d]\n", handle,
drivers/acpi/osl.c
1536
void acpi_os_delete_lock(acpi_spinlock handle)
drivers/acpi/osl.c
1538
ACPI_FREE(handle);
drivers/acpi/pci_irq.c
137
static int acpi_pci_irq_check_entry(acpi_handle handle, struct pci_dev *dev,
drivers/acpi/pci_irq.c
182
acpi_get_handle(handle, prt->source, &entry->link);
drivers/acpi/pci_irq.c
206
acpi_handle handle = NULL;
drivers/acpi/pci_irq.c
209
handle = ACPI_HANDLE(dev->bus->bridge);
drivers/acpi/pci_irq.c
211
if (!handle)
drivers/acpi/pci_irq.c
215
status = acpi_get_irq_routing_table(handle, &buffer);
drivers/acpi/pci_irq.c
223
if (!acpi_pci_irq_check_entry(handle, dev, pin,
drivers/acpi/pci_link.c
107
acpi_handle_debug(handle,
drivers/acpi/pci_link.c
125
acpi_handle_debug(handle,
drivers/acpi/pci_link.c
133
acpi_handle_debug(handle,
drivers/acpi/pci_link.c
147
acpi_handle_debug(handle, "_PRS resource type 0x%x is not IRQ\n",
drivers/acpi/pci_link.c
157
acpi_handle handle = link->device->handle;
drivers/acpi/pci_link.c
160
status = acpi_walk_resources(handle, METHOD_NAME__PRS,
drivers/acpi/pci_link.c
163
acpi_handle_debug(handle, "_PRS not present or invalid");
drivers/acpi/pci_link.c
167
acpi_handle_debug(handle, "Found %d possible IRQs\n",
drivers/acpi/pci_link.c
230
acpi_handle handle = link->device->handle;
drivers/acpi/pci_link.c
242
acpi_handle_err(handle, "Unable to read status\n");
drivers/acpi/pci_link.c
247
acpi_handle_debug(handle, "Link disabled\n");
drivers/acpi/pci_link.c
256
status = acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/acpi/pci_link.c
259
acpi_evaluation_failure_warn(handle, "_CRS", status);
drivers/acpi/pci_link.c
265
acpi_handle_err(handle, "_CRS returned 0\n");
drivers/acpi/pci_link.c
271
acpi_handle_debug(handle, "Link at IRQ %d\n", link->irq.active);
drivers/acpi/pci_link.c
284
acpi_handle handle = link->device->handle;
drivers/acpi/pci_link.c
333
acpi_handle_err(handle, "Invalid resource type %d\n",
drivers/acpi/pci_link.c
343
status = acpi_set_current_resources(link->device->handle, &buffer);
drivers/acpi/pci_link.c
347
acpi_evaluation_failure_warn(handle, "_SRS", status);
drivers/acpi/pci_link.c
355
acpi_handle_err(handle, "Unable to read status\n");
drivers/acpi/pci_link.c
359
acpi_handle_warn(handle, "Disabled and referenced, BIOS bug\n");
drivers/acpi/pci_link.c
376
acpi_handle_warn(handle, "BIOS reported IRQ %d, using IRQ %d\n",
drivers/acpi/pci_link.c
381
acpi_handle_debug(handle, "Set IRQ %d\n", link->irq.active);
drivers/acpi/pci_link.c
530
acpi_handle handle = link->device->handle;
drivers/acpi/pci_link.c
553
acpi_handle_warn(handle, "_CRS %d not found in _PRS\n",
drivers/acpi/pci_link.c
578
acpi_handle_err(handle,
drivers/acpi/pci_link.c
585
acpi_handle_err(handle,
drivers/acpi/pci_link.c
593
acpi_handle_info(handle, "Enabled at IRQ %d\n",
drivers/acpi/pci_link.c
615
int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering,
drivers/acpi/pci_link.c
618
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/pci_link.c
622
acpi_handle_err(handle, "Invalid link device\n");
drivers/acpi/pci_link.c
628
acpi_handle_err(handle, "Invalid link context\n");
drivers/acpi/pci_link.c
634
acpi_handle_err(handle, "Invalid index %d\n", index);
drivers/acpi/pci_link.c
646
acpi_handle_err(handle, "Link active IRQ is 0!\n");
drivers/acpi/pci_link.c
658
acpi_handle_debug(handle, "Link is referenced\n");
drivers/acpi/pci_link.c
668
int acpi_pci_link_free_irq(acpi_handle handle)
drivers/acpi/pci_link.c
670
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/pci_link.c
674
acpi_handle_err(handle, "Invalid link device\n");
drivers/acpi/pci_link.c
680
acpi_handle_err(handle, "Invalid link context\n");
drivers/acpi/pci_link.c
687
acpi_handle_err(handle, "Link isn't initialized\n");
drivers/acpi/pci_link.c
702
acpi_handle_debug(handle, "Link is dereferenced\n");
drivers/acpi/pci_link.c
705
acpi_evaluate_object(link->device->handle, "_DIS", NULL, NULL);
drivers/acpi/pci_link.c
718
acpi_handle handle = device->handle;
drivers/acpi/pci_link.c
745
acpi_handle_debug(handle, "Possible IRQ %d\n",
drivers/acpi/pci_link.c
756
acpi_evaluate_object(handle, "_DIS", NULL, NULL);
drivers/acpi/pci_link.c
88
acpi_handle handle = link->device->handle;
drivers/acpi/pci_link.c
99
acpi_handle_debug(handle,
drivers/acpi/pci_root.c
1003
int node = acpi_get_node(device->handle);
drivers/acpi/pci_root.c
102
static acpi_status try_get_root_bridge_busnr(acpi_handle handle,
drivers/acpi/pci_root.c
109
acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/acpi/pci_root.c
233
status = acpi_run_osc(root->device->handle, &context);
drivers/acpi/pci_root.c
282
struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle)
drivers/acpi/pci_root.c
284
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/pci_root.c
308
struct pci_dev *acpi_get_pci_dev(acpi_handle handle)
drivers/acpi/pci_root.c
310
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/acpi/pci_root.c
350
static acpi_status acpi_pci_osc_control_set(acpi_handle handle, u32 *mask,
drivers/acpi/pci_root.c
362
root = acpi_pci_find_root(handle);
drivers/acpi/pci_root.c
565
acpi_handle handle = device->handle;
drivers/acpi/pci_root.c
592
status = acpi_pci_osc_control_set(handle, &control, support,
drivers/acpi/pci_root.c
646
acpi_handle handle = device->handle;
drivers/acpi/pci_root.c
656
status = acpi_evaluate_integer(handle, METHOD_NAME__SEG, NULL,
drivers/acpi/pci_root.c
66
int acpi_is_root_bridge(acpi_handle handle)
drivers/acpi/pci_root.c
666
status = try_get_root_bridge_busnr(handle, &root->secondary);
drivers/acpi/pci_root.c
677
status = acpi_evaluate_integer(handle, METHOD_NAME__BBN,
drivers/acpi/pci_root.c
68
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/pci_root.c
696
if (hotadd && dmar_device_add(handle)) {
drivers/acpi/pci_root.c
705
root->mcfg_addr = acpi_pci_root_get_mcfg_addr(handle);
drivers/acpi/pci_root.c
757
acpi_ioapic_add(root->device->handle);
drivers/acpi/pci_root.c
767
dmar_device_remove(handle);
drivers/acpi/pci_root.c
788
dmar_device_remove(device->handle);
drivers/acpi/pci_slot.c
132
acpi_handle handle = ACPI_HANDLE(bus->bridge);
drivers/acpi/pci_slot.c
134
if (handle) {
drivers/acpi/pci_slot.c
136
acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
drivers/acpi/pci_slot.c
42
check_slot(acpi_handle handle, unsigned long long *sun)
drivers/acpi/pci_slot.c
50
acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer);
drivers/acpi/pci_slot.c
55
status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
drivers/acpi/pci_slot.c
60
if (acpi_get_local_u64_address(handle, &adr)) {
drivers/acpi/pci_slot.c
67
status = acpi_evaluate_integer(handle, "_SUN", NULL, sun);
drivers/acpi/pci_slot.c
84
register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
drivers/acpi/pci_slot.c
93
device = check_slot(handle, &sun);
drivers/acpi/pfr_telemetry.c
154
acpi_handle handle = ACPI_HANDLE(pfrt_log_dev->parent_dev);
drivers/acpi/pfr_telemetry.c
167
out_obj = acpi_evaluate_dsm_typed(handle, &pfrt_log_guid,
drivers/acpi/pfr_telemetry.c
190
acpi_handle handle = ACPI_HANDLE(pfrt_log_dev->parent_dev);
drivers/acpi/pfr_telemetry.c
195
out_obj = acpi_evaluate_dsm_typed(handle, &pfrt_log_guid,
drivers/acpi/pfr_telemetry.c
363
acpi_handle handle = ACPI_HANDLE(&pdev->dev);
drivers/acpi/pfr_telemetry.c
367
if (!acpi_has_method(handle, "_DSM")) {
drivers/acpi/pfr_telemetry.c
82
acpi_handle handle = ACPI_HANDLE(pfrt_log_dev->parent_dev);
drivers/acpi/pfr_telemetry.c
95
out_obj = acpi_evaluate_dsm_typed(handle, &pfrt_log_guid,
drivers/acpi/pfr_update.c
122
acpi_handle handle = ACPI_HANDLE(pfru_dev->parent_dev);
drivers/acpi/pfr_update.c
126
out_obj = acpi_evaluate_dsm_typed(handle, &pfru_guid,
drivers/acpi/pfr_update.c
196
acpi_handle handle = ACPI_HANDLE(pfru_dev->parent_dev);
drivers/acpi/pfr_update.c
200
out_obj = acpi_evaluate_dsm_typed(handle, &pfru_guid,
drivers/acpi/pfr_update.c
353
acpi_handle handle;
drivers/acpi/pfr_update.c
364
handle = ACPI_HANDLE(pfru_dev->parent_dev);
drivers/acpi/pfr_update.c
365
out_obj = acpi_evaluate_dsm_typed(handle, &pfru_guid,
drivers/acpi/pfr_update.c
541
acpi_handle handle = ACPI_HANDLE(&pdev->dev);
drivers/acpi/pfr_update.c
545
if (!acpi_has_method(handle, "_DSM")) {
drivers/acpi/pmic/intel_pmic.c
256
int intel_pmic_install_opregion_handler(struct device *dev, acpi_handle handle,
drivers/acpi/pmic/intel_pmic.c
267
if (!handle)
drivers/acpi/pmic/intel_pmic.c
276
opregion->lpat_table = acpi_lpat_get_conversion_table(handle);
drivers/acpi/pmic/intel_pmic.c
279
status = acpi_install_address_space_handler(handle,
drivers/acpi/pmic/intel_pmic.c
289
status = acpi_install_address_space_handler(handle,
drivers/acpi/pmic/intel_pmic.c
298
status = acpi_install_address_space_handler(handle,
drivers/acpi/pmic/intel_pmic.c
312
acpi_remove_address_space_handler(handle,
drivers/acpi/pmic/intel_pmic.c
318
acpi_remove_address_space_handler(handle,
drivers/acpi/pmic/intel_pmic.h
32
int intel_pmic_install_opregion_handler(struct device *dev, acpi_handle handle,
drivers/acpi/pmic/tps68470_pmic.c
374
acpi_handle handle = ACPI_HANDLE(pdev->dev.parent);
drivers/acpi/pmic/tps68470_pmic.c
382
if (!handle) {
drivers/acpi/pmic/tps68470_pmic.c
394
status = acpi_install_address_space_handler(handle,
drivers/acpi/pmic/tps68470_pmic.c
401
status = acpi_install_address_space_handler(handle,
drivers/acpi/pmic/tps68470_pmic.c
408
status = acpi_install_address_space_handler(handle,
drivers/acpi/pmic/tps68470_pmic.c
415
status = acpi_install_address_space_handler(handle,
drivers/acpi/pmic/tps68470_pmic.c
425
acpi_remove_address_space_handler(handle, TI_PMIC_CLOCK_OPREGION_ID,
drivers/acpi/pmic/tps68470_pmic.c
428
acpi_remove_address_space_handler(handle, TI_PMIC_VR_VAL_OPREGION_ID,
drivers/acpi/pmic/tps68470_pmic.c
431
acpi_remove_address_space_handler(handle, TI_PMIC_POWER_OPREGION_ID,
drivers/acpi/power.c
1004
path = acpi_handle_path(handle);
drivers/acpi/power.c
101
struct acpi_power_resource *resource = acpi_power_get_context(handle);
drivers/acpi/power.c
1013
acpi_handle_notice(resource->device.handle,
drivers/acpi/power.c
1053
resource_is_gp12pxp(resource->device.handle)) {
drivers/acpi/power.c
1056
acpi_handle_debug(resource->device.handle,
drivers/acpi/power.c
1149
acpi_handle_debug(resource->device.handle, "Turning OFF\n");
drivers/acpi/power.c
142
rhandle = package->package.elements[i].reference.handle;
drivers/acpi/power.c
144
dup = package->package.elements[j].reference.handle;
drivers/acpi/power.c
167
rhandle = element->reference.handle;
drivers/acpi/power.c
192
static int __get_state(acpi_handle handle, u8 *state)
drivers/acpi/power.c
198
status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
drivers/acpi/power.c
204
acpi_handle_debug(handle, "Power resource is %s\n",
drivers/acpi/power.c
216
ret = __get_state(resource->device.handle, &resource->state);
drivers/acpi/power.c
369
acpi_handle handle = resource->device.handle;
drivers/acpi/power.c
373
status = acpi_evaluate_object(handle, "_ON", NULL, NULL);
drivers/acpi/power.c
381
acpi_handle_debug(handle, "Power resource turned on\n");
drivers/acpi/power.c
406
acpi_handle_debug(resource->device.handle,
drivers/acpi/power.c
428
acpi_handle handle = resource->device.handle;
drivers/acpi/power.c
431
status = acpi_evaluate_object(handle, "_OFF", NULL, NULL);
drivers/acpi/power.c
439
acpi_handle_debug(handle, "Power resource turned off\n");
drivers/acpi/power.c
449
acpi_handle_debug(resource->device.handle,
drivers/acpi/power.c
455
acpi_handle_debug(resource->device.handle,
drivers/acpi/power.c
690
status = acpi_evaluate_object(dev->handle, "_DSW", &arg_list, NULL);
drivers/acpi/power.c
694
acpi_handle_info(dev->handle, "_DSW execution failed\n");
drivers/acpi/power.c
700
status = acpi_execute_simple_method(dev->handle, "_PSW", enable);
drivers/acpi/power.c
702
acpi_handle_info(dev->handle, "_PSW execution failed\n");
drivers/acpi/power.c
88
static struct acpi_power_resource *acpi_power_get_context(acpi_handle handle)
drivers/acpi/power.c
90
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/power.c
935
struct acpi_device *acpi_add_power_resource(acpi_handle handle)
drivers/acpi/power.c
937
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/power.c
953
acpi_init_device_object(device, handle, ACPI_BUS_TYPE_POWER,
drivers/acpi/power.c
964
status = acpi_evaluate_object(handle, NULL, NULL, &buffer);
drivers/acpi/power.c
976
acpi_handle_info(handle, "New power resource\n");
drivers/acpi/power.c
98
static int acpi_power_resources_list_add(acpi_handle handle,
drivers/acpi/power.c
999
static bool resource_is_gp12pxp(acpi_handle handle)
drivers/acpi/processor_core.c
234
static phys_cpuid_t map_mat_entry(acpi_handle handle, int type, u32 acpi_id)
drivers/acpi/processor_core.c
241
if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer)))
drivers/acpi/processor_core.c
270
phys_cpuid_t acpi_get_phys_id(acpi_handle handle, int type, u32 acpi_id)
drivers/acpi/processor_core.c
274
phys_id = map_mat_entry(handle, type, acpi_id);
drivers/acpi/processor_core.c
328
int acpi_get_cpuid(acpi_handle handle, int type, u32 acpi_id)
drivers/acpi/processor_core.c
332
phys_id = acpi_get_phys_id(handle, type, acpi_id);
drivers/acpi/processor_core.c
380
static int parse_mat_ioapic_entry(acpi_handle handle, u32 gsi_base,
drivers/acpi/processor_core.c
388
if (ACPI_FAILURE(acpi_evaluate_object(handle, "_MAT", NULL, &buffer)))
drivers/acpi/processor_core.c
419
int acpi_get_ioapic_id(acpi_handle handle, u32 gsi_base, u64 *phys_addr)
drivers/acpi/processor_core.c
423
apic_id = parse_mat_ioapic_entry(handle, gsi_base, phys_addr);
drivers/acpi/processor_driver.c
108
device = acpi_fetch_acpi_dev(pr->handle);
drivers/acpi/processor_driver.c
135
if (!pr || !acpi_fetch_acpi_dev(pr->handle))
drivers/acpi/processor_driver.c
177
status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
drivers/acpi/processor_driver.c
202
acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
drivers/acpi/processor_driver.c
52
static void acpi_processor_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/processor_driver.c
58
if (device->handle != handle)
drivers/acpi/processor_driver.c
91
acpi_handle_debug(handle, "Unsupported event [0x%x]\n", event);
drivers/acpi/processor_idle.c
1088
acpi_handle handle = pr->handle, pr_ahandle;
drivers/acpi/processor_idle.c
1101
if (!acpi_has_method(handle, "_LPI"))
drivers/acpi/processor_idle.c
1106
handle = pr->handle;
drivers/acpi/processor_idle.c
1107
ret = acpi_processor_evaluate_lpi(handle, prev);
drivers/acpi/processor_idle.c
1112
status = acpi_get_parent(handle, &pr_ahandle);
drivers/acpi/processor_idle.c
1118
handle = pr_ahandle;
drivers/acpi/processor_idle.c
1124
if (!acpi_has_method(handle, "_LPI"))
drivers/acpi/processor_idle.c
1127
ret = acpi_processor_evaluate_lpi(handle, curr);
drivers/acpi/processor_idle.c
1136
status = acpi_get_parent(handle, &pr_ahandle);
drivers/acpi/processor_idle.c
251
acpi_handle_debug(pr->handle, "C2 latency too large [%d]\n",
drivers/acpi/processor_idle.c
262
acpi_handle_debug(pr->handle, "C3 latency too large [%d]\n",
drivers/acpi/processor_idle.c
268
acpi_handle_debug(pr->handle, "lvl2[0x%08x] lvl3[0x%08x]\n",
drivers/acpi/processor_idle.c
310
ret = acpi_processor_evaluate_cst(pr->handle, pr->id, &pr->power);
drivers/acpi/processor_idle.c
339
acpi_handle_debug(pr->handle,
drivers/acpi/processor_idle.c
359
acpi_handle_debug(pr->handle,
drivers/acpi/processor_idle.c
364
acpi_handle_debug(pr->handle,
drivers/acpi/processor_idle.c
374
acpi_handle_debug(pr->handle,
drivers/acpi/processor_idle.c
878
static int acpi_processor_evaluate_lpi(acpi_handle handle,
drivers/acpi/processor_idle.c
888
status = acpi_evaluate_object(handle, "_LPI", NULL, &buffer);
drivers/acpi/processor_idle.c
890
acpi_handle_debug(handle, "No _LPI, giving up\n");
drivers/acpi/processor_idle.c
985
acpi_handle_debug(handle, "Found %d power states\n", state_idx);
drivers/acpi/processor_pdc.c
103
early_init_pdc(acpi_handle handle, u32 lvl, void *context, void **rv)
drivers/acpi/processor_pdc.c
105
if (processor_physically_present(handle) == false)
drivers/acpi/processor_pdc.c
108
acpi_processor_set_pdc(handle);
drivers/acpi/processor_pdc.c
71
acpi_processor_eval_pdc(acpi_handle handle, struct acpi_object_list *pdc_in)
drivers/acpi/processor_pdc.c
75
status = acpi_evaluate_object(handle, "_PDC", pdc_in, NULL);
drivers/acpi/processor_pdc.c
78
acpi_handle_debug(handle,
drivers/acpi/processor_pdc.c
84
void acpi_processor_set_pdc(acpi_handle handle)
drivers/acpi/processor_pdc.c
95
acpi_processor_eval_pdc(handle, obj_list);
drivers/acpi/processor_perflib.c
116
static void acpi_processor_ppc_ost(acpi_handle handle, int status)
drivers/acpi/processor_perflib.c
118
if (acpi_has_method(handle, "_OST"))
drivers/acpi/processor_perflib.c
119
acpi_evaluate_ost(handle, ACPI_PROCESSOR_NOTIFY_PERFORMANCE,
drivers/acpi/processor_perflib.c
133
acpi_processor_ppc_ost(pr->handle, 1);
drivers/acpi/processor_perflib.c
144
acpi_processor_ppc_ost(pr->handle, 1);
drivers/acpi/processor_perflib.c
146
acpi_processor_ppc_ost(pr->handle, 0);
drivers/acpi/processor_perflib.c
234
status = acpi_evaluate_object(pr->handle, "_PCT", NULL, &buffer);
drivers/acpi/processor_perflib.c
236
acpi_evaluation_failure_warn(pr->handle, "_PCT", status);
drivers/acpi/processor_perflib.c
326
status = acpi_evaluate_object(pr->handle, "_PSS", NULL, &buffer);
drivers/acpi/processor_perflib.c
328
acpi_evaluation_failure_warn(pr->handle, "_PSS", status);
drivers/acpi/processor_perflib.c
339
acpi_handle_debug(pr->handle, "Found %d performance states\n",
drivers/acpi/processor_perflib.c
357
acpi_handle_debug(pr->handle, "Extracting state %d\n", i);
drivers/acpi/processor_perflib.c
362
acpi_handle_warn(pr->handle, "Invalid _PSS data: %s\n",
drivers/acpi/processor_perflib.c
371
acpi_handle_debug(pr->handle,
drivers/acpi/processor_perflib.c
423
if (!pr || !pr->performance || !pr->handle)
drivers/acpi/processor_perflib.c
426
if (!acpi_has_method(pr->handle, "_PCT")) {
drivers/acpi/processor_perflib.c
427
acpi_handle_debug(pr->handle,
drivers/acpi/processor_perflib.c
451
if (acpi_has_method(pr->handle, "_PPC")) {
drivers/acpi/processor_perflib.c
529
int acpi_processor_get_psd(acpi_handle handle, struct acpi_psd_package *pdomain)
drivers/acpi/processor_perflib.c
538
status = acpi_evaluate_object(handle, "_PSD", NULL, &buffer);
drivers/acpi/processor_perflib.c
638
if (acpi_processor_get_psd(pr->handle, pdomain)) {
drivers/acpi/processor_perflib.c
66
status = acpi_evaluate_integer(pr->handle, "_PPC", NULL, &ppc);
drivers/acpi/processor_perflib.c
71
acpi_evaluation_failure_warn(pr->handle, "_PPC", status);
drivers/acpi/processor_throttling.c
1004
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
1118
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
1127
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
1165
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
1208
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
1213
acpi_handle_debug(pr->handle, "Found %d throttling states\n",
drivers/acpi/processor_throttling.c
1229
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
217
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
242
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
252
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
278
status = acpi_evaluate_integer(pr->handle, "_TPC", NULL, &tpc);
drivers/acpi/processor_throttling.c
281
acpi_evaluation_failure_warn(pr->handle, "_TPC", status);
drivers/acpi/processor_throttling.c
411
status = acpi_evaluate_object(pr->handle, "_PTC", NULL, &buffer);
drivers/acpi/processor_throttling.c
414
acpi_evaluation_failure_warn(pr->handle, "_PTC", status);
drivers/acpi/processor_throttling.c
495
status = acpi_evaluate_object(pr->handle, "_TSS", NULL, &buffer);
drivers/acpi/processor_throttling.c
498
acpi_evaluation_failure_warn(pr->handle, "_TSS", status);
drivers/acpi/processor_throttling.c
510
acpi_handle_debug(pr->handle, "Found %d throttling states\n",
drivers/acpi/processor_throttling.c
530
acpi_handle_debug(pr->handle, "Extracting state %d\n", i);
drivers/acpi/processor_throttling.c
535
acpi_handle_warn(pr->handle, "Invalid _TSS data: %s\n",
drivers/acpi/processor_throttling.c
573
status = acpi_evaluate_object(pr->handle, "_TSD", NULL, &buffer);
drivers/acpi/processor_throttling.c
576
acpi_evaluation_failure_warn(pr->handle, "_TSD", status);
drivers/acpi/processor_throttling.c
691
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
864
acpi_handle_debug(pr->handle,
drivers/acpi/processor_throttling.c
910
acpi_handle_debug(pr->handle, "No throttling register\n");
drivers/acpi/processor_throttling.c
913
acpi_handle_debug(pr->handle, "No throttling states\n");
drivers/acpi/property.c
1021
device = acpi_fetch_acpi_dev(element->reference.handle);
drivers/acpi/property.c
108
if (handle)
drivers/acpi/property.c
109
acpi_get_parent(handle, &scope);
drivers/acpi/property.c
128
acpi_handle_debug(handle, "Invalid properties/subnodes data, skipping\n");
drivers/acpi/property.c
136
dn->handle = handle;
drivers/acpi/property.c
149
acpi_handle handle;
drivers/acpi/property.c
162
&handle);
drivers/acpi/property.c
166
status = acpi_evaluate_object_typed(handle, NULL, NULL, &buf,
drivers/acpi/property.c
171
if (acpi_nondev_subnode_extract(buf.pointer, handle, link, list,
drivers/acpi/property.c
397
static void acpi_nondev_subnode_tag(acpi_handle handle, void *context)
drivers/acpi/property.c
406
if (!dn->handle)
drivers/acpi/property.c
409
acpi_detach_data(dn->handle, acpi_nondev_subnode_tag);
drivers/acpi/property.c
423
if (!dn->handle)
drivers/acpi/property.c
426
status = acpi_attach_data(dn->handle, acpi_nondev_subnode_tag, dn);
drivers/acpi/property.c
428
acpi_handle_err(dn->handle, "Can't tag data node\n");
drivers/acpi/property.c
440
static void acpi_data_add_buffer_props(acpi_handle handle,
drivers/acpi/property.c
455
acpi_handle_warn(handle,
drivers/acpi/property.c
487
acpi_handle_warn(handle,
drivers/acpi/property.c
498
acpi_handle_warn(handle,
drivers/acpi/property.c
504
status = acpi_evaluate_object_typed(handle, obj->string.pointer,
drivers/acpi/property.c
508
acpi_handle_warn(handle,
drivers/acpi/property.c
595
if (!adev->handle)
drivers/acpi/property.c
609
status = acpi_evaluate_object_typed(adev->handle, "_DSD", NULL, &buf,
drivers/acpi/property.c
614
if (acpi_extract_properties(adev->handle, buf.pointer, &adev->data)) {
drivers/acpi/property.c
619
if (acpi_enumerate_nondev_subnodes(adev->handle, buf.pointer,
drivers/acpi/property.c
624
acpi_handle_debug(adev->handle, "Invalid _DSD data, skipping\n");
drivers/acpi/property.c
633
acpi_handle_info(adev->handle,
drivers/acpi/property.c
75
static bool acpi_extract_properties(acpi_handle handle,
drivers/acpi/property.c
80
acpi_handle handle,
drivers/acpi/property.c
89
if (acpi_graph_ignore_port(handle))
drivers/acpi/property.c
912
acpi_handle scope, handle;
drivers/acpi/property.c
918
scope = to_acpi_device_node(fwnode)->handle;
drivers/acpi/property.c
920
scope = to_acpi_data_node(fwnode)->handle;
drivers/acpi/property.c
926
status = acpi_get_handle(scope, refstring, &handle);
drivers/acpi/property.c
933
device = acpi_fetch_acpi_dev(handle);
drivers/acpi/property.c
937
status = acpi_get_data_full(handle, acpi_nondev_subnode_tag,
drivers/acpi/property.c
940
acpi_handle_debug(handle, "Subnode not found\n");
drivers/acpi/property.c
973
device = acpi_fetch_acpi_dev(obj->reference.handle);
drivers/acpi/resource.c
1142
static acpi_status acpi_res_consumer_cb(acpi_handle handle, u32 depth,
drivers/acpi/resource.c
1147
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/acpi/resource.c
955
if (!adev || !adev->handle || !list_empty(list))
drivers/acpi/resource.c
958
if (!acpi_has_method(adev->handle, method))
drivers/acpi/resource.c
966
status = acpi_walk_resources(adev->handle, method,
drivers/acpi/riscv/irq.c
123
adev = acpi_fetch_acpi_dev(ext_intc_element->handle);
drivers/acpi/riscv/irq.c
16
acpi_handle handle;
drivers/acpi/riscv/irq.c
171
static acpi_status __init riscv_acpi_create_gsi_map_smsi(acpi_handle handle, u32 level,
drivers/acpi/riscv/irq.c
177
if (!acpi_has_method(handle, "_GSB")) {
drivers/acpi/riscv/irq.c
178
acpi_handle_err(handle, "_GSB method not found\n");
drivers/acpi/riscv/irq.c
182
status = acpi_evaluate_integer(handle, "_GSB", NULL, &gbase);
drivers/acpi/riscv/irq.c
184
acpi_handle_err(handle, "failed to evaluate _GSB method\n");
drivers/acpi/riscv/irq.c
189
status = riscv_acpi_update_gsi_handle((u32)gbase, handle);
drivers/acpi/riscv/irq.c
191
acpi_handle_err(handle, "failed to find the GSI mapping entry\n");
drivers/acpi/riscv/irq.c
198
static acpi_status __init riscv_acpi_create_gsi_map(acpi_handle handle, u32 level,
drivers/acpi/riscv/irq.c
204
if (!acpi_has_method(handle, "_GSB")) {
drivers/acpi/riscv/irq.c
205
acpi_handle_err(handle, "_GSB method not found\n");
drivers/acpi/riscv/irq.c
209
status = acpi_evaluate_integer(handle, "_GSB", NULL, &gbase);
drivers/acpi/riscv/irq.c
211
acpi_handle_err(handle, "failed to evaluate _GSB method\n");
drivers/acpi/riscv/irq.c
215
status = riscv_acpi_update_gsi_handle((u32)gbase, handle);
drivers/acpi/riscv/irq.c
217
acpi_handle_err(handle, "failed to find the GSI mapping entry\n");
drivers/acpi/riscv/irq.c
266
return ext_intc_element->handle;
drivers/acpi/riscv/irq.c
285
ctx->handle = riscv_acpi_get_gsi_handle(irq->interrupts[ctx->index]);
drivers/acpi/riscv/irq.c
29
acpi_handle handle;
drivers/acpi/riscv/irq.c
301
ctx->handle = riscv_acpi_get_gsi_handle(eirq->interrupts[ctx->index]);
drivers/acpi/riscv/irq.c
308
static int riscv_acpi_irq_get_dep(acpi_handle handle, unsigned int index, acpi_handle *gsi_handle)
drivers/acpi/riscv/irq.c
315
acpi_walk_resources(handle, METHOD_NAME__CRS, riscv_acpi_irq_get_parent, &ctx);
drivers/acpi/riscv/irq.c
316
*gsi_handle = ctx.handle;
drivers/acpi/riscv/irq.c
323
static u32 riscv_acpi_add_prt_dep(acpi_handle handle)
drivers/acpi/riscv/irq.c
333
status = acpi_get_irq_routing_table(handle, &buffer);
drivers/acpi/riscv/irq.c
335
acpi_handle_err(handle, "failed to get IRQ routing table\n");
drivers/acpi/riscv/irq.c
343
acpi_get_handle(handle, entry->source, &link_handle);
drivers/acpi/riscv/irq.c
348
acpi_handle_err(handle, "failed to allocate memory\n");
drivers/acpi/riscv/irq.c
353
count += acpi_scan_add_dep(handle, &dep_devices);
drivers/acpi/riscv/irq.c
360
acpi_handle_err(handle, "failed to allocate memory\n");
drivers/acpi/riscv/irq.c
365
count += acpi_scan_add_dep(handle, &dep_devices);
drivers/acpi/riscv/irq.c
376
static u32 riscv_acpi_add_irq_dep(acpi_handle handle)
drivers/acpi/riscv/irq.c
384
riscv_acpi_irq_get_dep(handle, i, &gsi_handle);
drivers/acpi/riscv/irq.c
389
acpi_handle_err(handle, "failed to allocate memory\n");
drivers/acpi/riscv/irq.c
394
count += acpi_scan_add_dep(handle, &dep_devices);
drivers/acpi/riscv/irq.c
400
u32 arch_acpi_add_auto_dep(acpi_handle handle)
drivers/acpi/riscv/irq.c
402
if (acpi_has_method(handle, "_PRT"))
drivers/acpi/riscv/irq.c
403
return riscv_acpi_add_prt_dep(handle);
drivers/acpi/riscv/irq.c
405
return riscv_acpi_add_irq_dep(handle);
drivers/acpi/riscv/irq.c
59
static acpi_status riscv_acpi_update_gsi_handle(u32 gsi_base, acpi_handle handle)
drivers/acpi/riscv/irq.c
67
ext_intc_element->handle = handle;
drivers/acpi/riscv/irq.c
99
if (ext_intc_element->handle == ACPI_HANDLE_FWNODE(fwnode)) {
drivers/acpi/riscv/rimt.c
133
status = acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &buf);
drivers/acpi/sbshc.c
248
status = acpi_evaluate_integer(device->handle, "_EC", NULL, &val);
drivers/acpi/scan.c
1020
status = acpi_setup_gpe_for_wake(device->handle, wakeup->gpe_device,
drivers/acpi/scan.c
1030
if (!acpi_has_method(device->handle, "_PRW"))
drivers/acpi/scan.c
1063
status = acpi_evaluate_object(device->handle, pathname, NULL, &buffer);
drivers/acpi/scan.c
1077
if (acpi_has_method(device->handle, pathname))
drivers/acpi/scan.c
1094
if (!acpi_has_method(device->handle, "_PS0") &&
drivers/acpi/scan.c
1095
!acpi_has_method(device->handle, "_PR0"))
drivers/acpi/scan.c
1103
if (acpi_has_method(device->handle, "_PSC"))
drivers/acpi/scan.c
1106
if (acpi_has_method(device->handle, "_IRC"))
drivers/acpi/scan.c
1109
if (acpi_has_method(device->handle, "_DSW"))
drivers/acpi/scan.c
1112
acpi_evaluate_integer(device->handle, "_DSC", NULL, &dsc);
drivers/acpi/scan.c
1150
if (acpi_has_method(device->handle, "_STA"))
drivers/acpi/scan.c
1154
if (acpi_has_method(device->handle, "_RMV"))
drivers/acpi/scan.c
1158
if (acpi_has_method(device->handle, "_EJD") ||
drivers/acpi/scan.c
1159
acpi_has_method(device->handle, "_EJ0"))
drivers/acpi/scan.c
1191
acpi_get_name(device->handle, ACPI_SINGLE_NAME, &buffer);
drivers/acpi/scan.c
1210
bool acpi_ata_match(acpi_handle handle)
drivers/acpi/scan.c
1212
return acpi_has_method(handle, "_GTF") ||
drivers/acpi/scan.c
1213
acpi_has_method(handle, "_GTM") ||
drivers/acpi/scan.c
1214
acpi_has_method(handle, "_STM") ||
drivers/acpi/scan.c
1215
acpi_has_method(handle, "_SDD");
drivers/acpi/scan.c
1224
bool acpi_bay_match(acpi_handle handle)
drivers/acpi/scan.c
1228
if (!acpi_has_method(handle, "_EJ0"))
drivers/acpi/scan.c
1230
if (acpi_ata_match(handle))
drivers/acpi/scan.c
1232
if (ACPI_FAILURE(acpi_get_parent(handle, &phandle)))
drivers/acpi/scan.c
1251
acpi_handle handle = adev->handle;
drivers/acpi/scan.c
1253
if (acpi_has_method(handle, "_EJ0") && acpi_device_is_battery(adev))
drivers/acpi/scan.c
1256
return acpi_bay_match(handle);
drivers/acpi/scan.c
1262
bool acpi_dock_match(acpi_handle handle)
drivers/acpi/scan.c
1264
return acpi_has_method(handle, "_DCK");
drivers/acpi/scan.c
1268
acpi_backlight_cap_match(acpi_handle handle, u32 level, void *context,
drivers/acpi/scan.c
1273
if (acpi_has_method(handle, "_BCM") &&
drivers/acpi/scan.c
1274
acpi_has_method(handle, "_BCL")) {
drivers/acpi/scan.c
1275
acpi_handle_debug(handle, "Found generic backlight support\n");
drivers/acpi/scan.c
1289
long acpi_is_video_device(acpi_handle handle)
drivers/acpi/scan.c
1294
if (acpi_has_method(handle, "_DOD") || acpi_has_method(handle, "_DOS"))
drivers/acpi/scan.c
1298
if (acpi_has_method(handle, "_ROM"))
drivers/acpi/scan.c
1302
if (acpi_has_method(handle, "_VPO") &&
drivers/acpi/scan.c
1303
acpi_has_method(handle, "_GPD") &&
drivers/acpi/scan.c
1304
acpi_has_method(handle, "_SPD"))
drivers/acpi/scan.c
1309
acpi_walk_namespace(ACPI_TYPE_DEVICE, handle,
drivers/acpi/scan.c
1352
static bool acpi_ibm_smbus_match(acpi_handle handle)
drivers/acpi/scan.c
1361
if (ACPI_FAILURE(acpi_get_name(handle, ACPI_SINGLE_NAME, &path)) ||
drivers/acpi/scan.c
1366
if (acpi_has_method(handle, "SBI") &&
drivers/acpi/scan.c
1367
acpi_has_method(handle, "SBR") &&
drivers/acpi/scan.c
1368
acpi_has_method(handle, "SBW"))
drivers/acpi/scan.c
137
static acpi_status acpi_bus_offline(acpi_handle handle, u32 lvl, void *data,
drivers/acpi/scan.c
1374
static bool acpi_object_is_system_bus(acpi_handle handle)
drivers/acpi/scan.c
1379
tmp == handle)
drivers/acpi/scan.c
1382
tmp == handle)
drivers/acpi/scan.c
1388
static void acpi_set_pnp_ids(acpi_handle handle, struct acpi_device_pnp *pnp,
drivers/acpi/scan.c
1397
if (handle == ACPI_ROOT_OBJECT) {
drivers/acpi/scan.c
140
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/scan.c
1402
acpi_get_object_info(handle, &info);
drivers/acpi/scan.c
1433
if (acpi_is_video_device(handle)) {
drivers/acpi/scan.c
1438
if (acpi_bay_match(handle))
drivers/acpi/scan.c
1440
else if (acpi_dock_match(handle))
drivers/acpi/scan.c
1442
else if (acpi_ibm_smbus_match(handle))
drivers/acpi/scan.c
1445
acpi_object_is_system_bus(handle)) {
drivers/acpi/scan.c
1555
if (adev && acpi_has_method(adev->handle, METHOD_NAME__DMA))
drivers/acpi/scan.c
1564
if (!acpi_has_method(adev->handle, METHOD_NAME__CRS)) {
drivers/acpi/scan.c
1565
acpi_handle_warn(adev->handle, "_DMA is valid only if _CRS is present\n");
drivers/acpi/scan.c
1696
status = acpi_evaluate_integer(adev->handle, "_CCA",
drivers/acpi/scan.c
1708
acpi_handle_debug(adev->handle,
drivers/acpi/scan.c
1804
void acpi_init_device_object(struct acpi_device *device, acpi_handle handle,
drivers/acpi/scan.c
1807
struct acpi_device *parent = acpi_find_parent_acpi_dev(handle);
drivers/acpi/scan.c
1811
device->handle = handle;
drivers/acpi/scan.c
1819
acpi_set_pnp_ids(handle, &device->pnp, type);
drivers/acpi/scan.c
182
static acpi_status acpi_bus_online(acpi_handle handle, u32 lvl, void *data,
drivers/acpi/scan.c
1837
if (dep->consumer == adev->handle) {
drivers/acpi/scan.c
185
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/scan.c
1860
acpi_handle handle, int type, bool dep_init)
drivers/acpi/scan.c
1870
acpi_init_device_object(device, handle, type, acpi_device_release);
drivers/acpi/scan.c
1910
acpi_handle_debug(handle, "Added as %s, parent %s\n",
drivers/acpi/scan.c
1929
static bool acpi_device_should_be_hidden(acpi_handle handle)
drivers/acpi/scan.c
1935
if (!(spcr_uart_addr && acpi_has_method(handle, METHOD_NAME__CRS)))
drivers/acpi/scan.c
1942
status = acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/acpi/scan.c
1947
acpi_handle_info(handle, "The UART device @%pa in SPCR table will be hidden\n",
drivers/acpi/scan.c
2007
int acpi_scan_add_dep(acpi_handle handle, struct acpi_handle_list *dep_devices)
drivers/acpi/scan.c
2020
acpi_handle_debug(handle, "Error reading _DEP device info\n");
drivers/acpi/scan.c
2038
dep->consumer = handle;
drivers/acpi/scan.c
2054
if (acpi_dock_match(adev->handle) || is_ejectable_bay(adev)) {
drivers/acpi/scan.c
206
acpi_handle handle = device->handle;
drivers/acpi/scan.c
2069
u32 __weak arch_acpi_add_auto_dep(acpi_handle handle) { return 0; }
drivers/acpi/scan.c
2071
static u32 acpi_scan_check_dep(acpi_handle handle)
drivers/acpi/scan.c
2083
count += arch_acpi_add_auto_dep(handle);
drivers/acpi/scan.c
2091
if (!acpi_has_method(handle, "_DEP") || !acpi_has_method(handle, "_HID"))
drivers/acpi/scan.c
2094
if (!acpi_evaluate_reference(handle, "_DEP", NULL, &dep_devices)) {
drivers/acpi/scan.c
2095
acpi_handle_debug(handle, "Failed to evaluate _DEP.\n");
drivers/acpi/scan.c
2099
count += acpi_scan_add_dep(handle, &dep_devices);
drivers/acpi/scan.c
2103
static acpi_status acpi_scan_check_crs_csi2_cb(acpi_handle handle, u32 a, void *b, void **c)
drivers/acpi/scan.c
2105
acpi_mipi_check_crs_csi2(handle);
drivers/acpi/scan.c
2109
static acpi_status acpi_bus_check_add(acpi_handle handle, bool first_pass,
drivers/acpi/scan.c
2112
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/acpi/scan.c
2119
if (ACPI_FAILURE(acpi_get_type(handle, &acpi_type)))
drivers/acpi/scan.c
2124
if (acpi_device_should_be_hidden(handle))
drivers/acpi/scan.c
2128
acpi_mipi_check_crs_csi2(handle);
drivers/acpi/scan.c
2131
if (acpi_scan_check_dep(handle) > 0) {
drivers/acpi/scan.c
2139
acpi_walk_namespace(ACPI_TYPE_DEVICE, handle,
drivers/acpi/scan.c
2161
acpi_add_power_resource(handle);
drivers/acpi/scan.c
2171
acpi_add_single_object(&device, handle, type, !first_pass);
drivers/acpi/scan.c
2184
static acpi_status acpi_bus_check_add_1(acpi_handle handle, u32 lvl_not_used,
drivers/acpi/scan.c
2187
return acpi_bus_check_add(handle, true, (struct acpi_device **)ret_p);
drivers/acpi/scan.c
219
status = acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX,
drivers/acpi/scan.c
2190
static acpi_status acpi_bus_check_add_2(acpi_handle handle, u32 lvl_not_used,
drivers/acpi/scan.c
2193
return acpi_bus_check_add(handle, false, (struct acpi_device **)ret_p);
drivers/acpi/scan.c
224
acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX,
drivers/acpi/scan.c
228
acpi_bus_offline(handle, 0, (void *)false, (void **)&errdev);
drivers/acpi/scan.c
231
acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX,
drivers/acpi/scan.c
2345
if (ACPI_SUCCESS(acpi_bus_get_ejd(device->handle, &ejd)))
drivers/acpi/scan.c
235
acpi_bus_offline(handle, 0, (void *)true,
drivers/acpi/scan.c
240
acpi_bus_online(handle, 0, NULL, NULL);
drivers/acpi/scan.c
241
acpi_walk_namespace(ACPI_TYPE_ANY, handle,
drivers/acpi/scan.c
2412
if (dep->consumer == adev->handle)
drivers/acpi/scan.c
2493
static int acpi_walk_dep_device_list(acpi_handle handle,
drivers/acpi/scan.c
2502
if (dep->supplier == handle) {
drivers/acpi/scan.c
2521
acpi_walk_dep_device_list(supplier->handle, acpi_scan_clear_dep, NULL);
drivers/acpi/scan.c
2558
acpi_walk_dep_device_list(supplier->handle,
drivers/acpi/scan.c
2570
static void acpi_scan_postponed_branch(acpi_handle handle)
drivers/acpi/scan.c
2574
if (ACPI_FAILURE(acpi_bus_check_add(handle, false, &adev)))
drivers/acpi/scan.c
2577
acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX,
drivers/acpi/scan.c
2596
acpi_handle handle = dep->consumer;
drivers/acpi/scan.c
2603
if (!acpi_fetch_acpi_dev(handle)) {
drivers/acpi/scan.c
2612
acpi_scan_postponed_branch(handle);
drivers/acpi/scan.c
2721
int acpi_bus_scan(acpi_handle handle)
drivers/acpi/scan.c
2727
if (ACPI_SUCCESS(acpi_bus_check_add(handle, true, &device)))
drivers/acpi/scan.c
2728
acpi_walk_namespace(ACPI_TYPE_ANY, handle, ACPI_UINT32_MAX,
drivers/acpi/scan.c
325
acpi_handle handle = device->handle;
drivers/acpi/scan.c
339
acpi_handle_debug(handle, "Ejecting\n");
drivers/acpi/scan.c
343
acpi_evaluate_lck(handle, 0);
drivers/acpi/scan.c
347
status = acpi_evaluate_ej0(handle);
drivers/acpi/scan.c
357
status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
drivers/acpi/scan.c
359
acpi_handle_warn(handle,
drivers/acpi/scan.c
362
acpi_handle_warn(handle,
drivers/acpi/scan.c
379
ret = acpi_bus_scan(adev->handle);
drivers/acpi/scan.c
435
acpi_evaluate_ost(adev->handle, ACPI_NOTIFY_EJECT_REQUEST,
drivers/acpi/scan.c
455
if (adev->handle == INVALID_ACPI_HANDLE)
drivers/acpi/scan.c
493
acpi_evaluate_ost(adev->handle, src, ost_code, NULL);
drivers/acpi/scan.c
606
static void acpi_scan_drop_device(acpi_handle handle, void *context)
drivers/acpi/scan.c
628
adev->handle = INVALID_ACPI_HANDLE;
drivers/acpi/scan.c
633
static struct acpi_device *handle_to_device(acpi_handle handle,
drivers/acpi/scan.c
639
status = acpi_get_data_full(handle, acpi_scan_drop_device,
drivers/acpi/scan.c
642
acpi_handle_debug(handle, "No context!\n");
drivers/acpi/scan.c
655
struct acpi_device *acpi_fetch_acpi_dev(acpi_handle handle)
drivers/acpi/scan.c
657
return handle_to_device(handle, NULL);
drivers/acpi/scan.c
677
struct acpi_device *acpi_get_acpi_dev(acpi_handle handle)
drivers/acpi/scan.c
679
return handle_to_device(handle, get_acpi_device);
drivers/acpi/scan.c
712
acpi_handle handle = adev->handle;
drivers/acpi/scan.c
715
if (!handle)
drivers/acpi/scan.c
718
status = acpi_attach_data(handle, acpi_scan_drop_device, adev);
drivers/acpi/scan.c
720
acpi_handle_err(handle, "Unable to attach device data\n");
drivers/acpi/scan.c
731
if (!acpi_get_physical_device_location(adev->handle, &pld))
drivers/acpi/scan.c
811
acpi_detach_data(device->handle, acpi_scan_drop_device);
drivers/acpi/scan.c
872
static struct acpi_device *acpi_find_parent_acpi_dev(acpi_handle handle)
drivers/acpi/scan.c
881
if (!handle)
drivers/acpi/scan.c
887
status = acpi_get_parent(handle, &handle);
drivers/acpi/scan.c
894
adev = acpi_fetch_acpi_dev(handle);
drivers/acpi/scan.c
900
acpi_bus_get_ejd(acpi_handle handle, acpi_handle *ejd)
drivers/acpi/scan.c
907
status = acpi_get_handle(handle, "_EJD", &tmp);
drivers/acpi/scan.c
911
status = acpi_evaluate_object(handle, "_EJD", NULL, &buffer);
drivers/acpi/scan.c
924
acpi_handle handle = dev->handle;
drivers/acpi/scan.c
935
status = acpi_evaluate_object(handle, "_PRW", NULL, &buffer);
drivers/acpi/scan.c
937
acpi_handle_info(handle, "_PRW evaluation failed: %s\n",
drivers/acpi/scan.c
959
element->package.elements[0].reference.handle;
drivers/acpi/scan.c
985
acpi_handle_warn(handle, "Retrieving current states "
drivers/acpi/scan.c
991
acpi_handle_warn(handle, "Overriding _PRW sleep state "
drivers/acpi/sysfs.c
652
acpi_handle *handle)
drivers/acpi/sysfs.c
660
status = acpi_get_gpe_device(index, handle);
drivers/acpi/sysfs.c
665
status = acpi_get_gpe_status(*handle, index, ret);
drivers/acpi/sysfs.c
680
acpi_handle handle;
drivers/acpi/sysfs.c
696
result = get_status(index, &status, &handle);
drivers/acpi/sysfs.c
738
acpi_handle handle;
drivers/acpi/sysfs.c
753
result = get_status(index, &status, &handle);
drivers/acpi/sysfs.c
765
result = acpi_disable_gpe(handle, index);
drivers/acpi/sysfs.c
768
result = acpi_enable_gpe(handle, index);
drivers/acpi/sysfs.c
771
result = acpi_clear_gpe(handle, index);
drivers/acpi/sysfs.c
773
result = acpi_mask_gpe(handle, index, TRUE);
drivers/acpi/sysfs.c
775
result = acpi_mask_gpe(handle, index, FALSE);
drivers/acpi/sysfs.c
843
acpi_handle handle;
drivers/acpi/sysfs.c
848
status = acpi_get_gpe_device(gpe, &handle);
drivers/acpi/sysfs.c
851
(void)acpi_mask_gpe(handle, gpe, TRUE);
drivers/acpi/thermal.c
139
status = acpi_evaluate_integer(tz->device->handle, "_TMP", NULL, &tmp);
drivers/acpi/thermal.c
145
acpi_handle_debug(tz->device->handle, "Temperature is %lu dK\n",
drivers/acpi/thermal.c
159
status = acpi_evaluate_integer(tz->device->handle, "_TZP", NULL, &tmp);
drivers/acpi/thermal.c
164
acpi_handle_debug(tz->device->handle, "Polling frequency is %lu dS\n",
drivers/acpi/thermal.c
262
if (!acpi_evaluate_reference(tz->device->handle, method, NULL, &devices)) {
drivers/acpi/thermal.c
263
acpi_handle_info(tz->device->handle, "%s evaluation failure\n", method);
drivers/acpi/thermal.c
357
acpi_handle_debug(tz->device->handle, "Critical threshold disabled\n");
drivers/acpi/thermal.c
374
acpi_handle_debug(tz->device->handle, "Critical threshold [%d]\n", temp);
drivers/acpi/thermal.c
383
acpi_handle_debug(tz->device->handle, "No hot threshold\n");
drivers/acpi/thermal.c
387
acpi_handle_debug(tz->device->handle, "Hot threshold [%d]\n", temp);
drivers/acpi/thermal.c
396
status = acpi_evaluate_integer(tz->device->handle, "_TC1", NULL, &tmp);
drivers/acpi/thermal.c
402
status = acpi_evaluate_integer(tz->device->handle, "_TC2", NULL, &tmp);
drivers/acpi/thermal.c
408
status = acpi_evaluate_integer(tz->device->handle, "_TFP", NULL, &tmp);
drivers/acpi/thermal.c
414
status = acpi_evaluate_integer(tz->device->handle, "_TSP", NULL, &tmp);
drivers/acpi/thermal.c
576
acpi_handle handle = acpi_trip->devices.handles[i];
drivers/acpi/thermal.c
578
if (acpi_fetch_acpi_dev(handle) == cdev_adev)
drivers/acpi/thermal.c
62
acpi_handle_info(tz->device->handle, \
drivers/acpi/thermal.c
672
static void acpi_thermal_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/thermal.c
688
acpi_handle_debug(tz->device->handle,
drivers/acpi/thermal.c
708
acpi_handle handle = tz->device->handle;
drivers/acpi/thermal.c
712
acpi_evaluate_integer(handle, "_CRT", NULL, &value);
drivers/acpi/thermal.c
713
acpi_evaluate_integer(handle, "_HOT", NULL, &value);
drivers/acpi/thermal.c
714
acpi_evaluate_integer(handle, "_PSV", NULL, &value);
drivers/acpi/thermal.c
719
status = acpi_evaluate_integer(handle, name, NULL, &value);
drivers/acpi/thermal.c
723
acpi_evaluate_integer(handle, "_TMP", NULL, &value);
drivers/acpi/thermal.c
812
acpi_execute_simple_method(tz->device->handle, "_SCP", ACPI_THERMAL_MODE_ACTIVE);
drivers/acpi/thermal_lib.c
30
status = acpi_evaluate_integer(adev->handle, obj_name, NULL, &temp);
drivers/acpi/thermal_lib.c
32
acpi_handle_debug(adev->handle, "%s evaluation failed\n", obj_name);
drivers/acpi/thermal_lib.c
39
acpi_handle_debug(adev->handle, "%s result %llu out of range\n",
drivers/acpi/tiny-power-button.c
23
static void acpi_tiny_power_button_notify(acpi_handle handle, u32 event, void *data)
drivers/acpi/tiny-power-button.c
49
status = acpi_install_notify_handler(device->handle,
drivers/acpi/tiny-power-button.c
68
acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
drivers/acpi/utils.c
225
(void *)element->reference.handle;
drivers/acpi/utils.c
247
acpi_evaluate_integer(acpi_handle handle,
drivers/acpi/utils.c
260
status = acpi_evaluate_object(handle, pathname, arguments, &buffer);
drivers/acpi/utils.c
262
acpi_util_eval_error(handle, pathname, status);
drivers/acpi/utils.c
267
acpi_util_eval_error(handle, pathname, AE_BAD_DATA);
drivers/acpi/utils.c
273
acpi_handle_debug(handle, "Return value [%llu]\n", *data);
drivers/acpi/utils.c
280
int acpi_get_local_u64_address(acpi_handle handle, u64 *addr)
drivers/acpi/utils.c
284
status = acpi_evaluate_integer(handle, METHOD_NAME__ADR, NULL, addr);
drivers/acpi/utils.c
291
int acpi_get_local_address(acpi_handle handle, u32 *addr)
drivers/acpi/utils.c
296
ret = acpi_get_local_u64_address(handle, &adr);
drivers/acpi/utils.c
306
const char *acpi_get_subsystem_id(acpi_handle handle)
drivers/acpi/utils.c
314
status = acpi_evaluate_object(handle, METHOD_NAME__SUB, NULL, &buffer);
drivers/acpi/utils.c
316
acpi_handle_debug(handle, "Reading ACPI _SUB failed: %#x\n", status);
drivers/acpi/utils.c
328
acpi_handle_err(handle, "ACPI _SUB Length %zu is Invalid\n", len);
drivers/acpi/utils.c
332
acpi_handle_warn(handle, "Warning ACPI _SUB did not return a string\n");
drivers/acpi/utils.c
342
bool acpi_evaluate_reference(acpi_handle handle, acpi_string pathname,
drivers/acpi/utils.c
357
status = acpi_evaluate_object(handle, pathname, arguments, &buffer);
drivers/acpi/utils.c
378
!element->reference.handle)
drivers/acpi/utils.c
383
list->handles[i] = element->reference.handle;
drivers/acpi/utils.c
402
acpi_util_eval_error(handle, pathname, status);
drivers/acpi/utils.c
498
acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld)
drivers/acpi/utils.c
504
status = acpi_evaluate_object(handle, "_PLD", NULL, &buffer);
drivers/acpi/utils.c
541
acpi_evaluate_ost(acpi_handle handle, u32 source_event, u32 status_code,
drivers/acpi/utils.c
561
return acpi_evaluate_object(handle, "_OST", &arg_list, NULL);
drivers/acpi/utils.c
571
char *acpi_handle_path(acpi_handle handle)
drivers/acpi/utils.c
579
acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer) != AE_OK)
drivers/acpi/utils.c
596
acpi_handle_printk(const char *level, acpi_handle handle, const char *fmt, ...)
drivers/acpi/utils.c
606
path = acpi_handle_path(handle);
drivers/acpi/utils.c
627
__acpi_handle_debug(struct _ddebug *descriptor, acpi_handle handle,
drivers/acpi/utils.c
638
path = acpi_handle_path(handle);
drivers/acpi/utils.c
653
void acpi_evaluation_failure_warn(acpi_handle handle, const char *name,
drivers/acpi/utils.c
656
acpi_handle_warn(handle, "%s evaluation failed: %s\n", name,
drivers/acpi/utils.c
668
bool acpi_has_method(acpi_handle handle, char *name)
drivers/acpi/utils.c
672
return ACPI_SUCCESS(acpi_get_handle(handle, name, &tmp));
drivers/acpi/utils.c
676
acpi_status acpi_execute_simple_method(acpi_handle handle, char *method,
drivers/acpi/utils.c
684
return acpi_evaluate_object(handle, method, &arg_list, NULL);
drivers/acpi/utils.c
694
acpi_status acpi_evaluate_ej0(acpi_handle handle)
drivers/acpi/utils.c
698
status = acpi_execute_simple_method(handle, "_EJ0", 1);
drivers/acpi/utils.c
700
acpi_handle_warn(handle, "No _EJ0 support for device\n");
drivers/acpi/utils.c
702
acpi_handle_warn(handle, "Eject failed (0x%x)\n", status);
drivers/acpi/utils.c
714
acpi_status acpi_evaluate_lck(acpi_handle handle, int lock)
drivers/acpi/utils.c
718
status = acpi_execute_simple_method(handle, "_LCK", !!lock);
drivers/acpi/utils.c
721
acpi_handle_warn(handle,
drivers/acpi/utils.c
724
acpi_handle_warn(handle,
drivers/acpi/utils.c
740
acpi_status acpi_evaluate_reg(acpi_handle handle, u8 space_id, u32 function)
drivers/acpi/utils.c
752
return acpi_evaluate_object(handle, "_REG", &arg_list, NULL);
drivers/acpi/utils.c
771
acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 func,
drivers/acpi/utils.c
797
ret = acpi_evaluate_object(handle, "_DSM", &input, &buf);
drivers/acpi/utils.c
802
acpi_handle_warn(handle,
drivers/acpi/utils.c
821
bool acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs)
drivers/acpi/utils.c
830
obj = acpi_evaluate_dsm(handle, guid, rev, 0, NULL);
drivers/acpi/utils.c
929
status = acpi_evaluate_integer(adev->handle, "_HRV", NULL, &hrv);
drivers/acpi/video_detect.c
64
find_video(acpi_handle handle, u32 lvl, void *context, void **rv)
drivers/acpi/video_detect.c
66
struct acpi_device *acpi_dev = acpi_fetch_acpi_dev(handle);
drivers/acpi/video_detect.c
76
dev = acpi_get_pci_dev(handle);
drivers/acpi/video_detect.c
80
*cap |= acpi_is_video_device(handle);
drivers/acpi/x86/apple.c
38
props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 0,
drivers/acpi/x86/apple.c
47
acpi_handle_info(adev->handle, FW_INFO
drivers/acpi/x86/apple.c
54
props = acpi_evaluate_dsm_typed(adev->handle, &apple_prp_guid, 1, 1,
drivers/acpi/x86/apple.c
88
acpi_handle_info(adev->handle, FW_INFO
drivers/acpi/x86/cmos_rtc.c
54
int acpi_install_cmos_rtc_space_handler(acpi_handle handle)
drivers/acpi/x86/cmos_rtc.c
58
status = acpi_install_address_space_handler(handle,
drivers/acpi/x86/cmos_rtc.c
71
void acpi_remove_cmos_rtc_space_handler(acpi_handle handle)
drivers/acpi/x86/cmos_rtc.c
73
if (ACPI_FAILURE(acpi_remove_address_space_handler(handle,
drivers/acpi/x86/cmos_rtc.c
81
return acpi_install_cmos_rtc_space_handler(adev->handle);
drivers/acpi/x86/cmos_rtc.c
86
acpi_remove_cmos_rtc_space_handler(adev->handle);
drivers/acpi/x86/lpss.c
179
acpi_handle handle = pdata->adev->handle;
drivers/acpi/x86/lpss.c
187
status = acpi_evaluate_integer(handle, "_SEM", NULL, &shared_host);
drivers/acpi/x86/s2idle.c
179
status = acpi_get_handle(NULL, dev_info.name, &list->handle);
drivers/acpi/x86/s2idle.c
251
status = acpi_get_handle(NULL, info.name, &constraint->handle);
drivers/acpi/x86/s2idle.c
313
struct acpi_device *adev = acpi_fetch_acpi_dev(entry->handle);
drivers/acpi/x86/s2idle.c
318
acpi_handle_debug(entry->handle,
drivers/acpi/x86/s2idle.c
324
acpi_handle_info(entry->handle, "LPI: Device not power manageable\n");
drivers/acpi/x86/s2idle.c
325
entry->handle = NULL;
drivers/acpi/x86/s2idle.c
330
acpi_handle_info(entry->handle,
drivers/acpi/x86/s2idle.c
398
static int validate_dsm(acpi_handle handle, const char *uuid, int rev, guid_t *dsm_guid)
drivers/acpi/x86/s2idle.c
406
obj = acpi_evaluate_dsm_typed(handle, dsm_guid, rev, 0, NULL, ACPI_TYPE_BUFFER);
drivers/acpi/x86/s2idle.c
408
acpi_handle_debug(handle,
drivers/acpi/x86/s2idle.c
414
acpi_handle_debug(handle, "_DSM UUID %s rev %d function mask: 0x%x\n", uuid, rev, ret);
drivers/acpi/x86/s2idle.c
447
lps0_dsm_func_mask_microsoft = validate_dsm(adev->handle,
drivers/acpi/x86/s2idle.c
461
lps0_dsm_func_mask = validate_dsm(adev->handle,
drivers/acpi/x86/s2idle.c
465
acpi_handle_debug(adev->handle, "_DSM UUID %s: Adjusted function mask: 0x%x\n",
drivers/acpi/x86/s2idle.c
470
lps0_dsm_func_mask = validate_dsm(adev->handle,
drivers/acpi/x86/s2idle.c
481
acpi_handle_info(adev->handle,
drivers/acpi/x86/s2idle.c
490
lps0_device_handle = adev->handle;
drivers/acpi/x86/s2idle.c
84
acpi_handle handle;
drivers/acpi/x86/utils.c
197
if (acpi_get_name(adev->handle, ACPI_FULL_PATHNAME, &path))
drivers/android/binder.c
2092
ret = binder_dec_ref_for_handle(proc, fp->handle,
drivers/android/binder.c
2097
debug_id, fp->handle, ret);
drivers/android/binder.c
2260
fp->handle = rdata.desc;
drivers/android/binder.c
2283
node = binder_get_node_from_ref(proc, fp->handle,
drivers/android/binder.c
2287
proc->pid, thread->pid, fp->handle);
drivers/android/binder.c
2331
fp->handle = dest_rdata.desc;
drivers/android/binder.c
3095
e->target_handle = tr->target.handle;
drivers/android/binder.c
3189
if (tr->target.handle) {
drivers/android/binder.c
3200
ref = binder_get_ref_olocked(proc, tr->target.handle,
drivers/android/binder.c
3208
proc->pid, thread->pid, tr->target.handle);
drivers/android/binder.c
3933
ref = binder_get_ref_olocked(proc, handle_cookie->handle, false);
drivers/android/binder.c
3936
proc->pid, thread->pid, handle_cookie->handle);
drivers/android/binder.c
3983
ref = binder_get_ref_olocked(proc, handle_cookie->handle, false);
drivers/android/binder.c
3986
proc->pid, thread->pid, handle_cookie->handle);
drivers/android/binder.c
5553
__u32 handle = info->handle;
drivers/android/binder.c
5571
node = binder_get_node_from_ref(proc, handle, true, NULL);
drivers/ata/libata-acpi.c
282
acpi_handle handle;
drivers/ata/libata-acpi.c
295
handle = ACPI_HANDLE(&dev->tdev);
drivers/ata/libata-acpi.c
296
if (!acpi_bus_power_manageable(handle))
drivers/ata/libata-acpi.c
298
if (acpi_bus_set_power(handle, ACPI_STATE_D0))
drivers/ata/libata-acpi.c
307
handle = ACPI_HANDLE(&ap->tdev);
drivers/ata/libata-acpi.c
308
if (!acpi_bus_power_manageable(handle))
drivers/ata/libata-acpi.c
311
if (acpi_bus_set_power(handle, ACPI_STATE_D0))
drivers/ata/libata-acpi.c
360
acpi_handle handle = ACPI_HANDLE(&ap->tdev);
drivers/ata/libata-acpi.c
362
if (!handle)
drivers/ata/libata-acpi.c
365
status = acpi_evaluate_object(handle, "_GTM", NULL, &output);
drivers/ata/libata-acpi.c
944
acpi_handle handle;
drivers/ata/libata-acpi.c
948
handle = ata_dev_acpi_handle(dev);
drivers/ata/libata-acpi.c
949
if (!handle)
drivers/ata/libata-acpi.c
959
acpi_bus_set_power(handle, acpi_state);
drivers/ata/libata-acpi.c
963
acpi_bus_set_power(handle, ACPI_STATE_D0);
drivers/ata/libata-zpodd.c
239
static void zpodd_wake_dev(acpi_handle handle, u32 event, void *context)
drivers/ata/libata-zpodd.c
253
acpi_handle handle = ata_dev_acpi_handle(dev);
drivers/ata/libata-zpodd.c
254
acpi_install_notify_handler(handle, ACPI_SYSTEM_NOTIFY,
drivers/ata/libata-zpodd.c
260
acpi_handle handle = ata_dev_acpi_handle(dev);
drivers/ata/libata-zpodd.c
261
acpi_remove_notify_handler(handle, ACPI_SYSTEM_NOTIFY, zpodd_wake_dev);
drivers/atm/fore200e.c
1012
buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle);
drivers/atm/fore200e.c
1062
buffer = FORE200E_HDL2BUF(rpd->rsd[ i ].handle);
drivers/atm/fore200e.c
944
entry->rbd_block->rbd[ i ].handle = FORE200E_BUF2HDL(buffer);
drivers/atm/fore200e.h
154
u32 handle; /* host supplied receive buffer handle */
drivers/atm/fore200e.h
189
u32 handle; /* host supplied handle */
drivers/atm/fore200e.h
592
#define FORE200E_HDL2BUF(handle) ((struct buffer*)(handle))
drivers/atm/fore200e.h
595
#define FORE200E_HDL2BUF(handle) ((struct buffer*)(((u64)(handle)) | PAGE_OFFSET))
drivers/atm/idt77252.c
1249
u32 handle = le32_to_cpu(*(card->raw_cell_hnd + 1));
drivers/atm/idt77252.c
1250
card->raw_cell_head = sb_pool_skb(card, handle);
drivers/atm/idt77252.c
1342
u32 handle;
drivers/atm/idt77252.c
1345
handle = le32_to_cpu(*(u32 *) &queue->data[4]);
drivers/atm/idt77252.c
1347
next = sb_pool_skb(card, handle);
drivers/atm/idt77252.c
1799
u32 handle;
drivers/atm/idt77252.c
1830
handle = IDT77252_PRV_POOL(skb);
drivers/atm/idt77252.c
1834
writel(handle, card->fbq[queue]);
drivers/atm/idt77252.c
1888
u32 handle = IDT77252_PRV_POOL(skb);
drivers/atm/idt77252.c
1895
err = push_rx_skb(card, skb, POOL_QUEUE(handle));
drivers/atm/idt77252.c
605
u32 handle;
drivers/atm/idt77252.c
607
handle = IDT77252_PRV_POOL(skb);
drivers/atm/idt77252.c
609
queue = POOL_QUEUE(handle);
drivers/atm/idt77252.c
613
index = POOL_INDEX(handle);
drivers/atm/idt77252.c
621
sb_pool_skb(struct idt77252_dev *card, u32 handle)
drivers/atm/idt77252.c
625
queue = POOL_QUEUE(handle);
drivers/atm/idt77252.c
629
index = POOL_INDEX(handle);
drivers/atm/idt77252.h
344
#define POOL_QUEUE(handle) (((handle) >> 16) - 1)
drivers/atm/idt77252.h
345
#define POOL_INDEX(handle) ((handle) & 0xffff)
drivers/base/core.c
5343
int device_match_acpi_handle(struct device *dev, const void *handle)
drivers/base/core.c
5345
return handle && ACPI_HANDLE(dev) == handle;
drivers/base/devtmpfs.c
399
req->err = handle(req->name, req->mode,
drivers/block/nbd.c
214
static u32 nbd_handle_to_tag(u64 handle)
drivers/block/nbd.c
216
return (u32)handle;
drivers/block/nbd.c
219
static u32 nbd_handle_to_cookie(u64 handle)
drivers/block/nbd.c
221
return (u32)(handle >> NBD_COOKIE_BITS);
drivers/block/nbd.c
656
u64 handle;
drivers/block/nbd.c
691
handle = nbd_cmd_handle(cmd);
drivers/block/nbd.c
707
handle = nbd_cmd_handle(cmd);
drivers/block/nbd.c
708
request.cookie = cpu_to_be64(handle);
drivers/block/nbd.c
717
trace_nbd_header_sent(req, handle);
drivers/block/nbd.c
784
trace_nbd_payload_sent(req, handle);
drivers/block/nbd.c
878
u64 handle;
drivers/block/nbd.c
883
handle = be64_to_cpu(reply->cookie);
drivers/block/nbd.c
884
tag = nbd_handle_to_tag(handle);
drivers/block/nbd.c
894
trace_nbd_header_received(req, handle);
drivers/block/nbd.c
910
if (cmd->cmd_cookie != nbd_handle_to_cookie(handle)) {
drivers/block/nbd.c
912
req, cmd->cmd_cookie, nbd_handle_to_cookie(handle));
drivers/block/nbd.c
965
trace_nbd_payload_received(req, handle);
drivers/block/rbd.c
3637
return lhs->gid == rhs->gid && lhs->handle == rhs->handle;
drivers/block/rbd.c
3646
cid.handle = rbd_dev->watch_cookie;
drivers/block/rbd.c
3658
rbd_dev->owner_cid.gid, rbd_dev->owner_cid.handle,
drivers/block/rbd.c
3659
cid->gid, cid->handle);
drivers/block/rbd.c
371
u64 handle;
drivers/block/rbd.c
3743
ceph_encode_64(&p, cid.handle);
drivers/block/rbd.c
3897
u64 handle;
drivers/block/rbd.c
3927
&handle);
drivers/block/rbd.c
3941
le32_to_cpu(lockers[0].info.addr.nonce), handle);
drivers/block/rbd.c
3982
.handle = cookie,
drivers/block/rbd.c
3986
rbd_dev, cid.gid, cid.handle);
drivers/block/rbd.c
4282
cid.handle = ceph_decode_64(p);
drivers/block/rbd.c
4286
cid.handle);
drivers/block/rbd.c
4291
__func__, rbd_dev, cid.gid, cid.handle);
drivers/block/rbd.c
4311
cid.handle = ceph_decode_64(p);
drivers/block/rbd.c
4315
cid.handle);
drivers/block/rbd.c
4320
__func__, rbd_dev, cid.gid, cid.handle,
drivers/block/rbd.c
4321
rbd_dev->owner_cid.gid, rbd_dev->owner_cid.handle);
drivers/block/rbd.c
4347
cid.handle = ceph_decode_64(p);
drivers/block/rbd.c
4351
cid.handle);
drivers/block/rbd.c
4517
struct ceph_osd_linger_request *handle;
drivers/block/rbd.c
4522
handle = ceph_osdc_watch(osdc, &rbd_dev->header_oid,
drivers/block/rbd.c
4525
if (IS_ERR(handle))
drivers/block/rbd.c
4526
return PTR_ERR(handle);
drivers/block/rbd.c
4528
rbd_dev->watch_handle = handle;
drivers/block/xen-blkback/blkback.c
1087
dst->u.rw.handle = src->u.rw.handle;
drivers/block/xen-blkback/blkback.c
1107
dst->u.indirect.handle = src->u.indirect.handle;
drivers/block/xen-blkback/blkback.c
1140
dst->u.rw.handle = src->u.rw.handle;
drivers/block/xen-blkback/blkback.c
1160
dst->u.indirect.handle = src->u.indirect.handle;
drivers/block/xen-blkback/blkback.c
1363
preq.dev = req->u.rw.handle;
drivers/block/xen-blkback/blkback.c
1377
preq.dev = req->u.indirect.handle;
drivers/block/xen-blkback/blkback.c
260
BUG_ON(persistent_gnt->handle ==
drivers/block/xen-blkback/blkback.c
266
persistent_gnt->handle);
drivers/block/xen-blkback/blkback.c
312
persistent_gnt->handle);
drivers/block/xen-blkback/blkback.c
372
BUG_ON(persistent_gnt->handle ==
drivers/block/xen-blkback/blkback.c
659
if (pages[i]->handle == BLKBACK_INVALID_HANDLE)
drivers/block/xen-blkback/blkback.c
663
GNTMAP_host_map, pages[i]->handle);
drivers/block/xen-blkback/blkback.c
664
pages[i]->handle = BLKBACK_INVALID_HANDLE;
drivers/block/xen-blkback/blkback.c
835
pages[seg_idx]->handle = BLKBACK_INVALID_HANDLE;
drivers/block/xen-blkback/blkback.c
839
pages[seg_idx]->handle = map[new_map_idx].handle;
drivers/block/xen-blkback/blkback.c
859
persistent_gnt->handle = map[new_map_idx].handle;
drivers/block/xen-blkback/blkback.c
876
blkif->domid, blkif->vbd.handle);
drivers/block/xen-blkback/blkback.c
895
pages[i]->handle = BLKBACK_INVALID_HANDLE;
drivers/block/xen-blkback/common.h
107
blkif_vdev_t handle;
drivers/block/xen-blkback/common.h
134
blkif_vdev_t handle; /* only for read/write requests */
drivers/block/xen-blkback/common.h
163
blkif_vdev_t handle;
drivers/block/xen-blkback/common.h
217
blkif_vdev_t handle;
drivers/block/xen-blkback/common.h
244
grant_handle_t handle;
drivers/block/xen-blkback/common.h
305
unsigned int handle;
drivers/block/xen-blkback/common.h
334
grant_handle_t handle;
drivers/block/xen-blkback/common.h
82
blkif_vdev_t handle; /* only for read/write requests */
drivers/block/xen-blkback/xenbus.c
479
static int xen_vbd_create(struct xen_blkif *blkif, blkif_vdev_t handle,
drivers/block/xen-blkback/xenbus.c
487
vbd->handle = handle;
drivers/block/xen-blkback/xenbus.c
522
handle, blkif->domid);
drivers/block/xen-blkback/xenbus.c
706
unsigned long handle;
drivers/block/xen-blkback/xenbus.c
748
err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle);
drivers/block/xen-blkback/xenbus.c
758
err = xen_vbd_create(be->blkif, handle, major, minor,
drivers/block/xen-blkfront.c
1996
info->handle = simple_strtoul(strrchr(dev->nodename, '/')+1, NULL, 0);
drivers/block/xen-blkfront.c
207
blkif_vdev_t handle;
drivers/block/xen-blkfront.c
698
second->u.rw.handle = first->u.rw.handle;
drivers/block/xen-blkfront.c
776
ring_req->u.indirect.handle = info->handle;
drivers/block/xen-blkfront.c
780
ring_req->u.rw.handle = info->handle;
drivers/block/zram/zram_drv.c
123
return zram->table[index].handle;
drivers/block/zram/zram_drv.c
126
static void set_slot_handle(struct zram *zram, u32 index, unsigned long handle)
drivers/block/zram/zram_drv.c
128
zram->table[index].handle = handle;
drivers/block/zram/zram_drv.c
1985
unsigned long handle;
drivers/block/zram/zram_drv.c
2022
handle = get_slot_handle(zram, index);
drivers/block/zram/zram_drv.c
2023
if (!handle)
drivers/block/zram/zram_drv.c
2026
zs_free(zram->mem_pool, handle);
drivers/block/zram/zram_drv.c
2050
unsigned long handle;
drivers/block/zram/zram_drv.c
2053
handle = get_slot_handle(zram, index);
drivers/block/zram/zram_drv.c
2054
src = zs_obj_read_begin(zram->mem_pool, handle, PAGE_SIZE, NULL);
drivers/block/zram/zram_drv.c
2058
zs_obj_read_end(zram->mem_pool, handle, PAGE_SIZE, src);
drivers/block/zram/zram_drv.c
2066
unsigned long handle;
drivers/block/zram/zram_drv.c
2071
handle = get_slot_handle(zram, index);
drivers/block/zram/zram_drv.c
2076
src = zs_obj_read_begin(zram->mem_pool, handle, size,
drivers/block/zram/zram_drv.c
2081
zs_obj_read_end(zram->mem_pool, handle, size, src);
drivers/block/zram/zram_drv.c
2091
unsigned long handle;
drivers/block/zram/zram_drv.c
2095
handle = get_slot_handle(zram, index);
drivers/block/zram/zram_drv.c
2104
src = zs_obj_read_begin(zram->mem_pool, handle, size,
drivers/block/zram/zram_drv.c
2107
zs_obj_read_end(zram->mem_pool, handle, size, src);
drivers/block/zram/zram_drv.c
2203
unsigned long handle;
drivers/block/zram/zram_drv.c
2211
handle = zs_malloc(zram->mem_pool, PAGE_SIZE,
drivers/block/zram/zram_drv.c
2214
if (IS_ERR_VALUE(handle))
drivers/block/zram/zram_drv.c
2215
return PTR_ERR((void *)handle);
drivers/block/zram/zram_drv.c
2218
zs_free(zram->mem_pool, handle);
drivers/block/zram/zram_drv.c
2223
zs_obj_write(zram->mem_pool, handle, src, PAGE_SIZE);
drivers/block/zram/zram_drv.c
2229
set_slot_handle(zram, index, handle);
drivers/block/zram/zram_drv.c
2244
unsigned long handle;
drivers/block/zram/zram_drv.c
2274
handle = zs_malloc(zram->mem_pool, comp_len,
drivers/block/zram/zram_drv.c
2277
if (IS_ERR_VALUE(handle)) {
drivers/block/zram/zram_drv.c
2279
return PTR_ERR((void *)handle);
drivers/block/zram/zram_drv.c
2284
zs_free(zram->mem_pool, handle);
drivers/block/zram/zram_drv.c
2288
zs_obj_write(zram->mem_pool, handle, zstrm->buffer, comp_len);
drivers/block/zram/zram_drv.c
2293
set_slot_handle(zram, index, handle);
drivers/block/zram/zram_drv.h
67
unsigned long handle;
drivers/bluetooth/btintel.c
2482
acpi_handle handle;
drivers/bluetooth/btintel.c
2498
handle = ACPI_HANDLE(GET_HCIDEV_DEV(hdev));
drivers/bluetooth/btintel.c
2499
if (!handle) {
drivers/bluetooth/btintel.c
2504
status = acpi_evaluate_object(handle, "PPAG", NULL, &buffer);
drivers/bluetooth/btintel.c
2589
status = acpi_evaluate_object(ref->reference.handle, "_RST", NULL, NULL);
drivers/bluetooth/btintel.c
2605
acpi_handle handle = ACPI_HANDLE(GET_HCIDEV_DEV(hdev));
drivers/bluetooth/btintel.c
2613
handle = ACPI_HANDLE(GET_HCIDEV_DEV(hdev));
drivers/bluetooth/btintel.c
2615
if (!handle) {
drivers/bluetooth/btintel.c
2620
if (!acpi_has_method(handle, "_PRR")) {
drivers/bluetooth/btintel.c
2633
if (!acpi_check_dsm(handle, &btintel_guid_dsm, 0,
drivers/bluetooth/btintel.c
2641
obj = acpi_evaluate_dsm(handle, &btintel_guid_dsm, 0,
drivers/bluetooth/btintel.c
2652
if (!acpi_check_dsm(handle, &btintel_guid_dsm, 0,
drivers/bluetooth/btintel.c
2661
obj = acpi_evaluate_dsm(handle, &btintel_guid_dsm, 0,
drivers/bluetooth/btintel.c
2680
__u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle);
drivers/bluetooth/btintel.c
2682
if (hci_handle(handle) >= BTINTEL_ISODATA_HANDLE_BASE)
drivers/bluetooth/btintel.c
2823
acpi_handle handle;
drivers/bluetooth/btintel.c
2825
handle = ACPI_HANDLE(GET_HCIDEV_DEV(hdev));
drivers/bluetooth/btintel.c
2826
if (!handle) {
drivers/bluetooth/btintel.c
2831
status = acpi_evaluate_object(handle, method, NULL, &buffer);
drivers/bluetooth/btmtk.c
939
u16 handle = le16_to_cpu(hci_acl_hdr(skb)->handle);
drivers/bluetooth/btmtk.c
941
switch (handle) {
drivers/bluetooth/btmtksdio.c
424
u16 handle = le16_to_cpu(hci_acl_hdr(skb)->handle);
drivers/bluetooth/btmtksdio.c
426
switch (handle) {
drivers/bluetooth/btnxpuart.c
1402
__u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle);
drivers/bluetooth/btnxpuart.c
1405
if ((handle & 0x0FFF) == 0xFFF)
drivers/bluetooth/btusb.c
1163
u16 handle = get_unaligned_le16(skb->data);
drivers/bluetooth/btusb.c
1165
if (handle == 0x2EDC)
drivers/bluetooth/btusb.c
1344
__u16 handle;
drivers/bluetooth/btusb.c
1358
handle = hci_handle(__le16_to_cpu(hdr->handle));
drivers/bluetooth/btusb.c
1360
switch (hci_conn_lookup_type(hdev, handle)) {
drivers/bluetooth/btusb.c
3201
if (!acl_hdr || (le16_to_cpu(acl_hdr->handle) != QCA_MEMDUMP_ACL_HANDLE))
drivers/bluetooth/hci_bcm.c
1019
ACPI_FAILURE(acpi_get_handle(adev->handle, "BTLP", &dev->btlp)) ||
drivers/bluetooth/hci_bcm.c
1020
ACPI_FAILURE(acpi_get_handle(adev->handle, "BTPU", &dev->btpu)) ||
drivers/bluetooth/hci_bcm.c
1021
ACPI_FAILURE(acpi_get_handle(adev->handle, "BTPD", &dev->btpd)))
drivers/cdx/controller/mcdi.c
35
unsigned int *handle);
drivers/cdx/controller/mcdi.c
372
unsigned int handle,
drivers/cdx/controller/mcdi.c
378
if (cdx_mcdi_cmd_handle(cmd) == handle) {
drivers/cdx/controller/mcdi.c
453
unsigned int handle;
drivers/cdx/controller/mcdi.c
485
rc = cdx_mcdi_rpc_async_internal(cdx, cmd_item, &handle);
drivers/cdx/controller/mcdi.c
524
unsigned int *handle)
drivers/cdx/controller/mcdi.c
640
cmd->handle = mcdi->prev_handle++;
drivers/cdx/controller/mcdi.c
65
return cmd->handle;
drivers/char/hpet.c
982
acpi_walk_resources(device->handle, METHOD_NAME__CRS,
drivers/char/ipmi/ipmi_si_platform.c
312
acpi_handle handle;
drivers/char/ipmi/ipmi_si_platform.c
320
handle = ACPI_HANDLE(dev);
drivers/char/ipmi/ipmi_si_platform.c
321
if (!handle)
drivers/char/ipmi/ipmi_si_platform.c
328
io.addr_info.acpi_info.acpi_handle = handle;
drivers/char/ipmi/ipmi_si_platform.c
331
status = acpi_evaluate_integer(handle, "_IFT", NULL, &tmp);
drivers/char/ipmi/ipmi_si_platform.c
363
status = acpi_evaluate_integer(handle, "_GPE", NULL, &tmp);
drivers/char/lp.c
187
static int lp_preempt(void *handle)
drivers/char/lp.c
189
struct lp_struct *this_lp = (struct lp_struct *)handle;
drivers/char/tpm/tpm-buf.c
158
void tpm_buf_append_handle(struct tpm_chip *chip, struct tpm_buf *buf, u32 handle)
drivers/char/tpm/tpm-buf.c
165
tpm_buf_append_u32(buf, handle);
drivers/char/tpm/tpm.h
315
int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf,
drivers/char/tpm/tpm.h
318
unsigned int *offset, u32 *handle);
drivers/char/tpm/tpm2-cmd.c
350
void tpm2_flush_context(struct tpm_chip *chip, u32 handle)
drivers/char/tpm/tpm2-cmd.c
358
handle);
drivers/char/tpm/tpm2-cmd.c
362
tpm_buf_append_u32(&buf, handle);
drivers/char/tpm/tpm2-sessions.c
1080
u32 *handle, u32 hierarchy, u8 *name)
drivers/char/tpm/tpm2-sessions.c
1089
if (handle)
drivers/char/tpm/tpm2-sessions.c
1090
*handle = keyhandle;
drivers/char/tpm/tpm2-sessions.c
1257
u32 *handle, u8 *name)
drivers/char/tpm/tpm2-sessions.c
1347
rc = tpm2_parse_create_primary(chip, &buf, handle, hierarchy,
drivers/char/tpm/tpm2-sessions.c
166
static int tpm2_read_public(struct tpm_chip *chip, u32 handle, void *name)
drivers/char/tpm/tpm2-sessions.c
168
u32 mso = tpm2_handle_mso(handle);
drivers/char/tpm/tpm2-sessions.c
175
memcpy(name, &handle, sizeof(u32));
drivers/char/tpm/tpm2-sessions.c
183
tpm_buf_append_u32(&buf, handle);
drivers/char/tpm/tpm2-sessions.c
249
u32 handle, u8 *name)
drivers/char/tpm/tpm2-sessions.c
252
enum tpm2_mso_type mso = tpm2_handle_mso(handle);
drivers/char/tpm/tpm2-sessions.c
260
tpm_buf_append_handle(chip, buf, handle);
drivers/char/tpm/tpm2-sessions.c
277
tpm_buf_append_u32(buf, handle);
drivers/char/tpm/tpm2-sessions.c
284
ret = tpm2_read_public(chip, handle, auth->name[slot]);
drivers/char/tpm/tpm2-sessions.c
293
handle);
drivers/char/tpm/tpm2-sessions.c
299
auth->name_h[slot] = handle;
drivers/char/tpm/tpm2-sessions.c
414
tpm_buf_append_u32(buf, auth->handle);
drivers/char/tpm/tpm2-sessions.c
429
u32 *handle, u8 *name);
drivers/char/tpm/tpm2-sessions.c
623
u32 handle = tpm_buf_read_u32(buf, &offset_s);
drivers/char/tpm/tpm2-sessions.c
625
if (auth->name_h[i] != handle) {
drivers/char/tpm/tpm2-sessions.c
626
dev_err(&chip->dev, "invalid handle 0x%08x\n", handle);
drivers/char/tpm/tpm2-sessions.c
636
u32 handle = tpm_buf_read_u32(buf, &offset_s);
drivers/char/tpm/tpm2-sessions.c
647
if (handle == auth->handle && auth->attrs == a) {
drivers/char/tpm/tpm2-sessions.c
87
u32 handle;
drivers/char/tpm/tpm2-sessions.c
871
tpm2_flush_context(chip, auth->handle);
drivers/char/tpm/tpm2-sessions.c
901
tpm2_flush_context(chip, auth->handle);
drivers/char/tpm/tpm2-sessions.c
922
auth->handle = tpm_buf_read_u32(buf, &offset);
drivers/char/tpm/tpm2-space.c
105
*handle = 0;
drivers/char/tpm/tpm2-space.c
118
*handle = be32_to_cpup((__be32 *)&tbuf.data[TPM_HEADER_SIZE]);
drivers/char/tpm/tpm2-space.c
125
int tpm2_save_context(struct tpm_chip *chip, u32 handle, u8 *buf,
drivers/char/tpm/tpm2-space.c
136
tpm_buf_append_u32(&tbuf, handle);
drivers/char/tpm/tpm2-space.c
206
u32 handle;
drivers/char/tpm/tpm2-space.c
212
&offset, &handle);
drivers/char/tpm/tpm2-space.c
220
if (handle != space->session_tbl[i]) {
drivers/char/tpm/tpm2-space.c
230
static bool tpm2_map_to_phandle(struct tpm_space *space, void *handle)
drivers/char/tpm/tpm2-space.c
232
u32 vhandle = be32_to_cpup((__be32 *)handle);
drivers/char/tpm/tpm2-space.c
241
*((__be32 *)handle) = cpu_to_be32(phandle);
drivers/char/tpm/tpm2-space.c
250
__be32 *handle;
drivers/char/tpm/tpm2-space.c
260
handle = (__be32 *)&cmd[TPM_HEADER_SIZE];
drivers/char/tpm/tpm2-space.c
261
for (i = 0; i < nr_handles; i++, handle++) {
drivers/char/tpm/tpm2-space.c
262
if ((be32_to_cpu(*handle) & 0xFF000000) == TPM2_HT_TRANSIENT) {
drivers/char/tpm/tpm2-space.c
263
if (!tpm2_map_to_phandle(space, handle))
drivers/char/tpm/tpm2-space.c
344
static bool tpm2_add_session(struct tpm_chip *chip, u32 handle)
drivers/char/tpm/tpm2-space.c
356
space->session_tbl[i] = handle;
drivers/char/tpm/tpm2-space.c
72
unsigned int *offset, u32 *handle)
drivers/char/tpm/tpm_crb.c
881
chip->acpi_dev_handle = device->handle;
drivers/clk/clk-scmi.c
408
const struct scmi_handle *handle = sdev->handle;
drivers/clk/clk-scmi.c
413
if (!handle)
drivers/clk/clk-scmi.c
417
handle->devm_protocol_get(sdev, SCMI_PROTOCOL_CLOCK, &ph);
drivers/clk/clk-scmi.c
435
transport_is_atomic = handle->is_transport_atomic(handle,
drivers/clk/keystone/sci-clk.c
654
const struct ti_sci_handle *handle;
drivers/clk/keystone/sci-clk.c
657
handle = devm_ti_sci_get_handle(dev);
drivers/clk/keystone/sci-clk.c
658
if (IS_ERR(handle))
drivers/clk/keystone/sci-clk.c
659
return PTR_ERR(handle);
drivers/clk/keystone/sci-clk.c
665
provider->sci = handle;
drivers/clk/keystone/sci-clk.c
666
provider->ops = &handle->ops.clk_ops;
drivers/clk/samsung/clk-acpm.c
152
aclk->handle = acpm_handle;
drivers/clk/samsung/clk-acpm.c
23
const struct acpm_handle *handle;
drivers/clk/samsung/clk-acpm.c
71
return clk->handle->ops.dvfs_ops.get_rate(clk->handle,
drivers/clk/samsung/clk-acpm.c
92
return clk->handle->ops.dvfs_ops.set_rate(clk->handle,
drivers/clocksource/timer-atmel-tcb.c
242
static irqreturn_t ch2_irq(int irq, void *handle)
drivers/clocksource/timer-atmel-tcb.c
244
struct tc_clkevt_device *dev = handle;
drivers/cpufreq/intel_pstate.c
3553
status = acpi_evaluate_object(pr->handle, "_PSS", NULL, &buffer);
drivers/cpufreq/intel_pstate.c
3573
acpi_handle handle;
drivers/cpufreq/intel_pstate.c
3575
status = acpi_get_handle(NULL, "\\_SB", &handle);
drivers/cpufreq/intel_pstate.c
3579
if (acpi_has_method(handle, "PCCH"))
drivers/cpufreq/intel_pstate.c
3596
if (acpi_has_method(pr->handle, "_PPC"))
drivers/cpufreq/pcc-cpufreq.c
264
status = acpi_evaluate_object(pr->handle, "PCCP", NULL, &buffer);
drivers/cpufreq/pcc-cpufreq.c
301
static int __init pcc_cpufreq_do_osc(acpi_handle *handle)
drivers/cpufreq/pcc-cpufreq.c
329
status = acpi_evaluate_object(*handle, "_OSC", &input, &output);
drivers/cpufreq/pcc-cpufreq.c
358
status = acpi_evaluate_object(*handle, "_OSC", &input, &output);
drivers/cpufreq/pcc-cpufreq.c
395
acpi_handle handle, osc_handle;
drivers/cpufreq/pcc-cpufreq.c
398
status = acpi_get_handle(NULL, "\\_SB", &handle);
drivers/cpufreq/pcc-cpufreq.c
402
if (!acpi_has_method(handle, "PCCH"))
drivers/cpufreq/pcc-cpufreq.c
405
status = acpi_get_handle(handle, "_OSC", &osc_handle);
drivers/cpufreq/pcc-cpufreq.c
414
status = acpi_evaluate_object(handle, "PCCH", NULL, &output);
drivers/cpufreq/scmi-cpufreq.c
316
ret = sdev->handle->notify_ops->event_notifier_register(sdev->handle, SCMI_PROTOCOL_PERF,
drivers/cpufreq/scmi-cpufreq.c
346
sdev->handle->notify_ops->event_notifier_unregister(sdev->handle, SCMI_PROTOCOL_PERF,
drivers/cpufreq/scmi-cpufreq.c
445
const struct scmi_handle *handle;
drivers/cpufreq/scmi-cpufreq.c
447
handle = sdev->handle;
drivers/cpufreq/scmi-cpufreq.c
449
if (!handle || !scmi_dev_used_by_cpus(dev))
drivers/cpufreq/scmi-cpufreq.c
454
perf_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_PERF, &ph);
drivers/crypto/caam/ctrl.c
35
static void build_instantiation_desc(u32 *desc, int handle, int do_sk)
drivers/crypto/caam/ctrl.c
42
(handle << OP_ALG_AAI_SHIFT) | OP_ALG_AS_INIT |
drivers/crypto/caam/ctrl.c
48
if (!handle && do_sk) {
drivers/crypto/caam/ctrl.c
72
static void build_deinstantiation_desc(u32 *desc, int handle)
drivers/crypto/caam/ctrl.c
78
(handle << OP_ALG_AAI_SHIFT) | OP_ALG_AS_INITFINAL);
drivers/crypto/chelsio/chcr_core.c
203
int chcr_uld_rx_handler(void *handle, const __be64 *rsp,
drivers/crypto/chelsio/chcr_core.c
206
struct uld_ctx *u_ctx = (struct uld_ctx *)handle;
drivers/crypto/chelsio/chcr_core.c
241
static int chcr_uld_state_change(void *handle, enum cxgb4_state state)
drivers/crypto/chelsio/chcr_core.c
243
struct uld_ctx *u_ctx = handle;
drivers/crypto/chelsio/chcr_core.c
34
static int chcr_uld_state_change(void *handle, enum cxgb4_state state);
drivers/crypto/chelsio/chcr_core.h
134
int chcr_uld_rx_handler(void *handle, const __be64 *rsp,
drivers/crypto/hisilicon/qm.c
5654
acpi_handle handle = ACPI_HANDLE(&qm->pdev->dev);
drivers/crypto/hisilicon/qm.c
5665
if (!handle)
drivers/crypto/hisilicon/qm.c
5669
if (!acpi_has_method(handle, qm->err_info.acpi_rst))
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
132
void qat_hal_deinit(struct icp_qat_fw_loader_handle *handle);
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
133
int qat_hal_start(struct icp_qat_fw_loader_handle *handle);
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
134
void qat_hal_stop(struct icp_qat_fw_loader_handle *handle, unsigned char ae,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
136
void qat_hal_reset(struct icp_qat_fw_loader_handle *handle);
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
137
int qat_hal_clr_reset(struct icp_qat_fw_loader_handle *handle);
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
138
void qat_hal_set_live_ctx(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
140
int qat_hal_check_ae_active(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
142
int qat_hal_set_ae_lm_mode(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
145
int qat_hal_set_ae_ctx_mode(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
147
int qat_hal_set_ae_nn_mode(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
149
void qat_hal_set_pc(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
151
void qat_hal_wr_uwords(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
154
void qat_hal_wr_umem(struct icp_qat_fw_loader_handle *handle, unsigned char ae,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
158
int qat_hal_batch_wr_lm(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
161
int qat_hal_init_gpr(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
165
int qat_hal_init_wr_xfer(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
169
int qat_hal_init_rd_xfer(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
173
int qat_hal_init_nn(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
176
void qat_hal_set_ae_tindex_mode(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
178
int qat_uclo_wr_all_uimage(struct icp_qat_fw_loader_handle *handle);
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
179
void qat_uclo_del_obj(struct icp_qat_fw_loader_handle *handle);
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
180
int qat_uclo_wr_mimage(struct icp_qat_fw_loader_handle *handle, void *addr_ptr,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
182
int qat_uclo_map_obj(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
184
int qat_uclo_set_cfg_ae_mask(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
125
#define SET_CAP_CSR(handle, csr, val) \
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
126
ADF_CSR_WR((handle)->hal_cap_g_ctl_csr_addr_v, csr, val)
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
127
#define GET_CAP_CSR(handle, csr) \
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
128
ADF_CSR_RD((handle)->hal_cap_g_ctl_csr_addr_v, csr)
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
129
#define AE_CSR(handle, ae) \
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
130
((char __iomem *)(handle)->hal_cap_ae_local_csr_addr_v + ((ae) << 12))
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
131
#define AE_CSR_ADDR(handle, ae, csr) (AE_CSR(handle, ae) + (0x3ff & (csr)))
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
132
#define SET_AE_CSR(handle, ae, csr, val) \
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
133
ADF_CSR_WR(AE_CSR_ADDR(handle, ae, csr), 0, val)
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
134
#define GET_AE_CSR(handle, ae, csr) ADF_CSR_RD(AE_CSR_ADDR(handle, ae, csr), 0)
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
135
#define AE_XFER(handle, ae) \
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
136
((char __iomem *)(handle)->hal_cap_ae_xfer_csr_addr_v + ((ae) << 12))
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
137
#define AE_XFER_ADDR(handle, ae, reg) (AE_XFER(handle, ae) + \
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
139
#define SET_AE_XFER(handle, ae, reg, val) \
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
140
ADF_CSR_WR(AE_XFER_ADDR(handle, ae, reg), 0, val)
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
141
#define SRAM_WRITE(handle, addr, val) \
drivers/crypto/intel/qat/qat_common/icp_qat_hal.h
142
ADF_CSR_WR((handle)->hal_sram_addr_v, addr, val)
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
58
#define ICP_QAT_CSS_FWSK_MODULUS_LEN(handle) ((handle)->chip_info->css_3k ? \
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
62
#define ICP_QAT_CSS_FWSK_EXPONENT_LEN(handle) ((handle)->chip_info->css_3k ? \
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
66
#define ICP_QAT_CSS_FWSK_PAD_LEN(handle) ((handle)->chip_info->css_3k ? \
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
70
#define ICP_QAT_CSS_FWSK_PUB_LEN(handle) (ICP_QAT_CSS_FWSK_MODULUS_LEN(handle) + \
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
71
ICP_QAT_CSS_FWSK_EXPONENT_LEN(handle) + \
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
72
ICP_QAT_CSS_FWSK_PAD_LEN(handle))
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
74
#define ICP_QAT_CSS_SIGNATURE_LEN(handle) ((handle)->chip_info->css_3k ? \
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
78
#define ICP_QAT_AE_IMG_OFFSET(handle) (sizeof(struct icp_qat_css_hdr) + \
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
79
ICP_QAT_CSS_FWSK_MODULUS_LEN(handle) + \
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
80
ICP_QAT_CSS_FWSK_EXPONENT_LEN(handle) + \
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h
81
ICP_QAT_CSS_SIGNATURE_LEN(handle))
drivers/crypto/intel/qat/qat_common/qat_hal.c
100
if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS))
drivers/crypto/intel/qat/qat_common/qat_hal.c
1008
if ((inst_num > handle->hal_handle->max_ustore) || !micro_inst) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
1013
ind_lm_addr0 = qat_hal_rd_indr_csr(handle, ae, ctx, LM_ADDR_0_INDIRECT);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1014
ind_lm_addr1 = qat_hal_rd_indr_csr(handle, ae, ctx, LM_ADDR_1_INDIRECT);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1015
ind_lm_addr_byte0 = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1017
ind_lm_addr_byte1 = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1019
if (handle->chip_info->lm2lm3) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
1020
ind_lm_addr2 = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1022
ind_lm_addr3 = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1024
ind_lm_addr_byte2 = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1026
ind_lm_addr_byte3 = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1028
ind_t_index = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1030
ind_t_index_byte = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1034
qat_hal_get_uwords(handle, ae, 0, inst_num, savuwords);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1035
qat_hal_get_wakeup_event(handle, ae, ctx, &wakeup_events);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1036
savpc = qat_hal_rd_indr_csr(handle, ae, ctx, CTX_STS_INDIRECT);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1037
savpc = (savpc & handle->hal_handle->upc_mask) >> 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
1038
ctx_enables = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1040
savcc = qat_hal_rd_ae_csr(handle, ae, CC_ENABLE);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1041
savctx = qat_hal_rd_ae_csr(handle, ae, ACTIVE_CTX_STATUS);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1042
ctxarb_ctl = qat_hal_rd_ae_csr(handle, ae, CTX_ARB_CNTL);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1043
ind_cnt_sig = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1045
ind_sig = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1047
act_sig = qat_hal_rd_ae_csr(handle, ae, CTX_SIG_EVENTS_ACTIVE);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1049
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1050
qat_hal_wr_uwords(handle, ae, 0, inst_num, micro_inst);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1051
qat_hal_wr_indr_csr(handle, ae, (1 << ctx), CTX_STS_INDIRECT, 0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1052
qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS, ctx & ACS_ACNO);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1054
qat_hal_wr_ae_csr(handle, ae, CC_ENABLE, savcc & 0xffffdfff);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1055
qat_hal_put_wakeup_event(handle, ae, (1 << ctx), XCWE_VOLUNTARY);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1056
qat_hal_wr_indr_csr(handle, ae, (1 << ctx), CTX_SIG_EVENTS_INDIRECT, 0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1057
qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_ACTIVE, 0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1058
qat_hal_enable_ctx(handle, ae, (1 << ctx));
drivers/crypto/intel/qat/qat_common/qat_hal.c
1060
if (qat_hal_wait_cycles(handle, ae, max_cycle, 1) != 0)
drivers/crypto/intel/qat/qat_common/qat_hal.c
1065
ctx_status = qat_hal_rd_indr_csr(handle, ae, ctx,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1067
*endpc = ctx_status & handle->hal_handle->upc_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
1070
qat_hal_disable_ctx(handle, ae, (1 << ctx));
drivers/crypto/intel/qat/qat_common/qat_hal.c
1072
qat_hal_wr_uwords(handle, ae, 0, inst_num, savuwords);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1073
qat_hal_put_wakeup_event(handle, ae, (1 << ctx), wakeup_events);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1074
qat_hal_wr_indr_csr(handle, ae, (1 << ctx), CTX_STS_INDIRECT,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1075
handle->hal_handle->upc_mask & savpc);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1076
csr_val = qat_hal_rd_ae_csr(handle, ae, AE_MISC_CONTROL);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1078
qat_hal_wr_ae_csr(handle, ae, AE_MISC_CONTROL, newcsr_val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1079
qat_hal_wr_ae_csr(handle, ae, CC_ENABLE, savcc);
drivers/crypto/intel/qat/qat_common/qat_hal.c
108
static void qat_hal_get_wakeup_event(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1080
qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS, savctx & ACS_ACNO);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1081
qat_hal_wr_ae_csr(handle, ae, CTX_ARB_CNTL, ctxarb_ctl);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1082
qat_hal_wr_indr_csr(handle, ae, (1 << ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1084
qat_hal_wr_indr_csr(handle, ae, (1 << ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1086
qat_hal_wr_indr_csr(handle, ae, (1 << ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1088
qat_hal_wr_indr_csr(handle, ae, (1 << ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1090
if (handle->chip_info->lm2lm3) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
1091
qat_hal_wr_indr_csr(handle, ae, BIT(ctx), LM_ADDR_2_INDIRECT,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1093
qat_hal_wr_indr_csr(handle, ae, BIT(ctx), LM_ADDR_3_INDIRECT,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1095
qat_hal_wr_indr_csr(handle, ae, BIT(ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1098
qat_hal_wr_indr_csr(handle, ae, BIT(ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1101
qat_hal_wr_indr_csr(handle, ae, BIT(ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1103
qat_hal_wr_indr_csr(handle, ae, BIT(ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1107
qat_hal_wr_indr_csr(handle, ae, (1 << ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1109
qat_hal_wr_indr_csr(handle, ae, (1 << ctx),
drivers/crypto/intel/qat/qat_common/qat_hal.c
1111
qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_ACTIVE, act_sig);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1112
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1117
static int qat_hal_rd_rel_reg(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
114
cur_ctx = qat_hal_rd_ae_csr(handle, ae, CSR_CTX_POINTER);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1141
savctx = qat_hal_rd_ae_csr(handle, ae, ACTIVE_CTX_STATUS);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1142
ctxarb_cntl = qat_hal_rd_ae_csr(handle, ae, CTX_ARB_CNTL);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1143
ctx_enables = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1146
qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1148
qat_hal_get_uwords(handle, ae, 0, 1, &savuword);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1149
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables);
drivers/crypto/intel/qat/qat_common/qat_hal.c
115
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1150
ustore_addr = qat_hal_rd_ae_csr(handle, ae, USTORE_ADDRESS);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1152
qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1156
qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_LOWER, uwrd_lo);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1157
qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_UPPER, uwrd_hi);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1158
qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
116
*events = qat_hal_rd_ae_csr(handle, ae, CTX_WAKEUP_EVENTS_INDIRECT);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1160
qat_hal_wait_cycles(handle, ae, 0x8, 0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1166
*data = qat_hal_rd_ae_csr(handle, ae, ALU_OUT);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1167
qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, ustore_addr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1168
qat_hal_wr_uwords(handle, ae, 0, 1, &savuword);
drivers/crypto/intel/qat/qat_common/qat_hal.c
117
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1170
qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1172
qat_hal_wr_ae_csr(handle, ae, CTX_ARB_CNTL, ctxarb_cntl);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1173
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1178
static int qat_hal_wr_rel_reg(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
120
static int qat_hal_wait_cycles(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1221
return qat_hal_exec_micro_inst(handle, ae, ctx, insts, num_inst,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1259
static int qat_hal_exec_micro_init_lm(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1269
qat_hal_rd_rel_reg(handle, ae, ctx, ICP_GPA_REL, 0, &gpra0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1270
qat_hal_rd_rel_reg(handle, ae, ctx, ICP_GPA_REL, 0x1, &gpra1);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1271
qat_hal_rd_rel_reg(handle, ae, ctx, ICP_GPA_REL, 0x2, &gpra2);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1272
qat_hal_rd_rel_reg(handle, ae, ctx, ICP_GPB_REL, 0, &gprb0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1273
qat_hal_rd_rel_reg(handle, ae, ctx, ICP_GPB_REL, 0x1, &gprb1);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1276
stat = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, inst_num, 1,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1280
qat_hal_wr_rel_reg(handle, ae, ctx, ICP_GPA_REL, 0, gpra0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1281
qat_hal_wr_rel_reg(handle, ae, ctx, ICP_GPA_REL, 0x1, gpra1);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1282
qat_hal_wr_rel_reg(handle, ae, ctx, ICP_GPA_REL, 0x2, gpra2);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1283
qat_hal_wr_rel_reg(handle, ae, ctx, ICP_GPB_REL, 0, gprb0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1284
qat_hal_wr_rel_reg(handle, ae, ctx, ICP_GPB_REL, 0x1, gprb1);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1289
int qat_hal_batch_wr_lm(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
129
base_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1302
if ((unsigned int)alloc_inst_size > handle->hal_handle->max_ustore)
drivers/crypto/intel/qat/qat_common/qat_hal.c
1303
alloc_inst_size = handle->hal_handle->max_ustore;
drivers/crypto/intel/qat/qat_common/qat_hal.c
1324
stat = qat_hal_exec_micro_init_lm(handle, ae, 0, &first_exec,
drivers/crypto/intel/qat/qat_common/qat_hal.c
133
csr = qat_hal_rd_ae_csr(handle, ae, ACTIVE_CTX_STATUS);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1332
static int qat_hal_put_rel_rd_xfer(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1343
ctx_enables = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
135
cur_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1360
SET_AE_XFER(handle, ae, reg_addr, val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1364
SET_AE_XFER(handle, ae, (reg_addr + dr_offset), val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1373
static int qat_hal_put_rel_wr_xfer(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1393
ctx_enables = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1410
status = qat_hal_rd_rel_reg(handle, ae, ctx, ICP_GPB_REL, gprnum, &gprval);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1428
status = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, num_inst,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1430
qat_hal_wr_rel_reg(handle, ae, ctx, ICP_GPB_REL, gprnum, gprval);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1434
static int qat_hal_put_rel_nn(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1441
ctx_enables = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1443
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables | CE_NN_MODE);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1445
stat = qat_hal_put_rel_wr_xfer(handle, ae, ctx, ICP_NEIGH_REL, nn, val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1446
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1451
*handle, unsigned char ae,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1458
ctx_enables = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1471
int qat_hal_init_gpr(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1486
qat_hal_convert_abs_to_rel(handle, ae, reg_num, &reg,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1495
stat = qat_hal_wr_rel_reg(handle, ae, ctx, type, reg, regdata);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1505
int qat_hal_init_wr_xfer(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1520
qat_hal_convert_abs_to_rel(handle, ae, reg_num, &reg,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1529
stat = qat_hal_put_rel_wr_xfer(handle, ae, ctx, type, reg,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1540
int qat_hal_init_rd_xfer(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1555
qat_hal_convert_abs_to_rel(handle, ae, reg_num, &reg,
drivers/crypto/intel/qat/qat_common/qat_hal.c
156
int qat_hal_set_ae_ctx_mode(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1564
stat = qat_hal_put_rel_rd_xfer(handle, ae, ctx, type, reg,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1575
int qat_hal_init_nn(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
1581
if (!handle->chip_info->nn) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
1582
dev_err(&handle->pci_dev->dev, "QAT: No next neigh in 0x%x\n",
drivers/crypto/intel/qat/qat_common/qat_hal.c
1583
handle->pci_dev->device);
drivers/crypto/intel/qat/qat_common/qat_hal.c
1593
stat = qat_hal_put_rel_nn(handle, ae, ctx, reg_num, regdata);
drivers/crypto/intel/qat/qat_common/qat_hal.c
167
csr = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
172
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, new_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
176
int qat_hal_set_ae_nn_mode(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
181
csr = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
189
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, new_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
194
int qat_hal_set_ae_lm_mode(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
200
csr = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
229
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, new_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
233
void qat_hal_set_ae_tindex_mode(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
238
csr = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
244
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, new_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
302
void qat_hal_reset(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
304
unsigned int reset_mask = handle->chip_info->icp_rst_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
305
unsigned int reset_csr = handle->chip_info->icp_rst_csr;
drivers/crypto/intel/qat/qat_common/qat_hal.c
308
csr_val = GET_CAP_CSR(handle, reset_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
310
SET_CAP_CSR(handle, reset_csr, csr_val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
313
static void qat_hal_wr_indr_csr(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
319
cur_ctx = qat_hal_rd_ae_csr(handle, ae, CSR_CTX_POINTER);
drivers/crypto/intel/qat/qat_common/qat_hal.c
324
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
325
qat_hal_wr_ae_csr(handle, ae, ae_csr, csr_val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
328
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
331
static unsigned int qat_hal_rd_indr_csr(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
337
cur_ctx = qat_hal_rd_ae_csr(handle, ae, CSR_CTX_POINTER);
drivers/crypto/intel/qat/qat_common/qat_hal.c
338
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
339
csr_val = qat_hal_rd_ae_csr(handle, ae, ae_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
340
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
345
static void qat_hal_put_sig_event(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
351
cur_ctx = qat_hal_rd_ae_csr(handle, ae, CSR_CTX_POINTER);
drivers/crypto/intel/qat/qat_common/qat_hal.c
355
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
356
qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_INDIRECT, events);
drivers/crypto/intel/qat/qat_common/qat_hal.c
358
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
36
#define AE(handle, ae) ((handle)->hal_handle->aes[ae])
drivers/crypto/intel/qat/qat_common/qat_hal.c
361
static void qat_hal_put_wakeup_event(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
367
cur_ctx = qat_hal_rd_ae_csr(handle, ae, CSR_CTX_POINTER);
drivers/crypto/intel/qat/qat_common/qat_hal.c
371
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
372
qat_hal_wr_ae_csr(handle, ae, CTX_WAKEUP_EVENTS_INDIRECT,
drivers/crypto/intel/qat/qat_common/qat_hal.c
375
qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
378
static int qat_hal_check_ae_alive(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
380
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
385
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
386
base_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT);
drivers/crypto/intel/qat/qat_common/qat_hal.c
390
cur_cnt = qat_hal_rd_ae_csr(handle, ae, PROFILE_COUNT);
drivers/crypto/intel/qat/qat_common/qat_hal.c
403
int qat_hal_check_ae_active(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
408
enable = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
409
active = qat_hal_rd_ae_csr(handle, ae, ACTIVE_CTX_STATUS);
drivers/crypto/intel/qat/qat_common/qat_hal.c
417
static void qat_hal_reset_timestamp(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
419
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
423
misc_ctl_csr = handle->chip_info->misc_ctl_csr;
drivers/crypto/intel/qat/qat_common/qat_hal.c
425
misc_ctl = GET_CAP_CSR(handle, misc_ctl_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
427
SET_CAP_CSR(handle, misc_ctl_csr, misc_ctl &
drivers/crypto/intel/qat/qat_common/qat_hal.c
430
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
431
qat_hal_wr_ae_csr(handle, ae, TIMESTAMP_LOW, 0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
432
qat_hal_wr_ae_csr(handle, ae, TIMESTAMP_HIGH, 0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
435
SET_CAP_CSR(handle, misc_ctl_csr, misc_ctl | MC_TIMESTAMP_ENABLE);
drivers/crypto/intel/qat/qat_common/qat_hal.c
442
static int qat_hal_init_esram(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
445
(void __iomem *)((uintptr_t)handle->hal_ep_csr_addr_v +
drivers/crypto/intel/qat/qat_common/qat_hal.c
450
if (handle->pci_dev->device != PCI_DEVICE_ID_INTEL_QAT_DH895XCC)
drivers/crypto/intel/qat/qat_common/qat_hal.c
462
qat_hal_wait_cycles(handle, 0, ESRAM_AUTO_INIT_USED_CYCLES, 0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
473
int qat_hal_clr_reset(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
475
unsigned int clk_csr = handle->chip_info->glb_clk_enable_csr;
drivers/crypto/intel/qat/qat_common/qat_hal.c
476
unsigned int reset_mask = handle->chip_info->icp_rst_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
477
unsigned int reset_csr = handle->chip_info->icp_rst_csr;
drivers/crypto/intel/qat/qat_common/qat_hal.c
478
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
484
csr_val = GET_CAP_CSR(handle, reset_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
487
SET_CAP_CSR(handle, reset_csr, csr_val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
490
csr_val = GET_CAP_CSR(handle, reset_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
494
csr_val = GET_CAP_CSR(handle, clk_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
496
SET_CAP_CSR(handle, clk_csr, csr_val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
497
if (qat_hal_check_ae_alive(handle))
drivers/crypto/intel/qat/qat_common/qat_hal.c
501
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
502
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES,
drivers/crypto/intel/qat/qat_common/qat_hal.c
504
qat_hal_wr_indr_csr(handle, ae, ICP_QAT_UCLO_AE_ALL_CTX,
drivers/crypto/intel/qat/qat_common/qat_hal.c
506
handle->hal_handle->upc_mask &
drivers/crypto/intel/qat/qat_common/qat_hal.c
508
qat_hal_wr_ae_csr(handle, ae, CTX_ARB_CNTL, INIT_CTX_ARB_VALUE);
drivers/crypto/intel/qat/qat_common/qat_hal.c
509
qat_hal_wr_ae_csr(handle, ae, CC_ENABLE, INIT_CCENABLE_VALUE);
drivers/crypto/intel/qat/qat_common/qat_hal.c
510
qat_hal_put_wakeup_event(handle, ae,
drivers/crypto/intel/qat/qat_common/qat_hal.c
513
qat_hal_put_sig_event(handle, ae,
drivers/crypto/intel/qat/qat_common/qat_hal.c
517
if (qat_hal_init_esram(handle))
drivers/crypto/intel/qat/qat_common/qat_hal.c
519
if (qat_hal_wait_cycles(handle, 0, SHRAM_INIT_CYCLES, 0))
drivers/crypto/intel/qat/qat_common/qat_hal.c
521
qat_hal_reset_timestamp(handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
529
static void qat_hal_disable_ctx(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
534
ctx = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
537
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
570
void qat_hal_wr_uwords(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
577
ustore_addr = qat_hal_rd_ae_csr(handle, ae, USTORE_ADDRESS);
drivers/crypto/intel/qat/qat_common/qat_hal.c
579
qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
587
qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_LOWER, uwrd_lo);
drivers/crypto/intel/qat/qat_common/qat_hal.c
588
qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_UPPER, uwrd_hi);
drivers/crypto/intel/qat/qat_common/qat_hal.c
590
qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, ustore_addr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
593
static void qat_hal_enable_ctx(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
598
ctx = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
602
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx);
drivers/crypto/intel/qat/qat_common/qat_hal.c
605
static void qat_hal_clear_xfer(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
607
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
611
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
613
qat_hal_init_rd_xfer(handle, ae, 0, ICP_SR_RD_ABS,
drivers/crypto/intel/qat/qat_common/qat_hal.c
615
qat_hal_init_rd_xfer(handle, ae, 0, ICP_DR_RD_ABS,
drivers/crypto/intel/qat/qat_common/qat_hal.c
621
static int qat_hal_clear_gpr(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
623
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
631
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
632
csr_val = qat_hal_rd_ae_csr(handle, ae, AE_MISC_CONTROL);
drivers/crypto/intel/qat/qat_common/qat_hal.c
634
qat_hal_wr_ae_csr(handle, ae, AE_MISC_CONTROL, csr_val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
635
csr_val = qat_hal_rd_ae_csr(handle, ae, CTX_ENABLES);
drivers/crypto/intel/qat/qat_common/qat_hal.c
637
if (handle->chip_info->nn)
drivers/crypto/intel/qat/qat_common/qat_hal.c
640
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, csr_val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
641
qat_hal_wr_uwords(handle, ae, 0, ARRAY_SIZE(inst),
drivers/crypto/intel/qat/qat_common/qat_hal.c
643
qat_hal_wr_indr_csr(handle, ae, ctx_mask, CTX_STS_INDIRECT,
drivers/crypto/intel/qat/qat_common/qat_hal.c
644
handle->hal_handle->upc_mask &
drivers/crypto/intel/qat/qat_common/qat_hal.c
646
savctx = qat_hal_rd_ae_csr(handle, ae, ACTIVE_CTX_STATUS);
drivers/crypto/intel/qat/qat_common/qat_hal.c
647
qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS, 0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
648
qat_hal_put_wakeup_event(handle, ae, ctx_mask, XCWE_VOLUNTARY);
drivers/crypto/intel/qat/qat_common/qat_hal.c
649
qat_hal_wr_indr_csr(handle, ae, ctx_mask,
drivers/crypto/intel/qat/qat_common/qat_hal.c
651
qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_ACTIVE, 0);
drivers/crypto/intel/qat/qat_common/qat_hal.c
652
qat_hal_enable_ctx(handle, ae, ctx_mask);
drivers/crypto/intel/qat/qat_common/qat_hal.c
654
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
657
ret = qat_hal_wait_cycles(handle, ae, 20, 1);
drivers/crypto/intel/qat/qat_common/qat_hal.c
664
qat_hal_disable_ctx(handle, ae, ctx_mask);
drivers/crypto/intel/qat/qat_common/qat_hal.c
665
qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS,
drivers/crypto/intel/qat/qat_common/qat_hal.c
667
qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES,
drivers/crypto/intel/qat/qat_common/qat_hal.c
669
qat_hal_wr_indr_csr(handle, ae, ctx_mask, CTX_STS_INDIRECT,
drivers/crypto/intel/qat/qat_common/qat_hal.c
670
handle->hal_handle->upc_mask &
drivers/crypto/intel/qat/qat_common/qat_hal.c
672
qat_hal_wr_ae_csr(handle, ae, CTX_ARB_CNTL, INIT_CTX_ARB_VALUE);
drivers/crypto/intel/qat/qat_common/qat_hal.c
673
qat_hal_wr_ae_csr(handle, ae, CC_ENABLE, INIT_CCENABLE_VALUE);
drivers/crypto/intel/qat/qat_common/qat_hal.c
674
qat_hal_put_wakeup_event(handle, ae, ctx_mask,
drivers/crypto/intel/qat/qat_common/qat_hal.c
676
qat_hal_put_sig_event(handle, ae, ctx_mask,
drivers/crypto/intel/qat/qat_common/qat_hal.c
682
static int qat_hal_chip_init(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
69
void qat_hal_set_live_ctx(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
695
handle->pci_dev = pci_info->pci_dev;
drivers/crypto/intel/qat/qat_common/qat_hal.c
696
switch (handle->pci_dev->device) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
702
handle->chip_info->mmp_sram_size = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
703
handle->chip_info->nn = false;
drivers/crypto/intel/qat/qat_common/qat_hal.c
704
handle->chip_info->lm2lm3 = true;
drivers/crypto/intel/qat/qat_common/qat_hal.c
705
handle->chip_info->lm_size = ICP_QAT_UCLO_MAX_LMEM_REG_2X;
drivers/crypto/intel/qat/qat_common/qat_hal.c
706
handle->chip_info->icp_rst_csr = ICP_RESET_CPP0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
707
if (handle->pci_dev->device == PCI_DEVICE_ID_INTEL_QAT_420XX)
drivers/crypto/intel/qat/qat_common/qat_hal.c
708
handle->chip_info->icp_rst_mask = 0x100155;
drivers/crypto/intel/qat/qat_common/qat_hal.c
710
handle->chip_info->icp_rst_mask = 0x100015;
drivers/crypto/intel/qat/qat_common/qat_hal.c
711
handle->chip_info->glb_clk_enable_csr = ICP_GLOBAL_CLK_ENABLE_CPP0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
712
handle->chip_info->misc_ctl_csr = MISC_CONTROL_C4XXX;
drivers/crypto/intel/qat/qat_common/qat_hal.c
713
handle->chip_info->wakeup_event_val = 0x80000000;
drivers/crypto/intel/qat/qat_common/qat_hal.c
714
handle->chip_info->fw_auth = true;
drivers/crypto/intel/qat/qat_common/qat_hal.c
715
handle->chip_info->css_3k = true;
drivers/crypto/intel/qat/qat_common/qat_hal.c
716
if (handle->pci_dev->device == PCI_DEVICE_ID_INTEL_QAT_6XXX)
drivers/crypto/intel/qat/qat_common/qat_hal.c
717
handle->chip_info->dual_sign = true;
drivers/crypto/intel/qat/qat_common/qat_hal.c
718
handle->chip_info->tgroup_share_ustore = true;
drivers/crypto/intel/qat/qat_common/qat_hal.c
719
handle->chip_info->fcu_ctl_csr = FCU_CONTROL_4XXX;
drivers/crypto/intel/qat/qat_common/qat_hal.c
72
AE(handle, ae).live_ctx_mask = ctx_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
720
handle->chip_info->fcu_sts_csr = FCU_STATUS_4XXX;
drivers/crypto/intel/qat/qat_common/qat_hal.c
721
handle->chip_info->fcu_dram_addr_hi = FCU_DRAM_ADDR_HI_4XXX;
drivers/crypto/intel/qat/qat_common/qat_hal.c
722
handle->chip_info->fcu_dram_addr_lo = FCU_DRAM_ADDR_LO_4XXX;
drivers/crypto/intel/qat/qat_common/qat_hal.c
723
handle->chip_info->fcu_loaded_ae_csr = FCU_AE_LOADED_4XXX;
drivers/crypto/intel/qat/qat_common/qat_hal.c
724
handle->chip_info->fcu_loaded_ae_pos = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
726
handle->hal_cap_g_ctl_csr_addr_v = pmisc_addr + ICP_QAT_CAP_OFFSET_4XXX;
drivers/crypto/intel/qat/qat_common/qat_hal.c
727
handle->hal_cap_ae_xfer_csr_addr_v = pmisc_addr + ICP_QAT_AE_OFFSET_4XXX;
drivers/crypto/intel/qat/qat_common/qat_hal.c
728
handle->hal_ep_csr_addr_v = pmisc_addr + ICP_QAT_EP_OFFSET_4XXX;
drivers/crypto/intel/qat/qat_common/qat_hal.c
729
handle->hal_cap_ae_local_csr_addr_v =
drivers/crypto/intel/qat/qat_common/qat_hal.c
730
(void __iomem *)((uintptr_t)handle->hal_cap_ae_xfer_csr_addr_v
drivers/crypto/intel/qat/qat_common/qat_hal.c
735
handle->chip_info->mmp_sram_size = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
736
handle->chip_info->nn = true;
drivers/crypto/intel/qat/qat_common/qat_hal.c
737
handle->chip_info->lm2lm3 = false;
drivers/crypto/intel/qat/qat_common/qat_hal.c
738
handle->chip_info->lm_size = ICP_QAT_UCLO_MAX_LMEM_REG;
drivers/crypto/intel/qat/qat_common/qat_hal.c
739
handle->chip_info->icp_rst_csr = ICP_RESET;
drivers/crypto/intel/qat/qat_common/qat_hal.c
740
handle->chip_info->icp_rst_mask = (hw_data->ae_mask << RST_CSR_AE_LSB) |
drivers/crypto/intel/qat/qat_common/qat_hal.c
742
handle->chip_info->glb_clk_enable_csr = ICP_GLOBAL_CLK_ENABLE;
drivers/crypto/intel/qat/qat_common/qat_hal.c
743
handle->chip_info->misc_ctl_csr = MISC_CONTROL;
drivers/crypto/intel/qat/qat_common/qat_hal.c
744
handle->chip_info->wakeup_event_val = WAKEUP_EVENT;
drivers/crypto/intel/qat/qat_common/qat_hal.c
745
handle->chip_info->fw_auth = true;
drivers/crypto/intel/qat/qat_common/qat_hal.c
746
handle->chip_info->css_3k = false;
drivers/crypto/intel/qat/qat_common/qat_hal.c
747
handle->chip_info->tgroup_share_ustore = false;
drivers/crypto/intel/qat/qat_common/qat_hal.c
748
handle->chip_info->fcu_ctl_csr = FCU_CONTROL;
drivers/crypto/intel/qat/qat_common/qat_hal.c
749
handle->chip_info->fcu_sts_csr = FCU_STATUS;
drivers/crypto/intel/qat/qat_common/qat_hal.c
750
handle->chip_info->fcu_dram_addr_hi = FCU_DRAM_ADDR_HI;
drivers/crypto/intel/qat/qat_common/qat_hal.c
751
handle->chip_info->fcu_dram_addr_lo = FCU_DRAM_ADDR_LO;
drivers/crypto/intel/qat/qat_common/qat_hal.c
752
handle->chip_info->fcu_loaded_ae_csr = FCU_STATUS;
drivers/crypto/intel/qat/qat_common/qat_hal.c
753
handle->chip_info->fcu_loaded_ae_pos = FCU_LOADED_AE_POS;
drivers/crypto/intel/qat/qat_common/qat_hal.c
754
handle->hal_cap_g_ctl_csr_addr_v = pmisc_addr + ICP_QAT_CAP_OFFSET;
drivers/crypto/intel/qat/qat_common/qat_hal.c
755
handle->hal_cap_ae_xfer_csr_addr_v = pmisc_addr + ICP_QAT_AE_OFFSET;
drivers/crypto/intel/qat/qat_common/qat_hal.c
756
handle->hal_ep_csr_addr_v = pmisc_addr + ICP_QAT_EP_OFFSET;
drivers/crypto/intel/qat/qat_common/qat_hal.c
757
handle->hal_cap_ae_local_csr_addr_v =
drivers/crypto/intel/qat/qat_common/qat_hal.c
758
(void __iomem *)((uintptr_t)handle->hal_cap_ae_xfer_csr_addr_v
drivers/crypto/intel/qat/qat_common/qat_hal.c
76
static int qat_hal_rd_ae_csr(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
762
handle->chip_info->mmp_sram_size = 0x40000;
drivers/crypto/intel/qat/qat_common/qat_hal.c
763
handle->chip_info->nn = true;
drivers/crypto/intel/qat/qat_common/qat_hal.c
764
handle->chip_info->lm2lm3 = false;
drivers/crypto/intel/qat/qat_common/qat_hal.c
765
handle->chip_info->lm_size = ICP_QAT_UCLO_MAX_LMEM_REG;
drivers/crypto/intel/qat/qat_common/qat_hal.c
766
handle->chip_info->icp_rst_csr = ICP_RESET;
drivers/crypto/intel/qat/qat_common/qat_hal.c
767
handle->chip_info->icp_rst_mask = (hw_data->ae_mask << RST_CSR_AE_LSB) |
drivers/crypto/intel/qat/qat_common/qat_hal.c
769
handle->chip_info->glb_clk_enable_csr = ICP_GLOBAL_CLK_ENABLE;
drivers/crypto/intel/qat/qat_common/qat_hal.c
770
handle->chip_info->misc_ctl_csr = MISC_CONTROL;
drivers/crypto/intel/qat/qat_common/qat_hal.c
771
handle->chip_info->wakeup_event_val = WAKEUP_EVENT;
drivers/crypto/intel/qat/qat_common/qat_hal.c
772
handle->chip_info->fw_auth = false;
drivers/crypto/intel/qat/qat_common/qat_hal.c
773
handle->chip_info->css_3k = false;
drivers/crypto/intel/qat/qat_common/qat_hal.c
774
handle->chip_info->tgroup_share_ustore = false;
drivers/crypto/intel/qat/qat_common/qat_hal.c
775
handle->chip_info->fcu_ctl_csr = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
776
handle->chip_info->fcu_sts_csr = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
777
handle->chip_info->fcu_dram_addr_hi = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
778
handle->chip_info->fcu_dram_addr_lo = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
779
handle->chip_info->fcu_loaded_ae_csr = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
780
handle->chip_info->fcu_loaded_ae_pos = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
781
handle->hal_cap_g_ctl_csr_addr_v = pmisc_addr + ICP_QAT_CAP_OFFSET;
drivers/crypto/intel/qat/qat_common/qat_hal.c
782
handle->hal_cap_ae_xfer_csr_addr_v = pmisc_addr + ICP_QAT_AE_OFFSET;
drivers/crypto/intel/qat/qat_common/qat_hal.c
783
handle->hal_ep_csr_addr_v = pmisc_addr + ICP_QAT_EP_OFFSET;
drivers/crypto/intel/qat/qat_common/qat_hal.c
784
handle->hal_cap_ae_local_csr_addr_v =
drivers/crypto/intel/qat/qat_common/qat_hal.c
785
(void __iomem *)((uintptr_t)handle->hal_cap_ae_xfer_csr_addr_v
drivers/crypto/intel/qat/qat_common/qat_hal.c
793
if (handle->chip_info->mmp_sram_size > 0) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
796
handle->hal_sram_addr_v = sram_bar->virt_addr;
drivers/crypto/intel/qat/qat_common/qat_hal.c
798
handle->hal_handle->revision_id = accel_dev->accel_pci_dev.revid;
drivers/crypto/intel/qat/qat_common/qat_hal.c
799
handle->hal_handle->ae_mask = hw_data->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
800
handle->hal_handle->admin_ae_mask = hw_data->admin_ae_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
801
handle->hal_handle->slice_mask = hw_data->accel_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
802
handle->cfg_ae_mask = ALL_AE_MASK;
drivers/crypto/intel/qat/qat_common/qat_hal.c
804
handle->hal_handle->upc_mask = 0x1ffff;
drivers/crypto/intel/qat/qat_common/qat_hal.c
805
handle->hal_handle->max_ustore = 0x4000;
drivers/crypto/intel/qat/qat_common/qat_hal.c
807
ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
809
handle->hal_handle->aes[ae].free_addr = 0;
drivers/crypto/intel/qat/qat_common/qat_hal.c
810
handle->hal_handle->aes[ae].free_size =
drivers/crypto/intel/qat/qat_common/qat_hal.c
811
handle->hal_handle->max_ustore;
drivers/crypto/intel/qat/qat_common/qat_hal.c
812
handle->hal_handle->aes[ae].ustore_size =
drivers/crypto/intel/qat/qat_common/qat_hal.c
813
handle->hal_handle->max_ustore;
drivers/crypto/intel/qat/qat_common/qat_hal.c
814
handle->hal_handle->aes[ae].live_ctx_mask =
drivers/crypto/intel/qat/qat_common/qat_hal.c
818
handle->hal_handle->ae_max_num = max_en_ae_id + 1;
drivers/crypto/intel/qat/qat_common/qat_hal.c
821
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
822
csr_val = qat_hal_rd_ae_csr(handle, ae, SIGNATURE_ENABLE);
drivers/crypto/intel/qat/qat_common/qat_hal.c
824
qat_hal_wr_ae_csr(handle, ae, SIGNATURE_ENABLE, csr_val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
83
value = GET_AE_CSR(handle, ae, csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
832
struct icp_qat_fw_loader_handle *handle;
drivers/crypto/intel/qat/qat_common/qat_hal.c
835
handle = kzalloc_obj(*handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
836
if (!handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
839
handle->hal_handle = kzalloc_obj(*handle->hal_handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
84
if (!(GET_AE_CSR(handle, ae, LOCAL_CSR_STATUS) & LCS_STATUS))
drivers/crypto/intel/qat/qat_common/qat_hal.c
840
if (!handle->hal_handle) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
845
handle->chip_info = kzalloc_obj(*handle->chip_info);
drivers/crypto/intel/qat/qat_common/qat_hal.c
846
if (!handle->chip_info) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
851
ret = qat_hal_chip_init(handle, accel_dev);
drivers/crypto/intel/qat/qat_common/qat_hal.c
858
ret = qat_hal_clr_reset(handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
864
qat_hal_clear_xfer(handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
865
if (!handle->chip_info->fw_auth) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
866
ret = qat_hal_clear_gpr(handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
871
accel_dev->fw_loader->fw_loader = handle;
drivers/crypto/intel/qat/qat_common/qat_hal.c
875
kfree(handle->chip_info);
drivers/crypto/intel/qat/qat_common/qat_hal.c
877
kfree(handle->hal_handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
879
kfree(handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
883
void qat_hal_deinit(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
885
if (!handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
887
kfree(handle->chip_info);
drivers/crypto/intel/qat/qat_common/qat_hal.c
888
kfree(handle->hal_handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
889
kfree(handle);
drivers/crypto/intel/qat/qat_common/qat_hal.c
892
int qat_hal_start(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_hal.c
894
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_hal.c
895
u32 wakeup_val = handle->chip_info->wakeup_event_val;
drivers/crypto/intel/qat/qat_common/qat_hal.c
902
if (handle->chip_info->fw_auth) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
903
fcu_ctl_csr = handle->chip_info->fcu_ctl_csr;
drivers/crypto/intel/qat/qat_common/qat_hal.c
904
fcu_sts_csr = handle->chip_info->fcu_sts_csr;
drivers/crypto/intel/qat/qat_common/qat_hal.c
906
SET_CAP_CSR(handle, fcu_ctl_csr, FCU_CTRL_CMD_START);
drivers/crypto/intel/qat/qat_common/qat_hal.c
909
fcu_sts = GET_CAP_CSR(handle, fcu_sts_csr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
916
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_hal.c
917
qat_hal_put_wakeup_event(handle, ae, 0, wakeup_val);
drivers/crypto/intel/qat/qat_common/qat_hal.c
918
qat_hal_enable_ctx(handle, ae, ICP_QAT_UCLO_AE_ALL_CTX);
drivers/crypto/intel/qat/qat_common/qat_hal.c
92
static int qat_hal_wr_ae_csr(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
925
void qat_hal_stop(struct icp_qat_fw_loader_handle *handle, unsigned char ae,
drivers/crypto/intel/qat/qat_common/qat_hal.c
928
if (!handle->chip_info->fw_auth)
drivers/crypto/intel/qat/qat_common/qat_hal.c
929
qat_hal_disable_ctx(handle, ae, ctx_mask);
drivers/crypto/intel/qat/qat_common/qat_hal.c
932
void qat_hal_set_pc(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
935
qat_hal_wr_indr_csr(handle, ae, ctx_mask, CTX_STS_INDIRECT,
drivers/crypto/intel/qat/qat_common/qat_hal.c
936
handle->hal_handle->upc_mask & upc);
drivers/crypto/intel/qat/qat_common/qat_hal.c
939
static void qat_hal_get_uwords(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
946
misc_control = qat_hal_rd_ae_csr(handle, ae, AE_MISC_CONTROL);
drivers/crypto/intel/qat/qat_common/qat_hal.c
947
qat_hal_wr_ae_csr(handle, ae, AE_MISC_CONTROL,
drivers/crypto/intel/qat/qat_common/qat_hal.c
949
ustore_addr = qat_hal_rd_ae_csr(handle, ae, USTORE_ADDRESS);
drivers/crypto/intel/qat/qat_common/qat_hal.c
952
qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
954
uwrd_lo = qat_hal_rd_ae_csr(handle, ae, USTORE_DATA_LOWER);
drivers/crypto/intel/qat/qat_common/qat_hal.c
955
uwrd_hi = qat_hal_rd_ae_csr(handle, ae, USTORE_DATA_UPPER);
drivers/crypto/intel/qat/qat_common/qat_hal.c
959
qat_hal_wr_ae_csr(handle, ae, AE_MISC_CONTROL, misc_control);
drivers/crypto/intel/qat/qat_common/qat_hal.c
960
qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, ustore_addr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
963
void qat_hal_wr_umem(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
969
ustore_addr = qat_hal_rd_ae_csr(handle, ae, USTORE_ADDRESS);
drivers/crypto/intel/qat/qat_common/qat_hal.c
971
qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
982
qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_LOWER, uwrd_lo);
drivers/crypto/intel/qat/qat_common/qat_hal.c
983
qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_UPPER, uwrd_hi);
drivers/crypto/intel/qat/qat_common/qat_hal.c
985
qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, ustore_addr);
drivers/crypto/intel/qat/qat_common/qat_hal.c
989
static int qat_hal_exec_micro_inst(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_hal.c
99
SET_AE_CSR(handle, ae, csr, value);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1012
if (qat_uclo_map_ae(handle, handle->hal_handle->ae_max_num)) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1016
qat_uclo_init_uword_num(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1019
if (qat_uclo_set_ae_mode(handle))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1030
static unsigned int qat_uclo_simg_hdr2sign_len(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1032
if (handle->chip_info->dual_sign)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1035
return ICP_QAT_AE_IMG_OFFSET(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1038
static unsigned int qat_uclo_simg_hdr2cont_len(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1040
if (handle->chip_info->dual_sign)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1043
return ICP_QAT_AE_IMG_OFFSET(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1046
static unsigned int qat_uclo_simg_fw_type(struct icp_qat_fw_loader_handle *handle, void *img_ptr)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1052
if (handle->chip_info->dual_sign) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1053
offset = qat_uclo_simg_hdr2sign_len(handle) + ICP_QAT_DUALSIGN_FW_TYPE_LEN;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1060
static int qat_uclo_map_suof_file_hdr(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1066
struct icp_qat_suof_handle *suof_handle = handle->sobj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1086
static void qat_uclo_map_simg(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1090
struct icp_qat_suof_handle *suof_handle = handle->sobj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1091
unsigned int offset = qat_uclo_simg_hdr2cont_len(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1127
static int qat_uclo_check_simg_compat(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1133
prod_type = qat_uclo_get_dev_type(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1136
(PID_MINOR_REV & handle->hal_handle->revision_id);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1150
static void qat_uclo_del_suof(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1152
struct icp_qat_suof_handle *sobj_handle = handle->sobj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1156
kfree(handle->sobj_handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1157
handle->sobj_handle = NULL;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1175
static int qat_uclo_map_suof(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1179
struct icp_qat_suof_handle *suof_handle = handle->sobj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1192
ret = qat_uclo_map_suof_file_hdr(handle, suof_ptr, suof_size);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1209
qat_uclo_map_simg(handle, &suof_img_hdr[i],
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1211
ret = qat_uclo_check_simg_compat(handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1215
suof_img_hdr[i].ae_mask &= handle->cfg_ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1220
if (!handle->chip_info->tgroup_share_ustore) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1230
static int qat_uclo_auth_fw(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1241
fcu_ctl_csr = handle->chip_info->fcu_ctl_csr;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1242
fcu_sts_csr = handle->chip_info->fcu_sts_csr;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1243
fcu_dram_hi_csr = handle->chip_info->fcu_dram_addr_hi;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1244
fcu_dram_lo_csr = handle->chip_info->fcu_dram_addr_lo;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1246
SET_CAP_CSR(handle, fcu_dram_hi_csr, bus_addr >> BITS_PER_TYPE(u32));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1247
SET_CAP_CSR(handle, fcu_dram_lo_csr, bus_addr);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1248
SET_CAP_CSR(handle, fcu_ctl_csr, FCU_CTRL_CMD_AUTH);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1252
fcu_sts = GET_CAP_CSR(handle, fcu_sts_csr);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1265
static bool qat_uclo_is_broadcast(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1270
if (!handle->chip_info->tgroup_share_ustore)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1273
sobj_handle = (struct icp_qat_suof_handle *)handle->sobj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1274
if (handle->hal_handle->admin_ae_mask &
drivers/crypto/intel/qat/qat_common/qat_uclo.c
128
static void qat_uclo_wr_sram_by_words(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1281
static int qat_uclo_broadcast_load_fw(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1284
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1291
if (handle->chip_info->tgroup_share_ustore) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1292
fcu_ctl_csr = handle->chip_info->fcu_ctl_csr;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1293
fcu_sts_csr = handle->chip_info->fcu_sts_csr;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1294
fcu_loaded_csr = handle->chip_info->fcu_loaded_ae_csr;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1296
pr_err("Chip 0x%x doesn't support broadcast load\n", handle->pci_dev->device);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1300
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1301
if (qat_hal_check_ae_active(handle, (unsigned char)ae)) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1311
SET_CAP_CSR(handle, FCU_ME_BROADCAST_MASK_TYPE,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1314
SET_CAP_CSR(handle, fcu_ctl_csr, FCU_CTRL_CMD_LOAD);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1318
fcu_sts = GET_CAP_CSR(handle, fcu_sts_csr);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1325
ae_loaded = GET_CAP_CSR(handle, fcu_loaded_csr);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1326
ae_loaded >>= handle->chip_info->fcu_loaded_ae_pos;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1341
static int qat_uclo_simg_alloc(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1348
vptr = dma_alloc_coherent(&handle->pci_dev->dev,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1358
static void qat_uclo_simg_free(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1361
if (handle && dram_desc && dram_desc->dram_base_addr_v) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1362
dma_free_coherent(&handle->pci_dev->dev,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
137
SRAM_WRITE(handle, addr, outval);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1372
static void qat_uclo_ummap_auth_fw(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1383
qat_uclo_simg_free(handle, &dram_desc);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1387
static int qat_uclo_check_image(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1396
if (handle->chip_info->fw_auth) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1397
header_len = qat_uclo_simg_hdr2sign_len(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1398
simg_type = qat_uclo_simg_fw_type(handle, image);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1401
if (handle->chip_info->dual_sign) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
144
static void qat_uclo_wr_umem_by_words(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1443
static int qat_uclo_build_auth_desc_RSA(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1471
memcpy(virt_addr, image + sizeof(*css_hdr), ICP_QAT_CSS_FWSK_MODULUS_LEN(handle));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1473
memset((void *)(uintptr_t)(virt_addr + ICP_QAT_CSS_FWSK_MODULUS_LEN(handle)),
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1474
0, ICP_QAT_CSS_FWSK_PAD_LEN(handle));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1477
memcpy(virt_addr + ICP_QAT_CSS_FWSK_MODULUS_LEN(handle) +
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1478
ICP_QAT_CSS_FWSK_PAD_LEN(handle), image + sizeof(*css_hdr) +
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1479
ICP_QAT_CSS_FWSK_MODULUS_LEN(handle), sizeof(unsigned int));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1484
ICP_QAT_CSS_FWSK_PUB_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1485
virt_addr = virt_addr + ICP_QAT_CSS_FWSK_PUB_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1489
memcpy(virt_addr, image + sizeof(*css_hdr) + ICP_QAT_CSS_FWSK_MODULUS_LEN(handle) +
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1490
ICP_QAT_CSS_FWSK_EXPONENT_LEN(handle), ICP_QAT_CSS_SIGNATURE_LEN(handle));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1494
ICP_QAT_CSS_SIGNATURE_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1495
virt_addr += ICP_QAT_CSS_SIGNATURE_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1499
auth_desc->img_len = size - qat_uclo_simg_hdr2sign_len(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1503
qat_uclo_simg_free(handle, dram_desc);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1507
memcpy(virt_addr, image + qat_uclo_simg_hdr2sign_len(handle), auth_desc->img_len);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1523
virt_addr += ICP_QAT_CSS_FWSK_PUB_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1524
virt_addr += ICP_QAT_CSS_SIGNATURE_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1526
auth_desc->ae_mask = simg_ae_mode->ae_mask & handle->cfg_ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1535
static int qat_uclo_build_auth_desc_dualsign(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1552
auth_desc->img_len = size - qat_uclo_simg_hdr2sign_len(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
156
qat_hal_wr_umem(handle, ae, addr++, 1, &outval);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1564
memcpy(virt_addr + chunk_offset, image + img_offset, ICP_QAT_CSS_FWSK_MODULUS_LEN(handle));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1566
img_offset += ICP_QAT_CSS_FWSK_MODULUS_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1567
chunk_offset += ICP_QAT_CSS_FWSK_MODULUS_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1569
memset(virt_addr + chunk_offset, 0, ICP_QAT_CSS_FWSK_PAD_LEN(handle));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1571
chunk_offset += ICP_QAT_CSS_FWSK_PAD_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1573
memcpy(virt_addr + chunk_offset, image + img_offset, ICP_QAT_CSS_FWSK_EXPONENT_LEN(handle));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1575
img_offset += ICP_QAT_CSS_FWSK_EXPONENT_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1576
chunk_offset += ICP_QAT_CSS_FWSK_EXPONENT_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1581
memcpy(virt_addr + chunk_offset, image + img_offset, ICP_QAT_CSS_SIGNATURE_LEN(handle));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1583
img_offset += ICP_QAT_CSS_SIGNATURE_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1584
chunk_offset += ICP_QAT_CSS_SIGNATURE_LEN(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
162
static void qat_uclo_batch_wr_umem(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1622
auth_desc->ae_mask = simg_ae_mode->ae_mask & handle->cfg_ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1644
static int qat_uclo_map_auth_fw(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1653
ret = qat_uclo_simg_alloc(handle, &img_desc, ICP_QAT_CSS_RSA4K_MAX_IMAGE_LEN);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1657
simg_fw_type = qat_uclo_simg_fw_type(handle, image);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1662
if (handle->chip_info->dual_sign)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1663
return qat_uclo_build_auth_desc_dualsign(handle, image, size, &img_desc,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1666
return qat_uclo_build_auth_desc_RSA(handle, image, size, &img_desc,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1670
static int qat_uclo_load_fw(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1673
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1679
fcu_ctl_csr = handle->chip_info->fcu_ctl_csr;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1680
fcu_sts_csr = handle->chip_info->fcu_sts_csr;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1681
loaded_csr = handle->chip_info->fcu_loaded_ae_csr;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1683
for_each_set_bit(i, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1688
if (qat_hal_check_ae_active(handle, i)) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1692
SET_CAP_CSR(handle, fcu_ctl_csr,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1699
fcu_sts = GET_CAP_CSR(handle, fcu_sts_csr);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1702
loaded_aes = GET_CAP_CSR(handle, loaded_csr);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1703
loaded_aes >>= handle->chip_info->fcu_loaded_ae_pos;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1716
static int qat_uclo_map_suof_obj(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1724
handle->sobj_handle = suof_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1725
if (qat_uclo_map_suof(handle, addr_ptr, mem_size)) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1726
qat_uclo_del_suof(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1733
int qat_uclo_wr_mimage(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1740
ret = qat_uclo_check_image(handle, addr_ptr, mem_size, CSS_MMP_FIRMWARE);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1744
if (handle->chip_info->fw_auth) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1745
status = qat_uclo_map_auth_fw(handle, addr_ptr, mem_size, &desc);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1747
status = qat_uclo_auth_fw(handle, desc);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1748
qat_uclo_ummap_auth_fw(handle, &desc);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1750
if (handle->chip_info->mmp_sram_size < mem_size) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1754
qat_uclo_wr_sram_by_words(handle, 0, addr_ptr, mem_size);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1759
static int qat_uclo_map_uof_obj(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1780
handle->obj_handle = objhdl;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1781
if (qat_uclo_parse_uof_obj(handle))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1786
handle->obj_handle = NULL;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
179
qat_uclo_wr_umem_by_words(handle, ae, addr, value, size);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1795
static int qat_uclo_map_mof_file_hdr(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1799
struct icp_qat_mof_handle *mobj_handle = handle->mobj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1822
static void qat_uclo_del_mof(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1824
struct icp_qat_mof_handle *mobj_handle = handle->mobj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1828
kfree(handle->mobj_handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1829
handle->mobj_handle = NULL;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
185
qat_uclo_cleanup_batch_init_list(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
1982
static int qat_uclo_map_mof_obj(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2008
handle->mobj_handle = mobj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2009
ret = qat_uclo_map_mof_file_hdr(handle, mof_ptr, mof_size);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2034
int qat_uclo_map_obj(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2042
(sizeof(handle->hal_handle->ae_mask) * 8));
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2044
if (!handle || !addr_ptr || mem_size < 24)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2048
ret = qat_uclo_map_mof_obj(handle, addr_ptr, mem_size, obj_name,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2057
return (handle->chip_info->fw_auth) ?
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2058
qat_uclo_map_suof_obj(handle, obj_addr, obj_size) :
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2059
qat_uclo_map_uof_obj(handle, obj_addr, obj_size);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2062
void qat_uclo_del_obj(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2064
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2067
if (handle->mobj_handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2068
qat_uclo_del_mof(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2069
if (handle->sobj_handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2070
qat_uclo_del_suof(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2078
for (a = 0; a < handle->hal_handle->ae_max_num; a++)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2084
handle->obj_handle = NULL;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2117
static void qat_uclo_wr_uimage_raw_page(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2122
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
213
static int qat_uclo_fetch_initmem_ae(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2143
qat_hal_wr_uwords(handle, (unsigned char)ae,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2153
static void qat_uclo_wr_uimage_page(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2156
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2157
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2158
unsigned long cfg_ae_mask = handle->cfg_ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
217
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2172
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2191
qat_uclo_wr_uimage_raw_page(handle, page->encap_page, ae);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2197
qat_hal_set_live_ctx(handle, (unsigned char)ae,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2199
qat_hal_set_pc(handle, (unsigned char)ae, image->ctx_assigned,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2204
static int qat_uclo_wr_suof_img(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2208
struct icp_qat_suof_handle *sobj_handle = handle->sobj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2213
ret = qat_uclo_check_image(handle, simg_hdr[i].simg_buf,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2219
if (qat_uclo_map_auth_fw(handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2225
if (qat_uclo_auth_fw(handle, desc))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2227
if (qat_uclo_is_broadcast(handle, i)) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2228
if (qat_uclo_broadcast_load_fw(handle, desc))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2231
if (qat_uclo_load_fw(handle, desc))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2234
qat_uclo_ummap_auth_fw(handle, &desc);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2238
qat_uclo_ummap_auth_fw(handle, &desc);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2242
static int qat_uclo_wr_uof_img(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2244
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2247
if (qat_uclo_init_globals(handle))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2252
if (qat_uclo_init_ustore(handle, &obj_handle->ae_uimage[i]))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2254
qat_uclo_wr_uimage_page(handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2260
int qat_uclo_wr_all_uimage(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2262
return (handle->chip_info->fw_auth) ? qat_uclo_wr_suof_img(handle) :
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2263
qat_uclo_wr_uof_img(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2266
int qat_uclo_set_cfg_ae_mask(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
2272
handle->cfg_ae_mask = cfg_ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
245
*handle, struct icp_qat_uof_initmem
drivers/crypto/intel/qat/qat_common/qat_uclo.c
303
static int qat_uclo_init_lmem_seg(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
306
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
309
if (qat_uclo_fetch_initmem_ae(handle, init_mem,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
310
handle->chip_info->lm_size, &ae))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
312
if (qat_uclo_create_batch_init_list(handle, init_mem, ae,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
318
static int qat_uclo_init_umem_seg(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
321
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
326
if (qat_uclo_fetch_initmem_ae(handle, init_mem, ustore_size, &ae))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
328
if (qat_uclo_create_batch_init_list(handle, init_mem, ae,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
341
static int qat_uclo_init_ae_memory(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
346
if (qat_uclo_init_lmem_seg(handle, init_mem))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
350
if (qat_uclo_init_umem_seg(handle, init_mem))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
360
static int qat_uclo_init_ustore(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
369
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
370
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
371
unsigned long cfg_ae_mask = handle->cfg_ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
384
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
396
qat_hal_wr_uwords(handle, (unsigned char)ae, 0,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
398
qat_hal_wr_uwords(handle, (unsigned char)ae, patt_pos,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
406
static int qat_uclo_init_memory(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
409
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
411
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
415
if (qat_uclo_init_ae_memory(handle, initmem))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
425
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
426
if (qat_hal_batch_wr_lm(handle, ae,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
431
qat_uclo_cleanup_batch_init_list(handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
433
qat_uclo_batch_wr_umem(handle, ae,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
435
qat_uclo_cleanup_batch_init_list(handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
650
static int qat_uclo_map_ae(struct icp_qat_fw_loader_handle *handle, int max_ae)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
654
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
655
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
656
unsigned long cfg_ae_mask = handle->cfg_ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
718
qat_uclo_get_dev_type(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
720
switch (handle->pci_dev->device) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
735
pr_err("unsupported device 0x%x\n", handle->pci_dev->device);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
759
static int qat_uclo_init_reg(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
771
return qat_hal_init_gpr(handle, ae, ctx_mask, reg_type,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
783
return qat_hal_init_rd_xfer(handle, ae, ctx_mask, reg_type,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
791
return qat_hal_init_wr_xfer(handle, ae, ctx_mask, reg_type,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
794
return qat_hal_init_nn(handle, ae, ctx_mask, reg_addr, value);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
802
static int qat_uclo_init_reg_sym(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
823
qat_uclo_init_reg(handle, ae, ctx_mask,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
835
qat_uclo_init_reg(handle, ae,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
856
static int qat_uclo_init_globals(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
858
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
859
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
866
if (qat_uclo_init_memory(handle)) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
872
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
877
if (qat_uclo_init_reg_sym(handle, ae, aed->ae_slices[s].encap_image))
drivers/crypto/intel/qat/qat_common/qat_uclo.c
885
static int qat_hal_set_modes(struct icp_qat_fw_loader_handle *handle,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
894
ret = qat_hal_set_ae_ctx_mode(handle, ae, mode);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
899
if (handle->chip_info->nn) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
901
ret = qat_hal_set_ae_nn_mode(handle, ae, mode);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
908
ret = qat_hal_set_ae_lm_mode(handle, ae, ICP_LMEM0, mode);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
914
ret = qat_hal_set_ae_lm_mode(handle, ae, ICP_LMEM1, mode);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
919
if (handle->chip_info->lm2lm3) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
921
ret = qat_hal_set_ae_lm_mode(handle, ae, ICP_LMEM2, mode);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
927
ret = qat_hal_set_ae_lm_mode(handle, ae, ICP_LMEM3, mode);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
933
qat_hal_set_ae_tindex_mode(handle, ae, mode);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
938
static int qat_uclo_set_ae_mode(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
942
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
943
unsigned long ae_mask = handle->hal_handle->ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
944
unsigned long cfg_ae_mask = handle->cfg_ae_mask;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
948
for_each_set_bit(ae, &ae_mask, handle->hal_handle->ae_max_num) {
drivers/crypto/intel/qat/qat_common/qat_uclo.c
958
error = qat_hal_set_modes(handle, obj_handle, ae,
drivers/crypto/intel/qat/qat_common/qat_uclo.c
967
static void qat_uclo_init_uword_num(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
969
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
980
static int qat_uclo_parse_uof_obj(struct icp_qat_fw_loader_handle *handle)
drivers/crypto/intel/qat/qat_common/qat_uclo.c
982
struct icp_qat_uclo_objhandle *obj_handle = handle->obj_handle;
drivers/crypto/intel/qat/qat_common/qat_uclo.c
989
obj_handle->prod_type = qat_uclo_get_dev_type(handle);
drivers/crypto/intel/qat/qat_common/qat_uclo.c
991
(PID_MINOR_REV & handle->hal_handle->revision_id);
drivers/crypto/nx/nx-common-pseries.c
318
.handle = 0,
drivers/crypto/nx/nx-common-pseries.c
448
.handle = 0,
drivers/cxl/acpi.c
230
cxl_acpi_evaluate_qtg_dsm(acpi_handle handle, struct access_coordinate *coord,
drivers/cxl/acpi.c
254
out_obj = acpi_evaluate_dsm(handle, &acpi_cxl_qtg_id_guid, 1, 1, &in_obj);
drivers/cxl/acpi.c
316
acpi_handle handle;
drivers/cxl/acpi.c
321
handle = ACPI_HANDLE(dev);
drivers/cxl/acpi.c
322
if (!handle)
drivers/cxl/acpi.c
325
return cxl_acpi_evaluate_qtg_dsm(handle, coord, entries, qos_class);
drivers/cxl/acpi.c
521
if (!acpi_pci_find_root(adev->handle))
drivers/cxl/acpi.c
585
rc = acpi_evaluate_integer(hb->handle, METHOD_NAME__UID, NULL, &uid);
drivers/cxl/acpi.c
655
pci_root = acpi_pci_find_root(hb->handle);
drivers/cxl/acpi.c
703
pci_root = acpi_pci_find_root(hb->handle);
drivers/cxl/core/cdat.c
15
u8 handle;
drivers/cxl/core/cdat.c
154
dent = xa_load(dsmas_xa, dslbis->handle);
drivers/cxl/core/cdat.c
76
dent->handle = dsmas->dsmad_handle;
drivers/cxl/core/cdat.c
81
rc = xa_insert(dsmas_xa, dent->handle, dent, GFP_KERNEL);
drivers/cxl/core/mbox.c
1034
payload->handles[i++] = gen->hdr.handle;
drivers/cxl/core/trace.h
265
__entry->hdr_handle = le16_to_cpu((hdr).handle); \
drivers/devfreq/hisi_uncore_freq.c
167
acpi_handle handle = ACPI_HANDLE(uncore->dev);
drivers/devfreq/hisi_uncore_freq.c
172
status = acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/dma/idxd/device.c
612
int idxd_device_request_int_handle(struct idxd_device *idxd, int idx, int *handle,
drivers/dma/idxd/device.c
636
*handle = (status >> IDXD_CMDSTS_RES_SHIFT) & GENMASK(15, 0);
drivers/dma/idxd/device.c
638
dev_dbg(dev, "int handle acquired: %u\n", *handle);
drivers/dma/idxd/device.c
642
int idxd_device_release_int_handle(struct idxd_device *idxd, int handle,
drivers/dma/idxd/device.c
652
dev_dbg(dev, "release int handle, handle %d\n", handle);
drivers/dma/idxd/device.c
655
operand = handle & GENMASK(15, 0);
drivers/dma/idxd/idxd.h
784
int idxd_device_request_int_handle(struct idxd_device *idxd, int idx, int *handle,
drivers/dma/idxd/idxd.h
786
int idxd_device_release_int_handle(struct idxd_device *idxd, int handle,
drivers/edac/altera_edac.c
880
const u32 *handle = of_get_property(np, "interrupts", NULL);
drivers/edac/altera_edac.c
882
if (!handle)
drivers/edac/altera_edac.c
884
irq = be32_to_cpup(handle);
drivers/edac/ghes_edac.c
100
static void dimm_setup_label(struct dimm_info *dimm, u16 handle)
drivers/edac/ghes_edac.c
104
dmi_memdev_name(handle, &bank, &device);
drivers/edac/ghes_edac.c
189
dimm_setup_label(dimm, entry->handle);
drivers/edac/ghes_edac.c
201
dimm->smbios_handle = entry->handle;
drivers/edac/ghes_edac.c
66
u16 handle;
drivers/edac/ghes_edac.c
88
static struct dimm_info *find_dimm_by_handle(struct mem_ctl_info *mci, u16 handle)
drivers/edac/ghes_edac.c
93
if (dimm->smbios_handle == handle)
drivers/edac/i7core_edac.c
1847
u16 handle;
drivers/firewire/core-cdev.c
101
int handle;
drivers/firewire/core-cdev.c
1091
a->handle = 0;
drivers/firewire/core-cdev.c
1101
if (ctx == NULL || a->handle != 0)
drivers/firewire/core-cdev.c
1125
if (ctx == NULL || a->handle != 0)
drivers/firewire/core-cdev.c
1222
if (client->iso_context == NULL || a->handle != 0)
drivers/firewire/core-cdev.c
1237
if (client->iso_context == NULL || a->handle != 0)
drivers/firewire/core-cdev.c
1247
if (client->iso_context == NULL || a->handle != 0)
drivers/firewire/core-cdev.c
1301
unsigned long index = r->resource.handle;
drivers/firewire/core-cdev.c
1373
e->iso_resource.handle = r->resource.handle;
drivers/firewire/core-cdev.c
1441
r->resource.handle = -1;
drivers/firewire/core-cdev.c
1444
request->handle = r->resource.handle;
drivers/firewire/core-cdev.c
1466
arg->deallocate.handle, release_iso_resource, NULL);
drivers/firewire/core-cdev.c
527
resource->handle = index;
drivers/firewire/core-cdev.c
537
static int release_client_resource(struct client *client, u32 handle,
drivers/firewire/core-cdev.c
541
unsigned long index = handle;
drivers/firewire/core-cdev.c
552
xa_erase(&client->resource_xa, handle);
drivers/firewire/core-cdev.c
575
unsigned long index = e->r.resource.handle;
drivers/firewire/core-cdev.c
774
req->handle = r->resource.handle;
drivers/firewire/core-cdev.c
788
req->handle = r->resource.handle;
drivers/firewire/core-cdev.c
802
req->handle = r->resource.handle;
drivers/firewire/core-cdev.c
869
a->handle = r->resource.handle;
drivers/firewire/core-cdev.c
876
return release_client_resource(client, arg->deallocate.handle,
drivers/firewire/core-cdev.c
887
if (release_client_resource(client, a->handle,
drivers/firewire/core-cdev.c
969
a->handle = r->resource.handle;
drivers/firewire/core-cdev.c
980
return release_client_resource(client, arg->remove_descriptor.handle,
drivers/firewire/uapi-test.c
42
KUNIT_EXPECT_EQ(test, 40, offsetof(struct fw_cdev_event_request3, handle));
drivers/firmware/arm_ffa/driver.c
564
u32 frag_len, u32 len, u64 *handle)
drivers/firmware/arm_ffa/driver.c
583
if (handle)
drivers/firmware/arm_ffa/driver.c
584
*handle = PACK_HANDLE(ret.a2, ret.a3);
drivers/firmware/arm_ffa/driver.c
586
if (handle)
drivers/firmware/arm_ffa/driver.c
587
*handle = PACK_HANDLE(ret.a1, ret.a2);
drivers/firmware/arm_ffa/driver.c
595
static int ffa_mem_next_frag(u64 handle, u32 frag_len)
drivers/firmware/arm_ffa/driver.c
601
.a1 = HANDLE_LOW(handle), .a2 = HANDLE_HIGH(handle),
drivers/firmware/arm_ffa/driver.c
624
u32 len, u64 *handle, bool first)
drivers/firmware/arm_ffa/driver.c
627
return ffa_mem_next_frag(*handle, frag_len);
drivers/firmware/arm_ffa/driver.c
629
return ffa_mem_first_frag(func_id, buf, buf_sz, frag_len, len, handle);
drivers/firmware/arm_ffa/driver.c
709
mem_region->handle = 0;
drivers/firmware/arm_scmi/bus.c
265
if (!scmi_dev->handle)
drivers/firmware/arm_scmi/common.h
157
int scmi_protocol_acquire(const struct scmi_handle *handle, u8 protocol_id);
drivers/firmware/arm_scmi/common.h
158
void scmi_protocol_release(const struct scmi_handle *handle, u8 protocol_id);
drivers/firmware/arm_scmi/common.h
184
struct scmi_handle *handle;
drivers/firmware/arm_scmi/common.h
280
void scmi_xfer_raw_put(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/common.h
282
struct scmi_xfer *scmi_xfer_raw_get(const struct scmi_handle *handle);
drivers/firmware/arm_scmi/common.h
284
scmi_xfer_raw_channel_get(const struct scmi_handle *handle, u8 protocol_id);
drivers/firmware/arm_scmi/common.h
286
int scmi_xfer_raw_inflight_register(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/common.h
525
void scmi_notification_instance_data_set(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/common.h
527
void *scmi_notification_instance_data_get(const struct scmi_handle *handle);
drivers/firmware/arm_scmi/common.h
528
int scmi_inflight_count(const struct scmi_handle *handle);
drivers/firmware/arm_scmi/driver.c
1005
struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
drivers/firmware/arm_scmi/driver.c
106
const struct scmi_handle *handle;
drivers/firmware/arm_scmi/driver.c
1082
struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
drivers/firmware/arm_scmi/driver.c
1087
xfer = scmi_xfer_get(cinfo->handle, minfo);
drivers/firmware/arm_scmi/driver.c
1111
scmi_notify(cinfo->handle, xfer->hdr.protocol_id,
drivers/firmware/arm_scmi/driver.c
1133
struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
drivers/firmware/arm_scmi/driver.c
1234
struct scmi_info *info = handle_to_scmi_info(pi->handle);
drivers/firmware/arm_scmi/driver.c
1243
struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
drivers/firmware/arm_scmi/driver.c
1259
struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
drivers/firmware/arm_scmi/driver.c
1344
struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
drivers/firmware/arm_scmi/driver.c
1371
struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
drivers/firmware/arm_scmi/driver.c
1397
struct scmi_info *info = handle_to_scmi_info(pi->handle);
drivers/firmware/arm_scmi/driver.c
1430
scmi_inflight_count(&info->handle));
drivers/firmware/arm_scmi/driver.c
1467
scmi_inflight_count(&info->handle));
drivers/firmware/arm_scmi/driver.c
1476
struct scmi_info *info = handle_to_scmi_info(pi->handle);
drivers/firmware/arm_scmi/driver.c
155
struct scmi_handle handle;
drivers/firmware/arm_scmi/driver.c
1559
struct scmi_info *info = handle_to_scmi_info(pi->handle);
drivers/firmware/arm_scmi/driver.c
1568
xfer = scmi_xfer_get(pi->handle, minfo);
drivers/firmware/arm_scmi/driver.c
1578
dev_err(pi->handle->dev,
drivers/firmware/arm_scmi/driver.c
1723
struct scmi_info *info = handle_to_scmi_info(pi->handle);
drivers/firmware/arm_scmi/driver.c
176
#define handle_to_scmi_info(h) container_of(h, struct scmi_info, handle)
drivers/firmware/arm_scmi/driver.c
2071
return pi->handle->version;
drivers/firmware/arm_scmi/driver.c
2205
const struct scmi_handle *handle = &info->handle;
drivers/firmware/arm_scmi/driver.c
2208
gid = devres_open_group(handle->dev, NULL, GFP_KERNEL);
drivers/firmware/arm_scmi/driver.c
2214
pi = devm_kzalloc(handle->dev, sizeof(*pi), GFP_KERNEL);
drivers/firmware/arm_scmi/driver.c
2220
pi->handle = handle;
drivers/firmware/arm_scmi/driver.c
2221
pi->ph.dev = handle->dev;
drivers/firmware/arm_scmi/driver.c
2232
scmi_protocol_version_initialize(handle->dev, pi);
drivers/firmware/arm_scmi/driver.c
2249
ret = scmi_register_protocol_events(handle, pi->proto->id,
drivers/firmware/arm_scmi/driver.c
2253
dev_warn(handle->dev,
drivers/firmware/arm_scmi/driver.c
2258
devres_close_group(handle->dev, pi->gid);
drivers/firmware/arm_scmi/driver.c
2259
dev_dbg(handle->dev, "Initialized protocol: 0x%X\n", pi->proto->id);
drivers/firmware/arm_scmi/driver.c
2266
devres_release_group(handle->dev, gid);
drivers/firmware/arm_scmi/driver.c
2285
scmi_get_protocol_instance(const struct scmi_handle *handle, u8 protocol_id)
drivers/firmware/arm_scmi/driver.c
2288
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
2320
int scmi_protocol_acquire(const struct scmi_handle *handle, u8 protocol_id)
drivers/firmware/arm_scmi/driver.c
2322
return PTR_ERR_OR_ZERO(scmi_get_protocol_instance(handle, protocol_id));
drivers/firmware/arm_scmi/driver.c
2333
void scmi_protocol_release(const struct scmi_handle *handle, u8 protocol_id)
drivers/firmware/arm_scmi/driver.c
2335
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
2347
scmi_deregister_protocol_events(handle, protocol_id);
drivers/firmware/arm_scmi/driver.c
2356
devres_release_group(handle->dev, gid);
drivers/firmware/arm_scmi/driver.c
2357
dev_dbg(handle->dev, "De-Initialized protocol: 0x%X\n",
drivers/firmware/arm_scmi/driver.c
2369
struct scmi_info *info = handle_to_scmi_info(pi->handle);
drivers/firmware/arm_scmi/driver.c
2375
scmi_is_protocol_implemented(const struct scmi_handle *handle, u8 prot_id)
drivers/firmware/arm_scmi/driver.c
2378
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
2379
struct scmi_revision_info *rev = handle->version;
drivers/firmware/arm_scmi/driver.c
2391
const struct scmi_handle *handle;
drivers/firmware/arm_scmi/driver.c
2399
scmi_protocol_release(dres->handle, dres->protocol_id);
drivers/firmware/arm_scmi/driver.c
2413
pi = scmi_get_protocol_instance(sdev->handle, protocol_id);
drivers/firmware/arm_scmi/driver.c
2419
dres->handle = sdev->handle;
drivers/firmware/arm_scmi/driver.c
2528
static bool scmi_is_transport_atomic(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/driver.c
2532
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
2557
struct scmi_handle *handle = NULL;
drivers/firmware/arm_scmi/driver.c
2564
handle = &info->handle;
drivers/firmware/arm_scmi/driver.c
2570
return handle;
drivers/firmware/arm_scmi/driver.c
2585
static int scmi_handle_put(const struct scmi_handle *handle)
drivers/firmware/arm_scmi/driver.c
2589
if (!handle)
drivers/firmware/arm_scmi/driver.c
2592
info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
2613
scmi_dev->handle = scmi_handle_get(&scmi_dev->dev);
drivers/firmware/arm_scmi/driver.c
2614
if (scmi_dev->handle)
drivers/firmware/arm_scmi/driver.c
2615
scmi_device_link_add(&scmi_dev->dev, scmi_dev->handle->dev);
drivers/firmware/arm_scmi/driver.c
2786
cinfo->handle = &info->handle;
drivers/firmware/arm_scmi/driver.c
2861
struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
drivers/firmware/arm_scmi/driver.c
2908
scmi_handle_put(sdev->handle);
drivers/firmware/arm_scmi/driver.c
2909
sdev->handle = NULL;
drivers/firmware/arm_scmi/driver.c
3106
info->raw = scmi_raw_mode_init(&info->handle, info->dbg->top_dentry,
drivers/firmware/arm_scmi/driver.c
3184
struct scmi_handle *handle;
drivers/firmware/arm_scmi/driver.c
3220
handle = &info->handle;
drivers/firmware/arm_scmi/driver.c
3221
handle->dev = info->dev;
drivers/firmware/arm_scmi/driver.c
3222
handle->version = &info->version;
drivers/firmware/arm_scmi/driver.c
3223
handle->devm_protocol_acquire = scmi_devm_protocol_acquire;
drivers/firmware/arm_scmi/driver.c
3224
handle->devm_protocol_get = scmi_devm_protocol_get;
drivers/firmware/arm_scmi/driver.c
3225
handle->devm_protocol_put = scmi_devm_protocol_put;
drivers/firmware/arm_scmi/driver.c
3226
handle->is_transport_atomic = scmi_is_transport_atomic;
drivers/firmware/arm_scmi/driver.c
3274
if (scmi_notification_init(handle))
drivers/firmware/arm_scmi/driver.c
3287
ret = scmi_protocol_acquire(handle, SCMI_PROTOCOL_BASE);
drivers/firmware/arm_scmi/driver.c
3312
if (!scmi_is_protocol_implemented(handle, prot_id)) {
drivers/firmware/arm_scmi/driver.c
3339
scmi_notification_exit(&info->handle);
drivers/firmware/arm_scmi/driver.c
3370
scmi_notification_exit(&info->handle);
drivers/firmware/arm_scmi/driver.c
3459
int scmi_inflight_count(const struct scmi_handle *handle)
drivers/firmware/arm_scmi/driver.c
3462
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
441
void scmi_notification_instance_data_set(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/driver.c
444
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
451
void *scmi_notification_instance_data_get(const struct scmi_handle *handle)
drivers/firmware/arm_scmi/driver.c
453
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
641
int scmi_xfer_raw_inflight_register(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/driver.c
644
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
695
static struct scmi_xfer *scmi_xfer_get(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/driver.c
733
struct scmi_xfer *scmi_xfer_raw_get(const struct scmi_handle *handle)
drivers/firmware/arm_scmi/driver.c
736
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
738
xfer = scmi_xfer_get(handle, &info->tx_minfo);
drivers/firmware/arm_scmi/driver.c
760
scmi_xfer_raw_channel_get(const struct scmi_handle *handle, u8 protocol_id)
drivers/firmware/arm_scmi/driver.c
763
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
773
dev_warn_once(handle->dev,
drivers/firmware/arm_scmi/driver.c
823
void scmi_xfer_raw_put(const struct scmi_handle *handle, struct scmi_xfer *xfer)
drivers/firmware/arm_scmi/driver.c
825
struct scmi_info *info = handle_to_scmi_info(handle);
drivers/firmware/arm_scmi/driver.c
869
struct scmi_info *info = handle_to_scmi_info(cinfo->handle);
drivers/firmware/arm_scmi/notify.c
1028
dev_dbg(ni->handle->dev, "registered NEW handler - key:%X\n",
drivers/firmware/arm_scmi/notify.c
1033
dev_dbg(ni->handle->dev,
drivers/firmware/arm_scmi/notify.c
1106
dev_dbg(ni->handle->dev,
drivers/firmware/arm_scmi/notify.c
1310
scmi_protocol_release(ni->handle, protocol_id);
drivers/firmware/arm_scmi/notify.c
1326
scmi_protocol_release(ni->handle, protocol_id);
drivers/firmware/arm_scmi/notify.c
1378
static int scmi_notifier_register(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/notify.c
1387
ni = scmi_notification_instance_data_get(handle);
drivers/firmware/arm_scmi/notify.c
1425
static int scmi_notifier_unregister(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/notify.c
1433
ni = scmi_notification_instance_data_get(handle);
drivers/firmware/arm_scmi/notify.c
1467
const struct scmi_handle *handle;
drivers/firmware/arm_scmi/notify.c
1479
scmi_notifier_unregister(dres->handle, dres->proto_id, dres->evt_id,
drivers/firmware/arm_scmi/notify.c
1512
ret = scmi_notifier_register(sdev->handle, proto_id,
drivers/firmware/arm_scmi/notify.c
1519
dres->handle = sdev->handle;
drivers/firmware/arm_scmi/notify.c
1599
dev_dbg(ni->handle->dev,
drivers/firmware/arm_scmi/notify.c
1604
dev_dbg(ni->handle->dev,
drivers/firmware/arm_scmi/notify.c
1612
dev_dbg(ni->handle->dev,
drivers/firmware/arm_scmi/notify.c
1660
int scmi_notification_init(struct scmi_handle *handle)
drivers/firmware/arm_scmi/notify.c
1665
gid = devres_open_group(handle->dev, NULL, GFP_KERNEL);
drivers/firmware/arm_scmi/notify.c
1669
ni = devm_kzalloc(handle->dev, sizeof(*ni), GFP_KERNEL);
drivers/firmware/arm_scmi/notify.c
1674
ni->handle = handle;
drivers/firmware/arm_scmi/notify.c
1676
ni->registered_protocols = devm_kcalloc(handle->dev, SCMI_MAX_PROTO,
drivers/firmware/arm_scmi/notify.c
1681
ni->notify_wq = alloc_workqueue(dev_name(handle->dev),
drivers/firmware/arm_scmi/notify.c
1692
scmi_notification_instance_data_set(handle, ni);
drivers/firmware/arm_scmi/notify.c
1693
handle->notify_ops = &notify_ops;
drivers/firmware/arm_scmi/notify.c
1697
dev_info(handle->dev, "Core Enabled.\n");
drivers/firmware/arm_scmi/notify.c
1699
devres_close_group(handle->dev, ni->gid);
drivers/firmware/arm_scmi/notify.c
1704
dev_warn(handle->dev, "Initialization Failed.\n");
drivers/firmware/arm_scmi/notify.c
1705
devres_release_group(handle->dev, gid);
drivers/firmware/arm_scmi/notify.c
1713
void scmi_notification_exit(struct scmi_handle *handle)
drivers/firmware/arm_scmi/notify.c
1717
ni = scmi_notification_instance_data_get(handle);
drivers/firmware/arm_scmi/notify.c
1720
scmi_notification_instance_data_set(handle, NULL);
drivers/firmware/arm_scmi/notify.c
1725
devres_release_group(ni->handle->dev, ni->gid);
drivers/firmware/arm_scmi/notify.c
223
struct scmi_handle *handle;
drivers/firmware/arm_scmi/notify.c
441
dev_err(pd->ni->handle->dev, "corrupted EVT header. Flush.\n");
drivers/firmware/arm_scmi/notify.c
483
dev_err(pd->ni->handle->dev, "corrupted EVT Payload. Flush.\n");
drivers/firmware/arm_scmi/notify.c
489
dev_warn(pd->ni->handle->dev,
drivers/firmware/arm_scmi/notify.c
499
dev_err(pd->ni->handle->dev,
drivers/firmware/arm_scmi/notify.c
583
int scmi_notify(const struct scmi_handle *handle, u8 proto_id, u8 evt_id,
drivers/firmware/arm_scmi/notify.c
590
ni = scmi_notification_instance_data_get(handle);
drivers/firmware/arm_scmi/notify.c
599
dev_err(handle->dev, "discard badly sized message\n");
drivers/firmware/arm_scmi/notify.c
603
dev_warn(handle->dev,
drivers/firmware/arm_scmi/notify.c
666
ret = devm_add_action_or_reset(ni->handle->dev, scmi_kfifo_free,
drivers/firmware/arm_scmi/notify.c
709
pd = devm_kzalloc(ni->handle->dev, sizeof(*pd), GFP_KERNEL);
drivers/firmware/arm_scmi/notify.c
720
pd->eh = devm_kzalloc(ni->handle->dev, eh_sz, GFP_KERNEL);
drivers/firmware/arm_scmi/notify.c
725
pd->registered_events = devm_kcalloc(ni->handle->dev, num_events,
drivers/firmware/arm_scmi/notify.c
753
int scmi_register_protocol_events(const struct scmi_handle *handle, u8 proto_id,
drivers/firmware/arm_scmi/notify.c
768
ni = scmi_notification_instance_data_get(handle);
drivers/firmware/arm_scmi/notify.c
799
r_evt = devm_kzalloc(ni->handle->dev, sizeof(*r_evt),
drivers/firmware/arm_scmi/notify.c
806
r_evt->sources = devm_kcalloc(ni->handle->dev, num_sources,
drivers/firmware/arm_scmi/notify.c
813
r_evt->report = devm_kzalloc(ni->handle->dev,
drivers/firmware/arm_scmi/notify.c
835
dev_dbg(handle->dev, "registered event - %lX\n",
drivers/firmware/arm_scmi/notify.c
859
void scmi_deregister_protocol_events(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/notify.c
865
ni = scmi_notification_instance_data_get(handle);
drivers/firmware/arm_scmi/notify.c
964
scmi_protocol_acquire(ni->handle, KEY_XTRACT_PROTO_ID(hndl->key));
drivers/firmware/arm_scmi/notify.h
84
int scmi_notification_init(struct scmi_handle *handle);
drivers/firmware/arm_scmi/notify.h
85
void scmi_notification_exit(struct scmi_handle *handle);
drivers/firmware/arm_scmi/notify.h
86
int scmi_register_protocol_events(const struct scmi_handle *handle, u8 proto_id,
drivers/firmware/arm_scmi/notify.h
89
void scmi_deregister_protocol_events(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/notify.h
91
int scmi_notify(const struct scmi_handle *handle, u8 proto_id, u8 evt_id,
drivers/firmware/arm_scmi/raw_mode.c
1080
struct device *dev = raw->handle->dev;
drivers/firmware/arm_scmi/raw_mode.c
1112
struct device *dev = raw->handle->dev;
drivers/firmware/arm_scmi/raw_mode.c
1143
struct device *dev = raw->handle->dev;
drivers/firmware/arm_scmi/raw_mode.c
1213
void *scmi_raw_mode_init(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/raw_mode.c
1222
if (!handle || !desc)
drivers/firmware/arm_scmi/raw_mode.c
1225
dev = handle->dev;
drivers/firmware/arm_scmi/raw_mode.c
1230
raw->handle = handle;
drivers/firmware/arm_scmi/raw_mode.c
1384
dev = raw->handle->dev;
drivers/firmware/arm_scmi/raw_mode.c
1499
dev_info(raw->handle->dev,
drivers/firmware/arm_scmi/raw_mode.c
175
const struct scmi_handle *handle;
drivers/firmware/arm_scmi/raw_mode.c
439
dev = raw->handle->dev;
drivers/firmware/arm_scmi/raw_mode.c
479
ret, scmi_inflight_count(raw->handle));
drivers/firmware/arm_scmi/raw_mode.c
492
scmi_xfer_raw_put(raw->handle, xfer);
drivers/firmware/arm_scmi/raw_mode.c
501
dev_info(raw->handle->dev, "Resetting SCMI Raw stack.\n");
drivers/firmware/arm_scmi/raw_mode.c
535
struct device *dev = raw->handle->dev;
drivers/firmware/arm_scmi/raw_mode.c
545
xfer = scmi_xfer_raw_get(raw->handle);
drivers/firmware/arm_scmi/raw_mode.c
573
ret = scmi_xfer_raw_inflight_register(raw->handle, xfer);
drivers/firmware/arm_scmi/raw_mode.c
587
scmi_xfer_raw_put(raw->handle, xfer);
drivers/firmware/arm_scmi/raw_mode.c
619
struct device *dev = raw->handle->dev;
drivers/firmware/arm_scmi/raw_mode.c
626
cinfo = scmi_xfer_raw_channel_get(raw->handle, chan_id);
drivers/firmware/arm_scmi/raw_mode.c
647
scmi_inflight_count(raw->handle));
drivers/firmware/arm_scmi/raw_mode.c
695
dev_err(raw->handle->dev,
drivers/firmware/arm_scmi/raw_mode.c
703
scmi_xfer_raw_put(raw->handle, xfer);
drivers/firmware/arm_scmi/raw_mode.c
764
dev_dbg(raw->handle->dev, "RAW - No message available!\n");
drivers/firmware/arm_scmi/raw_mode.h
20
void *scmi_raw_mode_init(const struct scmi_handle *handle,
drivers/firmware/arm_scmi/scmi_power_control.c
335
struct scmi_handle *handle = sdev->handle;
drivers/firmware/arm_scmi/scmi_power_control.c
337
if (!handle)
drivers/firmware/arm_scmi/scmi_power_control.c
340
ret = handle->devm_protocol_acquire(sdev, SCMI_PROTOCOL_SYSTEM);
drivers/firmware/arm_scmi/scmi_power_control.c
357
return handle->notify_ops->devm_event_notifier_register(sdev,
drivers/firmware/dmi-sysfs.c
488
return sprintf(buf, "%d\n", entry->dh.handle);
drivers/firmware/dmi-sysfs.c
509
static DMI_SYSFS_ATTR(entry, handle);
drivers/firmware/dmi_scan.c
1153
void dmi_memdev_name(u16 handle, const char **bank, const char **device)
drivers/firmware/dmi_scan.c
1161
if (handle == dmi_memdev[n].handle) {
drivers/firmware/dmi_scan.c
1170
u64 dmi_memdev_size(u16 handle)
drivers/firmware/dmi_scan.c
1176
if (handle == dmi_memdev[n].handle)
drivers/firmware/dmi_scan.c
1191
u8 dmi_memdev_type(u16 handle)
drivers/firmware/dmi_scan.c
1197
if (handle == dmi_memdev[n].handle)
drivers/firmware/dmi_scan.c
1215
return dmi_memdev[slot].handle;
drivers/firmware/dmi_scan.c
41
u16 handle;
drivers/firmware/dmi_scan.c
446
dmi_memdev[nr].handle = get_unaligned(&dm->handle);
drivers/firmware/efi/libstub/efi-stub-entry.c
35
efi_status_t __efiapi efi_pe_entry(efi_handle_t handle,
drivers/firmware/efi/libstub/efi-stub-entry.c
59
status = efi_bs_call(handle_protocol, handle, &loaded_image_proto,
drivers/firmware/efi/libstub/efi-stub-entry.c
75
image, handle);
drivers/firmware/efi/libstub/efi-stub-entry.c
83
status = efi_stub_common(handle, image, image_addr, cmdline_ptr);
drivers/firmware/efi/libstub/efi-stub-helper.c
425
efi_status_t efi_exit_boot_services(void *handle, void *priv,
drivers/firmware/efi/libstub/efi-stub-helper.c
444
status = efi_bs_call(exit_boot_services, handle, map->map_key);
drivers/firmware/efi/libstub/efi-stub-helper.c
477
status = efi_bs_call(exit_boot_services, handle, map->map_key);
drivers/firmware/efi/libstub/efi-stub-helper.c
554
efi_handle_t handle;
drivers/firmware/efi/libstub/efi-stub-helper.c
558
status = efi_bs_call(locate_device_path, &lf2_proto_guid, &dp, &handle);
drivers/firmware/efi/libstub/efi-stub-helper.c
562
status = efi_bs_call(handle_protocol, handle, &lf2_proto_guid,
drivers/firmware/efi/libstub/efi-stub.c
153
efi_status_t efi_stub_common(efi_handle_t handle,
drivers/firmware/efi/libstub/efi-stub.c
183
status = efi_boot_kernel(handle, image, image_addr, cmdline_ptr);
drivers/firmware/efi/libstub/efistub.h
1054
efi_status_t efi_exit_boot_services(void *handle, void *priv,
drivers/firmware/efi/libstub/efistub.h
1057
efi_status_t efi_boot_kernel(void *handle, efi_loaded_image_t *image,
drivers/firmware/efi/libstub/efistub.h
1155
efi_status_t efi_stub_common(efi_handle_t handle,
drivers/firmware/efi/libstub/efistub.h
1189
u16 handle;
drivers/firmware/efi/libstub/efistub.h
1259
efi_zboot_entry(efi_handle_t handle, efi_system_table_t *systab);
drivers/firmware/efi/libstub/efistub.h
130
#define for_each_efi_handle(handle, array, num) \
drivers/firmware/efi/libstub/efistub.h
132
((handle = efi_get_handle_at((array), __i)) || true); \
drivers/firmware/efi/libstub/efistub.h
52
efi_status_t __efiapi efi_pe_entry(efi_handle_t handle,
drivers/firmware/efi/libstub/fdt.c
223
efi_status_t allocate_new_fdt_and_exit_boot(void *handle,
drivers/firmware/efi/libstub/fdt.c
292
status = efi_exit_boot_services(handle, &priv, exit_boot_func);
drivers/firmware/efi/libstub/fdt.c
344
efi_status_t efi_boot_kernel(void *handle, efi_loaded_image_t *image,
drivers/firmware/efi/libstub/fdt.c
350
status = allocate_new_fdt_and_exit_boot(handle, image, &fdt_addr,
drivers/firmware/efi/libstub/file.c
137
efi_handle_t handle;
drivers/firmware/efi/libstub/file.c
152
if ((efi_bs_call(locate_device_path, &fs_proto, &initrd_dp, &handle) ?:
drivers/firmware/efi/libstub/file.c
153
efi_bs_call(handle_protocol, handle, &fs_proto, (void **)&io))
drivers/firmware/efi/libstub/file.c
39
efi_file_protocol_t **handle,
drivers/firmware/efi/libstub/file.c
69
*handle = fh;
drivers/firmware/efi/libstub/gop.c
484
efi_handle_t handle;
drivers/firmware/efi/libstub/gop.c
495
handle = find_handle_with_primary_gop(num, handles, &gop);
drivers/firmware/efi/libstub/gop.c
496
if (!handle)
drivers/firmware/efi/libstub/gop.c
513
status = efi_bs_call(handle_protocol, handle, &EFI_EDID_ACTIVE_PROTOCOL_GUID,
drivers/firmware/efi/libstub/gop.c
519
status = efi_bs_call(handle_protocol, handle,
drivers/firmware/efi/libstub/loongarch.c
47
efi_status_t efi_boot_kernel(void *handle, efi_loaded_image_t *image,
drivers/firmware/efi/libstub/loongarch.c
65
status = efi_exit_boot_services(handle, &priv, exit_boot_func);
drivers/firmware/efi/libstub/pci.c
21
efi_handle_t handle;
drivers/firmware/efi/libstub/pci.c
32
for_each_efi_handle(handle, pci_handle, pci_handle_num) {
drivers/firmware/efi/libstub/pci.c
36
status = efi_bs_call(handle_protocol, handle, &pci_proto,
drivers/firmware/efi/libstub/pci.c
65
efi_bs_call(disconnect_controller, handle, NULL, NULL);
drivers/firmware/efi/libstub/pci.c
68
for_each_efi_handle(handle, pci_handle, pci_handle_num) {
drivers/firmware/efi/libstub/pci.c
71
status = efi_bs_call(handle_protocol, handle, &pci_proto,
drivers/firmware/efi/libstub/smbios.c
41
u16 handle = 0xfffe;
drivers/firmware/efi/libstub/smbios.c
45
efi_call_proto(smbios, get_next, &handle, &type, &record, NULL);
drivers/firmware/efi/libstub/x86-stub.c
1026
status = exit_boot(boot_params, handle);
drivers/firmware/efi/libstub/x86-stub.c
1044
efi_exit(handle, status);
drivers/firmware/efi/libstub/x86-stub.c
1047
efi_status_t __efiapi efi_pe_entry(efi_handle_t handle,
drivers/firmware/efi/libstub/x86-stub.c
1050
efi_stub_entry(handle, sys_table_arg, NULL);
drivers/firmware/efi/libstub/x86-stub.c
1054
void efi_handover_entry(efi_handle_t handle, efi_system_table_t *sys_table_arg,
drivers/firmware/efi/libstub/x86-stub.c
1058
efi_stub_entry(handle, sys_table_arg, boot_params);
drivers/firmware/efi/libstub/x86-stub.c
1063
void efi32_stub_entry(efi_handle_t handle, efi_system_table_t *sys_table_arg,
drivers/firmware/efi/libstub/x86-stub.c
1067
void efi64_stub_entry(efi_handle_t handle, efi_system_table_t *sys_table_arg,
drivers/firmware/efi/libstub/x86-stub.c
495
static void __noreturn efi_exit(efi_handle_t handle, efi_status_t status)
drivers/firmware/efi/libstub/x86-stub.c
497
efi_bs_call(exit, handle, status, 0, NULL);
drivers/firmware/efi/libstub/x86-stub.c
507
static efi_status_t efi_allocate_bootparams(efi_handle_t handle,
drivers/firmware/efi/libstub/x86-stub.c
517
status = efi_bs_call(handle_protocol, handle, &proto, (void **)&image);
drivers/firmware/efi/libstub/x86-stub.c
757
static efi_status_t exit_boot(struct boot_params *boot_params, void *handle)
drivers/firmware/efi/libstub/x86-stub.c
772
status = efi_exit_boot_services(handle, &priv, exit_boot_func);
drivers/firmware/efi/libstub/x86-stub.c
912
void __noreturn efi_stub_entry(efi_handle_t handle,
drivers/firmware/efi/libstub/x86-stub.c
926
efi_exit(handle, EFI_INVALID_PARAMETER);
drivers/firmware/efi/libstub/x86-stub.c
929
status = efi_allocate_bootparams(handle, &boot_params);
drivers/firmware/efi/libstub/x86-stub.c
931
efi_exit(handle, status);
drivers/firmware/efi/libstub/x86-stub.c
937
efi_exit(handle, EFI_UNSUPPORTED);
drivers/firmware/efi/libstub/zboot.c
35
efi_zboot_entry(efi_handle_t handle, efi_system_table_t *systab)
drivers/firmware/efi/libstub/zboot.c
44
status = efi_bs_call(handle_protocol, handle,
drivers/firmware/efi/libstub/zboot.c
96
efi_stub_common(handle, image, image_base, cmdline_ptr);
drivers/firmware/imx/sm-cpu.c
53
const struct scmi_handle *handle = sdev->handle;
drivers/firmware/imx/sm-cpu.c
55
if (!handle)
drivers/firmware/imx/sm-cpu.c
63
imx_cpu_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_IMX_CPU, &ph);
drivers/firmware/imx/sm-lmm.c
59
const struct scmi_handle *handle = sdev->handle;
drivers/firmware/imx/sm-lmm.c
61
if (!handle)
drivers/firmware/imx/sm-lmm.c
69
imx_lmm_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_IMX_LMM, &ph);
drivers/firmware/imx/sm-misc.c
118
ret = handle->notify_ops->devm_event_notifier_register(sdev, SCMI_PROTOCOL_IMX_MISC,
drivers/firmware/imx/sm-misc.c
80
const struct scmi_handle *handle = sdev->handle;
drivers/firmware/imx/sm-misc.c
86
if (!handle)
drivers/firmware/imx/sm-misc.c
94
imx_misc_ctrl_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_IMX_MISC, &ph);
drivers/firmware/qcom/qcom_scm.c
1008
u64 handle;
drivers/firmware/qcom/qcom_scm.c
1023
ret = qcom_tzmem_shm_bridge_create(ctx->mem_phys, ctx->mem_size, &handle);
drivers/firmware/qcom/qcom_scm.c
1028
qcom_tzmem_shm_bridge_delete(handle);
drivers/firmware/qcom/qcom_scm.c
1940
u64 ns_vmids, u64 *handle)
drivers/firmware/qcom/qcom_scm.c
1959
if (handle && !ret)
drivers/firmware/qcom/qcom_scm.c
1960
*handle = res.result[1];
drivers/firmware/qcom/qcom_scm.c
1966
int qcom_scm_shm_bridge_delete(u64 handle)
drivers/firmware/qcom/qcom_scm.c
1972
.args[0] = handle,
drivers/firmware/qcom/qcom_tzmem.c
125
int qcom_tzmem_shm_bridge_create(phys_addr_t paddr, size_t size, u64 *handle)
drivers/firmware/qcom/qcom_tzmem.c
139
handle);
drivers/firmware/qcom/qcom_tzmem.c
160
void qcom_tzmem_shm_bridge_delete(u64 handle)
drivers/firmware/qcom/qcom_tzmem.c
163
qcom_scm_shm_bridge_delete(handle);
drivers/firmware/qcom/qcom_tzmem.c
171
u64 *handle __free(kfree) = kzalloc(sizeof(*handle), GFP_KERNEL);
drivers/firmware/qcom/qcom_tzmem.c
172
if (!handle)
drivers/firmware/qcom/qcom_tzmem.c
175
ret = qcom_tzmem_shm_bridge_create(area->paddr, area->size, handle);
drivers/firmware/qcom/qcom_tzmem.c
179
area->priv = no_free_ptr(handle);
drivers/firmware/qcom/qcom_tzmem.c
186
u64 *handle = area->priv;
drivers/firmware/qcom/qcom_tzmem.c
188
qcom_tzmem_shm_bridge_delete(*handle);
drivers/firmware/qcom/qcom_tzmem.c
189
kfree(handle);
drivers/firmware/samsung/exynos-acpm-dvfs.c
45
int acpm_dvfs_set_rate(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-dvfs.c
55
return acpm_do_xfer(handle, &xfer);
drivers/firmware/samsung/exynos-acpm-dvfs.c
65
unsigned long acpm_dvfs_get_rate(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-dvfs.c
75
ret = acpm_do_xfer(handle, &xfer);
drivers/firmware/samsung/exynos-acpm-dvfs.h
14
int acpm_dvfs_set_rate(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-dvfs.h
17
unsigned long acpm_dvfs_get_rate(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.c
110
int acpm_pmic_bulk_read(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.c
124
ret = acpm_do_xfer(handle, &xfer);
drivers/firmware/samsung/exynos-acpm-pmic.c
153
int acpm_pmic_write_reg(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.c
164
ret = acpm_do_xfer(handle, &xfer);
drivers/firmware/samsung/exynos-acpm-pmic.c
190
int acpm_pmic_bulk_write(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.c
204
ret = acpm_do_xfer(handle, &xfer);
drivers/firmware/samsung/exynos-acpm-pmic.c
223
int acpm_pmic_update_reg(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.c
234
ret = acpm_do_xfer(handle, &xfer);
drivers/firmware/samsung/exynos-acpm-pmic.c
80
int acpm_pmic_read_reg(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.c
91
ret = acpm_do_xfer(handle, &xfer);
drivers/firmware/samsung/exynos-acpm-pmic.h
14
int acpm_pmic_read_reg(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.h
17
int acpm_pmic_bulk_read(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.h
20
int acpm_pmic_write_reg(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.h
23
int acpm_pmic_bulk_write(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm-pmic.h
26
int acpm_pmic_update_reg(const struct acpm_handle *handle,
drivers/firmware/samsung/exynos-acpm.c
173
struct acpm_handle handle;
drivers/firmware/samsung/exynos-acpm.c
188
#define handle_to_acpm_info(h) container_of(h, struct acpm_info, handle)
drivers/firmware/samsung/exynos-acpm.c
415
int acpm_do_xfer(const struct acpm_handle *handle, const struct acpm_xfer *xfer)
drivers/firmware/samsung/exynos-acpm.c
417
struct acpm_info *acpm = handle_to_acpm_info(handle);
drivers/firmware/samsung/exynos-acpm.c
596
struct acpm_dvfs_ops *dvfs_ops = &acpm->handle.ops.dvfs_ops;
drivers/firmware/samsung/exynos-acpm.c
597
struct acpm_pmic_ops *pmic_ops = &acpm->handle.ops.pmic_ops;
drivers/firmware/samsung/exynos-acpm.c
677
static void acpm_handle_put(const struct acpm_handle *handle)
drivers/firmware/samsung/exynos-acpm.c
679
struct acpm_info *acpm = handle_to_acpm_info(handle);
drivers/firmware/samsung/exynos-acpm.c
736
return &acpm->handle;
drivers/firmware/samsung/exynos-acpm.c
749
const struct acpm_handle **ptr, *handle;
drivers/firmware/samsung/exynos-acpm.c
755
handle = acpm_get_by_node(dev, np);
drivers/firmware/samsung/exynos-acpm.c
756
if (!IS_ERR(handle)) {
drivers/firmware/samsung/exynos-acpm.c
757
*ptr = handle;
drivers/firmware/samsung/exynos-acpm.c
763
return handle;
drivers/firmware/samsung/exynos-acpm.h
20
int acpm_do_xfer(const struct acpm_handle *handle,
drivers/firmware/stratix10-rsu.c
327
void *handle = NULL;
drivers/firmware/stratix10-rsu.c
336
&handle, soc64_async_callback,
drivers/firmware/stratix10-rsu.c
344
if (status && !handle) {
drivers/firmware/stratix10-rsu.c
356
status = stratix10_svc_async_poll(priv->chan, handle, &data);
drivers/firmware/stratix10-rsu.c
385
stratix10_svc_async_done(priv->chan, handle);
drivers/firmware/stratix10-svc.c
1255
struct stratix10_svc_async_handler *handle = NULL;
drivers/firmware/stratix10-svc.c
1280
handle = kzalloc(sizeof(*handle), GFP_KERNEL);
drivers/firmware/stratix10-svc.c
1281
if (!handle)
drivers/firmware/stratix10-svc.c
1288
kfree(handle);
drivers/firmware/stratix10-svc.c
1292
handle->transaction_id =
drivers/firmware/stratix10-svc.c
1294
handle->cb = cb;
drivers/firmware/stratix10-svc.c
1295
handle->msg = p_msg;
drivers/firmware/stratix10-svc.c
1296
handle->cb_arg = cb_arg;
drivers/firmware/stratix10-svc.c
1297
handle->achan = achan;
drivers/firmware/stratix10-svc.c
1301
STRATIX10_SIP_SMC_SET_TRANSACTIONID_X1(handle->transaction_id);
drivers/firmware/stratix10-svc.c
1328
hash_add(actrl->trx_list, &handle->next,
drivers/firmware/stratix10-svc.c
1329
handle->transaction_id);
drivers/firmware/stratix10-svc.c
1338
handle->transaction_id);
drivers/firmware/stratix10-svc.c
1339
*handler = handle;
drivers/firmware/stratix10-svc.c
1357
hash_del(&handle->next);
drivers/firmware/stratix10-svc.c
1362
STRATIX10_GET_JOBID(handle->transaction_id));
drivers/firmware/stratix10-svc.c
1363
kfree(handle);
drivers/firmware/stratix10-svc.c
1383
struct stratix10_svc_async_handler *handle,
drivers/firmware/stratix10-svc.c
1387
(struct stratix10_svc_client_msg *)handle->msg;
drivers/firmware/stratix10-svc.c
1390
data->status = STRATIX10_GET_SDM_STATUS_CODE(handle->res.a1);
drivers/firmware/stratix10-svc.c
1396
data->kaddr1 = (void *)&handle->res.a2;
drivers/firmware/stratix10-svc.c
1397
data->kaddr2 = (void *)&handle->res.a3;
drivers/firmware/stratix10-svc.c
1405
data->kaddr1 = (void *)&handle->res;
drivers/firmware/stratix10-svc.c
1413
handle->transaction_id);
drivers/firmware/stratix10-svc.c
1441
struct stratix10_svc_async_handler *handle;
drivers/firmware/stratix10-svc.c
1460
handle = (struct stratix10_svc_async_handler *)tx_handle;
drivers/firmware/stratix10-svc.c
1462
if (!hash_hashed(&handle->next)) {
drivers/firmware/stratix10-svc.c
1470
STRATIX10_SIP_SMC_SET_TRANSACTIONID_X1(handle->transaction_id);
drivers/firmware/stratix10-svc.c
1472
actrl->invoke_fn(actrl, &args, &handle->res);
drivers/firmware/stratix10-svc.c
1477
if (handle->res.a0 == INTEL_SIP_SMC_STATUS_OK) {
drivers/firmware/stratix10-svc.c
1478
ret = stratix10_svc_async_prepare_response(chan, handle, data);
drivers/firmware/stratix10-svc.c
1484
} else if (handle->res.a0 == INTEL_SIP_SMC_STATUS_BUSY) {
drivers/firmware/stratix10-svc.c
1491
handle->res.a0);
drivers/firmware/stratix10-svc.c
1513
struct stratix10_svc_async_handler *handle;
drivers/firmware/stratix10-svc.c
1530
handle = (struct stratix10_svc_async_handler *)tx_handle;
drivers/firmware/stratix10-svc.c
1532
if (!hash_hashed(&handle->next)) {
drivers/firmware/stratix10-svc.c
1536
hash_del(&handle->next);
drivers/firmware/stratix10-svc.c
1539
STRATIX10_GET_JOBID(handle->transaction_id));
drivers/firmware/stratix10-svc.c
1540
kfree(handle);
drivers/firmware/ti_sci.c
1016
static int ti_sci_cmd_get_clock_state(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1027
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1028
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1029
if (!handle)
drivers/firmware/ti_sci.c
1035
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1092
static int ti_sci_cmd_get_clock(const struct ti_sci_handle *handle, u32 dev_id,
drivers/firmware/ti_sci.c
1102
return ti_sci_set_clock_state(handle, dev_id, clk_id, flags,
drivers/firmware/ti_sci.c
1118
static int ti_sci_cmd_idle_clock(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1121
return ti_sci_set_clock_state(handle, dev_id, clk_id,
drivers/firmware/ti_sci.c
1138
static int ti_sci_cmd_put_clock(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1141
return ti_sci_set_clock_state(handle, dev_id, clk_id,
drivers/firmware/ti_sci.c
115
struct ti_sci_handle handle;
drivers/firmware/ti_sci.c
1157
static int ti_sci_cmd_clk_is_auto(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1166
ret = ti_sci_cmd_get_clock_state(handle, dev_id, clk_id, &state, NULL);
drivers/firmware/ti_sci.c
1186
static int ti_sci_cmd_clk_is_on(const struct ti_sci_handle *handle, u32 dev_id,
drivers/firmware/ti_sci.c
1195
ret = ti_sci_cmd_get_clock_state(handle, dev_id, clk_id,
drivers/firmware/ti_sci.c
1219
static int ti_sci_cmd_clk_is_off(const struct ti_sci_handle *handle, u32 dev_id,
drivers/firmware/ti_sci.c
1228
ret = ti_sci_cmd_get_clock_state(handle, dev_id, clk_id,
drivers/firmware/ti_sci.c
1251
static int ti_sci_cmd_clk_set_parent(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1261
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1262
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1263
if (!handle)
drivers/firmware/ti_sci.c
1266
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
128
#define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle)
drivers/firmware/ti_sci.c
1319
static int ti_sci_cmd_clk_get_parent(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1329
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1330
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1331
if (!handle || !parent_id)
drivers/firmware/ti_sci.c
1334
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1388
static int ti_sci_cmd_clk_get_num_parents(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1399
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1400
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1401
if (!handle || !num_parents)
drivers/firmware/ti_sci.c
1404
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1466
static int ti_sci_cmd_clk_get_match_freq(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1478
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1479
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1480
if (!handle || !match_freq)
drivers/firmware/ti_sci.c
1483
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1543
static int ti_sci_cmd_clk_set_freq(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1554
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1555
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1556
if (!handle)
drivers/firmware/ti_sci.c
1559
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1609
static int ti_sci_cmd_clk_get_freq(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1619
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1620
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1621
if (!handle || !freq)
drivers/firmware/ti_sci.c
1624
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1673
static int ti_sci_cmd_prepare_sleep(const struct ti_sci_handle *handle, u8 mode,
drivers/firmware/ti_sci.c
1686
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1687
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1688
if (!handle)
drivers/firmware/ti_sci.c
1691
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1740
static int ti_sci_msg_cmd_query_fw_caps(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1749
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1750
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1751
if (!handle)
drivers/firmware/ti_sci.c
1754
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1797
static int ti_sci_cmd_set_io_isolation(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1807
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1808
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1809
if (!handle)
drivers/firmware/ti_sci.c
1812
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1855
static int ti_sci_msg_cmd_lpm_wake_reason(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1864
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1865
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1866
if (!handle)
drivers/firmware/ti_sci.c
1869
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1919
static int ti_sci_cmd_set_device_constraint(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1929
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1930
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1931
if (!handle)
drivers/firmware/ti_sci.c
1934
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
1976
static int ti_sci_cmd_set_latency_constraint(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
1986
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
1987
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
1988
if (!handle)
drivers/firmware/ti_sci.c
1991
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2066
static int ti_sci_cmd_core_reboot(const struct ti_sci_handle *handle)
drivers/firmware/ti_sci.c
2075
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
2076
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
2077
if (!handle)
drivers/firmware/ti_sci.c
2080
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2126
static int ti_sci_get_resource_range(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2137
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
2138
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
2139
if (!handle || !desc)
drivers/firmware/ti_sci.c
2142
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2197
static int ti_sci_cmd_get_resource_range(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2201
return ti_sci_get_resource_range(handle, dev_id, subtype,
drivers/firmware/ti_sci.c
2220
int ti_sci_cmd_get_resource_range_from_shost(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2224
return ti_sci_get_resource_range(handle, dev_id, subtype, s_host, desc);
drivers/firmware/ti_sci.c
2246
static int ti_sci_manage_irq(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2259
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
2260
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
2261
if (!handle)
drivers/firmware/ti_sci.c
2264
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2320
static int ti_sci_set_irq(const struct ti_sci_handle *handle, u32 valid_params,
drivers/firmware/ti_sci.c
2330
return ti_sci_manage_irq(handle, valid_params, src_id, src_index,
drivers/firmware/ti_sci.c
2354
static int ti_sci_free_irq(const struct ti_sci_handle *handle, u32 valid_params,
drivers/firmware/ti_sci.c
2364
return ti_sci_manage_irq(handle, valid_params, src_id, src_index,
drivers/firmware/ti_sci.c
2381
static int ti_sci_cmd_set_irq(const struct ti_sci_handle *handle, u16 src_id,
drivers/firmware/ti_sci.c
2386
return ti_sci_set_irq(handle, valid_params, src_id, src_index, dst_id,
drivers/firmware/ti_sci.c
2403
static int ti_sci_cmd_set_event_map(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2412
return ti_sci_set_irq(handle, valid_params, src_id, src_index, 0, 0,
drivers/firmware/ti_sci.c
2427
static int ti_sci_cmd_free_irq(const struct ti_sci_handle *handle, u16 src_id,
drivers/firmware/ti_sci.c
2432
return ti_sci_free_irq(handle, valid_params, src_id, src_index, dst_id,
drivers/firmware/ti_sci.c
2449
static int ti_sci_cmd_free_event_map(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2458
return ti_sci_free_irq(handle, valid_params, src_id, src_index, 0, 0,
drivers/firmware/ti_sci.c
2472
static int ti_sci_cmd_rm_ring_cfg(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2482
if (IS_ERR_OR_NULL(handle))
drivers/firmware/ti_sci.c
2485
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2534
static int ti_sci_cmd_rm_psil_pair(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2544
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
2545
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
2546
if (!handle)
drivers/firmware/ti_sci.c
2549
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2590
static int ti_sci_cmd_rm_psil_unpair(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2600
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
2601
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
2602
if (!handle)
drivers/firmware/ti_sci.c
2605
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2647
static int ti_sci_cmd_rm_udmap_tx_ch_cfg(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2657
if (IS_ERR_OR_NULL(handle))
drivers/firmware/ti_sci.c
2660
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2719
static int ti_sci_cmd_rm_udmap_rx_ch_cfg(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2729
if (IS_ERR_OR_NULL(handle))
drivers/firmware/ti_sci.c
2732
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2788
static int ti_sci_cmd_rm_udmap_rx_flow_cfg(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2798
if (IS_ERR_OR_NULL(handle))
drivers/firmware/ti_sci.c
2801
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2858
static int ti_sci_cmd_proc_request(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2868
if (!handle)
drivers/firmware/ti_sci.c
2870
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
2871
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
2873
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2910
static int ti_sci_cmd_proc_release(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2920
if (!handle)
drivers/firmware/ti_sci.c
2922
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
2923
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
2925
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
2965
static int ti_sci_cmd_proc_handover(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
2975
if (!handle)
drivers/firmware/ti_sci.c
2977
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
2978
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
2980
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
3022
static int ti_sci_cmd_proc_set_config(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
3034
if (!handle)
drivers/firmware/ti_sci.c
3036
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
3037
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
3039
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
3084
static int ti_sci_cmd_proc_set_control(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
3095
if (!handle)
drivers/firmware/ti_sci.c
3097
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
3098
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
3100
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
3143
static int ti_sci_cmd_proc_get_status(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
3154
if (!handle)
drivers/firmware/ti_sci.c
3156
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
3157
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
3159
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
3204
struct ti_sci_ops *ops = &info->handle.ops;
drivers/firmware/ti_sci.c
3296
struct ti_sci_handle *handle = NULL;
drivers/firmware/ti_sci.c
3312
handle = &info->handle;
drivers/firmware/ti_sci.c
3320
if (!handle)
drivers/firmware/ti_sci.c
3323
return handle;
drivers/firmware/ti_sci.c
3339
int ti_sci_put_handle(const struct ti_sci_handle *handle)
drivers/firmware/ti_sci.c
3343
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
3344
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
3345
if (!handle)
drivers/firmware/ti_sci.c
3348
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
3361
const struct ti_sci_handle *handle = *ptr;
drivers/firmware/ti_sci.c
3364
ret = ti_sci_put_handle(handle);
drivers/firmware/ti_sci.c
3383
const struct ti_sci_handle *handle;
drivers/firmware/ti_sci.c
3388
handle = ti_sci_get_handle(dev);
drivers/firmware/ti_sci.c
3390
if (!IS_ERR(handle)) {
drivers/firmware/ti_sci.c
3391
*ptr = handle;
drivers/firmware/ti_sci.c
3397
return handle;
drivers/firmware/ti_sci.c
3417
struct ti_sci_handle *handle = NULL;
drivers/firmware/ti_sci.c
3433
handle = &info->handle;
drivers/firmware/ti_sci.c
3441
if (!handle)
drivers/firmware/ti_sci.c
3444
return handle;
drivers/firmware/ti_sci.c
3463
const struct ti_sci_handle *handle;
drivers/firmware/ti_sci.c
3469
handle = ti_sci_get_by_phandle(dev_of_node(dev), property);
drivers/firmware/ti_sci.c
3471
if (!IS_ERR(handle)) {
drivers/firmware/ti_sci.c
3472
*ptr = handle;
drivers/firmware/ti_sci.c
3478
return handle;
drivers/firmware/ti_sci.c
3569
devm_ti_sci_get_resource_sets(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
3588
ret = handle->ops.rm_core_ops.get_range(handle, dev_id,
drivers/firmware/ti_sci.c
3629
devm_ti_sci_get_of_resource(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
3648
res = devm_ti_sci_get_resource_sets(handle, dev, dev_id, sub_types,
drivers/firmware/ti_sci.c
3667
devm_ti_sci_get_resource(const struct ti_sci_handle *handle, struct device *dev,
drivers/firmware/ti_sci.c
3670
return devm_ti_sci_get_resource_sets(handle, dev, dev_id, &sub_type, 1);
drivers/firmware/ti_sci.c
3723
const struct ti_sci_handle *handle = &info->handle;
drivers/firmware/ti_sci.c
3732
ret = ti_sci_cmd_prepare_sleep(handle, TISCI_MSG_VALUE_SLEEP_MODE_PARTIAL_IO, 0, 0, 0);
drivers/firmware/ti_sci.c
3749
const struct ti_sci_handle *handle = &info->handle;
drivers/firmware/ti_sci.c
3751
ti_sci_cmd_core_reboot(handle);
drivers/firmware/ti_sci.c
3770
return ti_sci_cmd_prepare_sleep(&info->handle,
drivers/firmware/ti_sci.c
3813
ret = ti_sci_cmd_set_latency_constraint(&info->handle,
drivers/firmware/ti_sci.c
3834
ret = ti_sci_cmd_set_io_isolation(&info->handle, TISCI_MSG_VALUE_IO_ENABLE);
drivers/firmware/ti_sci.c
3852
ret = ti_sci_cmd_set_io_isolation(&info->handle, TISCI_MSG_VALUE_IO_DISABLE);
drivers/firmware/ti_sci.c
3857
ret = ti_sci_msg_cmd_lpm_wake_reason(&info->handle, &source, &time, &pin, &mode);
drivers/firmware/ti_sci.c
4011
ti_sci_msg_cmd_query_fw_caps(&info->handle, &info->fw_caps);
drivers/firmware/ti_sci.c
4042
info->handle.version.abi_major, info->handle.version.abi_minor,
drivers/firmware/ti_sci.c
4043
info->handle.version.firmware_revision,
drivers/firmware/ti_sci.c
4044
info->handle.version.firmware_description);
drivers/firmware/ti_sci.c
457
struct ti_sci_handle *handle = &info->handle;
drivers/firmware/ti_sci.c
458
struct ti_sci_version_info *ver = &handle->version;
drivers/firmware/ti_sci.c
514
static int ti_sci_set_device_state(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
524
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
525
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
526
if (!handle)
drivers/firmware/ti_sci.c
529
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
571
static int ti_sci_get_device_state(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
582
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
583
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
584
if (!handle)
drivers/firmware/ti_sci.c
590
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
642
static int ti_sci_cmd_get_device(const struct ti_sci_handle *handle, u32 id)
drivers/firmware/ti_sci.c
644
return ti_sci_set_device_state(handle, id, 0,
drivers/firmware/ti_sci.c
661
static int ti_sci_cmd_get_device_exclusive(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
664
return ti_sci_set_device_state(handle, id,
drivers/firmware/ti_sci.c
680
static int ti_sci_cmd_idle_device(const struct ti_sci_handle *handle, u32 id)
drivers/firmware/ti_sci.c
682
return ti_sci_set_device_state(handle, id, 0,
drivers/firmware/ti_sci.c
699
static int ti_sci_cmd_idle_device_exclusive(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
702
return ti_sci_set_device_state(handle, id,
drivers/firmware/ti_sci.c
718
static int ti_sci_cmd_put_device(const struct ti_sci_handle *handle, u32 id)
drivers/firmware/ti_sci.c
720
return ti_sci_set_device_state(handle, id,
drivers/firmware/ti_sci.c
732
static int ti_sci_cmd_dev_is_valid(const struct ti_sci_handle *handle, u32 id)
drivers/firmware/ti_sci.c
737
return ti_sci_get_device_state(handle, id, NULL, NULL, NULL, &unused);
drivers/firmware/ti_sci.c
748
static int ti_sci_cmd_dev_get_clcnt(const struct ti_sci_handle *handle, u32 id,
drivers/firmware/ti_sci.c
751
return ti_sci_get_device_state(handle, id, count, NULL, NULL, NULL);
drivers/firmware/ti_sci.c
762
static int ti_sci_cmd_dev_is_idle(const struct ti_sci_handle *handle, u32 id,
drivers/firmware/ti_sci.c
771
ret = ti_sci_get_device_state(handle, id, NULL, NULL, &state, NULL);
drivers/firmware/ti_sci.c
789
static int ti_sci_cmd_dev_is_stop(const struct ti_sci_handle *handle, u32 id,
drivers/firmware/ti_sci.c
799
ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state);
drivers/firmware/ti_sci.c
820
static int ti_sci_cmd_dev_is_on(const struct ti_sci_handle *handle, u32 id,
drivers/firmware/ti_sci.c
830
ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state);
drivers/firmware/ti_sci.c
850
static int ti_sci_cmd_dev_is_trans(const struct ti_sci_handle *handle, u32 id,
drivers/firmware/ti_sci.c
859
ret = ti_sci_get_device_state(handle, id, NULL, NULL, NULL, &state);
drivers/firmware/ti_sci.c
877
static int ti_sci_cmd_set_device_resets(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
887
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
888
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
889
if (!handle)
drivers/firmware/ti_sci.c
892
info = handle_to_ti_sci_info(handle);
drivers/firmware/ti_sci.c
932
static int ti_sci_cmd_get_device_resets(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
935
return ti_sci_get_device_state(handle, id, NULL, reset_state, NULL,
drivers/firmware/ti_sci.c
951
static int ti_sci_set_clock_state(const struct ti_sci_handle *handle,
drivers/firmware/ti_sci.c
962
if (IS_ERR(handle))
drivers/firmware/ti_sci.c
963
return PTR_ERR(handle);
drivers/firmware/ti_sci.c
964
if (!handle)
drivers/firmware/ti_sci.c
967
info = handle_to_ti_sci_info(handle);
drivers/gpib/common/gpib_os.c
1079
desc = handle_to_descriptor(file_priv, write_cmd.handle);
drivers/gpib/common/gpib_os.c
1292
open_dev_cmd.handle = i;
drivers/gpib/common/gpib_os.c
1313
if (cmd.handle >= GPIB_MAX_NUM_DESCRIPTORS)
drivers/gpib/common/gpib_os.c
1317
desc = file_priv->descriptors[cmd.handle];
drivers/gpib/common/gpib_os.c
1327
file_priv->descriptors[cmd.handle] = NULL;
drivers/gpib/common/gpib_os.c
1376
desc = handle_to_descriptor(file_priv, wait_cmd.handle);
drivers/gpib/common/gpib_os.c
1510
desc = handle_to_descriptor(file_priv, cmd.handle);
drivers/gpib/common/gpib_os.c
1546
desc = handle_to_descriptor(file_priv, cmd.handle);
drivers/gpib/common/gpib_os.c
502
int handle)
drivers/gpib/common/gpib_os.c
504
if (handle < 0 || handle >= GPIB_MAX_NUM_DESCRIPTORS) {
drivers/gpib/common/gpib_os.c
505
pr_err("gpib: invalid handle %i\n", handle);
drivers/gpib/common/gpib_os.c
509
return file_priv->descriptors[handle];
drivers/gpib/common/gpib_os.c
906
desc = handle_to_descriptor(file_priv, read_cmd.handle);
drivers/gpib/common/gpib_os.c
990
desc = handle_to_descriptor(file_priv, cmd.handle);
drivers/gpio/gpio-imx-scu.c
22
struct imx_sc_ipc *handle;
drivers/gpio/gpio-imx-scu.c
44
err = imx_sc_misc_get_control(priv->handle,
drivers/gpio/gpio-imx-scu.c
63
err = imx_sc_misc_set_control(priv->handle,
drivers/gpio/gpio-imx-scu.c
89
ret = imx_scu_get_handle(&priv->handle);
drivers/gpio/gpiolib-acpi-core.c
1188
acpi_handle handle = ACPI_HANDLE(chip->parent);
drivers/gpio/gpiolib-acpi-core.c
1193
status = acpi_install_address_space_handler(handle, ACPI_ADR_SPACE_GPIO,
drivers/gpio/gpiolib-acpi-core.c
1204
acpi_handle handle = ACPI_HANDLE(chip->parent);
drivers/gpio/gpiolib-acpi-core.c
1208
status = acpi_remove_address_space_handler(handle, ACPI_ADR_SPACE_GPIO,
drivers/gpio/gpiolib-acpi-core.c
1316
status = acpi_attach_data(adev->handle, acpi_gpio_chip_dh, acpi_gpio);
drivers/gpio/gpiolib-acpi-core.c
133
acpi_handle handle;
drivers/gpio/gpiolib-acpi-core.c
1331
acpi_handle handle;
drivers/gpio/gpiolib-acpi-core.c
1337
handle = ACPI_HANDLE(chip->parent);
drivers/gpio/gpiolib-acpi-core.c
1338
if (!handle)
drivers/gpio/gpiolib-acpi-core.c
1341
status = acpi_get_data(handle, acpi_gpio_chip_dh, (void **)&acpi_gpio);
drivers/gpio/gpiolib-acpi-core.c
1349
acpi_detach_data(handle, acpi_gpio_chip_dh);
drivers/gpio/gpiolib-acpi-core.c
136
status = acpi_get_handle(NULL, path, &handle);
drivers/gpio/gpiolib-acpi-core.c
141
gpio_device_find(handle, acpi_gpiochip_find);
drivers/gpio/gpiolib-acpi-core.c
156
acpi_evaluate_object(event->handle, NULL, NULL, NULL);
drivers/gpio/gpiolib-acpi-core.c
165
acpi_execute_simple_method(event->handle, NULL, event->pin);
drivers/gpio/gpiolib-acpi-core.c
170
static void acpi_gpio_chip_dh(acpi_handle handle, void *data)
drivers/gpio/gpiolib-acpi-core.c
349
acpi_handle handle, evt_handle;
drivers/gpio/gpiolib-acpi-core.c
359
handle = ACPI_HANDLE(chip->parent);
drivers/gpio/gpiolib-acpi-core.c
367
if (ACPI_SUCCESS(acpi_get_handle(handle, ev_name, &evt_handle)))
drivers/gpio/gpiolib-acpi-core.c
371
if (ACPI_SUCCESS(acpi_get_handle(handle, "_EVT", &evt_handle)))
drivers/gpio/gpiolib-acpi-core.c
41
acpi_handle handle;
drivers/gpio/gpiolib-acpi-core.c
431
event->handle = evt_handle;
drivers/gpio/gpiolib-acpi-core.c
463
acpi_handle handle;
drivers/gpio/gpiolib-acpi-core.c
469
handle = ACPI_HANDLE(chip->parent);
drivers/gpio/gpiolib-acpi-core.c
470
if (!handle)
drivers/gpio/gpiolib-acpi-core.c
473
status = acpi_get_data(handle, acpi_gpio_chip_dh, (void **)&acpi_gpio);
drivers/gpio/gpiolib-acpi-core.c
480
acpi_walk_resources(handle, METHOD_NAME__AEI,
drivers/gpio/gpiolib-acpi-core.c
501
acpi_handle handle;
drivers/gpio/gpiolib-acpi-core.c
507
handle = ACPI_HANDLE(chip->parent);
drivers/gpio/gpiolib-acpi-core.c
508
if (!handle)
drivers/gpio/gpiolib-acpi-core.c
511
status = acpi_get_data(handle, acpi_gpio_chip_dh, (void **)&acpi_gpio);
drivers/gpu/drm/amd/amdgpu/aldebaran.c
116
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/aldebaran.c
131
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/aldebaran.c
155
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/aldebaran.c
36
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/aldebaran.c
454
reset_ctl->handle = adev;
drivers/gpu/drm/amd/amdgpu/aldebaran.c
50
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
212
static bool aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
214
const struct aca_bank_ops *bank_ops = handle->bank_ops;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
218
return handle->hwip == ACA_HWIP_TYPE_UMC;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
220
if (!aca_bank_hwip_is_matched(bank, handle->hwip))
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
226
return bank_ops->aca_bank_is_valid(handle, bank, type, handle->data);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
295
int aca_error_cache_log_bank_error(struct aca_handle *handle, struct aca_bank_info *info,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
298
struct aca_error_cache *error_cache = &handle->error_cache;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
302
if (!handle || !info || type >= ACA_ERROR_TYPE_COUNT)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
31
typedef int bank_handler_t(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type, void *data);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
318
static int aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
320
const struct aca_bank_ops *bank_ops = handle->bank_ops;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
328
return bank_ops->aca_bank_parser(handle, bank, type,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
329
handle->data);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
332
static int handler_aca_log_bank_error(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
337
ret = aca_bank_parser(handle, bank, type);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
347
struct aca_handle *handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
353
list_for_each_entry(handle, &mgr->list, node) {
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
354
if (!aca_bank_is_valid(handle, bank, type))
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
357
ret = handler(handle, bank, type, data);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
539
static int aca_log_aca_error(struct aca_handle *handle, enum aca_error_type type, struct ras_err_data *err_data)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
541
struct aca_error_cache *error_cache = &handle->error_cache;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
561
static int __aca_get_error_data(struct amdgpu_device *adev, struct aca_handle *handle, enum aca_error_type type,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
586
aca_log_aca_error(handle, ACA_ERROR_TYPE_DEFERRED, err_data);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
588
return aca_log_aca_error(handle, type, err_data);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
591
static bool aca_handle_is_valid(struct aca_handle *handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
593
if (!handle->mask || !list_empty(&handle->node))
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
599
int amdgpu_aca_get_error_data(struct amdgpu_device *adev, struct aca_handle *handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
603
if (!handle || !err_data)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
606
if (aca_handle_is_valid(handle))
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
609
if ((type < 0) || (!(BIT(type) & handle->mask)))
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
612
return __aca_get_error_data(adev, handle, type, err_data, qctx);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
623
static void aca_init_error_cache(struct aca_handle *handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
625
struct aca_error_cache *error_cache = &handle->error_cache;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
648
static void aca_fini_error_cache(struct aca_handle *handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
650
struct aca_error_cache *error_cache = &handle->error_cache;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
657
static int add_aca_handle(struct amdgpu_device *adev, struct aca_handle_manager *mgr, struct aca_handle *handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
660
memset(handle, 0, sizeof(*handle));
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
662
handle->adev = adev;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
663
handle->mgr = mgr;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
664
handle->name = name;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
665
handle->hwip = ras_info->hwip;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
666
handle->mask = ras_info->mask;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
667
handle->bank_ops = ras_info->bank_ops;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
668
handle->data = data;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
669
aca_init_error_cache(handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
671
INIT_LIST_HEAD(&handle->node);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
672
list_add_tail(&handle->node, &mgr->list);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
681
struct aca_handle *handle = container_of(attr, struct aca_handle, aca_attr);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
685
return amdgpu_ras_aca_sysfs_read(dev, attr, handle, buf, handle->data);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
688
static int add_aca_sysfs(struct amdgpu_device *adev, struct aca_handle *handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
690
struct device_attribute *aca_attr = &handle->aca_attr;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
692
snprintf(handle->attr_name, sizeof(handle->attr_name) - 1, "aca_%s", handle->name);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
694
aca_attr->attr.name = handle->attr_name;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
703
int amdgpu_aca_add_handle(struct amdgpu_device *adev, struct aca_handle *handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
712
ret = add_aca_handle(adev, &aca->mgr, handle, name, ras_info, data);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
716
return add_aca_sysfs(adev, handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
719
static void remove_aca_handle(struct aca_handle *handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
721
struct aca_handle_manager *mgr = handle->mgr;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
723
aca_fini_error_cache(handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
724
list_del(&handle->node);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
728
static void remove_aca_sysfs(struct aca_handle *handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
730
struct amdgpu_device *adev = handle->adev;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
731
struct device_attribute *aca_attr = &handle->aca_attr;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
739
void amdgpu_aca_remove_handle(struct aca_handle *handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
741
if (!handle || list_empty(&handle->node))
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
744
remove_aca_sysfs(handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
745
remove_aca_handle(handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
758
struct aca_handle *handle, *tmp;
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
763
list_for_each_entry_safe(handle, tmp, &mgr->list, node)
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
764
amdgpu_aca_remove_handle(handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
915
static int handler_aca_bank_dump(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c
922
return handler_aca_log_bank_error(handle, bank, type, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
186
int (*aca_bank_parser)(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type, void *data);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
187
bool (*aca_bank_is_valid)(struct aca_handle *handle, struct aca_bank *bank, enum aca_smu_type type,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
222
int amdgpu_aca_add_handle(struct amdgpu_device *adev, struct aca_handle *handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
224
void amdgpu_aca_remove_handle(struct aca_handle *handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
225
int amdgpu_aca_get_error_data(struct amdgpu_device *adev, struct aca_handle *handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_aca.h
230
int aca_error_cache_log_bank_error(struct aca_handle *handle, struct aca_bank_info *info,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1027
obj = acpi_evaluate_dsm_typed(xcc_info->handle, &amd_xcc_dsm_guid, 0,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1032
acpi_handle_debug(xcc_info->handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1042
obj = acpi_evaluate_dsm_typed(xcc_info->handle, &amd_xcc_dsm_guid, 0,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1047
acpi_handle_debug(xcc_info->handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
105
acpi_handle handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1059
obj = acpi_evaluate_dsm_typed(xcc_info->handle, &amd_xcc_dsm_guid, 0,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1064
acpi_handle_debug(xcc_info->handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1099
obj = acpi_evaluate_dsm_typed(xcc_info->handle, &amd_xcc_dsm_guid, 0,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1108
obj = acpi_evaluate_dsm_typed(xcc_info->handle, &amd_xcc_dsm_guid, 0,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1113
acpi_handle_debug(xcc_info->handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1132
amdgpu_acpi_get_node_id(xcc_info->handle, &xcc_info->numa_info);
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1174
xcc_info->handle = acpi_device_handle(acpi_dev);
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
125
acpi_handle handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1374
amdgpu_acpi_priv.atif.handle = atif_handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1375
acpi_get_name(amdgpu_acpi_priv.atif.handle, ACPI_FULL_PATHNAME, &buffer);
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1379
amdgpu_acpi_priv.atif.handle = 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1409
amdgpu_acpi_priv.atcs.handle = atcs_handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1410
acpi_get_name(amdgpu_acpi_priv.atcs.handle, ACPI_FULL_PATHNAME, &buffer);
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1414
amdgpu_acpi_priv.atcs.handle = 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1466
if (!atif->handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
1468
if (!atcs->handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
173
status = acpi_evaluate_object(atif->handle, NULL, &atif_arg,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
566
status = acpi_evaluate_object(atcs->handle, NULL, &atcs_arg, &buffer);
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
65
acpi_handle handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
971
static acpi_status amdgpu_acpi_get_node_id(acpi_handle handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
981
status = acpi_evaluate_integer(handle, "_PXM", NULL, &pxm);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2443
uint32_t handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2447
&handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2450
obj = drm_gem_object_lookup(adev->kfd.client.file, handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2461
(*mem)->gem_handle = handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2468
drm_gem_handle_delete(adev->kfd.client.file, handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
102
static union acpi_object *amdgpu_atpx_call(acpi_handle handle, int function,
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
126
status = acpi_evaluate_object(handle, NULL, &atpx_arg, &buffer);
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
178
info = amdgpu_atpx_call(atpx->handle, ATPX_FUNCTION_GET_PX_PARAMETERS, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
257
info = amdgpu_atpx_call(atpx->handle, ATPX_FUNCTION_VERIFY_INTERFACE, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
305
info = amdgpu_atpx_call(atpx->handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
341
info = amdgpu_atpx_call(atpx->handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
373
info = amdgpu_atpx_call(atpx->handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
39
acpi_handle handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
405
info = amdgpu_atpx_call(atpx->handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
437
info = amdgpu_atpx_call(atpx->handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
517
amdgpu_atpx_priv.atpx.handle = atpx_handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
631
acpi_get_name(amdgpu_atpx_priv.atpx.handle, ACPI_FULL_PATHNAME, &buffer);
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
227
uint32_t handle = args->in.list_handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
250
handle = r;
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
254
amdgpu_bo_list_destroy(fpriv, handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
255
handle = 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
265
old = idr_replace(&fpriv->bo_list_handles, list, handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c
282
args->out.list_handle = handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
133
gobj = drm_gem_object_lookup(p->filp, data->handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1368
cs->out.handle = seq;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1511
fence = amdgpu_ctx_get_fence(ctx, entity, wait->in.handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1588
r = drm_syncobj_get_handle(filp, syncobj, &info->out.handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1597
r = drm_syncobj_get_fd(syncobj, (int *)&info->out.handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
1616
info->out.handle = fd;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
430
fence = amdgpu_ctx_get_fence(ctx, entity, deps[i].handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
456
uint32_t handle, u64 point,
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
462
r = drm_syncobj_find_fence(p->filp, handle, point, flags, &fence);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
465
handle, point, r);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
484
r = amdgpu_syncobj_lookup_and_add(p, deps[i].handle, 0, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
502
r = amdgpu_syncobj_lookup_and_add(p, syncobj_deps[i].handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
534
drm_syncobj_find(p->filp, deps[i].handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
575
syncobj_deps[i].handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1021
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1259
uint32_t handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1285
r = drm_gem_handle_create(file_priv, gobj, &handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
1291
args->handle = handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
207
int handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
211
idr_for_each_entry(&file->object_idr, gobj, handle) {
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
413
uint32_t handle, initial_domain;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
483
r = drm_gem_handle_create(filp, gobj, &handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
490
args->out.handle = handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
504
uint32_t handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
564
r = drm_gem_handle_create(filp, gobj, &handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
568
args->handle = handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
581
uint32_t handle, uint64_t *offset_p)
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
586
gobj = drm_gem_object_lookup(filp, handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
605
uint32_t handle = args->in.handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
608
return amdgpu_mode_dumb_mmap(filp, dev, handle, &args->out.addr_ptr);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
645
uint32_t handle = args->in.handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
650
gobj = drm_gem_object_lookup(filp, handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
680
DRM_DEBUG("%d\n", args->handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
681
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
694
args->handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
892
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h
54
uint32_t handle, uint64_t *offset_p);
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c
188
static int amdgpu_jpeg_dec_set_reg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1151
struct drm_amdgpu_info_num_handles handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1157
handle.uvd_max_handles = adev->uvd.max_handles;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1158
handle.uvd_used_handles = amdgpu_uvd_used_handles(adev);
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1160
return copy_to_user(out, &handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1161
min((size_t)size, sizeof(handle))) ? -EFAULT : 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1566
int handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1602
idr_for_each_entry(&fpriv->bo_list_handles, list, handle)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
1421
struct aca_handle *handle, char *buf, void *data)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
1423
struct ras_manager *obj = container_of(handle, struct ras_manager, aca_handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
1013
struct aca_handle *handle, char *buf, void *data);
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c
103
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.h
76
void *handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
1202
int amdgpu_uvd_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
1214
msg[2] = cpu_to_le32(handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
1230
int amdgpu_uvd_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
1250
msg[2] = cpu_to_le32(handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
527
uint32_t handle = atomic_read(&adev->uvd.handles[i]);
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
529
if (handle != 0 && adev->uvd.filp[i] == filp) {
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
532
r = amdgpu_uvd_get_destroy_msg(ring, handle, false,
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
821
int32_t *msg, msg_type, handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
840
handle = msg[2];
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
842
if (handle == 0) {
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
855
if (atomic_read(&adev->uvd.handles[i]) == handle) {
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
857
handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
861
if (!atomic_cmpxchg(&adev->uvd.handles[i], 0, handle)) {
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
879
if (atomic_read(&adev->uvd.handles[i]) == handle) {
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
888
DRM_ERROR("Invalid UVD handle 0x%x!\n", handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
894
atomic_cmpxchg(&adev->uvd.handles[i], handle, 0);
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
80
int amdgpu_uvd_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
82
int amdgpu_uvd_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
1025
uint32_t tmp, handle = 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
1040
handle = amdgpu_ib_get_value(ib, idx + 2);
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
1041
session_idx = amdgpu_vce_validate_handle(p, handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
439
uint32_t handle = atomic_read(&adev->vce.handles[i]);
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
441
if (!handle || adev->vce.filp[i] != filp)
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
444
r = amdgpu_vce_get_destroy_msg(ring, handle, false, NULL);
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
480
static int amdgpu_vce_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
514
ib->ptr[ib->length_dw++] = handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
572
static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
596
ib->ptr[ib->length_dw++] = handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
743
uint32_t handle, uint32_t *allocated)
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
749
if (atomic_read(&p->adev->vce.handles[i]) == handle) {
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
760
if (!atomic_cmpxchg(&p->adev->vce.handles[i], 0, handle)) {
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
788
uint32_t tmp, handle = 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
868
handle = amdgpu_ib_get_value(ib, idx + 2);
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
869
session_idx = amdgpu_vce_validate_handle(p, handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
91
static int amdgpu_vce_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
93
static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
1022
ib->ptr[ib->length_dw++] = handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
667
static int amdgpu_vcn_dec_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
686
msg[4] = cpu_to_le32(handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
702
static int amdgpu_vcn_dec_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
721
msg[4] = cpu_to_le32(handle);
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
923
static int amdgpu_vcn_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
955
ib->ptr[ib->length_dw++] = handle;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
990
static int amdgpu_vcn_enc_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
36
int (*run_func)(void *handle, uint32_t inst_mask);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
89
int (*prepare_suspend)(void *handle, uint32_t inst_mask);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
90
int (*suspend)(void *handle, uint32_t inst_mask);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
91
int (*prepare_resume)(void *handle, uint32_t inst_mask);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
92
int (*resume)(void *handle, uint32_t inst_mask);
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
1152
static int xgmi_v6_4_0_aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
1155
struct amdgpu_device *adev = handle->adev;
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
1181
ret = aca_error_cache_log_bank_error(handle, &info, ACA_ERROR_TYPE_UE, count);
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
1186
ret = aca_error_cache_log_bank_error(handle, &info, bank->aca_err_type, count);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2357
uint32_t handle,
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2368
if (!handle) {
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2381
obj = drm_gem_object_lookup(file_priv, handle);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
2383
DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2330
uint32_t handle,
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2341
if (!handle) {
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2354
obj = drm_gem_object_lookup(file_priv, handle);
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
2356
DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2276
uint32_t handle,
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2287
if (!handle) {
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2300
obj = drm_gem_object_lookup(file_priv, handle);
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
2302
DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, amdgpu_crtc->crtc_id);
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
4025
static int gfx_v12_1_xcp_resume(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
4027
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
4052
static int gfx_v12_1_xcp_suspend(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
4054
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4809
static bool gfx_v8_0_rlc_is_idle(void *handle)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4811
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4819
static int gfx_v8_0_wait_for_rlc_idle(void *handle)
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4822
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
4825
if (gfx_v8_0_rlc_is_idle(handle))
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
4970
static int gfx_v9_4_3_xcp_resume(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
4972
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
5002
static int gfx_v9_4_3_xcp_suspend(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
5004
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
854
static int gfx_v9_4_3_aca_bank_parser(struct aca_handle *handle,
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
877
ret = aca_error_cache_log_bank_error(handle, &info, bank->aca_err_type, 1ULL);
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
881
ret = aca_error_cache_log_bank_error(handle, &info, bank->aca_err_type,
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
891
static bool gfx_v9_4_3_aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/gfxhub_v12_1.c
862
static int gfxhub_v12_1_xcp_resume(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/gfxhub_v12_1.c
864
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/gfxhub_v12_1.c
880
static int gfxhub_v12_1_xcp_suspend(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/gfxhub_v12_1.c
882
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
643
static int gfxhub_v1_2_xcp_resume(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
645
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
661
static int gfxhub_v1_2_xcp_suspend(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
663
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
1387
static int jpeg_v4_0_3_aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
1402
ret = aca_error_cache_log_bank_error(handle, &info, ACA_ERROR_TYPE_UE,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
1407
ret = aca_error_cache_log_bank_error(handle, &info, bank->aca_err_type,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
1423
static bool jpeg_v4_0_3_aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c
1434
if (aca_bank_check_error_codes(handle->adev, bank,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
1005
static int jpeg_v5_0_1_aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
1020
ret = aca_error_cache_log_bank_error(handle, &info, ACA_ERROR_TYPE_UE,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
1025
ret = aca_error_cache_log_bank_error(handle, &info, bank->aca_err_type,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
1042
static bool jpeg_v5_0_1_aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c
1053
if (aca_bank_check_error_codes(handle->adev, bank,
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c
775
static int mmhub_v1_8_aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c
790
ret = aca_error_cache_log_bank_error(handle, &info, ACA_ERROR_TYPE_UE,
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c
795
ret = aca_error_cache_log_bank_error(handle, &info, bank->aca_err_type,
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c
815
static bool mmhub_v1_8_aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c
826
if (aca_bank_check_error_codes(handle->adev, bank,
drivers/gpu/drm/amd/amdgpu/mmhub_v4_2_0.c
889
static int mmhub_v4_2_0_xcp_resume(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/mmhub_v4_2_0.c
891
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/mmhub_v4_2_0.c
907
static int mmhub_v4_2_0_xcp_suspend(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/mmhub_v4_2_0.c
909
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
2389
static int sdma_v4_4_2_xcp_resume(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
2391
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
2402
static int sdma_v4_4_2_xcp_suspend(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
2404
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
2528
static int sdma_v4_4_2_aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
2543
ret = aca_error_cache_log_bank_error(handle, &info, ACA_ERROR_TYPE_UE,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
2548
ret = aca_error_cache_log_bank_error(handle, &info, bank->aca_err_type,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
2561
static bool sdma_v4_4_2_aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
2572
if (aca_bank_check_error_codes(handle->adev, bank,
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
1783
static int sdma_v7_1_xcp_resume(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
1785
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
1793
static int sdma_v7_1_xcp_suspend(void *handle, uint32_t inst_mask)
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
1795
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c
115
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c
138
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c
221
struct amdgpu_device *tmp_adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c
280
reset_ctl->handle = adev;
drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c
37
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c
97
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
114
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
129
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
222
struct amdgpu_device *tmp_adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
277
reset_ctl->handle = adev;
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
34
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
46
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
96
struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
drivers/gpu/drm/amd/amdgpu/umc_v12_0.c
457
static int umc_v12_0_aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/umc_v12_0.c
460
struct amdgpu_device *adev = handle->adev;
drivers/gpu/drm/amd/amdgpu/umc_v12_0.c
495
return aca_error_cache_log_bank_error(handle, &info, err_type, count);
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
208
static int uvd_v6_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle,
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
231
ib->ptr[ib->length_dw++] = handle;
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
273
uint32_t handle,
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
296
ib->ptr[ib->length_dw++] = handle;
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
216
static int uvd_v7_0_enc_get_create_msg(struct amdgpu_ring *ring, u32 handle,
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
239
ib->ptr[ib->length_dw++] = handle;
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
280
static int uvd_v7_0_enc_get_destroy_msg(struct amdgpu_ring *ring, u32 handle,
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
303
ib->ptr[ib->length_dw++] = handle;
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
2131
static int vcn_v4_0_3_aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
2146
ret = aca_error_cache_log_bank_error(handle, &info, ACA_ERROR_TYPE_UE,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
2151
ret = aca_error_cache_log_bank_error(handle, &info, bank->aca_err_type,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
2166
static bool vcn_v4_0_3_aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
2177
if (aca_bank_check_error_codes(handle->adev, bank,
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
1715
static int vcn_v5_0_1_aca_bank_parser(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
1730
ret = aca_error_cache_log_bank_error(handle, &info, ACA_ERROR_TYPE_UE,
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
1735
ret = aca_error_cache_log_bank_error(handle, &info, bank->aca_err_type,
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
1750
static bool vcn_v5_0_1_aca_bank_is_valid(struct aca_handle *handle, struct aca_bank *bank,
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
1761
if (aca_bank_check_error_codes(handle->adev, bank,
drivers/gpu/drm/amd/amdgpu/vi.c
1825
static int vi_common_set_clockgating_state_by_smu(void *handle,
drivers/gpu/drm/amd/amdgpu/vi.c
1830
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1185
args->handle = MAKE_HANDLE(args->gpu_id, idr_handle);
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1221
if (p->signal_handle && (p->signal_handle == args->handle)) {
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1227
pdd = kfd_process_device_data_by_id(p, GET_GPU_ID(args->handle));
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1235
pdd, GET_IDR_HANDLE(args->handle));
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1249
pdd, GET_IDR_HANDLE(args->handle));
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1293
pdd = kfd_process_device_data_by_id(p, GET_GPU_ID(args->handle));
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1307
GET_IDR_HANDLE(args->handle));
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1410
pdd = kfd_process_device_data_by_id(p, GET_GPU_ID(args->handle));
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1417
GET_IDR_HANDLE(args->handle));
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1614
args->handle = MAKE_HANDLE(args->gpu_id, idr_handle);
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1636
dev = kfd_device_by_id(GET_GPU_ID(args->handle));
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
1649
GET_IDR_HANDLE(args->handle));
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
1112
int handle);
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
1114
int handle);
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
736
#define GET_GPU_ID(handle) (handle >> 32)
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
737
#define GET_IDR_HANDLE(handle) (handle & 0xFFFFFFFF)
drivers/gpu/drm/amd/amdkfd/kfd_process.c
1883
int handle)
drivers/gpu/drm/amd/amdkfd/kfd_process.c
1885
if (handle < 0)
drivers/gpu/drm/amd/amdkfd/kfd_process.c
1888
return idr_find(&pdd->alloc_idr, handle);
drivers/gpu/drm/amd/amdkfd/kfd_process.c
1895
int handle)
drivers/gpu/drm/amd/amdkfd/kfd_process.c
1897
if (handle >= 0)
drivers/gpu/drm/amd/amdkfd/kfd_process.c
1898
idr_remove(&pdd->alloc_idr, handle);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
104
struct dc_link *link = handle;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
220
psp_set_srm(hdcp_work->hdcp.config.psp.handle, hdcp_work->srm,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
42
lp_write_i2c(void *handle, uint32_t address, const uint8_t *data, uint32_t size)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
44
struct dc_link *link = handle;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
498
static bool enable_assr(void *handle, struct dc_link *link)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
500
struct hdcp_workqueue *hdcp_work = handle;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
502
struct psp_context *psp = hdcp.config.psp.handle;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
53
lp_read_i2c(void *handle, uint32_t address, uint8_t offset, uint8_t *data, uint32_t size)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
532
static void update_config(void *handle, struct cp_psp_stream_config *config)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
534
struct hdcp_workqueue *hdcp_work = handle;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
55
struct dc_link *link = handle;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
66
lp_write_dpcd(void *handle, uint32_t address, const uint8_t *data, uint32_t size)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
665
if (!psp_set_srm(work->hdcp.config.psp.handle, work->srm_temp, pos + count, &srm_version)) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
68
struct dc_link *link = handle;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
691
srm = psp_get_srm(work->hdcp.config.psp.handle, &srm_version, &srm_size);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
74
lp_read_dpcd(void *handle, uint32_t address, uint8_t *data, uint32_t size)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
76
struct dc_link *link = handle;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
779
config->psp.handle = &adev->psp;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
792
config->ddc.handle = dc_get_link_at_index(dc, i);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
811
cp_psp->handle = hdcp_work;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
82
void *handle,
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
90
struct dc_link *link = handle;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
96
void *handle,
drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
51
bool (*enable_assr)(void *handle, struct dc_link *link);
drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
52
void (*update_stream_config)(void *handle, struct cp_psp_stream_config *config);
drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
56
void *handle;
drivers/gpu/drm/amd/display/dc/link/link_dpms.c
725
cp_psp->funcs.update_stream_config(cp_psp->handle, &config);
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c
1302
result = cp_psp->funcs.enable_assr(cp_psp->handle, link);
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
3215
uint32_t handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
172
success = hdcp->config.ddc.funcs.read_dpcd(hdcp->config.ddc.handle,
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
189
hdcp->config.ddc.handle,
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
244
hdcp->config.ddc.handle,
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
263
hdcp->config.ddc.handle,
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
685
return hdcp->config.ddc.funcs.write_dpcd(hdcp->config.ddc.handle, cp_irq_addrs,
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
711
hdcp->config.ddc.handle,
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
748
hdcp->config.ddc.handle,
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
125
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
172
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
253
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
295
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
328
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
369
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
399
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
441
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
477
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
503
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
51
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
550
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
583
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
615
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
675
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
721
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
754
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
789
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
834
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
865
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
87
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
918
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
962
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c
998
struct psp_context *psp = hdcp->config.psp.handle;
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h
155
void *handle;
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h
157
bool (*read_i2c)(void *handle,
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h
162
bool (*write_i2c)(void *handle,
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h
166
bool (*read_dpcd)(void *handle,
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h
170
bool (*write_dpcd)(void *handle,
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h
175
void *handle,
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h
183
void *handle,
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h
194
void *handle;
drivers/gpu/drm/amd/include/kgd_pp_interface.h
412
int (*pre_set_power_state)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
413
int (*set_power_state)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
414
void (*post_set_power_state)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
415
void (*display_configuration_changed)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
416
void (*print_power_state)(void *handle, void *ps);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
417
bool (*vblank_too_short)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
418
void (*enable_bapm)(void *handle, bool enable);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
419
int (*check_state_equal)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
424
int (*set_fan_control_mode)(void *handle, u32 mode);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
425
int (*get_fan_control_mode)(void *handle, u32 *fan_mode);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
426
int (*set_fan_speed_pwm)(void *handle, u32 speed);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
427
int (*get_fan_speed_pwm)(void *handle, u32 *speed);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
428
int (*force_clock_level)(void *handle, enum pp_clock_type type, uint32_t mask);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
429
int (*print_clock_levels)(void *handle, enum pp_clock_type type, char *buf);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
430
int (*emit_clock_levels)(void *handle, enum pp_clock_type type, char *buf, int *offset);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
431
int (*force_performance_level)(void *handle, enum amd_dpm_forced_level level);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
432
int (*get_sclk_od)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
433
int (*set_sclk_od)(void *handle, uint32_t value);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
434
int (*get_mclk_od)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
435
int (*set_mclk_od)(void *handle, uint32_t value);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
436
int (*read_sensor)(void *handle, int idx, void *value, int *size);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
437
int (*get_apu_thermal_limit)(void *handle, uint32_t *limit);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
438
int (*set_apu_thermal_limit)(void *handle, uint32_t limit);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
439
enum amd_dpm_forced_level (*get_performance_level)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
440
enum amd_pm_state_type (*get_current_power_state)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
441
int (*get_fan_speed_rpm)(void *handle, uint32_t *rpm);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
442
int (*set_fan_speed_rpm)(void *handle, uint32_t rpm);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
443
int (*get_pp_num_states)(void *handle, struct pp_states_info *data);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
444
int (*get_pp_table)(void *handle, char **table);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
445
int (*set_pp_table)(void *handle, const char *buf, size_t size);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
446
void (*debugfs_print_current_performance_level)(void *handle, struct seq_file *m);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
447
int (*switch_power_profile)(void *handle, enum PP_SMC_POWER_PROFILE type, bool en);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
448
int (*pause_power_profile)(void *handle, bool pause);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
450
struct amd_vce_state *(*get_vce_clock_state)(void *handle, u32 idx);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
451
int (*dispatch_tasks)(void *handle, enum amd_pp_task task_id,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
453
int (*load_firmware)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
454
int (*wait_for_fw_loading_complete)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
455
int (*set_powergating_by_smu)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
459
int (*set_clockgating_by_smu)(void *handle, uint32_t msg_id);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
460
int (*set_power_limit)(void *handle, uint32_t limit_type, uint32_t n);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
461
int (*get_power_limit)(void *handle, uint32_t *limit,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
464
int (*get_power_profile_mode)(void *handle, char *buf);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
465
int (*set_power_profile_mode)(void *handle, long *input, uint32_t size);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
466
int (*set_fine_grain_clk_vol)(void *handle, uint32_t type, long *input, uint32_t size);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
467
int (*odn_edit_dpm_table)(void *handle, enum PP_OD_DPM_TABLE_COMMAND type,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
469
int (*set_mp1_state)(void *handle, enum pp_mp1_state mp1_state);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
470
int (*smu_i2c_bus_access)(void *handle, bool acquire);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
471
int (*gfx_state_change_set)(void *handle, uint32_t state);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
473
u32 (*get_sclk)(void *handle, bool low);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
474
u32 (*get_mclk)(void *handle, bool low);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
475
int (*display_configuration_change)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
477
int (*get_display_power_level)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
479
int (*get_current_clocks)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
481
int (*get_clock_by_type)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
484
int (*get_clock_by_type_with_latency)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
487
int (*get_clock_by_type_with_voltage)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
490
int (*set_watermarks_for_clocks_ranges)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
492
int (*display_clock_voltage_request)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
494
int (*get_display_mode_validation_clocks)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
496
int (*notify_smu_enable_pwe)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
497
int (*enable_mgpu_fan_boost)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
498
int (*set_active_display_count)(void *handle, uint32_t count);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
499
int (*set_hard_min_dcefclk_by_freq)(void *handle, uint32_t clock);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
500
int (*set_hard_min_fclk_by_freq)(void *handle, uint32_t clock);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
501
int (*set_min_deep_sleep_dcefclk)(void *handle, uint32_t clock);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
502
int (*get_asic_baco_capability)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
503
int (*get_asic_baco_state)(void *handle, int *state);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
504
int (*set_asic_baco_state)(void *handle, int state);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
505
int (*get_ppfeature_status)(void *handle, char *buf);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
506
int (*set_ppfeature_status)(void *handle, uint64_t ppfeature_masks);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
507
int (*asic_reset_mode_2)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
508
int (*asic_reset_enable_gfx_features)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
509
int (*set_df_cstate)(void *handle, enum pp_df_cstate state);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
510
int (*set_xgmi_pstate)(void *handle, uint32_t pstate);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
511
ssize_t (*get_gpu_metrics)(void *handle, void **table);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
512
ssize_t (*get_temp_metrics)(void *handle, enum smu_temp_metric_type type, void *table);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
513
bool (*temp_metrics_is_supported)(void *handle, enum smu_temp_metric_type type);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
514
ssize_t (*get_xcp_metrics)(void *handle, int xcp_id, void *table);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
515
ssize_t (*get_pm_metrics)(void *handle, void *pmmetrics, size_t size);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
516
int (*set_watermarks_for_clock_ranges)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
518
int (*display_disable_memory_clock_switch)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
520
int (*get_max_sustainable_clocks_by_dc)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
522
int (*get_uclk_dpm_states)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
525
int (*get_dpm_clock_table)(void *handle,
drivers/gpu/drm/amd/include/kgd_pp_interface.h
527
int (*get_smu_prv_buf_details)(void *handle, void **addr, size_t *size);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
528
void (*pm_compute_clocks)(void *handle);
drivers/gpu/drm/amd/include/kgd_pp_interface.h
529
int (*notify_rlc_state)(void *handle, bool en);
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1236
static void kv_dpm_enable_bapm(void *handle, bool enable)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1238
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1668
static void kv_dpm_powergate_uvd(void *handle, bool gate)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1670
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1695
static void kv_dpm_powergate_vce(void *handle, bool gate)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1697
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1871
static int kv_dpm_force_performance_level(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1875
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1896
static int kv_dpm_pre_set_power_state(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1898
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1912
static int kv_dpm_set_power_state(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1914
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1987
static void kv_dpm_post_set_power_state(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
1989
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2853
kv_dpm_debugfs_print_current_performance_level(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2856
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2881
kv_dpm_print_power_state(void *handle, void *request_ps)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2886
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2914
static void kv_dpm_display_configuration_changed(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2919
static u32 kv_dpm_get_sclk(void *handle, bool low)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2921
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2931
static u32 kv_dpm_get_mclk(void *handle, bool low)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2933
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2940
static int kv_dpm_get_temp(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
2944
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
3215
static int kv_check_state_equal(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
3225
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
3258
static int kv_dpm_read_sensor(void *handle, int idx,
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
3261
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
3292
static int kv_set_powergating_by_smu(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
3299
kv_dpm_powergate_uvd(handle, gate);
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
3302
kv_dpm_powergate_vce(handle, gate);
drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c
757
struct amd_vce_state* amdgpu_get_vce_clock_state(void *handle, u32 idx)
drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c
759
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c
962
void amdgpu_legacy_dpm_compute_clocks(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c
964
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.h
33
struct amd_vce_state* amdgpu_get_vce_clock_state(void *handle, u32 idx);
drivers/gpu/drm/amd/pm/legacy-dpm/legacy_dpm.h
35
void amdgpu_legacy_dpm_compute_clocks(void *handle);
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3072
static bool si_dpm_vblank_too_short(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3074
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3914
static int si_dpm_force_performance_level(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
3917
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
6627
static int si_dpm_get_fan_speed_pwm(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
6632
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
6653
static int si_dpm_set_fan_speed_pwm(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
6656
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
6687
static int si_dpm_set_fan_control_mode(void *handle, u32 mode)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
6689
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
6710
static int si_dpm_get_fan_control_mode(void *handle, u32 *fan_mode)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
6712
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7014
static int si_dpm_pre_set_power_state(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7016
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7075
static int si_dpm_set_power_state(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7077
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7179
static void si_dpm_post_set_power_state(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7181
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7197
static void si_dpm_display_configuration_changed(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7199
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7572
static void si_dpm_debugfs_print_current_performance_level(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7575
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7928
static int si_dpm_get_temp(void *handle)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7932
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7947
static u32 si_dpm_get_sclk(void *handle, bool low)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7949
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7959
static u32 si_dpm_get_mclk(void *handle, bool low)
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7961
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7971
static void si_dpm_print_power_state(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
7974
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
8013
static int si_check_state_equal(void *handle,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
8023
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
8057
static int si_dpm_read_sensor(void *handle, int idx,
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c
8060
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1011
static int pp_display_configuration_change(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1014
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1023
static int pp_get_display_power_level(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1026
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1034
static int pp_get_current_clocks(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1039
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1083
static int pp_get_clock_by_type(void *handle, enum amd_pp_clock_type type, struct amd_pp_clocks *clocks)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1085
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1096
static int pp_get_clock_by_type_with_latency(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1100
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1108
static int pp_get_clock_by_type_with_voltage(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1112
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1120
static int pp_set_watermarks_for_clocks_ranges(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1123
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1132
static int pp_display_clock_voltage_request(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1135
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1143
static int pp_get_display_mode_validation_clocks(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1146
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1160
static int pp_dpm_powergate_mmhub(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1162
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1175
static int pp_dpm_powergate_gfx(void *handle, bool gate)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1177
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1190
static void pp_dpm_powergate_acp(void *handle, bool gate)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1192
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1205
static void pp_dpm_powergate_sdma(void *handle, bool gate)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1207
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1220
static int pp_set_powergating_by_smu(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1230
pp_dpm_powergate_uvd(handle, gate);
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1233
pp_dpm_powergate_vce(handle, gate);
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1241
pp_dpm_powergate_mmhub(handle);
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1244
ret = pp_dpm_powergate_gfx(handle, gate);
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1247
pp_dpm_powergate_acp(handle, gate);
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1250
pp_dpm_powergate_sdma(handle, gate);
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1258
static int pp_notify_smu_enable_pwe(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1260
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1275
static int pp_enable_mgpu_fan_boost(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1277
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1291
static int pp_set_min_deep_sleep_dcefclk(void *handle, uint32_t clock)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1293
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1308
static int pp_set_hard_min_dcefclk_by_freq(void *handle, uint32_t clock)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1310
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1325
static int pp_set_hard_min_fclk_by_freq(void *handle, uint32_t clock)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1327
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1342
static int pp_set_active_display_count(void *handle, uint32_t count)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1344
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1352
static int pp_get_asic_baco_capability(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1354
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1366
static int pp_get_asic_baco_state(void *handle, int *state)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1368
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1381
static int pp_set_asic_baco_state(void *handle, int state)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1383
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1397
static int pp_get_ppfeature_status(void *handle, char *buf)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1399
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1412
static int pp_set_ppfeature_status(void *handle, uint64_t ppfeature_masks)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1414
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1427
static int pp_asic_reset_mode_2(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1429
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1442
static int pp_smu_i2c_bus_access(void *handle, bool acquire)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1444
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1457
static int pp_set_df_cstate(void *handle, enum pp_df_cstate state)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1459
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1472
static int pp_set_xgmi_pstate(void *handle, uint32_t pstate)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1474
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1487
static ssize_t pp_get_gpu_metrics(void *handle, void **table)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1489
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1500
static int pp_gfx_state_change_set(void *handle, uint32_t state)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1502
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1516
static int pp_get_prv_buffer_details(void *handle, void **addr, size_t *size)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1518
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1537
static void pp_pm_compute_clocks(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1539
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1544
pp_display_configuration_change(handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
1548
pp_dpm_dispatch_tasks(handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
308
static int pp_dpm_load_fw(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
310
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
323
static int pp_dpm_fw_loading_complete(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
328
static int pp_set_clockgating_by_smu(void *handle, uint32_t msg_id)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
330
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
367
static int pp_dpm_force_performance_level(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
370
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
386
void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
388
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
396
static uint32_t pp_dpm_get_sclk(void *handle, bool low)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
398
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
410
static uint32_t pp_dpm_get_mclk(void *handle, bool low)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
412
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
424
static void pp_dpm_powergate_vce(void *handle, bool gate)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
426
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
438
static void pp_dpm_powergate_uvd(void *handle, bool gate)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
440
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
452
static int pp_dpm_dispatch_tasks(void *handle, enum amd_pp_task task_id,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
455
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
463
static enum amd_pm_state_type pp_dpm_get_current_power_state(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
465
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
495
static int pp_dpm_set_fan_control_mode(void *handle, uint32_t mode)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
497
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
513
static int pp_dpm_get_fan_control_mode(void *handle, uint32_t *fan_mode)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
515
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
530
static int pp_dpm_set_fan_speed_pwm(void *handle, uint32_t speed)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
532
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
546
static int pp_dpm_get_fan_speed_pwm(void *handle, uint32_t *speed)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
548
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
562
static int pp_dpm_get_fan_speed_rpm(void *handle, uint32_t *rpm)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
564
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
578
static int pp_dpm_set_fan_speed_rpm(void *handle, uint32_t rpm)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
580
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
594
static int pp_dpm_get_pp_num_states(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
597
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
630
static int pp_dpm_get_pp_table(void *handle, char **table)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
632
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
644
static int amd_powerplay_reset(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
646
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
660
static int pp_dpm_set_pp_table(void *handle, const char *buf, size_t size)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
662
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
680
ret = amd_powerplay_reset(handle);
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
690
static int pp_dpm_force_clock_level(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
693
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
711
static int pp_dpm_emit_clock_levels(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
716
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
727
static int pp_dpm_get_sclk_od(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
729
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
741
static int pp_dpm_set_sclk_od(void *handle, uint32_t value)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
743
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
756
static int pp_dpm_get_mclk_od(void *handle)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
758
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
770
static int pp_dpm_set_mclk_od(void *handle, uint32_t value)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
772
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
784
static int pp_dpm_read_sensor(void *handle, int idx,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
787
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
817
pp_dpm_get_vce_clock_state(void *handle, unsigned idx)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
819
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
829
static int pp_get_power_profile_mode(void *handle, char *buf)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
831
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
841
static int pp_set_power_profile_mode(void *handle, long *input, uint32_t size)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
843
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
856
static int pp_set_fine_grain_clk_vol(void *handle, uint32_t type, long *input, uint32_t size)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
858
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
869
static int pp_odn_edit_dpm_table(void *handle, enum PP_OD_DPM_TABLE_COMMAND type,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
872
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
885
static int pp_dpm_set_mp1_state(void *handle, enum pp_mp1_state mp1_state)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
887
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
901
static int pp_dpm_switch_power_profile(void *handle,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
904
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
943
static int pp_set_power_limit(void *handle, uint32_t limit_type, uint32_t limit)
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
945
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
973
static int pp_get_power_limit(void *handle, uint32_t *limit,
drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c
977
struct pp_hwmgr *hwmgr = handle;
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu10_smumgr.c
211
amdgpu_bo_free_kernel(&priv->smu_tables.entry[SMU10_WMTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu10_smumgr.c
214
amdgpu_bo_free_kernel(&priv->smu_tables.entry[SMU10_CLOCKTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu10_smumgr.c
258
&priv->smu_tables.entry[SMU10_WMTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu10_smumgr.c
273
&priv->smu_tables.entry[SMU10_CLOCKTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu10_smumgr.c
287
amdgpu_bo_free_kernel(&priv->smu_tables.entry[SMU10_WMTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu10_smumgr.h
38
struct amdgpu_bo *handle;
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
515
&smu_data->header_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
530
&smu_data->smu_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
535
amdgpu_bo_free_kernel(&smu_data->header_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
553
amdgpu_bo_free_kernel(&smu_data->header_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
558
amdgpu_bo_free_kernel(&smu_data->smu_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.h
36
struct amdgpu_bo *handle;
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu8_smumgr.c
779
&smu8_smu->toc_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu8_smumgr.c
789
&smu8_smu->smu_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu8_smumgr.c
837
amdgpu_bo_free_kernel(&smu8_smu->smu_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu8_smumgr.c
841
amdgpu_bo_free_kernel(&smu8_smu->toc_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu8_smumgr.c
858
amdgpu_bo_free_kernel(&smu8_smu->toc_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu8_smumgr.c
861
amdgpu_bo_free_kernel(&smu8_smu->smu_buffer.handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu8_smumgr.h
66
struct amdgpu_bo *handle; /* as bo handle used when release bo */
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
233
&priv->smu_tables.entry[PPTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
248
&priv->smu_tables.entry[WMTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
264
&priv->smu_tables.entry[AVFSTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
281
&priv->smu_tables.entry[TOOLSTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
296
&priv->smu_tables.entry[AVFSFUSETABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
311
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TOOLSTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
315
amdgpu_bo_free_kernel(&priv->smu_tables.entry[AVFSTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
319
amdgpu_bo_free_kernel(&priv->smu_tables.entry[WMTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
323
amdgpu_bo_free_kernel(&priv->smu_tables.entry[PPTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
337
amdgpu_bo_free_kernel(&priv->smu_tables.entry[PPTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
340
amdgpu_bo_free_kernel(&priv->smu_tables.entry[WMTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
343
amdgpu_bo_free_kernel(&priv->smu_tables.entry[AVFSTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
347
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TOOLSTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.c
350
amdgpu_bo_free_kernel(&priv->smu_tables.entry[AVFSFUSETABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega10_smumgr.h
34
struct amdgpu_bo *handle;
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
235
&priv->smu_tables.entry[TABLE_PPTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
249
&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
264
&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
278
&priv->smu_tables.entry[TABLE_AVFS_FUSE_OVERRIDE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
293
&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
307
&priv->smu_tables.entry[TABLE_SMU_METRICS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
319
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
323
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_AVFS_FUSE_OVERRIDE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
328
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
332
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
336
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
351
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
354
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
358
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
361
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_AVFS_FUSE_OVERRIDE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
364
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.c
367
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_SMU_METRICS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega12_smumgr.h
35
struct amdgpu_bo *handle;
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
444
&priv->smu_tables.entry[TABLE_PPTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
458
&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
472
&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
486
&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
500
&priv->smu_tables.entry[TABLE_SMU_METRICS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
514
&priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
530
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_SMU_METRICS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
534
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
538
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
542
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
546
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
564
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PPTABLE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
567
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_WATERMARKS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
570
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_PMSTATUSLOG].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
573
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_OVERDRIVE].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
576
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_SMU_METRICS].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.c
579
amdgpu_bo_free_kernel(&priv->smu_tables.entry[TABLE_ACTIVITY_MONITOR_COEFF].handle,
drivers/gpu/drm/amd/pm/powerplay/smumgr/vega20_smumgr.h
34
struct amdgpu_bo *handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
195
static u32 smu_get_mclk(void *handle, bool low)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
197
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
209
static u32 smu_get_sclk(void *handle, bool low)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
211
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2274
static int smu_display_configuration_change(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2277
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2303
static int smu_enable_umd_pstate(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2311
struct smu_context *smu = (struct smu_context*)(handle);
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2461
static int smu_handle_dpm_task(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2465
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2472
static int smu_switch_power_profile(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2476
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2509
static int smu_pause_power_profile(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2512
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2538
static enum amd_dpm_forced_level smu_get_performance_level(void *handle)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2540
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2552
static int smu_force_performance_level(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2555
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2581
static int smu_set_display_count(void *handle, uint32_t count)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2583
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2617
static int smu_force_ppclk_levels(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2621
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2667
static int smu_set_mp1_state(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2670
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2683
static int smu_set_df_cstate(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2686
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2710
static int smu_set_watermarks_for_clock_ranges(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2713
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2804
const struct ras_smu_drv *smu_get_ras_smu_driver(void *handle)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2806
struct smu_context *smu = (struct smu_context *)handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2815
static int smu_load_microcode(void *handle)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2817
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2857
static int smu_set_fan_speed_rpm(void *handle, uint32_t speed)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2859
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2894
int smu_get_power_limit(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2899
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2982
static int smu_set_power_limit(void *handle, uint32_t limit_type, uint32_t limit)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
2984
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3076
static int smu_emit_ppclk_levels(void *handle, enum pp_clock_type type, char *buf, int *offset)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3078
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3095
static int smu_od_edit_dpm_table(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3099
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3112
static int smu_read_sensor(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3117
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3202
static int smu_get_apu_thermal_limit(void *handle, uint32_t *limit)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3205
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3213
static int smu_set_apu_thermal_limit(void *handle, uint32_t limit)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3216
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3224
static int smu_get_power_profile_mode(void *handle, char *buf)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3226
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3237
static int smu_set_power_profile_mode(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3241
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3273
static int smu_get_fan_control_mode(void *handle, u32 *fan_mode)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3275
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3291
static int smu_set_fan_control_mode(void *handle, u32 value)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3293
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3324
static int smu_get_fan_speed_pwm(void *handle, u32 *speed)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3326
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3343
static int smu_set_fan_speed_pwm(void *handle, u32 speed)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3345
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3370
static int smu_get_fan_speed_rpm(void *handle, uint32_t *speed)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3372
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3389
static int smu_set_deep_sleep_dcefclk(void *handle, uint32_t clk)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3391
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3399
static int smu_get_clock_by_type_with_latency(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3403
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3435
static int smu_display_clock_voltage_request(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3438
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3451
static int smu_display_disable_memory_clock_switch(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3454
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3466
static int smu_set_xgmi_pstate(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3469
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3484
static int smu_get_baco_capability(void *handle)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3486
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3497
static int smu_baco_set_state(void *handle, int state)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3499
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3556
static int smu_mode2_reset(void *handle)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3558
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3586
static int smu_enable_gfx_features(void *handle)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3588
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3603
static int smu_get_max_sustainable_clocks_by_dc(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3606
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3618
static int smu_get_uclk_dpm_states(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3622
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3634
static enum amd_pm_state_type smu_get_current_power_state(void *handle)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3636
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3648
static int smu_get_dpm_clock_table(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3651
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3663
static ssize_t smu_sys_get_gpu_metrics(void *handle, void **table)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3665
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3687
static ssize_t smu_sys_get_pm_metrics(void *handle, void *pm_metrics,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3690
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3701
static int smu_enable_mgpu_fan_boost(void *handle)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3703
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3715
static int smu_gfx_state_change_set(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3718
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3749
static int smu_get_prv_buffer_details(void *handle, void **addr, size_t *size)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3751
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3867
static ssize_t smu_sys_get_temp_metrics(void *handle, enum smu_temp_metric_type type, void *table)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3869
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
390
static int smu_dpm_set_power_gate(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3900
static bool smu_temp_metrics_is_supported(void *handle, enum smu_temp_metric_type type)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3902
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3914
static ssize_t smu_sys_get_xcp_metrics(void *handle, int xcp_id, void *table)
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
3916
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
395
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
579
static int smu_get_power_num_states(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
631
static int smu_sys_get_pp_table(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
634
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
651
static int smu_sys_set_pp_table(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
655
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
70
static int smu_set_fan_speed_pwm(void *handle, u32 speed);
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
71
static int smu_set_fan_control_mode(void *handle, u32 value);
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
72
static int smu_set_power_limit(void *handle, uint32_t limit_type, uint32_t limit);
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
73
static int smu_set_fan_speed_rpm(void *handle, uint32_t speed);
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
75
static int smu_set_mp1_state(void *handle, enum pp_mp1_state mp1_state);
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
81
static int smu_od_edit_dpm_table(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
85
static int smu_sys_get_pp_feature_mask(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
88
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
96
static int smu_sys_set_pp_feature_mask(void *handle,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
99
struct smu_context *smu = handle;
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
1941
int smu_get_power_limit(void *handle,
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
1996
const struct ras_smu_drv *smu_get_ras_smu_driver(void *handle);
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c
30
struct drm_file *file, u32 *handle)
drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c
32
return drm_gem_handle_create(file, fb->obj[0], handle);
drivers/gpu/drm/armada/armada_crtc.c
703
struct drm_file *file, uint32_t handle, uint32_t w, uint32_t h)
drivers/gpu/drm/armada/armada_crtc.c
713
if (handle && w > 0 && h > 0) {
drivers/gpu/drm/armada/armada_crtc.c
718
obj = armada_gem_object_lookup(file, handle);
drivers/gpu/drm/armada/armada_gem.c
248
u32 handle;
drivers/gpu/drm/armada/armada_gem.c
263
ret = drm_gem_handle_create(file, &dobj->obj, &handle);
drivers/gpu/drm/armada/armada_gem.c
267
args->handle = handle;
drivers/gpu/drm/armada/armada_gem.c
270
DRM_DEBUG_DRIVER("obj %p size %zu handle %#x\n", dobj, size, handle);
drivers/gpu/drm/armada/armada_gem.c
283
u32 handle;
drivers/gpu/drm/armada/armada_gem.c
295
ret = drm_gem_handle_create(file, &dobj->obj, &handle);
drivers/gpu/drm/armada/armada_gem.c
299
args->handle = handle;
drivers/gpu/drm/armada/armada_gem.c
302
DRM_DEBUG_DRIVER("obj %p size %zu handle %#x\n", dobj, size, handle);
drivers/gpu/drm/armada/armada_gem.c
316
dobj = armada_gem_object_lookup(file, args->handle);
drivers/gpu/drm/armada/armada_gem.c
345
args->handle, args->offset, args->size, args->ptr);
drivers/gpu/drm/armada/armada_gem.c
358
dobj = armada_gem_object_lookup(file, args->handle);
drivers/gpu/drm/armada/armada_gem.h
39
struct drm_file *dfile, unsigned handle)
drivers/gpu/drm/armada/armada_gem.h
41
struct drm_gem_object *obj = drm_gem_object_lookup(dfile, handle);
drivers/gpu/drm/drm_client.c
209
u32 format, u32 handle, u32 pitch)
drivers/gpu/drm/drm_client.c
216
handle,
drivers/gpu/drm/drm_client.c
234
obj = drm_gem_object_lookup(client->file, handle);
drivers/gpu/drm/drm_client.c
411
dumb_args.handle, dumb_args.pitch);
drivers/gpu/drm/drm_client.c
423
drm_mode_destroy_dumb(client->dev, dumb_args.handle, client->file);
drivers/gpu/drm/drm_client.c
428
drm_mode_destroy_dumb(client->dev, dumb_args.handle, client->file);
drivers/gpu/drm/drm_crtc_internal.h
112
int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle,
drivers/gpu/drm/drm_dumb_buffers.c
223
args->handle = 0;
drivers/gpu/drm/drm_dumb_buffers.c
238
args->handle = 0;
drivers/gpu/drm/drm_dumb_buffers.c
252
return dev->driver->dumb_map_offset(file_priv, dev, args->handle,
drivers/gpu/drm/drm_dumb_buffers.c
255
return drm_gem_dumb_map_offset(file_priv, dev, args->handle,
drivers/gpu/drm/drm_dumb_buffers.c
285
int drm_mode_destroy_dumb(struct drm_device *dev, u32 handle,
drivers/gpu/drm/drm_dumb_buffers.c
291
return drm_gem_handle_delete(file_priv, handle);
drivers/gpu/drm/drm_dumb_buffers.c
299
return drm_mode_destroy_dumb(dev, args->handle, file_priv);
drivers/gpu/drm/drm_framebuffer.c
138
r.handles[0] = or->handle;
drivers/gpu/drm/drm_framebuffer.c
558
r->handle = 0;
drivers/gpu/drm/drm_framebuffer.c
563
ret = fb->funcs->create_handle(fb, file_priv, &r->handle);
drivers/gpu/drm/drm_gem.c
1005
int handle, ret;
drivers/gpu/drm/drm_gem.c
1013
handle = args->new_handle;
drivers/gpu/drm/drm_gem.c
1015
obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/drm_gem.c
1019
if (args->handle == handle) {
drivers/gpu/drm/drm_gem.c
1027
ret = idr_alloc(&file_priv->object_idr, obj, handle, handle + 1,
drivers/gpu/drm/drm_gem.c
1036
handle);
drivers/gpu/drm/drm_gem.c
1039
idr_remove(&file_priv->object_idr, handle);
drivers/gpu/drm/drm_gem.c
1044
drm_prime_remove_buf_handle(&file_priv->prime, args->handle);
drivers/gpu/drm/drm_gem.c
1050
idr_remove(&file_priv->object_idr, args->handle);
drivers/gpu/drm/drm_gem.c
400
drm_gem_handle_delete(struct drm_file *filp, u32 handle)
drivers/gpu/drm/drm_gem.c
407
obj = idr_replace(&filp->object_idr, NULL, handle);
drivers/gpu/drm/drm_gem.c
413
drm_gem_object_release_handle(handle, obj, filp);
drivers/gpu/drm/drm_gem.c
417
idr_remove(&filp->object_idr, handle);
drivers/gpu/drm/drm_gem.c
438
u32 handle, u64 *offset)
drivers/gpu/drm/drm_gem.c
443
obj = drm_gem_object_lookup(file, handle);
drivers/gpu/drm/drm_gem.c
485
u32 handle;
drivers/gpu/drm/drm_gem.c
508
handle = ret;
drivers/gpu/drm/drm_gem.c
522
obj = idr_replace(&file_priv->object_idr, obj, handle);
drivers/gpu/drm/drm_gem.c
525
*handlep = handle;
drivers/gpu/drm/drm_gem.c
532
idr_remove(&file_priv->object_idr, handle);
drivers/gpu/drm/drm_gem.c
784
static int objects_lookup(struct drm_file *filp, u32 *handle, int count,
drivers/gpu/drm/drm_gem.c
794
obj = idr_find(&filp->object_idr, handle[i]);
drivers/gpu/drm/drm_gem.c
865
drm_gem_object_lookup(struct drm_file *filp, u32 handle)
drivers/gpu/drm/drm_gem.c
869
objects_lookup(filp, &handle, 1, &obj);
drivers/gpu/drm/drm_gem.c
886
long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle,
drivers/gpu/drm/drm_gem.c
893
obj = drm_gem_object_lookup(filep, handle);
drivers/gpu/drm/drm_gem.c
895
drm_dbg_core(dev, "Failed to look up GEM BO %d\n", handle);
drivers/gpu/drm/drm_gem.c
922
ret = drm_gem_handle_delete(file_priv, args->handle);
drivers/gpu/drm/drm_gem.c
938
obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/drm_gem.c
973
u32 handle;
drivers/gpu/drm/drm_gem.c
988
ret = drm_gem_handle_create_tail(file_priv, obj, &handle);
drivers/gpu/drm/drm_gem.c
992
args->handle = handle;
drivers/gpu/drm/drm_gem_dma_helper.c
195
uint32_t *handle)
drivers/gpu/drm/drm_gem_dma_helper.c
211
ret = drm_gem_handle_create(file_priv, gem_obj, handle);
drivers/gpu/drm/drm_gem_dma_helper.c
281
&args->handle);
drivers/gpu/drm/drm_gem_dma_helper.c
316
&args->handle);
drivers/gpu/drm/drm_gem_framebuffer_helper.c
126
unsigned int *handle)
drivers/gpu/drm/drm_gem_framebuffer_helper.c
128
return drm_gem_handle_create(file, fb->obj[0], handle);
drivers/gpu/drm/drm_gem_shmem_helper.c
455
uint32_t *handle)
drivers/gpu/drm/drm_gem_shmem_helper.c
468
ret = drm_gem_handle_create(file_priv, &shmem->base, handle);
drivers/gpu/drm/drm_gem_shmem_helper.c
549
return drm_gem_shmem_create_with_handle(file, dev, args->size, &args->handle);
drivers/gpu/drm/drm_gem_ttm_helper.c
138
uint32_t handle, uint64_t *offset)
drivers/gpu/drm/drm_gem_ttm_helper.c
142
gem = drm_gem_object_lookup(file, handle);
drivers/gpu/drm/drm_gem_vram_helper.c
439
u32 handle;
drivers/gpu/drm/drm_gem_vram_helper.c
457
ret = drm_gem_handle_create(file, &gbo->bo.base, &handle);
drivers/gpu/drm/drm_gem_vram_helper.c
465
args->handle = handle;
drivers/gpu/drm/drm_internal.h
100
struct dma_buf *dma_buf, uint32_t handle);
drivers/gpu/drm/drm_internal.h
102
uint32_t handle);
drivers/gpu/drm/drm_ioc32.c
228
drm_drawable_t handle;
drivers/gpu/drm/drm_plane.c
1200
.handles = { req->handle },
drivers/gpu/drm/drm_plane.c
1216
if (req->handle) {
drivers/gpu/drm/drm_plane.c
1326
ret = crtc->funcs->cursor_set2(crtc, file_priv, req->handle,
drivers/gpu/drm/drm_plane.c
1329
ret = crtc->funcs->cursor_set(crtc, file_priv, req->handle,
drivers/gpu/drm/drm_prime.c
109
member->handle = handle;
drivers/gpu/drm/drm_prime.c
133
if (handle > pos->handle)
drivers/gpu/drm/drm_prime.c
145
uint32_t handle)
drivers/gpu/drm/drm_prime.c
154
if (member->handle == handle)
drivers/gpu/drm/drm_prime.c
156
else if (member->handle < handle)
drivers/gpu/drm/drm_prime.c
167
uint32_t *handle)
drivers/gpu/drm/drm_prime.c
177
*handle = member->handle;
drivers/gpu/drm/drm_prime.c
190
uint32_t handle)
drivers/gpu/drm/drm_prime.c
199
if (member->handle == handle) {
drivers/gpu/drm/drm_prime.c
206
} else if (member->handle < handle) {
drivers/gpu/drm/drm_prime.c
294
uint32_t *handle)
drivers/gpu/drm/drm_prime.c
307
dma_buf, handle);
drivers/gpu/drm/drm_prime.c
330
ret = drm_gem_handle_create_tail(file_priv, obj, handle);
drivers/gpu/drm/drm_prime.c
336
dma_buf, *handle);
drivers/gpu/drm/drm_prime.c
349
drm_gem_handle_delete(file_priv, *handle);
drivers/gpu/drm/drm_prime.c
369
&args->handle);
drivers/gpu/drm/drm_prime.c
372
return drm_gem_prime_fd_to_handle(dev, file_priv, args->fd, &args->handle);
drivers/gpu/drm/drm_prime.c
432
struct drm_file *file_priv, uint32_t handle,
drivers/gpu/drm/drm_prime.c
440
obj = drm_gem_object_lookup(file_priv, handle);
drivers/gpu/drm/drm_prime.c
446
dmabuf = drm_prime_lookup_buf_by_handle(&file_priv->prime, handle);
drivers/gpu/drm/drm_prime.c
483
dmabuf, handle);
drivers/gpu/drm/drm_prime.c
511
struct drm_file *file_priv, uint32_t handle,
drivers/gpu/drm/drm_prime.c
521
dmabuf = drm_gem_prime_handle_to_dmabuf(dev, file_priv, handle, flags);
drivers/gpu/drm/drm_prime.c
544
args->handle, args->flags,
drivers/gpu/drm/drm_prime.c
547
return drm_gem_prime_handle_to_fd(dev, file_priv, args->handle,
drivers/gpu/drm/drm_prime.c
91
uint32_t handle;
drivers/gpu/drm/drm_prime.c
98
struct dma_buf *dma_buf, uint32_t handle)
drivers/gpu/drm/drm_privacy_screen_x86.c
21
static acpi_status __init acpi_set_handle(acpi_handle handle, u32 level,
drivers/gpu/drm/drm_privacy_screen_x86.c
24
*(acpi_handle *)return_value = handle;
drivers/gpu/drm/drm_syncobj.c
1478
syncobj = drm_syncobj_find(file_private, args->handle);
drivers/gpu/drm/drm_syncobj.c
249
u32 handle)
drivers/gpu/drm/drm_syncobj.c
256
syncobj = xa_load(&file_private->syncobj_xa, handle);
drivers/gpu/drm/drm_syncobj.c
437
u32 handle, u64 point, u64 flags,
drivers/gpu/drm/drm_syncobj.c
440
struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle);
drivers/gpu/drm/drm_syncobj.c
597
struct drm_syncobj *syncobj, u32 *handle)
drivers/gpu/drm/drm_syncobj.c
604
ret = xa_alloc(&file_private->syncobj_xa, handle, syncobj, xa_limit_32b,
drivers/gpu/drm/drm_syncobj.c
614
u32 *handle, uint32_t flags)
drivers/gpu/drm/drm_syncobj.c
623
ret = drm_syncobj_get_handle(file_private, syncobj, handle);
drivers/gpu/drm/drm_syncobj.c
629
u32 handle)
drivers/gpu/drm/drm_syncobj.c
633
syncobj = xa_erase(&file_private->syncobj_xa, handle);
drivers/gpu/drm/drm_syncobj.c
688
u32 handle, int *p_fd)
drivers/gpu/drm/drm_syncobj.c
690
struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle);
drivers/gpu/drm/drm_syncobj.c
702
int fd, u32 *handle)
drivers/gpu/drm/drm_syncobj.c
718
ret = xa_alloc(&file_private->syncobj_xa, handle, syncobj, xa_limit_32b,
drivers/gpu/drm/drm_syncobj.c
727
int fd, int handle, u64 point)
drivers/gpu/drm/drm_syncobj.c
735
syncobj = drm_syncobj_find(file_private, handle);
drivers/gpu/drm/drm_syncobj.c
758
int handle, u64 point, int *p_fd)
drivers/gpu/drm/drm_syncobj.c
768
ret = drm_syncobj_find_fence(file_private, handle, point, 0, &fence);
drivers/gpu/drm/drm_syncobj.c
814
unsigned long handle;
drivers/gpu/drm/drm_syncobj.c
816
xa_for_each(&file_private->syncobj_xa, handle, syncobj)
drivers/gpu/drm/drm_syncobj.c
835
&args->handle, args->flags);
drivers/gpu/drm/drm_syncobj.c
850
return drm_syncobj_destroy(file_private, args->handle);
drivers/gpu/drm/drm_syncobj.c
875
return drm_syncobj_export_sync_file(file_private, args->handle,
drivers/gpu/drm/drm_syncobj.c
881
return drm_syncobj_handle_to_fd(file_private, args->handle,
drivers/gpu/drm/drm_syncobj.c
909
args->handle,
drivers/gpu/drm/drm_syncobj.c
916
&args->handle);
drivers/gpu/drm/etnaviv/etnaviv_drv.c
294
args->flags, &args->handle);
drivers/gpu/drm/etnaviv/etnaviv_drv.c
307
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/etnaviv/etnaviv_drv.c
328
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/etnaviv/etnaviv_drv.c
349
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/etnaviv/etnaviv_drv.c
405
&args->handle);
drivers/gpu/drm/etnaviv/etnaviv_drv.c
428
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/etnaviv/etnaviv_drv.h
72
u32 size, u32 flags, u32 *handle);
drivers/gpu/drm/etnaviv/etnaviv_drv.h
74
uintptr_t ptr, u32 size, u32 flags, u32 *handle);
drivers/gpu/drm/etnaviv/etnaviv_gem.c
614
u32 size, u32 flags, u32 *handle)
drivers/gpu/drm/etnaviv/etnaviv_gem.c
640
ret = drm_gem_handle_create(file, obj, handle);
drivers/gpu/drm/etnaviv/etnaviv_gem.c
735
uintptr_t ptr, u32 size, u32 flags, u32 *handle)
drivers/gpu/drm/etnaviv/etnaviv_gem.c
753
ret = drm_gem_handle_create(file, &etnaviv_obj->base, handle);
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c
86
obj = idr_find(&file->object_idr, bo->handle);
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c
89
bo->handle, i);
drivers/gpu/drm/exynos/exynos_drm_g2d.c
696
unsigned long handle;
drivers/gpu/drm/exynos/exynos_drm_g2d.c
702
handle = cmdlist->data[reg_pos + 1];
drivers/gpu/drm/exynos/exynos_drm_g2d.c
715
exynos_gem = exynos_drm_gem_get(file, handle);
drivers/gpu/drm/exynos/exynos_drm_g2d.c
733
if (copy_from_user(&g2d_userptr, (void __user *)handle,
drivers/gpu/drm/exynos/exynos_drm_gem.c
100
ret = drm_gem_handle_create(file_priv, obj, handle);
drivers/gpu/drm/exynos/exynos_drm_gem.c
104
DRM_DEV_DEBUG_KMS(to_dma_dev(obj->dev), "gem handle = 0x%x\n", *handle);
drivers/gpu/drm/exynos/exynos_drm_gem.c
242
&args->handle);
drivers/gpu/drm/exynos/exynos_drm_gem.c
256
return drm_gem_dumb_map_offset(file_priv, dev, args->handle,
drivers/gpu/drm/exynos/exynos_drm_gem.c
305
obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/exynos/exynos_drm_gem.c
356
&args->handle);
drivers/gpu/drm/exynos/exynos_drm_gem.c
92
unsigned int *handle)
drivers/gpu/drm/gma500/gem.c
206
u32 handle;
drivers/gpu/drm/gma500/gem.c
222
ret = drm_gem_handle_create(file, obj, &handle);
drivers/gpu/drm/gma500/gem.c
230
args->handle = handle;
drivers/gpu/drm/gma500/gma_display.c
330
struct drm_file *file_priv, uint32_t handle,
drivers/gpu/drm/gma500/gma_display.c
348
if (!handle) {
drivers/gpu/drm/gma500/gma_display.c
372
obj = drm_gem_object_lookup(file_priv, handle);
drivers/gpu/drm/gma500/gma_display.c
389
dev_err(dev->dev, "Can not pin down handle 0x%x\n", handle);
drivers/gpu/drm/gma500/intel_bios.h
183
u16 handle;
drivers/gpu/drm/i915/display/intel_bios.c
649
if (devdata && devdata->child.handle == DEVICE_HANDLE_LFP2)
drivers/gpu/drm/i915/display/intel_bios.c
653
devdata && devdata->child.handle != DEVICE_HANDLE_LFP1);
drivers/gpu/drm/i915/display/intel_display_irq.c
100
bool (*handle)(struct intel_crtc *crtc, enum plane_id plane_id);
drivers/gpu/drm/i915/display/intel_display_irq.c
1178
{ .fault = MTL_PLANE_ATS_FAULT, .handle = handle_plane_ats_fault, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1179
{ .fault = MTL_PIPEDMC_ATS_FAULT, .handle = handle_pipedmc_ats_fault, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1180
{ .fault = GEN12_PIPEDMC_FAULT, .handle = handle_pipedmc_fault, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1181
{ .fault = GEN11_PIPE_PLANE5_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_5, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1182
{ .fault = GEN9_PIPE_PLANE4_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_4, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1183
{ .fault = GEN9_PIPE_PLANE3_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_3, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1184
{ .fault = GEN9_PIPE_PLANE2_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_2, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1185
{ .fault = GEN9_PIPE_PLANE1_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_1, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1186
{ .fault = GEN9_PIPE_CURSOR_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1191
{ .fault = GEN12_PIPEDMC_FAULT, .handle = handle_pipedmc_fault, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1192
{ .fault = GEN11_PIPE_PLANE7_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_7, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1193
{ .fault = GEN11_PIPE_PLANE6_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_6, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1194
{ .fault = GEN11_PIPE_PLANE5_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_5, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1195
{ .fault = GEN9_PIPE_PLANE4_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_4, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1196
{ .fault = GEN9_PIPE_PLANE3_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_3, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1197
{ .fault = GEN9_PIPE_PLANE2_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_2, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1198
{ .fault = GEN9_PIPE_PLANE1_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_1, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1199
{ .fault = GEN9_PIPE_CURSOR_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1204
{ .fault = GEN11_PIPE_PLANE7_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_7, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1205
{ .fault = GEN11_PIPE_PLANE6_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_6, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1206
{ .fault = GEN11_PIPE_PLANE5_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_5, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1207
{ .fault = GEN9_PIPE_PLANE4_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_4, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1208
{ .fault = GEN9_PIPE_PLANE3_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_3, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1209
{ .fault = GEN9_PIPE_PLANE2_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_2, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1210
{ .fault = GEN9_PIPE_PLANE1_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_1, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1211
{ .fault = GEN9_PIPE_CURSOR_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1216
{ .fault = GEN9_PIPE_PLANE4_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_4, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1217
{ .fault = GEN9_PIPE_PLANE3_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_3, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1218
{ .fault = GEN9_PIPE_PLANE2_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_2, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1219
{ .fault = GEN9_PIPE_PLANE1_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_1, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1220
{ .fault = GEN9_PIPE_CURSOR_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1225
{ .fault = GEN8_PIPE_SPRITE_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE0, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1226
{ .fault = GEN8_PIPE_PRIMARY_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_PRIMARY, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1227
{ .fault = GEN8_PIPE_CURSOR_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
137
if (handler->handle(crtc, handler->plane_id))
drivers/gpu/drm/i915/display/intel_display_irq.c
1848
{ .fault = SPRITEB_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE1, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1849
{ .fault = SPRITEA_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE0, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1850
{ .fault = PLANEA_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_PRIMARY, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1851
{ .fault = CURSORA_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1852
{ .fault = SPRITED_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE1, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1853
{ .fault = SPRITEC_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE0, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1854
{ .fault = PLANEB_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_PRIMARY, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1855
{ .fault = CURSORB_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1856
{ .fault = SPRITEF_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE1, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1857
{ .fault = SPRITEE_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE0, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1858
{ .fault = PLANEC_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_PRIMARY, },
drivers/gpu/drm/i915/display/intel_display_irq.c
1859
{ .fault = CURSORC_INVALID_GTT_STATUS, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
744
{ .fault = ERR_INT_SPRITE_A_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE0, },
drivers/gpu/drm/i915/display/intel_display_irq.c
745
{ .fault = ERR_INT_PRIMARY_A_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_PRIMARY, },
drivers/gpu/drm/i915/display/intel_display_irq.c
746
{ .fault = ERR_INT_CURSOR_A_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
747
{ .fault = ERR_INT_SPRITE_B_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE0, },
drivers/gpu/drm/i915/display/intel_display_irq.c
748
{ .fault = ERR_INT_PRIMARY_B_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_PRIMARY, },
drivers/gpu/drm/i915/display/intel_display_irq.c
749
{ .fault = ERR_INT_CURSOR_B_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
750
{ .fault = ERR_INT_SPRITE_C_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE0, },
drivers/gpu/drm/i915/display/intel_display_irq.c
751
{ .fault = ERR_INT_PRIMARY_C_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_PRIMARY, },
drivers/gpu/drm/i915/display/intel_display_irq.c
752
{ .fault = ERR_INT_CURSOR_C_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
861
{ .fault = GTT_FAULT_SPRITE_A_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE0, },
drivers/gpu/drm/i915/display/intel_display_irq.c
862
{ .fault = GTT_FAULT_SPRITE_B_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_SPRITE0, },
drivers/gpu/drm/i915/display/intel_display_irq.c
863
{ .fault = GTT_FAULT_PRIMARY_A_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_PRIMARY, },
drivers/gpu/drm/i915/display/intel_display_irq.c
864
{ .fault = GTT_FAULT_PRIMARY_B_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_PRIMARY, },
drivers/gpu/drm/i915/display/intel_display_irq.c
865
{ .fault = GTT_FAULT_CURSOR_A_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_display_irq.c
866
{ .fault = GTT_FAULT_CURSOR_B_FAULT, .handle = handle_plane_fault, .plane_id = PLANE_CURSOR, },
drivers/gpu/drm/i915/display/intel_fb.c
2124
unsigned int *handle)
drivers/gpu/drm/i915/display/intel_fb.c
2135
return drm_gem_handle_create(file, obj, handle);
drivers/gpu/drm/i915/display/intel_vbt_defs.h
475
u16 handle;
drivers/gpu/drm/i915/gem/i915_gem_busy.c
123
obj = i915_gem_object_lookup_rcu(file, args->handle);
drivers/gpu/drm/i915/gem/i915_gem_context.c
124
if (lut->handle != iter.index)
drivers/gpu/drm/i915/gem/i915_gem_create.c
214
return i915_gem_publish(obj, file, &args->size, &args->handle);
drivers/gpu/drm/i915/gem/i915_gem_create.c
238
return i915_gem_publish(obj, file, &args->size, &args->handle);
drivers/gpu/drm/i915/gem/i915_gem_create.c
496
return i915_gem_publish(obj, file, &args->size, &args->handle);
drivers/gpu/drm/i915/gem/i915_gem_domain.c
308
obj = i915_gem_object_lookup_rcu(file, args->handle);
drivers/gpu/drm/i915/gem/i915_gem_domain.c
373
obj = i915_gem_object_lookup(file, args->handle);
drivers/gpu/drm/i915/gem/i915_gem_domain.c
563
obj = i915_gem_object_lookup(file, args->handle);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1051
eb_get_vma(const struct i915_execbuffer *eb, unsigned long handle)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1054
if (handle >= -eb->lut_size)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1056
return &eb->vma[handle];
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1061
head = &eb->buckets[hash_32(handle, eb->lut_size)];
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1063
if (ev->handle == handle)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2845
syncobj = drm_syncobj_find(eb->file, user_fence.handle);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
2964
syncobj = drm_syncobj_find(eb->file, user_fence.handle);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
46
u32 handle;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
575
ev->handle = entry->handle;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
577
&eb->buckets[hash_32(entry->handle,
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
839
u32 handle, struct i915_vma *vma)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
852
lut->handle = handle;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
859
err = radix_tree_insert(&ctx->handles_vma, handle, vma);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
866
if (idr_find(&eb->file->object_idr, handle) == obj) {
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
869
radix_tree_delete(&ctx->handles_vma, handle);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
888
static struct i915_vma *eb_lookup_vma(struct i915_execbuffer *eb, u32 handle)
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
898
vma = radix_tree_lookup(&eb->gem_context->handles_vma, handle);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
907
obj = i915_gem_object_lookup(eb->file, handle);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
933
err = __eb_add_lut(eb, handle, vma);
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
953
vma = eb_lookup_vma(eb, eb->exec[i].handle);
drivers/gpu/drm/i915/gem/i915_gem_mman.c
807
u32 handle,
drivers/gpu/drm/i915/gem/i915_gem_mman.c
81
obj = i915_gem_object_lookup(file, args->handle);
drivers/gpu/drm/i915/gem/i915_gem_mman.c
814
obj = i915_gem_object_lookup(file, handle);
drivers/gpu/drm/i915/gem/i915_gem_mman.c
831
u32 handle,
drivers/gpu/drm/i915/gem/i915_gem_mman.c
846
return __assign_mmap_offset_handle(file, handle, mmap_type, offset);
drivers/gpu/drm/i915/gem/i915_gem_mman.c
918
return __assign_mmap_offset_handle(file, args->handle, type, &args->offset);
drivers/gpu/drm/i915/gem/i915_gem_mman.h
24
u32 handle, u64 *offset);
drivers/gpu/drm/i915/gem/i915_gem_object.c
282
vma = radix_tree_delete(&ctx->handles_vma, lut->handle);
drivers/gpu/drm/i915/gem/i915_gem_object.h
103
return idr_find(&file->object_idr, handle);
drivers/gpu/drm/i915/gem/i915_gem_object.h
116
i915_gem_object_lookup(struct drm_file *file, u32 handle)
drivers/gpu/drm/i915/gem/i915_gem_object.h
121
obj = i915_gem_object_lookup_rcu(file, handle);
drivers/gpu/drm/i915/gem/i915_gem_object.h
130
drm_gem_object_lookup(struct drm_file *file, u32 handle);
drivers/gpu/drm/i915/gem/i915_gem_object.h
98
i915_gem_object_lookup_rcu(struct drm_file *file, u32 handle)
drivers/gpu/drm/i915/gem/i915_gem_object_types.h
34
u32 handle;
drivers/gpu/drm/i915/gem/i915_gem_tiling.c
354
obj = i915_gem_object_lookup(file, args->handle);
drivers/gpu/drm/i915/gem/i915_gem_tiling.c
438
obj = i915_gem_object_lookup_rcu(file, args->handle);
drivers/gpu/drm/i915/gem/i915_gem_userptr.c
471
u32 __maybe_unused handle;
drivers/gpu/drm/i915/gem/i915_gem_userptr.c
543
ret = drm_gem_handle_create(file, &obj->base, &handle);
drivers/gpu/drm/i915/gem/i915_gem_userptr.c
550
args->handle = handle;
drivers/gpu/drm/i915/gt/intel_gt_pm.h
53
static inline void intel_gt_pm_put(struct intel_gt *gt, intel_wakeref_t handle)
drivers/gpu/drm/i915/gt/intel_gt_pm.h
55
intel_wakeref_untrack(&gt->wakeref, handle);
drivers/gpu/drm/i915/gt/intel_gt_pm.h
69
static inline void intel_gt_pm_put_async(struct intel_gt *gt, intel_wakeref_t handle)
drivers/gpu/drm/i915/gt/intel_gt_pm.h
71
intel_wakeref_untrack(&gt->wakeref, handle);
drivers/gpu/drm/i915/gvt/opregion.c
177
v->child0.handle = DEVICE_TYPE_EFP1;
drivers/gpu/drm/i915/gvt/opregion.c
185
v->child1.handle = DEVICE_TYPE_EFP2;
drivers/gpu/drm/i915/gvt/opregion.c
193
v->child2.handle = DEVICE_TYPE_EFP3;
drivers/gpu/drm/i915/gvt/opregion.c
201
v->child3.handle = DEVICE_TYPE_EFP4;
drivers/gpu/drm/i915/gvt/opregion.c
70
u16 handle;
drivers/gpu/drm/i915/i915_gem.c
1045
obj = i915_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/i915/i915_gem.c
477
obj = i915_gem_object_lookup(file, args->handle);
drivers/gpu/drm/i915/i915_gem.c
758
obj = i915_gem_object_lookup(file, args->handle);
drivers/gpu/drm/i915/i915_gem.c
827
obj = i915_gem_object_lookup(file, args->handle);
drivers/gpu/drm/i915/intel_wakeref.h
303
intel_wakeref_t handle)
drivers/gpu/drm/i915/intel_wakeref.h
305
intel_ref_tracker_free(&wf->debug, handle);
drivers/gpu/drm/i915/intel_wakeref.h
316
intel_wakeref_t handle)
drivers/gpu/drm/imagination/pvr_context.c
338
err = xa_alloc(&pvr_file->ctx_handles, &args->handle, ctx, xa_limit_32b, GFP_KERNEL);
drivers/gpu/drm/imagination/pvr_context.c
416
pvr_context_destroy(struct pvr_file *pvr_file, u32 handle)
drivers/gpu/drm/imagination/pvr_context.c
418
struct pvr_context *ctx = xa_erase(&pvr_file->ctx_handles, handle);
drivers/gpu/drm/imagination/pvr_context.c
443
unsigned long handle;
drivers/gpu/drm/imagination/pvr_context.c
445
xa_for_each(&pvr_file->ctx_handles, handle, ctx)
drivers/gpu/drm/imagination/pvr_context.c
446
pvr_context_destroy(pvr_file, handle);
drivers/gpu/drm/imagination/pvr_context.h
159
pvr_context_lookup(struct pvr_file *pvr_file, u32 handle)
drivers/gpu/drm/imagination/pvr_context.h
165
ctx = pvr_context_get(xa_load(&pvr_file->ctx_handles, handle));
drivers/gpu/drm/imagination/pvr_context.h
218
int pvr_context_destroy(struct pvr_file *pvr_file, u32 handle);
drivers/gpu/drm/imagination/pvr_drv.c
1049
pvr_obj = pvr_gem_object_from_handle(pvr_file, args->handle);
drivers/gpu/drm/imagination/pvr_drv.c
122
err = pvr_gem_object_into_handle(pvr_obj, pvr_file, &args->handle);
drivers/gpu/drm/imagination/pvr_drv.c
190
pvr_obj = pvr_gem_object_from_handle(pvr_file, args->handle);
drivers/gpu/drm/imagination/pvr_drv.c
722
return pvr_context_destroy(pvr_file, args->handle);
drivers/gpu/drm/imagination/pvr_drv.c
759
&args->handle,
drivers/gpu/drm/imagination/pvr_drv.c
803
free_list = xa_erase(&pvr_file->free_list_handles, args->handle);
drivers/gpu/drm/imagination/pvr_drv.c
845
&args->handle,
drivers/gpu/drm/imagination/pvr_drv.c
889
hwrt = xa_erase(&pvr_file->hwrt_handles, args->handle);
drivers/gpu/drm/imagination/pvr_drv.c
936
&args->handle,
drivers/gpu/drm/imagination/pvr_drv.c
980
vm_ctx = xa_erase(&pvr_file->vm_ctx_handles, args->handle);
drivers/gpu/drm/imagination/pvr_free_list.c
522
unsigned long handle;
drivers/gpu/drm/imagination/pvr_free_list.c
524
xa_for_each(&pvr_file->free_list_handles, handle, free_list) {
drivers/gpu/drm/imagination/pvr_free_list.c
526
pvr_free_list_put(xa_erase(&pvr_file->free_list_handles, handle));
drivers/gpu/drm/imagination/pvr_free_list.h
138
pvr_free_list_lookup(struct pvr_file *pvr_file, u32 handle)
drivers/gpu/drm/imagination/pvr_free_list.h
143
free_list = pvr_free_list_get(xa_load(&pvr_file->free_list_handles, handle));
drivers/gpu/drm/imagination/pvr_gem.c
133
struct pvr_file *pvr_file, u32 *handle)
drivers/gpu/drm/imagination/pvr_gem.c
155
*handle = new_handle;
drivers/gpu/drm/imagination/pvr_gem.c
177
pvr_gem_object_from_handle(struct pvr_file *pvr_file, u32 handle)
drivers/gpu/drm/imagination/pvr_gem.c
182
gem_obj = drm_gem_object_lookup(file, handle);
drivers/gpu/drm/imagination/pvr_gem.h
130
struct pvr_file *pvr_file, u32 *handle);
drivers/gpu/drm/imagination/pvr_gem.h
132
u32 handle);
drivers/gpu/drm/imagination/pvr_hwrt.c
529
unsigned long handle;
drivers/gpu/drm/imagination/pvr_hwrt.c
531
xa_for_each(&pvr_file->hwrt_handles, handle, hwrt) {
drivers/gpu/drm/imagination/pvr_hwrt.c
533
pvr_hwrt_dataset_put(xa_erase(&pvr_file->hwrt_handles, handle));
drivers/gpu/drm/imagination/pvr_hwrt.h
100
pvr_hwrt_dataset_lookup(struct pvr_file *pvr_file, u32 handle)
drivers/gpu/drm/imagination/pvr_hwrt.h
105
hwrt = xa_load(&pvr_file->hwrt_handles, handle);
drivers/gpu/drm/imagination/pvr_hwrt.h
132
pvr_hwrt_data_lookup(struct pvr_file *pvr_file, u32 handle, u32 index)
drivers/gpu/drm/imagination/pvr_hwrt.h
134
struct pvr_hwrt_dataset *hwrt_dataset = pvr_hwrt_dataset_lookup(pvr_file, handle);
drivers/gpu/drm/imagination/pvr_sync.c
107
pvr_sync_signal_array_search(struct xarray *array, u32 handle, u64 point)
drivers/gpu/drm/imagination/pvr_sync.c
113
if (handle == sig_sync->handle && point == sig_sync->point)
drivers/gpu/drm/imagination/pvr_sync.c
121
pvr_sync_signal_array_get(struct xarray *array, struct drm_file *file, u32 handle, u64 point)
drivers/gpu/drm/imagination/pvr_sync.c
125
sig_sync = pvr_sync_signal_array_search(array, handle, point);
drivers/gpu/drm/imagination/pvr_sync.c
129
return pvr_sync_signal_array_add(array, file, handle, point);
drivers/gpu/drm/imagination/pvr_sync.c
150
sync_ops[i].handle,
drivers/gpu/drm/imagination/pvr_sync.c
172
sig_sync = pvr_sync_signal_array_search(array, sync_ops[i].handle,
drivers/gpu/drm/imagination/pvr_sync.c
269
sig_sync = pvr_sync_signal_array_search(signal_array, sync_ops[i].handle,
drivers/gpu/drm/imagination/pvr_sync.c
277
err = drm_syncobj_find_fence(from_pvr_file(pvr_file), sync_ops[i].handle,
drivers/gpu/drm/imagination/pvr_sync.c
60
pvr_sync_signal_array_add(struct xarray *array, struct drm_file *file, u32 handle, u64 point)
drivers/gpu/drm/imagination/pvr_sync.c
71
sig_sync->handle = handle;
drivers/gpu/drm/imagination/pvr_sync.c
82
sig_sync->syncobj = drm_syncobj_find(file, handle);
drivers/gpu/drm/imagination/pvr_sync.c
92
if (!drm_syncobj_find_fence(file, handle, point, 0, &cur_fence))
drivers/gpu/drm/imagination/pvr_sync.h
31
u32 handle;
drivers/gpu/drm/imagination/pvr_vm.c
645
pvr_vm_context_lookup(struct pvr_file *pvr_file, u32 handle)
drivers/gpu/drm/imagination/pvr_vm.c
650
vm_ctx = xa_load(&pvr_file->vm_ctx_handles, handle);
drivers/gpu/drm/imagination/pvr_vm.c
686
unsigned long handle;
drivers/gpu/drm/imagination/pvr_vm.c
688
xa_for_each(&pvr_file->vm_ctx_handles, handle, vm_ctx) {
drivers/gpu/drm/imagination/pvr_vm.c
690
pvr_vm_context_put(xa_erase(&pvr_file->vm_ctx_handles, handle));
drivers/gpu/drm/imagination/pvr_vm.h
65
struct pvr_vm_context *pvr_vm_context_lookup(struct pvr_file *pvr_file, u32 handle);
drivers/gpu/drm/lima/lima_drv.c
186
return lima_gem_wait(file, args->handle, args->op, args->timeout_ns);
drivers/gpu/drm/lima/lima_drv.c
92
return lima_gem_create_handle(dev, file, args->size, args->flags, &args->handle);
drivers/gpu/drm/lima/lima_drv.c
99
return lima_gem_get_info(file, args->handle, &args->va, &args->offset);
drivers/gpu/drm/lima/lima_gem.c
109
u32 size, u32 flags, u32 *handle)
drivers/gpu/drm/lima/lima_gem.c
144
err = drm_gem_handle_create(file, obj, handle);
drivers/gpu/drm/lima/lima_gem.c
241
int lima_gem_get_info(struct drm_file *file, u32 handle, u32 *va, u64 *offset)
drivers/gpu/drm/lima/lima_gem.c
248
obj = drm_gem_object_lookup(file, handle);
drivers/gpu/drm/lima/lima_gem.c
317
obj = drm_gem_object_lookup(file, submit->bos[i].handle);
drivers/gpu/drm/lima/lima_gem.c
401
int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns)
drivers/gpu/drm/lima/lima_gem.c
411
ret = drm_gem_dma_resv_wait(file, handle, write, timeout);
drivers/gpu/drm/lima/lima_gem.h
40
u32 size, u32 flags, u32 *handle);
drivers/gpu/drm/lima/lima_gem.h
41
int lima_gem_get_info(struct drm_file *file, u32 handle, u32 *va, u64 *offset);
drivers/gpu/drm/lima/lima_gem.h
43
int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns);
drivers/gpu/drm/loongson/lsdc_gem.c
227
ret = drm_gem_handle_create(file, gobj, &args->handle);
drivers/gpu/drm/loongson/lsdc_gem.c
238
u32 handle, uint64_t *offset)
drivers/gpu/drm/loongson/lsdc_gem.c
242
gobj = drm_gem_object_lookup(filp, handle);
drivers/gpu/drm/loongson/lsdc_gem.h
19
u32 handle,
drivers/gpu/drm/mediatek/mtk_gem.c
167
ret = drm_gem_handle_create(file_priv, &dma_obj->base, &args->handle);
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1037
obj->handle = regs;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1080
obj->handle = regs;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1117
obj->handle = regs->regs;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1139
obj->handle = (const void *) regs;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1164
obj->handle = (const void *) regs;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1204
obj->handle = (const void *) regs;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1470
obj->handle = (const void *) indexed;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1788
const struct a6xx_shader_block *block = obj->handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1791
if (!obj->handle)
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1811
const struct gen7_shader_block *block = obj->handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1815
if (!obj->handle)
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1868
const struct a6xx_dbgahb_cluster *dbgahb = obj->handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1880
const struct a6xx_cluster *cluster = obj->handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1892
const struct gen7_sptp_cluster_registers *dbgahb = obj->handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1906
const struct gen7_cluster_registers *cluster = obj->handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1921
const struct a6xx_indexed_registers *indexed = obj->handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1956
a6xx_show_debugbus_block(obj->handle, obj->data, p);
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1972
a6xx_show_debugbus_block(obj->handle, obj->data, p);
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
2033
if (!obj->handle)
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
2037
a7xx_show_registers(obj->handle, obj->data, p);
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
2039
const struct a6xx_registers *regs = obj->handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
2048
const struct a6xx_registers *regs = obj->handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
2050
if (!obj->handle)
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
22
const void *handle;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
272
obj->handle = NULL;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
326
obj->handle = block;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
345
obj->handle = block;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
603
obj->handle = dbgahb;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
645
obj->handle = dbgahb;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
763
obj->handle = cluster;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
808
obj->handle = cluster;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
896
obj->handle = block;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
941
obj->handle = block;
drivers/gpu/drm/msm/adreno/a6xx_hfi.h
185
u32 handle;
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
403
struct drm_file *file_priv, uint32_t handle,
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
420
if (handle) {
drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c
421
cursor_bo = drm_gem_object_lookup(file_priv, handle);
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
948
struct drm_file *file, uint32_t handle,
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
984
if (!handle) {
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c
992
cursor_bo = drm_gem_object_lookup(file, handle);
drivers/gpu/drm/msm/msm_drv.c
371
args->flags, &args->handle, NULL);
drivers/gpu/drm/msm/msm_drv.c
392
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/msm/msm_drv.c
410
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/msm/msm_drv.c
583
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/msm/msm_drv.c
743
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/msm/msm_gem.c
1132
size_t size, uint32_t flags, uint32_t *handle,
drivers/gpu/drm/msm/msm_gem.c
1155
ret = drm_gem_handle_create(file, obj, handle);
drivers/gpu/drm/msm/msm_gem.c
702
MSM_BO_SCANOUT | MSM_BO_WC, &args->handle, "dumb");
drivers/gpu/drm/msm/msm_gem.h
297
size_t size, uint32_t flags, uint32_t *handle, char *name);
drivers/gpu/drm/msm/msm_gem.h
472
uint32_t handle;
drivers/gpu/drm/msm/msm_gem_submit.c
162
submit->bos[i].handle = submit_bo.handle;
drivers/gpu/drm/msm/msm_gem_submit.c
174
obj = idr_find(&file->object_idr, submit->bos[i].handle);
drivers/gpu/drm/msm/msm_gem_submit.c
176
ret = SUBMIT_ERROR(EINVAL, submit, "invalid handle %u at index %u\n", submit->bos[i].handle, i);
drivers/gpu/drm/msm/msm_gem_vma.c
1018
if (!op->handle)
drivers/gpu/drm/msm/msm_gem_vma.c
1020
} else if (op->handle) {
drivers/gpu/drm/msm/msm_gem_vma.c
1090
if (!op->handle) {
drivers/gpu/drm/msm/msm_gem_vma.c
1099
obj = idr_find(&file->object_idr, op->handle);
drivers/gpu/drm/msm/msm_gem_vma.c
1101
ret = UERR(EINVAL, dev, "invalid handle %u at index %u\n", op->handle, i);
drivers/gpu/drm/msm/msm_gem_vma.c
141
uint32_t handle;
drivers/gpu/drm/msm/msm_gem_vma.c
992
job->ops[i].handle = op->handle;
drivers/gpu/drm/msm/msm_syncobj.c
134
drm_syncobj_find(file, syncobj_desc.handle);
drivers/gpu/drm/msm/msm_syncobj.c
49
syncobj_desc.handle,
drivers/gpu/drm/msm/msm_syncobj.c
55
syncobjs[i] = drm_syncobj_find(file, syncobj_desc.handle);
drivers/gpu/drm/nouveau/dispnv50/atom.h
195
u32 handle;
drivers/gpu/drm/nouveau/dispnv50/atom.h
201
u32 handle;
drivers/gpu/drm/nouveau/dispnv50/atom.h
208
u32 handle;
drivers/gpu/drm/nouveau/dispnv50/atom.h
241
u32 handle[6];
drivers/gpu/drm/nouveau/dispnv50/atom.h
57
u32 handle;
drivers/gpu/drm/nouveau/dispnv50/atom.h
69
u32 handle;
drivers/gpu/drm/nouveau/dispnv50/atom.h
85
u32 handle;
drivers/gpu/drm/nouveau/dispnv50/base507c.c
184
SET_CONTEXT_DMA_NOTIFIER, asyw->ntfy.handle);
drivers/gpu/drm/nouveau/dispnv50/base507c.c
220
SET_CONTEXT_DMA_SEMAPHORE, asyw->sema.handle);
drivers/gpu/drm/nouveau/dispnv50/base507c.c
78
PUSH_MTHD(push, NV507C, SET_CONTEXT_DMA_ISO, asyw->image.handle[0]);
drivers/gpu/drm/nouveau/dispnv50/base827c.c
41
PUSH_MTHD(push, NV827C, SET_CONTEXT_DMAS_ISO(0), asyw->image.handle, 1);
drivers/gpu/drm/nouveau/dispnv50/base907c.c
102
PUSH_MTHD(push, NV907C, SET_CONTEXT_DMA_LUT, asyw->xlut.handle);
drivers/gpu/drm/nouveau/dispnv50/base907c.c
42
PUSH_MTHD(push, NV907C, SET_CONTEXT_DMAS_ISO(0), asyw->image.handle, 1);
drivers/gpu/drm/nouveau/dispnv50/core507d.c
139
PUSH_MTHD(push, NV507D, SET_CONTEXT_DMA_NOTIFIER, core->chan.sync.handle);
drivers/gpu/drm/nouveau/dispnv50/corec37d.c
137
PUSH_MTHD(push, NVC37D, SET_CONTEXT_DMA_NOTIFIER, core->chan.sync.handle);
drivers/gpu/drm/nouveau/dispnv50/corec57d.c
40
PUSH_MTHD(push, NVC57D, SET_CONTEXT_DMA_NOTIFIER, core->chan.sync.handle);
drivers/gpu/drm/nouveau/dispnv50/crc907d.c
64
PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle);
drivers/gpu/drm/nouveau/dispnv50/crc907d.c
84
PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx ? ctx->ntfy.handle : 0);
drivers/gpu/drm/nouveau/dispnv50/crcc37d.c
44
PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle);
drivers/gpu/drm/nouveau/dispnv50/crcc37d.c
63
PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx ? ctx->ntfy.handle : 0);
drivers/gpu/drm/nouveau/dispnv50/crcc57d.c
40
PUSH_MTHD(push, NVC57D, HEAD_SET_CONTEXT_DMA_CRC(i), ctx->ntfy.handle);
drivers/gpu/drm/nouveau/dispnv50/curs507a.c
81
u32 handle = nv50_disp(wndw->plane.dev)->core->chan.vram.handle;
drivers/gpu/drm/nouveau/dispnv50/curs507a.c
83
if (asyh->curs.handle != handle || asyh->curs.offset != offset) {
drivers/gpu/drm/nouveau/dispnv50/curs507a.c
84
asyh->curs.handle = handle;
drivers/gpu/drm/nouveau/dispnv50/disp.c
287
dmac->sync.handle = NV50_DISP_HANDLE_SYNCBUF;
drivers/gpu/drm/nouveau/dispnv50/disp.c
288
dmac->vram.handle = NV50_DISP_HANDLE_VRAM;
drivers/gpu/drm/nouveau/dispnv50/head.c
263
asyh->olut.handle = 0;
drivers/gpu/drm/nouveau/dispnv50/head.c
276
asyh->olut.handle = disp->core->chan.vram.handle;
drivers/gpu/drm/nouveau/dispnv50/head.c
384
asyh->olut.visible = asyh->olut.handle != 0;
drivers/gpu/drm/nouveau/dispnv50/head507d.c
231
NVVAL(NV507D, HEAD_SET_CONTEXT_DMA_ISO, HANDLE, asyh->core.handle));
drivers/gpu/drm/nouveau/dispnv50/head507d.c
242
asyh->set.olut = asyh->olut.handle != 0;
drivers/gpu/drm/nouveau/dispnv50/head507d.c
268
asyh->core.handle = disp->core->chan.vram.handle;
drivers/gpu/drm/nouveau/dispnv50/head827d.c
102
NVVAL(NV827D, HEAD_SET_CONTEXT_DMAS_ISO, HANDLE, asyh->core.handle));
drivers/gpu/drm/nouveau/dispnv50/head827d.c
145
PUSH_MTHD(push, NV827D, HEAD_SET_CONTEXT_DMA_LUT(i), asyh->olut.handle);
drivers/gpu/drm/nouveau/dispnv50/head827d.c
69
PUSH_MTHD(push, NV827D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle);
drivers/gpu/drm/nouveau/dispnv50/head907d.c
191
PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle);
drivers/gpu/drm/nouveau/dispnv50/head907d.c
238
NVVAL(NV907D, HEAD_SET_CONTEXT_DMAS_ISO, HANDLE, asyh->core.handle));
drivers/gpu/drm/nouveau/dispnv50/head907d.c
281
PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_LUT(i), asyh->olut.handle);
drivers/gpu/drm/nouveau/dispnv50/head917d.c
98
PUSH_MTHD(push, NV917D, HEAD_SET_CONTEXT_DMA_CURSOR(i), asyh->curs.handle);
drivers/gpu/drm/nouveau/dispnv50/headc37d.c
148
PUSH_MTHD(push, NVC37D, HEAD_SET_CONTEXT_DMA_CURSOR(i, 0), asyh->curs.handle);
drivers/gpu/drm/nouveau/dispnv50/headc37d.c
191
HEAD_SET_CONTEXT_DMA_OUTPUT_LUT(i), asyh->olut.handle);
drivers/gpu/drm/nouveau/dispnv50/headc57d.c
127
HEAD_SET_CONTEXT_DMA_OLUT(i), asyh->olut.handle,
drivers/gpu/drm/nouveau/dispnv50/ovly507e.c
68
PUSH_MTHD(push, NV507E, SET_CONTEXT_DMA_ISO, asyw->image.handle[0]);
drivers/gpu/drm/nouveau/dispnv50/ovly827e.c
45
PUSH_MTHD(push, NV827E, SET_CONTEXT_DMA_ISO, asyw->image.handle[0]);
drivers/gpu/drm/nouveau/dispnv50/ovly907e.c
42
PUSH_MTHD(push, NV907E, SET_CONTEXT_DMA_ISO, asyw->image.handle[0]);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
110
ret = nvif_object_ctor(wndw->ctxdma.parent, "kmsFbCtxDma", handle,
drivers/gpu/drm/nouveau/dispnv50/wndw.c
190
asyw->ntfy.handle = wndw->wndw.sync.handle;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
207
asyw->ntfy.handle = 0;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
208
asyw->sema.handle = 0;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
209
asyw->xlut.handle = 0;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
210
memset(asyw->image.handle, 0x00, sizeof(asyw->image.handle));
drivers/gpu/drm/nouveau/dispnv50/wndw.c
415
asyw->xlut.handle = wndw->wndw.vram.handle;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
419
asyw->clr.xlut = armw->xlut.handle != 0;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
424
(!armw->visible || (armw->xlut.handle && !asyw->xlut.handle)))
drivers/gpu/drm/nouveau/dispnv50/wndw.c
510
asyw->clr.ntfy = armw->ntfy.handle != 0;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
511
asyw->clr.sema = armw->sema.handle != 0;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
512
asyw->clr.xlut = armw->xlut.handle != 0;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
514
asyw->set.xlut = asyw->xlut.handle != 0;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
517
asyw->clr.image = armw->image.handle[0] != 0;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
567
asyw->image.handle[0] = ctxdma->object.handle;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
574
asyw->image.handle[0] = NV50_DISP_HANDLE_WNDW_CTX(0);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
61
u32 handle;
drivers/gpu/drm/nouveau/dispnv50/wndw.c
76
handle = NV50_DISP_HANDLE_WNDW_CTX(kind);
drivers/gpu/drm/nouveau/dispnv50/wndw.c
79
if (ctxdma->object.handle == handle)
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
193
PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_ISO(0), asyw->image.handle, 1);
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
232
PUSH_MTHD(push, NVC37E, SET_CONTEXT_DMA_NOTIFIER, asyw->ntfy.handle,
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
265
SET_CONTEXT_DMA_SEMAPHORE, asyw->sema.handle);
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c
81
SET_CONTEXT_DMA_INPUT_LUT, asyw->xlut.handle);
drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c
139
SET_CONTEXT_DMA_ILUT, asyw->xlut.handle,
drivers/gpu/drm/nouveau/dispnv50/wndwc57e.c
64
PUSH_MTHD(push, NVC57E, SET_CONTEXT_DMA_ISO(0), asyw->image.handle, 1);
drivers/gpu/drm/nouveau/dispnv50/wndwc67e.c
60
PUSH_MTHD(push, NVC57E, SET_CONTEXT_DMA_ISO(0), asyw->image.handle, 1);
drivers/gpu/drm/nouveau/include/nvif/conn.h
33
return conn->object.handle;
drivers/gpu/drm/nouveau/include/nvif/driver.h
14
void __iomem *(*map)(void *priv, u64 handle, u32 size);
drivers/gpu/drm/nouveau/include/nvif/event.h
27
nvif_event_ctor(struct nvif_object *parent, const char *name, u32 handle, nvif_event_func func,
drivers/gpu/drm/nouveau/include/nvif/event.h
30
return nvif_event_ctor_(parent, name, handle, func, wait, args, argc, true, event);
drivers/gpu/drm/nouveau/include/nvif/head.h
18
return head->object.handle;
drivers/gpu/drm/nouveau/include/nvif/ioctl.h
50
__u32 handle;
drivers/gpu/drm/nouveau/include/nvif/ioctl.h
78
__u64 handle;
drivers/gpu/drm/nouveau/include/nvif/object.h
16
u32 handle;
drivers/gpu/drm/nouveau/include/nvif/object.h
31
int nvif_object_ctor(struct nvif_object *, const char *name, u32 handle,
drivers/gpu/drm/nouveau/include/nvif/object.h
39
u64 *handle, u64 *length);
drivers/gpu/drm/nouveau/include/nvif/printf.h
10
_p->func->l(_o, "[%s/%08x:%s] "f"\n", _o->client->object.name, _o->handle, _o->name, ##a); \
drivers/gpu/drm/nouveau/include/nvkm/core/client.h
32
_object->handle, _object->oclass, ##a); \
drivers/gpu/drm/nouveau/include/nvkm/core/device.h
21
u64 handle;
drivers/gpu/drm/nouveau/include/nvkm/core/object.h
15
u32 handle;
drivers/gpu/drm/nouveau/include/nvkm/core/oclass.h
23
u32 handle;
drivers/gpu/drm/nouveau/include/nvkm/core/ramht.h
10
u32 handle;
drivers/gpu/drm/nouveau/include/nvkm/core/ramht.h
26
int chid, int addr, u32 handle, u32 context);
drivers/gpu/drm/nouveau/include/nvkm/core/ramht.h
29
nvkm_ramht_search(struct nvkm_ramht *, int chid, u32 handle);
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
204
u32 handle;
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
364
nvkm_gsp_rm_alloc_get(struct nvkm_gsp_object *parent, u32 handle, u32 oclass, u32 argc,
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
373
object->handle = handle;
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
413
nvkm_gsp_rm_alloc(struct nvkm_gsp_object *parent, u32 handle, u32 oclass, u32 argc,
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
416
void *argv = nvkm_gsp_rm_alloc_get(parent, handle, oclass, argc, object);
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
478
nvkm_gsp_device_event_ctor(struct nvkm_gsp_device *device, u32 handle, u32 id,
drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h
483
return rm->api->device->event.ctor(device, handle, id, func, event);
drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h
114
struct nvkm_vmm *nvkm_uvmm_search(struct nvkm_client *, u64 handle);
drivers/gpu/drm/nouveau/nouveau_abi16.c
436
init->subchan[0].handle = 0x00000000;
drivers/gpu/drm/nouveau/nouveau_abi16.c
438
init->subchan[1].handle = chan->chan->nvsw.handle;
drivers/gpu/drm/nouveau/nouveau_abi16.c
540
if (init->handle == ~0)
drivers/gpu/drm/nouveau/nouveau_abi16.c
606
ret = nvif_object_ctor(&chan->chan->user, "abi16EngObj", init->handle,
drivers/gpu/drm/nouveau/nouveau_abi16.c
669
ret = nvif_object_ctor(&chan->chan->user, "abi16Ntfy", info->handle,
drivers/gpu/drm/nouveau/nouveau_abi16.c
702
if (ntfy->object.handle == fini->handle) {
drivers/gpu/drm/nouveau/nouveau_abi16.c
795
ret = nvif_object_ctor(&chan->chan->user, "abi16EngObj", args->handle, args->oclass,
drivers/gpu/drm/nouveau/nouveau_abi16.h
49
uint32_t handle;
drivers/gpu/drm/nouveau/nouveau_acpi.c
110
static int nouveau_dsm_get_optimus_functions(acpi_handle handle)
drivers/gpu/drm/nouveau/nouveau_acpi.c
118
if (nouveau_optimus_dsm(handle, 0, 0, &result))
drivers/gpu/drm/nouveau/nouveau_acpi.c
130
static int nouveau_dsm(acpi_handle handle, int func, int arg)
drivers/gpu/drm/nouveau/nouveau_acpi.c
139
obj = acpi_evaluate_dsm_typed(handle, &nouveau_dsm_muid, 0x00000102,
drivers/gpu/drm/nouveau/nouveau_acpi.c
142
acpi_handle_info(handle, "failed to evaluate _DSM\n");
drivers/gpu/drm/nouveau/nouveau_acpi.c
153
static int nouveau_dsm_switch_mux(acpi_handle handle, int mux_id)
drivers/gpu/drm/nouveau/nouveau_acpi.c
157
return nouveau_dsm(handle, NOUVEAU_DSM_LED, mux_id);
drivers/gpu/drm/nouveau/nouveau_acpi.c
160
static int nouveau_dsm_set_discrete_state(acpi_handle handle, enum vga_switcheroo_state state)
drivers/gpu/drm/nouveau/nouveau_acpi.c
167
nouveau_dsm(handle, NOUVEAU_DSM_POWER, arg);
drivers/gpu/drm/nouveau/nouveau_acpi.c
71
static int nouveau_optimus_dsm(acpi_handle handle, int func, int arg, uint32_t *result)
drivers/gpu/drm/nouveau/nouveau_acpi.c
87
obj = acpi_evaluate_dsm_typed(handle, &nouveau_op_dsm_muid, 0x00000100,
drivers/gpu/drm/nouveau/nouveau_acpi.c
90
acpi_handle_info(handle, "failed to evaluate _DSM\n");
drivers/gpu/drm/nouveau/nouveau_bo.c
1001
int (*init)(struct nouveau_channel *, u32 handle);
drivers/gpu/drm/nouveau/nouveau_bo.c
1050
ret = mthd->init(chan, drm->ttm.copy.handle);
drivers/gpu/drm/nouveau/nouveau_bo.c
1302
u64 handle, length;
drivers/gpu/drm/nouveau/nouveau_bo.c
1326
&handle, &length);
drivers/gpu/drm/nouveau/nouveau_bo.c
1333
reg->bus.offset = handle;
drivers/gpu/drm/nouveau/nouveau_bo0039.c
106
PUSH_MTHD(push, NV039, SET_OBJECT, handle);
drivers/gpu/drm/nouveau/nouveau_bo0039.c
107
PUSH_MTHD(push, NV039, SET_CONTEXT_DMA_NOTIFIES, chan->cli->drm->ntfy.handle);
drivers/gpu/drm/nouveau/nouveau_bo0039.c
43
return chan->vram.handle;
drivers/gpu/drm/nouveau/nouveau_bo0039.c
97
nv04_bo_move_init(struct nouveau_channel *chan, u32 handle)
drivers/gpu/drm/nouveau/nouveau_bo5039.c
137
nv50_bo_move_init(struct nouveau_channel *chan, u32 handle)
drivers/gpu/drm/nouveau/nouveau_bo5039.c
146
PUSH_MTHD(push, NV5039, SET_OBJECT, handle);
drivers/gpu/drm/nouveau/nouveau_bo5039.c
147
PUSH_MTHD(push, NV5039, SET_CONTEXT_DMA_NOTIFY, chan->cli->drm->ntfy.handle,
drivers/gpu/drm/nouveau/nouveau_bo5039.c
148
SET_CONTEXT_DMA_BUFFER_IN, chan->vram.handle,
drivers/gpu/drm/nouveau/nouveau_bo5039.c
149
SET_CONTEXT_DMA_BUFFER_OUT, chan->vram.handle);
drivers/gpu/drm/nouveau/nouveau_bo9039.c
87
nvc0_bo_move_init(struct nouveau_channel *chan, u32 handle)
drivers/gpu/drm/nouveau/nouveau_bo9039.c
96
PUSH_MTHD(push, NV9039, SET_OBJECT, handle);
drivers/gpu/drm/nouveau/nouveau_boa0b5.c
79
nve0_bo_move_init(struct nouveau_channel *chan, u32 handle)
drivers/gpu/drm/nouveau/nouveau_boa0b5.c
88
PUSH_NVSQ(push, NVA0B5, 0x0000, handle & 0x0000ffff);
drivers/gpu/drm/nouveau/nouveau_chan.c
485
PUSH_NVSQ(&chan->chan.push, NV_SW, 0x0000, chan->nvsw.handle);
drivers/gpu/drm/nouveau/nouveau_crtc.h
53
uint32_t handle;
drivers/gpu/drm/nouveau/nouveau_display.c
825
ret = drm_gem_handle_create(file_priv, &bo->bo.base, &args->handle);
drivers/gpu/drm/nouveau/nouveau_drm.c
407
PUSH_NVSQ(push, NV05F, 0x0000, drm->channel->blit.handle);
drivers/gpu/drm/nouveau/nouveau_drm.c
412
PUSH_NVSQ(push, NV_SW, 0x0000, drm->channel->nvsw.handle);
drivers/gpu/drm/nouveau/nouveau_gem.c
1020
gem = drm_gem_object_lookup(file_priv, req->handle);
drivers/gpu/drm/nouveau/nouveau_gem.c
1038
gem = drm_gem_object_lookup(file_priv, req->handle);
drivers/gpu/drm/nouveau/nouveau_gem.c
359
&req->info.handle);
drivers/gpu/drm/nouveau/nouveau_gem.c
363
drm_gem_handle_delete(file_priv, req->info.handle);
drivers/gpu/drm/nouveau/nouveau_gem.c
480
gem = drm_gem_object_lookup(file_priv, b->handle);
drivers/gpu/drm/nouveau/nouveau_gem.c
482
NV_PRINTK(err, cli, "Unknown handle 0x%08x\n", b->handle);
drivers/gpu/drm/nouveau/nouveau_gem.c
495
"validation list\n", b->handle);
drivers/gpu/drm/nouveau/nouveau_gem.c
991
gem = drm_gem_object_lookup(file_priv, req->handle);
drivers/gpu/drm/nouveau/nouveau_nvif.c
46
nvkm_client_map(void *priv, u64 handle, u32 size)
drivers/gpu/drm/nouveau/nouveau_nvif.c
48
return ioremap(handle, size);
drivers/gpu/drm/nouveau/nouveau_sched.c
155
sync->handle, point,
drivers/gpu/drm/nouveau/nouveau_sched.c
176
sync->handle);
drivers/gpu/drm/nouveau/nouveau_sched.c
222
*pobj = drm_syncobj_find(job->file_priv, sync->handle);
drivers/gpu/drm/nouveau/nouveau_sched.c
226
sync->handle);
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1273
op->gem.handle);
drivers/gpu/drm/nouveau/nouveau_uvmm.c
1642
op->gem.handle = uop->handle;
drivers/gpu/drm/nouveau/nouveau_uvmm.c
73
u32 handle;
drivers/gpu/drm/nouveau/nv17_fence.c
57
PUSH_MTHD(ppush, NV176E, SET_CONTEXT_DMA_SEMAPHORE, fctx->sema.handle,
drivers/gpu/drm/nouveau/nv17_fence.c
65
PUSH_MTHD(npush, NV176E, SET_CONTEXT_DMA_SEMAPHORE, fctx->sema.handle,
drivers/gpu/drm/nouveau/nv84_fence.c
41
PUSH_MTHD(push, NV826F, SET_CONTEXT_DMA_SEMAPHORE, chan->vram.handle);
drivers/gpu/drm/nouveau/nv84_fence.c
64
PUSH_MTHD(push, NV826F, SET_CONTEXT_DMA_SEMAPHORE, chan->vram.handle);
drivers/gpu/drm/nouveau/nvif/client.c
66
client->object.handle = ~0;
drivers/gpu/drm/nouveau/nvif/event.c
57
nvif_event_ctor_(struct nvif_object *parent, const char *name, u32 handle, nvif_event_func func,
drivers/gpu/drm/nouveau/nvif/event.c
72
ret = nvif_object_ctor(parent, name ?: "nvifEvent", handle,
drivers/gpu/drm/nouveau/nvif/object.c
149
u64 *handle, u64 *length)
drivers/gpu/drm/nouveau/nvif/object.c
164
*handle = args->map.handle;
drivers/gpu/drm/nouveau/nvif/object.c
190
u64 handle, length;
drivers/gpu/drm/nouveau/nvif/object.c
191
int ret = nvif_object_map_handle(object, argv, argc, &handle, &length);
drivers/gpu/drm/nouveau/nvif/object.c
195
handle,
drivers/gpu/drm/nouveau/nvif/object.c
202
object->map.ptr = (void *)(unsigned long)handle;
drivers/gpu/drm/nouveau/nvif/object.c
229
nvif_object_ctor(struct nvif_object *parent, const char *name, u32 handle,
drivers/gpu/drm/nouveau/nvif/object.c
240
object->handle = handle;
drivers/gpu/drm/nouveau/nvif/object.c
265
args->new.handle = handle;
drivers/gpu/drm/nouveau/nvkm/core/client.c
53
client->object.handle = oclass->handle;
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
105
args->v0.version, args->v0.handle, args->v0.oclass,
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
117
oclass.handle = args->v0.handle;
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
218
&args->v0.handle,
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
264
nvkm_ioctl_path(struct nvkm_client *client, u64 handle, u32 type,
drivers/gpu/drm/nouveau/nvkm/core/ioctl.c
270
object = nvkm_object_search(client, handle, NULL);
drivers/gpu/drm/nouveau/nvkm/core/object.c
279
object->handle = oclass->handle;
drivers/gpu/drm/nouveau/nvkm/core/object.c
29
nvkm_object_search(struct nvkm_client *client, u64 handle,
drivers/gpu/drm/nouveau/nvkm/core/object.c
35
if (handle) {
drivers/gpu/drm/nouveau/nvkm/core/object.c
40
if (handle < object->object)
drivers/gpu/drm/nouveau/nvkm/core/object.c
43
if (handle > object->object)
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
108
int chid, int addr, u32 handle, u32 context)
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
112
if (nvkm_ramht_search(ramht, chid, handle))
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
115
co = ho = nvkm_ramht_hash(ramht, chid, handle);
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
119
addr, handle, context);
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
27
nvkm_ramht_hash(struct nvkm_ramht *ramht, int chid, u32 handle)
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
31
while (handle) {
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
32
hash ^= (handle & ((1 << ramht->bits) - 1));
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
33
handle >>= ramht->bits;
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
41
nvkm_ramht_search(struct nvkm_ramht *ramht, int chid, u32 handle)
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
45
co = ho = nvkm_ramht_hash(ramht, chid, handle);
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
48
if (ramht->data[co].handle == handle)
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
61
int chid, int addr, u32 handle, u32 context)
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
69
data->handle = handle;
drivers/gpu/drm/nouveau/nvkm/core/ramht.c
93
nvkm_wo32(ramht->gpuobj, (co << 3) + 0, handle);
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3143
struct device *dev, enum nvkm_device_type type, u64 handle,
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3154
if (nvkm_device_find_locked(handle))
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
3161
device->handle = handle;
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
36
nvkm_device_find_locked(u64 handle)
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
40
if (device->handle == handle)
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
47
nvkm_device_find(u64 handle)
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
51
device = nvkm_device_find_locked(handle);
drivers/gpu/drm/nouveau/nvkm/engine/device/priv.h
55
struct device *, enum nvkm_device_type, u64 handle,
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.c
99
object->hash = chan->func->bind(chan, object->oproxy.object, oclass->handle);
drivers/gpu/drm/nouveau/nvkm/engine/disp/chan.h
41
int (*bind)(struct nvkm_disp_chan *, struct nvkm_object *, u32 handle);
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
568
gf119_disp_dmac_bind(struct nvkm_disp_chan *chan, struct nvkm_object *object, u32 handle)
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
570
return nvkm_ramht_insert(chan->disp->ramht, object, chan->chid.user, -9, handle,
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
354
struct nvkm_object *object, u32 handle)
drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.c
356
return nvkm_ramht_insert(chan->disp->ramht, object, chan->chid.user, -9, handle,
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
626
nv50_disp_dmac_bind(struct nvkm_disp_chan *chan, struct nvkm_object *object, u32 handle)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
628
return nvkm_ramht_insert(chan->disp->ramht, object, chan->chid.user, -10, handle,
drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c
35
nvkm_dmaobj_search(struct nvkm_client *client, u64 handle)
drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c
39
object = nvkm_object_search(client, handle, &nvkm_dmaobj_func);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv04.c
200
hash = nvkm_ramht_insert(imem->ramht, eobj, chan->id, 4, eobj->handle, context);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv40.c
119
hash = nvkm_ramht_insert(imem->ramht, eobj, chan->id, 4, eobj->handle, context);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c
44
return nvkm_ramht_insert(chan->ramht, eobj, 0, 4, eobj->handle, engn->id << 20);
drivers/gpu/drm/nouveau/nvkm/engine/fifo/uchan.c
185
.handle = oclass->handle,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/client.c
10
const unsigned int id = client->object.handle - NVKM_RM_CLIENT(0);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
43
const u32 handle = oclass->handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
53
ret = rm->api->ce->alloc(chan, handle, class, inst, &obj->rm);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
56
ret = nvkm_gsp_rm_alloc(chan, handle, class, 0, &obj->rm);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
59
ret = rm->api->nvdec->alloc(chan, handle, class, inst, &obj->rm);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
62
ret = rm->api->nvenc->alloc(chan, handle, class, inst, &obj->rm);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
65
ret = rm->api->nvjpg->alloc(chan, handle, class, inst, &obj->rm);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/engine.c
68
ret = rm->api->ofa->alloc(chan, handle, class, inst, &obj->rm);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/alloc.c
35
client->object.handle, object->handle);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/alloc.c
41
rpc->params.hRoot = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/alloc.c
43
rpc->params.hObjectOld = object->handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/alloc.c
86
client->object.handle, object->parent->handle,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/alloc.c
87
object->handle);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/alloc.c
97
rpc->hClient = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/alloc.c
98
rpc->hParent = object->parent->handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/alloc.c
99
rpc->hObject = object->handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ce.c
28
r535_ce_alloc(struct nvkm_gsp_object *chan, u32 handle, u32 class, int inst,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ce.c
33
args = nvkm_gsp_rm_alloc_get(chan, handle, class, sizeof(*args), ce);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/client.c
27
r535_gsp_client_ctor(struct nvkm_gsp_client *client, u32 handle)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/client.c
31
args = nvkm_gsp_rm_alloc_get(&client->object, handle, NV01_ROOT, sizeof(*args),
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/client.c
36
args->hClient = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ctrl.c
54
object->client->object.handle, object->handle, rpc->cmd, rpc->status);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ctrl.c
73
client->object.handle, object->handle, cmd, params_size);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ctrl.c
80
rpc->hClient = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ctrl.c
81
rpc->hObject = object->handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c
129
args->hClientShare = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c
62
r535_gsp_device_event_ctor(struct nvkm_gsp_device *device, u32 handle, u32 id,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c
70
args = nvkm_gsp_rm_alloc_get(&device->subdevice, handle,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/device.c
76
args->hParentClient = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
150
r535_dmac_bind(struct nvkm_disp_chan *chan, struct nvkm_object *object, u32 handle)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
152
return nvkm_ramht_insert(chan->disp->ramht, object, chan->chid.user, -9, handle,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
154
(chan->disp->rm.client.object.handle & 0x3fff));
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1576
acpi_handle handle = ACPI_HANDLE(device->dev);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1578
if (handle && acpi_has_method(handle, "_DSM")) {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1579
bool nbci = acpi_check_dsm(handle, &NBCI_DSM_GUID, NBCI_DSM_REV,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1581
bool nvhg = acpi_check_dsm(handle, &NVHG_DSM_GUID, NVHG_DSM_REV,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1591
obj = acpi_evaluate_dsm(handle, nbci ? &NBCI_DSM_GUID : &NVHG_DSM_GUID,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1594
acpi_handle_info(handle, "failed to evaluate _DSM\n");
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fbsr.c
108
object->handle = handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fbsr.c
134
ctrl->hClient = fbsr->client.object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fbsr.c
170
ctrl->hClient = fbsr->client.object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fbsr.c
52
r535_fbsr_memlist(struct nvkm_gsp_device *device, u32 handle, enum nvkm_memory_target aper,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fbsr.c
66
rpc->hClient = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fbsr.c
67
rpc->hDevice = device->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fbsr.c
68
rpc->hMemory = handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
120
args->hVASpace = vmm->rm.object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
287
ctrl->hClient = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
288
ctrl->hObject = chan->rm.object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
289
ctrl->hChanClient = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
75
r535_chan_alloc(struct nvkm_gsp_device *device, u32 handle, u32 nv2080_engine_type, u8 runq,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/fifo.c
86
args = nvkm_gsp_rm_alloc_get(&device->object, handle,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c
74
ctrl->hChanClient = vmm->rm.client.object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c
75
ctrl->hObject = chan->handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
223
gsp->internal.client.object.handle = rpc->hInternalClient;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
228
gsp->internal.device.object.handle = rpc->hInternalDevice;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
232
gsp->internal.device.subdevice.handle = rpc->hInternalSubdevice;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
716
r535_gsp_acpi_caps(acpi_handle handle, CAPS_METHOD_DATA *caps)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
729
if (!acpi_check_dsm(handle, &NVOP_DSM_GUID, NVOP_DSM_REV, BIT_ULL(0x1a)))
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
736
obj = acpi_evaluate_dsm(handle, &NVOP_DSM_GUID, NVOP_DSM_REV, 0x1a, &argv4);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
754
r535_gsp_acpi_jt(acpi_handle handle, JT_METHOD_DATA *jt)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
772
obj = acpi_evaluate_dsm(handle, &JT_DSM_GUID, JT_DSM_REV, 0x1, &argv4);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
792
r535_gsp_acpi_mux_id(acpi_handle handle, u32 id, MUX_METHOD_DATA_ELEMENT *mode,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
805
status = acpi_get_next_object(ACPI_TYPE_DEVICE, handle, iter, &iter);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
839
r535_gsp_acpi_mux(acpi_handle handle, DOD_METHOD_DATA *dod, MUX_METHOD_DATA *mux)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
844
r535_gsp_acpi_mux_id(handle, dod->acpiIdList[i], &mux->acpiIdMuxModeTable[i],
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
850
r535_gsp_acpi_dod(acpi_handle handle, DOD_METHOD_DATA *dod)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
858
status = acpi_evaluate_object(handle, "_DOD", NULL, &output);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
885
acpi_handle handle = ACPI_HANDLE(gsp->subdev.device->dev);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
887
if (!handle)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
892
r535_gsp_acpi_dod(handle, &acpi->dodMethodData);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
894
r535_gsp_acpi_mux(handle, &acpi->dodMethodData, &acpi->muxMethodData);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
896
r535_gsp_acpi_jt(handle, &acpi->jtMethodData);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
897
r535_gsp_acpi_caps(handle, &acpi->capsMethodData);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
977
if (event->object.handle == msg->hEvent) {
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvdec.c
27
r535_nvdec_alloc(struct nvkm_gsp_object *chan, u32 handle, u32 class, int inst,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvdec.c
32
args = nvkm_gsp_rm_alloc_get(chan, handle, class, sizeof(*args), nvdec);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvenc.c
27
r535_nvenc_alloc(struct nvkm_gsp_object *chan, u32 handle, u32 class, int inst,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvenc.c
32
args = nvkm_gsp_rm_alloc_get(chan, handle, class, sizeof(*args), nvenc);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvjpg.c
27
r535_nvjpg_alloc(struct nvkm_gsp_object *chan, u32 handle, u32 class, int inst,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvjpg.c
32
args = nvkm_gsp_rm_alloc_get(chan, handle, class, sizeof(*args), nvjpg);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ofa.c
27
r535_ofa_alloc(struct nvkm_gsp_object *chan, u32 handle, u32 class, int inst,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/ofa.c
32
args = nvkm_gsp_rm_alloc_get(chan, handle, class, sizeof(*args), ofa);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/vmm.c
144
ctrl->hVASpace = vmm->rm.object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/vmm.c
37
ctrl->hVASpace = vmm->rm.object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/vmm.c
53
r535_mmu_vaspace_new(struct nvkm_vmm *vmm, u32 handle, bool external)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/vmm.c
63
args = nvkm_gsp_rm_alloc_get(&vmm->rm.device.object, handle, FERMI_VASPACE_A,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/client.c
10
r570_gsp_client_ctor(struct nvkm_gsp_client *client, u32 handle)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/client.c
14
args = nvkm_gsp_rm_alloc_get(&client->object, handle, NV01_ROOT, sizeof(*args),
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/client.c
19
args->hClient = client->object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fbsr.c
81
ctrl->hClient = gsp->internal.client.object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fbsr.c
82
ctrl->hSysMem = memlist.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fifo.c
20
r570_chan_alloc(struct nvkm_gsp_device *device, u32 handle, u32 nv2080_engine_type, u8 runq,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fifo.c
31
args = nvkm_gsp_rm_alloc_get(&device->object, handle,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/fifo.c
65
args->hVASpace = vmm->rm.object.handle;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
100
gsp->internal.device.subdevice.handle = rpc->hInternalSubdevice;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
138
acpi_handle handle = ACPI_HANDLE(gsp->subdev.device->dev);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
140
if (!handle)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
145
r535_gsp_acpi_dod(handle, &acpi->dodMethodData);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
146
r535_gsp_acpi_jt(handle, &acpi->jtMethodData);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
147
r535_gsp_acpi_caps(handle, &acpi->capsMethodData);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
90
gsp->internal.client.object.handle = rpc->hInternalClient;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gsp.c
96
gsp->internal.device.object.handle = rpc->hInternalDevice;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/ofa.c
10
r570_ofa_alloc(struct nvkm_gsp_object *parent, u32 handle, u32 oclass, int inst,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/ofa.c
15
args = nvkm_gsp_rm_alloc_get(parent, handle, oclass, sizeof(*args), ofa);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/rm.h
113
int (*alloc)(struct nvkm_gsp_device *, u32 handle,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/rm.h
122
int (*alloc)(struct nvkm_gsp_object *chan, u32 handle, u32 class, int inst,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/rm.h
153
int r535_mmu_vaspace_new(struct nvkm_vmm *, u32 handle, bool external);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/rm.h
157
int r535_fbsr_memlist(struct nvkm_gsp_device *, u32 handle, enum nvkm_memory_target,
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/rm.h
66
int (*ctor)(struct nvkm_gsp_client *, u32 handle);
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/rm.h
74
int (*ctor)(struct nvkm_gsp_device *, u32 handle, u32 id,
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
305
node->base.vaddr, node->handle, imem->attrs);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
398
&node->handle, GFP_KERNEL,
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
406
if (unlikely(node->handle & (align - 1)))
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
409
&node->handle, align);
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
413
node->r.offset = node->handle >> 12;
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c
67
dma_addr_t handle;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c
102
*handle = (unsigned long)(void *)umem->map;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c
110
handle, length, &umem->bar);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c
35
nvkm_umem_search(struct nvkm_client *client, u64 handle)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c
42
object = nvkm_object_search(client, handle, &nvkm_umem);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c
47
if (umem->object.object == handle) {
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c
87
enum nvkm_object_map *type, u64 *handle, u64 *length)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
157
u64 addr, size, handle, offset;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
166
handle = args->v0.memory;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
174
memory = nvkm_umem_search(client, handle);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
176
VMM_DEBUG(vmm, "memory %016llx %ld\n", handle, PTR_ERR(memory));
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
34
nvkm_uvmm_search(struct nvkm_client *client, u64 handle)
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
38
object = nvkm_object_search(client, handle, &nvkm_uvmm);
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
404
u64 handle = args->memory;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c
419
VMM_DEBUG(vmm, "memory %016llx %ld\n", handle, PTR_ERR(memory));
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
107
obj = acpi_evaluate_dsm(handle, &muid, rev, 0x00000010, &argv4);
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
94
acpi_handle handle;
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
97
handle = ACPI_HANDLE(device->dev);
drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c
98
if (!handle)
drivers/gpu/drm/omapdrm/omap_drv.c
582
&args->handle);
drivers/gpu/drm/omapdrm/omap_drv.c
592
VERB("%p:%p: handle=%d", dev, file_priv, args->handle);
drivers/gpu/drm/omapdrm/omap_drv.c
594
obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/omapdrm/omap_gem.c
1432
union omap_gem_size gsize, u32 flags, u32 *handle)
drivers/gpu/drm/omapdrm/omap_gem.c
1441
ret = drm_gem_handle_create(file, obj, handle);
drivers/gpu/drm/omapdrm/omap_gem.c
594
OMAP_BO_SCANOUT | OMAP_BO_WC, &args->handle);
drivers/gpu/drm/omapdrm/omap_gem.c
608
u32 handle, u64 *offset)
drivers/gpu/drm/omapdrm/omap_gem.c
614
obj = drm_gem_object_lookup(file, handle);
drivers/gpu/drm/omapdrm/omap_gem.h
50
union omap_gem_size gsize, u32 flags, u32 *handle);
drivers/gpu/drm/omapdrm/omap_gem.h
55
u32 handle, u64 *offset);
drivers/gpu/drm/panfrost/panfrost_drv.c
154
ret = drm_gem_handle_create(file, &bo->base.base, &args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
385
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
411
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
413
DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
441
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
443
DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
469
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
471
DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
535
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
579
if (!args->handle)
drivers/gpu/drm/panfrost/panfrost_drv.c
582
return panfrost_jm_ctx_destroy(file, args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
614
obj = drm_gem_object_lookup(file, ops[i].handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
642
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
644
DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/panfrost/panfrost_drv.c
804
static void show_panfrost_jm_ctx(struct panfrost_jm_ctx *jm_ctx, u32 handle,
drivers/gpu/drm/panfrost/panfrost_drv.c
823
seq_printf(m, " JM context %u: priority %s\n", handle, prio);
drivers/gpu/drm/panfrost/panfrost_job.c
1013
panfrost_jm_ctx_from_handle(struct drm_file *file, u32 handle)
drivers/gpu/drm/panfrost/panfrost_job.c
1019
jm_ctx = panfrost_jm_ctx_get(xa_load(&priv->jm_ctxs, handle));
drivers/gpu/drm/panfrost/panfrost_job.c
1075
ret = xa_alloc(&priv->jm_ctxs, &args->handle, jm_ctx,
drivers/gpu/drm/panfrost/panfrost_job.c
1088
int panfrost_jm_ctx_destroy(struct drm_file *file, u32 handle)
drivers/gpu/drm/panfrost/panfrost_job.c
1094
jm_ctx = xa_erase(&priv->jm_ctxs, handle);
drivers/gpu/drm/panfrost/panfrost_job.c
952
if (WARN_ON(default_jm_ctx.handle))
drivers/gpu/drm/panfrost/panfrost_job.h
60
int panfrost_jm_ctx_destroy(struct drm_file *file, u32 handle);
drivers/gpu/drm/panfrost/panfrost_job.h
63
struct panfrost_jm_ctx *panfrost_jm_ctx_from_handle(struct drm_file *file, u32 handle);
drivers/gpu/drm/panthor/panthor_drv.c
1170
args->handle = (args->vm_id << 16) | ret;
drivers/gpu/drm/panthor/panthor_drv.c
1193
vm = panthor_vm_pool_get_vm(pfile->vms, args->handle >> 16);
drivers/gpu/drm/panthor/panthor_drv.c
1203
ret = panthor_heap_destroy(pool, args->handle & GENMASK(15, 0));
drivers/gpu/drm/panthor/panthor_drv.c
1364
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/panthor/panthor_drv.c
1423
obj = drm_gem_object_lookup(file, ops[i].handle);
drivers/gpu/drm/panthor/panthor_drv.c
1451
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/panthor/panthor_drv.c
240
u32 handle;
drivers/gpu/drm/panthor/panthor_drv.c
379
panthor_submit_ctx_add_sync_signal(struct panthor_submit_ctx *ctx, u32 handle, u64 point)
drivers/gpu/drm/panthor/panthor_drv.c
389
sig_sync->handle = handle;
drivers/gpu/drm/panthor/panthor_drv.c
400
sig_sync->syncobj = drm_syncobj_find(ctx->file, handle);
drivers/gpu/drm/panthor/panthor_drv.c
410
if (!drm_syncobj_find_fence(ctx->file, handle, point, 0, &cur_fence))
drivers/gpu/drm/panthor/panthor_drv.c
432
panthor_submit_ctx_search_sync_signal(struct panthor_submit_ctx *ctx, u32 handle, u64 point)
drivers/gpu/drm/panthor/panthor_drv.c
437
if (handle == sig_sync->handle && point == sig_sync->point)
drivers/gpu/drm/panthor/panthor_drv.c
479
panthor_submit_ctx_get_sync_signal(struct panthor_submit_ctx *ctx, u32 handle, u64 point)
drivers/gpu/drm/panthor/panthor_drv.c
483
sig_sync = panthor_submit_ctx_search_sync_signal(ctx, handle, point);
drivers/gpu/drm/panthor/panthor_drv.c
487
return panthor_submit_ctx_add_sync_signal(ctx, handle, point);
drivers/gpu/drm/panthor/panthor_drv.c
516
sig_sync = panthor_submit_ctx_search_sync_signal(ctx, sync_ops[i].handle,
drivers/gpu/drm/panthor/panthor_drv.c
558
sync_ops[i].handle,
drivers/gpu/drm/panthor/panthor_drv.c
622
sig_sync = panthor_submit_ctx_search_sync_signal(ctx, sync_ops[i].handle,
drivers/gpu/drm/panthor/panthor_drv.c
630
ret = drm_syncobj_find_fence(ctx->file, sync_ops[i].handle,
drivers/gpu/drm/panthor/panthor_drv.c
940
args->flags, &args->handle);
drivers/gpu/drm/panthor/panthor_drv.c
960
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/panthor/panthor_gem.c
429
u64 *size, u32 flags, u32 *handle)
drivers/gpu/drm/panthor/panthor_gem.c
472
ret = drm_gem_handle_create(file, &shmem->base, handle);
drivers/gpu/drm/panthor/panthor_gem.h
147
u64 *size, u32 flags, uint32_t *handle);
drivers/gpu/drm/panthor/panthor_heap.c
228
panthor_heap_destroy_locked(struct panthor_heap_pool *pool, u32 handle)
drivers/gpu/drm/panthor/panthor_heap.c
232
heap = xa_erase(&pool->xa, handle);
drivers/gpu/drm/panthor/panthor_heap.c
247
int panthor_heap_destroy(struct panthor_heap_pool *pool, u32 handle)
drivers/gpu/drm/panthor/panthor_heap.c
252
ret = panthor_heap_destroy_locked(pool, handle);
drivers/gpu/drm/panthor/panthor_heap.h
20
int panthor_heap_destroy(struct panthor_heap_pool *pool, u32 handle);
drivers/gpu/drm/panthor/panthor_mmu.c
1526
int panthor_vm_pool_destroy_vm(struct panthor_vm_pool *pool, u32 handle)
drivers/gpu/drm/panthor/panthor_mmu.c
1530
vm = xa_erase(&pool->xa, handle);
drivers/gpu/drm/panthor/panthor_mmu.c
1545
panthor_vm_pool_get_vm(struct panthor_vm_pool *pool, u32 handle)
drivers/gpu/drm/panthor/panthor_mmu.c
1550
vm = panthor_vm_get(xa_load(&pool->xa, handle));
drivers/gpu/drm/panthor/panthor_mmu.h
65
int panthor_vm_pool_destroy_vm(struct panthor_vm_pool *pool, u32 handle);
drivers/gpu/drm/panthor/panthor_mmu.h
66
struct panthor_vm *panthor_vm_pool_get_vm(struct panthor_vm_pool *pool, u32 handle);
drivers/gpu/drm/qxl/qxl_cmd.c
423
uint32_t handle;
drivers/gpu/drm/qxl/qxl_cmd.c
433
handle = idr_ret;
drivers/gpu/drm/qxl/qxl_cmd.c
435
if (handle >= qdev->rom->n_surfaces) {
drivers/gpu/drm/qxl/qxl_cmd.c
437
idr_remove(&qdev->surf_id_idr, handle);
drivers/gpu/drm/qxl/qxl_cmd.c
442
surf->surface_id = handle;
drivers/gpu/drm/qxl/qxl_cmd.c
445
qdev->last_alloced_surf_id = handle;
drivers/gpu/drm/qxl/qxl_drv.h
311
uint32_t *handle);
drivers/gpu/drm/qxl/qxl_dumb.c
38
uint32_t handle;
drivers/gpu/drm/qxl/qxl_dumb.c
67
&handle);
drivers/gpu/drm/qxl/qxl_dumb.c
74
args->handle = handle;
drivers/gpu/drm/qxl/qxl_gem.c
101
r = drm_gem_handle_create(file_priv, local_gobj, handle);
drivers/gpu/drm/qxl/qxl_gem.c
88
uint32_t *handle)
drivers/gpu/drm/qxl/qxl_gem.c
93
BUG_ON(!handle);
drivers/gpu/drm/qxl/qxl_ioctl.c
113
static int qxlhw_handle_to_bo(struct drm_file *file_priv, uint64_t handle,
drivers/gpu/drm/qxl/qxl_ioctl.c
120
gobj = drm_gem_object_lookup(file_priv, handle);
drivers/gpu/drm/qxl/qxl_ioctl.c
312
gobj = drm_gem_object_lookup(file, update_area->handle);
drivers/gpu/drm/qxl/qxl_ioctl.c
333
DRM_ERROR("got update area for surface with no id %d\n", update_area->handle);
drivers/gpu/drm/qxl/qxl_ioctl.c
387
int handle;
drivers/gpu/drm/qxl/qxl_ioctl.c
406
NULL, &handle);
drivers/gpu/drm/qxl/qxl_ioctl.c
412
param->handle = handle;
drivers/gpu/drm/qxl/qxl_ioctl.c
43
uint32_t handle;
drivers/gpu/drm/qxl/qxl_ioctl.c
54
NULL, &handle);
drivers/gpu/drm/qxl/qxl_ioctl.c
60
qxl_alloc->handle = handle;
drivers/gpu/drm/qxl/qxl_ioctl.c
69
return drm_gem_ttm_dumb_map_offset(file_priv, &qdev->ddev, qxl_map->handle,
drivers/gpu/drm/qxl/qxl_release.c
106
handle = idr_alloc(&qdev->release_idr, release, 1, 0, GFP_NOWAIT);
drivers/gpu/drm/qxl/qxl_release.c
110
if (handle < 0) {
drivers/gpu/drm/qxl/qxl_release.c
113
return handle;
drivers/gpu/drm/qxl/qxl_release.c
116
DRM_DEBUG_DRIVER("allocated release %d\n", handle);
drivers/gpu/drm/qxl/qxl_release.c
117
release->id = handle;
drivers/gpu/drm/qxl/qxl_release.c
118
return handle;
drivers/gpu/drm/qxl/qxl_release.c
90
int handle;
drivers/gpu/drm/radeon/radeon.h
1680
uint32_t handle, struct radeon_fence **fence);
drivers/gpu/drm/radeon/radeon.h
1682
uint32_t handle, struct radeon_fence **fence);
drivers/gpu/drm/radeon/radeon.h
1723
uint32_t handle, struct radeon_fence **fence);
drivers/gpu/drm/radeon/radeon.h
1725
uint32_t handle, struct radeon_fence **fence);
drivers/gpu/drm/radeon/radeon.h
545
uint32_t handle, uint64_t *offset_p);
drivers/gpu/drm/radeon/radeon_acpi.c
114
static union acpi_object *radeon_atif_call(acpi_handle handle, int function,
drivers/gpu/drm/radeon/radeon_acpi.c
138
status = acpi_evaluate_object(handle, "ATIF", &atif_arg, &buffer);
drivers/gpu/drm/radeon/radeon_acpi.c
209
static int radeon_atif_verify_interface(acpi_handle handle,
drivers/gpu/drm/radeon/radeon_acpi.c
217
info = radeon_atif_call(handle, ATIF_FUNCTION_VERIFY_INTERFACE, NULL);
drivers/gpu/drm/radeon/radeon_acpi.c
256
static int radeon_atif_get_notification_params(acpi_handle handle,
drivers/gpu/drm/radeon/radeon_acpi.c
264
info = radeon_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_PARAMETERS, NULL);
drivers/gpu/drm/radeon/radeon_acpi.c
318
static int radeon_atif_get_sbios_requests(acpi_handle handle,
drivers/gpu/drm/radeon/radeon_acpi.c
325
info = radeon_atif_call(handle, ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS, NULL);
drivers/gpu/drm/radeon/radeon_acpi.c
362
acpi_handle handle;
drivers/gpu/drm/radeon/radeon_acpi.c
377
handle = ACPI_HANDLE(&rdev->pdev->dev);
drivers/gpu/drm/radeon/radeon_acpi.c
378
count = radeon_atif_get_sbios_requests(handle, &req);
drivers/gpu/drm/radeon/radeon_acpi.c
436
static union acpi_object *radeon_atcs_call(acpi_handle handle, int function,
drivers/gpu/drm/radeon/radeon_acpi.c
460
status = acpi_evaluate_object(handle, "ATCS", &atcs_arg, &buffer);
drivers/gpu/drm/radeon/radeon_acpi.c
502
static int radeon_atcs_verify_interface(acpi_handle handle,
drivers/gpu/drm/radeon/radeon_acpi.c
510
info = radeon_atcs_call(handle, ATCS_FUNCTION_VERIFY_INTERFACE, NULL);
drivers/gpu/drm/radeon/radeon_acpi.c
566
acpi_handle handle;
drivers/gpu/drm/radeon/radeon_acpi.c
571
handle = ACPI_HANDLE(&rdev->pdev->dev);
drivers/gpu/drm/radeon/radeon_acpi.c
572
if (!handle)
drivers/gpu/drm/radeon/radeon_acpi.c
578
info = radeon_atcs_call(handle, ATCS_FUNCTION_PCIE_DEVICE_READY_NOTIFICATION, NULL);
drivers/gpu/drm/radeon/radeon_acpi.c
601
acpi_handle handle;
drivers/gpu/drm/radeon/radeon_acpi.c
611
handle = ACPI_HANDLE(&rdev->pdev->dev);
drivers/gpu/drm/radeon/radeon_acpi.c
612
if (!handle)
drivers/gpu/drm/radeon/radeon_acpi.c
632
info = radeon_atcs_call(handle, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, &params);
drivers/gpu/drm/radeon/radeon_acpi.c
708
acpi_handle handle;
drivers/gpu/drm/radeon/radeon_acpi.c
714
handle = ACPI_HANDLE(&rdev->pdev->dev);
drivers/gpu/drm/radeon/radeon_acpi.c
717
if (!ASIC_IS_AVIVO(rdev) || !rdev->bios || !handle)
drivers/gpu/drm/radeon/radeon_acpi.c
721
ret = radeon_atcs_verify_interface(handle, atcs);
drivers/gpu/drm/radeon/radeon_acpi.c
727
ret = radeon_atif_verify_interface(handle, atif);
drivers/gpu/drm/radeon/radeon_acpi.c
772
ret = radeon_atif_get_notification_params(handle,
drivers/gpu/drm/radeon/radeon_atpx_handler.c
118
status = acpi_evaluate_object(handle, NULL, &atpx_arg, &buffer);
drivers/gpu/drm/radeon/radeon_atpx_handler.c
170
info = radeon_atpx_call(atpx->handle, ATPX_FUNCTION_GET_PX_PARAMETERS, NULL);
drivers/gpu/drm/radeon/radeon_atpx_handler.c
238
info = radeon_atpx_call(atpx->handle, ATPX_FUNCTION_VERIFY_INTERFACE, NULL);
drivers/gpu/drm/radeon/radeon_atpx_handler.c
28
acpi_handle handle;
drivers/gpu/drm/radeon/radeon_atpx_handler.c
286
info = radeon_atpx_call(atpx->handle,
drivers/gpu/drm/radeon/radeon_atpx_handler.c
322
info = radeon_atpx_call(atpx->handle,
drivers/gpu/drm/radeon/radeon_atpx_handler.c
354
info = radeon_atpx_call(atpx->handle,
drivers/gpu/drm/radeon/radeon_atpx_handler.c
386
info = radeon_atpx_call(atpx->handle,
drivers/gpu/drm/radeon/radeon_atpx_handler.c
418
info = radeon_atpx_call(atpx->handle,
drivers/gpu/drm/radeon/radeon_atpx_handler.c
497
radeon_atpx_priv.atpx.handle = atpx_handle;
drivers/gpu/drm/radeon/radeon_atpx_handler.c
582
acpi_get_name(radeon_atpx_priv.atpx.handle, ACPI_FULL_PATHNAME, &buffer);
drivers/gpu/drm/radeon/radeon_atpx_handler.c
94
static union acpi_object *radeon_atpx_call(acpi_handle handle, int function,
drivers/gpu/drm/radeon/radeon_cs.c
109
gobj = drm_gem_object_lookup(p->filp, r->handle);
drivers/gpu/drm/radeon/radeon_cs.c
112
r->handle);
drivers/gpu/drm/radeon/radeon_cursor.c
278
uint32_t handle,
drivers/gpu/drm/radeon/radeon_cursor.c
290
if (!handle) {
drivers/gpu/drm/radeon/radeon_cursor.c
303
obj = drm_gem_object_lookup(file_priv, handle);
drivers/gpu/drm/radeon/radeon_cursor.c
305
DRM_ERROR("Cannot find cursor object %x for crtc %d\n", handle, radeon_crtc->crtc_id);
drivers/gpu/drm/radeon/radeon_gem.c
318
uint32_t handle;
drivers/gpu/drm/radeon/radeon_gem.c
332
r = drm_gem_handle_create(filp, gobj, &handle);
drivers/gpu/drm/radeon/radeon_gem.c
340
args->handle = handle;
drivers/gpu/drm/radeon/radeon_gem.c
353
uint32_t handle;
drivers/gpu/drm/radeon/radeon_gem.c
416
r = drm_gem_handle_create(filp, gobj, &handle);
drivers/gpu/drm/radeon/radeon_gem.c
422
args->handle = handle;
drivers/gpu/drm/radeon/radeon_gem.c
451
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/radeon/radeon_gem.c
467
uint32_t handle, uint64_t *offset_p)
drivers/gpu/drm/radeon/radeon_gem.c
472
gobj = drm_gem_object_lookup(filp, handle);
drivers/gpu/drm/radeon/radeon_gem.c
491
return radeon_mode_dumb_mmap(filp, dev, args->handle, &args->addr_ptr);
drivers/gpu/drm/radeon/radeon_gem.c
503
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/radeon/radeon_gem.c
532
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/radeon/radeon_gem.c
563
DRM_DEBUG("%u \n", args->handle);
drivers/gpu/drm/radeon/radeon_gem.c
564
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/radeon/radeon_gem.c
582
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/radeon/radeon_gem.c
722
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/radeon/radeon_gem.c
777
gobj = drm_gem_object_lookup(filp, args->handle);
drivers/gpu/drm/radeon/radeon_gem.c
840
uint32_t handle;
drivers/gpu/drm/radeon/radeon_gem.c
854
r = drm_gem_handle_create(file_priv, gobj, &handle);
drivers/gpu/drm/radeon/radeon_gem.c
860
args->handle = handle;
drivers/gpu/drm/radeon/radeon_mode.h
821
uint32_t handle,
drivers/gpu/drm/radeon/radeon_test.c
266
uint32_t handle = ring->idx ^ 0xdeafbeef;
drivers/gpu/drm/radeon/radeon_test.c
270
r = radeon_uvd_get_create_msg(rdev, ring->idx, handle, NULL);
drivers/gpu/drm/radeon/radeon_test.c
276
r = radeon_uvd_get_destroy_msg(rdev, ring->idx, handle, fence);
drivers/gpu/drm/radeon/radeon_test.c
284
r = radeon_vce_get_create_msg(rdev, ring->idx, handle, NULL);
drivers/gpu/drm/radeon/radeon_test.c
290
r = radeon_vce_get_destroy_msg(rdev, ring->idx, handle, fence);
drivers/gpu/drm/radeon/radeon_uvd.c
259
uint32_t handle = atomic_read(&rdev->uvd.handles[i]);
drivers/gpu/drm/radeon/radeon_uvd.c
260
if (handle != 0) {
drivers/gpu/drm/radeon/radeon_uvd.c
266
R600_RING_TYPE_UVD_INDEX, handle, &fence);
drivers/gpu/drm/radeon/radeon_uvd.c
333
uint32_t handle = atomic_read(&rdev->uvd.handles[i]);
drivers/gpu/drm/radeon/radeon_uvd.c
334
if (handle != 0 && rdev->uvd.filp[i] == filp) {
drivers/gpu/drm/radeon/radeon_uvd.c
340
R600_RING_TYPE_UVD_INDEX, handle, &fence);
drivers/gpu/drm/radeon/radeon_uvd.c
469
int32_t *msg, msg_type, handle;
drivers/gpu/drm/radeon/radeon_uvd.c
488
handle = msg[2];
drivers/gpu/drm/radeon/radeon_uvd.c
490
if (handle == 0) {
drivers/gpu/drm/radeon/radeon_uvd.c
508
if (atomic_read(&p->rdev->uvd.handles[i]) == handle) {
drivers/gpu/drm/radeon/radeon_uvd.c
509
DRM_ERROR("Handle 0x%x already in use!\n", handle);
drivers/gpu/drm/radeon/radeon_uvd.c
513
if (!atomic_cmpxchg(&p->rdev->uvd.handles[i], 0, handle)) {
drivers/gpu/drm/radeon/radeon_uvd.c
534
if (atomic_read(&p->rdev->uvd.handles[i]) == handle) {
drivers/gpu/drm/radeon/radeon_uvd.c
543
DRM_ERROR("Invalid UVD handle 0x%x!\n", handle);
drivers/gpu/drm/radeon/radeon_uvd.c
549
atomic_cmpxchg(&p->rdev->uvd.handles[i], handle, 0);
drivers/gpu/drm/radeon/radeon_uvd.c
767
uint32_t handle, struct radeon_fence **fence)
drivers/gpu/drm/radeon/radeon_uvd.c
785
writel((__force u32)cpu_to_le32(handle), &msg[2]);
drivers/gpu/drm/radeon/radeon_uvd.c
803
uint32_t handle, struct radeon_fence **fence)
drivers/gpu/drm/radeon/radeon_uvd.c
821
writel((__force u32)cpu_to_le32(handle), &msg[2]);
drivers/gpu/drm/radeon/radeon_vce.c
320
uint32_t handle = atomic_read(&rdev->vce.handles[i]);
drivers/gpu/drm/radeon/radeon_vce.c
321
if (!handle || rdev->vce.filp[i] != filp)
drivers/gpu/drm/radeon/radeon_vce.c
327
handle, NULL);
drivers/gpu/drm/radeon/radeon_vce.c
347
uint32_t handle, struct radeon_fence **fence)
drivers/gpu/drm/radeon/radeon_vce.c
366
ib.ptr[ib.length_dw++] = cpu_to_le32(handle);
drivers/gpu/drm/radeon/radeon_vce.c
414
uint32_t handle, struct radeon_fence **fence)
drivers/gpu/drm/radeon/radeon_vce.c
433
ib.ptr[ib.length_dw++] = cpu_to_le32(handle);
drivers/gpu/drm/radeon/radeon_vce.c
520
uint32_t handle, bool *allocated)
drivers/gpu/drm/radeon/radeon_vce.c
528
if (atomic_read(&p->rdev->vce.handles[i]) == handle) {
drivers/gpu/drm/radeon/radeon_vce.c
539
if (!atomic_cmpxchg(&p->rdev->vce.handles[i], 0, handle)) {
drivers/gpu/drm/radeon/radeon_vce.c
561
uint32_t tmp = 0, handle = 0;
drivers/gpu/drm/radeon/radeon_vce.c
583
handle = radeon_get_ib_value(p, p->idx + 2);
drivers/gpu/drm/radeon/radeon_vce.c
584
session_idx = radeon_vce_validate_handle(p, handle,
drivers/gpu/drm/radeon/radeon_vce.c
680
atomic_cmpxchg(&p->rdev->vce.handles[i], handle, 0);
drivers/gpu/drm/rockchip/rockchip_drm_gem.c
362
unsigned int *handle)
drivers/gpu/drm/rockchip/rockchip_drm_gem.c
381
ret = drm_gem_handle_create(file_priv, obj, handle);
drivers/gpu/drm/rockchip/rockchip_drm_gem.c
416
&args->handle);
drivers/gpu/drm/scheduler/sched_main.c
934
u32 handle,
drivers/gpu/drm/scheduler/sched_main.c
940
ret = drm_syncobj_find_fence(file, handle, point, 0, &fence);
drivers/gpu/drm/tegra/drm.c
135
err = get_user(cmdbuf, &src->cmdbuf.handle);
drivers/gpu/drm/tegra/drm.c
143
err = get_user(target, &src->target.handle);
drivers/gpu/drm/tegra/drm.c
244
bo = tegra_gem_lookup(file, cmdbuf.handle);
drivers/gpu/drm/tegra/drm.c
357
&args->handle);
drivers/gpu/drm/tegra/drm.c
371
gem = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/tegra/drm.c
645
gem = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/tegra/drm.c
667
gem = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/tegra/drm.c
709
gem = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/tegra/drm.c
731
gem = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/tegra/gem.c
436
u32 *handle)
drivers/gpu/drm/tegra/gem.c
445
err = drm_gem_handle_create(file, &bo->gem, handle);
drivers/gpu/drm/tegra/gem.c
555
&args->handle);
drivers/gpu/drm/tegra/gem.c
794
struct host1x_bo *tegra_gem_lookup(struct drm_file *file, u32 handle)
drivers/gpu/drm/tegra/gem.c
799
gem = drm_gem_object_lookup(file, handle);
drivers/gpu/drm/tegra/gem.h
104
struct host1x_bo *tegra_gem_lookup(struct drm_file *file, u32 handle);
drivers/gpu/drm/tegra/gem.h
89
u32 *handle);
drivers/gpu/drm/tegra/uapi.c
222
mapping->bo = tegra_gem_lookup(file, args->handle);
drivers/gpu/drm/ttm/ttm_backup.c
101
unsigned long handle = 0;
drivers/gpu/drm/ttm/ttm_backup.c
113
handle = ttm_backup_shmem_idx_to_handle(idx);
drivers/gpu/drm/ttm/ttm_backup.c
134
return handle;
drivers/gpu/drm/ttm/ttm_backup.c
21
static pgoff_t ttm_backup_handle_to_shmem_idx(pgoff_t handle)
drivers/gpu/drm/ttm/ttm_backup.c
23
return handle - 1;
drivers/gpu/drm/ttm/ttm_backup.c
31
void ttm_backup_drop(struct file *backup, pgoff_t handle)
drivers/gpu/drm/ttm/ttm_backup.c
33
loff_t start = ttm_backup_handle_to_shmem_idx(handle);
drivers/gpu/drm/ttm/ttm_backup.c
52
pgoff_t handle, bool intr)
drivers/gpu/drm/ttm/ttm_backup.c
56
pgoff_t idx = ttm_backup_handle_to_shmem_idx(handle);
drivers/gpu/drm/ttm/ttm_pool.c
1057
handle = shandle;
drivers/gpu/drm/ttm/ttm_pool.c
1058
tt->pages[i] = ttm_backup_handle_to_page_ptr(handle);
drivers/gpu/drm/ttm/ttm_pool.c
532
unsigned long handle = ttm_backup_page_ptr_to_handle(p);
drivers/gpu/drm/ttm/ttm_pool.c
540
if (handle == 0) {
drivers/gpu/drm/ttm/ttm_pool.c
546
handle, ctx->interruptible);
drivers/gpu/drm/ttm/ttm_pool.c
550
ttm_backup_drop(backup, handle);
drivers/gpu/drm/ttm/ttm_pool.c
676
unsigned long handle = ttm_backup_page_ptr_to_handle(p);
drivers/gpu/drm/ttm/ttm_pool.c
678
if (handle != 0)
drivers/gpu/drm/ttm/ttm_pool.c
679
ttm_backup_drop(backup, handle);
drivers/gpu/drm/ttm/ttm_pool.c
980
unsigned long handle;
drivers/gpu/drm/v3d/v3d_bo.c
226
ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle);
drivers/gpu/drm/v3d/v3d_bo.c
243
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/v3d/v3d_bo.c
245
drm_dbg(dev, "Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/v3d/v3d_bo.c
262
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/v3d/v3d_bo.c
264
drm_dbg(dev, "Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/v3d/v3d_bo.c
289
ret = drm_gem_dma_resv_wait(file_priv, args->handle,
drivers/gpu/drm/v3d/v3d_submit.c
179
struct drm_v3d_sem __user *handle = u64_to_user_ptr(se->in_syncs);
drivers/gpu/drm/v3d/v3d_submit.c
184
if (copy_from_user(&in, handle++, sizeof(in))) {
drivers/gpu/drm/v3d/v3d_submit.c
189
ret = drm_sched_job_add_syncobj_dependency(&job->base, file_priv, in.handle, 0);
drivers/gpu/drm/v3d/v3d_submit.c
354
out.handle);
drivers/gpu/drm/vc4/vc4_bo.c
1083
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
1085
drm_err(dev, "Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
512
ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
803
ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
819
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
821
DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
892
ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
938
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
940
DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
973
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/vc4/vc4_bo.c
975
DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/vc4/vc4_gem.c
121
u32 handle;
drivers/gpu/drm/vc4/vc4_gem.c
1235
gem_obj = drm_gem_object_lookup(file_priv, args->handle);
drivers/gpu/drm/vc4/vc4_gem.c
1237
DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle);
drivers/gpu/drm/vc4/vc4_gem.c
124
&handle);
drivers/gpu/drm/vc4/vc4_gem.c
130
bo_state[i].handle = handle;
drivers/gpu/drm/vc4/vc4_gem.c
143
drm_gem_handle_delete(file_priv, bo_state[i].handle);
drivers/gpu/drm/vc4/vc4_gem.c
981
ret = drm_gem_dma_resv_wait(file_priv, args->handle,
drivers/gpu/drm/vgem/vgem_fence.c
128
obj = drm_gem_object_lookup(file, arg->handle);
drivers/gpu/drm/virtio/virtgpu_gem.c
40
u32 handle;
drivers/gpu/drm/virtio/virtgpu_gem.c
46
ret = drm_gem_handle_create(file, &obj->base.base, &handle);
drivers/gpu/drm/virtio/virtgpu_gem.c
57
*handle_p = handle;
drivers/gpu/drm/virtio/virtgpu_gem.c
91
&args->handle);
drivers/gpu/drm/virtio/virtgpu_ioctl.c
138
uint32_t handle = 0;
drivers/gpu/drm/virtio/virtgpu_ioctl.c
181
ret = drm_gem_handle_create(file, obj, &handle);
drivers/gpu/drm/virtio/virtgpu_ioctl.c
188
rc->bo_handle = handle;
drivers/gpu/drm/virtio/virtgpu_ioctl.c
349
obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/virtio/virtgpu_ioctl.c
500
uint32_t handle = 0;
drivers/gpu/drm/virtio/virtgpu_ioctl.c
554
ret = drm_gem_handle_create(file, obj, &handle);
drivers/gpu/drm/virtio/virtgpu_ioctl.c
561
rc_blob->bo_handle = handle;
drivers/gpu/drm/virtio/virtgpu_ioctl.c
84
virtio_gpu_map->handle,
drivers/gpu/drm/virtio/virtgpu_kms.c
312
int handle;
drivers/gpu/drm/virtio/virtgpu_kms.c
325
handle = ida_alloc(&vgdev->ctx_id_ida, GFP_KERNEL);
drivers/gpu/drm/virtio/virtgpu_kms.c
326
if (handle < 0) {
drivers/gpu/drm/virtio/virtgpu_kms.c
328
return handle;
drivers/gpu/drm/virtio/virtgpu_kms.c
331
vfpriv->ctx_id = handle + 1;
drivers/gpu/drm/virtio/virtgpu_object.c
48
int handle = atomic_inc_return(&seqno);
drivers/gpu/drm/virtio/virtgpu_object.c
49
*resid = handle + 1;
drivers/gpu/drm/virtio/virtgpu_object.c
51
int handle = ida_alloc(&vgdev->resource_ida, GFP_KERNEL);
drivers/gpu/drm/virtio/virtgpu_object.c
53
if (handle < 0)
drivers/gpu/drm/virtio/virtgpu_object.c
54
return handle;
drivers/gpu/drm/virtio/virtgpu_object.c
55
*resid = handle + 1;
drivers/gpu/drm/virtio/virtgpu_plane.c
436
uint32_t handle;
drivers/gpu/drm/virtio/virtgpu_plane.c
449
handle = bo->hw_res_handle;
drivers/gpu/drm/virtio/virtgpu_plane.c
451
handle = 0;
drivers/gpu/drm/virtio/virtgpu_plane.c
473
DRM_DEBUG("update, handle %d, pos +%d+%d, hot %d,%d\n", handle,
drivers/gpu/drm/virtio/virtgpu_plane.c
480
output->cursor.resource_id = cpu_to_le32(handle);
drivers/gpu/drm/virtio/virtgpu_submit.c
129
ret = drm_syncobj_find_fence(submit->file, syncobj_desc.handle,
drivers/gpu/drm/virtio/virtgpu_submit.c
142
syncobj_desc.handle);
drivers/gpu/drm/virtio/virtgpu_submit.c
230
syncobj_desc.handle);
drivers/gpu/drm/vmwgfx/ttm_object.c
209
base->handle = ret;
drivers/gpu/drm/vmwgfx/ttm_object.c
219
idr_remove(&tdev->idr, base->handle);
drivers/gpu/drm/vmwgfx/ttm_object.c
231
idr_remove(&tdev->idr, base->handle);
drivers/gpu/drm/vmwgfx/ttm_object.c
307
ret = ttm_tfile_find_ref_rcu(tfile, base->handle, &hash);
drivers/gpu/drm/vmwgfx/ttm_object.c
326
ref->hash.key = base->handle;
drivers/gpu/drm/vmwgfx/ttm_object.c
538
int fd, u32 *handle)
drivers/gpu/drm/vmwgfx/ttm_object.c
555
*handle = base->handle;
drivers/gpu/drm/vmwgfx/ttm_object.c
573
uint32_t handle, uint32_t flags,
drivers/gpu/drm/vmwgfx/ttm_object.c
582
base = ttm_base_object_lookup(tfile, handle);
drivers/gpu/drm/vmwgfx/ttm_object.h
107
u64 handle;
drivers/gpu/drm/vmwgfx/ttm_object.h
303
int fd, u32 *handle);
drivers/gpu/drm/vmwgfx/ttm_object.h
305
uint32_t handle, uint32_t flags,
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
530
uint32_t handle,
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
534
int ret = vmw_user_bo_lookup(filp, handle, &vmw_bo);
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
577
ret = vmw_user_bo_lookup(file_priv, arg->handle, &vbo);
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
587
(unsigned int) arg->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
593
arg->handle,
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
597
(unsigned int) arg->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
626
return drm_gem_handle_delete(file_priv, arg->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
642
u32 handle,
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
647
gobj = drm_gem_object_lookup(filp, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
650
(unsigned long)handle);
drivers/gpu/drm/vmwgfx/vmwgfx_bo.h
149
u32 handle,
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
1235
&man->handle, GFP_KERNEL);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
134
dma_addr_t handle;
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
1383
man->size, man->map, man->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
161
dma_addr_t handle;
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
246
dma_pool_free(header->man->dheaders, dheader, header->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
273
header->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
310
val = upper_32_bits(header->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
313
val = lower_32_bits(header->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
882
&header->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
897
cb_hdr->ptr.pa = (u64)man->handle + (u64)offset;
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
929
&header->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
940
cb_hdr->ptr.pa = (u64)header->handle +
drivers/gpu/drm/vmwgfx/vmwgfx_context.c
768
arg->cid = ctx->base.handle;
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
1103
int fd, u32 *handle);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
1106
uint32_t handle, uint32_t flags,
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
1182
u32 handle);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
1185
u32 handle);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
269
uint32_t handle;
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
764
u32 handle, struct vmw_user_object *uo);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
792
uint32_t handle,
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
843
uint32_t *handle,
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1138
uint32_t handle = *id;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1143
ret = vmw_user_bo_lookup(sw_context->filp, handle, &vmw_bo);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1194
uint32_t handle = ptr->gmrId;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1199
ret = vmw_user_bo_lookup(sw_context->filp, handle, &vmw_bo);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3891
fence_rep.handle = fence_handle;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
4045
uint32_t handle)
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
4051
if (handle == SVGA3D_INVALID_ID)
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
4060
(dev_priv, sw_context->fp->tfile, handle,
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
4064
(unsigned int) handle);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
4093
uint32_t handle = 0;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
4215
(user_fence_rep) ? &handle : NULL);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
4252
user_fence_rep, fence, handle, out_fence_fd);
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
638
if (likely(rcache->valid_handle && *id_loc == rcache->handle)) {
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
665
rcache->handle = *id_loc;
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
334
*p_handle = ufence->base.handle;
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
403
vmw_fence_obj_lookup(struct ttm_object_file *tfile, u32 handle)
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
405
struct ttm_base_object *base = ttm_base_object_lookup(tfile, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
409
(unsigned long)handle);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
415
(unsigned long)handle);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
449
base = vmw_fence_obj_lookup(tfile, arg->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
474
return ttm_ref_object_base_unref(tfile, arg->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
488
base = vmw_fence_obj_lookup(tfile, arg->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
512
arg->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
669
uint32_t handle;
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
677
if (arg->handle) {
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
679
vmw_fence_obj_lookup(tfile, arg->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
696
handle = base->handle;
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
708
&handle : NULL);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
728
handle, -1);
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
733
ttm_ref_object_base_unref(tfile, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
160
uint32_t *handle,
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
176
ret = drm_gem_handle_create(filp, &(*p_vbo)->tbo.base, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
224
uint32_t handle;
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
228
req->size, &handle, &vbo);
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
232
rep->handle = handle;
drivers/gpu/drm/vmwgfx/vmwgfx_gem.c
234
rep->cur_gmr_id = handle;
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1629
uint32_t handle = 0;
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1635
file_priv ? &handle : NULL);
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
1640
handle, -1);
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
484
unsigned int *handle)
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
491
return drm_gem_handle_create(file_priv, &bo->tbo.base, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
581
unsigned int *handle)
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
585
return drm_gem_handle_create(file_priv, &vfbd->buffer->tbo.base, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c
448
ret = vmw_user_bo_lookup(file_priv, arg->handle, &buf);
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
100
ret = ttm_prime_handle_to_fd(tfile, handle, flags, prime_fd);
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
102
ret = vmw_user_bo_lookup(file_priv, handle, &vbo);
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
106
ret = drm_gem_prime_handle_to_fd(dev, file_priv, handle,
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
111
handle);
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
117
handle, flags,
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
77
int fd, u32 *handle)
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
80
int ret = ttm_prime_fd_to_handle(tfile, fd, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
83
ret = drm_gem_prime_fd_to_handle(dev, file_priv, fd, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
90
uint32_t handle, uint32_t flags,
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c
99
if (handle > VMWGFX_NUM_MOB) {
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
259
uint32_t handle,
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
268
base = ttm_base_object_lookup(tfile, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
294
u32 handle,
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
303
ret = vmw_user_resource_lookup_handle(dev_priv, tfile, handle,
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
312
ret = vmw_user_bo_lookup(filp, handle, &uo->buffer);
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
316
handle);
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h
126
void (*set_arg_handle)(void *data, u32 handle);
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h
152
uint32_t handle,
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
682
return ttm_ref_object_base_unref(tfile, arg->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
693
u32 *handle)
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
730
if (handle)
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c
731
*handle = ushader->base.handle;
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
182
func->set_arg_handle(data, usimple->base.handle);
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
203
uint32_t handle,
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
210
base = ttm_base_object_lookup(tfile, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
214
(unsigned long) handle);
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
222
(unsigned long) handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1002
handle = u_handle;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1006
base = ttm_base_object_lookup_for_ref(dev_priv->tdev, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1054
(void) ttm_ref_object_base_unref(tfile, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1104
ttm_ref_object_base_unref(tfile, base->handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1661
rep->handle = user_srf->prime.base.handle;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
1734
rep->crep.handle = user_srf->prime.base.handle;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
2275
args->size, &args->handle,
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
2308
args->handle = arg.rep.buffer_handle;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
2312
ret = vmw_user_resource_lookup_handle(dev_priv, tfile, arg.rep.handle,
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
2335
ttm_ref_object_base_unref(tfile, arg.rep.handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
858
rep->sid = user_srf->prime.base.handle;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
874
u32 handle)
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
888
__func__, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
900
u32 handle)
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
903
vmw_lookup_user_surface_for_buffer(vmw, bo, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
917
u32 handle)
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
920
vmw_lookup_user_surface_for_buffer(vmw, bo, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
926
surf_handle = (u32)base->handle;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
934
u32 fd, u32 *handle,
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
943
ret = drm_gem_prime_fd_to_handle(&dev_priv->drm, file_priv, fd, handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
950
ret = vmw_user_bo_lookup(file_priv, *handle, &bo);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
953
"Wasn't able to lookup user buffer for handle = %u.\n", *handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
957
user_srf = vmw_lookup_user_surface_for_buffer(dev_priv, bo, *handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
960
"User surface fd %d (handle %d) is null.\n", fd, *handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
969
"Couldn't add an object ref for the buffer (%d).\n", *handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
989
uint32_t handle;
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
994
ret = ttm_prime_fd_to_handle(tfile, u_handle, &handle);
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
999
&handle,
drivers/gpu/drm/vmwgfx/vmwgfx_va.c
74
static void vmw_stream_set_arg_handle(void *data, u32 handle)
drivers/gpu/drm/vmwgfx/vmwgfx_va.c
78
arg->stream_id = handle;
drivers/gpu/drm/xe/xe_bo.c
3164
u32 handle;
drivers/gpu/drm/xe/xe_bo.c
3183
if (XE_IOCTL_DBG(xe, args->handle))
drivers/gpu/drm/xe/xe_bo.c
3269
err = drm_gem_handle_create(file, &bo->ttm.base, &handle);
drivers/gpu/drm/xe/xe_bo.c
3273
args->handle = handle;
drivers/gpu/drm/xe/xe_bo.c
3310
if (XE_IOCTL_DBG(xe, args->handle))
drivers/gpu/drm/xe/xe_bo.c
3322
gem_obj = drm_gem_object_lookup(file, args->handle);
drivers/gpu/drm/xe/xe_bo.c
3633
uint32_t handle;
drivers/gpu/drm/xe/xe_bo.c
3650
err = drm_gem_handle_create(file_priv, &bo->ttm.base, &handle);
drivers/gpu/drm/xe/xe_bo.c
3654
args->handle = handle;
drivers/gpu/drm/xe/xe_gsc_submit.c
114
u64 handle = mtl_gsc_header_rd(xe, out, offset_out, gsc_message_handle);
drivers/gpu/drm/xe/xe_gsc_submit.c
116
mtl_gsc_header_wr(xe, in, offset_in, gsc_message_handle, handle);
drivers/gpu/drm/xe/xe_sync.c
143
sync->syncobj = drm_syncobj_find(xef->drm, sync_in.handle);
drivers/gpu/drm/xe/xe_sync.c
166
sync->syncobj = drm_syncobj_find(xef->drm, sync_in.handle);
drivers/gpu/drm/xen/xen_drm_front.c
436
ret = drm_gem_handle_create(filp, obj, &args->handle);
drivers/hid/hid-appletb-kbd.c
234
static void appletb_kbd_inp_event(struct input_handle *handle, unsigned int type,
drivers/hid/hid-appletb-kbd.c
237
struct appletb_kbd *kbd = handle->private;
drivers/hid/hid-appletb-kbd.c
260
struct input_handle *handle;
drivers/hid/hid-appletb-kbd.c
264
handle = &kbd->kbd_handle;
drivers/hid/hid-appletb-kbd.c
265
handle->name = "tbkbd";
drivers/hid/hid-appletb-kbd.c
267
handle = &kbd->tpd_handle;
drivers/hid/hid-appletb-kbd.c
268
handle->name = "tbtpd";
drivers/hid/hid-appletb-kbd.c
273
if (handle->dev)
drivers/hid/hid-appletb-kbd.c
276
handle->open = 0;
drivers/hid/hid-appletb-kbd.c
277
handle->dev = input_get_device(dev);
drivers/hid/hid-appletb-kbd.c
278
handle->handler = handler;
drivers/hid/hid-appletb-kbd.c
279
handle->private = kbd;
drivers/hid/hid-appletb-kbd.c
281
rc = input_register_handle(handle);
drivers/hid/hid-appletb-kbd.c
285
rc = input_open_device(handle);
drivers/hid/hid-appletb-kbd.c
292
input_unregister_handle(handle);
drivers/hid/hid-appletb-kbd.c
294
input_put_device(handle->dev);
drivers/hid/hid-appletb-kbd.c
295
handle->dev = NULL;
drivers/hid/hid-appletb-kbd.c
299
static void appletb_kbd_inp_disconnect(struct input_handle *handle)
drivers/hid/hid-appletb-kbd.c
301
input_close_device(handle);
drivers/hid/hid-appletb-kbd.c
302
input_unregister_handle(handle);
drivers/hid/hid-appletb-kbd.c
304
input_put_device(handle->dev);
drivers/hid/hid-appletb-kbd.c
305
handle->dev = NULL;
drivers/hid/i2c-hid/i2c-hid-acpi.c
59
acpi_handle handle = acpi_device_handle(adev);
drivers/hid/i2c-hid/i2c-hid-acpi.c
66
obj = acpi_evaluate_dsm_typed(handle, &i2c_hid_guid, 1, 1, NULL,
drivers/hid/i2c-hid/i2c-hid-acpi.c
69
acpi_handle_err(handle, "Error _DSM call to get HID descriptor address failed\n");
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
102
acpi_handle handle = acpi_device_handle(adev);
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
107
status = acpi_evaluate_object(handle, dsd_method_name, NULL, &buffer);
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
109
acpi_handle_err(handle,
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
67
acpi_handle handle = acpi_device_handle(adev);
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
70
obj = acpi_evaluate_dsm_typed(handle, guid, rev, func, NULL, type);
drivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c
72
acpi_handle_err(handle,
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c
86
acpi_handle handle = acpi_device_handle(adev);
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c
89
obj = acpi_evaluate_dsm_typed(handle, guid, rev, func, NULL, type);
drivers/hid/intel-thc-hid/intel-quickspi/pci-quickspi.c
91
acpi_handle_err(handle,
drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c
256
acpi_handle handle;
drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c
261
handle = acpi_device_handle(qsdev->acpi_dev);
drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c
262
status = acpi_execute_simple_method(handle, "_RST", 0);
drivers/hv/vmbus_drv.c
2591
result = acpi_walk_resources(device->handle, METHOD_NAME__CRS,
drivers/hv/vmbus_drv.c
2601
ancestor && ancestor->handle != ACPI_ROOT_OBJECT;
drivers/hv/vmbus_drv.c
2603
result = acpi_walk_resources(ancestor->handle, METHOD_NAME__CRS,
drivers/hwmon/acpi_power_meter.c
106
status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GAI",
drivers/hwmon/acpi_power_meter.c
109
acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_GAI",
drivers/hwmon/acpi_power_meter.c
124
status = acpi_evaluate_integer(resource->acpi_dev->handle, "_GHL",
drivers/hwmon/acpi_power_meter.c
127
acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_GHL",
drivers/hwmon/acpi_power_meter.c
155
status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PTP",
drivers/hwmon/acpi_power_meter.c
158
acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_PTP",
drivers/hwmon/acpi_power_meter.c
182
status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PMM",
drivers/hwmon/acpi_power_meter.c
185
acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_PMM",
drivers/hwmon/acpi_power_meter.c
228
status = acpi_evaluate_object(resource->acpi_dev->handle, "_PMD", NULL,
drivers/hwmon/acpi_power_meter.c
231
acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_PMD",
drivers/hwmon/acpi_power_meter.c
273
obj = acpi_get_acpi_dev(element->reference.handle);
drivers/hwmon/acpi_power_meter.c
330
status = acpi_evaluate_integer(resource->acpi_dev->handle, "_SHL",
drivers/hwmon/acpi_power_meter.c
333
acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_SHL",
drivers/hwmon/acpi_power_meter.c
359
status = acpi_evaluate_integer(resource->acpi_dev->handle, "_PAI",
drivers/hwmon/acpi_power_meter.c
362
acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_PAI",
drivers/hwmon/acpi_power_meter.c
747
status = acpi_evaluate_object(resource->acpi_dev->handle, "_PMC", NULL,
drivers/hwmon/acpi_power_meter.c
750
acpi_evaluation_failure_warn(resource->acpi_dev->handle, "_PMC",
drivers/hwmon/asus_atk0110.c
1284
data->atk_handle = device->handle;
drivers/hwmon/nct6775-platform.c
132
acpi_handle handle = acpi_device_handle(asus_acpi_dev);
drivers/hwmon/nct6775-platform.c
149
status = acpi_evaluate_integer(handle, ASUSWMI_METHOD, &input, &result);
drivers/hwmon/scmi-hwmon.c
241
const struct scmi_handle *handle = sdev->handle;
drivers/hwmon/scmi-hwmon.c
246
if (!handle)
drivers/hwmon/scmi-hwmon.c
249
sensor_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_SENSOR, &ph);
drivers/hwtracing/coresight/coresight-etb10.c
176
struct perf_output_handle *handle = path->handle;
drivers/hwtracing/coresight/coresight-etb10.c
177
struct cs_buffers *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-etb10.c
209
ret = etb_set_buffer(csdev, handle);
drivers/hwtracing/coresight/coresight-etb10.c
404
struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-etb10.c
408
struct cs_buffers *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-etb10.c
414
head = handle->head & ((buf->nr_pages << PAGE_SHIFT) - 1);
drivers/hwtracing/coresight/coresight-etb10.c
428
struct perf_output_handle *handle,
drivers/hwtracing/coresight/coresight-etb10.c
499
if (!buf->snapshot && to_read > handle->size) {
drivers/hwtracing/coresight/coresight-etb10.c
503
to_read = handle->size & mask;
drivers/hwtracing/coresight/coresight-etb10.c
524
perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED);
drivers/hwtracing/coresight/coresight-etb10.c
564
handle->head += to_read;
drivers/hwtracing/coresight/coresight-etb10.c
96
struct perf_output_handle *handle);
drivers/hwtracing/coresight/coresight-etm-perf.c
47
struct perf_output_handle handle;
drivers/hwtracing/coresight/coresight-etm-perf.c
481
struct perf_output_handle *handle = &ctxt->handle;
drivers/hwtracing/coresight/coresight-etm-perf.c
505
event_data = perf_aux_output_begin(handle, event);
drivers/hwtracing/coresight/coresight-etm-perf.c
525
path->handle = handle;
drivers/hwtracing/coresight/coresight-etm-perf.c
571
if (READ_ONCE(handle->event)) {
drivers/hwtracing/coresight/coresight-etm-perf.c
572
perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED);
drivers/hwtracing/coresight/coresight-etm-perf.c
573
perf_aux_output_end(handle, 0);
drivers/hwtracing/coresight/coresight-etm-perf.c
586
struct perf_output_handle *handle = &ctxt->handle;
drivers/hwtracing/coresight/coresight-etm-perf.c
610
if (WARN_ON_ONCE(handle->event != event))
drivers/hwtracing/coresight/coresight-etm-perf.c
616
size = sink_ops(sink)->update_buffer(sink, handle,
drivers/hwtracing/coresight/coresight-etm-perf.c
618
if (READ_ONCE(handle->event)) {
drivers/hwtracing/coresight/coresight-etm-perf.c
622
perf_aux_output_end(handle, size);
drivers/hwtracing/coresight/coresight-etm-perf.c
623
perf_aux_output_begin(handle, event);
drivers/hwtracing/coresight/coresight-etm-perf.c
635
struct perf_output_handle *handle = &ctxt->handle;
drivers/hwtracing/coresight/coresight-etm-perf.c
646
if (handle->event &&
drivers/hwtracing/coresight/coresight-etm-perf.c
647
WARN_ON(perf_get_aux(handle) != ctxt->event_data))
drivers/hwtracing/coresight/coresight-etm-perf.c
667
if (handle->event && (mode & PERF_EF_UPDATE) &&
drivers/hwtracing/coresight/coresight-etm-perf.c
670
perf_aux_output_end(handle, 0);
drivers/hwtracing/coresight/coresight-etm-perf.c
697
if (handle->event && (mode & PERF_EF_UPDATE)) {
drivers/hwtracing/coresight/coresight-etm-perf.c
698
if (WARN_ON_ONCE(handle->event != event))
drivers/hwtracing/coresight/coresight-etm-perf.c
705
size = sink_ops(sink)->update_buffer(sink, handle,
drivers/hwtracing/coresight/coresight-etm-perf.c
718
if (READ_ONCE(handle->event))
drivers/hwtracing/coresight/coresight-etm-perf.c
719
perf_aux_output_end(handle, size);
drivers/hwtracing/coresight/coresight-etm-perf.h
106
static inline void *etm_perf_sink_config(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-etm-perf.h
108
struct etm_event_data *data = perf_get_aux(handle);
drivers/hwtracing/coresight/coresight-platform.c
524
status = acpi_evaluate_object_typed(adev->handle, "_DSD", NULL,
drivers/hwtracing/coresight/coresight-platform.c
642
r_adev = acpi_fetch_acpi_dev(fields[2].reference.handle);
drivers/hwtracing/coresight/coresight-platform.c
742
acpi_handle_to_logical_cpuid(acpi_handle handle)
drivers/hwtracing/coresight/coresight-platform.c
749
if (pr && pr->handle == handle)
drivers/hwtracing/coresight/coresight-platform.c
772
status = acpi_get_parent(adev->handle, &cpu_handle);
drivers/hwtracing/coresight/coresight-tmc-etf.c
17
struct perf_output_handle *handle);
drivers/hwtracing/coresight/coresight-tmc-etf.c
256
struct perf_output_handle *handle = path->handle;
drivers/hwtracing/coresight/coresight-tmc-etf.c
257
struct cs_buffers *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-tmc-etf.c
281
ret = tmc_set_etf_buffer(csdev, handle);
drivers/hwtracing/coresight/coresight-tmc-etf.c
451
struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-tmc-etf.c
455
struct cs_buffers *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-tmc-etf.c
461
head = handle->head & (((unsigned long)buf->nr_pages << PAGE_SHIFT) - 1);
drivers/hwtracing/coresight/coresight-tmc-etf.c
475
struct perf_output_handle *handle,
drivers/hwtracing/coresight/coresight-tmc-etf.c
487
struct perf_event *event = handle->event;
drivers/hwtracing/coresight/coresight-tmc-etf.c
528
if (!buf->snapshot && to_read > handle->size) {
drivers/hwtracing/coresight/coresight-tmc-etf.c
535
to_read = handle->size & mask;
drivers/hwtracing/coresight/coresight-tmc-etf.c
553
perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED);
drivers/hwtracing/coresight/coresight-tmc-etf.c
584
handle->head += to_read;
drivers/hwtracing/coresight/coresight-tmc-etr.c
1349
struct perf_output_handle *handle = path->handle;
drivers/hwtracing/coresight/coresight-tmc-etr.c
1356
etr_perf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-tmc-etr.c
1636
struct perf_output_handle *handle,
drivers/hwtracing/coresight/coresight-tmc-etr.c
1644
struct perf_event *event = handle->event;
drivers/hwtracing/coresight/coresight-tmc-etr.c
1679
if (!etr_perf->snapshot && size > handle->size) {
drivers/hwtracing/coresight/coresight-tmc-etr.c
1686
size = handle->size & mask;
drivers/hwtracing/coresight/coresight-tmc-etr.c
1697
tmc_etr_sync_perf_buffer(etr_perf, handle->head, offset, size);
drivers/hwtracing/coresight/coresight-tmc-etr.c
1705
handle->head += size;
drivers/hwtracing/coresight/coresight-tmc-etr.c
1731
perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED);
drivers/hwtracing/coresight/coresight-tmc-etr.c
1742
struct perf_output_handle *handle = path->handle;
drivers/hwtracing/coresight/coresight-tmc-etr.c
1743
struct etr_perf_buffer *etr_perf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1007
*this_cpu_ptr(buf->cpudata->drvdata->handle) = handle;
drivers/hwtracing/coresight/coresight-trbe.c
1011
trbe_stop_and_truncate_event(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1020
struct perf_output_handle *handle = path->handle;
drivers/hwtracing/coresight/coresight-trbe.c
1021
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1032
return __arm_trbe_enable(buf, handle);
drivers/hwtracing/coresight/coresight-trbe.c
1054
static void trbe_handle_spurious(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
1056
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1067
static int trbe_handle_overflow(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
1069
struct perf_event *event = handle->event;
drivers/hwtracing/coresight/coresight-trbe.c
1070
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1074
size = trbe_get_trace_size(handle, buf, true);
drivers/hwtracing/coresight/coresight-trbe.c
1076
handle->head += size;
drivers/hwtracing/coresight/coresight-trbe.c
1078
trbe_report_wrap_event(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1079
perf_aux_output_end(handle, size);
drivers/hwtracing/coresight/coresight-trbe.c
1080
event_data = perf_aux_output_begin(handle, event);
drivers/hwtracing/coresight/coresight-trbe.c
1089
*this_cpu_ptr(buf->cpudata->drvdata->handle) = NULL;
drivers/hwtracing/coresight/coresight-trbe.c
1093
return __arm_trbe_enable(buf, handle);
drivers/hwtracing/coresight/coresight-trbe.c
1096
static bool is_perf_trbe(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
1098
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1131
struct perf_output_handle *handle = *handle_ptr;
drivers/hwtracing/coresight/coresight-trbe.c
1132
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1157
if (WARN_ON_ONCE(!handle) || !perf_get_aux(handle))
drivers/hwtracing/coresight/coresight-trbe.c
1160
if (!is_perf_trbe(handle))
drivers/hwtracing/coresight/coresight-trbe.c
1163
act = trbe_get_fault_act(handle, status);
drivers/hwtracing/coresight/coresight-trbe.c
1166
truncated = !!trbe_handle_overflow(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1169
trbe_handle_spurious(handle);
drivers/hwtracing/coresight/coresight-trbe.c
1172
trbe_stop_and_truncate_event(handle);
drivers/hwtracing/coresight/coresight-trbe.c
142
struct perf_output_handle * __percpu *handle;
drivers/hwtracing/coresight/coresight-trbe.c
1493
drvdata->handle = alloc_percpu(struct perf_output_handle *);
drivers/hwtracing/coresight/coresight-trbe.c
1494
if (!drvdata->handle)
drivers/hwtracing/coresight/coresight-trbe.c
1498
affinity, drvdata->handle);
drivers/hwtracing/coresight/coresight-trbe.c
1500
free_percpu(drvdata->handle);
drivers/hwtracing/coresight/coresight-trbe.c
1508
free_percpu_irq(drvdata->irq, drvdata->handle);
drivers/hwtracing/coresight/coresight-trbe.c
1509
free_percpu(drvdata->handle);
drivers/hwtracing/coresight/coresight-trbe.c
268
static void trbe_report_wrap_event(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
284
perf_aux_output_flag(handle, PERF_AUX_FLAG_COLLISION);
drivers/hwtracing/coresight/coresight-trbe.c
287
static void trbe_stop_and_truncate_event(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
289
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
299
perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED);
drivers/hwtracing/coresight/coresight-trbe.c
300
perf_aux_output_end(handle, 0);
drivers/hwtracing/coresight/coresight-trbe.c
301
*this_cpu_ptr(buf->cpudata->drvdata->handle) = NULL;
drivers/hwtracing/coresight/coresight-trbe.c
352
static void trbe_pad_buf(struct perf_output_handle *handle, int len)
drivers/hwtracing/coresight/coresight-trbe.c
354
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
355
u64 head = PERF_IDX2OFF(handle->head, buf);
drivers/hwtracing/coresight/coresight-trbe.c
359
perf_aux_output_skip(handle, len);
drivers/hwtracing/coresight/coresight-trbe.c
362
static unsigned long trbe_snapshot_offset(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
364
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
374
static u64 trbe_min_trace_buf_size(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
377
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
403
static unsigned long __trbe_normal_offset(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
405
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
411
head = PERF_IDX2OFF(handle->head, buf);
drivers/hwtracing/coresight/coresight-trbe.c
432
delta = min(delta, handle->size);
drivers/hwtracing/coresight/coresight-trbe.c
433
trbe_pad_buf(handle, delta);
drivers/hwtracing/coresight/coresight-trbe.c
434
head = PERF_IDX2OFF(handle->head, buf);
drivers/hwtracing/coresight/coresight-trbe.c
446
if (!handle->size)
drivers/hwtracing/coresight/coresight-trbe.c
450
tail = PERF_IDX2OFF(handle->head + handle->size, buf);
drivers/hwtracing/coresight/coresight-trbe.c
451
wakeup = PERF_IDX2OFF(handle->wakeup, buf);
drivers/hwtracing/coresight/coresight-trbe.c
514
if (handle->wakeup < (handle->head + handle->size) && head <= wakeup)
drivers/hwtracing/coresight/coresight-trbe.c
548
trbe_pad_buf(handle, handle->size);
drivers/hwtracing/coresight/coresight-trbe.c
552
static unsigned long trbe_normal_offset(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
554
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
555
u64 limit = __trbe_normal_offset(handle);
drivers/hwtracing/coresight/coresight-trbe.c
556
u64 head = PERF_IDX2OFF(handle->head, buf);
drivers/hwtracing/coresight/coresight-trbe.c
566
while (limit && ((limit - head) < trbe_min_trace_buf_size(handle))) {
drivers/hwtracing/coresight/coresight-trbe.c
567
trbe_pad_buf(handle, limit - head);
drivers/hwtracing/coresight/coresight-trbe.c
568
limit = __trbe_normal_offset(handle);
drivers/hwtracing/coresight/coresight-trbe.c
569
head = PERF_IDX2OFF(handle->head, buf);
drivers/hwtracing/coresight/coresight-trbe.c
574
static unsigned long compute_trbe_buffer_limit(struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
576
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
580
offset = trbe_snapshot_offset(handle);
drivers/hwtracing/coresight/coresight-trbe.c
582
offset = trbe_normal_offset(handle);
drivers/hwtracing/coresight/coresight-trbe.c
653
static enum trbe_fault_action trbe_get_fault_act(struct perf_output_handle *handle,
drivers/hwtracing/coresight/coresight-trbe.c
658
struct trbe_buf *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/coresight-trbe.c
681
static unsigned long trbe_get_trace_size(struct perf_output_handle *handle,
drivers/hwtracing/coresight/coresight-trbe.c
715
start_off = PERF_IDX2OFF(handle->head, buf);
drivers/hwtracing/coresight/coresight-trbe.c
787
struct perf_output_handle *handle,
drivers/hwtracing/coresight/coresight-trbe.c
849
act = trbe_get_fault_act(handle, status);
drivers/hwtracing/coresight/coresight-trbe.c
859
trbe_report_wrap_event(handle);
drivers/hwtracing/coresight/coresight-trbe.c
863
size = trbe_get_trace_size(handle, buf, wrap);
drivers/hwtracing/coresight/coresight-trbe.c
869
handle->head += size;
drivers/hwtracing/coresight/coresight-trbe.c
989
struct perf_output_handle *handle)
drivers/hwtracing/coresight/coresight-trbe.c
993
perf_aux_output_flag(handle, PERF_AUX_FLAG_CORESIGHT_FORMAT_RAW);
drivers/hwtracing/coresight/coresight-trbe.c
994
buf->trbe_limit = compute_trbe_buffer_limit(handle);
drivers/hwtracing/coresight/coresight-trbe.c
995
buf->trbe_write = buf->trbe_base + PERF_IDX2OFF(handle->head, buf);
drivers/hwtracing/coresight/ultrasoc-smb.c
220
struct perf_output_handle *handle = path->handle;
drivers/hwtracing/coresight/ultrasoc-smb.c
221
struct cs_buffers *buf = etm_perf_sink_config(handle);
drivers/hwtracing/coresight/ultrasoc-smb.c
370
struct perf_output_handle *handle,
drivers/hwtracing/coresight/ultrasoc-smb.c
396
if (sdb->data_size > handle->size) {
drivers/hwtracing/coresight/ultrasoc-smb.c
397
smb_update_read_ptr(drvdata, sdb->data_size - handle->size);
drivers/hwtracing/coresight/ultrasoc-smb.c
402
smb_sync_perf_buffer(drvdata, buf, handle->head);
drivers/hwtracing/coresight/ultrasoc-smb.c
404
perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED);
drivers/hwtracing/ptt/hisi_ptt.c
1085
struct perf_output_handle *handle = &hisi_ptt->trace_ctrl.handle;
drivers/hwtracing/ptt/hisi_ptt.c
1113
buf = perf_aux_output_begin(handle, event);
drivers/hwtracing/ptt/hisi_ptt.c
1119
buf->pos = handle->head % buf->length;
drivers/hwtracing/ptt/hisi_ptt.c
1126
perf_aux_output_end(handle, 0);
drivers/hwtracing/ptt/hisi_ptt.c
247
struct perf_output_handle *handle = &ctrl->handle;
drivers/hwtracing/ptt/hisi_ptt.c
248
struct perf_event *event = handle->event;
drivers/hwtracing/ptt/hisi_ptt.c
253
buf = perf_get_aux(handle);
drivers/hwtracing/ptt/hisi_ptt.c
254
if (!buf || !handle->size)
drivers/hwtracing/ptt/hisi_ptt.c
283
perf_aux_output_end(handle, size);
drivers/hwtracing/ptt/hisi_ptt.c
285
buf = perf_aux_output_begin(handle, event);
drivers/hwtracing/ptt/hisi_ptt.c
289
buf->pos = handle->head % buf->length;
drivers/hwtracing/ptt/hisi_ptt.c
291
perf_aux_output_end(handle, 0);
drivers/hwtracing/ptt/hisi_ptt.h
133
struct perf_output_handle handle;
drivers/i2c/busses/i2c-designware-baytrail.c
19
acpi_handle handle;
drivers/i2c/busses/i2c-designware-baytrail.c
24
handle = ACPI_HANDLE(dev->dev);
drivers/i2c/busses/i2c-designware-baytrail.c
25
if (!handle)
drivers/i2c/busses/i2c-designware-baytrail.c
28
status = acpi_evaluate_integer(handle, "_SEM", NULL, &shared_host);
drivers/i2c/busses/i2c-designware-common.c
283
acpi_handle handle = ACPI_HANDLE(device);
drivers/i2c/busses/i2c-designware-common.c
289
if (ACPI_FAILURE(acpi_evaluate_object(handle, method, NULL, &buf)))
drivers/i2c/busses/i2c-mlxcpld.c
575
pdata->completion_notify(pdata->handle, mlxcpld_i2c_adapter.nr);
drivers/i2c/busses/i2c-piix4.c
1030
acpi_handle handle;
drivers/i2c/busses/i2c-piix4.c
1093
status = acpi_get_handle(NULL, (acpi_string)SB800_ASF_ACPI_PATH, &handle);
drivers/i2c/busses/i2c-scmi.c
173
status = acpi_evaluate_object(smbus_cmi->handle, method, &input,
drivers/i2c/busses/i2c-scmi.c
176
acpi_handle_err(smbus_cmi->handle,
drivers/i2c/busses/i2c-scmi.c
185
acpi_handle_err(smbus_cmi->handle, "Invalid argument type\n");
drivers/i2c/busses/i2c-scmi.c
190
acpi_handle_err(smbus_cmi->handle, "Invalid argument type\n");
drivers/i2c/busses/i2c-scmi.c
196
acpi_handle_debug(smbus_cmi->handle, "%s return status: %i\n", method,
drivers/i2c/busses/i2c-scmi.c
222
acpi_handle_err(smbus_cmi->handle, "Invalid argument type\n");
drivers/i2c/busses/i2c-scmi.c
23
acpi_handle handle;
drivers/i2c/busses/i2c-scmi.c
234
acpi_handle_err(smbus_cmi->handle,
drivers/i2c/busses/i2c-scmi.c
246
acpi_handle_err(smbus_cmi->handle,
drivers/i2c/busses/i2c-scmi.c
297
struct acpi_handle *handle = smbus_cmi->handle;
drivers/i2c/busses/i2c-scmi.c
302
status = acpi_evaluate_object(smbus_cmi->handle,
drivers/i2c/busses/i2c-scmi.c
306
acpi_handle_err(handle, "Failed to evaluate %s: %i\n",
drivers/i2c/busses/i2c-scmi.c
315
acpi_handle_err(handle, "Invalid argument type\n");
drivers/i2c/busses/i2c-scmi.c
321
acpi_handle_err(handle, "Invalid argument type\n");
drivers/i2c/busses/i2c-scmi.c
325
acpi_handle_debug(handle, "SMBus CMI Version %x\n",
drivers/i2c/busses/i2c-scmi.c
335
acpi_handle_debug(handle, "Unsupported CMI method: %s\n", name);
drivers/i2c/busses/i2c-scmi.c
340
static acpi_status acpi_smbus_cmi_query_methods(acpi_handle handle, u32 level,
drivers/i2c/busses/i2c-scmi.c
348
status = acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer);
drivers/i2c/busses/i2c-scmi.c
366
smbus_cmi->handle = ACPI_HANDLE(dev);
drivers/i2c/busses/i2c-scmi.c
375
acpi_walk_namespace(ACPI_TYPE_METHOD, smbus_cmi->handle, 1,
drivers/i2c/i2c-core-acpi.c
295
static acpi_status i2c_acpi_add_device(acpi_handle handle, u32 level,
drivers/i2c/i2c-core-acpi.c
299
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/i2c/i2c-core-acpi.c
378
static acpi_status i2c_acpi_lookup_speed(acpi_handle handle, u32 level,
drivers/i2c/i2c-core-acpi.c
382
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/i2c/i2c-core-acpi.c
449
struct i2c_adapter *i2c_acpi_find_adapter_by_handle(acpi_handle handle)
drivers/i2c/i2c-core-acpi.c
454
dev = bus_find_device(&i2c_bus_type, NULL, handle, device_match_acpi_handle);
drivers/i2c/i2c-core-acpi.c
784
acpi_handle handle;
drivers/i2c/i2c-core-acpi.c
791
handle = ACPI_HANDLE(adapter->dev.parent);
drivers/i2c/i2c-core-acpi.c
793
if (!handle)
drivers/i2c/i2c-core-acpi.c
801
status = acpi_bus_attach_private_data(handle, (void *)data);
drivers/i2c/i2c-core-acpi.c
807
status = acpi_install_address_space_handler(handle,
drivers/i2c/i2c-core-acpi.c
814
acpi_bus_detach_private_data(handle);
drivers/i2c/i2c-core-acpi.c
824
acpi_handle handle;
drivers/i2c/i2c-core-acpi.c
831
handle = ACPI_HANDLE(adapter->dev.parent);
drivers/i2c/i2c-core-acpi.c
833
if (!handle)
drivers/i2c/i2c-core-acpi.c
836
acpi_remove_address_space_handler(handle,
drivers/i2c/i2c-core-acpi.c
840
status = acpi_bus_get_private_data(handle, (void **)&data);
drivers/i2c/i2c-core-acpi.c
844
acpi_bus_detach_private_data(handle);
drivers/i2c/i2c-smbus.c
377
u16 handle;
drivers/i2c/i2c-smbus.c
383
while ((handle = dmi_memdev_handle(slot_count)) != 0xffff) {
drivers/i2c/i2c-smbus.c
387
mem_size = dmi_memdev_size(handle);
drivers/i2c/i2c-smbus.c
392
mem_type = dmi_memdev_type(handle);
drivers/i2c/muxes/i2c-mux-mlxcpld.c
164
pdata->completion_notify(pdata->handle, muxc->parent, muxc->adapter);
drivers/idle/intel_idle.c
1774
if (acpi_processor_evaluate_cst(pr->handle, cpu, &acpi_state_table))
drivers/iio/accel/bmc150-accel-core.c
384
acpi_handle handle = ACPI_HANDLE(dev);
drivers/iio/accel/bmc150-accel-core.c
395
if (acpi_has_method(handle, "ROTM")) {
drivers/iio/accel/bmc150-accel-core.c
397
} else if (acpi_has_method(handle, alt_name)) {
drivers/iio/accel/bmc150-accel-i2c.c
66
if (!acpi_check_dsm(adev->handle, &guid, 0, BIT(DUAL250E_SET_ANGLE_FN_INDEX)))
drivers/iio/accel/bmc150-accel-i2c.c
80
obj = acpi_evaluate_dsm(adev->handle, &guid, 0, DUAL250E_SET_ANGLE_FN_INDEX, &args_obj);
drivers/iio/accel/kxcjk-1013.c
438
acpi_handle handle = ACPI_HANDLE(dev);
drivers/iio/accel/kxcjk-1013.c
442
if (!handle)
drivers/iio/accel/kxcjk-1013.c
447
obj = acpi_evaluate_dsm(handle, &kiox010a_dsm_guid, 1, fn_index, NULL);
drivers/iio/accel/st_accel_core.c
1450
status = acpi_evaluate_object(adev->handle, "_ONT", NULL, &buffer);
drivers/iio/adc/pac1921.c
1178
acpi_handle handle;
drivers/iio/adc/pac1921.c
1184
handle = ACPI_HANDLE(dev);
drivers/iio/adc/pac1921.c
1186
status = acpi_evaluate_dsm(handle, &pac1921_guid, 1,
drivers/iio/adc/pac1921.c
1195
status = acpi_evaluate_dsm(handle, &pac1921_guid, 1,
drivers/iio/adc/pac1934.c
1090
acpi_handle handle;
drivers/iio/adc/pac1934.c
1097
handle = ACPI_HANDLE(dev);
drivers/iio/adc/pac1934.c
1101
rez = acpi_evaluate_dsm(handle, &guid, 0, PAC1934_ACPI_GET_NAMES_AND_MOHMS_VALS, NULL);
drivers/iio/adc/pac1934.c
1118
rez = acpi_evaluate_dsm(handle, &guid, 1, PAC1934_ACPI_GET_UOHMS_VALS, NULL);
drivers/iio/adc/pac1934.c
1137
rez = acpi_evaluate_dsm(handle, &guid, 1, PAC1934_ACPI_GET_BIPOLAR_SETTINGS, NULL);
drivers/iio/adc/pac1934.c
1149
rez = acpi_evaluate_dsm(handle, &guid, 1, PAC1934_ACPI_GET_SAMP, NULL);
drivers/iio/common/scmi_sensors/scmi_iio.c
577
const struct scmi_handle *handle = sdev->handle;
drivers/iio/common/scmi_sensors/scmi_iio.c
623
ret = handle->notify_ops->devm_event_notifier_register(sdev,
drivers/iio/common/scmi_sensors/scmi_iio.c
640
struct scmi_handle *handle = sdev->handle;
drivers/iio/common/scmi_sensors/scmi_iio.c
648
if (!handle)
drivers/iio/common/scmi_sensors/scmi_iio.c
651
sensor_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_SENSOR, &ph);
drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c
55
status = acpi_evaluate_object(adev->handle, "CNF0", NULL, &buffer);
drivers/iio/industrialio-acpi.c
110
acpi_handle handle;
drivers/iio/industrialio-acpi.c
112
handle = ACPI_HANDLE(dev);
drivers/iio/industrialio-acpi.c
113
if (!handle)
drivers/iio/industrialio-acpi.c
34
acpi_handle handle;
drivers/iio/industrialio-acpi.c
39
handle = ACPI_HANDLE(dev);
drivers/iio/industrialio-acpi.c
40
if (!handle)
drivers/iio/industrialio-acpi.c
43
if (!acpi_has_method(handle, acpi_method))
drivers/iio/industrialio-acpi.c
46
status = acpi_evaluate_object(handle, acpi_method, NULL, &buffer);
drivers/iio/light/acpi-als.c
80
status = acpi_evaluate_integer(als->device->handle, prop, NULL,
drivers/iio/light/acpi-als.c
84
acpi_evaluation_failure_warn(als->device->handle, prop, status);
drivers/iio/light/cm32181.c
110
acpi_handle handle;
drivers/iio/light/cm32181.c
114
handle = ACPI_HANDLE(dev);
drivers/iio/light/cm32181.c
115
if (!handle)
drivers/iio/light/cm32181.c
118
status = acpi_evaluate_object(handle, obj_name, NULL, &buffer);
drivers/infiniband/core/uverbs_cmd.c
2698
kern_spec->action.handle,
drivers/infiniband/core/uverbs_cmd.c
2716
kern_spec->flow_count.handle,
drivers/infiniband/hw/bnxt_re/main.c
1718
struct bnxt_qplib_srq *handle, u8 event)
drivers/infiniband/hw/bnxt_re/main.c
1720
struct bnxt_re_srq *srq = container_of(handle, struct bnxt_re_srq,
drivers/infiniband/hw/bnxt_re/main.c
1737
struct bnxt_qplib_cq *handle)
drivers/infiniband/hw/bnxt_re/main.c
1739
struct bnxt_re_cq *cq = container_of(handle, struct bnxt_re_cq,
drivers/infiniband/hw/bnxt_re/main.c
402
static void bnxt_re_async_notifier(void *handle, struct hwrm_async_event_cmpl *cmpl)
drivers/infiniband/hw/bnxt_re/main.c
404
struct bnxt_re_en_dev_info *en_info = auxiliary_get_drvdata(handle);
drivers/infiniband/hw/bnxt_re/main.c
437
static void bnxt_re_stop_irq(void *handle, bool reset)
drivers/infiniband/hw/bnxt_re/main.c
439
struct bnxt_re_en_dev_info *en_info = auxiliary_get_drvdata(handle);
drivers/infiniband/hw/bnxt_re/main.c
466
static void bnxt_re_start_irq(void *handle, struct bnxt_msix_entry *ent)
drivers/infiniband/hw/bnxt_re/main.c
468
struct bnxt_re_en_dev_info *en_info = auxiliary_get_drvdata(handle);
drivers/infiniband/hw/cxgb4/cm.c
475
static void arp_failure_discard(void *handle, struct sk_buff *skb)
drivers/infiniband/hw/cxgb4/cm.c
481
static void mpa_start_arp_failure(void *handle, struct sk_buff *skb)
drivers/infiniband/hw/cxgb4/cm.c
534
static void pass_accept_rpl_arp_failure(void *handle, struct sk_buff *skb)
drivers/infiniband/hw/cxgb4/cm.c
536
struct c4iw_ep *ep = handle;
drivers/infiniband/hw/cxgb4/cm.c
548
static void act_open_req_arp_failure(void *handle, struct sk_buff *skb)
drivers/infiniband/hw/cxgb4/cm.c
550
struct c4iw_ep *ep = handle;
drivers/infiniband/hw/cxgb4/cm.c
570
static void abort_arp_failure(void *handle, struct sk_buff *skb)
drivers/infiniband/hw/cxgb4/cm.c
573
struct c4iw_ep *ep = handle;
drivers/infiniband/hw/cxgb4/device.c
1166
static int c4iw_uld_rx_handler(void *handle, const __be64 *rsp,
drivers/infiniband/hw/cxgb4/device.c
1169
struct uld_ctx *ctx = handle;
drivers/infiniband/hw/cxgb4/device.c
1219
static int c4iw_uld_state_change(void *handle, enum cxgb4_state new_state)
drivers/infiniband/hw/cxgb4/device.c
1221
struct uld_ctx *ctx = handle;
drivers/infiniband/hw/cxgb4/device.c
1469
static int c4iw_uld_control(void *handle, enum cxgb4_control control, ...)
drivers/infiniband/hw/cxgb4/device.c
1471
struct uld_ctx *ctx = handle;
drivers/infiniband/hw/hns/hns_roce_bond.c
1005
dev_err(&handle->pdev->dev,
drivers/infiniband/hw/hns/hns_roce_bond.c
175
struct hnae3_handle *handle;
drivers/infiniband/hw/hns/hns_roce_bond.c
177
handle = bond_grp->bond_func_info[func_idx].handle;
drivers/infiniband/hw/hns/hns_roce_bond.c
178
if (handle->priv)
drivers/infiniband/hw/hns/hns_roce_bond.c
223
struct hnae3_handle *handle;
drivers/infiniband/hw/hns/hns_roce_bond.c
236
handle = bond_grp->bond_func_info[func_idx].handle;
drivers/infiniband/hw/hns/hns_roce_bond.c
237
if (handle) {
drivers/infiniband/hw/hns/hns_roce_bond.c
238
if (handle->priv)
drivers/infiniband/hw/hns/hns_roce_bond.c
239
return handle->priv;
drivers/infiniband/hw/hns/hns_roce_bond.c
430
bond_grp->bond_func_info[i].handle = NULL;
drivers/infiniband/hw/hns/hns_roce_bond.c
473
bond_grp->bond_func_info[func_idx].handle =
drivers/infiniband/hw/hns/hns_roce_bond.c
474
priv->handle;
drivers/infiniband/hw/hns/hns_roce_bond.c
812
bond_grp->bond_func_info[slave_id].handle = NULL;
drivers/infiniband/hw/hns/hns_roce_bond.c
937
if (priv->handle->rinfo.reset_state == HNS_ROCE_STATE_RST_INIT) {
drivers/infiniband/hw/hns/hns_roce_bond.c
949
void hns_roce_bond_suspend(struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_bond.c
951
u8 bus_num = handle->pdev->bus->number;
drivers/infiniband/hw/hns/hns_roce_bond.c
982
void hns_roce_bond_resume(struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_bond.c
984
u8 bus_num = handle->pdev->bus->number;
drivers/infiniband/hw/hns/hns_roce_bond.h
57
struct hnae3_handle *handle;
drivers/infiniband/hw/hns/hns_roce_bond.h
92
void hns_roce_bond_suspend(struct hnae3_handle *handle);
drivers/infiniband/hw/hns/hns_roce_bond.h
93
void hns_roce_bond_resume(struct hnae3_handle *handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1214
struct hnae3_handle *handle = priv->handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1215
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1232
HW_RESET_TIMEOUT_US, false, handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1246
struct hnae3_handle *handle = priv->handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1247
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1254
if (ops->ae_dev_reset_cnt(handle) != hr_dev->reset_cnt)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1261
struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1263
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1277
instance_stage = handle->rinfo.instance_state;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1278
reset_stage = handle->rinfo.reset_state;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1279
reset_cnt = ops->ae_dev_reset_cnt(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1284
hw_resetting = ops->get_cmdq_stat(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1289
sw_resetting = ops->ae_dev_resetting(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1299
struct hnae3_handle *handle = priv->handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1300
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1302
if (hr_dev->reset_cnt != ops->ae_dev_reset_cnt(handle))
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1305
if (ops->get_hw_reset_stat(handle))
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1308
if (ops->ae_dev_resetting(handle))
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1322
status = check_aedev_reset_status(hr_dev, priv->handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1425
struct hnae3_handle *handle = priv->handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1427
if (handle->rinfo.reset_state == HNS_ROCE_STATE_RST_INIT ||
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1428
handle->rinfo.instance_state == HNS_ROCE_STATE_INIT)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1710
struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1712
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1721
if (!ops->get_hw_reset_stat(handle)) {
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1735
struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1737
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1746
if (ops->ae_dev_reset_cnt(handle) !=
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1764
struct hnae3_handle *handle = priv->handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1765
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1767
if (ops->ae_dev_reset_cnt(handle) != hr_dev->reset_cnt) {
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1774
if (ops->get_hw_reset_stat(handle)) {
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1775
func_clr_hw_resetting_state(hr_dev, handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1779
if (ops->ae_dev_resetting(handle) &&
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1780
handle->rinfo.instance_state == HNS_ROCE_STATE_INIT) {
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
1781
func_clr_sw_resetting_state(hr_dev, handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
2392
(u32)priv->handle->rinfo.num_vectors -
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
3725
if (priv->handle->rinfo.reset_state == HNS_ROCE_STATE_RST_INIT ||
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
3726
priv->handle->rinfo.instance_state == HNS_ROCE_STATE_INIT ||
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
5208
struct hnae3_handle *handle = priv->handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
5209
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
5214
return ops->get_dscp_prio(handle, dscp, tc_mode, priority);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
664
struct hnae3_handle *handle = priv->handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
665
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
668
if (!hr_dev->dis_db && !ops->get_hw_reset_stat(handle))
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7267
struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7273
hr_dev->pci_dev = handle->pdev;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7276
hr_dev->dev = &handle->pdev->dev;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7282
hr_dev->reg_base = handle->rinfo.roce_io_base;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7283
hr_dev->mem_base = handle->rinfo.roce_mem_base;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7285
hr_dev->iboe.netdevs[0] = handle->rinfo.netdev;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7291
for (i = 0; i < handle->rinfo.num_vectors; i++)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7292
hr_dev->irq[i] = pci_irq_vector(handle->pdev,
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7293
i + handle->rinfo.base_vector);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7299
hr_dev->reset_cnt = handle->ae_algo->ops->ae_dev_reset_cnt(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7300
priv->handle = handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7303
static int __hns_roce_hw_v2_init_instance(struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7318
hns_roce_hw_v2_get_cfg(hr_dev, handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7326
handle->priv = hr_dev;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7339
static void __hns_roce_hw_v2_uninit_instance(struct hnae3_handle *handle,
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7342
struct hns_roce_dev *hr_dev = handle->priv;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7347
handle->priv = NULL;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7357
static int hns_roce_hw_v2_init_instance(struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7359
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7361
struct device *dev = &handle->pdev->dev;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7364
handle->rinfo.instance_state = HNS_ROCE_STATE_INIT;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7366
if (ops->ae_dev_resetting(handle) || ops->get_hw_reset_stat(handle)) {
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7367
handle->rinfo.instance_state = HNS_ROCE_STATE_NON_INIT;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7371
id = pci_match_id(hns_roce_hw_v2_pci_tbl, handle->pdev);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7375
if (id->driver_data && handle->pdev->revision == PCI_REVISION_ID_HIP08)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7378
ret = __hns_roce_hw_v2_init_instance(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7380
handle->rinfo.instance_state = HNS_ROCE_STATE_NON_INIT;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7382
if (ops->ae_dev_resetting(handle) ||
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7383
ops->get_hw_reset_stat(handle))
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7389
handle->rinfo.instance_state = HNS_ROCE_STATE_INITED;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7400
static void hns_roce_hw_v2_uninit_instance(struct hnae3_handle *handle,
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7404
hns_roce_bond_suspend(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7406
if (handle->rinfo.instance_state != HNS_ROCE_STATE_INITED)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7409
handle->rinfo.instance_state = HNS_ROCE_STATE_UNINIT;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7411
__hns_roce_hw_v2_uninit_instance(handle, reset, true);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7413
handle->rinfo.instance_state = HNS_ROCE_STATE_NON_INIT;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7416
hns_roce_bond_resume(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7423
struct hnae3_handle *handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7426
handle = bond_grp->bond_func_info[func_idx].handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7427
if (!handle || !handle->client)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7430
ret = hns_roce_hw_v2_init_instance(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7434
return handle->priv;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7440
struct hnae3_handle *handle = bond_grp->bond_func_info[func_idx].handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7442
if (handle->rinfo.instance_state != HNS_ROCE_STATE_INITED)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7445
handle->rinfo.instance_state = HNS_ROCE_STATE_BOND_UNINIT;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7447
__hns_roce_hw_v2_uninit_instance(handle, false, false);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7449
handle->rinfo.instance_state = HNS_ROCE_STATE_NON_INIT;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7452
static int hns_roce_hw_v2_reset_notify_down(struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7457
hns_roce_bond_suspend(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7459
if (handle->rinfo.instance_state != HNS_ROCE_STATE_INITED) {
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7460
set_bit(HNS_ROCE_RST_DIRECT_RETURN, &handle->rinfo.state);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7464
handle->rinfo.reset_state = HNS_ROCE_STATE_RST_DOWN;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7465
clear_bit(HNS_ROCE_RST_DIRECT_RETURN, &handle->rinfo.state);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7467
hr_dev = handle->priv;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7481
static int hns_roce_hw_v2_reset_notify_init(struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7483
struct device *dev = &handle->pdev->dev;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7487
&handle->rinfo.state)) {
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7488
handle->rinfo.reset_state = HNS_ROCE_STATE_RST_INITED;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7489
hns_roce_bond_resume(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7493
handle->rinfo.reset_state = HNS_ROCE_STATE_RST_INIT;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7495
dev_info(&handle->pdev->dev, "In reset process RoCE client reinit.\n");
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7496
ret = __hns_roce_hw_v2_init_instance(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7502
handle->priv = NULL;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7505
handle->rinfo.reset_state = HNS_ROCE_STATE_RST_INITED;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7509
hns_roce_bond_resume(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7513
static int hns_roce_hw_v2_reset_notify_uninit(struct hnae3_handle *handle)
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7515
if (test_bit(HNS_ROCE_RST_DIRECT_RETURN, &handle->rinfo.state))
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7518
handle->rinfo.reset_state = HNS_ROCE_STATE_RST_UNINIT;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7519
dev_info(&handle->pdev->dev, "In reset process RoCE client uninit.\n");
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7521
__hns_roce_hw_v2_uninit_instance(handle, false, false);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7526
static int hns_roce_hw_v2_reset_notify(struct hnae3_handle *handle,
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7533
ret = hns_roce_hw_v2_reset_notify_down(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7536
ret = hns_roce_hw_v2_reset_notify_init(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7539
ret = hns_roce_hw_v2_reset_notify_uninit(handle);
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7548
static void hns_roce_hw_v2_link_status_change(struct hnae3_handle *handle,
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7551
struct hns_roce_dev *hr_dev = (struct hns_roce_dev *)handle->priv;
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
7552
struct net_device *netdev = handle->rinfo.netdev;
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
1347
struct hnae3_handle *handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
1494
struct hnae3_handle *handle = priv->handle;
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
1495
const struct hnae3_ae_ops *ops = handle->ae_algo->ops;
drivers/infiniband/hw/hns/hns_roce_hw_v2.h
1497
if (!hr_dev->dis_db && !ops->get_hw_reset_stat(handle))
drivers/infiniband/hw/mlx5/fs.c
2707
struct mlx5_flow_handle *handle;
drivers/infiniband/hw/mlx5/fs.c
2715
handle = mlx5_add_flow_rules(ft_prio->anchor.ft, NULL, &flow_act,
drivers/infiniband/hw/mlx5/fs.c
2717
if (IS_ERR(handle))
drivers/infiniband/hw/mlx5/fs.c
2718
return PTR_ERR(handle);
drivers/infiniband/hw/mlx5/fs.c
2720
ft_prio->anchor.rule_drop = handle;
drivers/infiniband/hw/mlx5/fs.c
2738
struct mlx5_flow_handle *handle;
drivers/infiniband/hw/mlx5/fs.c
2750
handle = mlx5_add_flow_rules(ft_prio->anchor.ft, NULL, &flow_act,
drivers/infiniband/hw/mlx5/fs.c
2752
if (IS_ERR(handle))
drivers/infiniband/hw/mlx5/fs.c
2753
return PTR_ERR(handle);
drivers/infiniband/hw/mlx5/fs.c
2755
ft_prio->anchor.rule_goto_table = handle;
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
994
static irqreturn_t ocrdma_irq_handler(int irq, void *handle)
drivers/infiniband/hw/ocrdma/ocrdma_hw.c
996
struct ocrdma_eq *eq = handle;
drivers/infiniband/hw/qedr/main.c
432
static irqreturn_t qedr_irq_handler(int irq, void *handle)
drivers/infiniband/hw/qedr/main.c
435
struct qedr_cnq *cnq = handle;
drivers/infiniband/hw/qedr/qedr_iw_cm.c
712
listener->qed_handle = oparams.handle;
drivers/input/apm-power.c
31
static void apmpower_event(struct input_handle *handle, unsigned int type,
drivers/input/apm-power.c
52
struct input_handle *handle;
drivers/input/apm-power.c
55
handle = kzalloc_obj(struct input_handle);
drivers/input/apm-power.c
56
if (!handle)
drivers/input/apm-power.c
59
handle->dev = dev;
drivers/input/apm-power.c
60
handle->handler = handler;
drivers/input/apm-power.c
61
handle->name = "apm-power";
drivers/input/apm-power.c
63
error = input_register_handle(handle);
drivers/input/apm-power.c
67
kfree(handle);
drivers/input/apm-power.c
71
error = input_open_device(handle);
drivers/input/apm-power.c
74
input_unregister_handle(handle);
drivers/input/apm-power.c
75
kfree(handle);
drivers/input/apm-power.c
82
static void apmpower_disconnect(struct input_handle *handle)
drivers/input/apm-power.c
84
input_close_device(handle);
drivers/input/apm-power.c
85
input_unregister_handle(handle);
drivers/input/apm-power.c
86
kfree(handle);
drivers/input/evdev.c
1032
struct input_dev *dev = evdev->handle.dev;
drivers/input/evdev.c
1069
input_inject_event(&evdev->handle, EV_REP, REP_DELAY, u);
drivers/input/evdev.c
1070
input_inject_event(&evdev->handle, EV_REP, REP_PERIOD, v);
drivers/input/evdev.c
1318
struct input_handle *handle = &evdev->handle;
drivers/input/evdev.c
1325
input_flush_device(handle, NULL);
drivers/input/evdev.c
1326
input_close_device(handle);
drivers/input/evdev.c
1366
evdev->handle.dev = input_get_device(dev);
drivers/input/evdev.c
1367
evdev->handle.name = dev_name(&evdev->dev);
drivers/input/evdev.c
1368
evdev->handle.handler = handler;
drivers/input/evdev.c
1369
evdev->handle.private = evdev;
drivers/input/evdev.c
1377
error = input_register_handle(&evdev->handle);
drivers/input/evdev.c
1391
input_unregister_handle(&evdev->handle);
drivers/input/evdev.c
1399
static void evdev_disconnect(struct input_handle *handle)
drivers/input/evdev.c
1401
struct evdev *evdev = handle->private;
drivers/input/evdev.c
1406
input_unregister_handle(handle);
drivers/input/evdev.c
145
ktime_t *ev_time = input_get_timestamp(client->evdev->handle.dev);
drivers/input/evdev.c
291
static unsigned int evdev_events(struct input_handle *handle,
drivers/input/evdev.c
294
struct evdev *evdev = handle->private;
drivers/input/evdev.c
296
ktime_t *ev_time = input_get_timestamp(handle->dev);
drivers/input/evdev.c
30
struct input_handle handle;
drivers/input/evdev.c
324
input_put_device(evdev->handle.dev);
drivers/input/evdev.c
339
error = input_grab_device(&evdev->handle);
drivers/input/evdev.c
358
input_release_device(&evdev->handle);
drivers/input/evdev.c
391
retval = input_open_device(&evdev->handle);
drivers/input/evdev.c
405
input_close_device(&evdev->handle);
drivers/input/evdev.c
435
input_flush_device(&evdev->handle, file);
drivers/input/evdev.c
464
unsigned int bufsize = evdev_compute_buffer_size(evdev->handle.dev);
drivers/input/evdev.c
528
input_inject_event(&evdev->handle,
drivers/input/evdev.c
946
input_flush_device(&evdev->handle, file);
drivers/input/input-leds.c
110
leds->handle.dev = dev;
drivers/input/input-leds.c
111
leds->handle.handler = handler;
drivers/input/input-leds.c
112
leds->handle.name = "leds";
drivers/input/input-leds.c
113
leds->handle.private = leds;
drivers/input/input-leds.c
115
error = input_register_handle(&leds->handle);
drivers/input/input-leds.c
119
error = input_open_device(&leds->handle);
drivers/input/input-leds.c
129
led->handle = &leds->handle;
drivers/input/input-leds.c
166
input_close_device(&leds->handle);
drivers/input/input-leds.c
169
input_unregister_handle(&leds->handle);
drivers/input/input-leds.c
176
static void input_leds_disconnect(struct input_handle *handle)
drivers/input/input-leds.c
178
struct input_leds *leds = handle->private;
drivers/input/input-leds.c
188
input_close_device(handle);
drivers/input/input-leds.c
189
input_unregister_handle(handle);
drivers/input/input-leds.c
46
struct input_handle *handle;
drivers/input/input-leds.c
51
struct input_handle handle;
drivers/input/input-leds.c
59
struct input_dev *input = led->handle->dev;
drivers/input/input-leds.c
69
input_inject_event(led->handle, EV_LED, led->code, !!brightness);
drivers/input/input-leds.c
72
static void input_leds_event(struct input_handle *handle, unsigned int type,
drivers/input/input.c
1093
struct input_handle *handle;
drivers/input/input.c
1104
list_for_each_entry(handle, &dev->h_list, d_node)
drivers/input/input.c
1105
seq_printf(seq, "%s ", handle->name);
drivers/input/input.c
114
struct input_handle *handle;
drivers/input/input.c
120
handle = rcu_dereference(dev->grab);
drivers/input/input.c
121
if (handle) {
drivers/input/input.c
122
count = handle->handle_events(handle, vals, count);
drivers/input/input.c
126
list_for_each_entry_rcu(handle, &dev->h_list, d_node) {
drivers/input/input.c
127
if (handle->open) {
drivers/input/input.c
128
count = handle->handle_events(handle, vals,
drivers/input/input.c
2183
struct input_handle *handle, *next;
drivers/input/input.c
2188
list_for_each_entry_safe(handle, next, &dev->h_list, d_node)
drivers/input/input.c
2189
handle->handler->disconnect(handle);
drivers/input/input.c
2485
struct input_handle *handle, *next;
drivers/input/input.c
2489
list_for_each_entry_safe(handle, next, &handler->h_list, h_node)
drivers/input/input.c
2490
handler->disconnect(handle);
drivers/input/input.c
2514
struct input_handle *handle;
drivers/input/input.c
2519
list_for_each_entry_rcu(handle, &handler->h_list, h_node) {
drivers/input/input.c
2520
retval = fn(handle, data);
drivers/input/input.c
2533
static unsigned int input_handle_events_default(struct input_handle *handle,
drivers/input/input.c
2537
struct input_handler *handler = handle->handler;
drivers/input/input.c
2541
handler->event(handle, v->type, v->code, v->value);
drivers/input/input.c
2551
static unsigned int input_handle_events_filter(struct input_handle *handle,
drivers/input/input.c
2555
struct input_handler *handler = handle->handler;
drivers/input/input.c
2560
if (handler->filter(handle, v->type, v->code, v->value))
drivers/input/input.c
2573
static unsigned int input_handle_events_null(struct input_handle *handle,
drivers/input/input.c
2584
static void input_handle_setup_event_handler(struct input_handle *handle)
drivers/input/input.c
2586
struct input_handler *handler = handle->handler;
drivers/input/input.c
2589
handle->handle_events = input_handle_events_filter;
drivers/input/input.c
2591
handle->handle_events = input_handle_events_default;
drivers/input/input.c
2593
handle->handle_events = handler->events;
drivers/input/input.c
2595
handle->handle_events = input_handle_events_null;
drivers/input/input.c
2609
int input_register_handle(struct input_handle *handle)
drivers/input/input.c
2611
struct input_handler *handler = handle->handler;
drivers/input/input.c
2612
struct input_dev *dev = handle->dev;
drivers/input/input.c
2614
input_handle_setup_event_handler(handle);
drivers/input/input.c
2625
list_add_rcu(&handle->d_node, &dev->h_list);
drivers/input/input.c
2627
list_add_tail_rcu(&handle->d_node, &dev->h_list);
drivers/input/input.c
2636
list_add_tail_rcu(&handle->h_node, &handler->h_list);
drivers/input/input.c
2639
handler->start(handle);
drivers/input/input.c
2655
void input_unregister_handle(struct input_handle *handle)
drivers/input/input.c
2657
struct input_dev *dev = handle->dev;
drivers/input/input.c
2659
list_del_rcu(&handle->h_node);
drivers/input/input.c
2665
list_del_rcu(&handle->d_node);
drivers/input/input.c
412
void input_inject_event(struct input_handle *handle,
drivers/input/input.c
415
struct input_dev *dev = handle->dev;
drivers/input/input.c
423
if (!grab || grab == handle)
drivers/input/input.c
520
int input_grab_device(struct input_handle *handle)
drivers/input/input.c
522
struct input_dev *dev = handle->dev;
drivers/input/input.c
528
rcu_assign_pointer(dev->grab, handle);
drivers/input/input.c
535
static void __input_release_device(struct input_handle *handle)
drivers/input/input.c
537
struct input_dev *dev = handle->dev;
drivers/input/input.c
542
if (grabber == handle) {
drivers/input/input.c
547
list_for_each_entry(handle, &dev->h_list, d_node)
drivers/input/input.c
548
if (handle->open && handle->handler->start)
drivers/input/input.c
549
handle->handler->start(handle);
drivers/input/input.c
562
void input_release_device(struct input_handle *handle)
drivers/input/input.c
564
struct input_dev *dev = handle->dev;
drivers/input/input.c
567
__input_release_device(handle);
drivers/input/input.c
578
int input_open_device(struct input_handle *handle)
drivers/input/input.c
580
struct input_dev *dev = handle->dev;
drivers/input/input.c
587
handle->open++;
drivers/input/input.c
589
if (handle->handler->passive_observer)
drivers/input/input.c
604
handle->open--;
drivers/input/input.c
622
int input_flush_device(struct input_handle *handle, struct file *file)
drivers/input/input.c
624
struct input_dev *dev = handle->dev;
drivers/input/input.c
642
void input_close_device(struct input_handle *handle)
drivers/input/input.c
644
struct input_dev *dev = handle->dev;
drivers/input/input.c
648
__input_release_device(handle);
drivers/input/input.c
650
if (!handle->handler->passive_observer) {
drivers/input/input.c
659
if (!--handle->open) {
drivers/input/input.c
696
struct input_handle *handle;
drivers/input/input.c
717
list_for_each_entry(handle, &dev->h_list, d_node)
drivers/input/input.c
718
handle->open = 0;
drivers/input/joydev.c
1008
input_unregister_handle(&joydev->handle);
drivers/input/joydev.c
1016
static void joydev_disconnect(struct input_handle *handle)
drivers/input/joydev.c
1018
struct joydev *joydev = handle->private;
drivers/input/joydev.c
1023
input_unregister_handle(handle);
drivers/input/joydev.c
112
static void joydev_event(struct input_handle *handle,
drivers/input/joydev.c
115
struct joydev *joydev = handle->private;
drivers/input/joydev.c
164
input_put_device(joydev->handle.dev);
drivers/input/joydev.c
187
struct input_dev *dev = joydev->handle.dev;
drivers/input/joydev.c
207
retval = input_open_device(&joydev->handle);
drivers/input/joydev.c
223
input_close_device(&joydev->handle);
drivers/input/joydev.c
37
struct input_handle handle;
drivers/input/joydev.c
388
struct input_dev *input = joydev->handle.dev;
drivers/input/joydev.c
513
struct input_dev *dev = joydev->handle.dev;
drivers/input/joydev.c
737
struct input_handle *handle = &joydev->handle;
drivers/input/joydev.c
744
input_close_device(handle);
drivers/input/joydev.c
942
joydev->handle.dev = input_get_device(dev);
drivers/input/joydev.c
943
joydev->handle.name = dev_name(&joydev->dev);
drivers/input/joydev.c
944
joydev->handle.handler = handler;
drivers/input/joydev.c
945
joydev->handle.private = joydev;
drivers/input/joydev.c
994
error = input_register_handle(&joydev->handle);
drivers/input/joystick/walkera0701.c
168
*handle)
drivers/input/joystick/walkera0701.c
172
w = container_of(handle, struct walkera_dev, timer);
drivers/input/keyboard/adp5588-keys.c
545
static irqreturn_t adp5588_hard_irq(int irq, void *handle)
drivers/input/keyboard/adp5588-keys.c
547
struct adp5588_kpad *kpad = handle;
drivers/input/keyboard/adp5588-keys.c
554
static irqreturn_t adp5588_thread_irq(int irq, void *handle)
drivers/input/keyboard/adp5588-keys.c
556
struct adp5588_kpad *kpad = handle;
drivers/input/keyboard/hilkbd.c
155
static irqreturn_t hil_interrupt(int irq, void *handle)
drivers/input/keyboard/imx-sm-bbm-key.c
108
const struct scmi_handle *handle = sdev->handle;
drivers/input/keyboard/imx-sm-bbm-key.c
142
ret = handle->notify_ops->devm_event_notifier_register(sdev, SCMI_PROTOCOL_IMX_BBM,
drivers/input/keyboard/imx-sm-bbm-key.c
160
const struct scmi_handle *handle = sdev->handle;
drivers/input/keyboard/imx-sm-bbm-key.c
166
if (!handle)
drivers/input/keyboard/imx-sm-bbm-key.c
173
bbnsm->ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_IMX_BBM, &ph);
drivers/input/misc/adxl34x.c
299
static irqreturn_t adxl34x_irq(int irq, void *handle)
drivers/input/misc/adxl34x.c
301
struct adxl34x *ac = handle;
drivers/input/misc/atlas_btns.c
113
status = acpi_remove_address_space_handler(device->handle,
drivers/input/misc/atlas_btns.c
97
status = acpi_install_address_space_handler(device->handle,
drivers/input/misc/soc_button_array.c
554
acpi_handle handle = ACPI_HANDLE(dev);
drivers/input/misc/soc_button_array.c
559
result = acpi_evaluate_dsm_typed(handle, &MSHW0040_DSM_UUID,
drivers/input/mousedev.c
346
static void mousedev_event(struct input_handle *handle,
drivers/input/mousedev.c
349
struct mousedev *mousedev = handle->private;
drivers/input/mousedev.c
355
if (test_bit(BTN_TRIGGER, handle->dev->keybit))
drivers/input/mousedev.c
358
if (test_bit(BTN_TOOL_FINGER, handle->dev->keybit))
drivers/input/mousedev.c
359
mousedev_touchpad_event(handle->dev,
drivers/input/mousedev.c
362
mousedev_abs_event(handle->dev, mousedev, code, value);
drivers/input/mousedev.c
373
test_bit(BTN_TOOL_FINGER, handle->dev->keybit))
drivers/input/mousedev.c
415
input_put_device(mousedev->handle.dev);
drivers/input/mousedev.c
430
retval = input_open_device(&mousedev->handle);
drivers/input/mousedev.c
444
input_close_device(&mousedev->handle);
drivers/input/mousedev.c
60
struct input_handle handle;
drivers/input/mousedev.c
814
struct input_handle *handle = &mousedev->handle;
drivers/input/mousedev.c
821
input_close_device(handle);
drivers/input/mousedev.c
887
mousedev->handle.dev = input_get_device(dev);
drivers/input/mousedev.c
888
mousedev->handle.name = dev_name(&mousedev->dev);
drivers/input/mousedev.c
889
mousedev->handle.handler = handler;
drivers/input/mousedev.c
890
mousedev->handle.private = mousedev;
drivers/input/mousedev.c
900
error = input_register_handle(&mousedev->handle);
drivers/input/mousedev.c
916
input_unregister_handle(&mousedev->handle);
drivers/input/mousedev.c
931
input_unregister_handle(&mousedev->handle);
drivers/input/mousedev.c
994
static void mousedev_disconnect(struct input_handle *handle)
drivers/input/mousedev.c
996
struct mousedev *mousedev = handle->private;
drivers/input/tests/input_test.c
138
struct input_handle handle;
drivers/input/tests/input_test.c
145
handle.dev = input_get_device(input_dev);
drivers/input/tests/input_test.c
146
handle.name = dev_name(&input_dev->dev);
drivers/input/tests/input_test.c
147
handle.handler = &handler;
drivers/input/tests/input_test.c
148
res = input_grab_device(&handle);
drivers/input/tests/input_test.c
157
input_release_device(&handle);
drivers/input/touchscreen/ad7877.c
386
static irqreturn_t ad7877_irq(int irq, void *handle)
drivers/input/touchscreen/ad7877.c
388
struct ad7877 *ts = handle;
drivers/input/touchscreen/ad7879.c
246
static irqreturn_t ad7879_irq(int irq, void *handle)
drivers/input/touchscreen/ad7879.c
248
struct ad7879 *ts = handle;
drivers/input/touchscreen/ads7846.c
932
static irqreturn_t ads7846_hard_irq(int irq, void *handle)
drivers/input/touchscreen/ads7846.c
934
struct ads7846 *ts = handle;
drivers/input/touchscreen/ads7846.c
940
static irqreturn_t ads7846_irq(int irq, void *handle)
drivers/input/touchscreen/ads7846.c
942
struct ads7846 *ts = handle;
drivers/input/touchscreen/cyttsp5.c
696
static irqreturn_t cyttsp5_handle_irq(int irq, void *handle)
drivers/input/touchscreen/cyttsp5.c
698
struct cyttsp5 *ts = handle;
drivers/input/touchscreen/cyttsp_core.c
366
static irqreturn_t cyttsp_irq(int irq, void *handle)
drivers/input/touchscreen/cyttsp_core.c
368
struct cyttsp *ts = handle;
drivers/input/touchscreen/elants_i2c.c
1387
acpi_handle handle = ACPI_HANDLE(dev);
drivers/input/touchscreen/elants_i2c.c
1393
obj = acpi_evaluate_dsm_typed(handle, &i2c_hid_guid, 1, 1, NULL, ACPI_TYPE_INTEGER);
drivers/input/touchscreen/goodix.c
676
acpi_handle handle = ACPI_HANDLE(&ts->client->dev);
drivers/input/touchscreen/goodix.c
679
status = acpi_evaluate_object(handle, "INTI", NULL, NULL);
drivers/input/touchscreen/goodix.c
685
acpi_handle handle = ACPI_HANDLE(&ts->client->dev);
drivers/input/touchscreen/goodix.c
688
status = acpi_execute_simple_method(handle, "INTO", value);
drivers/input/touchscreen/hideep.c
754
static irqreturn_t hideep_irq(int irq, void *handle)
drivers/input/touchscreen/hideep.c
756
struct hideep_ts *ts = handle;
drivers/input/touchscreen/htcpen.c
47
static irqreturn_t htcpen_interrupt(int irq, void *handle)
drivers/input/touchscreen/htcpen.c
49
struct input_dev *htcpen_dev = handle;
drivers/input/touchscreen/sur40.c
322
static void sur40_set_vsvideo(struct sur40_state *handle, u8 value)
drivers/input/touchscreen/sur40.c
327
sur40_poke(handle, 0x1c+i, value);
drivers/input/touchscreen/sur40.c
328
handle->vsvideo = value;
drivers/input/touchscreen/sur40.c
331
static void sur40_set_irlevel(struct sur40_state *handle, u8 value)
drivers/input/touchscreen/sur40.c
336
sur40_poke(handle, 0x08+(2*i), value);
drivers/input/touchscreen/sx8654.c
128
static irqreturn_t sx8650_irq(int irq, void *handle)
drivers/input/touchscreen/sx8654.c
130
struct sx8654 *ts = handle;
drivers/input/touchscreen/sx8654.c
192
static irqreturn_t sx8654_irq(int irq, void *handle)
drivers/input/touchscreen/sx8654.c
194
struct sx8654 *sx8654 = handle;
drivers/input/touchscreen/tsc2007_core.c
114
static irqreturn_t tsc2007_soft_irq(int irq, void *handle)
drivers/input/touchscreen/tsc2007_core.c
116
struct tsc2007 *ts = handle;
drivers/iommu/amd/init.c
1592
u8 handle, type;
drivers/iommu/amd/init.c
1597
handle = e->ext & 0xff;
drivers/iommu/amd/init.c
1609
var, (int)handle,
drivers/iommu/amd/init.c
1615
ret = add_special_device(type, handle, &devid, false);
drivers/iommu/dma-iommu.c
1592
dma_addr_t handle, unsigned long attrs)
drivers/iommu/dma-iommu.c
1594
__iommu_dma_unmap(dev, handle, size);
drivers/iommu/dma-iommu.c
1635
void *iommu_dma_alloc(struct device *dev, size_t size, dma_addr_t *handle,
drivers/iommu/dma-iommu.c
1647
return iommu_dma_alloc_remap(dev, size, handle, gfp, attrs);
drivers/iommu/dma-iommu.c
1659
*handle = __iommu_dma_map(dev, page_to_phys(page), size, ioprot,
drivers/iommu/dma-iommu.c
1661
if (*handle == DMA_MAPPING_ERROR) {
drivers/iommu/exynos-iommu.c
1090
dma_addr_t handle;
drivers/iommu/exynos-iommu.c
1102
handle = dma_map_single(dma_dev, pent, LV2TABLE_SIZE,
drivers/iommu/exynos-iommu.c
1104
if (dma_mapping_error(dma_dev, handle)) {
drivers/iommu/exynos-iommu.c
896
dma_addr_t handle;
drivers/iommu/exynos-iommu.c
918
handle = dma_map_single(dma_dev, domain->pgtable, LV1TABLE_SIZE,
drivers/iommu/exynos-iommu.c
921
BUG_ON(handle != virt_to_phys(domain->pgtable));
drivers/iommu/exynos-iommu.c
922
if (dma_mapping_error(dma_dev, handle))
drivers/iommu/intel/dmar.c
2158
static inline bool dmar_detect_dsm(acpi_handle handle, int func)
drivers/iommu/intel/dmar.c
2160
return acpi_check_dsm(handle, &dmar_hp_guid, DMAR_DSM_REV_ID, 1 << func);
drivers/iommu/intel/dmar.c
2163
static int dmar_walk_dsm_resource(acpi_handle handle, int func,
drivers/iommu/intel/dmar.c
2177
if (!dmar_detect_dsm(handle, func))
drivers/iommu/intel/dmar.c
2180
obj = acpi_evaluate_dsm_typed(handle, &dmar_hp_guid, DMAR_DSM_REV_ID,
drivers/iommu/intel/dmar.c
2252
static int dmar_hotplug_insert(acpi_handle handle)
drivers/iommu/intel/dmar.c
2257
ret = dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_DRHD,
drivers/iommu/intel/dmar.c
2262
ret = dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_DRHD,
drivers/iommu/intel/dmar.c
2271
ret = dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_RHSA,
drivers/iommu/intel/dmar.c
2276
ret = dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_ATSR,
drivers/iommu/intel/dmar.c
2281
ret = dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_DRHD,
drivers/iommu/intel/dmar.c
2286
dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_DRHD,
drivers/iommu/intel/dmar.c
2289
dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_ATSR,
drivers/iommu/intel/dmar.c
2292
dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_DRHD,
drivers/iommu/intel/dmar.c
2298
static int dmar_hotplug_remove(acpi_handle handle)
drivers/iommu/intel/dmar.c
2302
ret = dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_ATSR,
drivers/iommu/intel/dmar.c
2307
ret = dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_DRHD,
drivers/iommu/intel/dmar.c
2310
WARN_ON(dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_ATSR,
drivers/iommu/intel/dmar.c
2312
WARN_ON(dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_DRHD,
drivers/iommu/intel/dmar.c
2315
dmar_walk_dsm_resource(handle, DMAR_DSM_FUNC_DRHD,
drivers/iommu/intel/dmar.c
2322
static acpi_status dmar_get_dsm_handle(acpi_handle handle, u32 lvl,
drivers/iommu/intel/dmar.c
2327
if (dmar_detect_dsm(handle, DMAR_DSM_FUNC_DRHD)) {
drivers/iommu/intel/dmar.c
2328
*phdl = handle;
drivers/iommu/intel/dmar.c
2335
static int dmar_device_hotplug(acpi_handle handle, bool insert)
drivers/iommu/intel/dmar.c
2344
if (dmar_detect_dsm(handle, DMAR_DSM_FUNC_DRHD)) {
drivers/iommu/intel/dmar.c
2345
tmp = handle;
drivers/iommu/intel/dmar.c
2347
status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle,
drivers/iommu/intel/dmar.c
2369
int dmar_device_add(acpi_handle handle)
drivers/iommu/intel/dmar.c
2371
return dmar_device_hotplug(handle, true);
drivers/iommu/intel/dmar.c
2374
int dmar_device_remove(acpi_handle handle)
drivers/iommu/intel/dmar.c
2376
return dmar_device_hotplug(handle, false);
drivers/iommu/iommu-priv.h
48
struct iommu_attach_handle *handle);
drivers/iommu/iommu-priv.h
53
struct iommu_attach_handle *handle);
drivers/iommu/iommu-priv.h
68
struct iommu_attach_handle *handle);
drivers/iommu/iommu-sva.c
101
refcount_inc(&handle->users);
drivers/iommu/iommu-sva.c
103
return handle;
drivers/iommu/iommu-sva.c
111
handle = kzalloc_obj(*handle);
drivers/iommu/iommu-sva.c
112
if (!handle) {
drivers/iommu/iommu-sva.c
120
&handle->handle);
drivers/iommu/iommu-sva.c
135
&handle->handle);
drivers/iommu/iommu-sva.c
147
refcount_set(&handle->users, 1);
drivers/iommu/iommu-sva.c
149
handle->dev = dev;
drivers/iommu/iommu-sva.c
150
return handle;
drivers/iommu/iommu-sva.c
155
kfree(handle);
drivers/iommu/iommu-sva.c
170
void iommu_sva_unbind_device(struct iommu_sva *handle)
drivers/iommu/iommu-sva.c
172
struct iommu_domain *domain = handle->handle.domain;
drivers/iommu/iommu-sva.c
174
struct device *dev = handle->dev;
drivers/iommu/iommu-sva.c
177
if (!refcount_dec_and_test(&handle->users)) {
drivers/iommu/iommu-sva.c
195
kfree(handle);
drivers/iommu/iommu-sva.c
199
u32 iommu_sva_get_pasid(struct iommu_sva *handle)
drivers/iommu/iommu-sva.c
201
struct iommu_domain *domain = handle->handle.domain;
drivers/iommu/iommu-sva.c
78
struct iommu_sva *handle;
drivers/iommu/iommu-sva.c
96
handle = container_of(attach_handle, struct iommu_sva, handle);
drivers/iommu/iommu.c
2300
struct iommu_attach_handle *handle)
drivers/iommu/iommu.c
2302
if (handle) {
drivers/iommu/iommu.c
2303
handle->domain = domain;
drivers/iommu/iommu.c
2304
return xa_tag_pointer(handle, IOMMU_PASID_ARRAY_HANDLE);
drivers/iommu/iommu.c
3554
struct iommu_attach_handle *handle)
drivers/iommu/iommu.c
3601
entry = iommu_make_pasid_array_entry(domain, handle);
drivers/iommu/iommu.c
3651
struct iommu_attach_handle *handle)
drivers/iommu/iommu.c
3667
pasid == IOMMU_NO_PASID || !handle)
drivers/iommu/iommu.c
3681
entry = iommu_make_pasid_array_entry(domain, handle);
drivers/iommu/iommu.c
3799
struct iommu_attach_handle *handle;
drivers/iommu/iommu.c
3805
handle = ERR_PTR(-ENOENT);
drivers/iommu/iommu.c
3807
handle = xa_untag_pointer(entry);
drivers/iommu/iommu.c
3808
if (type && handle->domain->type != type)
drivers/iommu/iommu.c
3809
handle = ERR_PTR(-EBUSY);
drivers/iommu/iommu.c
3813
return handle;
drivers/iommu/iommu.c
3834
struct iommu_attach_handle *handle)
drivers/iommu/iommu.c
3839
if (!handle)
drivers/iommu/iommu.c
3843
entry = iommu_make_pasid_array_entry(domain, handle);
drivers/iommu/iommu.c
3906
struct iommu_attach_handle *handle)
drivers/iommu/iommu.c
3911
if (!new_domain || !handle)
drivers/iommu/iommu.c
3915
entry = iommu_make_pasid_array_entry(new_domain, handle);
drivers/iommu/iommufd/device.c
501
struct iommufd_attach_handle *handle;
drivers/iommu/iommufd/device.c
511
handle = kzalloc_obj(*handle);
drivers/iommu/iommufd/device.c
512
if (!handle)
drivers/iommu/iommufd/device.c
515
handle->idev = idev;
drivers/iommu/iommufd/device.c
518
&handle->handle);
drivers/iommu/iommufd/device.c
521
&handle->handle);
drivers/iommu/iommufd/device.c
528
kfree(handle);
drivers/iommu/iommufd/device.c
535
struct iommu_attach_handle *handle;
drivers/iommu/iommufd/device.c
539
handle = iommu_attach_handle_get(idev->igroup->group, pasid, 0);
drivers/iommu/iommufd/device.c
540
if (IS_ERR(handle))
drivers/iommu/iommufd/device.c
542
return to_iommufd_handle(handle);
drivers/iommu/iommufd/device.c
549
struct iommufd_attach_handle *handle;
drivers/iommu/iommufd/device.c
551
handle = iommufd_device_get_attach_handle(idev, pasid);
drivers/iommu/iommufd/device.c
557
iommufd_auto_response_faults(hwpt, handle);
drivers/iommu/iommufd/device.c
558
kfree(handle);
drivers/iommu/iommufd/device.c
566
struct iommufd_attach_handle *handle, *old_handle;
drivers/iommu/iommufd/device.c
578
handle = kzalloc_obj(*handle);
drivers/iommu/iommufd/device.c
579
if (!handle)
drivers/iommu/iommufd/device.c
582
handle->idev = idev;
drivers/iommu/iommufd/device.c
585
hwpt->domain, &handle->handle);
drivers/iommu/iommufd/device.c
588
pasid, &handle->handle);
drivers/iommu/iommufd/device.c
598
kfree(handle);
drivers/iommu/iommufd/driver.c
253
struct iommufd_attach_handle *handle;
drivers/iommu/iommufd/driver.c
272
handle = to_iommufd_handle(raw_handle);
drivers/iommu/iommufd/driver.c
274
if (handle->idev->igroup->sw_msi_start == PHYS_ADDR_MAX)
drivers/iommu/iommufd/driver.c
277
ictx = handle->idev->ictx;
drivers/iommu/iommufd/driver.c
284
msi_map = iommufd_sw_msi_get_map(handle->idev->ictx,
drivers/iommu/iommufd/driver.c
286
handle->idev->igroup->sw_msi_start);
drivers/iommu/iommufd/driver.c
293
__set_bit(msi_map->id, handle->idev->igroup->required_sw_msi.bitmap);
drivers/iommu/iommufd/eventq.c
20
struct iommufd_attach_handle *handle)
drivers/iommu/iommufd/eventq.c
27
if (!fault || !handle)
drivers/iommu/iommufd/eventq.c
34
if (group->attach_handle != &handle->handle)
drivers/iommu/iommufd/eventq.c
47
if (group->attach_handle != &handle->handle)
drivers/iommu/iommufd/iommufd_private.h
562
struct iommu_attach_handle handle;
drivers/iommu/iommufd/iommufd_private.h
567
#define to_iommufd_handle(hdl) container_of(hdl, struct iommufd_attach_handle, handle)
drivers/iommu/iommufd/iommufd_private.h
598
struct iommufd_attach_handle *handle);
drivers/iommu/iommufd/selftest.c
1844
struct iommu_attach_handle *handle;
drivers/iommu/iommufd/selftest.c
1856
handle = iommu_attach_handle_get(mdev->dev.iommu_group,
drivers/iommu/iommufd/selftest.c
1858
if (IS_ERR(handle))
drivers/iommu/iommufd/selftest.c
1861
attached_domain = handle->domain;
drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c
83
static void __init its_fsl_mc_msi_init_one(struct fwnode_handle *handle,
drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c
89
parent = irq_find_matching_fwnode(handle, DOMAIN_BUS_NEXUS);
drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c
95
mc_msi_domain = fsl_mc_msi_create_irq_domain(handle,
drivers/irqchip/irq-gic-v3-its.c
5507
struct fwnode_handle *handle, int numa_node)
drivers/irqchip/irq-gic-v3-its.c
5535
its->fwnode_handle = handle;
drivers/irqchip/irq-gic-v3-its.c
5816
int __init its_init(struct fwnode_handle *handle, struct rdists *rdists,
drivers/irqchip/irq-gic-v3-its.c
5833
of_node = to_of_node(handle);
drivers/irqchip/irq-gic-v3.c
1974
struct fwnode_handle *handle)
drivers/irqchip/irq-gic-v3.c
1985
gic_data.fwnode = handle;
drivers/irqchip/irq-gic-v3.c
2011
gic_data.domain = irq_domain_create_tree(handle, &gic_irq_domain_ops,
drivers/irqchip/irq-gic-v3.c
2032
err = mbi_init(handle, gic_data.domain);
drivers/irqchip/irq-gic-v3.c
2050
its_init(handle, &gic_data.rdists, gic_data.domain, dist_prio_irq);
drivers/irqchip/irq-gic-v3.c
2055
gicv2m_init(handle, gic_data.domain);
drivers/irqchip/irq-gic-v5-its.c
1119
static int __init gicv5_its_init_bases(void __iomem *its_base, struct fwnode_handle *handle,
drivers/irqchip/irq-gic-v5-its.c
1122
struct device_node *np = to_of_node(handle);
drivers/irqchip/irq-gic-v5-its.c
1134
its_node->fwnode = handle;
drivers/irqchip/irq-gic-v5.c
1020
static int __init gicv5_init_domains(struct fwnode_handle *handle)
drivers/irqchip/irq-gic-v5.c
1025
d = irq_domain_create_linear(handle, PPI_NR, &gicv5_irq_ppi_domain_ops, NULL);
drivers/irqchip/irq-gic-v5.c
1033
d = irq_domain_create_linear(handle, spi_count,
drivers/irqchip/irq-gic-v5.c
1058
gicv5_global_data.fwnode = handle;
drivers/irqchip/irq-gic.c
1164
struct fwnode_handle *handle)
drivers/irqchip/irq-gic.c
1210
gic->domain = irq_domain_create_linear(handle, gic_irqs,
drivers/irqchip/irq-gic.c
1239
struct fwnode_handle *handle)
drivers/irqchip/irq-gic.c
1260
ret = gic_init_bases(gic, handle);
drivers/irqchip/irq-or1k-pic.c
138
pic->handle(desc);
drivers/irqchip/irq-or1k-pic.c
149
irq_set_chip_and_handler(irq, &pic->chip, pic->handle);
drivers/irqchip/irq-or1k-pic.c
17
irq_flow_handler_t handle;
drivers/irqchip/irq-or1k-pic.c
70
.handle = handle_level_irq,
drivers/irqchip/irq-or1k-pic.c
82
.handle = handle_edge_irq,
drivers/irqchip/irq-or1k-pic.c
94
.handle = handle_level_irq,
drivers/leds/trigger/ledtrig-input-events.c
103
static void input_events_disconnect(struct input_handle *handle)
drivers/leds/trigger/ledtrig-input-events.c
105
input_close_device(handle);
drivers/leds/trigger/ledtrig-input-events.c
106
input_unregister_handle(handle);
drivers/leds/trigger/ledtrig-input-events.c
107
kfree(handle);
drivers/leds/trigger/ledtrig-input-events.c
52
static void input_events_event(struct input_handle *handle, unsigned int type,
drivers/leds/trigger/ledtrig-input-events.c
75
struct input_handle *handle;
drivers/leds/trigger/ledtrig-input-events.c
78
handle = kzalloc_obj(*handle);
drivers/leds/trigger/ledtrig-input-events.c
79
if (!handle)
drivers/leds/trigger/ledtrig-input-events.c
82
handle->dev = dev;
drivers/leds/trigger/ledtrig-input-events.c
83
handle->handler = handler;
drivers/leds/trigger/ledtrig-input-events.c
84
handle->name = KBUILD_MODNAME;
drivers/leds/trigger/ledtrig-input-events.c
86
ret = input_register_handle(handle);
drivers/leds/trigger/ledtrig-input-events.c
90
ret = input_open_device(handle);
drivers/leds/trigger/ledtrig-input-events.c
97
input_unregister_handle(handle);
drivers/leds/trigger/ledtrig-input-events.c
99
kfree(handle);
drivers/macintosh/mac_hid.c
105
handle = kzalloc_obj(struct input_handle);
drivers/macintosh/mac_hid.c
106
if (!handle)
drivers/macintosh/mac_hid.c
109
handle->dev = dev;
drivers/macintosh/mac_hid.c
110
handle->handler = handler;
drivers/macintosh/mac_hid.c
111
handle->name = "mac-button-emul";
drivers/macintosh/mac_hid.c
113
error = input_register_handle(handle);
drivers/macintosh/mac_hid.c
121
error = input_open_device(handle);
drivers/macintosh/mac_hid.c
132
input_unregister_handle(handle);
drivers/macintosh/mac_hid.c
134
kfree(handle);
drivers/macintosh/mac_hid.c
138
static void mac_hid_emumouse_disconnect(struct input_handle *handle)
drivers/macintosh/mac_hid.c
140
input_close_device(handle);
drivers/macintosh/mac_hid.c
141
input_unregister_handle(handle);
drivers/macintosh/mac_hid.c
142
kfree(handle);
drivers/macintosh/mac_hid.c
72
static bool mac_hid_emumouse_filter(struct input_handle *handle,
drivers/macintosh/mac_hid.c
98
struct input_handle *handle;
drivers/media/i2c/ov5648.c
2451
struct fwnode_handle *handle;
drivers/media/i2c/ov5648.c
2467
handle = fwnode_graph_get_next_endpoint(dev_fwnode(dev), NULL);
drivers/media/i2c/ov5648.c
2468
if (!handle) {
drivers/media/i2c/ov5648.c
2475
ret = v4l2_fwnode_endpoint_alloc_parse(handle, &sensor->endpoint);
drivers/media/i2c/ov5648.c
2476
fwnode_handle_put(handle);
drivers/media/i2c/ov5670.c
2646
struct fwnode_handle *handle;
drivers/media/i2c/ov5670.c
2687
handle = fwnode_graph_get_next_endpoint(dev_fwnode(ov5670->dev), NULL);
drivers/media/i2c/ov5670.c
2688
if (!handle)
drivers/media/i2c/ov5670.c
2695
ret = v4l2_fwnode_endpoint_alloc_parse(handle, &ov5670->endpoint);
drivers/media/i2c/ov5670.c
2696
fwnode_handle_put(handle);
drivers/media/i2c/ov8865.c
2947
struct fwnode_handle *handle;
drivers/media/i2c/ov8865.c
2983
handle = fwnode_graph_get_next_endpoint(dev_fwnode(dev), NULL);
drivers/media/i2c/ov8865.c
2984
if (!handle)
drivers/media/i2c/ov8865.c
2990
ret = v4l2_fwnode_endpoint_alloc_parse(handle, &sensor->endpoint);
drivers/media/i2c/ov8865.c
2991
fwnode_handle_put(handle);
drivers/media/i2c/vgxy61.c
1438
struct fwnode_handle *handle)
drivers/media/i2c/vgxy61.c
1449
ret = v4l2_fwnode_endpoint_alloc_parse(handle, &ep);
drivers/media/i2c/vgxy61.c
1743
struct fwnode_handle *handle;
drivers/media/i2c/vgxy61.c
1767
handle = fwnode_graph_get_endpoint_by_id(dev_fwnode(dev), 0, 0, 0);
drivers/media/i2c/vgxy61.c
1768
if (!handle) {
drivers/media/i2c/vgxy61.c
1773
ret = vgxy61_tx_from_ep(sensor, handle);
drivers/media/i2c/vgxy61.c
1774
fwnode_handle_put(handle);
drivers/media/pci/cx18/cx18-driver.h
362
u32 handle; /* task handle */
drivers/media/pci/cx18/cx18-fileops.c
541
cx18_vapi(cx, CX18_CPU_CAPTURE_PAUSE, 1, s->handle);
drivers/media/pci/cx18/cx18-fileops.c
703
cx18_vapi(cx, CX18_CPU_SET_VIDEO_MUTE, 2, s->handle,
drivers/media/pci/cx18/cx18-mailbox.c
233
u32 handle, mdl_ack_count, id;
drivers/media/pci/cx18/cx18-mailbox.c
241
handle = mb->args[0];
drivers/media/pci/cx18/cx18-mailbox.c
242
s = cx18_handle_to_stream(cx, handle);
drivers/media/pci/cx18/cx18-mailbox.c
246
handle,
drivers/media/pci/cx18/cx18-mailbox.c
419
u32 handle, mdl_ack_offset, mdl_ack_count;
drivers/media/pci/cx18/cx18-mailbox.c
424
handle = mb->args[0];
drivers/media/pci/cx18/cx18-mailbox.c
428
if (handle == CX18_INVALID_TASK_HANDLE ||
drivers/media/pci/cx18/cx18-mailbox.c
742
s->handle, 1, mode, cx->spatial_strength);
drivers/media/pci/cx18/cx18-mailbox.c
745
s->handle, 0, mode, cx->temporal_strength);
drivers/media/pci/cx18/cx18-mailbox.c
747
s->handle, 2, cx->filter_mode >> 2, 0);
drivers/media/pci/cx18/cx18-mailbox.c
762
s->handle, 0, 0, 0, 0, data[0]);
drivers/media/pci/cx18/cx18-mailbox.c
765
s->handle, data[1], data[0]);
drivers/media/pci/cx18/cx18-mailbox.c
768
s->handle, data[0]);
drivers/media/pci/cx18/cx18-mailbox.c
771
s->handle, data[0]);
drivers/media/pci/cx18/cx18-mailbox.c
775
s->handle, data[0], data[1]);
drivers/media/pci/cx18/cx18-mailbox.c
780
s->handle, data[0]);
drivers/media/pci/cx18/cx18-mailbox.c
783
s->handle, data[0]);
drivers/media/pci/cx18/cx18-mailbox.c
786
s->handle, data[0], data[1], data[2], data[3]);
drivers/media/pci/cx18/cx18-mailbox.c
789
s->handle, data[0]);
drivers/media/pci/cx18/cx18-mailbox.c
792
s->handle, data[0]);
drivers/media/pci/cx18/cx18-mailbox.c
795
s->handle, data[0], data[1], data[2]);
drivers/media/pci/cx18/cx18-mailbox.c
805
s->handle, data[0], data[1]);
drivers/media/pci/cx18/cx18-mailbox.c
808
s->handle, data[0], data[1], data[2], data[3]);
drivers/media/pci/cx18/cx18-streams.c
1004
cx18_vapi(cx, CX18_CPU_DE_RELEASE_MDL, 1, s->handle);
drivers/media/pci/cx18/cx18-streams.c
1006
cx18_vapi(cx, CX18_DESTROY_TASK, 1, s->handle);
drivers/media/pci/cx18/cx18-streams.c
1007
s->handle = CX18_INVALID_TASK_HANDLE;
drivers/media/pci/cx18/cx18-streams.c
1029
if (s->video_dev.v4l2_dev && (s->handle != CX18_INVALID_TASK_HANDLE))
drivers/media/pci/cx18/cx18-streams.c
1030
return s->handle;
drivers/media/pci/cx18/cx18-streams.c
1035
struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle)
drivers/media/pci/cx18/cx18-streams.c
1040
if (handle == CX18_INVALID_TASK_HANDLE)
drivers/media/pci/cx18/cx18-streams.c
1045
if (s->handle != handle)
drivers/media/pci/cx18/cx18-streams.c
246
s->handle = CX18_INVALID_TASK_HANDLE;
drivers/media/pci/cx18/cx18-streams.c
599
data[0] = s->handle;
drivers/media/pci/cx18/cx18-streams.c
692
if (s->handle == CX18_INVALID_TASK_HANDLE ||
drivers/media/pci/cx18/cx18-streams.c
702
cx18_vapi(cx, CX18_CPU_DE_SET_MDL, 5, s->handle,
drivers/media/pci/cx18/cx18-streams.c
837
s->handle = data[0];
drivers/media/pci/cx18/cx18-streams.c
838
cx18_vapi(cx, CX18_CPU_SET_CHANNEL_TYPE, 2, s->handle, captype);
drivers/media/pci/cx18/cx18-streams.c
852
cx18_vapi(cx, CX18_CPU_SET_VER_CROP_LINE, 2, s->handle, 0);
drivers/media/pci/cx18/cx18-streams.c
853
cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 3, s->handle, 3, 1);
drivers/media/pci/cx18/cx18-streams.c
854
cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 3, s->handle, 8, 0);
drivers/media/pci/cx18/cx18-streams.c
855
cx18_vapi(cx, CX18_CPU_SET_MISC_PARAMETERS, 3, s->handle, 4, 1);
drivers/media/pci/cx18/cx18-streams.c
863
s->handle, 12);
drivers/media/pci/cx18/cx18-streams.c
872
s->handle, 312, 313);
drivers/media/pci/cx18/cx18-streams.c
884
s->handle, cx18_stream_enabled(s_idx) ? 7 : 0);
drivers/media/pci/cx18/cx18-streams.c
896
cx18_vapi(cx, CX18_CPU_SET_VIDEO_MUTE, 2, s->handle,
drivers/media/pci/cx18/cx18-streams.c
905
s->handle, 1);
drivers/media/pci/cx18/cx18-streams.c
909
s->handle, 0);
drivers/media/pci/cx18/cx18-streams.c
919
cx18_vapi(cx, CX18_CPU_DE_SET_MDL_ACK, 3, s->handle,
drivers/media/pci/cx18/cx18-streams.c
928
if (cx18_vapi(cx, CX18_CPU_CAPTURE_START, 1, s->handle)) {
drivers/media/pci/cx18/cx18-streams.c
933
cx18_vapi(cx, CX18_CPU_CAPTURE_STOP, 2, s->handle, 1);
drivers/media/pci/cx18/cx18-streams.c
935
cx18_vapi(cx, CX18_CPU_CAPTURE_STOP, 1, s->handle);
drivers/media/pci/cx18/cx18-streams.c
938
cx18_vapi(cx, CX18_CPU_DE_RELEASE_MDL, 1, s->handle);
drivers/media/pci/cx18/cx18-streams.c
939
cx18_vapi(cx, CX18_DESTROY_TASK, 1, s->handle);
drivers/media/pci/cx18/cx18-streams.c
940
s->handle = CX18_INVALID_TASK_HANDLE;
drivers/media/pci/cx18/cx18-streams.c
988
cx18_vapi(cx, CX18_CPU_CAPTURE_STOP, 2, s->handle, !gop_end);
drivers/media/pci/cx18/cx18-streams.c
990
cx18_vapi(cx, CX18_CPU_CAPTURE_STOP, 1, s->handle);
drivers/media/pci/cx18/cx18-streams.h
12
struct cx18_stream *cx18_handle_to_stream(struct cx18 *cx, u32 handle);
drivers/media/pci/cx23885/cx23885-input.c
40
bool handle = false;
drivers/media/pci/cx23885/cx23885-input.c
53
handle = true;
drivers/media/pci/cx23885/cx23885-input.c
59
else if (handle)
drivers/media/pci/intel/ipu-bridge.c
165
acpi_handle handle = acpi_device_handle(ACPI_PTR(adev));
drivers/media/pci/intel/ipu-bridge.c
169
if (ACPI_PTR(consumer->handle) == handle) {
drivers/media/pci/intel/ipu-bridge.c
241
status = acpi_evaluate_object(ACPI_PTR(adev->handle),
drivers/media/pci/intel/ipu-bridge.c
298
if (!acpi_get_physical_device_location(ACPI_PTR(adev->handle), &pld)) {
drivers/media/platform/allegro-dvt/allegro-core.c
1987
struct list_head *list, u64 handle)
drivers/media/platform/allegro-dvt/allegro-core.c
1994
if (handle == ptr_to_u64(&shadow->buf.vb)) {
drivers/media/platform/mediatek/mdp3/mtk-img-ipi.h
103
u64 handle; /* Used for APMCU access */
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
619
static int h264_enc_encode(void *handle,
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
626
struct venc_h264_inst *inst = (struct venc_h264_inst *)handle;
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
751
static int h264_enc_set_param(void *handle,
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
756
struct venc_h264_inst *inst = (struct venc_h264_inst *)handle;
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
799
static int h264_enc_deinit(void *handle)
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
802
struct venc_h264_inst *inst = (struct venc_h264_inst *)handle;
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_vp8_if.c
340
static int vp8_enc_encode(void *handle,
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_vp8_if.c
347
struct venc_vp8_inst *inst = (struct venc_vp8_inst *)handle;
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_vp8_if.c
373
static int vp8_enc_set_param(void *handle,
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_vp8_if.c
378
struct venc_vp8_inst *inst = (struct venc_vp8_inst *)handle;
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_vp8_if.c
422
static int vp8_enc_deinit(void *handle)
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_vp8_if.c
425
struct venc_vp8_inst *inst = (struct venc_vp8_inst *)handle;
drivers/media/platform/mediatek/vcodec/encoder/venc_drv_base.h
32
int (*encode)(void *handle, enum venc_start_opt opt,
drivers/media/platform/mediatek/vcodec/encoder/venc_drv_base.h
43
int (*set_param)(void *handle, enum venc_set_param_type type,
drivers/media/platform/mediatek/vcodec/encoder/venc_drv_base.h
50
int (*deinit)(void *handle);
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
787
static void mxc_jpeg_free(struct mxc_jpeg_dev *jpeg, size_t size, void *addr, dma_addr_t handle)
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
792
dma_free_coherent(jpeg->dev, size, addr, handle);
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
829
dma_addr_t *handle)
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
832
return gen_pool_dma_zalloc(jpeg->sram_pool, size, handle);
drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
834
return dma_alloc_coherent(jpeg->dev, size, handle, GFP_ATOMIC);
drivers/media/platform/qcom/iris/iris_hfi_common.h
105
int (*handle)(struct iris_inst *inst, u32 plane);
drivers/media/platform/qcom/iris/iris_hfi_gen1_command.c
1055
ret = handler[j].handle(inst, plane);
drivers/media/platform/qcom/iris/iris_hfi_gen2_command.c
667
ret = prop_type_handle_arr[j].handle(inst, plane);
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
18
int (*handle)(struct iris_core *core, struct iris_hfi_packet *pkt);
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
24
int (*handle)(struct iris_inst *inst, struct iris_hfi_packet *pkt);
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
29
int (*handle)(struct iris_inst *inst, struct iris_hfi_packet *pkt);
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
802
ret = range[i].handle(core, packet);
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
929
ret = range[i].handle(inst, packet);
drivers/media/platform/qcom/iris/iris_vpu_buffer.c
2018
u32 (*handle)(struct iris_inst *inst);
drivers/media/platform/qcom/iris/iris_vpu_buffer.c
2058
size = buf_type_handle_arr[i].handle(inst);
drivers/media/platform/qcom/iris/iris_vpu_buffer.c
2086
size = enc_internal_buf_type_handle[i].handle(inst);
drivers/media/platform/qcom/iris/iris_vpu_buffer.c
2130
size = buf_type_handle_arr[i].handle(inst);
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c
43
struct fwnode_handle *handle;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c
49
handle = fwnode_graph_get_endpoint_by_id(dev_fwnode(dev),
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c
52
if (!handle)
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c
55
fwnode_handle_put(handle);
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
719
struct fwnode_handle *handle;
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
722
handle = fwnode_graph_get_endpoint_by_id(dev_fwnode(dev), port, 0, 0);
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
723
if (!handle)
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
726
ret = v4l2_fwnode_endpoint_parse(handle, endpoint);
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
750
v4l2_async_nf_add_fwnode_remote(notifier, handle,
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
763
fwnode_handle_put(handle);
drivers/media/platform/sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c
468
struct fwnode_handle *handle;
drivers/media/platform/sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c
472
handle = fwnode_graph_get_endpoint_by_id(dev_fwnode(dev), 0, 0,
drivers/media/platform/sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c
474
if (!handle)
drivers/media/platform/sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c
479
ret = v4l2_fwnode_endpoint_parse(handle, endpoint);
drivers/media/platform/sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c
484
v4l2_async_nf_add_fwnode_remote(notifier, handle,
drivers/media/platform/sunxi/sun6i-mipi-csi2/sun6i_mipi_csi2.c
490
fwnode_handle_put(handle);
drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_mipi_csi2.c
505
struct fwnode_handle *handle;
drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_mipi_csi2.c
509
handle = fwnode_graph_get_endpoint_by_id(dev_fwnode(dev), 0, 0,
drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_mipi_csi2.c
511
if (!handle)
drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_mipi_csi2.c
516
ret = v4l2_fwnode_endpoint_parse(handle, endpoint);
drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_mipi_csi2.c
521
v4l2_async_nf_add_fwnode_remote(notifier, handle,
drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/sun8i_a83t_mipi_csi2.c
527
fwnode_handle_put(handle);
drivers/media/platform/ti/omap3isp/ispvideo.c
1370
struct isp_video_fh *handle;
drivers/media/platform/ti/omap3isp/ispvideo.c
1374
handle = kzalloc_obj(*handle);
drivers/media/platform/ti/omap3isp/ispvideo.c
1375
if (handle == NULL)
drivers/media/platform/ti/omap3isp/ispvideo.c
1378
v4l2_fh_init(&handle->vfh, &video->video);
drivers/media/platform/ti/omap3isp/ispvideo.c
1379
v4l2_fh_add(&handle->vfh, file);
drivers/media/platform/ti/omap3isp/ispvideo.c
1393
queue = &handle->queue;
drivers/media/platform/ti/omap3isp/ispvideo.c
1396
queue->drv_priv = handle;
drivers/media/platform/ti/omap3isp/ispvideo.c
1404
ret = vb2_queue_init(&handle->queue);
drivers/media/platform/ti/omap3isp/ispvideo.c
1410
memset(&handle->format, 0, sizeof(handle->format));
drivers/media/platform/ti/omap3isp/ispvideo.c
1411
handle->format.type = video->type;
drivers/media/platform/ti/omap3isp/ispvideo.c
1412
handle->format.fmt.pix.width = 720;
drivers/media/platform/ti/omap3isp/ispvideo.c
1413
handle->format.fmt.pix.height = 480;
drivers/media/platform/ti/omap3isp/ispvideo.c
1414
handle->format.fmt.pix.pixelformat = V4L2_PIX_FMT_UYVY;
drivers/media/platform/ti/omap3isp/ispvideo.c
1415
handle->format.fmt.pix.field = V4L2_FIELD_NONE;
drivers/media/platform/ti/omap3isp/ispvideo.c
1416
handle->format.fmt.pix.colorspace = V4L2_COLORSPACE_SRGB;
drivers/media/platform/ti/omap3isp/ispvideo.c
1417
isp_video_pix_to_mbus(&handle->format.fmt.pix, &fmt);
drivers/media/platform/ti/omap3isp/ispvideo.c
1418
isp_video_mbus_to_pix(video, &fmt, &handle->format.fmt.pix);
drivers/media/platform/ti/omap3isp/ispvideo.c
1419
handle->timeperframe.numerator = 1;
drivers/media/platform/ti/omap3isp/ispvideo.c
1420
handle->timeperframe.denominator = 1;
drivers/media/platform/ti/omap3isp/ispvideo.c
1422
handle->video = video;
drivers/media/platform/ti/omap3isp/ispvideo.c
1426
v4l2_fh_del(&handle->vfh, file);
drivers/media/platform/ti/omap3isp/ispvideo.c
1427
v4l2_fh_exit(&handle->vfh);
drivers/media/platform/ti/omap3isp/ispvideo.c
1428
kfree(handle);
drivers/media/platform/ti/omap3isp/ispvideo.c
1438
struct isp_video_fh *handle = file_to_isp_video_fh(file);
drivers/media/platform/ti/omap3isp/ispvideo.c
1444
vb2_queue_release(&handle->queue);
drivers/media/platform/ti/omap3isp/ispvideo.c
1452
kfree(handle);
drivers/media/radio/lm7000.h
21
static inline void lm7000_set_freq(u32 freq, void *handle,
drivers/media/radio/lm7000.h
22
void (*set_pins)(void *handle, u8 pins))
drivers/media/radio/lm7000.h
34
set_pins(handle, data | LM7000_CE);
drivers/media/radio/lm7000.h
36
set_pins(handle, data | LM7000_CE | LM7000_CLK);
drivers/media/radio/lm7000.h
38
set_pins(handle, data | LM7000_CE);
drivers/media/radio/lm7000.h
41
set_pins(handle, 0);
drivers/media/radio/radio-aimslab.c
86
static void rtrack_set_pins(void *handle, u8 pins)
drivers/media/radio/radio-aimslab.c
88
struct radio_isa_card *isa = handle;
drivers/media/radio/radio-aztech.c
67
static void aztech_set_pins(void *handle, u8 pins)
drivers/media/radio/radio-aztech.c
69
struct radio_isa_card *isa = handle;
drivers/media/radio/radio-sf16fmi.c
71
static void fmi_set_pins(void *handle, u8 pins)
drivers/media/radio/radio-sf16fmi.c
73
struct fmi *fmi = handle;
drivers/media/usb/uvc/uvc_ctrl.c
1879
struct uvc_fh *handle, struct uvc_control *ctrl,
drivers/media/usb/uvc/uvc_ctrl.c
1882
struct v4l2_fh *originator = handle ? &handle->vfh : NULL;
drivers/media/usb/uvc/uvc_ctrl.c
1905
struct uvc_fh *handle, struct uvc_control *master, u32 slave_id)
drivers/media/usb/uvc/uvc_ctrl.c
1920
uvc_ctrl_send_event(chain, handle, ctrl, mapping, val, changes);
drivers/media/usb/uvc/uvc_ctrl.c
1923
static int uvc_ctrl_set_handle(struct uvc_control *ctrl, struct uvc_fh *handle)
drivers/media/usb/uvc/uvc_ctrl.c
1927
lockdep_assert_held(&handle->chain->ctrl_mutex);
drivers/media/usb/uvc/uvc_ctrl.c
1929
if (ctrl->handle) {
drivers/media/usb/uvc/uvc_ctrl.c
1930
dev_warn_ratelimited(&handle->stream->dev->intf->dev,
drivers/media/usb/uvc/uvc_ctrl.c
1933
if (ctrl->handle == handle)
drivers/media/usb/uvc/uvc_ctrl.c
1936
WARN_ON(!ctrl->handle->pending_async_ctrls);
drivers/media/usb/uvc/uvc_ctrl.c
1937
if (ctrl->handle->pending_async_ctrls)
drivers/media/usb/uvc/uvc_ctrl.c
1938
ctrl->handle->pending_async_ctrls--;
drivers/media/usb/uvc/uvc_ctrl.c
1939
ctrl->handle = handle;
drivers/media/usb/uvc/uvc_ctrl.c
1940
ctrl->handle->pending_async_ctrls++;
drivers/media/usb/uvc/uvc_ctrl.c
1944
ret = uvc_pm_get(handle->chain->dev);
drivers/media/usb/uvc/uvc_ctrl.c
1948
ctrl->handle = handle;
drivers/media/usb/uvc/uvc_ctrl.c
1949
ctrl->handle->pending_async_ctrls++;
drivers/media/usb/uvc/uvc_ctrl.c
1955
lockdep_assert_held(&ctrl->handle->chain->ctrl_mutex);
drivers/media/usb/uvc/uvc_ctrl.c
1957
if (WARN_ON(!ctrl->handle->pending_async_ctrls)) {
drivers/media/usb/uvc/uvc_ctrl.c
1958
ctrl->handle = NULL;
drivers/media/usb/uvc/uvc_ctrl.c
1962
ctrl->handle->pending_async_ctrls--;
drivers/media/usb/uvc/uvc_ctrl.c
1963
uvc_pm_put(ctrl->handle->chain->dev);
drivers/media/usb/uvc/uvc_ctrl.c
1964
ctrl->handle = NULL;
drivers/media/usb/uvc/uvc_ctrl.c
1972
struct uvc_fh *handle;
drivers/media/usb/uvc/uvc_ctrl.c
1980
handle = ctrl->handle;
drivers/media/usb/uvc/uvc_ctrl.c
1981
if (handle)
drivers/media/usb/uvc/uvc_ctrl.c
2000
uvc_ctrl_send_slave_event(chain, handle, ctrl,
drivers/media/usb/uvc/uvc_ctrl.c
2004
uvc_ctrl_send_event(chain, handle, ctrl, mapping, value,
drivers/media/usb/uvc/uvc_ctrl.c
2064
static void uvc_ctrl_send_events(struct uvc_fh *handle,
drivers/media/usb/uvc/uvc_ctrl.c
2078
ctrl = uvc_find_control(handle->chain, xctrls[i].id, &mapping);
drivers/media/usb/uvc/uvc_ctrl.c
2100
uvc_ctrl_send_slave_event(handle->chain, handle, ctrl,
drivers/media/usb/uvc/uvc_ctrl.c
2117
uvc_ctrl_send_event(handle->chain, handle, ctrl, mapping,
drivers/media/usb/uvc/uvc_ctrl.c
2124
struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh);
drivers/media/usb/uvc/uvc_ctrl.c
2129
ret = mutex_lock_interruptible(&handle->chain->ctrl_mutex);
drivers/media/usb/uvc/uvc_ctrl.c
2133
if (__uvc_query_v4l2_class(handle->chain, sev->id, 0) >= 0) {
drivers/media/usb/uvc/uvc_ctrl.c
2138
ctrl = uvc_find_control(handle->chain, sev->id, &mapping);
drivers/media/usb/uvc/uvc_ctrl.c
2149
ret = uvc_pm_get(handle->chain->dev);
drivers/media/usb/uvc/uvc_ctrl.c
2154
__uvc_ctrl_get(handle->chain, ctrl, mapping, &val) == 0)
drivers/media/usb/uvc/uvc_ctrl.c
2157
uvc_ctrl_fill_event(handle->chain, &ev, ctrl, mapping, val,
drivers/media/usb/uvc/uvc_ctrl.c
2160
uvc_pm_put(handle->chain->dev);
drivers/media/usb/uvc/uvc_ctrl.c
2173
mutex_unlock(&handle->chain->ctrl_mutex);
drivers/media/usb/uvc/uvc_ctrl.c
2179
struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh);
drivers/media/usb/uvc/uvc_ctrl.c
2181
mutex_lock(&handle->chain->ctrl_mutex);
drivers/media/usb/uvc/uvc_ctrl.c
2182
if (__uvc_query_v4l2_class(handle->chain, sev->id, 0) >= 0)
drivers/media/usb/uvc/uvc_ctrl.c
2186
mutex_unlock(&handle->chain->ctrl_mutex);
drivers/media/usb/uvc/uvc_ctrl.c
2230
struct uvc_fh *handle,
drivers/media/usb/uvc/uvc_ctrl.c
2278
if (!rollback && handle && !ret &&
drivers/media/usb/uvc/uvc_ctrl.c
2280
ret = uvc_ctrl_set_handle(ctrl, handle);
drivers/media/usb/uvc/uvc_ctrl.c
2320
int __uvc_ctrl_commit(struct uvc_fh *handle, int rollback,
drivers/media/usb/uvc/uvc_ctrl.c
2323
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_ctrl.c
2331
ret = uvc_ctrl_commit_entity(chain->dev, handle, entity,
drivers/media/usb/uvc/uvc_ctrl.c
2348
uvc_ctrl_send_events(handle, entity,
drivers/media/usb/uvc/uvc_ctrl.c
2618
int uvc_ctrl_set(struct uvc_fh *handle, struct v4l2_ext_control *xctrl)
drivers/media/usb/uvc/uvc_ctrl.c
2620
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_ctrl.c
3380
void uvc_ctrl_cleanup_fh(struct uvc_fh *handle)
drivers/media/usb/uvc/uvc_ctrl.c
3384
guard(mutex)(&handle->chain->ctrl_mutex);
drivers/media/usb/uvc/uvc_ctrl.c
3386
if (!handle->pending_async_ctrls)
drivers/media/usb/uvc/uvc_ctrl.c
3389
list_for_each_entry(entity, &handle->chain->dev->entities, list) {
drivers/media/usb/uvc/uvc_ctrl.c
3391
if (entity->controls[i].handle != handle)
drivers/media/usb/uvc/uvc_ctrl.c
3397
if (!WARN_ON(handle->pending_async_ctrls))
drivers/media/usb/uvc/uvc_ctrl.c
3400
for (unsigned int i = 0; i < handle->pending_async_ctrls; i++)
drivers/media/usb/uvc/uvc_ctrl.c
3401
uvc_pm_put(handle->stream->dev);
drivers/media/usb/uvc/uvc_v4l2.c
1043
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
1044
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_v4l2.c
1149
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
1157
ret = uvc_pm_get(handle->stream->dev);
drivers/media/usb/uvc/uvc_v4l2.c
1166
ret = uvc_ioctl_xu_ctrl_map(handle->chain, &karg.xmap);
drivers/media/usb/uvc/uvc_v4l2.c
1178
ret = uvc_xu_ctrl_query(handle->chain, &karg.xqry);
drivers/media/usb/uvc/uvc_v4l2.c
1191
uvc_pm_put(handle->stream->dev);
drivers/media/usb/uvc/uvc_v4l2.c
1200
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
1221
ret = uvc_pm_get(handle->stream->dev);
drivers/media/usb/uvc/uvc_v4l2.c
1225
uvc_pm_put(handle->stream->dev);
drivers/media/usb/uvc/uvc_v4l2.c
392
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
393
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
422
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
423
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
450
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
451
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
483
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
484
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
569
struct uvc_fh *handle;
drivers/media/usb/uvc/uvc_v4l2.c
575
handle = kzalloc_obj(*handle);
drivers/media/usb/uvc/uvc_v4l2.c
576
if (!handle)
drivers/media/usb/uvc/uvc_v4l2.c
579
v4l2_fh_init(&handle->vfh, &stream->queue.vdev);
drivers/media/usb/uvc/uvc_v4l2.c
580
v4l2_fh_add(&handle->vfh, file);
drivers/media/usb/uvc/uvc_v4l2.c
581
handle->chain = stream->chain;
drivers/media/usb/uvc/uvc_v4l2.c
582
handle->stream = stream;
drivers/media/usb/uvc/uvc_v4l2.c
589
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
590
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
594
uvc_ctrl_cleanup_fh(handle);
drivers/media/usb/uvc/uvc_v4l2.c
605
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
606
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_v4l2.c
607
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
610
strscpy(cap->card, handle->stream->dev->name, sizeof(cap->card));
drivers/media/usb/uvc/uvc_v4l2.c
621
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
622
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
645
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
646
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
655
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
656
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_v4l2.c
697
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
698
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_v4l2.c
725
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
726
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
727
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_v4l2.c
760
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
761
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_v4l2.c
789
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
790
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_v4l2.c
821
uvc_ctrl_rollback(handle);
drivers/media/usb/uvc/uvc_v4l2.c
829
return uvc_ctrl_rollback(handle);
drivers/media/usb/uvc/uvc_v4l2.c
832
static int uvc_ioctl_s_try_ext_ctrls(struct uvc_fh *handle,
drivers/media/usb/uvc/uvc_v4l2.c
837
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_v4l2.c
854
ret = uvc_ctrl_set(handle, ctrl);
drivers/media/usb/uvc/uvc_v4l2.c
856
uvc_ctrl_rollback(handle);
drivers/media/usb/uvc/uvc_v4l2.c
866
return uvc_ctrl_commit(handle, ctrls);
drivers/media/usb/uvc/uvc_v4l2.c
868
return uvc_ctrl_rollback(handle);
drivers/media/usb/uvc/uvc_v4l2.c
874
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
876
return uvc_ioctl_s_try_ext_ctrls(handle, ctrls, VIDIOC_S_EXT_CTRLS);
drivers/media/usb/uvc/uvc_v4l2.c
882
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
884
return uvc_ioctl_s_try_ext_ctrls(handle, ctrls, VIDIOC_TRY_EXT_CTRLS);
drivers/media/usb/uvc/uvc_v4l2.c
890
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
891
struct uvc_video_chain *chain = handle->chain;
drivers/media/usb/uvc/uvc_v4l2.c
899
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
900
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
931
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
932
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvc_v4l2.c
971
struct uvc_fh *handle = to_uvc_fh(file);
drivers/media/usb/uvc/uvc_v4l2.c
972
struct uvc_streaming *stream = handle->stream;
drivers/media/usb/uvc/uvcvideo.h
165
struct uvc_fh *handle; /* File handle that last changed the control. */
drivers/media/usb/uvc/uvcvideo.h
774
int __uvc_ctrl_commit(struct uvc_fh *handle, int rollback,
drivers/media/usb/uvc/uvcvideo.h
776
static inline int uvc_ctrl_commit(struct uvc_fh *handle,
drivers/media/usb/uvc/uvcvideo.h
779
return __uvc_ctrl_commit(handle, 0, ctrls);
drivers/media/usb/uvc/uvcvideo.h
781
static inline int uvc_ctrl_rollback(struct uvc_fh *handle)
drivers/media/usb/uvc/uvcvideo.h
783
return __uvc_ctrl_commit(handle, 1, NULL);
drivers/media/usb/uvc/uvcvideo.h
788
int uvc_ctrl_set(struct uvc_fh *handle, struct v4l2_ext_control *xctrl);
drivers/media/usb/uvc/uvcvideo.h
796
void uvc_ctrl_cleanup_fh(struct uvc_fh *handle);
drivers/message/fusion/mptsas.c
1626
port_info->phy_info[i].attached.handle = sas_device->handle;
drivers/message/fusion/mptsas.c
2450
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
2572
phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
drivers/message/fusion/mptsas.c
2573
phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
drivers/message/fusion/mptsas.c
2640
device_info->handle = le16_to_cpu(buffer->DevHandle);
drivers/message/fusion/mptsas.c
2731
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
2809
phy_info->identify.handle = le16_to_cpu(buffer->OwnerDevHandle);
drivers/message/fusion/mptsas.c
2810
phy_info->attached.handle = le16_to_cpu(buffer->AttachedDevHandle);
drivers/message/fusion/mptsas.c
3177
if (!phy_info->attached.handle ||
drivers/message/fusion/mptsas.c
3330
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
3331
hba->phy_info[i].handle;
drivers/message/fusion/mptsas.c
3347
port_info->phy_info[i].identify.handle =
drivers/message/fusion/mptsas.c
3348
port_info->phy_info[i].handle;
drivers/message/fusion/mptsas.c
3352
port_info->phy_info[i].identify.handle);
drivers/message/fusion/mptsas.c
3358
if (port_info->phy_info[i].attached.handle)
drivers/message/fusion/mptsas.c
3363
port_info->phy_info[i].attached.handle);
drivers/message/fusion/mptsas.c
3388
u32 handle;
drivers/message/fusion/mptsas.c
3390
handle = port_info->phy_info[0].handle;
drivers/message/fusion/mptsas.c
3395
MPI_SAS_EXPAND_PGAD_FORM_SHIFT), (i << 16) + handle);
drivers/message/fusion/mptsas.c
3401
port_info->phy_info[i].identify.handle);
drivers/message/fusion/mptsas.c
3405
if (port_info->phy_info[i].attached.handle) {
drivers/message/fusion/mptsas.c
3410
port_info->phy_info[i].attached.handle);
drivers/message/fusion/mptsas.c
3456
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
3551
port_info->phy_info[0].identify.handle);
drivers/message/fusion/mptsas.c
3644
port_info->phy_info[i].handle =
drivers/message/fusion/mptsas.c
3669
mptsas_expander_add(MPT_ADAPTER *ioc, u16 handle)
drivers/message/fusion/mptsas.c
3676
MPI_SAS_EXPAND_PGAD_FORM_SHIFT), handle)))
drivers/message/fusion/mptsas.c
3799
u32 handle;
drivers/message/fusion/mptsas.c
3825
sas_device.handle = 0;
drivers/message/fusion/mptsas.c
3834
if (sas_device.handle)
drivers/message/fusion/mptsas.c
3892
handle = 0xFFFF;
drivers/message/fusion/mptsas.c
3895
MPI_SAS_EXPAND_PGAD_FORM_SHIFT), handle) &&
drivers/message/fusion/mptsas.c
3898
handle = buffer.phy_info[0].handle;
drivers/message/fusion/mptsas.c
3923
u32 handle;
drivers/message/fusion/mptsas.c
3926
handle = 0xFFFF;
drivers/message/fusion/mptsas.c
3929
MPI_SAS_EXPAND_PGAD_FORM_SHIFT), handle)) {
drivers/message/fusion/mptsas.c
3931
handle = buffer.phy_info[0].handle;
drivers/message/fusion/mptsas.c
3938
port_info->phy_info[i].handle = handle;
drivers/message/fusion/mptsas.c
3971
u16 handle;
drivers/message/fusion/mptsas.c
3975
handle = 0xFFFF;
drivers/message/fusion/mptsas.c
3977
MPI_SAS_DEVICE_PGAD_FORM_GET_NEXT_HANDLE, handle))) {
drivers/message/fusion/mptsas.c
3979
handle = sas_device.handle;
drivers/message/fusion/mptsas.c
407
mptsas_find_portinfo_by_handle(MPT_ADAPTER *ioc, u16 handle)
drivers/message/fusion/mptsas.c
414
if (port_info->phy_info[i].identify.handle == handle) {
drivers/message/fusion/mptsas.c
4369
if (!sas_device.handle)
drivers/message/fusion/mptsas.c
4621
hot_plug_info.handle = le16_to_cpu(sas_event_data->DevHandle);
drivers/message/fusion/mptsas.c
868
if (phy_info->attached.handle)
drivers/message/fusion/mptsas.h
101
u16 handle;
drivers/message/fusion/mptsas.h
131
u16 handle; /* unique id to address this device */
drivers/message/fusion/mptsas.h
160
u16 handle; /* unique id to address this */
drivers/mfd/dln2.c
189
u16 handle, u16 rx_slot)
drivers/mfd/dln2.c
192
struct dln2_mod_rx_slots *rxs = &dln2->mod_rx_slots[handle];
drivers/mfd/dln2.c
212
dev_warn(dev, "bad/late response %d/%d\n", handle, rx_slot);
drivers/mfd/dln2.c
239
u16 id, echo, handle, size;
drivers/mfd/dln2.c
265
handle = le16_to_cpu(hdr->handle);
drivers/mfd/dln2.c
27
__le16 handle;
drivers/mfd/dln2.c
272
handle, id, echo, size, urb->actual_length);
drivers/mfd/dln2.c
276
if (handle >= DLN2_HANDLES) {
drivers/mfd/dln2.c
277
dev_warn(dev, "invalid handle %d\n", handle);
drivers/mfd/dln2.c
284
if (handle == DLN2_HANDLE_EVENT) {
drivers/mfd/dln2.c
292
if (dln2_transfer_complete(dln2, urb, handle, echo))
drivers/mfd/dln2.c
302
static void *dln2_prep_buf(u16 handle, u16 cmd, u16 echo, const void *obuf,
drivers/mfd/dln2.c
318
hdr->handle = cpu_to_le16(handle);
drivers/mfd/dln2.c
327
static int dln2_send_wait(struct dln2_dev *dln2, u16 handle, u16 cmd, u16 echo,
drivers/mfd/dln2.c
335
buf = dln2_prep_buf(handle, cmd, echo, obuf, &len, GFP_KERNEL);
drivers/mfd/dln2.c
348
static bool find_free_slot(struct dln2_dev *dln2, u16 handle, int *slot)
drivers/mfd/dln2.c
358
rxs = &dln2->mod_rx_slots[handle];
drivers/mfd/dln2.c
376
static int alloc_rx_slot(struct dln2_dev *dln2, u16 handle)
drivers/mfd/dln2.c
385
ret = wait_event_interruptible(dln2->mod_rx_slots[handle].wq,
drivers/mfd/dln2.c
386
find_free_slot(dln2, handle, &slot));
drivers/mfd/dln2.c
393
static void free_rx_slot(struct dln2_dev *dln2, u16 handle, int slot)
drivers/mfd/dln2.c
400
rxs = &dln2->mod_rx_slots[handle];
drivers/mfd/dln2.c
426
static int _dln2_transfer(struct dln2_dev *dln2, u16 handle, u16 cmd,
drivers/mfd/dln2.c
436
struct dln2_mod_rx_slots *rxs = &dln2->mod_rx_slots[handle];
drivers/mfd/dln2.c
449
rx_slot = alloc_rx_slot(dln2, handle);
drivers/mfd/dln2.c
455
ret = dln2_send_wait(dln2, handle, cmd, rx_slot, obuf, obuf_len);
drivers/mfd/dln2.c
488
handle, le16_to_cpu(rsp->result));
drivers/mfd/dln2.c
502
free_rx_slot(dln2, handle, rx_slot);
drivers/mfd/dln2.c
519
u16 handle;
drivers/mfd/dln2.c
523
handle = dln2_pdata->handle;
drivers/mfd/dln2.c
525
return _dln2_transfer(dln2, handle, cmd, obuf, obuf_len, ibuf,
drivers/mfd/dln2.c
655
.handle = DLN2_HANDLE_GPIO,
drivers/mfd/dln2.c
664
.handle = DLN2_HANDLE_I2C,
drivers/mfd/dln2.c
674
.handle = DLN2_HANDLE_SPI,
drivers/mfd/dln2.c
684
.handle = DLN2_HANDLE_ADC,
drivers/misc/bcm-vk/bcm_vk_sg.c
154
put_unaligned((u64)dma->handle, &vkdata->address);
drivers/misc/bcm-vk/bcm_vk_sg.c
162
dma->handle,
drivers/misc/bcm-vk/bcm_vk_sg.c
245
dma_free_coherent(dev, dma->sglen, dma->sglist, dma->handle);
drivers/misc/bcm-vk/bcm_vk_sg.c
91
&dma->handle,
drivers/misc/bcm-vk/bcm_vk_sg.h
17
dma_addr_t handle;
drivers/misc/cardreader/rtsx_pcr.c
1475
struct pcr_handle *handle;
drivers/misc/cardreader/rtsx_pcr.c
1502
handle = kzalloc_obj(*handle);
drivers/misc/cardreader/rtsx_pcr.c
1503
if (!handle) {
drivers/misc/cardreader/rtsx_pcr.c
1507
handle->pcr = pcr;
drivers/misc/cardreader/rtsx_pcr.c
1520
dev_set_drvdata(&pcidev->dev, handle);
drivers/misc/cardreader/rtsx_pcr.c
1566
rtsx_pcr_cells[i].platform_data = handle;
drivers/misc/cardreader/rtsx_pcr.c
1567
rtsx_pcr_cells[i].pdata_size = sizeof(*handle);
drivers/misc/cardreader/rtsx_pcr.c
1597
kfree(handle);
drivers/misc/cardreader/rtsx_pcr.c
1610
struct pcr_handle *handle = pci_get_drvdata(pcidev);
drivers/misc/cardreader/rtsx_pcr.c
1611
struct rtsx_pcr *pcr = handle->pcr;
drivers/misc/cardreader/rtsx_pcr.c
1644
kfree(handle);
drivers/misc/cardreader/rtsx_pcr.c
1654
struct pcr_handle *handle = pci_get_drvdata(pcidev);
drivers/misc/cardreader/rtsx_pcr.c
1655
struct rtsx_pcr *pcr = handle->pcr;
drivers/misc/cardreader/rtsx_pcr.c
1672
struct pcr_handle *handle = pci_get_drvdata(pcidev);
drivers/misc/cardreader/rtsx_pcr.c
1673
struct rtsx_pcr *pcr = handle->pcr;
drivers/misc/cardreader/rtsx_pcr.c
1729
struct pcr_handle *handle = pci_get_drvdata(pcidev);
drivers/misc/cardreader/rtsx_pcr.c
1730
struct rtsx_pcr *pcr = handle->pcr;
drivers/misc/cardreader/rtsx_pcr.c
1745
struct pcr_handle *handle = pci_get_drvdata(pcidev);
drivers/misc/cardreader/rtsx_pcr.c
1746
struct rtsx_pcr *pcr = handle->pcr;
drivers/misc/cardreader/rtsx_pcr.c
1772
struct pcr_handle *handle = pci_get_drvdata(pcidev);
drivers/misc/cardreader/rtsx_pcr.c
1773
struct rtsx_pcr *pcr = handle->pcr;
drivers/misc/cardreader/rtsx_pcr.c
1790
struct pcr_handle *handle = pci_get_drvdata(pcidev);
drivers/misc/cardreader/rtsx_pcr.c
1791
struct rtsx_pcr *pcr = handle->pcr;
drivers/misc/fastrpc.c
1165
u32 kernel, uint32_t handle)
drivers/misc/fastrpc.c
1180
msg->handle = handle;
drivers/misc/fastrpc.c
1196
u32 handle, u32 sc,
drivers/misc/fastrpc.c
1210
if (handle == FASTRPC_INIT_HANDLE && !kernel) {
drivers/misc/fastrpc.c
1211
dev_warn_ratelimited(fl->sctx->dev, "user app trying to send a kernel RPC message (%d)\n", handle);
drivers/misc/fastrpc.c
1226
err = fastrpc_invoke_send(fl->sctx, ctx, kernel, handle);
drivers/misc/fastrpc.c
172
u32 handle; /* handle to invoke */
drivers/misc/fastrpc.c
1747
err = fastrpc_internal_invoke(fl, false, inv.handle, inv.sc, args);
drivers/misc/mei/vsc-fw-loader.c
263
acpi_handle handle;
drivers/misc/mei/vsc-fw-loader.c
267
handle = ACPI_HANDLE(dev);
drivers/misc/mei/vsc-fw-loader.c
268
if (!handle)
drivers/misc/mei/vsc-fw-loader.c
271
status = acpi_evaluate_object(handle, "SID", &arg_list, &buffer);
drivers/misc/uacce/uacce.c
123
struct iommu_sva *handle;
drivers/misc/uacce/uacce.c
128
handle = iommu_sva_bind_device(uacce->parent, current->mm);
drivers/misc/uacce/uacce.c
129
if (IS_ERR(handle))
drivers/misc/uacce/uacce.c
130
return PTR_ERR(handle);
drivers/misc/uacce/uacce.c
132
pasid = iommu_sva_get_pasid(handle);
drivers/misc/uacce/uacce.c
134
iommu_sva_unbind_device(handle);
drivers/misc/uacce/uacce.c
138
q->handle = handle;
drivers/misc/uacce/uacce.c
145
if (!q->handle)
drivers/misc/uacce/uacce.c
147
iommu_sva_unbind_device(q->handle);
drivers/misc/uacce/uacce.c
148
q->handle = NULL;
drivers/misc/vmw_vmci/vmci_context.c
1001
if (src_cid != handle.context) {
drivers/misc/vmw_vmci/vmci_context.c
1005
VMCI_CONTEXT_IS_VM(handle.context)) {
drivers/misc/vmw_vmci/vmci_context.c
1007
src_cid, handle.context);
drivers/misc/vmw_vmci/vmci_context.c
1012
result = vmci_dbell_get_priv_flags(handle, &dst_priv_flags);
drivers/misc/vmw_vmci/vmci_context.c
1015
handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_context.c
1030
if (handle.context == VMCI_HOST_CONTEXT_ID) {
drivers/misc/vmw_vmci/vmci_context.c
1031
result = vmci_dbell_host_context_notify(src_cid, handle);
drivers/misc/vmw_vmci/vmci_context.c
1036
handle)) {
drivers/misc/vmw_vmci/vmci_context.c
1041
handle)) {
drivers/misc/vmw_vmci/vmci_context.c
1044
handle);
drivers/misc/vmw_vmci/vmci_context.c
1071
int vmci_ctx_qp_create(struct vmci_ctx *context, struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_context.c
1075
if (context == NULL || vmci_handle_is_invalid(handle))
drivers/misc/vmw_vmci/vmci_context.c
1078
if (!vmci_handle_arr_has_entry(context->queue_pair_array, handle))
drivers/misc/vmw_vmci/vmci_context.c
1080
&context->queue_pair_array, handle);
drivers/misc/vmw_vmci/vmci_context.c
1091
int vmci_ctx_qp_destroy(struct vmci_ctx *context, struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_context.c
1095
if (context == NULL || vmci_handle_is_invalid(handle))
drivers/misc/vmw_vmci/vmci_context.c
1098
hndl = vmci_handle_arr_remove_entry(context->queue_pair_array, handle);
drivers/misc/vmw_vmci/vmci_context.c
1108
bool vmci_ctx_qp_exists(struct vmci_ctx *context, struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_context.c
1110
if (context == NULL || vmci_handle_is_invalid(handle))
drivers/misc/vmw_vmci/vmci_context.c
1113
return vmci_handle_arr_has_entry(context->queue_pair_array, handle);
drivers/misc/vmw_vmci/vmci_context.c
234
if (!vmci_handle_is_equal(node->handle, context_handle))
drivers/misc/vmw_vmci/vmci_context.c
608
notifier->handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER);
drivers/misc/vmw_vmci/vmci_context.c
614
if (vmci_handle_is_equal(n->handle, notifier->handle)) {
drivers/misc/vmw_vmci/vmci_context.c
649
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_context.c
655
handle = vmci_make_handle(remote_cid, VMCI_EVENT_HANDLER);
drivers/misc/vmw_vmci/vmci_context.c
660
if (vmci_handle_is_equal(iter->handle, handle)) {
drivers/misc/vmw_vmci/vmci_context.c
702
notifiers[i++] = entry->handle.context;
drivers/misc/vmw_vmci/vmci_context.c
728
dbells[i].handle = vmci_handle_arr_get_entry(
drivers/misc/vmw_vmci/vmci_context.c
881
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_context.c
890
handle = vmci_handle_arr_remove_tail(
drivers/misc/vmw_vmci/vmci_context.c
892
while (!vmci_handle_is_invalid(handle)) {
drivers/misc/vmw_vmci/vmci_context.c
894
handle)) {
drivers/misc/vmw_vmci/vmci_context.c
896
&db_handle_array, handle);
drivers/misc/vmw_vmci/vmci_context.c
898
handle = vmci_handle_arr_remove_tail(
drivers/misc/vmw_vmci/vmci_context.c
921
int vmci_ctx_dbell_create(u32 context_id, struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_context.c
926
if (context_id == VMCI_INVALID_ID || vmci_handle_is_invalid(handle))
drivers/misc/vmw_vmci/vmci_context.c
934
if (!vmci_handle_arr_has_entry(context->doorbell_array, handle))
drivers/misc/vmw_vmci/vmci_context.c
936
handle);
drivers/misc/vmw_vmci/vmci_context.c
950
int vmci_ctx_dbell_destroy(u32 context_id, struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_context.c
955
if (context_id == VMCI_INVALID_ID || vmci_handle_is_invalid(handle))
drivers/misc/vmw_vmci/vmci_context.c
964
vmci_handle_arr_remove_entry(context->doorbell_array, handle);
drivers/misc/vmw_vmci/vmci_context.c
965
vmci_handle_arr_remove_entry(context->pending_doorbell_array, handle);
drivers/misc/vmw_vmci/vmci_context.c
985
struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_context.c
991
if (vmci_handle_is_invalid(handle))
drivers/misc/vmw_vmci/vmci_context.c
995
dst_context = vmci_ctx_get(handle.context);
drivers/misc/vmw_vmci/vmci_context.c
997
pr_devel("Invalid context (ID=0x%x)\n", handle.context);
drivers/misc/vmw_vmci/vmci_context.h
146
int vmci_ctx_qp_create(struct vmci_ctx *context, struct vmci_handle handle);
drivers/misc/vmw_vmci/vmci_context.h
147
int vmci_ctx_qp_destroy(struct vmci_ctx *context, struct vmci_handle handle);
drivers/misc/vmw_vmci/vmci_context.h
148
bool vmci_ctx_qp_exists(struct vmci_ctx *context, struct vmci_handle handle);
drivers/misc/vmw_vmci/vmci_context.h
153
int vmci_ctx_dbell_create(u32 context_id, struct vmci_handle handle);
drivers/misc/vmw_vmci/vmci_context.h
154
int vmci_ctx_dbell_destroy(u32 context_id, struct vmci_handle handle);
drivers/misc/vmw_vmci/vmci_context.h
155
int vmci_ctx_notify_dbell(u32 cid, struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_context.h
37
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_datagram.c
106
struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_datagram.c
116
resource = vmci_resource_by_handle(handle,
drivers/misc/vmw_vmci/vmci_datagram.c
461
int vmci_datagram_destroy_handle(struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_datagram.c
466
resource = vmci_resource_by_handle(handle, VMCI_RESOURCE_TYPE_DATAGRAM);
drivers/misc/vmw_vmci/vmci_datagram.c
469
handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_datagram.c
58
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_datagram.c
72
handle = vmci_make_handle(context_id, resource_id);
drivers/misc/vmw_vmci/vmci_datagram.c
89
handle);
drivers/misc/vmw_vmci/vmci_datagram.c
92
handle.context, handle.resource, result);
drivers/misc/vmw_vmci/vmci_doorbell.c
102
} else if (handle.context == VMCI_HYPERVISOR_CONTEXT_ID) {
drivers/misc/vmw_vmci/vmci_doorbell.c
109
*priv_flags = vmci_context_get_priv_flags(handle.context);
drivers/misc/vmw_vmci/vmci_doorbell.c
229
static int dbell_link(struct vmci_handle handle, u32 notify_idx)
drivers/misc/vmw_vmci/vmci_doorbell.c
237
link_msg.handle = handle;
drivers/misc/vmw_vmci/vmci_doorbell.c
247
static int dbell_unlink(struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_doorbell.c
255
unlink_msg.handle = handle;
drivers/misc/vmw_vmci/vmci_doorbell.c
275
int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_doorbell.c
280
if (vmci_handle_is_invalid(handle)) {
drivers/misc/vmw_vmci/vmci_doorbell.c
282
handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_doorbell.c
286
resource = vmci_resource_by_handle(handle,
drivers/misc/vmw_vmci/vmci_doorbell.c
290
handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_doorbell.c
392
int vmci_doorbell_create(struct vmci_handle *handle,
drivers/misc/vmw_vmci/vmci_doorbell.c
401
if (!handle || !notify_cb || flags & ~VMCI_FLAG_DELAYED_CB ||
drivers/misc/vmw_vmci/vmci_doorbell.c
411
if (vmci_handle_is_invalid(*handle)) {
drivers/misc/vmw_vmci/vmci_doorbell.c
432
if (handle->context == VMCI_HOST_CONTEXT_ID ||
drivers/misc/vmw_vmci/vmci_doorbell.c
434
vmci_get_context_id() == handle->context)) {
drivers/misc/vmw_vmci/vmci_doorbell.c
438
if (!valid_context || handle->resource == VMCI_INVALID_ID) {
drivers/misc/vmw_vmci/vmci_doorbell.c
440
handle->context, handle->resource);
drivers/misc/vmw_vmci/vmci_doorbell.c
445
new_handle = *handle;
drivers/misc/vmw_vmci/vmci_doorbell.c
476
*handle = new_handle;
drivers/misc/vmw_vmci/vmci_doorbell.c
496
int vmci_doorbell_destroy(struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_doorbell.c
501
if (vmci_handle_is_invalid(handle))
drivers/misc/vmw_vmci/vmci_doorbell.c
504
resource = vmci_resource_by_handle(handle,
drivers/misc/vmw_vmci/vmci_doorbell.c
508
handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_doorbell.c
519
result = dbell_unlink(handle);
drivers/misc/vmw_vmci/vmci_doorbell.c
536
handle.context, handle.resource, result);
drivers/misc/vmw_vmci/vmci_doorbell.c
85
int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags)
drivers/misc/vmw_vmci/vmci_doorbell.c
87
if (priv_flags == NULL || handle.context == VMCI_INVALID_ID)
drivers/misc/vmw_vmci/vmci_doorbell.c
90
if (handle.context == VMCI_HOST_CONTEXT_ID) {
drivers/misc/vmw_vmci/vmci_doorbell.c
94
resource = vmci_resource_by_handle(handle,
drivers/misc/vmw_vmci/vmci_doorbell.h
21
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_doorbell.h
33
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_doorbell.h
37
int vmci_dbell_host_context_notify(u32 src_cid, struct vmci_handle handle);
drivers/misc/vmw_vmci/vmci_doorbell.h
38
int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
drivers/misc/vmw_vmci/vmci_handle_array.c
103
return handle;
drivers/misc/vmw_vmci/vmci_handle_array.c
39
struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_handle_array.c
62
array->entries[array->size] = handle;
drivers/misc/vmw_vmci/vmci_handle_array.c
74
struct vmci_handle handle = VMCI_INVALID_HANDLE;
drivers/misc/vmw_vmci/vmci_handle_array.c
79
handle = array->entries[i];
drivers/misc/vmw_vmci/vmci_handle_array.c
87
return handle;
drivers/misc/vmw_vmci/vmci_handle_array.c
95
struct vmci_handle handle = VMCI_INVALID_HANDLE;
drivers/misc/vmw_vmci/vmci_handle_array.c
99
handle = array->entries[array->size];
drivers/misc/vmw_vmci/vmci_handle_array.h
29
struct vmci_handle handle);
drivers/misc/vmw_vmci/vmci_host.c
451
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_host.c
467
handle = alloc_info.handle;
drivers/misc/vmw_vmci/vmci_host.c
470
vmci_status = vmci_qp_broker_alloc(alloc_info.handle,
drivers/misc/vmw_vmci/vmci_host.c
489
handle = alloc_info.handle;
drivers/misc/vmw_vmci/vmci_host.c
495
vmci_status = vmci_qp_broker_alloc(alloc_info.handle,
drivers/misc/vmw_vmci/vmci_host.c
507
vmci_status = vmci_qp_broker_detach(handle,
drivers/misc/vmw_vmci/vmci_host.c
542
result = vmci_qp_broker_map(set_va_info.handle,
drivers/misc/vmw_vmci/vmci_host.c
550
result = vmci_qp_broker_unmap(set_va_info.handle,
drivers/misc/vmw_vmci/vmci_host.c
605
result = vmci_qp_broker_set_page_store(page_file_info.handle,
drivers/misc/vmw_vmci/vmci_host.c
61
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_host.c
651
result = vmci_qp_broker_detach(detach_info.handle,
drivers/misc/vmw_vmci/vmci_host.c
834
info.result = vmci_ctx_notify_dbell(cid, info.handle,
drivers/misc/vmw_vmci/vmci_host.c
842
info.result = vmci_ctx_dbell_create(cid, info.handle);
drivers/misc/vmw_vmci/vmci_host.c
846
info.result = vmci_ctx_dbell_destroy(cid, info.handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1023
static int qp_detatch_guest_work(struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_queue_pair.c
1031
entry = qp_guest_handle_to_entry(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1041
result = qp_notify_peer_local(false, handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1050
result = qp_detatch_hypercall(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1093
static int qp_alloc_guest_work(struct vmci_handle *handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1116
queue_pair_entry = qp_guest_handle_to_entry(*handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1141
result = qp_notify_peer_local(true, *handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1168
queue_pair_entry = qp_guest_endpoint_create(*handle, peer, flags,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1202
if (queue_pair_entry->qp.handle.context != context_id ||
drivers/misc/vmw_vmci/vmci_queue_pair.c
1228
*handle = queue_pair_entry->qp.handle;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1239
vmci_q_header_init((*produce_q)->q_header, *handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1240
vmci_q_header_init((*consume_q)->q_header, *handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1282
static int qp_broker_create(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1308
if (handle.context != context_id && handle.context != peer)
drivers/misc/vmw_vmci/vmci_queue_pair.c
1341
entry->qp.handle = handle;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1416
handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1419
handle.context, handle.resource, result);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1423
entry->qp.handle = vmci_resource_handle(&entry->resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1426
entry->qp.handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1428
entry->qp.handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1431
vmci_ctx_qp_create(context, entry->qp.handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1452
struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1459
if (vmci_handle_is_invalid(handle) || my_id == VMCI_INVALID_ID ||
drivers/misc/vmw_vmci/vmci_queue_pair.c
146
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1478
ev.payload.handle = handle;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1664
qp_notify_peer(true, entry->qp.handle, context_id,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1668
entry->create_id, entry->qp.handle.context,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1669
entry->qp.handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1684
vmci_ctx_qp_create(context, entry->qp.handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1696
static int qp_broker_alloc(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1715
if (vmci_handle_is_invalid(handle) ||
drivers/misc/vmw_vmci/vmci_queue_pair.c
1719
handle.context == VMCI_INVALID_ID) {
drivers/misc/vmw_vmci/vmci_queue_pair.c
1733
if (!is_local && vmci_ctx_qp_exists(context, handle)) {
drivers/misc/vmw_vmci/vmci_queue_pair.c
1735
context_id, handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1740
if (handle.resource != VMCI_INVALID_ID)
drivers/misc/vmw_vmci/vmci_queue_pair.c
1741
entry = qp_broker_handle_to_entry(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1746
qp_broker_create(handle, peer, flags, priv_flags,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1770
static int qp_alloc_host_work(struct vmci_handle *handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1787
if (vmci_handle_is_invalid(*handle)) {
drivers/misc/vmw_vmci/vmci_queue_pair.c
1791
new_handle = *handle;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1814
*handle = vmci_resource_handle(&entry->resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1816
*handle = VMCI_INVALID_HANDLE;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1829
int vmci_qp_alloc(struct vmci_handle *handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1841
if (!handle || !produce_q || !consume_q ||
drivers/misc/vmw_vmci/vmci_queue_pair.c
1846
return qp_alloc_guest_work(handle, produce_q,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1851
return qp_alloc_host_work(handle, produce_q,
drivers/misc/vmw_vmci/vmci_queue_pair.c
186
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_queue_pair.c
1862
static int qp_detatch_host_work(struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_queue_pair.c
1869
result = vmci_qp_broker_detach(handle, context);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1879
static int qp_detatch(struct vmci_handle handle, bool guest_endpoint)
drivers/misc/vmw_vmci/vmci_queue_pair.c
1881
if (vmci_handle_is_invalid(handle))
drivers/misc/vmw_vmci/vmci_queue_pair.c
1885
return qp_detatch_guest_work(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1887
return qp_detatch_host_work(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1930
int vmci_qp_broker_alloc(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1942
return qp_broker_alloc(handle, peer, flags, priv_flags,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1963
int vmci_qp_broker_set_page_store(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
1972
if (vmci_handle_is_invalid(handle) || !context ||
drivers/misc/vmw_vmci/vmci_queue_pair.c
1986
if (!vmci_ctx_qp_exists(context, handle)) {
drivers/misc/vmw_vmci/vmci_queue_pair.c
1988
context_id, handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
1993
entry = qp_broker_handle_to_entry(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2039
qp_notify_peer(true, handle, context_id, entry->create_id);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2042
entry->create_id, entry->qp.handle.context,
drivers/misc/vmw_vmci/vmci_queue_pair.c
2043
entry->qp.handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2082
int vmci_qp_broker_detach(struct vmci_handle handle, struct vmci_ctx *context)
drivers/misc/vmw_vmci/vmci_queue_pair.c
2090
if (vmci_handle_is_invalid(handle) || !context ||
drivers/misc/vmw_vmci/vmci_queue_pair.c
2097
if (!vmci_ctx_qp_exists(context, handle)) {
drivers/misc/vmw_vmci/vmci_queue_pair.c
2099
context_id, handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2104
entry = qp_broker_handle_to_entry(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2107
context_id, handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2149
handle.context, handle.resource,
drivers/misc/vmw_vmci/vmci_queue_pair.c
2186
vmci_ctx_qp_destroy(context, handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2188
qp_notify_peer(false, handle, context_id, peer_id);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2197
vmci_ctx_qp_destroy(context, handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2212
int vmci_qp_broker_map(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
2220
if (vmci_handle_is_invalid(handle) || !context ||
drivers/misc/vmw_vmci/vmci_queue_pair.c
2226
if (!vmci_ctx_qp_exists(context, handle)) {
drivers/misc/vmw_vmci/vmci_queue_pair.c
2228
context_id, handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2233
entry = qp_broker_handle_to_entry(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2236
context_id, handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2322
int vmci_qp_broker_unmap(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
2330
if (vmci_handle_is_invalid(handle) || !context ||
drivers/misc/vmw_vmci/vmci_queue_pair.c
2336
if (!vmci_ctx_qp_exists(context, handle)) {
drivers/misc/vmw_vmci/vmci_queue_pair.c
2338
context_id, handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2343
entry = qp_broker_handle_to_entry(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2346
context_id, handle.context, handle.resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2362
handle.context, handle.resource, result);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2409
qp_detatch_hypercall(entry->handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2680
struct vmci_handle *handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
2751
retval = vmci_qp_alloc(handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
2768
my_qpair->handle = *handle;
drivers/misc/vmw_vmci/vmci_queue_pair.c
2791
result = qp_detatch(old_qpair->handle, old_qpair->guest_endpoint);
drivers/misc/vmw_vmci/vmci_queue_pair.c
2804
old_qpair->handle = VMCI_INVALID_HANDLE;
drivers/misc/vmw_vmci/vmci_queue_pair.c
805
struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_queue_pair.c
809
if (vmci_handle_is_invalid(handle))
drivers/misc/vmw_vmci/vmci_queue_pair.c
813
if (vmci_handle_is_equal(entry->handle, handle))
drivers/misc/vmw_vmci/vmci_queue_pair.c
824
qp_guest_handle_to_entry(struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_queue_pair.c
827
struct qp_entry *qp = qp_list_find(&qp_guest_endpoints, handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
838
qp_broker_handle_to_entry(struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_queue_pair.c
841
struct qp_entry *qp = qp_list_find(&qp_broker_list, handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
852
static int qp_notify_peer_local(bool attach, struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_queue_pair.c
865
ev.payload.handle = handle;
drivers/misc/vmw_vmci/vmci_queue_pair.c
878
qp_guest_endpoint_create(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.c
892
if (vmci_handle_is_invalid(handle)) {
drivers/misc/vmw_vmci/vmci_queue_pair.c
895
handle = vmci_make_handle(context_id, VMCI_INVALID_ID);
drivers/misc/vmw_vmci/vmci_queue_pair.c
913
handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
914
entry->qp.handle = vmci_resource_handle(&entry->resource);
drivers/misc/vmw_vmci/vmci_queue_pair.c
916
qp_list_find(&qp_guest_endpoints, entry->qp.handle)) {
drivers/misc/vmw_vmci/vmci_queue_pair.c
918
handle.context, handle.resource, result);
drivers/misc/vmw_vmci/vmci_queue_pair.c
966
alloc_msg->handle = entry->qp.handle;
drivers/misc/vmw_vmci/vmci_queue_pair.c
987
static int qp_detatch_hypercall(struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_queue_pair.c
994
detach_msg.hdr.payload_size = sizeof(handle);
drivers/misc/vmw_vmci/vmci_queue_pair.c
995
detach_msg.handle = handle;
drivers/misc/vmw_vmci/vmci_queue_pair.h
142
int vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer,
drivers/misc/vmw_vmci/vmci_queue_pair.h
147
int vmci_qp_broker_set_page_store(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.h
150
int vmci_qp_broker_detach(struct vmci_handle handle, struct vmci_ctx *context);
drivers/misc/vmw_vmci/vmci_queue_pair.h
154
int vmci_qp_alloc(struct vmci_handle *handle,
drivers/misc/vmw_vmci/vmci_queue_pair.h
160
int vmci_qp_broker_map(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.h
162
int vmci_qp_broker_unmap(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_queue_pair.h
30
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_queue_pair.h
43
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_queue_pair.h
79
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_queue_pair.h
92
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_resource.c
101
struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_resource.c
109
if (handle.resource == VMCI_INVALID_ID) {
drivers/misc/vmw_vmci/vmci_resource.c
110
handle.resource = vmci_resource_find_id(handle.context,
drivers/misc/vmw_vmci/vmci_resource.c
112
if (handle.resource == VMCI_INVALID_ID) {
drivers/misc/vmw_vmci/vmci_resource.c
116
} else if (vmci_resource_lookup(handle, resource_type)) {
drivers/misc/vmw_vmci/vmci_resource.c
121
resource->handle = handle;
drivers/misc/vmw_vmci/vmci_resource.c
127
idx = vmci_resource_hash(resource->handle);
drivers/misc/vmw_vmci/vmci_resource.c
139
struct vmci_handle handle = resource->handle;
drivers/misc/vmw_vmci/vmci_resource.c
140
unsigned int idx = vmci_resource_hash(handle);
drivers/misc/vmw_vmci/vmci_resource.c
147
if (vmci_handle_is_equal(r->handle, resource->handle) &&
drivers/misc/vmw_vmci/vmci_resource.c
221
return resource->handle;
drivers/misc/vmw_vmci/vmci_resource.c
30
static unsigned int vmci_resource_hash(struct vmci_handle handle)
drivers/misc/vmw_vmci/vmci_resource.c
32
return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS);
drivers/misc/vmw_vmci/vmci_resource.c
38
static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle,
drivers/misc/vmw_vmci/vmci_resource.c
42
unsigned int idx = vmci_resource_hash(handle);
drivers/misc/vmw_vmci/vmci_resource.c
47
u32 cid = r->handle.context;
drivers/misc/vmw_vmci/vmci_resource.c
48
u32 rid = r->handle.resource;
drivers/misc/vmw_vmci/vmci_resource.c
51
rid == handle.resource &&
drivers/misc/vmw_vmci/vmci_resource.c
52
(cid == handle.context || cid == VMCI_INVALID_ID ||
drivers/misc/vmw_vmci/vmci_resource.c
53
handle.context == VMCI_INVALID_ID)) {
drivers/misc/vmw_vmci/vmci_resource.c
81
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_resource.c
90
handle = vmci_make_handle(context_id, current_rid);
drivers/misc/vmw_vmci/vmci_resource.c
91
if (!vmci_resource_lookup(handle, resource_type))
drivers/misc/vmw_vmci/vmci_resource.h
28
struct vmci_handle handle;
drivers/misc/vmw_vmci/vmci_resource.h
38
struct vmci_handle handle);
drivers/mmc/host/rtsx_pci_sdmmc.c
1530
struct pcr_handle *handle = pdev->dev.platform_data;
drivers/mmc/host/rtsx_pci_sdmmc.c
1533
if (!handle)
drivers/mmc/host/rtsx_pci_sdmmc.c
1536
pcr = handle->pcr;
drivers/net/can/grcan.c
218
dma_addr_t handle;
drivers/net/can/grcan.c
964
large->handle = ALIGN(dma->base_handle, GRCAN_BUFFER_ALIGNMENT);
drivers/net/can/grcan.c
965
small->handle = large->handle + lsize;
drivers/net/can/grcan.c
966
shift = large->handle - dma->base_handle;
drivers/net/can/grcan.c
983
grcan_write_reg(&regs->txaddr, priv->dma.tx.handle);
drivers/net/can/grcan.c
987
grcan_write_reg(&regs->rxaddr, priv->dma.rx.handle);
drivers/net/ethernet/airoha/airoha_eth.c
2242
channel = TC_H_MAJ(opt->handle) >> 16;
drivers/net/ethernet/broadcom/bnge/bnge_auxr.c
44
void *handle)
drivers/net/ethernet/broadcom/bnge/bnge_auxr.c
63
auxr_info->handle = handle;
drivers/net/ethernet/broadcom/bnge/bnge_auxr.h
32
void *handle;
drivers/net/ethernet/broadcom/bnge/bnge_auxr.h
80
void *handle);
drivers/net/ethernet/broadcom/bnge/bnge_hwrm_lib.c
1144
req->cq_handle = cpu_to_le64(ring->handle);
drivers/net/ethernet/broadcom/bnge/bnge_netdev.c
1479
ring->handle = BNGE_SET_NQ_HDL(cpr);
drivers/net/ethernet/broadcom/bnge/bnge_netdev.c
1614
ring->handle = BNGE_SET_NQ_HDL(cpr);
drivers/net/ethernet/broadcom/bnge/bnge_rmem.h
192
u32 handle;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
12757
static u16 bnxt_hwrm_get_wol_fltrs(struct bnxt *bp, u16 handle)
drivers/net/ethernet/broadcom/bnxt/bnxt.c
12769
req->handle = cpu_to_le16(handle);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
12788
u16 handle = 0;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
12795
handle = bnxt_hwrm_get_wol_fltrs(bp, handle);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
12796
} while (handle && handle != 0xffff);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
7187
req->cq_handle = cpu_to_le64(ring->handle);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
7369
ring->handle = BNXT_SET_NQ_HDL(cpr);
drivers/net/ethernet/broadcom/bnxt/bnxt.h
942
u32 handle;
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
1662
u16 handle;
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
1673
handle = CFA_FLOW_INFO_REQ_FLOW_HANDLE_DIR_RX |
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
1676
handle = CFA_FLOW_INFO_REQ_FLOW_HANDLE_MAX_MASK;
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
1678
*flow_handle = cpu_to_le16(handle);
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
114
void *handle)
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
136
ulp->handle = handle;
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
312
ops->ulp_irq_stop(ulp->handle, reset);
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
341
ops->ulp_irq_restart(ulp->handle, ent);
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c
369
ops->ulp_async_notifier(ulp->handle, cmpl);
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h
123
void *handle);
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h
45
void *handle;
drivers/net/ethernet/broadcom/cnic.c
339
path_req.handle = (u64) csk->l5_cid;
drivers/net/ethernet/broadcom/cnic.c
390
l5_cid = (u32) path_resp->handle;
drivers/net/ethernet/brocade/bna/bfi_enet.h
596
u16 handle;
drivers/net/ethernet/brocade/bna/bfi_enet.h
605
u16 handle;
drivers/net/ethernet/brocade/bna/bna.h
273
struct bna_mcam_handle *handle);
drivers/net/ethernet/brocade/bna/bna_enet.c
2064
struct bna_mcam_handle *handle;
drivers/net/ethernet/brocade/bna/bna_enet.c
2066
handle = list_first_entry_or_null(&mcam_mod->free_handle_q,
drivers/net/ethernet/brocade/bna/bna_enet.c
2068
if (handle)
drivers/net/ethernet/brocade/bna/bna_enet.c
2069
list_del(&handle->qe);
drivers/net/ethernet/brocade/bna/bna_enet.c
2071
return handle;
drivers/net/ethernet/brocade/bna/bna_enet.c
2076
struct bna_mcam_handle *handle)
drivers/net/ethernet/brocade/bna/bna_enet.c
2078
list_add_tail(&handle->qe, &mcam_mod->free_handle_q);
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
210
bna_bfi_mcast_del_req(struct bna_rxf *rxf, u16 handle)
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
219
req->handle = htons(handle);
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
364
bna_rxf_mchandle_get(struct bna_rxf *rxf, int handle)
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
369
if (mchandle->handle == handle)
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
376
bna_rxf_mchandle_attach(struct bna_rxf *rxf, u8 *mac_addr, int handle)
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
382
mchandle = bna_rxf_mchandle_get(rxf, handle);
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
385
mchandle->handle = handle;
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
390
mcmac->handle = mchandle;
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
400
mchandle = mac->handle;
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
407
bna_bfi_mcast_del_req(rxf, mchandle->handle);
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
413
mac->handle = NULL;
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
603
ntohs(rsp->handle));
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
797
del_mac->handle = mac->handle;
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
855
del_mac->handle = mac->handle;
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
857
mac->handle = NULL;
drivers/net/ethernet/brocade/bna/bna_tx_rx.c
914
mac->handle = NULL;
drivers/net/ethernet/brocade/bna/bna_types.h
258
struct bna_mcam_handle *handle;
drivers/net/ethernet/brocade/bna/bna_types.h
882
int handle;
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
1405
static acpi_status bgx_acpi_register_phy(acpi_handle handle,
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
1412
adev = acpi_fetch_acpi_dev(handle);
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
1426
static acpi_status bgx_acpi_match_id(acpi_handle handle, u32 lvl,
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
1434
if (ACPI_FAILURE(acpi_get_name(handle, ACPI_SINGLE_NAME, &string))) {
drivers/net/ethernet/cavium/thunder/thunder_bgx.c
1444
acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
2488
if (adap->uld && adap->uld[type].handle)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
2489
adap->uld[type].control(adap->uld[type].handle, cmd);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
2643
if (adap->uld && adap->uld[i].handle)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
2644
adap->uld[i].state_change(adap->uld[i].handle,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
2660
if (adap->uld && adap->uld[i].handle)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
2661
adap->uld[i].state_change(adap->uld[i].handle,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6388
if (!adap->uld[CXGB4_ULD_KTLS].handle) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
6401
if (!adap->uld[CXGB4_ULD_IPSEC].handle) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
177
TC_U32_NODE(cls->knode.handle));
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
185
uhtid = TC_U32_USERHTID(cls->knode.handle);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
203
fs.tc_cookie = cls->knode.handle;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
283
link->link_handle = cls->knode.handle;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
360
u32 handle, uhtid;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
376
if (f->valid && f->fs.tc_cookie == cls->knode.handle) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
392
if (f->valid && f->fs.tc_cookie == cls->knode.handle) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
421
handle = cls->knode.handle;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
422
uhtid = TC_U32_USERHTID(cls->knode.handle);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c
453
if (link->link_handle == handle) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
558
if (adap->uld[type].handle) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
559
adap->uld[type].handle = NULL;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
583
if (!adap->uld[i].handle)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
641
void *handle;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
646
handle = adap->uld[uld].add(&lli);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
647
if (IS_ERR(handle)) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
650
adap->uld[uld].name, PTR_ERR(handle));
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
651
return PTR_ERR(handle);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
654
adap->uld[uld].handle = handle;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
658
adap->uld[uld].state_change(handle, CXGB4_STATE_UP);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
87
ret = adap->uld[q->uld].lro_rx_handler(adap->uld[q->uld].handle,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
91
ret = adap->uld[q->uld].rx_handler(adap->uld[q->uld].handle,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
475
void *handle;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
482
int (*rx_handler)(void *handle, const __be64 *rsp,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
484
int (*state_change)(void *handle, enum cxgb4_state new_state);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
485
int (*control)(void *handle, enum cxgb4_control control, ...);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
486
int (*lro_rx_handler)(void *handle, const __be64 *rsp,
drivers/net/ethernet/chelsio/cxgb4/l2t.c
564
cb->arp_err_handler(cb->handle, skb);
drivers/net/ethernet/chelsio/cxgb4/l2t.h
103
static inline void t4_set_arp_err_handler(struct sk_buff *skb, void *handle,
drivers/net/ethernet/chelsio/cxgb4/l2t.h
106
L2T_SKB_CB(skb)->handle = handle;
drivers/net/ethernet/chelsio/cxgb4/l2t.h
91
typedef void (*arp_err_handler_t)(void *handle, struct sk_buff *skb);
drivers/net/ethernet/chelsio/cxgb4/l2t.h
97
void *handle;
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
117
static int ch_ipsec_uld_state_change(void *handle, enum cxgb4_state new_state)
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
119
struct ipsec_uld_ctx *u_ctx = handle;
drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c
74
static int ch_ipsec_uld_state_change(void *handle, enum cxgb4_state new_state);
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
2142
static int chcr_ktls_uld_rx_handler(void *handle, const __be64 *rsp,
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
2146
struct chcr_ktls_uld_ctx *u_ctx = handle;
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
2200
static int chcr_ktls_uld_state_change(void *handle, enum cxgb4_state new_state)
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
2202
struct chcr_ktls_uld_ctx *u_ctx = handle;
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
372
u_ctx = tx_info->adap->uld[CXGB4_ULD_KTLS].handle;
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
432
u_ctx = adap->uld[CXGB4_ULD_KTLS].handle;
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
686
u_ctx = adap->uld[CXGB4_ULD_KTLS].handle;
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.h
113
struct chcr_ktls_uld_ctx *u_ctx = adap->uld[CXGB4_ULD_KTLS].handle;
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c
202
static void abort_arp_failure(void *handle, struct sk_buff *skb)
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c
207
cdev = (struct chtls_dev *)handle;
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c
932
static void chtls_accept_rpl_arp_failure(void *handle,
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c
935
struct sock *sk = (struct sock *)handle;
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c
585
static void arp_failure_discard(void *handle, struct sk_buff *skb)
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c
315
static int chtls_uld_state_change(void *handle, enum cxgb4_state new_state)
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c
317
struct chtls_dev *cdev = handle;
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c
439
static int chtls_uld_rx_handler(void *handle, const __be64 *rsp,
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c
442
struct chtls_dev *cdev = handle;
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
102
void *handle, arp_err_handler_t handler)
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
111
t4_set_arp_err_handler(skb, handle, handler);
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
116
void *handle, arp_err_handler_t handler)
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.h
126
t4_set_arp_err_handler(skb, handle, handler);
drivers/net/ethernet/freescale/enetc/enetc_qos.c
1322
sfi->handle = index + HANDLE_OFFSET;
drivers/net/ethernet/freescale/enetc/enetc_qos.c
1324
filter->sid.handle = sfi->handle;
drivers/net/ethernet/freescale/enetc/enetc_qos.c
1329
filter->sid.handle = old_sfi->handle;
drivers/net/ethernet/freescale/enetc/enetc_qos.c
423
s32 handle;
drivers/net/ethernet/freescale/enetc/enetc_qos.c
428
s32 handle;
drivers/net/ethernet/freescale/enetc/enetc_qos.c
569
si_conf->stream_handle = cpu_to_le32(sid->handle);
drivers/net/ethernet/freescale/enetc/enetc_qos.c
626
if (sfi->handle >= 0) {
drivers/net/ethernet/freescale/enetc/enetc_qos.c
628
cpu_to_le32(sfi->handle);
drivers/net/ethernet/freescale/fec_main.c
388
static void *fec_dma_alloc(struct device *dev, size_t size, dma_addr_t *handle,
drivers/net/ethernet/freescale/fec_main.c
391
return dma_alloc_noncoherent(dev, size, handle, DMA_BIDIRECTIONAL, gfp);
drivers/net/ethernet/freescale/fec_main.c
395
dma_addr_t handle)
drivers/net/ethernet/freescale/fec_main.c
397
dma_free_noncoherent(dev, size, cpu_addr, handle, DMA_BIDIRECTIONAL);
drivers/net/ethernet/freescale/fec_main.c
400
static void *fec_dma_alloc(struct device *dev, size_t size, dma_addr_t *handle,
drivers/net/ethernet/freescale/fec_main.c
403
return dma_alloc_coherent(dev, size, handle, gfp);
drivers/net/ethernet/freescale/fec_main.c
407
dma_addr_t handle)
drivers/net/ethernet/freescale/fec_main.c
409
dma_free_coherent(dev, size, cpu_addr, handle);
drivers/net/ethernet/freescale/fec_main.c
426
static void *fec_dmam_alloc(struct device *dev, size_t size, dma_addr_t *handle,
drivers/net/ethernet/freescale/fec_main.c
435
vaddr = fec_dma_alloc(dev, size, handle, gfp);
drivers/net/ethernet/freescale/fec_main.c
441
dr->dma_handle = *handle;
drivers/net/ethernet/freescale/fman/fman.c
2506
static irqreturn_t fman_err_irq(int irq, void *handle)
drivers/net/ethernet/freescale/fman/fman.c
2508
struct fman *fman = (struct fman *)handle;
drivers/net/ethernet/freescale/fman/fman.c
2604
static irqreturn_t fman_irq(int irq, void *handle)
drivers/net/ethernet/freescale/fman/fman.c
2606
struct fman *fman = (struct fman *)handle;
drivers/net/ethernet/freescale/fman/fman_dtsec.c
587
static void dtsec_isr(void *handle)
drivers/net/ethernet/freescale/fman/fman_dtsec.c
589
struct fman_mac *dtsec = (struct fman_mac *)handle;
drivers/net/ethernet/freescale/fman/fman_dtsec.c
718
static void dtsec_1588_isr(void *handle)
drivers/net/ethernet/freescale/fman/fman_dtsec.c
720
struct fman_mac *dtsec = (struct fman_mac *)handle;
drivers/net/ethernet/freescale/fman/fman_memac.c
460
static void memac_err_exception(void *handle)
drivers/net/ethernet/freescale/fman/fman_memac.c
462
struct fman_mac *memac = (struct fman_mac *)handle;
drivers/net/ethernet/freescale/fman/fman_memac.c
486
static void memac_exception(void *handle)
drivers/net/ethernet/freescale/fman/fman_memac.c
488
struct fman_mac *memac = (struct fman_mac *)handle;
drivers/net/ethernet/freescale/fman/fman_tgec.c
323
static void tgec_err_exception(void *handle)
drivers/net/ethernet/freescale/fman/fman_tgec.c
325
struct fman_mac *tgec = (struct fman_mac *)handle;
drivers/net/ethernet/hisilicon/hibmcge/hbg_irq.c
38
#define HBG_IRQ_I(name, handle) \
drivers/net/ethernet/hisilicon/hibmcge/hbg_irq.c
39
{#name, HBG_INT_MSK_##name##_B, false, false, false, handle}
drivers/net/ethernet/hisilicon/hns/hnae.c
204
ring->coal_param = q->handle->coal_param;
drivers/net/ethernet/hisilicon/hns/hnae.c
244
q->handle = h;
drivers/net/ethernet/hisilicon/hns/hnae.c
292
int hnae_reinit_handle(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hnae.c
297
for (i = 0; i < handle->q_num; i++) /* free ring*/
drivers/net/ethernet/hisilicon/hns/hnae.c
298
hnae_fini_queue(handle->qs[i]);
drivers/net/ethernet/hisilicon/hns/hnae.c
300
if (handle->dev->ops->reset)
drivers/net/ethernet/hisilicon/hns/hnae.c
301
handle->dev->ops->reset(handle);
drivers/net/ethernet/hisilicon/hns/hnae.c
303
for (i = 0; i < handle->q_num; i++) {/* reinit ring*/
drivers/net/ethernet/hisilicon/hns/hnae.c
304
ret = hnae_init_queue(handle, handle->qs[i], handle->dev);
drivers/net/ethernet/hisilicon/hns/hnae.c
311
hnae_fini_queue(handle->qs[j]);
drivers/net/ethernet/hisilicon/hns/hnae.c
330
struct hnae_handle *handle;
drivers/net/ethernet/hisilicon/hns/hnae.c
338
handle = dev->ops->get_handle(dev, port_id);
drivers/net/ethernet/hisilicon/hns/hnae.c
339
if (IS_ERR(handle)) {
drivers/net/ethernet/hisilicon/hns/hnae.c
341
return handle;
drivers/net/ethernet/hisilicon/hns/hnae.c
344
handle->dev = dev;
drivers/net/ethernet/hisilicon/hns/hnae.c
345
handle->owner_dev = owner_dev;
drivers/net/ethernet/hisilicon/hns/hnae.c
346
handle->bops = bops ? bops : &hnae_bops;
drivers/net/ethernet/hisilicon/hns/hnae.c
347
handle->eport_id = port_id;
drivers/net/ethernet/hisilicon/hns/hnae.c
349
for (i = 0; i < handle->q_num; i++) {
drivers/net/ethernet/hisilicon/hns/hnae.c
350
ret = hnae_init_queue(handle, handle->qs[i], dev);
drivers/net/ethernet/hisilicon/hns/hnae.c
357
hnae_list_add(&dev->lock, &handle->node, &dev->handle_list);
drivers/net/ethernet/hisilicon/hns/hnae.c
359
return handle;
drivers/net/ethernet/hisilicon/hns/hnae.c
363
hnae_fini_queue(handle->qs[j]);
drivers/net/ethernet/hisilicon/hns/hnae.h
358
struct hnae_handle *handle;
drivers/net/ethernet/hisilicon/hns/hnae.h
465
void (*put_handle)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
468
int (*start)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
469
void (*stop)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
470
void (*reset)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
471
int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
drivers/net/ethernet/hisilicon/hns/hnae.h
472
int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
drivers/net/ethernet/hisilicon/hns/hnae.h
473
int (*get_status)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
474
int (*get_info)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
477
void (*adjust_link)(struct hnae_handle *handle, int speed, int duplex);
drivers/net/ethernet/hisilicon/hns/hnae.h
478
bool (*need_adjust_link)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
480
int (*set_loopback)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
484
void (*get_pauseparam)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
486
int (*set_pauseparam)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
488
void (*get_coalesce_usecs)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
490
void (*get_max_coalesced_frames)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
492
int (*set_coalesce_usecs)(struct hnae_handle *handle, u32 timeout);
drivers/net/ethernet/hisilicon/hns/hnae.h
493
int (*set_coalesce_frames)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
495
void (*get_coalesce_range)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
500
void (*set_promisc_mode)(struct hnae_handle *handle, u32 en);
drivers/net/ethernet/hisilicon/hns/hnae.h
501
int (*get_mac_addr)(struct hnae_handle *handle, void **p);
drivers/net/ethernet/hisilicon/hns/hnae.h
502
int (*set_mac_addr)(struct hnae_handle *handle, const void *p);
drivers/net/ethernet/hisilicon/hns/hnae.h
503
int (*add_uc_addr)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
505
int (*rm_uc_addr)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
507
int (*clr_mc_addr)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
508
int (*set_mc_addr)(struct hnae_handle *handle, void *addr);
drivers/net/ethernet/hisilicon/hns/hnae.h
509
int (*set_mtu)(struct hnae_handle *handle, int new_mtu);
drivers/net/ethernet/hisilicon/hns/hnae.h
510
void (*set_tso_stats)(struct hnae_handle *handle, int enable);
drivers/net/ethernet/hisilicon/hns/hnae.h
511
void (*update_stats)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
513
void (*get_stats)(struct hnae_handle *handle, u64 *data);
drivers/net/ethernet/hisilicon/hns/hnae.h
514
void (*get_strings)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
516
int (*get_sset_count)(struct hnae_handle *handle, int stringset);
drivers/net/ethernet/hisilicon/hns/hnae.h
517
void (*update_led_status)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
518
int (*set_led_id)(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hnae.h
520
void (*get_regs)(struct hnae_handle *handle, void *data);
drivers/net/ethernet/hisilicon/hns/hnae.h
521
int (*get_regs_len)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
522
u32 (*get_rss_key_size)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
523
u32 (*get_rss_indir_size)(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
524
int (*get_rss)(struct hnae_handle *handle, u32 *indir, u8 *key,
drivers/net/ethernet/hisilicon/hns/hnae.h
526
int (*set_rss)(struct hnae_handle *handle, const u32 *indir,
drivers/net/ethernet/hisilicon/hns/hnae.h
571
void hnae_put_handle(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
577
int hnae_reinit_handle(struct hnae_handle *handle);
drivers/net/ethernet/hisilicon/hns/hnae.h
589
struct hnae_buf_ops *bops = ring->q->handle->bops;
drivers/net/ethernet/hisilicon/hns/hnae.h
622
ring->q->handle->bops->unmap_buffer(ring, &ring->desc_cb[i]);
drivers/net/ethernet/hisilicon/hns/hnae.h
628
struct hnae_buf_ops *bops = ring->q->handle->bops;
drivers/net/ethernet/hisilicon/hns/hnae.h
642
struct hnae_buf_ops *bops = ring->q->handle->bops;
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
137
static void hns_ae_put_handle(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
139
struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
142
for (i = 0; i < handle->q_num; i++)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
143
hns_ae_get_ring_pair(handle->qs[i])->used_by_vf = 0;
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
148
static int hns_ae_wait_flow_down(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
156
for (i = 0; i < handle->q_num; i++) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
157
ret = hns_rcb_wait_tx_ring_clean(handle->qs[i]);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
16
static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
162
ppe_cb = hns_get_ppe_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
167
dsaf_dev = hns_ae_get_dsaf_dev(handle->dev);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
170
ret = hns_dsaf_wait_pkt_clean(dsaf_dev, handle->dport_id);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
174
vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
18
struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
183
static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
185
int q_num = handle->q_num;
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
189
hns_rcb_ring_enable_hw(handle->qs[i], val);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
202
struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(q->handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
208
static int hns_ae_set_mac_address(struct hnae_handle *handle, const void *p)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
211
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
214
dev_err(handle->owner_dev, "is not valid ether addr !\n");
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
218
ret = hns_mac_change_vf_addr(mac_cb, handle->vf_id, p);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
220
dev_err(handle->owner_dev,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
228
static int hns_ae_add_uc_address(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
231
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
236
return hns_mac_add_uc_addr(mac_cb, handle->vf_id, addr);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
239
static int hns_ae_rm_uc_address(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
242
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
247
return hns_mac_rm_uc_addr(mac_cb, handle->vf_id, addr);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
250
static int hns_ae_set_multicast_one(struct hnae_handle *handle, void *addr)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
254
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
264
dev_err(handle->owner_dev,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
270
ret = hns_mac_get_inner_port_num(mac_cb, handle->vf_id, &port_num);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
276
dev_err(handle->owner_dev,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
28
static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
283
static int hns_ae_clr_multicast(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
285
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
290
return hns_mac_clr_multicast(mac_cb, handle->vf_id);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
293
static int hns_ae_set_mtu(struct hnae_handle *handle, int new_mtu)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
295
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
314
for (i = 0; i < handle->q_num; i++) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
315
q = handle->qs[i];
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
32
struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
324
static void hns_ae_set_tso_stats(struct hnae_handle *handle, int enable)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
326
struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
331
static int hns_ae_start(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
335
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
341
for (k = 0; k < handle->q_num; k++) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
343
hns_rcb_int_clr_hw(handle->qs[k],
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
346
hns_rcbv2_int_clr_hw(handle->qs[k],
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
349
hns_ae_ring_enable_all(handle, 1);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
357
static void hns_ae_stop(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
359
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
362
hns_rcb_wait_fbd_clean(handle->qs, handle->q_num, RCB_INT_FLAG_TX);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
370
hns_ae_ring_enable_all(handle, 0);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
373
hns_rcb_wait_fbd_clean(handle->qs, handle->q_num, RCB_INT_FLAG_RX);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
378
static void hns_ae_reset(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
380
struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
412
static int hns_ae_get_link_status(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
415
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
422
static int hns_ae_get_mac_info(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
425
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
430
static bool hns_ae_need_adjust_link(struct hnae_handle *handle, int speed,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
433
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
438
static void hns_ae_adjust_link(struct hnae_handle *handle, int speed,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
441
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
451
if (hns_ae_wait_flow_down(handle)) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
471
static void hns_ae_get_pauseparam(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
474
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
482
if (handle->port_type == HNAE_PORT_SERVICE)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
486
static void hns_ae_set_promisc_mode(struct hnae_handle *handle, u32 en)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
488
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
490
hns_dsaf_set_promisc_mode(hns_ae_get_dsaf_dev(handle->dev), en);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
494
static int hns_ae_set_pauseparam(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
497
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
506
if (handle->port_type == HNAE_PORT_SERVICE) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
516
static void hns_ae_get_coalesce_usecs(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
520
container_of(handle->qs[0], struct ring_pair_cb, q);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
528
static void hns_ae_get_max_coalesced_frames(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
532
container_of(handle->qs[0], struct ring_pair_cb, q);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
533
struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
536
handle->port_type == HNAE_PORT_DEBUG)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
546
static int hns_ae_set_coalesce_usecs(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
550
container_of(handle->qs[0], struct ring_pair_cb, q);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
556
static int hns_ae_set_coalesce_frames(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
561
container_of(handle->qs[0], struct ring_pair_cb, q);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
562
struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
565
handle->port_type == HNAE_PORT_DEBUG) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
586
static void hns_ae_get_coalesce_range(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
594
assert(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
596
dsaf_dev = hns_ae_get_dsaf_dev(handle->dev);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
602
handle->port_type == HNAE_PORT_DEBUG)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
617
static void hns_ae_update_stats(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
626
struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
631
dsaf_dev = hns_ae_get_dsaf_dev(handle->dev);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
635
ppe_cb = hns_get_ppe_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
636
mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
638
for (idx = 0; idx < handle->q_num; idx++) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
639
queue = handle->qs[idx];
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
700
static void hns_ae_get_stats(struct hnae_handle *handle, u64 *data)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
708
if (!handle || !data) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
713
vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
714
mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
715
ppe_cb = hns_get_ppe_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
717
for (idx = 0; idx < handle->q_num; idx++) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
718
hns_rcb_get_stats(handle->qs[idx], p);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
732
static void hns_ae_get_strings(struct hnae_handle *handle, u32 stringset,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
739
struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
742
assert(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
744
vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
746
mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
747
ppe_cb = hns_get_ppe_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
749
for (idx = 0; idx < handle->q_num; idx++)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
759
static int hns_ae_get_sset_count(struct hnae_handle *handle, int stringset)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
763
struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
765
assert(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
767
mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
769
sset_count += hns_rcb_get_ring_sset_count(stringset) * handle->q_num;
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
779
static int hns_ae_config_loopback(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
783
struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
784
struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
805
static void hns_ae_update_led_status(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
809
assert(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
810
mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
817
static int hns_ae_cpld_set_led_id(struct hnae_handle *handle,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
822
assert(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
824
mac_cb = hns_get_mac_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
829
static void hns_ae_get_regs(struct hnae_handle *handle, void *data)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
833
struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
834
struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
842
for (i = 0; i < handle->q_num; i++) {
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
843
hns_rcb_get_ring_regs(handle->qs[i], p);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
854
static int hns_ae_get_regs_len(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
857
struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
861
total_num += hns_rcb_get_ring_regs_count() * handle->q_num;
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
870
static u32 hns_ae_get_rss_key_size(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
875
static u32 hns_ae_get_rss_indir_size(struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
880
static int hns_ae_get_rss(struct hnae_handle *handle, u32 *indir, u8 *key,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
883
struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
901
static int hns_ae_set_rss(struct hnae_handle *handle, const u32 *indir,
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
904
struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle);
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h
397
struct hnae_handle *handle)
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h
399
return container_of(handle, struct hnae_vf_cb, ae_handle);
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
129
hns_ae_get_vf_cb(q->handle)->port_index);
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
476
ring_pair_cb->q.handle = NULL;
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
57
dev_err(qs[i]->handle->owner_dev,
drivers/net/ethernet/hisilicon/hns/hns_enet.c
1031
ring_data->ring->q->handle->dev->ops->toggle_ring_irq(ring, 0);
drivers/net/ethernet/hisilicon/hns/hns_enet.c
1036
ring_data->ring->q->handle->dev->ops->toggle_ring_irq(
drivers/net/ethernet/hisilicon/hns/hns_enet.c
1088
ring->q->handle->dev->ops->toggle_ring_irq(ring, 0);
drivers/net/ethernet/hisilicon/hns/hns_enet.c
1101
ring_data->ring->q->handle->dev->ops->toggle_ring_irq(
drivers/net/ethernet/hisilicon/hns/hns_enet.c
1433
struct hnae_handle *handle = priv->ae_handle;
drivers/net/ethernet/hisilicon/hns/hns_enet.c
1438
(void)hnae_reinit_handle(handle);
drivers/net/ethernet/hisilicon/hns/hns_enet.c
67
HNSV2_TXD_PORTID_S, ring->q->handle->dport_id);
drivers/net/ethernet/hisilicon/hns/hns_enet.c
741
bool coal_enable = ring->q->handle->coal_adapt_en;
drivers/net/ethernet/hisilicon/hns/hns_enet.c
752
bool coal_enable = ring->q->handle->coal_adapt_en;
drivers/net/ethernet/hisilicon/hns/hns_enet.c
802
struct hnae_handle *handle = ring->q->handle;
drivers/net/ethernet/hisilicon/hns/hns_enet.c
813
new_coal_param == handle->coal_param)
drivers/net/ethernet/hisilicon/hns/hns_enet.c
827
if (new_coal_param == handle->coal_param) {
drivers/net/ethernet/hisilicon/hns/hns_enet.c
828
handle->coal_last_jiffies = jiffies;
drivers/net/ethernet/hisilicon/hns/hns_enet.c
829
handle->coal_ring_idx = ring_data->queue_index;
drivers/net/ethernet/hisilicon/hns/hns_enet.c
830
} else if (new_coal_param > handle->coal_param ||
drivers/net/ethernet/hisilicon/hns/hns_enet.c
831
handle->coal_ring_idx == ring_data->queue_index ||
drivers/net/ethernet/hisilicon/hns/hns_enet.c
832
time_after(jiffies, handle->coal_last_jiffies + (HZ >> 4))) {
drivers/net/ethernet/hisilicon/hns/hns_enet.c
833
handle->dev->ops->set_coalesce_usecs(handle,
drivers/net/ethernet/hisilicon/hns/hns_enet.c
835
handle->dev->ops->set_coalesce_frames(handle,
drivers/net/ethernet/hisilicon/hns/hns_enet.c
837
handle->coal_param = new_coal_param;
drivers/net/ethernet/hisilicon/hns/hns_enet.c
838
handle->coal_ring_idx = ring_data->queue_index;
drivers/net/ethernet/hisilicon/hns/hns_enet.c
839
handle->coal_last_jiffies = jiffies;
drivers/net/ethernet/hisilicon/hns/hns_enet.c
904
ring_data->ring->q->handle->dev->ops->toggle_ring_irq(ring, 0);
drivers/net/ethernet/hisilicon/hns/hns_enet.c
908
if (ring->q->handle->coal_adapt_en)
drivers/net/ethernet/hisilicon/hns/hns_enet.c
913
ring_data->ring->q->handle->dev->ops->toggle_ring_irq(
drivers/net/ethernet/hisilicon/hns/hns_enet.c
931
if (ring->q->handle->coal_adapt_en)
drivers/net/ethernet/hisilicon/hns3/hnae3.h
202
struct hnae3_handle *handle;
drivers/net/ethernet/hisilicon/hns3/hnae3.h
344
(((struct hnae3_ae_dev *)hnae3_seq_file_to_ae_dev(s))->handle)
drivers/net/ethernet/hisilicon/hns3/hnae3.h
412
int (*init_instance)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
413
void (*uninit_instance)(struct hnae3_handle *handle, bool reset);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
414
void (*link_status_change)(struct hnae3_handle *handle, bool state);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
415
int (*reset_notify)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
417
void (*process_hw_error)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
441
struct hnae3_handle *handle;
drivers/net/ethernet/hisilicon/hns3/hnae3.h
615
int (*start)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
616
void (*stop)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
617
int (*client_start)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
618
void (*client_stop)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
619
int (*get_status)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
620
void (*get_ksettings_an_result)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
624
int (*cfg_mac_speed_dup_h)(struct hnae3_handle *handle, int speed,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
627
void (*get_media_type)(struct hnae3_handle *handle, u8 *media_type,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
629
int (*check_port_speed)(struct hnae3_handle *handle, u32 speed);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
630
void (*get_fec_stats)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
632
void (*get_fec)(struct hnae3_handle *handle, u8 *fec_ability,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
634
int (*set_fec)(struct hnae3_handle *handle, u32 fec_mode);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
635
void (*adjust_link)(struct hnae3_handle *handle, int speed, int duplex);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
636
int (*set_loopback)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
639
int (*set_promisc_mode)(struct hnae3_handle *handle, bool en_uc_pmc,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
641
void (*request_update_promisc_mode)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
642
int (*set_mtu)(struct hnae3_handle *handle, int new_mtu);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
644
void (*get_pauseparam)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
646
int (*set_pauseparam)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
649
int (*set_autoneg)(struct hnae3_handle *handle, bool enable);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
650
int (*get_autoneg)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
651
int (*restart_autoneg)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
652
int (*halt_autoneg)(struct hnae3_handle *handle, bool halt);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
654
void (*get_coalesce_usecs)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
656
void (*get_rx_max_coalesced_frames)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
658
int (*set_coalesce_usecs)(struct hnae3_handle *handle, u32 timeout);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
659
int (*set_coalesce_frames)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
661
void (*get_coalesce_range)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
667
void (*get_mac_addr)(struct hnae3_handle *handle, u8 *p);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
668
int (*set_mac_addr)(struct hnae3_handle *handle, const void *p,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
670
int (*do_ioctl)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
672
int (*add_uc_addr)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
674
int (*rm_uc_addr)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
676
int (*set_mc_addr)(struct hnae3_handle *handle, void *addr);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
677
int (*add_mc_addr)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
679
int (*rm_mc_addr)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
681
void (*set_tso_stats)(struct hnae3_handle *handle, int enable);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
682
void (*update_stats)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
683
void (*get_stats)(struct hnae3_handle *handle, u64 *data);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
684
void (*get_mac_stats)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
686
void (*get_strings)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
688
int (*get_sset_count)(struct hnae3_handle *handle, int stringset);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
690
void (*get_regs)(struct hnae3_handle *handle, u32 *version,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
692
int (*get_regs_len)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
694
u32 (*get_rss_key_size)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
695
int (*get_rss)(struct hnae3_handle *handle, u32 *indir, u8 *key,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
697
int (*set_rss)(struct hnae3_handle *handle, const u32 *indir,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
699
int (*set_rss_tuple)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
701
int (*get_rss_tuple)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
704
int (*get_tc_size)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
706
int (*get_vector)(struct hnae3_handle *handle, u16 vector_num,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
708
int (*put_vector)(struct hnae3_handle *handle, int vector_num);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
709
int (*map_ring_to_vector)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
712
int (*unmap_ring_from_vector)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
716
int (*reset_queue)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
717
u32 (*get_fw_version)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
718
void (*get_mdix_mode)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
721
int (*enable_vlan_filter)(struct hnae3_handle *handle, bool enable);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
722
int (*set_vlan_filter)(struct hnae3_handle *handle, __be16 proto,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
724
int (*set_vf_vlan_filter)(struct hnae3_handle *handle, int vfid,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
726
int (*enable_hw_strip_rxvtag)(struct hnae3_handle *handle, bool enable);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
727
void (*reset_event)(struct pci_dev *pdev, struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
732
void (*get_channels)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
736
int (*set_channels)(struct hnae3_handle *handle, u32 new_tqps_num,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
738
void (*get_flowctrl_adv)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
740
int (*set_led_id)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
742
void (*get_link_mode)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
745
int (*add_fd_entry)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
747
int (*del_fd_entry)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
749
int (*get_fd_rule_cnt)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
751
int (*get_fd_rule_info)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
753
int (*get_fd_all_rules)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
755
void (*enable_fd)(struct hnae3_handle *handle, bool enable);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
756
int (*add_arfs_entry)(struct hnae3_handle *handle, u16 queue_id,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
759
bool (*get_hw_reset_stat)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
760
bool (*ae_dev_resetting)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
761
unsigned long (*ae_dev_reset_cnt)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
762
int (*set_gro_en)(struct hnae3_handle *handle, bool enable);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
763
u16 (*get_global_queue_id)(struct hnae3_handle *handle, u16 queue_id);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
764
void (*set_timer_task)(struct hnae3_handle *handle, bool enable);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
765
int (*mac_connect_phy)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
766
void (*mac_disconnect_phy)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
767
int (*get_vf_config)(struct hnae3_handle *handle, int vf,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
769
int (*set_vf_link_state)(struct hnae3_handle *handle, int vf,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
771
int (*set_vf_spoofchk)(struct hnae3_handle *handle, int vf,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
773
int (*set_vf_trust)(struct hnae3_handle *handle, int vf, bool enable);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
774
int (*set_vf_rate)(struct hnae3_handle *handle, int vf,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
776
int (*set_vf_mac)(struct hnae3_handle *handle, int vf, u8 *p);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
777
int (*get_module_eeprom)(struct hnae3_handle *handle, u32 offset,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
779
bool (*get_cmdq_stat)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
780
int (*add_cls_flower)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
782
int (*del_cls_flower)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
784
bool (*cls_flower_active)(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hnae3.h
785
int (*get_phy_link_ksettings)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
787
int (*set_phy_link_ksettings)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
789
bool (*set_tx_hwts_info)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
791
void (*get_rx_hwts)(struct hnae3_handle *handle, struct sk_buff *skb,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
793
int (*get_ts_info)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
795
int (*get_link_diagnosis_info)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
798
int (*get_dscp_prio)(struct hnae3_handle *handle, u8 dscp,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
800
void (*get_wol)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
802
int (*set_wol)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
804
int (*dbg_get_read_func)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
807
int (*hwtstamp_get)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
809
int (*hwtstamp_set)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hnae3.h
827
int (*setup_tc)(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
299
int handle = 0;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
301
while (handle < num) {
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
303
*desc_to_use = desc[handle];
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
307
handle++;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
416
int handle;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
419
for (handle = 0; handle < num; handle++) {
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
420
desc[handle] = hw->cmq.csq.desc[ntc];
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
440
int handle, ret;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
455
handle = hclge_comm_cmd_csq_clean(hw);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
456
if (handle < 0)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
457
ret = handle;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
458
else if (handle != num)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
460
"cleaned %d, need to clean %d\n", handle, num);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c
194
u32 hclge_comm_get_rss_key_size(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.h
97
u32 hclge_comm_get_rss_key_size(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
10
u64 *hclge_comm_tqps_get_stats(struct hnae3_handle *handle, u64 *data)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
102
void hclge_comm_reset_tqp_stats(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
104
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
12
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
31
int hclge_comm_tqps_get_sset_count(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
33
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
39
void hclge_comm_tqps_get_strings(struct hnae3_handle *handle, u8 **data)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
41
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
58
int hclge_comm_tqps_update_stats(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.c
61
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.h
33
u64 *hclge_comm_tqps_get_stats(struct hnae3_handle *handle, u64 *data);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.h
34
int hclge_comm_tqps_get_sset_count(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.h
35
void hclge_comm_tqps_get_strings(struct hnae3_handle *handle, u8 **data);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.h
36
void hclge_comm_reset_tqp_stats(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_tqp_stats.h
37
int hclge_comm_tqps_update_stats(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c
122
void hns3_dcbnl_setup(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c
124
struct net_device *dev = handle->kinfo.netdev;
drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c
126
if ((!handle->kinfo.dcb_ops) || (handle->flags & HNAE3_SUPPORT_VF))
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
43
static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
44
static int hns3_dbg_common_init_t1(struct hnae3_handle *handle, u32 cmd);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
45
static int hns3_dbg_common_init_t2(struct hnae3_handle *handle, u32 cmd);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
640
struct hnae3_handle *h = data->handle;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
656
ring = &priv->ring[data->qid + data->handle->kinfo.num_tqps];
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
685
struct hnae3_handle *h = data->handle;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
821
struct hnae3_handle *h = data->handle;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
837
static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd)
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
845
max_queue_num = hns3_get_max_available_channels(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
846
data = devm_kcalloc(&handle->pdev->dev, max_queue_num, sizeof(*data),
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
854
data[i].handle = handle;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
865
static int hns3_dbg_common_init_t1(struct hnae3_handle *handle, u32 cmd)
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
867
struct device *dev = &handle->pdev->dev;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
901
static int hns3_dbg_common_init_t2(struct hnae3_handle *handle, u32 cmd)
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
903
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
904
struct device *dev = &handle->pdev->dev;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
912
ret = ops->dbg_get_read_func(handle, hns3_dbg_cmd[cmd].cmd, &func);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
923
int hns3_dbg_init(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
925
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
926
const char *name = pci_name(handle->pdev);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
932
handle->hnae3_dbgfs = hns3_dbg_dentry[HNS3_DBG_DENTRY_COMMON].dentry;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
937
handle->hnae3_dbgfs);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
947
dev_err(&handle->pdev->dev,
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
954
ret = hns3_dbg_cmd[i].init(handle, i);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
956
dev_err(&handle->pdev->dev, "failed to init cmd %s\n",
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
965
debugfs_remove_recursive(handle->hnae3_dbgfs);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
966
handle->hnae3_dbgfs = NULL;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
970
void hns3_dbg_uninit(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
972
debugfs_remove_recursive(handle->hnae3_dbgfs);
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
973
handle->hnae3_dbgfs = NULL;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.h
18
struct hnae3_handle *handle;
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.h
43
int (*init)(struct hnae3_handle *handle, unsigned int cmd);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1043
u32 alloc_size = ring->tqp->handle->kinfo.tx_spare_buf_size;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1095
ring->tqp->handle->kinfo.tx_spare_buf_size = 0;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1506
struct hnae3_handle *handle = tx_ring->tqp->handle;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1519
ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1522
handle->port_base_vlan_state ==
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1527
!(handle->kinfo.netdev->features & NETIF_F_HW_VLAN_CTAG_TX)) {
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1541
handle->port_base_vlan_state ==
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2588
struct hnae3_handle *handle = priv->ae_handle;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2596
handle->ae_algo->ops->update_stats(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2770
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2775
if (!handle->ae_algo->ops->set_vf_spoofchk)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2778
return handle->ae_algo->ops->set_vf_spoofchk(handle, vf, enable);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2783
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2785
if (!handle->ae_algo->ops->set_vf_trust)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
2788
return handle->ae_algo->ops->set_vf_trust(handle, vf, enable);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4020
struct hnae3_handle *handle = ring->tqp->handle;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4021
struct pci_dev *pdev = ring->tqp->handle->pdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4043
if (handle->port_base_vlan_state !=
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4050
if (handle->port_base_vlan_state !=
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4057
if (handle->port_base_vlan_state ==
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4574
struct pci_dev *pdev = tqp_vector->handle->pdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4611
struct pci_dev *pdev = tqp_vector->handle->pdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4636
struct pci_dev *pdev = tqp_vector->handle->pdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4762
tqp_vector->handle = h;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4927
struct hnae3_handle *handle = priv->ae_handle;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4940
if (handle->kinfo.tx_spare_buf_size < priv->min_tx_spare_buf_size)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4941
handle->kinfo.tx_spare_buf_size = priv->min_tx_spare_buf_size;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5260
static int hns3_client_start(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5262
if (!handle->ae_algo->ops->client_start)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5265
return handle->ae_algo->ops->client_start(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5268
static void hns3_client_stop(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5270
if (!handle->ae_algo->ops->client_stop)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5273
handle->ae_algo->ops->client_stop(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5298
struct hnae3_handle *handle = priv->ae_handle;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5321
writel(new_mode, handle->kinfo.io_base + reg);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5333
static void hns3_state_init(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5335
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5336
struct net_device *netdev = handle->kinfo.netdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5345
set_bit(HNAE3_PFLAG_LIMIT_PROMISC, &handle->supported_pflags);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5354
static void hns3_state_uninit(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5356
struct hns3_nic_priv *priv = handle->priv;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5361
static int hns3_client_init(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5363
struct pci_dev *pdev = handle->pdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5370
ae_dev->handle = handle;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5372
handle->ae_algo->ops->get_tqps_and_rss_info(handle, &alloc_tqps,
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5381
priv->ae_handle = handle;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5388
handle->msg_enable = netif_msg_init(debug, DEFAULT_MSG_LEVEL);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5390
handle->kinfo.netdev = netdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5391
handle->priv = (void *)priv;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5451
ret = hns3_client_start(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5457
hns3_dcbnl_setup(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5459
ret = hns3_dbg_init(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5468
hns3_state_init(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5476
if (netif_msg_drv(handle))
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5482
hns3_state_uninit(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5483
hns3_dbg_uninit(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5484
hns3_client_stop(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5504
static void hns3_client_uninit(struct hnae3_handle *handle, bool reset)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5506
struct net_device *netdev = handle->kinfo.netdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5512
hns3_client_stop(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5525
hns3_clear_all_ring(handle, true);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5536
hns3_dbg_uninit(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5540
static void hns3_link_status_change(struct hnae3_handle *handle, bool linkup)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5542
struct net_device *netdev = handle->kinfo.netdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5550
if (netif_msg_link(handle))
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5555
if (netif_msg_link(handle))
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5692
static int hns3_reset_notify_down_enet(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5694
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5707
static int hns3_reset_notify_up_enet(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5709
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5733
static int hns3_reset_notify_init_enet(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5735
struct net_device *netdev = handle->kinfo.netdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5772
if (!hns3_is_phys_func(handle->pdev))
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5775
ret = hns3_client_start(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5800
static int hns3_reset_notify_uninit_enet(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5802
struct net_device *netdev = handle->kinfo.netdev;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5815
hns3_clear_all_ring(handle, true);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5829
int hns3_reset_notify(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5836
ret = hns3_reset_notify_up_enet(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5839
ret = hns3_reset_notify_down_enet(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5842
ret = hns3_reset_notify_init_enet(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5845
ret = hns3_reset_notify_uninit_enet(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5854
static int hns3_change_channels(struct hnae3_handle *handle, u32 new_tqp_num,
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5859
ret = handle->ae_algo->ops->set_channels(handle, new_tqp_num,
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5862
dev_err(&handle->pdev->dev,
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5867
ret = hns3_reset_notify(handle, HNAE3_INIT_CLIENT);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5871
ret = hns3_reset_notify(handle, HNAE3_UP_CLIENT);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
5873
hns3_reset_notify(handle, HNAE3_UNINIT_CLIENT);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
6006
static void hns3_process_hw_error(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
6013
dev_err(&handle->pdev->dev, "Detected %s!\n",
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
963
void hns3_request_update_promisc_mode(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
965
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
968
ops->request_update_promisc_mode(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
554
struct hnae3_handle *handle;
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
702
#define hns3_get_ae_dev(handle) \
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
703
(pci_get_drvdata((handle)->pdev))
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
705
#define hns3_get_ops(handle) \
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
706
((handle)->ae_algo->ops)
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
739
void hns3_request_update_promisc_mode(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
740
int hns3_reset_notify(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
744
void hns3_dcbnl_setup(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
746
static inline void hns3_dcbnl_setup(struct hnae3_handle *handle) {}
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
749
int hns3_dbg_init(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
750
void hns3_dbg_uninit(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1098
struct hnae3_handle *handle = priv->ae_handle;
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1103
handle->kinfo.num_tqps * 2);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1107
for (i = 0; i < handle->kinfo.num_tqps * 2; i++) {
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1319
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1320
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1335
autoneg = ops->get_autoneg(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1342
netif_dbg(handle, drv, netdev,
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1348
return ops->restart_autoneg(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1396
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1397
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1468
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1469
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1492
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1493
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
156
struct hnae3_handle *handle;
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1669
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1670
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1671
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1676
ops->get_fec_stats(handle, fec_stats);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1720
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1721
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1722
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
173
handle = hns3_get_handle(ndev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1732
ops->get_fec(handle, &fec_ability, &fec_mode);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
174
ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1745
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1746
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1747
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1757
netif_dbg(handle, drv, netdev, "set fecparam: mode=%u\n", fec_mode);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1759
return ops->set_fec(handle, fec_mode);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1767
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1768
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1769
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1778
ret = ops->get_module_eeprom(handle, 0, sizeof(sfp_type) / sizeof(u8),
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1817
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1818
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1819
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1830
return ops->get_module_eeprom(handle, ee->offset, ee->len, data);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1835
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1837
return handle->priv_flags;
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1856
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1857
u32 changed = pflags ^ handle->priv_flags;
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1861
ret = hns3_check_priv_flags(handle, changed);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1867
bool enable = !(handle->priv_flags & BIT(i));
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1870
handle->priv_flags |= BIT(i);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
1872
handle->priv_flags &= ~BIT(i);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2046
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2048
if (handle->ae_algo->ops->get_ts_info)
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2049
return handle->ae_algo->ops->get_ts_info(handle, info);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2121
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2122
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2123
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2128
ops->get_wol(handle, wol);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2134
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2135
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2136
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
2141
return ops->set_wol(handle, wol);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
475
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
478
set_bit(HNAE3_PFLAG_LIMIT_PROMISC, &handle->priv_flags);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
480
clear_bit(HNAE3_PFLAG_LIMIT_PROMISC, &handle->priv_flags);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
482
hns3_request_update_promisc_mode(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
525
static void hns3_get_strings_tqps(struct hnae3_handle *handle, u8 **data)
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
527
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
566
static u64 *hns3_get_stats_tqps(struct hnae3_handle *handle, u64 *data)
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
568
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
569
struct hns3_nic_priv *nic_priv = handle->priv;
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
816
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
817
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
833
ops->get_ksettings_an_result(handle, &autoneg, &speed, &duplex, &lane_num);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
840
ops->get_media_type(handle, &media_type, &module_type);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
850
ret = ops->check_port_speed(handle, cmd->base.speed);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
863
struct hnae3_handle *handle = hns3_get_handle(netdev);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
864
struct hnae3_ae_dev *ae_dev = hns3_get_ae_dev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
865
const struct hnae3_ae_ops *ops = hns3_get_ops(handle);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
875
netif_dbg(handle, drv, netdev,
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
890
return ops->set_phy_link_ksettings(handle, cmd);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
901
ret = ops->set_autoneg(handle, cmd->base.autoneg);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
916
ret = ops->cfg_mac_speed_dup_h(handle, cmd->base.speed,
drivers/net/ethernet/hisilicon/hns3/hns3_trace.h
109
__string(devname, ring->tqp->handle->kinfo.netdev->name)
drivers/net/ethernet/hisilicon/hns3/hns3_trace.h
77
__string(devname, ring->tqp->handle->kinfo.netdev->name)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
2938
int hclge_dbg_get_read_func(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
2941
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10063
struct hnae3_handle *handle = &hdev->vport[0].nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10078
return hclge_set_vlan_filter(handle, htons(ETH_P_8021Q), 0, false);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10292
struct hnae3_handle *handle = &vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10298
hclge_restore_fd_entries(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10301
int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10303
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10473
static int hclge_set_vf_vlan_filter(struct hnae3_handle *handle, int vfid,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10476
struct hnae3_ae_dev *ae_dev = pci_get_drvdata(handle->pdev);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10477
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10555
int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10558
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10587
if (handle->port_base_vlan_state == HNAE3_PORT_BASE_VLAN_DISABLE) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10701
static int hclge_set_mtu(struct hnae3_handle *handle, int new_mtu)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10703
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10812
u16 hclge_covert_handle_qid_global(struct hnae3_handle *handle, u16 queue_id)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10817
queue = handle->kinfo.tqp[queue_id];
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10823
static int hclge_reset_tqp_cmd(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10825
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10833
for (i = 0; i < handle->kinfo.num_tqps; i++) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10834
queue_gid = hclge_covert_handle_qid_global(handle, i);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10874
static int hclge_reset_rcb(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10879
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10887
queue_gid = hclge_covert_handle_qid_global(handle, 0);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10893
req->fun_reset_rcb_vqid_num = cpu_to_le16(handle->kinfo.num_tqps);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10915
return hclge_reset_tqp_cmd(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10918
int hclge_reset_tqp(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10920
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10926
ret = hclge_tqp_enable(handle, false);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10934
return hclge_reset_rcb(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10937
static u32 hclge_get_fw_version(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10939
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11023
static void hclge_get_pauseparam(struct hnae3_handle *handle, u32 *auto_neg,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11026
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11031
hclge_get_autoneg(handle) : 0;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11069
static int hclge_set_pauseparam(struct hnae3_handle *handle, u32 auto_neg,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11072
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11078
fc_autoneg = hclge_get_autoneg(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11105
static void hclge_get_ksettings_an_result(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11108
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11121
static void hclge_get_media_type(struct hnae3_handle *handle, u8 *media_type,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11124
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11140
static void hclge_get_mdix_mode(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11143
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11192
struct hnae3_handle *handle = &hdev->vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11209
str_enable_disable(handle->kinfo.tc_info.dcb_ets_active));
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11211
str_enable_disable(handle->kinfo.tc_info.mqprio_active));
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11607
static struct hclge_wol_info *hclge_get_wol_info(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11609
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11687
static void hclge_get_wol(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11690
struct hclge_wol_info *wol_info = hclge_get_wol_info(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11698
static int hclge_set_wol(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11701
struct hclge_wol_info *wol_info = hclge_get_wol_info(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11702
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11998
static int hclge_set_vf_spoofchk(struct hnae3_handle *handle, int vf,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12001
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12055
static int hclge_set_vf_trust(struct hnae3_handle *handle, int vf, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12057
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12107
static int hclge_set_vf_rate(struct hnae3_handle *handle, int vf,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12110
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12136
struct hnae3_handle *handle = &hdev->vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12153
ret = hclge_set_vf_rate(handle, vf, 0,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12353
static u32 hclge_get_max_channels(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12355
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12361
static void hclge_get_channels(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12364
ch->max_combined = hclge_get_max_channels(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12367
ch->combined_count = handle->kinfo.rss_size;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12370
static void hclge_get_tqps_and_rss_info(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12373
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12380
static int hclge_set_rss_tc_mode_cfg(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12382
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12408
static int hclge_set_channels(struct hnae3_handle *handle, u32 new_tqps_num,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12411
struct hnae3_ae_dev *ae_dev = pci_get_drvdata(handle->pdev);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12412
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12429
ret = hclge_set_rss_tc_mode_cfg(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12446
ret = hclge_set_rss(handle, rss_indir, NULL, 0);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12489
static int hclge_set_led_id(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12492
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12505
static void hclge_get_link_mode(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12510
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12520
static int hclge_gro_en(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12522
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12537
struct hnae3_handle *handle = &vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12556
tmp_flags = handle->netdev_flags | vport->last_promisc_flags;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12557
ret = hclge_set_promisc_mode(handle, tmp_flags & HNAE3_UPE,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12676
static int hclge_get_module_eeprom(struct hnae3_handle *handle, u32 offset,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12679
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12704
static int hclge_get_link_diagnosis_info(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12707
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
1710
hdev->htqp[i].q.handle = &vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2643
static int hclge_cfg_mac_speed_dup_h(struct hnae3_handle *handle, int speed,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2646
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2683
static int hclge_set_autoneg(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2685
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2701
static int hclge_get_autoneg(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2703
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2713
static int hclge_restart_autoneg(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2715
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2727
static int hclge_halt_autoneg(struct hnae3_handle *handle, bool halt)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2729
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2872
static void hclge_get_fec_stats(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2875
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2917
static int hclge_set_fec(struct hnae3_handle *handle, u32 fec_mode)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2919
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2937
static void hclge_get_fec(struct hnae3_handle *handle, u8 *fec_ability,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
2940
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3093
struct hnae3_handle *handle = &hdev->vport[0].nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3115
client->ops->link_status_change(handle, state);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3310
static int hclge_get_phy_link_ksettings(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3314
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3361
hclge_set_phy_link_ksettings(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3365
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3493
static int hclge_get_status(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3495
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3523
static int hclge_get_vf_config(struct hnae3_handle *handle, int vf,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3526
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3547
static int hclge_set_vf_link_state(struct hnae3_handle *handle, int vf,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3550
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3793
struct hnae3_handle *handle = &hdev->vport[0].nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3803
ret = client->ops->reset_notify(handle, type);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3814
struct hnae3_handle *handle = &hdev->vport[0].roce;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
3824
ret = client->ops->reset_notify(handle, type);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4039
struct hnae3_handle *handle = &hdev->vport[0].nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4043
if (hclge_get_hw_reset_stat(handle)) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4439
static void hclge_reset_event(struct pci_dev *pdev, struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4741
struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4744
if (!handle->client)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4745
return container_of(handle, struct hclge_vport, nic);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4746
else if (handle->client->type == HNAE3_CLIENT_ROCE)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4747
return container_of(handle, struct hclge_vport, roce);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4749
return container_of(handle, struct hclge_vport, nic);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4776
static int hclge_get_vector(struct hnae3_handle *handle, u16 vector_num,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4779
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4817
static int hclge_put_vector(struct hnae3_handle *handle, int vector)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4819
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4835
static int hclge_get_rss(struct hnae3_handle *handle, u32 *indir,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4838
struct hnae3_ae_dev *ae_dev = pci_get_drvdata(handle->pdev);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4839
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4850
static int hclge_set_rss(struct hnae3_handle *handle, const u32 *indir,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4853
struct hnae3_ae_dev *ae_dev = pci_get_drvdata(handle->pdev);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4854
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4874
static int hclge_set_rss_tuple(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4877
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4892
static int hclge_get_rss_tuple(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4895
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4911
static int hclge_get_tc_size(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
4913
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5064
static int hclge_map_ring_to_vector(struct hnae3_handle *handle, int vector,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5067
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5081
static int hclge_unmap_ring_frm_vector(struct hnae3_handle *handle, int vector,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5084
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5093
dev_err(&handle->pdev->dev,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5100
dev_err(&handle->pdev->dev,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5111
struct hnae3_handle *handle = &vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5123
if (test_bit(HNAE3_PFLAG_LIMIT_PROMISC, &handle->priv_flags))
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5159
static int hclge_set_promisc_mode(struct hnae3_handle *handle, bool en_uc_pmc,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5162
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5171
en_bc_pmc = handle->netdev_flags & HNAE3_BPE ? true : false;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5177
static void hclge_request_update_promisc_mode(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5179
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
54
static bool hclge_get_hw_reset_stat(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
617
struct hnae3_handle *handle;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
620
handle = &hdev->vport[0].nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
621
if (handle->client) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
622
status = hclge_comm_tqps_update_stats(handle, &hdev->hw.hw);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
638
static void hclge_update_stats(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
640
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6502
static bool hclge_is_cls_flower_active(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6504
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
653
status = hclge_comm_tqps_update_stats(handle, &hdev->hw.hw);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6549
static int hclge_add_fd_entry(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6552
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6610
static int hclge_del_fd_entry(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6613
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
662
static int hclge_get_sset_count(struct hnae3_handle *handle, int stringset)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6685
static int hclge_restore_fd_entries(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6687
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
670
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6714
static int hclge_get_fd_rule_cnt(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6717
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6720
if (!hnae3_ae_dev_fd_supported(hdev->ae_dev) || hclge_is_cls_flower_active(handle))
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
681
handle->flags = (handle->flags & (~HCLGE_LOOPBACK_TEST_FLAGS));
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
687
handle->flags |= HNAE3_SUPPORT_APP_LOOPBACK;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6928
static int hclge_get_fd_rule_info(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
693
handle->flags |= HNAE3_SUPPORT_SERDES_SERIAL_LOOPBACK;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6931
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
697
handle->flags |= HNAE3_SUPPORT_SERDES_PARALLEL_LOOPBACK;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
699
handle->flags |= HNAE3_SUPPORT_EXTERNAL_LOOPBACK;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6990
static int hclge_get_all_rules(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6993
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
705
handle->flags |= HNAE3_SUPPORT_PHY_LOOPBACK;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7090
static int hclge_add_fd_entry_by_arfs(struct hnae3_handle *handle, u16 queue_id,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7093
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
710
hclge_comm_tqps_get_sset_count(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7152
struct hnae3_handle *handle = &hdev->vport[0].nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
716
static void hclge_get_strings(struct hnae3_handle *handle, u32 stringset,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7164
if (rps_may_expire_flow(handle->netdev, rule->queue_id,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
719
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
728
hclge_comm_tqps_get_strings(handle, data);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
730
if (handle->flags & HNAE3_SUPPORT_EXTERNAL_LOOPBACK) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
734
if (handle->flags & HNAE3_SUPPORT_APP_LOOPBACK) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
738
if (handle->flags & HNAE3_SUPPORT_SERDES_SERIAL_LOOPBACK) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7391
static int hclge_add_cls_flower(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7395
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
742
if (handle->flags & HNAE3_SUPPORT_SERDES_PARALLEL_LOOPBACK) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7451
static int hclge_del_cls_flower(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7454
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
746
if (handle->flags & HNAE3_SUPPORT_PHY_LOOPBACK) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
753
static void hclge_get_stats(struct hnae3_handle *handle, u64 *data)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7544
static bool hclge_get_hw_reset_stat(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7546
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
755
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7553
static bool hclge_get_cmdq_stat(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7555
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7561
static bool hclge_ae_dev_resetting(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7563
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7569
static unsigned long hclge_ae_dev_reset_cnt(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7571
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7577
static void hclge_enable_fd(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7579
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7587
hclge_restore_fd_entries(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
761
p = hclge_comm_tqps_get_stats(handle, p);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
764
static void hclge_get_mac_stat(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
767
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
770
hclge_update_stats(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7946
static int hclge_tqp_enable(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7948
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7953
for (i = 0; i < handle->kinfo.num_tqps; i++) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7961
static int hclge_set_loopback(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7964
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8005
ret = hclge_tqp_enable(handle, en);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8042
static void hclge_set_timer_task(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8044
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8058
static int hclge_ae_start(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8060
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8069
hclge_comm_reset_tqp_stats(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8076
static void hclge_ae_stop(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8078
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8100
hclge_reset_tqp(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8110
hclge_comm_reset_tqp_stats(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8145
static int hclge_client_start(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8147
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8152
static void hclge_client_stop(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8154
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8598
static int hclge_add_uc_addr(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8601
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8669
static int hclge_rm_uc_addr(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8672
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8710
static int hclge_add_mc_addr(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8713
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8774
static int hclge_rm_mc_addr(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
8777
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9233
static int hclge_set_vf_mac(struct hnae3_handle *handle, int vf,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9236
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9315
static void hclge_get_mac_addr(struct hnae3_handle *handle, u8 *p)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9317
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9367
static int hclge_set_mac_addr(struct hnae3_handle *handle, const void *p,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9371
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
944
static int hclge_check_port_speed(struct hnae3_handle *handle, u32 speed)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9446
static int hclge_do_ioctl(struct hnae3_handle *handle, struct ifreq *ifr,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9449
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
946
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9547
struct hnae3_handle *handle = &vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9558
} else if (handle->netdev_flags & HNAE3_USER_UPE) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9608
static int hclge_enable_vlan_filter(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
9610
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
1116
struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
1131
int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
1133
int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
1139
int hclge_reset_tqp(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
1145
int hclge_dbg_get_read_func(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
1147
u16 hclge_covert_handle_qid_global(struct hnae3_handle *handle, u16 queue_id);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
337
struct hnae3_handle *handle = &vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
345
set_bit(HNAE3_PFLAG_LIMIT_PROMISC, &handle->priv_flags);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
348
&handle->priv_flags);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
442
struct hnae3_handle *handle = &vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
453
return hclge_set_vlan_filter(handle, proto, vlan_id,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
456
return hclge_en_hw_strip_rxvtag(handle, msg_cmd->enable);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
627
struct hnae3_handle *handle = &vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
642
ret = hclge_reset_tqp(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
728
struct hnae3_handle *handle = &vport->nic;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
733
if (queue_id >= handle->kinfo.num_tqps) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c
202
int hclge_mac_connect_phy(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c
204
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c
242
void hclge_mac_disconnect_phy(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c
244
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h
12
int hclge_mac_connect_phy(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h
13
void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
106
void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
109
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
207
int hclge_ptp_get_cfg(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
210
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
366
int hclge_ptp_set_cfg(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
370
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
388
int hclge_ptp_get_ts_info(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
391
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
56
bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c
58
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h
132
bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h
134
void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h
136
int hclge_ptp_get_cfg(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h
138
int hclge_ptp_set_cfg(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.h
143
int hclge_ptp_get_ts_info(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
583
int hclge_get_regs_len(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
585
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
586
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
620
void hclge_get_regs(struct hnae3_handle *handle, u32 *version,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
625
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
626
struct hclge_vport *vport = hclge_get_vport(handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.h
14
int hclge_get_regs_len(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.h
15
void hclge_get_regs(struct hnae3_handle *handle, u32 *version,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
100
struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1001
static int hclgevf_rm_uc_addr(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1004
return hclgevf_update_mac_list(handle, HCLGEVF_MAC_TO_DEL,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1008
static int hclgevf_add_mc_addr(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1011
return hclgevf_update_mac_list(handle, HCLGEVF_MAC_TO_ADD,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1015
static int hclgevf_rm_mc_addr(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1018
return hclgevf_update_mac_list(handle, HCLGEVF_MAC_TO_DEL,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
102
if (!handle->client)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
103
return container_of(handle, struct hclgevf_dev, nic);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
104
else if (handle->client->type == HNAE3_CLIENT_ROCE)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
105
return container_of(handle, struct hclgevf_dev, roce);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
107
return container_of(handle, struct hclgevf_dev, nic);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
110
static void hclgevf_update_stats(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
112
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
115
status = hclge_comm_tqps_update_stats(handle, &hdev->hw.hw);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1206
static int hclgevf_enable_vlan_filter(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1208
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
122
static int hclgevf_get_sset_count(struct hnae3_handle *handle, int strset)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1222
static int hclgevf_set_vlan_filter(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1226
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
127
return hclge_comm_tqps_get_sset_count(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1270
struct hnae3_handle *handle = &hdev->nic;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1280
ret = hclgevf_set_vlan_filter(handle, htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1305
static int hclgevf_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1307
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1318
static int hclgevf_reset_tqp(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
132
static void hclgevf_get_strings(struct hnae3_handle *handle, u32 strset,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1321
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1328
ret = hclgevf_tqp_enable(handle, false);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1342
for (i = 1; i < handle->kinfo.num_tqps; i++) {
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1353
static int hclgevf_set_mtu(struct hnae3_handle *handle, int new_mtu)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1355
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
136
hclge_comm_tqps_get_strings(handle, data);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1370
struct hnae3_handle *handle = &hdev->nic;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1380
ret = client->ops->reset_notify(handle, type);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
139
static void hclgevf_get_stats(struct hnae3_handle *handle, u64 *data)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1392
struct hnae3_handle *handle = &hdev->roce;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1401
ret = client->ops->reset_notify(handle, type);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
141
hclge_comm_tqps_get_stats(handle, data);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1694
struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1790
static u32 hclgevf_get_fw_version(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1792
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1937
struct hnae3_handle *handle = &hdev->nic;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1962
hclge_comm_tqps_update_stats(handle, &hdev->hw.hw);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2249
static void hclgevf_set_timer_task(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2251
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2263
static int hclgevf_ae_start(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2265
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2270
hclge_comm_reset_tqp_stats(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2279
static void hclgevf_ae_stop(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2281
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2286
hclgevf_reset_tqp(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2288
hclge_comm_reset_tqp_stats(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2292
static int hclgevf_set_alive(struct hnae3_handle *handle, bool alive)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2297
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2306
static int hclgevf_client_start(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2308
return hclgevf_set_alive(handle, true);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2311
static void hclgevf_client_stop(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2313
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2316
ret = hclgevf_set_alive(handle, false);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
259
static u16 hclgevf_get_qid_global(struct hnae3_handle *handle, u16 queue_id)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
261
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3110
static void hclgevf_get_channels(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3113
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3118
ch->combined_count = handle->kinfo.rss_size;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3121
static void hclgevf_get_tqps_and_rss_info(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3124
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3130
static void hclgevf_update_rss_size(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3133
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3134
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3155
static int hclgevf_set_channels(struct hnae3_handle *handle, u32 new_tqps_num,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3158
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3159
struct hnae3_knic_private_info *kinfo = &handle->kinfo;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3169
hclgevf_update_rss_size(handle, new_tqps_num);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3193
ret = hclgevf_set_rss(handle, rss_indir, NULL, 0);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3210
static int hclgevf_get_status(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3212
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3217
static void hclgevf_get_ksettings_an_result(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3221
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3238
static int hclgevf_gro_en(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3240
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3252
static void hclgevf_get_media_type(struct hnae3_handle *handle, u8 *media_type,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3255
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3264
static bool hclgevf_get_hw_reset_stat(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3266
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3271
static bool hclgevf_get_cmdq_stat(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3273
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3278
static bool hclgevf_ae_dev_resetting(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3280
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3285
static unsigned long hclgevf_ae_dev_reset_cnt(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3287
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3292
static void hclgevf_get_link_mode(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
3296
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
377
hdev->htqp[i].q.handle = &hdev->nic;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
407
struct hnae3_handle *handle = &hdev->nic;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
414
client = handle->client;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
421
client->ops->link_status_change(handle, !!link_state);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
475
static int hclgevf_get_vector(struct hnae3_handle *handle, u16 vector_num,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
478
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
558
static int hclgevf_get_rss(struct hnae3_handle *handle, u32 *indir, u8 *key,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
561
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
585
static int hclgevf_set_rss(struct hnae3_handle *handle, const u32 *indir,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
588
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
608
static int hclgevf_set_rss_tuple(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
611
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
626
static int hclgevf_get_rss_tuple(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
629
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
648
static int hclgevf_get_tc_size(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
650
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
656
static int hclgevf_bind_ring_to_vector(struct hnae3_handle *handle, bool en,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
660
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
700
static int hclgevf_map_ring_to_vector(struct hnae3_handle *handle, int vector,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
703
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
708
dev_err(&handle->pdev->dev,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
713
return hclgevf_bind_ring_to_vector(handle, true, vector_id, ring_chain);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
717
struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
721
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
729
dev_err(&handle->pdev->dev,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
734
ret = hclgevf_bind_ring_to_vector(handle, false, vector_id, ring_chain);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
736
dev_err(&handle->pdev->dev,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
744
static int hclgevf_put_vector(struct hnae3_handle *handle, int vector)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
746
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
751
dev_err(&handle->pdev->dev,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
766
struct hnae3_handle *handle = &hdev->nic;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
776
&handle->priv_flags) ? 1 : 0;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
786
static int hclgevf_set_promisc_mode(struct hnae3_handle *handle, bool en_uc_pmc,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
789
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
798
static void hclgevf_request_update_promisc_mode(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
800
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
808
struct hnae3_handle *handle = &hdev->nic;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
809
bool en_uc_pmc = handle->netdev_flags & HNAE3_UPE;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
810
bool en_mc_pmc = handle->netdev_flags & HNAE3_MPE;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
814
ret = hclgevf_set_promisc_mode(handle, en_uc_pmc, en_mc_pmc);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
837
static int hclgevf_tqp_enable(struct hnae3_handle *handle, bool enable)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
839
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
843
for (i = 0; i < handle->kinfo.num_tqps; i++) {
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
872
static void hclgevf_get_mac_addr(struct hnae3_handle *handle, u8 *p)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
874
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
887
static int hclgevf_set_mac_addr(struct hnae3_handle *handle, const void *p,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
890
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
950
static int hclgevf_update_mac_list(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
955
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
994
static int hclgevf_add_uc_addr(struct hnae3_handle *handle,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
997
return hclgevf_update_mac_list(handle, HCLGEVF_MAC_TO_ADD,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h
299
struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.c
107
int hclgevf_get_regs_len(struct hnae3_handle *handle)
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.c
109
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.c
123
void hclgevf_get_regs(struct hnae3_handle *handle, u32 *version,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.c
128
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.h
10
int hclgevf_get_regs_len(struct hnae3_handle *handle);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.h
11
void hclgevf_get_regs(struct hnae3_handle *handle, u32 *version,
drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c
639
static void cmdq_ceq_handler(void *handle, u32 ceqe_data)
drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c
642
struct hinic_cmdqs *cmdqs = (struct hinic_cmdqs *)handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
529
enum hinic_mgmt_msg_cmd cmd, void *handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
530
void (*handler)(void *handle, void *buf_in,
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
544
nic_cb->handle = handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
586
static void nic_mgmt_msg_handler(void *handle, u8 cmd, void *buf_in,
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
589
struct hinic_pfhwdev *pfhwdev = handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
616
nic_cb->handler(nic_cb->handle, buf_in,
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
663
static void comm_mgmt_msg_handler(void *handle, u8 cmd, void *buf_in,
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c
666
struct hinic_pfhwdev *pfhwdev = handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
440
void (*handler)(void *handle, void *buf_in,
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
444
void *handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
450
typedef void (*comm_mgmt_self_msg_proc)(void *handle, void *buf_in, u16 in_size,
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
611
enum hinic_mgmt_msg_cmd cmd, void *handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
612
void (*handler)(void *handle, void *buf_in,
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
112
enum hinic_aeq_type event, void *handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
113
void (*hwe_handler)(void *handle, void *data,
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
119
hwe_cb->handle = handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
149
enum hinic_ceq_type event, void *handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
150
void (*handler)(void *handle, u32 ceqe_data))
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
155
ceq_cb->handle = handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
259
hwe_cb->hwe_handler(hwe_cb->handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c
303
ceq_cb->handler(ceq_cb->handle, CEQE_DATA(ceqe));
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h
200
void (*hwe_handler)(void *handle, void *data, u8 size);
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h
201
void *handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h
217
void (*handler)(void *handle, u32 ceqe_data);
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h
218
void *handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h
232
enum hinic_aeq_type event, void *handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h
233
void (*hwe_handler)(void *handle, void *data,
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h
240
enum hinic_ceq_type event, void *handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h
241
void (*ceq_cb)(void *handle, u32 ceqe_data));
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
1364
static int comm_pf_mbox_handler(void *handle, u16 vf_id, u8 cmd, void *buf_in,
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
1368
struct hinic_hwdev *hwdev = handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
1374
if (!hinic_mbox_check_cmd_valid(handle, hw_cmd_support_vf, vf_id, cmd,
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
619
static void hinic_mbox_func_aeqe_handler(void *handle, void *header, u8 size)
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
626
func_to_func = ((struct hinic_hwdev *)handle)->func_to_func;
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
647
static void hinic_mbox_self_aeqe_handler(void *handle, void *header, u8 size)
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.c
652
func_to_func = ((struct hinic_hwdev *)handle)->func_to_func;
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.h
65
typedef void (*hinic_vf_mbox_cb)(void *handle, u8 cmd, void *buf_in,
drivers/net/ethernet/huawei/hinic/hinic_hw_mbox.h
67
typedef int (*hinic_pf_mbox_cb)(void *handle, u16 vf_id, u8 cmd, void *buf_in,
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c
415
mgmt_cb->cb(mgmt_cb->handle, mgmt_work->cmd,
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c
528
static void mgmt_msg_aeqe_handler(void *handle, void *data, u8 size)
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c
530
struct hinic_pf_to_mgmt *pf_to_mgmt = handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c
83
void *handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c
84
void (*callback)(void *handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c
92
mgmt_cb->handle = handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h
121
void (*cb)(void *handle, u8 cmd,
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h
125
void *handle;
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h
162
void *handle,
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h
163
void (*callback)(void *handle,
drivers/net/ethernet/huawei/hinic/hinic_main.c
1016
static void cable_plug_event(void *handle,
drivers/net/ethernet/huawei/hinic/hinic_main.c
1021
struct hinic_dev *nic_dev = handle;
drivers/net/ethernet/huawei/hinic/hinic_main.c
1030
static void link_err_event(void *handle,
drivers/net/ethernet/huawei/hinic/hinic_main.c
1035
struct hinic_dev *nic_dev = handle;
drivers/net/ethernet/huawei/hinic/hinic_main.c
966
static void link_status_event_handler(void *handle, void *buf_in, u16 in_size,
drivers/net/ethernet/huawei/hinic/hinic_main.c
970
struct hinic_dev *nic_dev = handle;
drivers/net/ethernet/ibm/ehea/ehea.h
311
u64 handle;
drivers/net/ethernet/ibm/ehea/ehea.h
380
u64 handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
1076
hret = ehea_h_modify_ehea_port(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
1082
hret = ehea_h_query_ehea_port(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
1239
ehea_h_reset_events(adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
1379
hret = ehea_h_modify_ehea_port(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
1691
hret = ehea_h_reg_dereg_bcmc(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
1703
hret = ehea_h_reg_dereg_bcmc(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
1739
hret = ehea_h_modify_ehea_port(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
1803
hret = ehea_h_modify_ehea_port(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
1826
hret = ehea_h_reg_dereg_bcmc(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
1836
hret = ehea_h_reg_dereg_bcmc(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
196
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
198
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
200
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
202
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
204
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
205
arr[i++].fwh = pr->send_mr.handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
206
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
207
arr[i++].fwh = pr->recv_mr.handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
209
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
2105
hret = ehea_h_query_ehea_port(adapter->handle, port->logical_port_id,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2116
hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id,
drivers/net/ethernet/ibm/ehea/ehea_main.c
214
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
2143
hret = ehea_h_query_ehea_port(adapter->handle, port->logical_port_id,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2154
hret = ehea_h_modify_ehea_port(adapter->handle, port->logical_port_id,
drivers/net/ethernet/ibm/ehea/ehea_main.c
217
if (adapter->mr.handle) {
drivers/net/ethernet/ibm/ehea/ehea_main.c
2179
hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
218
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
2187
hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
219
arr[i++].fwh = adapter->mr.handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
2195
hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2203
hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2211
hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2219
hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2227
hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2535
hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2546
hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2555
hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2640
hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2652
hret = ehea_h_modify_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2662
hret = ehea_h_query_ehea_qp(adapter->handle, 0, qp->fw_handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
275
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
281
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
2815
hret = ehea_h_query_ehea(adapter->handle, cb);
drivers/net/ethernet/ibm/ehea/ehea_main.c
2846
hret = ehea_h_query_ehea_port(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
2856
handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
293
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
301
arr[i].adh = adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
3394
adapter->handle = *adapter_handle;
drivers/net/ethernet/ibm/ehea/ehea_main.c
3396
if (!adapter->handle) {
drivers/net/ethernet/ibm/ehea/ehea_main.c
362
hret = ehea_h_query_ehea_port(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_main.c
987
hret = ehea_h_query_ehea_port(port->adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_phyp.c
449
mr->handle = outs[0];
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
127
hret = ehea_h_alloc_resource_cq(adapter->handle, &cq->attr,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
147
hret = ehea_h_register_rpage(adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
183
ehea_h_free_resource(adapter->handle, cq->fw_handle, FORCE_FREE);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
195
u64 adapter_handle = cq->adapter->handle;
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
248
hret = ehea_h_alloc_resource_eq(adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
272
hret = ehea_h_register_rpage(adapter->handle, 0,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
296
ehea_h_free_resource(adapter->handle, eq->fw_handle, FORCE_FREE);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
322
hret = ehea_h_free_resource(eq->adapter->handle, eq->fw_handle, force);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
376
hret = ehea_h_register_rpage(adapter->handle,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
413
hret = ehea_h_alloc_resource_qp(adapter->handle, init_attr, pd,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
482
ehea_h_disable_and_get_hea(adapter->handle, qp->fw_handle);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
483
ehea_h_free_resource(adapter->handle, qp->fw_handle, FORCE_FREE);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
496
ehea_h_disable_and_get_hea(qp->adapter->handle, qp->fw_handle);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
497
hret = ehea_h_free_resource(qp->adapter->handle, qp->fw_handle, force);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
807
hret = ehea_h_register_rpage_mr(adapter->handle, mr->handle, 0,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
812
ehea_h_free_resource(adapter->handle, mr->handle,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
873
hret = ehea_h_alloc_resource_mr(adapter->handle, EHEA_BUSMAP_START,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
875
&mr->handle, &mr->lkey);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
884
ehea_h_free_resource(adapter->handle, mr->handle, FORCE_FREE);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
900
ehea_h_free_resource(adapter->handle, mr->handle, FORCE_FREE);
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
921
hret = ehea_h_free_resource(mr->adapter->handle, mr->handle,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
936
hret = ehea_h_register_smr(adapter->handle, old_mr->handle,
drivers/net/ethernet/ibm/ehea/ehea_qmr.c
984
ret = ehea_h_error_data(adapter->handle, res_handle, rblock);
drivers/net/ethernet/ibm/ibmvnic.c
2375
u64 handle;
drivers/net/ethernet/ibm/ibmvnic.c
2381
handle = tx_scrq->handle;
drivers/net/ethernet/ibm/ibmvnic.c
2387
rc = send_subcrq_indirect(adapter, handle, dma_addr, entries);
drivers/net/ethernet/ibm/ibmvnic.c
2389
rc = send_subcrq_direct(adapter, handle,
drivers/net/ethernet/ibm/ibmvnic.c
2395
rc, entries, &dma_addr, handle);
drivers/net/ethernet/ibm/ibmvnic.c
5651
adapter->tx_scrq[i]->handle = tx_handle_array[i];
drivers/net/ethernet/ibm/ibmvnic.c
5654
adapter->rx_scrq[i]->handle = rx_handle_array[i];
drivers/net/ethernet/ibm/ibmvnic.c
774
u64 handle = adapter->rx_scrq[pool->index]->handle;
drivers/net/ethernet/ibm/ibmvnic.c
860
send_subcrq_indirect(adapter, handle,
drivers/net/ethernet/ibm/ibmvnic.h
833
u64 handle;
drivers/net/ethernet/intel/iavf/iavf_main.c
4310
fltr->cls_u32_handle = cls_u32->knode.handle;
drivers/net/ethernet/intel/iavf/iavf_main.c
4328
return iavf_fdir_del_fltr(adapter, true, cls_u32->knode.handle);
drivers/net/ethernet/intel/iavf/iavf_main.c
5070
if (shaper->handle.scope == NET_SHAPER_SCOPE_QUEUE) {
drivers/net/ethernet/intel/iavf/iavf_main.c
5074
shaper->bw_max, shaper->handle.id,
drivers/net/ethernet/intel/iavf/iavf_main.c
5088
const struct net_shaper_handle *handle = &shaper->handle;
drivers/net/ethernet/intel/iavf/iavf_main.c
5094
if (handle->id >= adapter->num_active_queues)
drivers/net/ethernet/intel/iavf/iavf_main.c
5101
tx_ring = &adapter->tx_rings[handle->id];
drivers/net/ethernet/intel/iavf/iavf_main.c
5113
const struct net_shaper_handle *handle,
drivers/net/ethernet/intel/iavf/iavf_main.c
5121
if (handle->id >= adapter->num_active_queues)
drivers/net/ethernet/intel/iavf/iavf_main.c
5124
tx_ring = &adapter->tx_rings[handle->id];
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
1476
__le16 handle;
drivers/net/ethernet/intel/ice/ice_common.c
432
*node_handle = le16_to_cpu(resp->addr.handle);
drivers/net/ethernet/intel/ice/ice_common.c
6082
le16_to_cpu(cmd->addr.handle);
drivers/net/ethernet/intel/ice/ice_common.c
6100
u16 handle;
drivers/net/ethernet/intel/ice/ice_common.c
6105
err = ice_get_pca9575_handle(hw, &handle);
drivers/net/ethernet/intel/ice/ice_common.c
6109
link_topo.handle = cpu_to_le16(handle);
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
4775
u16 handle;
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
4778
status = ice_get_pca9575_handle(hw, &handle);
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
4787
status = ice_aq_get_gpio(hw, handle, i + ICE_PCA9575_P1_OFFSET,
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
4808
u16 handle;
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
4811
status = ice_get_pca9575_handle(hw, &handle);
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
4819
status = ice_aq_set_gpio(hw, handle, i + ICE_PCA9575_P1_OFFSET,
drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c
2265
*node_handle = le16_to_cpu(resp->addr.handle);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
10012
u32 uhtid = TC_U32_USERHTID(cls->hnode.handle);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
10030
u32 uhtid = TC_U32_USERHTID(cls->hnode.handle);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
10202
u32 loc = cls->knode.handle & 0xfffff;
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
10212
uhtid = TC_U32_USERHTID(cls->knode.handle);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
10299
jump->link_hdl = cls->knode.handle;
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
9955
u32 hdl = cls->knode.handle;
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
9956
u32 uhtid = TC_U32_USERHTID(cls->knode.handle);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
9957
u32 loc = cls->knode.handle & 0xfffff;
drivers/net/ethernet/intel/ixgbe/ixgbe_type_e610.h
590
__le16 handle;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
103
mlx5e_tc_act_stats_del_flow(struct mlx5e_tc_act_stats_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
115
struct rhashtable *ht = &handle->ht;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
117
spin_lock(&handle->ht_lock);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
126
spin_unlock(&handle->ht_lock);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
132
mlx5e_tc_act_stats_add_flow(struct mlx5e_tc_act_stats_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
153
err = mlx5e_tc_act_stats_add(handle, attr->tc_act_cookies[i], curr_counter);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
162
mlx5e_tc_act_stats_del_flow(handle, flow);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
167
mlx5e_tc_act_stats_fill_stats(struct mlx5e_tc_act_stats_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
170
struct rhashtable *ht = &handle->ht;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
36
struct mlx5e_tc_act_stats_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
39
handle = kvzalloc_obj(*handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
40
if (!handle)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
43
err = rhashtable_init(&handle->ht, &act_counters_ht_params);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
47
spin_lock_init(&handle->ht_lock);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
48
return handle;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
50
kvfree(handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
54
void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
56
rhashtable_destroy(&handle->ht);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
57
kvfree(handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
61
mlx5e_tc_act_stats_add(struct mlx5e_tc_act_stats_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c
66
struct rhashtable *ht = &handle->ht;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.h
13
void mlx5e_tc_act_stats_free(struct mlx5e_tc_act_stats_handle *handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.h
16
mlx5e_tc_act_stats_add_flow(struct mlx5e_tc_act_stats_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.h
20
mlx5e_tc_act_stats_del_flow(struct mlx5e_tc_act_stats_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.h
24
mlx5e_tc_act_stats_fill_stats(struct mlx5e_tc_act_stats_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
114
struct mlx5e_post_act_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
120
handle = kzalloc_obj(*handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
121
if (!handle)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
132
handle->ns_type = post_act->ns_type;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
134
if (handle->ns_type == MLX5_FLOW_NAMESPACE_FDB)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
137
err = xa_alloc(&post_act->ids, &handle->id, post_attr,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
142
handle->attr = post_attr;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
144
return handle;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
147
kfree(handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
153
struct mlx5e_post_act_handle *handle)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
155
mlx5e_tc_rule_unoffload(post_act->priv, handle->rule, handle->attr);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
156
handle->rule = NULL;
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
160
mlx5e_tc_post_act_del(struct mlx5e_post_act *post_act, struct mlx5e_post_act_handle *handle)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
162
if (!IS_ERR_OR_NULL(handle->rule))
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
163
mlx5e_tc_post_act_unoffload(post_act, handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
164
xa_erase(&post_act->ids, handle->id);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
165
kfree(handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
177
struct mlx5e_post_act_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
180
return mlx5e_tc_match_to_reg_set(dev, acts, handle->ns_type, FTEID_TO_REG, handle->id);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
81
struct mlx5e_post_act_handle *handle)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
94
mlx5e_tc_match_to_reg_match(spec, FTEID_TO_REG, handle->id, MLX5_POST_ACTION_MASK);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
96
handle->rule = mlx5e_tc_rule_offload(post_act->priv, spec, handle->attr);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
97
if (IS_ERR(handle->rule)) {
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
98
err = PTR_ERR(handle->rule);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.h
25
mlx5e_tc_post_act_del(struct mlx5e_post_act *post_act, struct mlx5e_post_act_handle *handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.h
29
struct mlx5e_post_act_handle *handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.h
33
struct mlx5e_post_act_handle *handle);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.h
40
struct mlx5e_post_act_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
1789
struct mlx5e_post_act_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
1804
handle = mlx5e_tc_post_act_add(post_act, attr2);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
1805
if (IS_ERR(handle)) {
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
1806
err = PTR_ERR(handle);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
1823
err = mlx5e_tc_post_act_offload(post_act, handle);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
1827
err = mlx5e_tc_post_act_set_handle(flow->priv->mdev, handle,
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
1836
attr2->post_act_handle = handle;
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
1841
mlx5e_tc_post_act_unoffload(post_act, handle);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
1843
mlx5e_tc_post_act_del(post_act, handle);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3798
struct mlx5e_post_act_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3830
handle = mlx5e_tc_post_act_add(post_act, attr);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3831
if (IS_ERR(handle)) {
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3832
err = PTR_ERR(handle);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3836
attr->post_act_handle = handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1353
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1390
handle = peer ?
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1395
if (IS_ERR(handle)) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1396
err = PTR_ERR(handle);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1401
entry->ingress_handle = handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1404
handle = mlx5_esw_bridge_ingress_filter_flow_create(vport_num, addr, bridge);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1405
if (IS_ERR(handle)) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1406
err = PTR_ERR(handle);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1411
entry->filter_handle = handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1414
handle = mlx5_esw_bridge_egress_flow_create(vport_num, esw_owner_vhca_id, addr, vlan,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1416
if (IS_ERR(handle)) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1417
err = PTR_ERR(handle);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1422
entry->egress_handle = handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
586
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
635
handle = mlx5_add_flow_rules(br_offloads->ingress_ft, rule_spec, &flow_act, dests,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
639
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
661
static struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
674
handle = ERR_PTR(-ENODEV);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
678
handle = mlx5_esw_bridge_ingress_flow_with_esw_create(vport_num, addr, vlan, counter,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
683
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
700
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
733
handle = mlx5_add_flow_rules(br_offloads->ingress_ft, rule_spec, &flow_act, &dest, 1);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
736
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
753
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
800
handle = mlx5_add_flow_rules(bridge->egress_ft, rule_spec, &flow_act, &dest, 1);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
803
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
822
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
835
handle = mlx5_add_flow_rules(egress_ft, rule_spec, &flow_act, &dest, 1);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
838
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
111
handle = mlx5_add_flow_rules(bridge->egress_ft, rule_spec, &flow_act, dests, num_dests);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
115
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
122
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
124
handle = mlx5_esw_bridge_mdb_flow_create(port->esw_owner_vhca_id, entry, port->bridge);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
129
if (IS_ERR(handle))
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
130
return PTR_ERR(handle);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
132
entry->egress_handle = handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
517
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
530
handle = mlx5_add_flow_rules(port->mcast.ft, rule_spec, &flow_act, NULL, 0);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
533
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
547
static struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
560
handle = ERR_PTR(-ENODEV);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
564
handle = mlx5_esw_bridge_mcast_flow_with_esw_create(port, peer_esw);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
568
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
585
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
615
handle = mlx5_add_flow_rules(port->mcast.ft, rule_spec, &flow_act, &dest, 1);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
618
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
624
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
629
handle = mlx5_esw_bridge_mcast_vlan_flow_create(vlan_proto, port, vlan);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
630
if (IS_ERR(handle))
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
631
return PTR_ERR(handle);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
633
vlan->mcast_handle = handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
64
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
657
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
668
handle = mlx5_add_flow_rules(port->mcast.ft, rule_spec, &flow_act, &dest, 1);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
671
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
891
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
904
handle = mlx5_add_flow_rules(ingress_ft, rule_spec, &flow_act, &dest, 1);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
907
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
923
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
936
handle = mlx5_add_flow_rules(ingress_ft, rule_spec, &flow_act, &dest, 1);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
939
return handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c
105
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c
146
handle = mlx5_add_flow_rules(e->ft, NULL, &flow_act, &dest, 1);
drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c
147
if (IS_ERR(handle)) {
drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c
148
err = PTR_ERR(handle);
drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c
153
rule->handle = handle;
drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c
183
mlx5_del_flow_rules(rule->handle);
drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c
24
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1239
int mlx5_modify_rule_destination(struct mlx5_flow_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1246
if (handle->num_rules != 1)
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1248
return _mlx5_modify_rule_destination(handle->rule[0],
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1252
for (i = 0; i < handle->num_rules; i++) {
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1253
if (mlx5_flow_dests_cmp(old_dest, &handle->rule[i]->dest_attr))
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1254
return _mlx5_modify_rule_destination(handle->rule[i],
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1549
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1551
handle = kzalloc_flex(*handle, rule, num_rules);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1552
if (!handle)
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1555
handle->num_rules = num_rules;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1557
return handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1560
static void destroy_flow_handle_dup(struct mlx5_flow_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1564
list_del(&handle->rule[i]->node.list);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1565
kfree(handle->rule[i]);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1567
kfree(handle);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1571
struct mlx5_flow_handle *handle,
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1576
if (refcount_dec_and_test(&handle->rule[i]->node.refcount)) {
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1578
list_del(&handle->rule[i]->node.list);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1579
kfree(handle->rule[i]);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1582
kfree(handle);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1594
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1598
handle = alloc_handle((dest_num) ? dest_num : 1);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1599
if (!handle)
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1627
handle->rule[i] = rule;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1630
return handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1633
destroy_flow_handle_dup(handle, i);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1647
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1654
handle = alloc_handle((dest_num) ? dest_num : 1);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1655
if (!handle)
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1692
handle->rule[i] = rule;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1695
return handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1698
destroy_flow_handle(fte, handle, dest, i);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1711
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1717
handle = create_flow_handle(fte, dest, dest_num, &modify_mask,
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1719
if (IS_ERR(handle) || !new_rule)
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1739
return handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1742
destroy_flow_handle(fte, handle, dest, handle->num_rules);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
1992
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2003
handle = add_rule_fte(fte, fg, dest, dest_num,
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2005
if (IS_ERR(handle)) {
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2007
return handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2012
for (i = 0; i < handle->num_rules; i++) {
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2013
if (!handle->rule[i]->node.parent) {
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2014
tree_add_node(&handle->rule[i]->node, &fte->node);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2015
trace_mlx5_fs_add_rule(handle->rule[i]);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2018
return handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2176
struct mlx5_flow_handle *handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2205
handle = create_flow_handle_dup(&fte->dup->children,
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2208
if (!handle)
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2211
for (i = 0; i < handle->num_rules; i++) {
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2212
tree_add_node(&handle->rule[i]->node, &fte->node);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2213
trace_mlx5_fs_add_rule(handle->rule[i]);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2216
return handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2454
struct mlx5_flow_handle *handle = NULL;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2470
handle = ERR_PTR(-EOPNOTSUPP);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2476
handle = ERR_PTR(-ENOMEM);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2489
handle = _mlx5_add_flow_rules(ft, spec, flow_act, dest, num_dest);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2490
if (IS_ERR(handle))
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2493
if (list_empty(&handle->rule[num_dest - 1]->next_ft)) {
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2495
list_add(&handle->rule[num_dest - 1]->next_ft,
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2498
handle->rule[num_dest - 1]->sw_action = sw_action;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2499
handle->rule[num_dest - 1]->ft = ft;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2504
return handle;
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2508
void mlx5_del_flow_rules(struct mlx5_flow_handle *handle)
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2525
fs_get_obj(fte, handle->rule[0]->node.parent);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2527
for (i = handle->num_rules - 1; i >= 0; i--)
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2528
tree_remove_node(&handle->rule[i]->node, true);
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
2540
kfree(handle);
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1021
mlxsw_sp_qdisc_tbf_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1033
err = mlxsw_sp_qdisc_future_fifo_replace(mlxsw_sp_port, handle, 0,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1093
return mlxsw_sp_qdisc_replace(mlxsw_sp_port, p->handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1098
if (!mlxsw_sp_qdisc_compare(mlxsw_sp_qdisc, p->handle))
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
112
mlxsw_sp_qdisc_compare(struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, u32 handle)
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1135
mlxsw_sp_qdisc_fifo_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
114
return mlxsw_sp_qdisc->ops && mlxsw_sp_qdisc->handle == handle;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1162
u32 handle, unsigned int band,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1167
if (handle == qdisc_state->future_handle &&
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1178
u32 handle)
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1182
qdisc_state->future_handle = handle;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1195
if (!mlxsw_sp_qdisc && p->handle == TC_H_UNSPEC) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1217
return mlxsw_sp_qdisc_replace(mlxsw_sp_port, p->handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1222
if (!mlxsw_sp_qdisc_compare(mlxsw_sp_qdisc, p->handle))
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1321
u32 handle, unsigned int nbands,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1382
err = mlxsw_sp_qdisc_future_fifo_replace(mlxsw_sp_port, handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1404
mlxsw_sp_qdisc_prio_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1412
handle, p->bands, zeroes,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
151
if (qdisc->ops && TC_H_MAJ(qdisc->handle) == TC_H_MAJ(parent)) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1550
mlxsw_sp_qdisc_ets_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1557
handle, p->bands, p->quanta,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1626
mlxsw_sp_qdisc->qdiscs[band].handle == child_handle)
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1644
parent = TC_H_MAKE(mlxsw_sp_qdisc->handle, band + 1);
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1663
return mlxsw_sp_qdisc_replace(mlxsw_sp_port, p->handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1668
if (!mlxsw_sp_qdisc_compare(mlxsw_sp_qdisc, p->handle))
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1708
return mlxsw_sp_qdisc_replace(mlxsw_sp_port, p->handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1713
if (!mlxsw_sp_qdisc_compare(mlxsw_sp_qdisc, p->handle))
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
175
u32 handle = *(u32 *)data;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
1752
u32 handle;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
177
if (qdisc->ops && qdisc->handle == handle)
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
183
mlxsw_sp_qdisc_find_by_handle(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle)
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
191
&handle);
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
2128
mlxsw_sp_qevent_binding_create(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, int tclass_num,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
2139
binding->handle = handle;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
2155
u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
2162
qevent_binding->handle == handle &&
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
2200
qdisc = mlxsw_sp_qdisc_find_by_handle(mlxsw_sp_port, f->sch->handle);
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
2207
if (WARN_ON(mlxsw_sp_qevent_binding_lookup(qevent_block, mlxsw_sp_port, f->sch->handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
2215
f->sch->handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
2262
qevent_binding = mlxsw_sp_qevent_binding_lookup(qevent_block, mlxsw_sp_port, f->sch->handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
264
mlxsw_sp_qdisc->handle = TC_H_UNSPEC;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
33
int (*replace)(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
354
u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
393
mlxsw_sp_qdisc->handle = handle;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
398
err = ops->replace(mlxsw_sp_port, handle, mlxsw_sp_qdisc, params);
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
405
mlxsw_sp_qdisc->handle = TC_H_UNSPEC;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
416
mlxsw_sp_qdisc_change(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
426
err = ops->replace(mlxsw_sp_port, handle, mlxsw_sp_qdisc, params);
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
434
if (mlxsw_sp_qdisc->handle != handle) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
439
mlxsw_sp_qdisc->handle = handle;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
451
mlxsw_sp_qdisc_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
464
return mlxsw_sp_qdisc_create(mlxsw_sp_port, handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
467
return mlxsw_sp_qdisc_change(mlxsw_sp_port, handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
70
u32 handle;
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
706
u32 handle, unsigned int band,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
710
u32 handle);
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
713
mlxsw_sp_qdisc_red_replace(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
724
err = mlxsw_sp_qdisc_future_fifo_replace(mlxsw_sp_port, handle, 0,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
860
return mlxsw_sp_qdisc_replace(mlxsw_sp_port, p->handle,
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
865
if (!mlxsw_sp_qdisc_compare(mlxsw_sp_qdisc, p->handle))
drivers/net/ethernet/microsoft/mana/mana_en.c
903
if (shaper->handle.scope != NET_SHAPER_SCOPE_NETDEV) {
drivers/net/ethernet/microsoft/mana/mana_en.c
908
if (apc->handle.id && shaper->handle.id != apc->handle.id) {
drivers/net/ethernet/microsoft/mana/mana_en.c
928
apc->handle = (err) ? apc->handle : shaper->handle;
drivers/net/ethernet/microsoft/mana/mana_en.c
935
const struct net_shaper_handle *handle,
drivers/net/ethernet/microsoft/mana/mana_en.c
945
apc->handle.id = 0;
drivers/net/ethernet/microsoft/mana/mana_en.c
946
apc->handle.scope = NET_SHAPER_SCOPE_UNSPEC;
drivers/net/ethernet/netronome/nfp/abm/cls.c
13
u32 handle;
drivers/net/ethernet/netronome/nfp/abm/cls.c
161
if (iter->handle == knode->handle) {
drivers/net/ethernet/netronome/nfp/abm/cls.c
192
if (iter->handle == knode->handle) {
drivers/net/ethernet/netronome/nfp/abm/cls.c
211
match->handle = knode->handle;
drivers/net/ethernet/netronome/nfp/abm/main.h
155
u32 handle;
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
126
qdisc->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
330
TC_H_MAJ(qdisc->handle)) != qdisc);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
340
enum nfp_qdisc_type type, u32 parent_handle, u32 handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
360
qdisc->handle = handle;
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
363
err = radix_tree_insert(&alink->qdiscs, TC_H_MAJ(qdisc->handle), qdisc);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
381
nfp_abm_qdisc_find(struct nfp_abm_link *alink, u32 handle)
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
383
return radix_tree_lookup(&alink->qdiscs, TC_H_MAJ(handle));
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
388
enum nfp_qdisc_type type, u32 parent_handle, u32 handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
391
*qdisc = nfp_abm_qdisc_find(alink, handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
398
*qdisc = nfp_abm_qdisc_alloc(netdev, alink, type, parent_handle, handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
405
u32 handle)
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
409
qdisc = nfp_abm_qdisc_find(alink, handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
430
nfp_abm_qdisc_graft(struct nfp_abm_link *alink, u32 handle, u32 child_handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
435
parent = nfp_abm_qdisc_find(alink, handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
482
nfp_abm_gred_stats(struct nfp_abm_link *alink, u32 handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
490
qdisc = nfp_abm_qdisc_find(alink, handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
525
opt->parent, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
530
alink->def_band, opt->parent, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
535
abm->num_bands, opt->parent, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
546
opt->parent, opt->handle, i);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
551
opt->parent, opt->handle, i);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
556
opt->parent, opt->handle, i);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
561
opt->parent, opt->handle, i);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
566
band->min, S32_MAX, opt->parent, opt->handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
584
opt->handle, 0, &qdisc);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
610
nfp_abm_qdisc_destroy(netdev, alink, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
613
return nfp_abm_gred_stats(alink, opt->handle, &opt->stats);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
626
qdisc = nfp_abm_qdisc_find(alink, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
638
nfp_abm_red_stats(struct nfp_abm_link *alink, u32 handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
645
qdisc = nfp_abm_qdisc_find(alink, handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
669
opt->parent, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
674
opt->parent, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
679
opt->parent, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
684
opt->parent, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
690
opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
705
opt->handle, 1, &qdisc);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
742
nfp_abm_qdisc_destroy(netdev, alink, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
745
return nfp_abm_red_stats(alink, opt->handle, &opt->stats);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
749
return nfp_abm_qdisc_graft(alink, opt->handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
764
TC_H_ROOT, opt->handle, alink->total_queues,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
776
nfp_abm_mq_stats(struct nfp_abm_link *alink, u32 handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
782
qdisc = nfp_abm_qdisc_find(alink, handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
823
nfp_abm_qdisc_destroy(netdev, alink, opt->handle);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
826
return nfp_abm_mq_stats(alink, opt->handle, &opt->stats);
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
828
return nfp_abm_qdisc_graft(alink, opt->handle,
drivers/net/ethernet/netronome/nfp/abm/qdisc.c
843
alink->root_qdisc = nfp_abm_qdisc_find(alink, opt->handle);
drivers/net/ethernet/netronome/nfp/crypto/crypto.h
46
u32 handle;
drivers/net/ethernet/netronome/nfp/crypto/fw.h
80
__be32 handle[2];
drivers/net/ethernet/netronome/nfp/crypto/fw.h
86
__be32 handle[2];
drivers/net/ethernet/netronome/nfp/crypto/fw.h
94
__be32 handle[2];
drivers/net/ethernet/netronome/nfp/crypto/ipsec.c
602
offload_info->handle = x->xso.offload_handle;
drivers/net/ethernet/netronome/nfp/crypto/tls.c
146
memcpy(req->handle, fw_handle, sizeof(req->handle));
drivers/net/ethernet/netronome/nfp/crypto/tls.c
384
if (!reply->handle[0] && !reply->handle[1]) {
drivers/net/ethernet/netronome/nfp/crypto/tls.c
391
memcpy(ntls->fw_handle, reply->handle, sizeof(ntls->fw_handle));
drivers/net/ethernet/netronome/nfp/crypto/tls.c
405
nfp_net_tls_del_fw(nn, reply->handle);
drivers/net/ethernet/netronome/nfp/crypto/tls.c
448
memcpy(req->handle, ntls->fw_handle, sizeof(ntls->fw_handle));
drivers/net/ethernet/netronome/nfp/nfd3/dp.c
237
put_unaligned_be32(offload_info.handle - 1, data);
drivers/net/ethernet/netronome/nfp/nfdk/dp.c
232
put_unaligned_be32(offload_info.handle - 1, data);
drivers/net/ethernet/qlogic/qed/qed_dev_api.h
464
int qed_get_queue_coalesce(struct qed_hwfn *p_hwfn, u16 *coal, void *handle);
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
753
u32 handle)
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
760
hash_for_each_possible(cdev->connections, hash_con, node, handle) {
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
761
if (hash_con->con->icid == handle)
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
765
if (!hash_con || (hash_con->con->icid != handle))
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
851
u32 *handle,
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
874
*handle = hash_con->con->icid;
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
876
hash_add(cdev->connections, &hash_con->node, *handle);
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
880
*handle);
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
885
static int qed_fcoe_release_conn(struct qed_dev *cdev, u32 handle)
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
889
hash_con = qed_fcoe_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
892
handle);
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
904
u32 handle,
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
910
hash_con = qed_fcoe_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
913
handle);
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
957
u32 handle, dma_addr_t terminate_params)
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
962
hash_con = qed_fcoe_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_fcoe.c
965
handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1061
u32 handle)
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1068
hash_for_each_possible(cdev->connections, hash_con, node, handle) {
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1069
if (hash_con->con->icid == handle)
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1073
if (!hash_con || (hash_con->con->icid != handle))
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1155
u32 *handle,
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1176
*handle = hash_con->con->icid;
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1178
hash_add(cdev->connections, &hash_con->node, *handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1182
*handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1187
static int qed_iscsi_release_conn(struct qed_dev *cdev, u32 handle)
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1191
hash_con = qed_iscsi_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1194
handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1206
u32 handle,
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1212
hash_con = qed_iscsi_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1215
handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1281
u32 handle,
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1287
hash_con = qed_iscsi_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1290
handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1307
static int qed_iscsi_clear_conn_sq(struct qed_dev *cdev, u32 handle)
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1311
hash_con = qed_iscsi_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1314
handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1323
u32 handle, u8 abrt_conn)
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1327
hash_con = qed_iscsi_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1330
handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1353
u32 handle, const u8 *mac)
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1357
hash_con = qed_iscsi_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_iscsi.c
1360
handle);
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
1579
struct qed_iwarp_ll2_buff *buf, u8 handle)
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
1583
rc = qed_ll2_post_rx_buffer(p_hwfn, handle, buf->data_phys_addr,
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
1588
rc, handle);
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
3180
oparams->handle = listener;
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
3200
int qed_iwarp_destroy_listen(void *rdma_cxt, void *handle)
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
3202
struct qed_iwarp_listener *listener = handle;
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
3205
DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "handle=%p\n", handle);
drivers/net/ethernet/qlogic/qed/qed_iwarp.h
202
int qed_iwarp_destroy_listen(void *rdma_cxt, void *handle);
drivers/net/ethernet/qlogic/qed/qed_l2.c
2159
int qed_get_queue_coalesce(struct qed_hwfn *p_hwfn, u16 *p_coal, void *handle)
drivers/net/ethernet/qlogic/qed/qed_l2.c
2161
struct qed_queue_cid *p_cid = handle;
drivers/net/ethernet/qlogic/qed/qed_l2.c
2532
static int qed_stop_rxq(struct qed_dev *cdev, u8 rss_id, void *handle)
drivers/net/ethernet/qlogic/qed/qed_l2.c
2540
rc = qed_eth_rx_queue_stop(p_hwfn, handle, false, false);
drivers/net/ethernet/qlogic/qed/qed_l2.c
2596
static int qed_stop_txq(struct qed_dev *cdev, u8 rss_id, void *handle)
drivers/net/ethernet/qlogic/qed/qed_l2.c
2604
rc = qed_eth_tx_queue_stop(p_hwfn, handle);
drivers/net/ethernet/qlogic/qed/qed_l2.c
2838
static int qed_get_coalesce(struct qed_dev *cdev, u16 *coal, void *handle)
drivers/net/ethernet/qlogic/qed/qed_l2.c
2840
struct qed_queue_cid *p_cid = handle;
drivers/net/ethernet/qlogic/qed/qed_l2.c
2845
rc = qed_get_queue_coalesce(p_hwfn, coal, handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
1535
u8 handle,
drivers/net/ethernet/qlogic/qed/qed_ll2.c
1541
return p_hwfn->hw_info.resc_start[QED_LL2_RAM_QUEUE] + handle;
drivers/net/ethernet/qlogic/qed/qed_ll2.c
1555
qid += (handle - QED_MAX_NUM_OF_LEGACY_LL2_CONNS_PF);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2388
u8 *handle, bool lb)
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2398
data->p_connection_handle = handle;
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2414
u8 *handle = &p_hwfn->pf_params.iscsi_pf_params.ll2_ooo_queue_id;
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2419
QED_LL2_TYPE_OOO, handle, true);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2427
rc = qed_ll2_establish_connection(p_hwfn, *handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2436
qed_ll2_release_connection(p_hwfn, *handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2438
*handle = QED_LL2_UNUSED_HANDLE;
drivers/net/ethernet/qlogic/qed/qed_ll2.c
245
rc = qed_ll2_post_rx_buffer(p_hwfn, cdev->ll2->handle,
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2455
rc = qed_ll2_terminate_connection(p_hwfn, cdev->ll2->handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2459
qed_ll2_release_connection(p_hwfn, cdev->ll2->handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2470
if (cdev->ll2->handle == QED_LL2_UNUSED_HANDLE)
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2495
cdev->ll2->handle = QED_LL2_UNUSED_HANDLE;
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2526
&cdev->ll2->handle, false);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2534
rc = qed_ll2_establish_connection(p_hwfn, cdev->ll2->handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2545
cdev->ll2->handle,
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2570
qed_ll2_terminate_connection(p_hwfn, cdev->ll2->handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2572
qed_ll2_release_connection(p_hwfn, cdev->ll2->handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2671
cdev->ll2->handle = QED_LL2_UNUSED_HANDLE;
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2736
rc = qed_ll2_prepare_tx_packet(p_hwfn, cdev->ll2->handle,
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2755
cdev->ll2->handle,
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2783
rc = qed_ll2_get_stats(p_hwfn, cdev->ll2->handle, stats);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
2792
cdev->ll2->handle, stats);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
52
u8 handle;
drivers/net/ethernet/qlogic/qed/qed_ll2.c
948
u8 *handle = &p_hwfn->pf_params.iscsi_pf_params.ll2_ooo_queue_id;
drivers/net/ethernet/qlogic/qed/qed_ll2.c
951
"Stopping LL2 OOO queue [%02x]\n", *handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
953
qed_ll2_terminate_connection(p_hwfn, *handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
954
qed_ll2_release_connection(p_hwfn, *handle);
drivers/net/ethernet/qlogic/qed/qed_ll2.c
955
*handle = QED_LL2_UNUSED_HANDLE;
drivers/net/ethernet/qlogic/qed/qed_main.c
2777
void *handle)
drivers/net/ethernet/qlogic/qed/qed_main.c
2779
return qed_set_queue_coalesce(rx_coal, tx_coal, handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
248
u32 handle)
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
255
hash_for_each_possible(cdev->connections, hash_con, node, handle) {
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
256
if (hash_con->con->icid == handle)
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
260
if (!hash_con || hash_con->con->icid != handle)
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
607
u32 *handle,
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
629
*handle = hash_con->con->icid;
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
631
hash_add(cdev->connections, &hash_con->node, *handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
634
*handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
639
static int qed_nvmetcp_release_conn(struct qed_dev *cdev, u32 handle)
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
643
hash_con = qed_nvmetcp_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
646
handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
658
static int qed_nvmetcp_offload_conn(struct qed_dev *cdev, u32 handle,
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
664
hash_con = qed_nvmetcp_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
667
handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
724
u32 handle,
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
730
hash_con = qed_nvmetcp_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
733
handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
761
static int qed_nvmetcp_clear_conn_sq(struct qed_dev *cdev, u32 handle)
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
765
hash_con = qed_nvmetcp_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
768
handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
778
u32 handle, u8 abrt_conn)
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
782
hash_con = qed_nvmetcp_get_hash(cdev, handle);
drivers/net/ethernet/qlogic/qed/qed_nvmetcp.c
785
handle);
drivers/net/ethernet/qlogic/qede/qede.h
369
void *handle;
drivers/net/ethernet/qlogic/qede/qede.h
438
void *handle;
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
2183
fp->rxq->handle);
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
2196
fp->txq->handle);
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
2241
rx_handle = fp->rxq->handle;
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
2252
tx_handle = fp->txq->handle;
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
773
rx_handle = fp->rxq->handle;
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
795
tx_handle = txq->handle;
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
859
fp->rxq->handle);
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
880
txq->handle);
drivers/net/ethernet/qlogic/qede/qede_filter.c
599
rss->rss_ind_table[i] = edev->fp_array[idx].rxq->handle;
drivers/net/ethernet/qlogic/qede/qede_main.c
2075
return edev->ops->q_tx_stop(edev->cdev, rss_id, txq->handle);
drivers/net/ethernet/qlogic/qede/qede_main.c
2141
rc = edev->ops->q_rx_stop(cdev, i, fp->rxq->handle);
drivers/net/ethernet/qlogic/qede/qede_main.c
2199
txq->handle = ret_params.p_handle;
drivers/net/ethernet/qlogic/qede/qede_main.c
2292
rxq->handle = ret_params.p_handle;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
107
#define QLCNIC_FETCH_RING_ID(handle) ((handle) >> 63)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
143
u16 handle, u8 ring_id)
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1443
u32 producer, handle;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
146
return handle | (ring_id << 15);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1464
handle = qlcnic_get_ref_handle(adapter, buffer->ref_handle,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1466
pdesc->reference_handle = cpu_to_le16(handle);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
148
return handle;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
850
uint32_t producer, handle;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
870
handle = qlcnic_get_ref_handle(adapter,
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
872
pdesc->reference_handle = cpu_to_le16(handle);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h
127
u16 handle;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1030
cmd->req.arg[1] |= vf->vp->handle << 16;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1072
cmd->req.arg[1] |= vf->vp->handle << 16;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1146
cmd->req.arg[1] |= vf->vp->handle << 16;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1264
cmd->req.arg[1] |= (vf->vp->handle << 16);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1329
cmd->req.arg[1] |= vf->vp->handle << 16;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1867
vpid = vp->handle;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
246
vp->handle = 0;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
264
vp->handle = vport_handle;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
281
return vf_info->vp->handle;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
898
cmd->req.arg[6] = vf->vp->handle;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
958
cmd->req.arg[5] |= vf->vp->handle << 16;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
996
cmd->req.arg[1] |= vf->vp->handle << 16;
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
314
acpi_handle handle = ACPI_HANDLE(dev);
drivers/net/ethernet/qualcomm/emac/emac-sgmii.c
318
status = acpi_evaluate_integer(handle, "_HRV", NULL, &hrv);
drivers/net/ethernet/qualcomm/qca_7k_common.c
100
handle->state = QCAFRM_WAIT_LEN_BYTE1;
drivers/net/ethernet/qualcomm/qca_7k_common.c
103
handle->offset = handle->offset | (recv_byte << 8);
drivers/net/ethernet/qualcomm/qca_7k_common.c
104
handle->state = QCAFRM_WAIT_RSVD_BYTE1;
drivers/net/ethernet/qualcomm/qca_7k_common.c
107
handle->state = QCAFRM_WAIT_RSVD_BYTE2;
drivers/net/ethernet/qualcomm/qca_7k_common.c
110
len = handle->offset;
drivers/net/ethernet/qualcomm/qca_7k_common.c
113
handle->state = handle->init;
drivers/net/ethernet/qualcomm/qca_7k_common.c
115
handle->state = (enum qcafrm_state)(len + 1);
drivers/net/ethernet/qualcomm/qca_7k_common.c
117
handle->offset = 0;
drivers/net/ethernet/qualcomm/qca_7k_common.c
122
buf[handle->offset] = recv_byte;
drivers/net/ethernet/qualcomm/qca_7k_common.c
123
handle->offset++;
drivers/net/ethernet/qualcomm/qca_7k_common.c
124
handle->state--;
drivers/net/ethernet/qualcomm/qca_7k_common.c
129
handle->state = handle->init;
drivers/net/ethernet/qualcomm/qca_7k_common.c
131
handle->state = QCAFRM_WAIT_552;
drivers/net/ethernet/qualcomm/qca_7k_common.c
137
handle->state = handle->init;
drivers/net/ethernet/qualcomm/qca_7k_common.c
139
ret = handle->offset;
drivers/net/ethernet/qualcomm/qca_7k_common.c
141
handle->state = handle->init;
drivers/net/ethernet/qualcomm/qca_7k_common.c
64
qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte)
drivers/net/ethernet/qualcomm/qca_7k_common.c
69
switch (handle->state) {
drivers/net/ethernet/qualcomm/qca_7k_common.c
73
handle->state--;
drivers/net/ethernet/qualcomm/qca_7k_common.c
77
handle->state = handle->init;
drivers/net/ethernet/qualcomm/qca_7k_common.c
82
handle->state--;
drivers/net/ethernet/qualcomm/qca_7k_common.c
91
handle->state = handle->init;
drivers/net/ethernet/qualcomm/qca_7k_common.c
93
handle->state--;
drivers/net/ethernet/qualcomm/qca_7k_common.c
99
handle->offset = recv_byte;
drivers/net/ethernet/qualcomm/qca_7k_common.h
103
static inline void qcafrm_fsm_init_spi(struct qcafrm_handle *handle)
drivers/net/ethernet/qualcomm/qca_7k_common.h
105
handle->init = QCAFRM_HW_LEN0;
drivers/net/ethernet/qualcomm/qca_7k_common.h
106
handle->state = handle->init;
drivers/net/ethernet/qualcomm/qca_7k_common.h
109
static inline void qcafrm_fsm_init_uart(struct qcafrm_handle *handle)
drivers/net/ethernet/qualcomm/qca_7k_common.h
111
handle->init = QCAFRM_WAIT_AA1;
drivers/net/ethernet/qualcomm/qca_7k_common.h
112
handle->state = handle->init;
drivers/net/ethernet/qualcomm/qca_7k_common.h
115
s32 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte);
drivers/net/ethernet/sfc/mcdi.c
759
u32 handle, int status)
drivers/net/ethernet/sfc/mcdi.c
770
mcdi->proxy_rx_handle = handle;
drivers/net/ethernet/sfc/mcdi.c
774
static int efx_mcdi_proxy_wait(struct efx_nic *efx, u32 handle, bool quiet)
drivers/net/ethernet/sfc/mcdi.c
787
"MCDI proxy timeout %d\n", handle);
drivers/net/ethernet/sfc/mcdi.c
789
} else if (mcdi->proxy_rx_handle != handle) {
drivers/net/ethernet/sfc/mcdi.c
792
mcdi->proxy_rx_handle, handle);
drivers/net/ethernet/sfc/mcdi_filters.c
1429
&table->entry[filter_idx].handle,
drivers/net/ethernet/sfc/mcdi_filters.c
1489
table->entry[filter_idx].handle);
drivers/net/ethernet/sfc/mcdi_filters.c
196
efx_dword_t *inbuf, u64 handle,
drivers/net/ethernet/sfc/mcdi_filters.c
219
MCDI_SET_QWORD(inbuf, FILTER_OP_IN_HANDLE, handle);
drivers/net/ethernet/sfc/mcdi_filters.c
247
const struct efx_filter_spec *spec, u64 *handle,
drivers/net/ethernet/sfc/mcdi_filters.c
255
efx_mcdi_filter_push_prep(efx, spec, inbuf, *handle, ctx, replacing);
drivers/net/ethernet/sfc/mcdi_filters.c
262
*handle = MCDI_QWORD(outbuf, FILTER_OP_OUT_HANDLE);
drivers/net/ethernet/sfc/mcdi_filters.c
473
rc = efx_mcdi_filter_push(efx, spec, &table->entry[ins_index].handle,
drivers/net/ethernet/sfc/mcdi_filters.c
529
table->entry[i].handle);
drivers/net/ethernet/sfc/mcdi_filters.c
619
&table->entry[filter_idx].handle,
drivers/net/ethernet/sfc/mcdi_filters.c
633
table->entry[filter_idx].handle);
drivers/net/ethernet/sfc/mcdi_filters.h
68
u64 handle; /* firmware handle */
drivers/net/ethernet/sfc/ptp.c
1227
rxfilter->handle);
drivers/net/ethernet/sfc/ptp.c
1274
rxfilter->handle = rc;
drivers/net/ethernet/sfc/ptp.c
222
int handle;
drivers/net/ethernet/sfc/siena/mcdi.c
763
u32 handle, int status)
drivers/net/ethernet/sfc/siena/mcdi.c
774
mcdi->proxy_rx_handle = handle;
drivers/net/ethernet/sfc/siena/mcdi.c
778
static int efx_mcdi_proxy_wait(struct efx_nic *efx, u32 handle, bool quiet)
drivers/net/ethernet/sfc/siena/mcdi.c
791
"MCDI proxy timeout %d\n", handle);
drivers/net/ethernet/sfc/siena/mcdi.c
793
} else if (mcdi->proxy_rx_handle != handle) {
drivers/net/ethernet/sfc/siena/mcdi.c
796
mcdi->proxy_rx_handle, handle);
drivers/net/ethernet/stmicro/stmmac/stmmac.h
165
u32 handle;
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1125
cls_u32.knode.handle = 0x123;
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
21
entry->handle = 0;
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
33
u32 loc = cls->knode.handle;
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
40
if ((entry->handle == loc) && !free && !entry->is_frag)
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c
47
first->handle = loc;
drivers/net/ethernet/sun/ldmvsw.c
168
u64 *handle)
drivers/net/ethernet/sun/ldmvsw.c
220
*handle = (u64)*cfghandle;
drivers/net/ethernet/sun/ldmvsw.c
227
u64 handle,
drivers/net/ethernet/sun/ldmvsw.c
242
sprintf(dev->name, "vif%d.%d", (int)handle, (int)port_id);
drivers/net/ethernet/sun/ldmvsw.c
285
u64 handle;
drivers/net/ethernet/sun/ldmvsw.c
309
vp = vsw_get_vnet(hp, vdev->mp, &handle);
drivers/net/ethernet/sun/ldmvsw.c
319
dev = vsw_alloc_netdev(vsw_port_hwaddr, vdev, handle, *port_id);
drivers/net/ethernet/sun/niu.c
10014
void *cpu_addr, u64 handle)
drivers/net/ethernet/sun/niu.c
9623
u64 *handle, gfp_t flag)
drivers/net/ethernet/sun/niu.c
9630
*handle = dh;
drivers/net/ethernet/sun/niu.c
9635
void *cpu_addr, u64 handle)
drivers/net/ethernet/sun/niu.c
9637
dma_free_coherent(dev, size, cpu_addr, handle);
drivers/net/ethernet/sun/niu.h
3133
u64 *handle, gfp_t flag);
drivers/net/ethernet/sun/niu.h
3135
void *cpu_addr, u64 handle);
drivers/net/ethernet/ti/cpsw_priv.h
423
static inline int cpsw_is_xdpf_handle(void *handle)
drivers/net/ethernet/ti/cpsw_priv.h
425
return (unsigned long)handle & BIT(0);
drivers/net/ethernet/ti/cpsw_priv.h
433
static inline struct xdp_frame *cpsw_handle_to_xdpf(void *handle)
drivers/net/ethernet/ti/cpsw_priv.h
435
return (struct xdp_frame *)((unsigned long)handle & ~BIT(0));
drivers/net/fjes/fjes_main.c
130
status = acpi_walk_resources(device->handle, METHOD_NAME__CRS,
drivers/net/fjes/fjes_main.c
47
status = acpi_evaluate_object(device->handle, "_STR", NULL, &buffer);
drivers/net/fjes/fjes_main.c
71
status = acpi_evaluate_integer(device->handle, "_STA", NULL, &sta);
drivers/net/hamradio/baycom_epp.c
794
static void epp_wakeup(void *handle)
drivers/net/hamradio/baycom_epp.c
796
struct net_device *dev = (struct net_device *)handle;
drivers/net/hamradio/baycom_par.c
283
static void par96_wakeup(void *handle)
drivers/net/hamradio/baycom_par.c
285
struct net_device *dev = (struct net_device *)handle;
drivers/net/mdio/mdio-xgene.c
279
static acpi_status acpi_register_phy(acpi_handle handle, u32 lvl,
drivers/net/mdio/mdio-xgene.c
288
adev = acpi_fetch_acpi_dev(handle);
drivers/net/netdevsim/netdev.c
616
const struct net_shaper_handle *handle,
drivers/net/plip/plip.c
1173
plip_preempt(void *handle)
drivers/net/plip/plip.c
1175
struct net_device *dev = (struct net_device *)handle;
drivers/net/plip/plip.c
1189
plip_wakeup(void *handle)
drivers/net/plip/plip.c
1191
struct net_device *dev = (struct net_device *)handle;
drivers/net/plip/plip.c
156
static int plip_preempt(void *handle);
drivers/net/plip/plip.c
157
static void plip_wakeup(void *handle);
drivers/net/wireless/ath/ath10k/mac.c
9911
acpi_handle handle;
drivers/net/wireless/ath/ath10k/mac.c
9921
status = acpi_get_handle(root_handle, (acpi_string)WRD_METHOD, &handle);
drivers/net/wireless/ath/ath10k/mac.c
9928
status = acpi_evaluate_object(handle, NULL, NULL, &wrdd);
drivers/net/wireless/ath/ath11k/qmi.c
1764
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
1769
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
1798
struct qmi_handle *handle = &ab->qmi.handle;
drivers/net/wireless/ath/ath11k/qmi.c
1835
ret = qmi_txn_init(handle, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
1842
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
1915
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
1923
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2133
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2138
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2211
ret = qmi_txn_init(&ab->qmi.handle, &txn, qmi_wlanfw_cap_resp_msg_v01_ei,
drivers/net/wireless/ath/ath11k/qmi.c
2218
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2360
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2369
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2607
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2614
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2656
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2663
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2751
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2758
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2797
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
2802
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath11k/qmi.c
3027
struct ath11k_qmi *qmi = container_of(qmi_hdl, struct ath11k_qmi, handle);
drivers/net/wireless/ath/ath11k/qmi.c
3073
struct ath11k_qmi *qmi = container_of(qmi_hdl, struct ath11k_qmi, handle);
drivers/net/wireless/ath/ath11k/qmi.c
3085
struct ath11k_qmi *qmi = container_of(qmi_hdl, struct ath11k_qmi, handle);
drivers/net/wireless/ath/ath11k/qmi.c
3104
struct ath11k_qmi, handle);
drivers/net/wireless/ath/ath11k/qmi.c
3118
struct ath11k_qmi, handle);
drivers/net/wireless/ath/ath11k/qmi.c
3171
struct ath11k_qmi *qmi = container_of(qmi_hdl, struct ath11k_qmi, handle);
drivers/net/wireless/ath/ath11k/qmi.c
3196
struct ath11k_qmi *qmi = container_of(qmi_hdl, struct ath11k_qmi, handle);
drivers/net/wireless/ath/ath11k/qmi.c
3323
ret = qmi_handle_init(&ab->qmi.handle, ATH11K_QMI_RESP_LEN_MAX,
drivers/net/wireless/ath/ath11k/qmi.c
3340
ret = qmi_add_lookup(&ab->qmi.handle, ATH11K_QMI_WLFW_SERVICE_ID_V01,
drivers/net/wireless/ath/ath11k/qmi.c
3354
qmi_handle_release(&ab->qmi.handle);
drivers/net/wireless/ath/ath11k/qmi.h
132
struct qmi_handle handle;
drivers/net/wireless/ath/ath12k/acpi.c
202
static void ath12k_acpi_dsm_notify(acpi_handle handle, u32 event, void *data)
drivers/net/wireless/ath/ath12k/qmi.c
2251
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
2256
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
2288
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
2293
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
2343
struct qmi_handle *handle = &ab->qmi.handle;
drivers/net/wireless/ath/ath12k/qmi.c
2373
ret = qmi_txn_init(handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
2378
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
2448
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
2453
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
2864
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
2869
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3003
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3012
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3249
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3254
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3374
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3379
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3418
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3423
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3516
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3521
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3560
ret = qmi_txn_init(&ab->qmi.handle, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3565
ret = qmi_send_request(&ab->qmi.handle, NULL, &txn,
drivers/net/wireless/ath/ath12k/qmi.c
3819
struct ath12k_qmi *qmi = container_of(qmi_hdl, struct ath12k_qmi, handle);
drivers/net/wireless/ath/ath12k/qmi.c
3864
struct ath12k_qmi *qmi = container_of(qmi_hdl, struct ath12k_qmi, handle);
drivers/net/wireless/ath/ath12k/qmi.c
3876
struct ath12k_qmi *qmi = container_of(qmi_hdl, struct ath12k_qmi, handle);
drivers/net/wireless/ath/ath12k/qmi.c
3913
struct ath12k_qmi *qmi = container_of(qmi_hdl, struct ath12k_qmi, handle);
drivers/net/wireless/ath/ath12k/qmi.c
3938
struct ath12k_qmi *qmi = container_of(qmi_hdl, struct ath12k_qmi, handle);
drivers/net/wireless/ath/ath12k/qmi.c
4047
ret = qmi_handle_init(&ab->qmi.handle, ATH12K_QMI_RESP_LEN_MAX,
drivers/net/wireless/ath/ath12k/qmi.c
4064
ret = qmi_add_lookup(&ab->qmi.handle, ATH12K_QMI_WLFW_SERVICE_ID_V01,
drivers/net/wireless/ath/ath12k/qmi.c
4081
qmi_handle_release(&ab->qmi.handle);
drivers/net/wireless/ath/ath12k/qmi.h
138
struct qmi_handle handle;
drivers/net/wireless/ath/ath6kl/htc_pipe.c
24
static int ath6kl_htc_pipe_tx(struct htc_target *handle,
drivers/net/wireless/ath/ath6kl/htc_pipe.c
26
static void ath6kl_htc_pipe_cleanup(struct htc_target *handle);
drivers/net/wireless/ath/wil6210/wil_platform.c
27
void *handle = ops; /* to return some non-NULL for 'void' impl. */
drivers/net/wireless/ath/wil6210/wil_platform.c
37
return handle;
drivers/net/wireless/ath/wil6210/wil_platform.h
37
int (*bus_request)(void *handle, uint32_t kbps /* KBytes/Sec */);
drivers/net/wireless/ath/wil6210/wil_platform.h
38
int (*suspend)(void *handle, bool keep_device_power);
drivers/net/wireless/ath/wil6210/wil_platform.h
39
int (*resume)(void *handle, bool device_powered_on);
drivers/net/wireless/ath/wil6210/wil_platform.h
40
void (*uninit)(void *handle);
drivers/net/wireless/ath/wil6210/wil_platform.h
41
int (*notify)(void *handle, enum wil_platform_event evt);
drivers/net/wireless/ath/wil6210/wil_platform.h
42
int (*get_capa)(void *handle);
drivers/net/wireless/ath/wil6210/wil_platform.h
43
void (*set_features)(void *handle, int features);
drivers/net/wireless/broadcom/brcm80211/brcmfmac/acpi.c
33
status = acpi_evaluate_object(adev->handle, "RWCV", NULL, &buf);
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c
5538
int (*d_fn)(void *handle))
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h
287
int (*down_fn)(void *handle); /* down handler. Note: the int returned
drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h
303
int (*down_fn)(void *handle));
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
60
acpi_handle handle;
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
64
ret = iwl_acpi_get_handle(dev, method, &handle);
drivers/net/wireless/intel/iwlwifi/fw/acpi.c
69
status = acpi_evaluate_object(handle, NULL, NULL, &buf);
drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c
2154
status = acpi_evaluate_object(ref->reference.handle,
drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.c
35
acpi_handle root, handle;
drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.c
44
status = acpi_get_handle(root, method, &handle);
drivers/net/wireless/mediatek/mt76/mt792x_acpi_sar.c
48
status = acpi_evaluate_object(handle, NULL, NULL, &buf);
drivers/net/wireless/realtek/rtw88/coex.c
3287
u8 sub_id = buf[2], gamehid_cnt = 0, handle, i;
drivers/net/wireless/realtek/rtw88/coex.c
3307
if (hl->handle[i] != COEX_BT_HIDINFO_NOTCON &&
drivers/net/wireless/realtek/rtw88/coex.c
3308
hl->handle[i] != 0)
drivers/net/wireless/realtek/rtw88/coex.c
3309
hidinfo->hid_handle = hl->handle[i];
drivers/net/wireless/realtek/rtw88/coex.c
3314
handle = hida->handle;
drivers/net/wireless/realtek/rtw88/coex.c
3317
if (hidinfo->hid_handle == handle) {
drivers/net/wireless/realtek/rtw88/coex.c
3330
handle = hidinfo->hid_handle;
drivers/net/wireless/realtek/rtw88/coex.c
3331
if (!complete || handle == COEX_BT_HIDINFO_NOTCON ||
drivers/net/wireless/realtek/rtw88/coex.c
3332
handle == 0 || handle >= COEX_BT_BLE_HANDLE_THRS) {
drivers/net/wireless/realtek/rtw88/coex.c
3375
u8 i, handle;
drivers/net/wireless/realtek/rtw88/coex.c
3393
handle = hidinfo->hid_handle;
drivers/net/wireless/realtek/rtw88/coex.c
3394
if (handle == 0 || handle == COEX_BT_HIDINFO_NOTCON ||
drivers/net/wireless/realtek/rtw88/coex.c
3395
handle >= COEX_BT_BLE_HANDLE_THRS || complete)
drivers/net/wireless/realtek/rtw88/coex.c
3400
handle);
drivers/net/wireless/realtek/rtw88/main.h
1433
u8 handle[COEX_BT_HIDINFO_HANDLE_NUM];
drivers/net/wireless/realtek/rtw88/main.h
1440
u8 handle;
drivers/net/wireless/realtek/rtw89/acpi.c
103
status = acpi_evaluate_object(handle, NULL, NULL, &buf);
drivers/net/wireless/realtek/rtw89/acpi.c
84
acpi_handle root, handle;
drivers/net/wireless/realtek/rtw89/acpi.c
96
status = acpi_get_handle(root, (acpi_string)method, &handle);
drivers/net/wireless/rsi/rsi_common.h
73
static inline int rsi_kill_thread(struct rsi_thread *handle)
drivers/net/wireless/rsi/rsi_common.h
75
atomic_inc(&handle->thread_done);
drivers/net/wireless/rsi/rsi_common.h
76
rsi_set_event(&handle->event);
drivers/net/wireless/rsi/rsi_common.h
78
return kthread_stop(handle->task);
drivers/net/wwan/t7xx/t7xx_modem_ops.c
151
acpi_handle handle;
drivers/net/wwan/t7xx/t7xx_modem_ops.c
153
handle = ACPI_HANDLE(dev);
drivers/net/wwan/t7xx/t7xx_modem_ops.c
154
if (!handle) {
drivers/net/wwan/t7xx/t7xx_modem_ops.c
159
if (!acpi_has_method(handle, fn_name)) {
drivers/net/wwan/t7xx/t7xx_modem_ops.c
164
acpi_ret = acpi_evaluate_object(handle, fn_name, NULL, &buffer);
drivers/net/xen-netback/common.h
282
unsigned int handle;
drivers/net/xen-netback/common.h
348
unsigned int handle);
drivers/net/xen-netback/interface.c
483
unsigned int handle)
drivers/net/xen-netback/interface.c
493
snprintf(name, IFNAMSIZ - 1, "vif%u.%u", domid, handle);
drivers/net/xen-netback/interface.c
510
vif->handle = handle;
drivers/net/xen-netback/netback.c
1376
gop[i].handle,
drivers/net/xen-netback/netback.c
1512
tx_unmap_op.handle,
drivers/net/xen-netback/netback.c
526
grant_handle_t handle)
drivers/net/xen-netback/netback.c
535
queue->grant_tx_handle[pending_idx] = handle;
drivers/net/xen-netback/netback.c
619
gop_map->handle);
drivers/net/xen-netback/xenbus.c
224
long handle;
drivers/net/xen-netback/xenbus.c
231
err = xenbus_scanf(XBT_NIL, dev->nodename, "handle", "%li", &handle);
drivers/net/xen-netback/xenbus.c
237
vif = xenvif_alloc(&dev->dev, dev->otherend_id, handle);
drivers/nvme/target/fcloop.c
313
void **handle)
drivers/nvme/target/fcloop.c
315
*handle = localport;
drivers/nvme/target/fcloop.c
321
unsigned int idx, void *handle)
drivers/of/base.c
1238
struct device_node *of_find_node_by_phandle(phandle handle)
drivers/of/base.c
1244
if (!handle)
drivers/of/base.c
1247
handle_hash = of_phandle_cache_hash(handle);
drivers/of/base.c
1252
handle == phandle_cache[handle_hash]->phandle)
drivers/of/base.c
1257
if (np->phandle == handle &&
drivers/of/base.c
161
static u32 of_phandle_cache_hash(phandle handle)
drivers/of/base.c
163
return hash_32(handle, OF_PHANDLE_CACHE_BITS);
drivers/of/base.c
169
void __of_phandle_cache_inv_entry(phandle handle)
drivers/of/base.c
174
if (!handle)
drivers/of/base.c
177
handle_hash = of_phandle_cache_hash(handle);
drivers/of/base.c
180
if (np && handle == np->phandle)
drivers/of/of_private.h
100
void __of_phandle_cache_inv_entry(phandle handle);
drivers/parport/ieee1284.c
550
void parport_ieee1284_interrupt (void *handle)
drivers/parport/ieee1284.c
552
struct parport *port = handle;
drivers/pci/controller/pci-thunder-pem.c
367
int node = acpi_get_node(root->device->handle);
drivers/pci/controller/pcie-hisi-error.c
112
acpi_handle handle = ACPI_HANDLE(dev);
drivers/pci/controller/pcie-hisi-error.c
128
s = acpi_evaluate_integer(handle, "RST", &arg_list, &data);
drivers/pci/hotplug/acpi_pcihp.c
105
handle = ACPI_HANDLE(&pdev->dev);
drivers/pci/hotplug/acpi_pcihp.c
106
if (!handle) {
drivers/pci/hotplug/acpi_pcihp.c
113
handle = acpi_pci_get_bridge_handle(pbus);
drivers/pci/hotplug/acpi_pcihp.c
114
if (handle)
drivers/pci/hotplug/acpi_pcihp.c
119
while (handle) {
drivers/pci/hotplug/acpi_pcihp.c
120
acpi_get_name(handle, ACPI_FULL_PATHNAME, &string);
drivers/pci/hotplug/acpi_pcihp.c
123
status = acpi_run_oshp(handle);
drivers/pci/hotplug/acpi_pcihp.c
126
if (acpi_is_root_bridge(handle))
drivers/pci/hotplug/acpi_pcihp.c
128
chandle = handle;
drivers/pci/hotplug/acpi_pcihp.c
129
status = acpi_get_parent(chandle, &handle);
drivers/pci/hotplug/acpi_pcihp.c
145
static int pcihp_is_ejectable(acpi_handle handle)
drivers/pci/hotplug/acpi_pcihp.c
149
if (!acpi_has_method(handle, "_ADR"))
drivers/pci/hotplug/acpi_pcihp.c
151
if (acpi_has_method(handle, "_EJ0"))
drivers/pci/hotplug/acpi_pcihp.c
153
status = acpi_evaluate_integer(handle, "_RMV", NULL, &removable);
drivers/pci/hotplug/acpi_pcihp.c
166
int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle)
drivers/pci/hotplug/acpi_pcihp.c
173
if ((ACPI_FAILURE(acpi_get_parent(handle, &parent_handle))))
drivers/pci/hotplug/acpi_pcihp.c
177
return pcihp_is_ejectable(handle);
drivers/pci/hotplug/acpi_pcihp.c
182
check_hotplug(acpi_handle handle, u32 lvl, void *context, void **rv)
drivers/pci/hotplug/acpi_pcihp.c
185
if (pcihp_is_ejectable(handle)) {
drivers/pci/hotplug/acpi_pcihp.c
198
int acpi_pci_detect_ejectable(acpi_handle handle)
drivers/pci/hotplug/acpi_pcihp.c
202
if (!handle)
drivers/pci/hotplug/acpi_pcihp.c
205
acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
drivers/pci/hotplug/acpi_pcihp.c
38
static acpi_status acpi_run_oshp(acpi_handle handle)
drivers/pci/hotplug/acpi_pcihp.c
43
acpi_get_name(handle, ACPI_FULL_PATHNAME, &string);
drivers/pci/hotplug/acpi_pcihp.c
46
status = acpi_evaluate_object(handle, METHOD_NAME_OSHP, NULL, NULL);
drivers/pci/hotplug/acpi_pcihp.c
73
acpi_handle chandle, handle;
drivers/pci/hotplug/acpiphp.h
132
return func_to_acpi_device(func)->handle;
drivers/pci/hotplug/acpiphp_ampere_altra.c
45
u32 handle;
drivers/pci/hotplug/acpiphp_ampere_altra.c
60
handle = res.a1 & 0xffff0000;
drivers/pci/hotplug/acpiphp_ampere_altra.c
64
0, 0, handle, &res);
drivers/pci/hotplug/acpiphp_ampere_altra.c
68
arm_smccc_smc(HANDLE_CLOSE, handle, 0, 0, 0, 0, 0, 0, &res);
drivers/pci/hotplug/acpiphp_glue.c
1016
acpi_handle handle = func_to_handle(func);
drivers/pci/hotplug/acpiphp_glue.c
1018
if (ACPI_FAILURE(acpi_evaluate_ej0(handle)))
drivers/pci/hotplug/acpiphp_glue.c
1019
acpi_handle_err(handle, "_EJ0 failed\n");
drivers/pci/hotplug/acpiphp_glue.c
226
static acpi_status acpiphp_add_context(acpi_handle handle, u32 lvl, void *data,
drivers/pci/hotplug/acpiphp_glue.c
229
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/pci/hotplug/acpiphp_glue.c
244
status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr);
drivers/pci/hotplug/acpiphp_glue.c
247
acpi_handle_warn(handle,
drivers/pci/hotplug/acpiphp_glue.c
259
acpi_handle_err(handle, "No hotplug context\n");
drivers/pci/hotplug/acpiphp_glue.c
271
if (!is_dock_device(adev) && acpi_has_method(handle, "_EJ0"))
drivers/pci/hotplug/acpiphp_glue.c
274
if (acpi_has_method(handle, "_STA"))
drivers/pci/hotplug/acpiphp_glue.c
303
if ((acpi_pci_check_ejectable(pbus, handle) || is_dock_device(adev))
drivers/pci/hotplug/acpiphp_glue.c
309
status = acpi_evaluate_integer(handle, "_SUN", NULL, &sun);
drivers/pci/hotplug/acpiphp_glue.c
437
acpi_bus_scan(adev->handle);
drivers/pci/hotplug/acpiphp_glue.c
663
status = acpi_evaluate_integer(adev->handle, "_STA", NULL, &sta);
drivers/pci/hotplug/acpiphp_glue.c
785
acpi_handle handle = context->hp.self->handle;
drivers/pci/hotplug/acpiphp_glue.c
802
acpi_handle_debug(handle, "Bus check in %s()\n", __func__);
drivers/pci/hotplug/acpiphp_glue.c
812
acpi_handle_debug(handle, "Device check in %s()\n", __func__);
drivers/pci/hotplug/acpiphp_glue.c
827
acpi_handle_debug(handle, "Eject request in %s()\n", __func__);
drivers/pci/hotplug/acpiphp_glue.c
861
acpi_handle handle;
drivers/pci/hotplug/acpiphp_glue.c
871
handle = adev->handle;
drivers/pci/hotplug/acpiphp_glue.c
924
status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
drivers/pci/hotplug/acpiphp_glue.c
927
acpi_handle_err(handle, "failed to register slots\n");
drivers/pci/hotplug/acpiphp_ibm.c
251
static void ibm_handle_events(acpi_handle handle, u32 event, void *context)
drivers/pci/hotplug/acpiphp_ibm.c
384
static acpi_status __init ibm_find_acpi_device(acpi_handle handle,
drivers/pci/hotplug/acpiphp_ibm.c
393
status = acpi_get_object_info(handle, &info);
drivers/pci/hotplug/acpiphp_ibm.c
400
acpi_bus_get_status_handle(handle, &current_status);
drivers/pci/hotplug/acpiphp_ibm.c
406
info->hardware_id.string, handle);
drivers/pci/hotplug/acpiphp_ibm.c
407
*phandle = handle;
drivers/pci/hotplug/acpiphp_ibm.c
84
static void ibm_handle_events(acpi_handle handle, u32 event, void *context);
drivers/pci/hotplug/acpiphp_ibm.c
89
static acpi_status __init ibm_find_acpi_device(acpi_handle handle,
drivers/pci/hotplug/cpqphp.h
35
u16 handle;
drivers/pci/hotplug/cpqphp.h
50
SMBIOS_SLOT_GENERIC_HANDLE = offsetof(struct smbios_system_slot, handle),
drivers/pci/hotplug/cpqphp.h
64
u16 handle;
drivers/pci/hotplug/cpqphp.h
71
SMBIOS_GENERIC_HANDLE = offsetof(struct smbios_generic, handle),
drivers/pci/npem.c
270
acpi_handle handle;
drivers/pci/npem.c
272
handle = ACPI_HANDLE(&pdev->dev);
drivers/pci/npem.c
273
if (!handle)
drivers/pci/npem.c
276
return acpi_check_dsm(handle, &dsm_guid, 0x1,
drivers/pci/npem.c
301
acpi_handle handle = ACPI_HANDLE(&pdev->dev);
drivers/pci/npem.c
317
out_obj = acpi_evaluate_dsm_typed(handle, &dsm_guid, 0x1, dsm_func,
drivers/pci/pci-acpi.c
1084
if (!adev || acpi_has_method(adev->handle, "_EJ0"))
drivers/pci/pci-acpi.c
110
phys_addr_t acpi_pci_root_get_mcfg_addr(acpi_handle handle)
drivers/pci/pci-acpi.c
115
if (handle)
drivers/pci/pci-acpi.c
116
status = acpi_evaluate_integer(handle, METHOD_NAME__CBA,
drivers/pci/pci-acpi.c
1385
acpi_handle handle)
drivers/pci/pci-acpi.c
1394
obj = acpi_evaluate_dsm_typed(handle, &pci_acpi_dsm_guid, 3,
drivers/pci/pci-acpi.c
1437
pci_acpi_optimize_delay(pci_dev, adev->handle);
drivers/pci/pci-acpi.c
641
static acpi_status acpi_run_hpx(struct pci_dev *dev, acpi_handle handle)
drivers/pci/pci-acpi.c
65
static acpi_status acpi_match_rc(acpi_handle handle, u32 lvl, void *context,
drivers/pci/pci-acpi.c
652
status = acpi_evaluate_object(handle, "_HPX", NULL, &buffer);
drivers/pci/pci-acpi.c
716
static acpi_status acpi_run_hpp(struct pci_dev *dev, acpi_handle handle)
drivers/pci/pci-acpi.c
72
status = acpi_evaluate_integer(handle, METHOD_NAME__UID, NULL, &uid);
drivers/pci/pci-acpi.c
726
status = acpi_evaluate_object(handle, "_HPP", NULL, &buffer);
drivers/pci/pci-acpi.c
76
*(acpi_handle *)retval = handle;
drivers/pci/pci-acpi.c
765
acpi_handle handle, phandle;
drivers/pci/pci-acpi.c
771
handle = NULL;
drivers/pci/pci-acpi.c
773
handle = acpi_pci_get_bridge_handle(pbus);
drivers/pci/pci-acpi.c
774
if (handle)
drivers/pci/pci-acpi.c
784
while (handle) {
drivers/pci/pci-acpi.c
785
status = acpi_run_hpx(dev, handle);
drivers/pci/pci-acpi.c
788
status = acpi_run_hpp(dev, handle);
drivers/pci/pci-acpi.c
791
if (acpi_is_root_bridge(handle))
drivers/pci/pci-acpi.c
793
status = acpi_get_parent(handle, &phandle);
drivers/pci/pci-acpi.c
796
handle = phandle;
drivers/pci/pci-acpi.c
85
acpi_handle handle;
drivers/pci/pci-acpi.c
88
status = acpi_get_devices(hid, acpi_match_rc, &segment, &handle);
drivers/pci/pci-acpi.c
95
adev = acpi_fetch_acpi_dev(handle);
drivers/pci/pci-acpi.c
960
acpi_handle handle = ACPI_HANDLE(&dev->dev);
drivers/pci/pci-acpi.c
963
if (!handle || !acpi_has_method(handle, "_RST"))
drivers/pci/pci-acpi.c
975
if (ACPI_FAILURE(acpi_evaluate_object(handle, "_RST", NULL, NULL))) {
drivers/pci/pci-label.c
158
acpi_handle handle = ACPI_HANDLE(dev);
drivers/pci/pci-label.c
162
if (!handle)
drivers/pci/pci-label.c
165
obj = acpi_evaluate_dsm(handle, &pci_acpi_dsm_guid, 0x2,
drivers/pci/pci-label.c
39
acpi_handle handle = ACPI_HANDLE(dev);
drivers/pci/pci-label.c
41
if (!handle)
drivers/pci/pci-label.c
44
return acpi_check_dsm(handle, &pci_acpi_dsm_guid, 0x2,
drivers/pci/pci.c
6219
acpi_has_method(adev->handle, "_PR3");
drivers/pci/pcie/edr.c
143
status = acpi_evaluate_ost(adev->handle, ACPI_NOTIFY_DISCONNECT_RECOVER,
drivers/pci/pcie/edr.c
151
static void edr_handle_event(acpi_handle handle, u32 event, void *data)
drivers/pci/pcie/edr.c
231
status = acpi_install_notify_handler(adev->handle, ACPI_SYSTEM_NOTIFY,
drivers/pci/pcie/edr.c
239
acpi_remove_notify_handler(adev->handle, ACPI_SYSTEM_NOTIFY,
drivers/pci/pcie/edr.c
252
acpi_remove_notify_handler(adev->handle, ACPI_SYSTEM_NOTIFY,
drivers/pci/pcie/edr.c
38
if (!acpi_check_dsm(adev->handle, &pci_acpi_dsm_guid, 6,
drivers/pci/pcie/edr.c
49
obj = acpi_evaluate_dsm(adev->handle, &pci_acpi_dsm_guid, 6,
drivers/pci/pcie/edr.c
87
if (!acpi_check_dsm(adev->handle, &pci_acpi_dsm_guid, 5,
drivers/pci/pcie/edr.c
91
obj = acpi_evaluate_dsm(adev->handle, &pci_acpi_dsm_guid, 5,
drivers/pci/tph.c
117
out_obj = acpi_evaluate_dsm(handle, &pci_acpi_dsm_guid, 7,
drivers/pci/tph.c
92
static acpi_status tph_invoke_dsm(acpi_handle handle, u32 cpu_uid,
drivers/pci/tph.c
97
if (!acpi_check_dsm(handle, &pci_acpi_dsm_guid, 7,
drivers/perf/arm_spe_pmu.c
1306
DRVNAME, mask, spe_pmu->handle);
drivers/perf/arm_spe_pmu.c
1318
free_percpu_irq(spe_pmu->irq, spe_pmu->handle);
drivers/perf/arm_spe_pmu.c
1326
free_percpu_irq(spe_pmu->irq, spe_pmu->handle);
drivers/perf/arm_spe_pmu.c
1382
spe_pmu->handle = alloc_percpu(typeof(*spe_pmu->handle));
drivers/perf/arm_spe_pmu.c
1383
if (!spe_pmu->handle)
drivers/perf/arm_spe_pmu.c
1406
free_percpu(spe_pmu->handle);
drivers/perf/arm_spe_pmu.c
1416
free_percpu(spe_pmu->handle);
drivers/perf/arm_spe_pmu.c
484
static void arm_spe_pmu_pad_buf(struct perf_output_handle *handle, int len)
drivers/perf/arm_spe_pmu.c
486
struct arm_spe_pmu_buf *buf = perf_get_aux(handle);
drivers/perf/arm_spe_pmu.c
487
u64 head = PERF_IDX2OFF(handle->head, buf);
drivers/perf/arm_spe_pmu.c
491
perf_aux_output_skip(handle, len);
drivers/perf/arm_spe_pmu.c
494
static u64 arm_spe_pmu_next_snapshot_off(struct perf_output_handle *handle)
drivers/perf/arm_spe_pmu.c
496
struct arm_spe_pmu_buf *buf = perf_get_aux(handle);
drivers/perf/arm_spe_pmu.c
497
struct arm_spe_pmu *spe_pmu = to_spe_pmu(handle->event->pmu);
drivers/perf/arm_spe_pmu.c
498
u64 head = PERF_IDX2OFF(handle->head, buf);
drivers/perf/arm_spe_pmu.c
515
arm_spe_pmu_pad_buf(handle, limit - head);
drivers/perf/arm_spe_pmu.c
516
handle->head = PERF_IDX2OFF(limit, buf);
drivers/perf/arm_spe_pmu.c
517
limit = ((buf->nr_pages * PAGE_SIZE) >> 1) + handle->head;
drivers/perf/arm_spe_pmu.c
523
static u64 __arm_spe_pmu_next_off(struct perf_output_handle *handle)
drivers/perf/arm_spe_pmu.c
525
struct arm_spe_pmu *spe_pmu = to_spe_pmu(handle->event->pmu);
drivers/perf/arm_spe_pmu.c
526
struct arm_spe_pmu_buf *buf = perf_get_aux(handle);
drivers/perf/arm_spe_pmu.c
545
head = PERF_IDX2OFF(handle->head, buf);
drivers/perf/arm_spe_pmu.c
549
delta = min(delta, handle->size);
drivers/perf/arm_spe_pmu.c
550
arm_spe_pmu_pad_buf(handle, delta);
drivers/perf/arm_spe_pmu.c
551
head = PERF_IDX2OFF(handle->head, buf);
drivers/perf/arm_spe_pmu.c
555
if (!handle->size)
drivers/perf/arm_spe_pmu.c
559
tail = PERF_IDX2OFF(handle->head + handle->size, buf);
drivers/perf/arm_spe_pmu.c
560
wakeup = PERF_IDX2OFF(handle->wakeup, buf);
drivers/perf/arm_spe_pmu.c
580
if (handle->wakeup < (handle->head + handle->size) && head <= wakeup)
drivers/perf/arm_spe_pmu.c
586
arm_spe_pmu_pad_buf(handle, handle->size);
drivers/perf/arm_spe_pmu.c
588
perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED);
drivers/perf/arm_spe_pmu.c
589
perf_aux_output_end(handle, 0);
drivers/perf/arm_spe_pmu.c
593
static u64 arm_spe_pmu_next_off(struct perf_output_handle *handle)
drivers/perf/arm_spe_pmu.c
595
struct arm_spe_pmu_buf *buf = perf_get_aux(handle);
drivers/perf/arm_spe_pmu.c
596
struct arm_spe_pmu *spe_pmu = to_spe_pmu(handle->event->pmu);
drivers/perf/arm_spe_pmu.c
597
u64 limit = __arm_spe_pmu_next_off(handle);
drivers/perf/arm_spe_pmu.c
598
u64 head = PERF_IDX2OFF(handle->head, buf);
drivers/perf/arm_spe_pmu.c
605
arm_spe_pmu_pad_buf(handle, limit - head);
drivers/perf/arm_spe_pmu.c
606
limit = __arm_spe_pmu_next_off(handle);
drivers/perf/arm_spe_pmu.c
612
static int arm_spe_perf_aux_output_begin(struct perf_output_handle *handle,
drivers/perf/arm_spe_pmu.c
625
buf = perf_aux_output_begin(handle, event);
drivers/perf/arm_spe_pmu.c
635
limit = buf->snapshot ? arm_spe_pmu_next_snapshot_off(handle)
drivers/perf/arm_spe_pmu.c
636
: arm_spe_pmu_next_off(handle);
drivers/perf/arm_spe_pmu.c
641
base = (u64)buf->base + PERF_IDX2OFF(handle->head, buf);
drivers/perf/arm_spe_pmu.c
649
static void arm_spe_perf_aux_output_end(struct perf_output_handle *handle)
drivers/perf/arm_spe_pmu.c
651
struct arm_spe_pmu_buf *buf = perf_get_aux(handle);
drivers/perf/arm_spe_pmu.c
655
size = offset - PERF_IDX2OFF(handle->head, buf);
drivers/perf/arm_spe_pmu.c
658
handle->head = offset;
drivers/perf/arm_spe_pmu.c
660
perf_aux_output_end(handle, size);
drivers/perf/arm_spe_pmu.c
680
arm_spe_pmu_buf_get_fault_act(struct perf_output_handle *handle)
drivers/perf/arm_spe_pmu.c
706
perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED |
drivers/perf/arm_spe_pmu.c
711
perf_aux_output_flag(handle, PERF_AUX_FLAG_COLLISION);
drivers/perf/arm_spe_pmu.c
744
arm_spe_perf_aux_output_end(handle);
drivers/perf/arm_spe_pmu.c
750
struct perf_output_handle *handle = dev;
drivers/perf/arm_spe_pmu.c
751
struct perf_event *event = handle->event;
drivers/perf/arm_spe_pmu.c
754
if (!perf_get_aux(handle))
drivers/perf/arm_spe_pmu.c
757
act = arm_spe_pmu_buf_get_fault_act(handle);
drivers/perf/arm_spe_pmu.c
785
if (!(handle->aux_flags & PERF_AUX_FLAG_TRUNCATED)) {
drivers/perf/arm_spe_pmu.c
786
if (arm_spe_perf_aux_output_begin(handle, event)) {
drivers/perf/arm_spe_pmu.c
885
struct perf_output_handle *handle = this_cpu_ptr(spe_pmu->handle);
drivers/perf/arm_spe_pmu.c
888
if (arm_spe_perf_aux_output_begin(handle, event)) {
drivers/perf/arm_spe_pmu.c
929
struct perf_output_handle *handle = this_cpu_ptr(spe_pmu->handle);
drivers/perf/arm_spe_pmu.c
944
if (perf_get_aux(handle)) {
drivers/perf/arm_spe_pmu.c
947
act = arm_spe_pmu_buf_get_fault_act(handle);
drivers/perf/arm_spe_pmu.c
949
arm_spe_perf_aux_output_end(handle);
drivers/perf/arm_spe_pmu.c
97
struct perf_output_handle __percpu *handle;
drivers/perf/thunderx2_pmu.c
784
acpi_handle handle, struct acpi_device *adev, u32 type)
drivers/perf/thunderx2_pmu.c
882
static acpi_status tx2_uncore_pmu_add(acpi_handle handle, u32 level,
drivers/perf/thunderx2_pmu.c
885
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/perf/thunderx2_pmu.c
897
handle, adev, type);
drivers/perf/thunderx2_pmu.c
962
acpi_handle handle;
drivers/perf/thunderx2_pmu.c
970
handle = ACPI_HANDLE(dev);
drivers/perf/thunderx2_pmu.c
971
if (!handle)
drivers/perf/thunderx2_pmu.c
975
status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
drivers/perf/xgene_pmu.c
1539
static acpi_status acpi_pmu_dev_add(acpi_handle handle, u32 level,
drivers/perf/xgene_pmu.c
1542
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/perf/xgene_pmu.c
1588
acpi_handle handle;
drivers/perf/xgene_pmu.c
1591
handle = ACPI_HANDLE(dev);
drivers/perf/xgene_pmu.c
1592
if (!handle)
drivers/perf/xgene_pmu.c
1595
status = acpi_walk_namespace(ACPI_TYPE_DEVICE, handle, 1,
drivers/pinctrl/freescale/pinctrl-imx-scmi.c
313
const struct scmi_handle *handle = sdev->handle;
drivers/pinctrl/freescale/pinctrl-imx-scmi.c
319
if (!handle)
drivers/pinctrl/freescale/pinctrl-imx-scmi.c
325
pinctrl_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_PINCTRL, &ph);
drivers/pinctrl/pinctrl-scmi.c
518
const struct scmi_handle *handle;
drivers/pinctrl/pinctrl-scmi.c
521
if (!sdev->handle)
drivers/pinctrl/pinctrl-scmi.c
527
handle = sdev->handle;
drivers/pinctrl/pinctrl-scmi.c
529
pinctrl_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_PINCTRL, &ph);
drivers/platform/chrome/chromeos_privacy_screen.c
35
acpi_handle handle;
drivers/platform/chrome/chromeos_privacy_screen.c
39
handle = acpi_device_handle(to_acpi_device(privacy_screen));
drivers/platform/chrome/chromeos_privacy_screen.c
40
obj = acpi_evaluate_dsm(handle, &chromeos_privacy_screen_dsm_guid,
drivers/platform/chrome/chromeos_privacy_screen.c
68
acpi_handle handle;
drivers/platform/chrome/chromeos_privacy_screen.c
72
handle = acpi_device_handle(to_acpi_device(privacy_screen));
drivers/platform/chrome/chromeos_privacy_screen.c
75
obj = acpi_evaluate_dsm(handle,
drivers/platform/chrome/chromeos_privacy_screen.c
80
obj = acpi_evaluate_dsm(handle,
drivers/platform/chrome/chromeos_tbmc.c
30
status = acpi_evaluate_integer(adev->handle, "TBMC", NULL, &state);
drivers/platform/chrome/cros_ec_lpc.c
477
static acpi_status cros_ec_lpc_parse_device(acpi_handle handle, u32 level,
drivers/platform/chrome/cros_ec_lpc.c
480
*(struct acpi_device **)context = acpi_fetch_acpi_dev(handle);
drivers/platform/chrome/cros_ec_lpc.c
567
status = acpi_walk_resources(adev->handle, METHOD_NAME__CRS,
drivers/platform/chrome/cros_ec_lpc.c
674
status = acpi_install_notify_handler(adev->handle,
drivers/platform/chrome/cros_ec_lpc.c
693
acpi_remove_notify_handler(adev->handle, ACPI_ALL_NOTIFY,
drivers/platform/chrome/cros_ec_lpc_mec.c
215
status = acpi_get_handle(adev->handle, pathname, &aml_mutex);
drivers/platform/chrome/cros_kbd_led_backlight.c
105
&handle);
drivers/platform/chrome/cros_kbd_led_backlight.c
99
acpi_handle handle;
drivers/platform/chrome/cros_usbpd_notify.c
138
status = acpi_install_notify_handler(adev->handle,
drivers/platform/chrome/cros_usbpd_notify.c
156
acpi_remove_notify_handler(adev->handle, ACPI_ALL_NOTIFY,
drivers/platform/chrome/wilco_ec/event.c
273
status = acpi_evaluate_object(adev->handle, EC_ACPI_GET_EVENT,
drivers/platform/loongarch/loongson-laptop.c
115
status = acpi_evaluate_object(handle, method, &params, resultp);
drivers/platform/loongarch/loongson-laptop.c
147
static void dispatch_acpi_notify(acpi_handle handle, u32 event, void *data)
drivers/platform/loongarch/loongson-laptop.c
160
if (!*sub_driver->handle)
drivers/platform/loongarch/loongson-laptop.c
163
sub_driver->device = acpi_fetch_acpi_dev(*sub_driver->handle);
drivers/platform/loongarch/loongson-laptop.c
173
status = acpi_install_notify_handler(*sub_driver->handle,
drivers/platform/loongarch/loongson-laptop.c
45
acpi_handle *handle;
drivers/platform/loongarch/loongson-laptop.c
534
acpi_remove_notify_handler(*sub_driver->handle,
drivers/platform/loongarch/loongson-laptop.c
546
.handle = &hotkey_handle,
drivers/platform/loongarch/loongson-laptop.c
64
static int acpi_evalf(acpi_handle handle, int *res, char *method, char *fmt, ...)
drivers/platform/mellanox/mlx-platform.c
2920
mlxplat_mlxcpld_l1_switch_pwr_events_handler(void *handle, enum mlxreg_hotplug_kind kind,
drivers/platform/mellanox/mlx-platform.c
2949
mlxplat_mlxcpld_l1_switch_intrusion_events_handler(void *handle, enum mlxreg_hotplug_kind kind,
drivers/platform/mellanox/mlx-platform.c
412
static int mlxplat_i2c_main_completion_notify(void *handle, int id);
drivers/platform/mellanox/mlx-platform.c
8424
mlxplat_i2c_mux_complition_notify(void *handle, struct i2c_adapter *parent,
drivers/platform/mellanox/mlx-platform.c
8427
struct mlxplat_priv *priv = handle;
drivers/platform/mellanox/mlx-platform.c
8471
static int mlxplat_i2c_main_completion_notify(void *handle, int id)
drivers/platform/mellanox/mlx-platform.c
8473
struct mlxplat_priv *priv = handle;
drivers/platform/mellanox/mlx-platform.c
8491
mlxplat_i2c->handle = priv;
drivers/platform/mellanox/mlxreg-hotplug.c
168
return data->hpdev.notifier->user_handler(data->hpdev.notifier->handle, kind, 1);
drivers/platform/mellanox/mlxreg-hotplug.c
181
data->hpdev.notifier->user_handler(data->hpdev.notifier->handle, kind, 0);
drivers/platform/mellanox/mlxreg-lc.c
558
static int mlxreg_lc_event_handler(void *handle, enum mlxreg_hotplug_kind kind, u8 action)
drivers/platform/mellanox/mlxreg-lc.c
560
struct mlxreg_lc *mlxreg_lc = handle;
drivers/platform/mellanox/mlxreg-lc.c
641
static int mlxreg_lc_completion_notify(void *handle, struct i2c_adapter *parent,
drivers/platform/mellanox/mlxreg-lc.c
645
struct mlxreg_lc *mlxreg_lc = handle;
drivers/platform/mellanox/mlxreg-lc.c
742
mlxreg_lc->mux_data->handle = mlxreg_lc;
drivers/platform/mellanox/mlxreg-lc.c
829
data->notifier->handle = mlxreg_lc;
drivers/platform/mellanox/mlxreg-lc.c
905
data->notifier->handle = NULL;
drivers/platform/mellanox/mlxreg-lc.c
923
if (!data->notifier || !data->notifier->handle)
drivers/platform/mellanox/mlxreg-lc.c
928
data->notifier->handle = NULL;
drivers/platform/mellanox/nvsw-sn2201.c
1173
static int nvsw_sn2201_i2c_completion_notify(void *handle, int id)
drivers/platform/mellanox/nvsw-sn2201.c
1175
struct nvsw_sn2201 *nvsw_sn2201 = handle;
drivers/platform/mellanox/nvsw-sn2201.c
1277
nvsw_sn2201->i2c_data->handle = nvsw_sn2201;
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
116
vchiq_blocking_bulk_transfer(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
1199
vchiq_use_service(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
1202
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
1213
vchiq_release_service(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
1216
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
466
*phandle = service->handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
494
*phandle = service->handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
497
vchiq_remove_service(instance, service->handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
510
vchiq_bulk_transmit(struct vchiq_instance *instance, unsigned int handle, const void *data,
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
526
ret = vchiq_bulk_xfer_callback(instance, handle, &bulk_params);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
534
ret = vchiq_blocking_bulk_transfer(instance, handle, &bulk_params);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
544
int vchiq_bulk_receive(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
561
ret = vchiq_bulk_xfer_callback(instance, handle, &bulk_params);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
569
ret = vchiq_blocking_bulk_transfer(instance, handle, &bulk_params);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
580
vchiq_blocking_bulk_transfer(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
587
service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
628
ret = vchiq_bulk_xfer_blocking(instance, handle, bulk_params);
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
753
struct vchiq_header *header, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
772
service = handle_to_service(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
230
struct vchiq_service *handle_to_service(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
232
int idx = handle & (VCHIQ_MAX_SERVICES - 1);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
238
find_service_by_handle(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
243
service = handle_to_service(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
245
service->handle == handle &&
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
252
dev_dbg(instance->state->dev, "core: Invalid service handle 0x%x\n", handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
2648
void vchiq_msg_queue_push(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
2651
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
2671
struct vchiq_header *vchiq_msg_hold(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
2673
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
2733
service->handle = VCHIQ_SERVICE_HANDLE_INVALID;
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
277
find_service_for_instance(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
2805
service->handle = handle_seq |
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
282
service = handle_to_service(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
284
service->handle == handle &&
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
292
dev_dbg(instance->state->dev, "core: Invalid service handle 0x%x\n", handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
297
find_closed_service_for_instance(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
2991
service->handle, srvstate_names[service->srvstate]);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
302
service = handle_to_service(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
306
service->handle == handle &&
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
314
dev_dbg(instance->state->dev, "core: Invalid service handle 0x%x\n", handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3361
(void)vchiq_remove_service(instance, service->handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3367
vchiq_close_service(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3370
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3425
vchiq_remove_service(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3428
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3483
vchiq_bulk_xfer_blocking(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3486
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3510
vchiq_bulk_xfer_callback(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3513
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3547
unsigned int handle, struct bulk_waiter *waiter)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3549
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3585
vchiq_queue_message(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3591
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3635
int vchiq_queue_kernel_message(struct vchiq_instance *instance, unsigned int handle, void *data,
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3638
return vchiq_queue_message(instance, handle, memcpy_copy_callback,
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3644
vchiq_release_message(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3647
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3686
vchiq_get_peer_version(struct vchiq_instance *instance, unsigned int handle, short *peer_version)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3689
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3721
vchiq_set_service_option(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
3724
struct vchiq_service *service = find_service_by_handle(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
397
vchiq_get_client_id(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
403
service = handle_to_service(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
410
vchiq_get_service_userdata(struct vchiq_instance *instance, unsigned int handle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
416
service = handle_to_service(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
476
status = service->base.callback(service->instance, reason, header, service->handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
481
service->state->id, service->handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_core.c
486
vchiq_release_message(service->instance, service->handle, header);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
1005
ret = vchiq_ioc_queue_message(instance, args.handle, elements,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
1016
unsigned int handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
1042
.handle = args32.handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
1088
unsigned int handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
1109
.handle = args32.handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
111
vchiq_ioc_queue_message(struct vchiq_instance *instance, unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
1272
vchiq_release_message(instance, service->handle, header);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
130
status = vchiq_queue_message(instance, handle, vchiq_ioc_copy_element_data,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
194
vchiq_remove_service(instance, service->handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
199
args->handle = service->handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
214
service = find_service_for_instance(instance, args->handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
268
vchiq_release_message(instance, service->handle, header);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
296
service = find_service_for_instance(instance, args->handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
313
status = vchiq_bulk_xfer_blocking(instance, args->handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
335
status = vchiq_bulk_xfer_waiting(instance, args->handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
344
status = vchiq_bulk_xfer_callback(instance, args->handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
52
"arm: (handle=%x)\n", user_service->service->handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
543
vchiq_release_message(instance, service->handle, header);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
605
status = vchiq_remove_service(instance, service->handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
657
if (put_user(args.handle, &argp->handle)) {
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
658
vchiq_remove_service(instance, args.handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
665
unsigned int handle = (unsigned int)arg;
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
668
service = find_service_for_instance(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
682
vchiq_close_service(instance, service->handle) :
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
683
vchiq_remove_service(instance, service->handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
701
unsigned int handle = (unsigned int)arg;
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
703
service = find_service_for_instance(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
731
service = find_service_for_instance(instance, args.handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
739
ret = vchiq_ioc_queue_message(instance, args.handle, elements,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
794
unsigned int handle = (unsigned int)arg;
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
796
ret = vchiq_get_client_id(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
829
service = find_service_for_instance(instance, args.handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
835
ret = vchiq_set_service_option(instance, args.handle, args.option,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
849
unsigned int handle = (unsigned int)arg;
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
851
service = find_closed_service_for_instance(instance, handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
905
unsigned int handle; /* OUT */
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
933
.handle = args32.handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
940
if (put_user(args.handle, &ptrargs32->handle)) {
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
941
vchiq_remove_service(instance, args.handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
954
unsigned int handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
977
.handle = args32.handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_dev.c
985
service = find_service_for_instance(instance, args.handle);
drivers/platform/raspberrypi/vchiq-interface/vchiq_ioctl.h
17
unsigned int handle,
drivers/platform/raspberrypi/vchiq-interface/vchiq_ioctl.h
28
unsigned int handle; /* OUT */
drivers/platform/raspberrypi/vchiq-interface/vchiq_ioctl.h
32
unsigned int handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_ioctl.h
38
unsigned int handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_ioctl.h
61
unsigned int handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_ioctl.h
73
unsigned int handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1022
m.u.component_enable.component_handle = component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1054
m.u.component_disable.component_handle = component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1120
m.u.port_action_port.component_handle = port->component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1121
m.u.port_action_port.port_handle = port->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1142
ret, port->component->handle, port->handle,
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1165
m.u.port_action_handle.component_handle = port->component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1166
m.u.port_action_handle.port_handle = port->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1189
ret, port->component->handle, port->handle,
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1210
m.u.port_parameter_set.component_handle = port->component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1211
m.u.port_parameter_set.port_handle = port->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1232
ret, port->component->handle, port->handle, parameter_id);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1251
m.u.port_parameter_get.component_handle = port->component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1252
m.u.port_parameter_get.port_handle = port->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
127
int handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1291
ret, port->component->handle, port->handle, parameter_id);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1531
src->connected->component->handle,
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1532
src->connected->handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1576
dst->component->handle, dst->handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1579
src->component->handle, src->handle,
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
1580
dst->component->handle, dst->handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
190
int handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
203
handle = idr_alloc(&instance->context_map, msg_context,
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
207
if (handle < 0) {
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
209
return ERR_PTR(handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
213
msg_context->handle = handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
219
lookup_msg_context(struct vchiq_mmal_instance *instance, int handle)
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
221
return idr_find(&instance->context_map, handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
230
idr_remove(&instance->context_map, msg_context->handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
414
m.h.context = msg_context->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
419
m.u.buffer_from_host.drvbuf.component_handle = port->component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
420
m.u.buffer_from_host.drvbuf.port_handle = port->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
421
m.u.buffer_from_host.drvbuf.client_context = msg_context->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
459
u32 handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
465
handle = msg->u.buffer_from_host.drvbuf.client_context;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
466
msg_context = lookup_msg_context(instance, handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
470
handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
555
unsigned int handle, void *cb_data,
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
558
struct vchiq_mmal_instance *instance = vchiq_get_service_userdata(vchiq_instance, handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
578
vchiq_release_message(vchiq_instance, handle, header);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
583
vchiq_release_message(vchiq_instance, handle, header);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
589
vchiq_release_message(vchiq_instance, handle, header);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
596
vchiq_release_message(vchiq_instance, handle, header);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
605
vchiq_release_message(vchiq_instance, handle, header);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
678
msg->h.context = msg_context->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
717
pr_debug("port handle:0x%x enabled:%d\n", port->handle, port->enabled);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
790
m.u.port_info_set.component_handle = port->component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
827
port->component->handle, port->handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
846
m.u.port_info_get.component_handle = port->component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
873
port->handle = rmsg->u.port_info_get_reply.port_handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
923
__func__, ret, port->component->handle, port->handle);
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
964
component->handle = rmsg->u.component_create_reply.component_handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
970
component->handle,
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c
989
m.u.component_destroy.component_handle = component->handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.h
52
u32 handle;
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.h
87
u32 handle; /* VideoCore handle for component */
drivers/platform/surface/aggregator/controller.c
1028
static int ssam_dsm_get_functions(acpi_handle handle, u64 *funcs)
drivers/platform/surface/aggregator/controller.c
1044
if (!acpi_has_method(handle, "_DSM"))
drivers/platform/surface/aggregator/controller.c
1047
obj = acpi_evaluate_dsm_typed(handle, &SSAM_SSH_DSM_GUID,
drivers/platform/surface/aggregator/controller.c
1063
static int ssam_dsm_load_u32(acpi_handle handle, u64 funcs, u64 func, u32 *ret)
drivers/platform/surface/aggregator/controller.c
1071
obj = acpi_evaluate_dsm_typed(handle, &SSAM_SSH_DSM_GUID,
drivers/platform/surface/aggregator/controller.c
1100
int ssam_controller_caps_load_from_acpi(acpi_handle handle,
drivers/platform/surface/aggregator/controller.c
1108
status = ssam_dsm_get_functions(handle, &funcs);
drivers/platform/surface/aggregator/controller.c
1113
status = ssam_dsm_load_u32(handle, funcs, SSH_DSM_FN_SSH_POWER_PROFILE,
drivers/platform/surface/aggregator/controller.c
1118
status = ssam_dsm_load_u32(handle, funcs,
drivers/platform/surface/aggregator/controller.c
1124
status = ssam_dsm_load_u32(handle, funcs,
drivers/platform/surface/aggregator/controller.c
1130
status = ssam_dsm_load_u32(handle, funcs, SSH_DSM_FN_D3_CLOSES_HANDLE,
drivers/platform/surface/aggregator/controller.c
1137
status = ssam_dsm_load_u32(handle, funcs, SSH_DSM_FN_SSH_BUFFER_SIZE,
drivers/platform/surface/aggregator/controller.c
1176
acpi_handle handle = ACPI_HANDLE(dev);
drivers/platform/surface/aggregator/controller.c
1185
if (handle)
drivers/platform/surface/aggregator/controller.c
1186
return ssam_controller_caps_load_from_acpi(handle, caps);
drivers/platform/surface/aggregator/core.c
358
static int ssam_serdev_setup_via_acpi(struct serdev_device *serdev, acpi_handle handle)
drivers/platform/surface/aggregator/core.c
362
status = acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/platform/surface/aggregator/core.c
371
return ssam_serdev_setup_via_acpi(serdev, ssh->handle);
drivers/platform/surface/surface3-wmi.c
114
static acpi_status s3_wmi_attach_spi_device(acpi_handle handle,
drivers/platform/surface/surface3-wmi.c
119
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/platform/surface/surface3-wmi.c
157
status = acpi_walk_namespace(ACPI_TYPE_DEVICE, adev->handle, 1,
drivers/platform/surface/surface3-wmi.c
225
acpi_bus_scan(s3_wmi.pnp0c0d_adev->handle);
drivers/platform/surface/surface3-wmi.c
235
acpi_bus_scan(s3_wmi.pnp0c0d_adev->handle);
drivers/platform/surface/surface3_power.c
162
acpi_handle handle;
drivers/platform/surface/surface3_power.c
165
handle = ACPI_HANDLE(&cdata->adp1->dev);
drivers/platform/surface/surface3_power.c
166
if (!handle)
drivers/platform/surface/surface3_power.c
169
obj = acpi_evaluate_dsm_typed(handle, &mshw0011_guid, arg1, arg2, NULL,
drivers/platform/surface/surface3_power.c
462
status = acpi_bus_attach_private_data(adev->handle, (void *)data);
drivers/platform/surface/surface3_power.c
468
status = acpi_install_address_space_handler(adev->handle,
drivers/platform/surface/surface3_power.c
475
acpi_bus_detach_private_data(adev->handle);
drivers/platform/surface/surface3_power.c
487
acpi_handle handle;
drivers/platform/surface/surface3_power.c
490
handle = ACPI_HANDLE(&client->dev);
drivers/platform/surface/surface3_power.c
491
if (!handle)
drivers/platform/surface/surface3_power.c
494
acpi_remove_address_space_handler(handle,
drivers/platform/surface/surface3_power.c
498
status = acpi_bus_get_private_data(handle, (void **)&data);
drivers/platform/surface/surface3_power.c
502
acpi_bus_detach_private_data(handle);
drivers/platform/surface/surface_acpi_notify.c
718
#define san_consumer_printk(level, dev, handle, fmt, ...) \
drivers/platform/surface/surface_acpi_notify.c
726
if (ACPI_SUCCESS(acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer))) \
drivers/platform/surface/surface_acpi_notify.c
733
#define san_consumer_dbg(dev, handle, fmt, ...) \
drivers/platform/surface/surface_acpi_notify.c
734
san_consumer_printk(dbg, dev, handle, fmt, ##__VA_ARGS__)
drivers/platform/surface/surface_acpi_notify.c
736
#define san_consumer_warn(dev, handle, fmt, ...) \
drivers/platform/surface/surface_acpi_notify.c
737
san_consumer_printk(warn, dev, handle, fmt, ##__VA_ARGS__)
drivers/platform/surface/surface_acpi_notify.c
739
static acpi_status san_consumer_setup(acpi_handle handle, u32 lvl,
drivers/platform/surface/surface_acpi_notify.c
747
if (!acpi_device_dep(handle, ACPI_HANDLE(&pdev->dev)))
drivers/platform/surface/surface_acpi_notify.c
751
adev = acpi_fetch_acpi_dev(handle);
drivers/platform/surface/surface_acpi_notify.c
755
san_consumer_dbg(&pdev->dev, handle, "creating device link\n");
drivers/platform/surface/surface_acpi_notify.c
760
san_consumer_warn(&pdev->dev, handle, "failed to create device link\n");
drivers/platform/surface/surface_acpi_notify.c
803
astatus = acpi_install_address_space_handler(san->handle,
drivers/platform/surface/surface_hotplug.c
104
result = acpi_evaluate_dsm_typed(handle, &shps_dsm_guid, SHPS_DSM_REVISION,
drivers/platform/surface/surface_hotplug.c
146
acpi_handle handle = ACPI_HANDLE(&pdev->dev);
drivers/platform/surface/surface_hotplug.c
156
if (!acpi_check_dsm(handle, &shps_dsm_guid, SHPS_DSM_REVISION, BIT(dsm))) {
drivers/platform/surface/surface_hotplug.c
85
acpi_handle handle = ACPI_HANDLE(&pdev->dev);
drivers/platform/surface/surfacepro3_button.c
160
acpi_handle handle = dev->handle;
drivers/platform/surface/surfacepro3_button.c
165
result = acpi_evaluate_dsm_typed(handle, &MSHW0040_DSM_UUID,
drivers/platform/wmi/core.c
1160
if (!acpi_has_method(device->handle, method)) {
drivers/platform/wmi/core.c
1178
status = acpi_get_handle(device->handle, method, &method_handle);
drivers/platform/wmi/core.c
1209
if (acpi_has_method(device->handle, method))
drivers/platform/wmi/core.c
1276
status = acpi_evaluate_object(device->handle, "_WDG", NULL, &out);
drivers/platform/wmi/core.c
1289
event_data_available = acpi_has_method(device->handle, "_WED");
drivers/platform/wmi/core.c
1344
status = acpi_evaluate_object(wblock->acpi_device->handle, "_WED", &input, &data);
drivers/platform/wmi/core.c
1428
static void acpi_wmi_notify_handler(acpi_handle handle, u32 event, void *context)
drivers/platform/wmi/core.c
1456
acpi_remove_notify_handler(acpi_device->handle, ACPI_ALL_NOTIFY, acpi_wmi_notify_handler);
drivers/platform/wmi/core.c
1490
status = acpi_install_notify_handler(acpi_device->handle, ACPI_ALL_NOTIFY,
drivers/platform/wmi/core.c
175
acpi_handle handle;
drivers/platform/wmi/core.c
200
status = acpi_get_handle(wblock->acpi_device->handle, method, &handle);
drivers/platform/wmi/core.c
204
status = acpi_execute_simple_method(handle, NULL, enable);
drivers/platform/wmi/core.c
324
acpi_handle handle;
drivers/platform/wmi/core.c
331
handle = wblock->acpi_device->handle;
drivers/platform/wmi/core.c
362
return acpi_evaluate_object(handle, method, &input, out);
drivers/platform/wmi/core.c
434
acpi_handle handle;
drivers/platform/wmi/core.c
443
handle = wblock->acpi_device->handle;
drivers/platform/wmi/core.c
462
return acpi_evaluate_object(handle, method, &input, out);
drivers/platform/wmi/core.c
595
acpi_handle handle = wblock->acpi_device->handle;
drivers/platform/wmi/core.c
628
return acpi_evaluate_object(handle, method, &input, NULL);
drivers/platform/wmi/tests/marshalling_kunit.c
275
.handle = NULL,
drivers/platform/x86/acer-wmi.c
288
u16 handle;
drivers/platform/x86/adv_swbutton.c
28
static void adv_swbutton_notify(acpi_handle handle, u32 event, void *context)
drivers/platform/x86/adv_swbutton.c
51
acpi_handle handle = ACPI_HANDLE(&device->dev);
drivers/platform/x86/adv_swbutton.c
81
status = acpi_install_notify_handler(handle,
drivers/platform/x86/adv_swbutton.c
95
acpi_handle handle = ACPI_HANDLE(&device->dev);
drivers/platform/x86/adv_swbutton.c
97
acpi_remove_notify_handler(handle, ACPI_DEVICE_NOTIFY,
drivers/platform/x86/amd/pmf/acpi.c
379
static void apmf_event_handler_v2(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/amd/pmf/acpi.c
399
static void apmf_event_handler_v1(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/amd/pmf/acpi.c
419
static void apmf_event_handler(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/amd/pmf/pmf.h
134
typedef void (*apmf_event_handler_t)(acpi_handle handle, u32 event, void *data);
drivers/platform/x86/amd/wbrf.c
104
acpi_evaluate_dsm(adev->handle, &wifi_acpi_dsm_guid,
drivers/platform/x86/amd/wbrf.c
178
return acpi_check_dsm(adev->handle, &wifi_acpi_dsm_guid,
drivers/platform/x86/amd/wbrf.c
203
return acpi_check_dsm(adev->handle, &wifi_acpi_dsm_guid,
drivers/platform/x86/amd/wbrf.c
239
obj = acpi_evaluate_dsm(adev->handle, &wifi_acpi_dsm_guid,
drivers/platform/x86/amd/x3d_vcache.c
134
acpi_handle handle;
drivers/platform/x86/amd/x3d_vcache.c
137
handle = ACPI_HANDLE(&pdev->dev);
drivers/platform/x86/amd/x3d_vcache.c
138
if (!handle)
drivers/platform/x86/amd/x3d_vcache.c
141
if (!acpi_check_dsm(handle, &x3d_guid, DSM_REVISION_ID, BIT(DSM_SET_X3D_MODE)))
drivers/platform/x86/amd/x3d_vcache.c
154
data->ahandle = handle;
drivers/platform/x86/asus-laptop.c
1015
if (write_acpi_int(asus->handle, METHOD_BLUETOOTH, !!status)) {
drivers/platform/x86/asus-laptop.c
1045
if (write_acpi_int(asus->handle, METHOD_WIMAX, !!status)) {
drivers/platform/x86/asus-laptop.c
1074
if (write_acpi_int(asus->handle, METHOD_WWAN, !!status)) {
drivers/platform/x86/asus-laptop.c
1104
if (write_acpi_int(asus->handle, METHOD_SWITCH_DISPLAY, value))
drivers/platform/x86/asus-laptop.c
1143
ret = write_acpi_int(asus->handle, METHOD_ALS_CONTROL, value);
drivers/platform/x86/asus-laptop.c
1177
if (write_acpi_int(asus->handle, METHOD_ALS_LEVEL, value))
drivers/platform/x86/asus-laptop.c
1211
int err = write_acpi_int_ret(asus->handle, METHOD_PEGA_READ, arg,
drivers/platform/x86/asus-laptop.c
1246
rv = acpi_evaluate_integer(asus->handle, METHOD_GPS_STATUS,
drivers/platform/x86/asus-laptop.c
1259
if (write_acpi_int(asus->handle, meth, 0x02))
drivers/platform/x86/asus-laptop.c
1372
if (!acpi_check_handle(asus->handle, METHOD_GPS_ON, NULL) &&
drivers/platform/x86/asus-laptop.c
1373
!acpi_check_handle(asus->handle, METHOD_GPS_OFF, NULL) &&
drivers/platform/x86/asus-laptop.c
1374
!acpi_check_handle(asus->handle, METHOD_GPS_STATUS, NULL))
drivers/platform/x86/asus-laptop.c
1382
if (!acpi_check_handle(asus->handle, METHOD_WLAN, NULL) &&
drivers/platform/x86/asus-laptop.c
1390
if (!acpi_check_handle(asus->handle, METHOD_BLUETOOTH, NULL) &&
drivers/platform/x86/asus-laptop.c
1399
if (!acpi_check_handle(asus->handle, METHOD_WWAN, NULL))
drivers/platform/x86/asus-laptop.c
1406
if (!acpi_check_handle(asus->handle, METHOD_WIMAX, NULL))
drivers/platform/x86/asus-laptop.c
1576
acpi_handle handle = asus->handle;
drivers/platform/x86/asus-laptop.c
1593
supported = !acpi_check_handle(handle, METHOD_WLAN, NULL);
drivers/platform/x86/asus-laptop.c
1596
supported = !acpi_check_handle(handle, METHOD_BLUETOOTH, NULL);
drivers/platform/x86/asus-laptop.c
1599
supported = !acpi_check_handle(handle, METHOD_SWITCH_DISPLAY, NULL);
drivers/platform/x86/asus-laptop.c
1603
!acpi_check_handle(asus->handle, METHOD_WIMAX, NULL);
drivers/platform/x86/asus-laptop.c
1606
supported = !acpi_check_handle(asus->handle, METHOD_WWAN, NULL);
drivers/platform/x86/asus-laptop.c
1609
supported = !acpi_check_handle(handle, METHOD_LEDD, NULL);
drivers/platform/x86/asus-laptop.c
1613
supported = !acpi_check_handle(handle, METHOD_ALS_CONTROL, NULL) &&
drivers/platform/x86/asus-laptop.c
1614
!acpi_check_handle(handle, METHOD_ALS_LEVEL, NULL);
drivers/platform/x86/asus-laptop.c
1618
supported = !acpi_check_handle(handle, METHOD_GPS_ON, NULL) &&
drivers/platform/x86/asus-laptop.c
1619
!acpi_check_handle(handle, METHOD_GPS_OFF, NULL) &&
drivers/platform/x86/asus-laptop.c
1620
!acpi_check_handle(handle, METHOD_GPS_STATUS, NULL);
drivers/platform/x86/asus-laptop.c
1698
if (write_acpi_int_ret(asus->handle, "INIT", 0, &buffer)) {
drivers/platform/x86/asus-laptop.c
1705
acpi_evaluate_integer(asus->handle, "BSTS", NULL, &bsts_result);
drivers/platform/x86/asus-laptop.c
1713
if (write_acpi_int(asus->handle, "CWAP", wapf))
drivers/platform/x86/asus-laptop.c
1744
if (!acpi_check_handle(asus->handle, METHOD_WL_STATUS, NULL))
drivers/platform/x86/asus-laptop.c
1791
if (!acpi_check_handle(asus->handle, METHOD_KBD_LIGHT_SET, NULL))
drivers/platform/x86/asus-laptop.c
1803
} else if (!acpi_check_handle(asus->handle, METHOD_ALS_CONTROL, NULL) &&
drivers/platform/x86/asus-laptop.c
1804
!acpi_check_handle(asus->handle, METHOD_ALS_LEVEL, NULL)) {
drivers/platform/x86/asus-laptop.c
1837
asus->handle = device->handle;
drivers/platform/x86/asus-laptop.c
273
acpi_handle handle; /* the handle of the hotk device */
drivers/platform/x86/asus-laptop.c
360
static int write_acpi_int_ret(acpi_handle handle, const char *method, int val,
drivers/platform/x86/asus-laptop.c
367
if (!handle)
drivers/platform/x86/asus-laptop.c
375
status = acpi_evaluate_object(handle, (char *)method, &params, output);
drivers/platform/x86/asus-laptop.c
382
static int write_acpi_int(acpi_handle handle, const char *method, int val)
drivers/platform/x86/asus-laptop.c
384
return write_acpi_int_ret(handle, method, val, NULL);
drivers/platform/x86/asus-laptop.c
387
static int acpi_check_handle(acpi_handle handle, const char *method,
drivers/platform/x86/asus-laptop.c
396
status = acpi_get_handle(handle, (char *)method,
drivers/platform/x86/asus-laptop.c
401
status = acpi_get_handle(handle, (char *)method,
drivers/platform/x86/asus-laptop.c
416
!acpi_check_handle(asus->handle, METHOD_PEGA_ENABLE, NULL) &&
drivers/platform/x86/asus-laptop.c
417
!acpi_check_handle(asus->handle, METHOD_PEGA_DISABLE, NULL) &&
drivers/platform/x86/asus-laptop.c
418
!acpi_check_handle(asus->handle, METHOD_PEGA_READ, NULL);
drivers/platform/x86/asus-laptop.c
424
return write_acpi_int(asus->handle, method, unit);
drivers/platform/x86/asus-laptop.c
434
status = acpi_evaluate_integer(asus->handle, method, NULL, &val);
drivers/platform/x86/asus-laptop.c
497
if (acpi_check_handle(asus->handle, METHOD_XLRX, NULL) ||
drivers/platform/x86/asus-laptop.c
498
acpi_check_handle(asus->handle, METHOD_XLRY, NULL) ||
drivers/platform/x86/asus-laptop.c
499
acpi_check_handle(asus->handle, METHOD_XLRZ, NULL))
drivers/platform/x86/asus-laptop.c
549
return write_acpi_int(asus->handle, method, value);
drivers/platform/x86/asus-laptop.c
594
rv = acpi_evaluate_integer(asus->handle, METHOD_KBD_LIGHT_GET,
drivers/platform/x86/asus-laptop.c
610
if (write_acpi_int(asus->handle, METHOD_KBD_LIGHT_SET, kblv)) {
drivers/platform/x86/asus-laptop.c
667
if (!method || acpi_check_handle(asus->handle, method, NULL))
drivers/platform/x86/asus-laptop.c
727
if (!acpi_check_handle(asus->handle, METHOD_KBD_LIGHT_SET, NULL) &&
drivers/platform/x86/asus-laptop.c
728
!acpi_check_handle(asus->handle, METHOD_KBD_LIGHT_GET, NULL)) {
drivers/platform/x86/asus-laptop.c
756
rv = acpi_evaluate_integer(asus->handle, METHOD_BRIGHTNESS_GET,
drivers/platform/x86/asus-laptop.c
770
if (write_acpi_int(asus->handle, METHOD_BRIGHTNESS_SET, value)) {
drivers/platform/x86/asus-laptop.c
804
if (acpi_check_handle(asus->handle, METHOD_BRIGHTNESS_GET, NULL) ||
drivers/platform/x86/asus-laptop.c
805
acpi_check_handle(asus->handle, METHOD_BRIGHTNESS_SET, NULL))
drivers/platform/x86/asus-laptop.c
865
rv = acpi_evaluate_integer(asus->handle, "SFUN", NULL, &temp);
drivers/platform/x86/asus-laptop.c
877
rv = acpi_evaluate_integer(asus->handle, "HWRS", NULL, &temp);
drivers/platform/x86/asus-laptop.c
888
rv = acpi_evaluate_integer(asus->handle, "ASYM", NULL, &temp);
drivers/platform/x86/asus-laptop.c
925
if (write_acpi_int(asus->handle, method, value))
drivers/platform/x86/asus-laptop.c
951
if (write_acpi_int(asus->handle, METHOD_LEDD, value)) {
drivers/platform/x86/asus-laptop.c
972
rv = acpi_evaluate_integer(asus->handle, METHOD_WL_STATUS,
drivers/platform/x86/asus-laptop.c
986
if (write_acpi_int(asus->handle, METHOD_WLAN, !!status)) {
drivers/platform/x86/asus-wireless.c
52
static acpi_status asus_wireless_method(acpi_handle handle, const char *method,
drivers/platform/x86/asus-wireless.c
59
acpi_handle_debug(handle, "Evaluating method %s, parameter %#x\n",
drivers/platform/x86/asus-wireless.c
66
s = acpi_evaluate_integer(handle, (acpi_string) method, &p, ret);
drivers/platform/x86/asus-wireless.c
68
acpi_handle_err(handle,
drivers/platform/x86/asus-wireless.c
72
acpi_handle_debug(handle, "%s returned %#llx\n", method, *ret);
drivers/platform/x86/asus-wmi.c
2218
static void asus_rfkill_notify(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/asus-wmi.c
2238
acpi_handle handle;
drivers/platform/x86/asus-wmi.c
2240
status = acpi_get_handle(NULL, node, &handle);
drivers/platform/x86/asus-wmi.c
2244
status = acpi_install_notify_handler(handle, ACPI_SYSTEM_NOTIFY,
drivers/platform/x86/asus-wmi.c
2255
acpi_handle handle;
drivers/platform/x86/asus-wmi.c
2257
status = acpi_get_handle(NULL, node, &handle);
drivers/platform/x86/asus-wmi.c
2261
status = acpi_remove_notify_handler(handle, ACPI_SYSTEM_NOTIFY,
drivers/platform/x86/classmate-laptop.c
108
status = acpi_evaluate_object(handle, "ACMD", &input, NULL);
drivers/platform/x86/classmate-laptop.c
112
static acpi_status cmpc_accel_set_sensitivity_v4(acpi_handle handle, int val)
drivers/platform/x86/classmate-laptop.c
127
return acpi_evaluate_object(handle, "ACMD", &input, NULL);
drivers/platform/x86/classmate-laptop.c
130
static acpi_status cmpc_accel_set_g_select_v4(acpi_handle handle, int val)
drivers/platform/x86/classmate-laptop.c
145
return acpi_evaluate_object(handle, "ACMD", &input, NULL);
drivers/platform/x86/classmate-laptop.c
148
static acpi_status cmpc_get_accel_v4(acpi_handle handle,
drivers/platform/x86/classmate-laptop.c
169
status = acpi_evaluate_object(handle, "ACMD", &input, &output);
drivers/platform/x86/classmate-laptop.c
188
status = cmpc_get_accel_v4(dev->handle, &x, &y, &z);
drivers/platform/x86/classmate-laptop.c
248
cmpc_accel_set_sensitivity_v4(acpi->handle, sensitivity);
drivers/platform/x86/classmate-laptop.c
307
cmpc_accel_set_g_select_v4(acpi->handle, g_select);
drivers/platform/x86/classmate-laptop.c
328
cmpc_accel_set_sensitivity_v4(acpi->handle, accel->sensitivity);
drivers/platform/x86/classmate-laptop.c
329
cmpc_accel_set_g_select_v4(acpi->handle, accel->g_select);
drivers/platform/x86/classmate-laptop.c
331
if (ACPI_SUCCESS(cmpc_start_accel_v4(acpi->handle))) {
drivers/platform/x86/classmate-laptop.c
346
cmpc_stop_accel_v4(acpi->handle);
drivers/platform/x86/classmate-laptop.c
370
return cmpc_stop_accel_v4(to_acpi_device(dev)->handle);
drivers/platform/x86/classmate-laptop.c
384
cmpc_accel_set_sensitivity_v4(to_acpi_device(dev)->handle,
drivers/platform/x86/classmate-laptop.c
386
cmpc_accel_set_g_select_v4(to_acpi_device(dev)->handle,
drivers/platform/x86/classmate-laptop.c
389
if (ACPI_FAILURE(cmpc_start_accel_v4(to_acpi_device(dev)->handle)))
drivers/platform/x86/classmate-laptop.c
410
cmpc_accel_set_sensitivity_v4(acpi->handle, accel->sensitivity);
drivers/platform/x86/classmate-laptop.c
417
cmpc_accel_set_g_select_v4(acpi->handle, accel->g_select);
drivers/platform/x86/classmate-laptop.c
473
static acpi_status cmpc_start_accel(acpi_handle handle)
drivers/platform/x86/classmate-laptop.c
484
status = acpi_evaluate_object(handle, "ACMD", &input, NULL);
drivers/platform/x86/classmate-laptop.c
488
static acpi_status cmpc_stop_accel(acpi_handle handle)
drivers/platform/x86/classmate-laptop.c
499
status = acpi_evaluate_object(handle, "ACMD", &input, NULL);
drivers/platform/x86/classmate-laptop.c
503
static acpi_status cmpc_accel_set_sensitivity(acpi_handle handle, int val)
drivers/platform/x86/classmate-laptop.c
514
return acpi_evaluate_object(handle, "ACMD", &input, NULL);
drivers/platform/x86/classmate-laptop.c
517
static acpi_status cmpc_get_accel(acpi_handle handle,
drivers/platform/x86/classmate-laptop.c
533
status = acpi_evaluate_object(handle, "ACMD", &input, &output);
drivers/platform/x86/classmate-laptop.c
552
status = cmpc_get_accel(dev->handle, &x, &y, &z);
drivers/platform/x86/classmate-laptop.c
608
cmpc_accel_set_sensitivity(acpi->handle, sensitivity);
drivers/platform/x86/classmate-laptop.c
624
if (ACPI_SUCCESS(cmpc_start_accel(acpi->handle)))
drivers/platform/x86/classmate-laptop.c
634
cmpc_stop_accel(acpi->handle);
drivers/platform/x86/classmate-laptop.c
658
cmpc_accel_set_sensitivity(acpi->handle, accel->sensitivity);
drivers/platform/x86/classmate-laptop.c
707
static acpi_status cmpc_get_tablet(acpi_handle handle,
drivers/platform/x86/classmate-laptop.c
719
status = acpi_evaluate_integer(handle, "TCMD", &input, &output);
drivers/platform/x86/classmate-laptop.c
72
static acpi_status cmpc_start_accel_v4(acpi_handle handle)
drivers/platform/x86/classmate-laptop.c
731
if (ACPI_SUCCESS(cmpc_get_tablet(dev->handle, &val))) {
drivers/platform/x86/classmate-laptop.c
747
if (ACPI_SUCCESS(cmpc_get_tablet(acpi->handle, &val))) {
drivers/platform/x86/classmate-laptop.c
770
if (ACPI_SUCCESS(cmpc_get_tablet(to_acpi_device(dev)->handle, &val))) {
drivers/platform/x86/classmate-laptop.c
802
static acpi_status cmpc_get_brightness(acpi_handle handle,
drivers/platform/x86/classmate-laptop.c
814
status = acpi_evaluate_integer(handle, "GRDI", &input, &output);
drivers/platform/x86/classmate-laptop.c
820
static acpi_status cmpc_set_brightness(acpi_handle handle,
drivers/platform/x86/classmate-laptop.c
834
status = acpi_evaluate_integer(handle, "GWRI", &input, &output);
drivers/platform/x86/classmate-laptop.c
841
acpi_handle handle;
drivers/platform/x86/classmate-laptop.c
844
handle = bl_get_data(bd);
drivers/platform/x86/classmate-laptop.c
845
status = cmpc_get_brightness(handle, &brightness);
drivers/platform/x86/classmate-laptop.c
855
acpi_handle handle;
drivers/platform/x86/classmate-laptop.c
857
handle = bl_get_data(bd);
drivers/platform/x86/classmate-laptop.c
858
status = cmpc_set_brightness(handle, bd->props.brightness);
drivers/platform/x86/classmate-laptop.c
874
static acpi_status cmpc_get_rfkill_wlan(acpi_handle handle,
drivers/platform/x86/classmate-laptop.c
88
status = acpi_evaluate_object(handle, "ACMD", &input, NULL);
drivers/platform/x86/classmate-laptop.c
886
status = acpi_evaluate_integer(handle, "GRDI", &input, &output);
drivers/platform/x86/classmate-laptop.c
892
static acpi_status cmpc_set_rfkill_wlan(acpi_handle handle,
drivers/platform/x86/classmate-laptop.c
906
status = acpi_evaluate_integer(handle, "GWRI", &input, &output);
drivers/platform/x86/classmate-laptop.c
913
acpi_handle handle;
drivers/platform/x86/classmate-laptop.c
917
handle = data;
drivers/platform/x86/classmate-laptop.c
918
status = cmpc_get_rfkill_wlan(handle, &state);
drivers/platform/x86/classmate-laptop.c
92
static acpi_status cmpc_stop_accel_v4(acpi_handle handle)
drivers/platform/x86/classmate-laptop.c
928
acpi_handle handle;
drivers/platform/x86/classmate-laptop.c
932
handle = data;
drivers/platform/x86/classmate-laptop.c
933
status = cmpc_get_rfkill_wlan(handle, &state);
drivers/platform/x86/classmate-laptop.c
940
status = cmpc_set_rfkill_wlan(handle, state);
drivers/platform/x86/classmate-laptop.c
975
acpi->handle, &cmpc_bl_ops,
drivers/platform/x86/classmate-laptop.c
983
&cmpc_rfkill_ops, acpi->handle);
drivers/platform/x86/dasharo-acpi.c
100
acpi_handle handle;
drivers/platform/x86/dasharo-acpi.c
117
handle = ACPI_HANDLE(&data->pdev->dev);
drivers/platform/x86/dasharo-acpi.c
118
status = acpi_evaluate_integer(handle, method, &obj_list, &val);
drivers/platform/x86/dasharo-acpi.c
77
acpi_handle handle;
drivers/platform/x86/dasharo-acpi.c
88
handle = ACPI_HANDLE(&data->pdev->dev);
drivers/platform/x86/dasharo-acpi.c
89
status = acpi_evaluate_integer(handle, "GFCP", &obj_list, &count);
drivers/platform/x86/dell/dell-rbtn.c
38
status = acpi_evaluate_integer(device->handle, "CRBT", NULL, &output);
drivers/platform/x86/dell/dell-rbtn.c
59
status = acpi_evaluate_integer(device->handle, "GRBT", NULL, &output);
drivers/platform/x86/dell/dell-rbtn.c
77
status = acpi_evaluate_object(device->handle, "ARBT", &input, NULL);
drivers/platform/x86/dell/dell-smbios-wmi.c
303
if (dm->handle != 0xb100)
drivers/platform/x86/dell/dell-wmi-privacy.c
250
acpi_handle handle;
drivers/platform/x86/dell/dell-wmi-privacy.c
252
handle = ec_get_handle();
drivers/platform/x86/dell/dell-wmi-privacy.c
253
if (!handle)
drivers/platform/x86/dell/dell-wmi-privacy.c
256
if (!acpi_has_method(handle, acpi_method))
drivers/platform/x86/dell/dell-wmi-privacy.c
259
status = acpi_evaluate_object(handle, acpi_method, NULL, NULL);
drivers/platform/x86/eeepc-laptop.c
1304
&& !read_acpi_int(eeepc->handle, cm_getv[cm], &dummy)) {
drivers/platform/x86/eeepc-laptop.c
1335
if (write_acpi_int(eeepc->handle, "INIT", init_flags)) {
drivers/platform/x86/eeepc-laptop.c
1341
if (read_acpi_int(eeepc->handle, "CMSG", &eeepc->cm_supported)) {
drivers/platform/x86/eeepc-laptop.c
1372
eeepc->handle = device->handle;
drivers/platform/x86/eeepc-laptop.c
153
acpi_handle handle; /* the handle of the acpi device */
drivers/platform/x86/eeepc-laptop.c
183
static int write_acpi_int(acpi_handle handle, const char *method, int val)
drivers/platform/x86/eeepc-laptop.c
187
status = acpi_execute_simple_method(handle, (char *)method, val);
drivers/platform/x86/eeepc-laptop.c
192
static int read_acpi_int(acpi_handle handle, const char *method, int *val)
drivers/platform/x86/eeepc-laptop.c
197
status = acpi_evaluate_integer(handle, (char *)method, NULL, &result);
drivers/platform/x86/eeepc-laptop.c
216
if (write_acpi_int(eeepc->handle, method, value))
drivers/platform/x86/eeepc-laptop.c
231
if (read_acpi_int(eeepc->handle, method, &value))
drivers/platform/x86/eeepc-laptop.c
237
acpi_handle *handle)
drivers/platform/x86/eeepc-laptop.c
247
status = acpi_get_handle(eeepc->handle, (char *)method,
drivers/platform/x86/eeepc-laptop.c
248
handle);
drivers/platform/x86/eeepc-laptop.c
559
static void eeepc_rfkill_hotplug(struct eeepc_laptop *eeepc, acpi_handle handle)
drivers/platform/x86/eeepc-laptop.c
577
port = acpi_get_pci_dev(handle);
drivers/platform/x86/eeepc-laptop.c
635
acpi_handle handle;
drivers/platform/x86/eeepc-laptop.c
637
status = acpi_get_handle(NULL, node, &handle);
drivers/platform/x86/eeepc-laptop.c
640
eeepc_rfkill_hotplug(eeepc, handle);
drivers/platform/x86/eeepc-laptop.c
643
static void eeepc_rfkill_notify(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/eeepc-laptop.c
650
eeepc_rfkill_hotplug(eeepc, handle);
drivers/platform/x86/eeepc-laptop.c
657
acpi_handle handle;
drivers/platform/x86/eeepc-laptop.c
659
status = acpi_get_handle(NULL, node, &handle);
drivers/platform/x86/eeepc-laptop.c
664
status = acpi_install_notify_handler(handle,
drivers/platform/x86/eeepc-laptop.c
675
eeepc_rfkill_hotplug(eeepc, handle);
drivers/platform/x86/eeepc-laptop.c
683
acpi_handle handle;
drivers/platform/x86/eeepc-laptop.c
685
status = acpi_get_handle(NULL, node, &handle);
drivers/platform/x86/eeepc-laptop.c
690
status = acpi_remove_notify_handler(handle,
drivers/platform/x86/eeepc-laptop.c
701
eeepc_rfkill_hotplug(eeepc, handle);
drivers/platform/x86/eeepc-laptop.c
756
acpi_handle handle = data;
drivers/platform/x86/eeepc-laptop.c
758
return write_acpi_int(handle, NULL, !blocked);
drivers/platform/x86/eeepc-laptop.c
770
acpi_handle handle;
drivers/platform/x86/eeepc-laptop.c
773
result = acpi_setter_handle(eeepc, cm, &handle);
drivers/platform/x86/eeepc-laptop.c
778
&eeepc_rfkill_ops, handle);
drivers/platform/x86/fujitsu-laptop.c
1045
acpi_handle_info(device->handle, "Unsupported event [0x%x]\n",
drivers/platform/x86/fujitsu-laptop.c
1064
acpi_handle_info(device->handle,
drivers/platform/x86/fujitsu-laptop.c
164
status = acpi_evaluate_integer(device->handle, "FUNC", &arg_list,
drivers/platform/x86/fujitsu-laptop.c
167
acpi_handle_err(device->handle, "Failed to evaluate FUNC\n");
drivers/platform/x86/fujitsu-laptop.c
171
acpi_handle_debug(device->handle,
drivers/platform/x86/fujitsu-laptop.c
295
if (acpi_has_method(device->handle, "SBL2"))
drivers/platform/x86/fujitsu-laptop.c
308
acpi_handle_debug(device->handle, "set lcd level via %s [%d]\n", method,
drivers/platform/x86/fujitsu-laptop.c
314
status = acpi_execute_simple_method(device->handle, method, level);
drivers/platform/x86/fujitsu-laptop.c
316
acpi_handle_err(device->handle, "Failed to evaluate %s\n",
drivers/platform/x86/fujitsu-laptop.c
332
acpi_handle_debug(device->handle, "get lcd level via GBLL\n");
drivers/platform/x86/fujitsu-laptop.c
334
status = acpi_evaluate_integer(device->handle, "GBLL", NULL, &state);
drivers/platform/x86/fujitsu-laptop.c
349
acpi_handle_debug(device->handle, "get max lcd level via RBLL\n");
drivers/platform/x86/fujitsu-laptop.c
351
status = acpi_evaluate_integer(device->handle, "RBLL", NULL, &state);
drivers/platform/x86/fujitsu-laptop.c
542
acpi_handle_info(device->handle, "unsupported event [0x%x]\n",
drivers/platform/x86/fujitsu-laptop.c
552
acpi_handle_debug(device->handle,
drivers/platform/x86/fujitsu-laptop.c
940
acpi_handle_debug(device->handle, "Discarded %i ringbuffer entries\n",
drivers/platform/x86/fujitsu-laptop.c
956
acpi_handle_info(device->handle, "BTNI: [0x%x]\n",
drivers/platform/x86/fujitsu-tablet.c
453
status = acpi_walk_resources(adev->handle, METHOD_NAME__CRS,
drivers/platform/x86/hp/hp_accel.c
107
status = acpi_evaluate_integer(dev->handle, "ALRD", &args, &lret);
drivers/platform/x86/hp/hp_accel.c
134
if (acpi_evaluate_integer(dev->handle, "ALWR", &args, &ret) != AE_OK)
drivers/platform/x86/hp/hp_accel.c
256
acpi_evaluate_integer(dev->handle, "ALED", &args, &ret);
drivers/platform/x86/huawei-wmi.c
267
acpi_handle handle;
drivers/platform/x86/huawei-wmi.c
275
handle = ec_get_handle();
drivers/platform/x86/huawei-wmi.c
276
if (!handle)
drivers/platform/x86/huawei-wmi.c
282
if (acpi_has_method(handle, "SPIN")) {
drivers/platform/x86/huawei-wmi.c
286
} else if (acpi_has_method(handle, "WPIN")) {
drivers/platform/x86/huawei-wmi.c
294
status = acpi_evaluate_object(handle, acpi_method, &arg_list, NULL);
drivers/platform/x86/intel/hid.c
271
static bool intel_hid_execute_method(acpi_handle handle,
drivers/platform/x86/intel/hid.c
296
obj = acpi_evaluate_dsm(handle, &intel_dsm_guid, 1, fn_index, &argv4);
drivers/platform/x86/intel/hid.c
298
acpi_handle_debug(handle, "Exec DSM Fn code: %d[%s] success\n",
drivers/platform/x86/intel/hid.c
305
status = acpi_execute_simple_method(handle, method_name, arg);
drivers/platform/x86/intel/hid.c
312
static bool intel_hid_evaluate_method(acpi_handle handle,
drivers/platform/x86/intel/hid.c
329
obj = acpi_evaluate_dsm_typed(handle, &intel_dsm_guid,
drivers/platform/x86/intel/hid.c
334
acpi_handle_debug(handle,
drivers/platform/x86/intel/hid.c
342
status = acpi_evaluate_integer(handle, method_name, NULL, result);
drivers/platform/x86/intel/hid.c
349
static void intel_hid_init_dsm(acpi_handle handle)
drivers/platform/x86/intel/hid.c
355
obj = acpi_evaluate_dsm_typed(handle, &intel_dsm_guid, 1, 0, NULL,
drivers/platform/x86/intel/hid.c
367
acpi_handle_warn(handle, "intel_hid_dsm_fn_mask length is zero\n");
drivers/platform/x86/intel/hid.c
374
acpi_handle_debug(handle, "intel_hid_dsm_fn_mask = %llx\n",
drivers/platform/x86/intel/hid.c
380
acpi_handle handle = ACPI_HANDLE(device);
drivers/platform/x86/intel/hid.c
383
if (!intel_hid_execute_method(handle, INTEL_HID_DSM_HDSM_FN, enable)) {
drivers/platform/x86/intel/hid.c
394
acpi_handle handle = ACPI_HANDLE(device);
drivers/platform/x86/intel/hid.c
402
status = acpi_evaluate_integer(handle, "BTNC", NULL, &button_cap);
drivers/platform/x86/intel/hid.c
409
if (!intel_hid_execute_method(handle, INTEL_HID_DSM_BTNE_FN,
drivers/platform/x86/intel/hid.c
529
acpi_handle handle = ACPI_HANDLE(&device->dev);
drivers/platform/x86/intel/hid.c
533
if (!intel_hid_evaluate_method(handle, INTEL_HID_DSM_VGBS_FN, &vgbs))
drivers/platform/x86/intel/hid.c
560
static void notify_handler(acpi_handle handle, u32 event, void *context)
drivers/platform/x86/intel/hid.c
654
if (!intel_hid_evaluate_method(handle, INTEL_HID_DSM_HDEM_FN,
drivers/platform/x86/intel/hid.c
667
acpi_handle handle = ACPI_HANDLE(&device->dev);
drivers/platform/x86/intel/hid.c
670
if (intel_hid_evaluate_method(handle, INTEL_HID_DSM_HEBC_V2_FN,
drivers/platform/x86/intel/hid.c
677
if (intel_hid_evaluate_method(handle, INTEL_HID_DSM_HEBC_V1_FN,
drivers/platform/x86/intel/hid.c
691
acpi_handle handle = ACPI_HANDLE(&device->dev);
drivers/platform/x86/intel/hid.c
697
intel_hid_init_dsm(handle);
drivers/platform/x86/intel/hid.c
699
if (!intel_hid_evaluate_method(handle, INTEL_HID_DSM_HDMM_FN, &mode)) {
drivers/platform/x86/intel/hid.c
753
status = acpi_install_notify_handler(handle,
drivers/platform/x86/intel/hid.c
771
if (!intel_hid_evaluate_method(handle, INTEL_HID_DSM_BTNL_FN, &dummy))
drivers/platform/x86/intel/hid.c
784
acpi_remove_notify_handler(handle, ACPI_DEVICE_NOTIFY, notify_handler);
drivers/platform/x86/intel/hid.c
791
acpi_handle handle = ACPI_HANDLE(&device->dev);
drivers/platform/x86/intel/hid.c
794
acpi_remove_notify_handler(handle, ACPI_DEVICE_NOTIFY, notify_handler);
drivers/platform/x86/intel/int1092/intel_sar.c
135
out = acpi_evaluate_dsm_typed(context->handle, &context->guid, rev,
drivers/platform/x86/intel/int1092/intel_sar.c
206
static void sar_notify(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/intel/int1092/intel_sar.c
223
out = acpi_evaluate_dsm_typed(context->handle, &context->guid, rev,
drivers/platform/x86/intel/int1092/intel_sar.c
256
context->handle = ACPI_HANDLE(&device->dev);
drivers/platform/x86/intel/int1092/intel_sar.h
79
acpi_handle handle;
drivers/platform/x86/intel/int3472/clk_and_regulator.c
161
if (!acpi_check_dsm(int3472->adev->handle, &img_clk_guid, 0, BIT(1)))
drivers/platform/x86/intel/int3472/common.c
11
acpi_handle handle = adev->handle;
drivers/platform/x86/intel/int3472/common.c
15
status = acpi_evaluate_object(handle, id, NULL, &buffer);
drivers/platform/x86/intel/int3472/common.c
24
acpi_handle_err(handle, "%s object is not an ACPI buffer\n", id);
drivers/platform/x86/intel/int3472/common.c
43
acpi_handle_err(adev->handle, "The CLDB buffer is too large\n");
drivers/platform/x86/intel/int3472/discrete.c
299
obj = acpi_evaluate_dsm_typed(int3472->adev->handle,
drivers/platform/x86/intel/int3472/discrete.c
48
obj = acpi_evaluate_dsm_typed(int3472->sensor->handle,
drivers/platform/x86/intel/int3472/discrete.c
63
acpi_handle handle;
drivers/platform/x86/intel/int3472/discrete.c
66
status = acpi_get_handle(NULL, path, &handle);
drivers/platform/x86/intel/int3472/discrete.c
70
adev = acpi_fetch_acpi_dev(handle);
drivers/platform/x86/intel/ishtp_eclite.c
307
status = acpi_install_address_space_handler(opr_dev->adev->handle,
drivers/platform/x86/intel/ishtp_eclite.c
317
status = acpi_install_address_space_handler(opr_dev->adev->handle,
drivers/platform/x86/intel/ishtp_eclite.c
325
acpi_remove_address_space_handler(opr_dev->adev->handle,
drivers/platform/x86/intel/ishtp_eclite.c
339
acpi_remove_address_space_handler(opr_dev->adev->handle,
drivers/platform/x86/intel/ishtp_eclite.c
343
acpi_remove_address_space_handler(opr_dev->adev->handle,
drivers/platform/x86/intel/ishtp_eclite.c
358
obj = acpi_evaluate_dsm(opr_dev->adev->handle, &ecl_acpi_guid, 0,
drivers/platform/x86/intel/pmc/tgl.c
257
out_obj = acpi_evaluate_dsm_typed(adev->handle, &s0ix_dsm_guid, 0,
drivers/platform/x86/intel/pmc/tgl.c
263
acpi_handle_debug(adev->handle,
drivers/platform/x86/intel/pmc/tgl.c
269
acpi_handle_debug(adev->handle,
drivers/platform/x86/intel/rst.c
23
status = acpi_evaluate_integer(acpi->handle, "GFFS", NULL, &value);
drivers/platform/x86/intel/rst.c
45
status = acpi_execute_simple_method(acpi->handle, "SFFS", value);
drivers/platform/x86/intel/rst.c
67
status = acpi_evaluate_integer(acpi->handle, "GFTV", NULL, &value);
drivers/platform/x86/intel/rst.c
89
status = acpi_execute_simple_method(acpi->handle, "SFTV", value);
drivers/platform/x86/intel/smartconnect.c
17
status = acpi_evaluate_integer(acpi->handle, "GAOS", NULL, &value);
drivers/platform/x86/intel/smartconnect.c
23
status = acpi_execute_simple_method(acpi->handle, "SAOS", 0);
drivers/platform/x86/intel/vbtn.c
151
static void notify_handler(acpi_handle handle, u32 event, void *context)
drivers/platform/x86/intel/vbtn.c
264
static bool intel_vbtn_has_switches(acpi_handle handle, bool dual_accel)
drivers/platform/x86/intel/vbtn.c
273
return acpi_has_method(handle, "VGBS");
drivers/platform/x86/intel/vbtn.c
278
acpi_handle handle = ACPI_HANDLE(&device->dev);
drivers/platform/x86/intel/vbtn.c
285
has_buttons = acpi_has_method(handle, "VBDL");
drivers/platform/x86/intel/vbtn.c
286
has_switches = intel_vbtn_has_switches(handle, dual_accel);
drivers/platform/x86/intel/vbtn.c
312
status = acpi_install_notify_handler(handle,
drivers/platform/x86/intel/vbtn.c
320
status = acpi_evaluate_object(handle, "VBDL", NULL, NULL);
drivers/platform/x86/intel/vbtn.c
340
acpi_handle handle = ACPI_HANDLE(&device->dev);
drivers/platform/x86/intel/vbtn.c
343
acpi_remove_notify_handler(handle, ACPI_DEVICE_NOTIFY, notify_handler);
drivers/platform/x86/intel/vbtn.c
83
acpi_handle handle = ACPI_HANDLE(dev);
drivers/platform/x86/intel/vbtn.c
88
status = acpi_evaluate_integer(handle, "VGBS", NULL, &vgbs);
drivers/platform/x86/lenovo/ideapad-laptop.c
1019
err = eval_dytc(priv->adev->handle, DYTC_CMD_GET, output);
drivers/platform/x86/lenovo/ideapad-laptop.c
1029
err = eval_dytc(priv->adev->handle, DYTC_DISABLE_CQL, NULL);
drivers/platform/x86/lenovo/ideapad-laptop.c
1034
cmd_err = eval_dytc(priv->adev->handle, cmd, output);
drivers/platform/x86/lenovo/ideapad-laptop.c
1038
err = eval_dytc(priv->adev->handle, DYTC_ENABLE_CQL, NULL);
drivers/platform/x86/lenovo/ideapad-laptop.c
1061
err = eval_dytc(priv->adev->handle, DYTC_CMD_RESET, NULL);
drivers/platform/x86/lenovo/ideapad-laptop.c
1150
err = eval_dytc(priv->adev->handle, DYTC_CMD_QUERY, &output);
drivers/platform/x86/lenovo/ideapad-laptop.c
1239
return write_ec_cmd(priv->priv->adev->handle, opcode, !blocked);
drivers/platform/x86/lenovo/ideapad-laptop.c
1254
if (read_ec_data(priv->adev->handle, VPCCMD_R_RF, &hw_blocked))
drivers/platform/x86/lenovo/ideapad-laptop.c
1271
write_ec_cmd(priv->adev->handle, ideapad_rfk_data[dev].opcode, 1);
drivers/platform/x86/lenovo/ideapad-laptop.c
1286
err = read_ec_data(priv->adev->handle, ideapad_rfk_data[dev].opcode - 1, &rf_enabled);
drivers/platform/x86/lenovo/ideapad-laptop.c
1426
if (read_ec_data(priv->adev->handle, VPCCMD_R_NOVO, &long_pressed))
drivers/platform/x86/lenovo/ideapad-laptop.c
1440
if (read_ec_data(priv->adev->handle, VPCCMD_R_SPECIAL_BUTTONS, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
1476
err = read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now);
drivers/platform/x86/lenovo/ideapad-laptop.c
1490
err = write_ec_cmd(priv->adev->handle, VPCCMD_W_BL,
drivers/platform/x86/lenovo/ideapad-laptop.c
1495
err = write_ec_cmd(priv->adev->handle, VPCCMD_W_BL_POWER,
drivers/platform/x86/lenovo/ideapad-laptop.c
1515
err = read_ec_data(priv->adev->handle, VPCCMD_R_BL_MAX, &max);
drivers/platform/x86/lenovo/ideapad-laptop.c
1519
err = read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now);
drivers/platform/x86/lenovo/ideapad-laptop.c
1523
err = read_ec_data(priv->adev->handle, VPCCMD_R_BL_POWER, &power);
drivers/platform/x86/lenovo/ideapad-laptop.c
1569
if (read_ec_data(priv->adev->handle, VPCCMD_R_BL_POWER, &power))
drivers/platform/x86/lenovo/ideapad-laptop.c
1582
read_ec_data(priv->adev->handle, VPCCMD_R_BL, &now);
drivers/platform/x86/lenovo/ideapad-laptop.c
1601
err = eval_kblc(priv->adev->handle,
drivers/platform/x86/lenovo/ideapad-laptop.c
1626
err = eval_hals(priv->adev->handle, &value);
drivers/platform/x86/lenovo/ideapad-laptop.c
1653
err = exec_kblc(priv->adev->handle, value);
drivers/platform/x86/lenovo/ideapad-laptop.c
1655
err = exec_sals(priv->adev->handle, brightness ? SALS_KBD_BL_ON : SALS_KBD_BL_OFF);
drivers/platform/x86/lenovo/ideapad-laptop.c
1807
ret = read_ec_data(priv->adev->handle, VPCCMD_R_TOUCHPAD, &value);
drivers/platform/x86/lenovo/ideapad-laptop.c
1868
ret = write_ec_cmd(priv->adev->handle, VPCCMD_W_YMC, 1);
drivers/platform/x86/lenovo/ideapad-laptop.c
1909
static void ideapad_acpi_notify(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/lenovo/ideapad-laptop.c
1915
if (read_ec_data(handle, VPCCMD_R_VPC1, &vpc1))
drivers/platform/x86/lenovo/ideapad-laptop.c
1918
if (read_ec_data(handle, VPCCMD_R_VPC2, &vpc2))
drivers/platform/x86/lenovo/ideapad-laptop.c
2069
err = exec_sbmc(priv->adev->handle, op1);
drivers/platform/x86/lenovo/ideapad-laptop.c
2074
return exec_sbmc(priv->adev->handle, op2);
drivers/platform/x86/lenovo/ideapad-laptop.c
2089
err = eval_gbmd(priv->adev->handle, &result);
drivers/platform/x86/lenovo/ideapad-laptop.c
2168
acpi_handle handle = priv->adev->handle;
drivers/platform/x86/lenovo/ideapad-laptop.c
2182
if (!read_ec_data(handle, VPCCMD_R_FAN, &val))
drivers/platform/x86/lenovo/ideapad-laptop.c
2185
if (acpi_has_method(handle, "GBMD") && acpi_has_method(handle, "SBMC")) {
drivers/platform/x86/lenovo/ideapad-laptop.c
2187
if (!eval_gbmd(handle, &val)) {
drivers/platform/x86/lenovo/ideapad-laptop.c
2207
if (acpi_has_method(handle, "DYTC"))
drivers/platform/x86/lenovo/ideapad-laptop.c
2210
if (acpi_has_method(handle, "HALS") && acpi_has_method(handle, "SALS")) {
drivers/platform/x86/lenovo/ideapad-laptop.c
2211
if (!eval_hals(handle, &val)) {
drivers/platform/x86/lenovo/ideapad-laptop.c
2225
if (acpi_has_method(handle, "KBLC")) {
drivers/platform/x86/lenovo/ideapad-laptop.c
2226
if (!eval_kblc(priv->adev->handle, KBD_BL_QUERY_TYPE, &val)) {
drivers/platform/x86/lenovo/ideapad-laptop.c
2373
if (!adev || eval_int(adev->handle, "_CFG", &cfg))
drivers/platform/x86/lenovo/ideapad-laptop.c
2425
write_ec_cmd(priv->adev->handle, VPCCMD_W_RF, 1);
drivers/platform/x86/lenovo/ideapad-laptop.c
2448
status = acpi_install_notify_handler(adev->handle,
drivers/platform/x86/lenovo/ideapad-laptop.c
2465
acpi_remove_notify_handler(priv->adev->handle,
drivers/platform/x86/lenovo/ideapad-laptop.c
2497
acpi_remove_notify_handler(priv->adev->handle,
drivers/platform/x86/lenovo/ideapad-laptop.c
300
static int eval_int(acpi_handle handle, const char *name, unsigned long *res)
drivers/platform/x86/lenovo/ideapad-laptop.c
305
status = acpi_evaluate_integer(handle, (char *)name, NULL, &result);
drivers/platform/x86/lenovo/ideapad-laptop.c
314
static int eval_int_with_arg(acpi_handle handle, const char *name, unsigned long arg,
drivers/platform/x86/lenovo/ideapad-laptop.c
327
status = acpi_evaluate_integer(handle, (char *)name, &params, &result);
drivers/platform/x86/lenovo/ideapad-laptop.c
337
static int exec_simple_method(acpi_handle handle, const char *name, unsigned long arg)
drivers/platform/x86/lenovo/ideapad-laptop.c
339
acpi_status status = acpi_execute_simple_method(handle, (char *)name, arg);
drivers/platform/x86/lenovo/ideapad-laptop.c
344
static int eval_gbmd(acpi_handle handle, unsigned long *res)
drivers/platform/x86/lenovo/ideapad-laptop.c
346
return eval_int(handle, "GBMD", res);
drivers/platform/x86/lenovo/ideapad-laptop.c
349
static int exec_sbmc(acpi_handle handle, unsigned long arg)
drivers/platform/x86/lenovo/ideapad-laptop.c
351
return exec_simple_method(handle, "SBMC", arg);
drivers/platform/x86/lenovo/ideapad-laptop.c
354
static int eval_hals(acpi_handle handle, unsigned long *res)
drivers/platform/x86/lenovo/ideapad-laptop.c
356
return eval_int(handle, "HALS", res);
drivers/platform/x86/lenovo/ideapad-laptop.c
359
static int exec_sals(acpi_handle handle, unsigned long arg)
drivers/platform/x86/lenovo/ideapad-laptop.c
361
return exec_simple_method(handle, "SALS", arg);
drivers/platform/x86/lenovo/ideapad-laptop.c
364
static int exec_kblc(acpi_handle handle, unsigned long arg)
drivers/platform/x86/lenovo/ideapad-laptop.c
366
return exec_simple_method(handle, "KBLC", arg);
drivers/platform/x86/lenovo/ideapad-laptop.c
369
static int eval_kblc(acpi_handle handle, unsigned long cmd, unsigned long *res)
drivers/platform/x86/lenovo/ideapad-laptop.c
371
return eval_int_with_arg(handle, "KBLC", cmd, res);
drivers/platform/x86/lenovo/ideapad-laptop.c
374
static int eval_dytc(acpi_handle handle, unsigned long cmd, unsigned long *res)
drivers/platform/x86/lenovo/ideapad-laptop.c
376
return eval_int_with_arg(handle, "DYTC", cmd, res);
drivers/platform/x86/lenovo/ideapad-laptop.c
379
static int eval_vpcr(acpi_handle handle, unsigned long cmd, unsigned long *res)
drivers/platform/x86/lenovo/ideapad-laptop.c
381
return eval_int_with_arg(handle, "VPCR", cmd, res);
drivers/platform/x86/lenovo/ideapad-laptop.c
384
static int eval_vpcw(acpi_handle handle, unsigned long cmd, unsigned long data)
drivers/platform/x86/lenovo/ideapad-laptop.c
397
status = acpi_evaluate_object(handle, "VPCW", &params, NULL);
drivers/platform/x86/lenovo/ideapad-laptop.c
404
static int read_ec_data(acpi_handle handle, unsigned long cmd, unsigned long *data)
drivers/platform/x86/lenovo/ideapad-laptop.c
409
err = eval_vpcw(handle, 1, cmd);
drivers/platform/x86/lenovo/ideapad-laptop.c
418
err = eval_vpcr(handle, 1, &val);
drivers/platform/x86/lenovo/ideapad-laptop.c
423
return eval_vpcr(handle, 0, data);
drivers/platform/x86/lenovo/ideapad-laptop.c
426
acpi_handle_err(handle, "timeout in %s\n", __func__);
drivers/platform/x86/lenovo/ideapad-laptop.c
431
static int write_ec_cmd(acpi_handle handle, unsigned long cmd, unsigned long data)
drivers/platform/x86/lenovo/ideapad-laptop.c
436
err = eval_vpcw(handle, 0, data);
drivers/platform/x86/lenovo/ideapad-laptop.c
440
err = eval_vpcw(handle, 1, cmd);
drivers/platform/x86/lenovo/ideapad-laptop.c
449
err = eval_vpcr(handle, 1, &val);
drivers/platform/x86/lenovo/ideapad-laptop.c
457
acpi_handle_err(handle, "timeout in %s\n", __func__);
drivers/platform/x86/lenovo/ideapad-laptop.c
471
if (!read_ec_data(priv->adev->handle, VPCCMD_R_BL_MAX, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
473
if (!read_ec_data(priv->adev->handle, VPCCMD_R_BL, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
475
if (!read_ec_data(priv->adev->handle, VPCCMD_R_BL_POWER, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
480
if (!read_ec_data(priv->adev->handle, VPCCMD_R_RF, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
482
if (!read_ec_data(priv->adev->handle, VPCCMD_R_WIFI, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
484
if (!read_ec_data(priv->adev->handle, VPCCMD_R_BT, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
486
if (!read_ec_data(priv->adev->handle, VPCCMD_R_3G, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
491
if (!read_ec_data(priv->adev->handle, VPCCMD_R_TOUCHPAD, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
493
if (!read_ec_data(priv->adev->handle, VPCCMD_R_CAMERA, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
500
if (!eval_gbmd(priv->adev->handle, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
504
if (!eval_hals(priv->adev->handle, &value))
drivers/platform/x86/lenovo/ideapad-laptop.c
594
err = read_ec_data(priv->adev->handle, VPCCMD_R_CAMERA, &result);
drivers/platform/x86/lenovo/ideapad-laptop.c
615
err = write_ec_cmd(priv->adev->handle, VPCCMD_W_CAMERA, state);
drivers/platform/x86/lenovo/ideapad-laptop.c
641
err = eval_gbmd(priv->adev->handle, &result);
drivers/platform/x86/lenovo/ideapad-laptop.c
674
err = exec_sbmc(priv->adev->handle, SBMC_RAPID_CHARGE_OFF);
drivers/platform/x86/lenovo/ideapad-laptop.c
679
err = exec_sbmc(priv->adev->handle, state ? SBMC_CONSERVATION_ON : SBMC_CONSERVATION_OFF);
drivers/platform/x86/lenovo/ideapad-laptop.c
697
err = read_ec_data(priv->adev->handle, VPCCMD_R_FAN, &result);
drivers/platform/x86/lenovo/ideapad-laptop.c
721
err = write_ec_cmd(priv->adev->handle, VPCCMD_W_FAN, state);
drivers/platform/x86/lenovo/ideapad-laptop.c
736
err = eval_hals(priv->adev->handle, &hals);
drivers/platform/x86/lenovo/ideapad-laptop.c
745
return exec_sals(priv->adev->handle,
drivers/platform/x86/lenovo/ideapad-laptop.c
808
err = read_ec_data(priv->adev->handle, VPCCMD_R_TOUCHPAD, &result);
drivers/platform/x86/lenovo/ideapad-laptop.c
831
err = write_ec_cmd(priv->adev->handle, VPCCMD_W_TOUCHPAD, state);
drivers/platform/x86/lenovo/ideapad-laptop.c
851
err = eval_hals(priv->adev->handle, &hals);
drivers/platform/x86/lenovo/ideapad-laptop.c
870
err = exec_sals(priv->adev->handle, state ? SALS_USB_CHARGING_ON : SALS_USB_CHARGING_OFF);
drivers/platform/x86/lenovo/thinkpad_acpi.c
11532
acpi_remove_notify_handler(*ibm->acpi->handle,
drivers/platform/x86/lenovo/thinkpad_acpi.c
305
acpi_handle *handle;
drivers/platform/x86/lenovo/thinkpad_acpi.c
4108
.handle = &hkey_handle,
drivers/platform/x86/lenovo/thinkpad_acpi.c
612
static int acpi_evalf(acpi_handle handle,
drivers/platform/x86/lenovo/thinkpad_acpi.c
6669
status = acpi_evaluate_object(adev->handle, "_BCL", NULL, &buffer);
drivers/platform/x86/lenovo/thinkpad_acpi.c
667
status = acpi_evaluate_object(handle, method, &params, resultp);
drivers/platform/x86/lenovo/thinkpad_acpi.c
6675
acpi_handle_info(adev->handle,
drivers/platform/x86/lenovo/thinkpad_acpi.c
6692
static int __init tpacpi_query_bcl_levels(acpi_handle handle)
drivers/platform/x86/lenovo/thinkpad_acpi.c
6696
device = acpi_fetch_acpi_dev(handle);
drivers/platform/x86/lenovo/thinkpad_acpi.c
742
acpi_handle *handle, const acpi_handle parent,
drivers/platform/x86/lenovo/thinkpad_acpi.c
752
status = acpi_get_handle(parent, paths[i], handle);
drivers/platform/x86/lenovo/thinkpad_acpi.c
763
*handle = NULL;
drivers/platform/x86/lenovo/thinkpad_acpi.c
766
static acpi_status __init tpacpi_acpi_handle_locate_callback(acpi_handle handle,
drivers/platform/x86/lenovo/thinkpad_acpi.c
770
struct acpi_device *dev = acpi_fetch_acpi_dev(handle);
drivers/platform/x86/lenovo/thinkpad_acpi.c
776
*(acpi_handle *)return_value = handle;
drivers/platform/x86/lenovo/thinkpad_acpi.c
783
acpi_handle *handle)
drivers/platform/x86/lenovo/thinkpad_acpi.c
788
BUG_ON(!name || !handle);
drivers/platform/x86/lenovo/thinkpad_acpi.c
797
*handle = NULL;
drivers/platform/x86/lenovo/thinkpad_acpi.c
800
*handle = device_found;
drivers/platform/x86/lenovo/thinkpad_acpi.c
810
static void dispatch_acpi_notify(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/lenovo/thinkpad_acpi.c
829
if (!*ibm->acpi->handle)
drivers/platform/x86/lenovo/thinkpad_acpi.c
835
ibm->acpi->device = acpi_fetch_acpi_dev(*ibm->acpi->handle);
drivers/platform/x86/lenovo/thinkpad_acpi.c
846
status = acpi_install_notify_handler(*ibm->acpi->handle,
drivers/platform/x86/lg-laptop.c
122
acpi_handle handle;
drivers/platform/x86/lg-laptop.c
130
status = acpi_get_handle(NULL, (acpi_string) SB_GGOV_METHOD, &handle);
drivers/platform/x86/lg-laptop.c
139
status = acpi_evaluate_object(handle, NULL, &arg, &buffer);
drivers/platform/x86/lg-laptop.c
141
acpi_handle_err(handle, "GGOV: call failed.\n");
drivers/platform/x86/lg-laptop.c
276
acpi_handle_debug(device->handle, "notify: %d\n", event);
drivers/platform/x86/lg-laptop.c
763
acpi_remove_address_space_handler(device->handle, LG_ADDRESS_SPACE_ID,
drivers/platform/x86/lg-laptop.c
782
status = acpi_install_address_space_handler(device->handle, LG_ADDRESS_SPACE_ID,
drivers/platform/x86/panasonic-laptop.c
1033
pcc->handle = device->handle;
drivers/platform/x86/panasonic-laptop.c
243
acpi_handle handle;
drivers/platform/x86/panasonic-laptop.c
309
status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SSET,
drivers/platform/x86/panasonic-laptop.c
320
status = acpi_evaluate_integer(device->handle, METHOD_HKEY_SQTY,
drivers/platform/x86/panasonic-laptop.c
337
status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SINF, NULL,
drivers/platform/x86/panasonic-laptop.c
426
acpi_handle handle;
drivers/platform/x86/panasonic-laptop.c
428
status = acpi_get_handle(NULL, "\\_SB.STAT", &handle);
drivers/platform/x86/panasonic-laptop.c
431
status = acpi_get_handle(NULL, "\\_SB.FBAY", &handle);
drivers/platform/x86/panasonic-laptop.c
434
status = acpi_get_handle(NULL, "\\_SB.CDDI", &handle);
drivers/platform/x86/panasonic-laptop.c
842
rc = acpi_evaluate_integer(pcc->handle, METHOD_HKEY_QUERY,
drivers/platform/x86/panasonic-laptop.c
886
static void pcc_optd_notify(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/panasonic-laptop.c
897
acpi_handle handle;
drivers/platform/x86/panasonic-laptop.c
899
status = acpi_get_handle(NULL, node, &handle);
drivers/platform/x86/panasonic-laptop.c
902
status = acpi_install_notify_handler(handle,
drivers/platform/x86/panasonic-laptop.c
916
acpi_handle handle;
drivers/platform/x86/panasonic-laptop.c
918
status = acpi_get_handle(NULL, node, &handle);
drivers/platform/x86/panasonic-laptop.c
921
status = acpi_remove_notify_handler(handle,
drivers/platform/x86/quickstart.c
101
acpi_handle handle = ACPI_HANDLE(data->dev);
drivers/platform/x86/quickstart.c
110
status = acpi_evaluate_object_typed(handle, "GHID", NULL, &buffer, ACPI_TYPE_BUFFER);
drivers/platform/x86/quickstart.c
150
acpi_handle handle;
drivers/platform/x86/quickstart.c
152
handle = ACPI_HANDLE(data->dev);
drivers/platform/x86/quickstart.c
154
acpi_remove_notify_handler(handle, ACPI_DEVICE_NOTIFY, quickstart_notify);
drivers/platform/x86/quickstart.c
160
acpi_handle handle;
drivers/platform/x86/quickstart.c
164
handle = ACPI_HANDLE(&pdev->dev);
drivers/platform/x86/quickstart.c
165
if (!handle)
drivers/platform/x86/quickstart.c
209
status = acpi_install_notify_handler(handle, ACPI_DEVICE_NOTIFY, quickstart_notify, data);
drivers/platform/x86/quickstart.c
74
static void quickstart_notify(acpi_handle handle, u32 event, void *context)
drivers/platform/x86/samsung-galaxybook.c
1250
static void galaxybook_acpi_notify(acpi_handle handle, u32 event, void *data)
drivers/platform/x86/samsung-galaxybook.c
1294
acpi_remove_notify_handler(galaxybook->acpi->handle, ACPI_ALL_NOTIFY,
drivers/platform/x86/samsung-galaxybook.c
1302
acpi_execute_simple_method(galaxybook->acpi->handle,
drivers/platform/x86/samsung-galaxybook.c
1311
status = acpi_execute_simple_method(galaxybook->acpi->handle, GB_ACPI_METHOD_ENABLE,
drivers/platform/x86/samsung-galaxybook.c
1320
status = acpi_install_notify_handler(galaxybook->acpi->handle, ACPI_ALL_NOTIFY,
drivers/platform/x86/samsung-galaxybook.c
236
status = acpi_evaluate_object_typed(galaxybook->acpi->handle, method, &input, &output,
drivers/platform/x86/sony-laptop.c
1007
int handle;
drivers/platform/x86/sony-laptop.c
1036
sony_call_snc_handle(sdev->handle, sdev->cmd_base + 0x100, &result);
drivers/platform/x86/sony-laptop.c
1048
if (sony_call_snc_handle(sdev->handle, sdev->cmd_base | (value << 0x10),
drivers/platform/x86/sony-laptop.c
1138
static int sony_nc_hotkeys_decode(u32 event, unsigned int handle)
drivers/platform/x86/sony-laptop.c
1144
if (sony_call_snc_handle(handle, 0x200, &result)) {
drivers/platform/x86/sony-laptop.c
1145
dprintk("Unable to decode event 0x%.2x 0x%.2x\n", handle,
drivers/platform/x86/sony-laptop.c
1152
if (handle == 0x0100)
drivers/platform/x86/sony-laptop.c
1166
event, result, handle);
drivers/platform/x86/sony-laptop.c
1190
unsigned int handle = 0;
drivers/platform/x86/sony-laptop.c
1198
handle = handles->cap[offset];
drivers/platform/x86/sony-laptop.c
1201
switch (handle) {
drivers/platform/x86/sony-laptop.c
1206
ret = sony_nc_hotkeys_decode(event, handle);
drivers/platform/x86/sony-laptop.c
1225
sony_call_snc_handle(handle, 0x0100, &result);
drivers/platform/x86/sony-laptop.c
1237
sony_call_snc_handle(handle, 0x0000, &result);
drivers/platform/x86/sony-laptop.c
1255
event, handle);
drivers/platform/x86/sony-laptop.c
1272
static acpi_status sony_walk_callback(acpi_handle handle, u32 level,
drivers/platform/x86/sony-laptop.c
1277
if (ACPI_SUCCESS(acpi_get_object_info(handle, &info))) {
drivers/platform/x86/sony-laptop.c
128
unsigned int handle);
drivers/platform/x86/sony-laptop.c
130
unsigned int handle);
drivers/platform/x86/sony-laptop.c
1300
unsigned int handle = handles->cap[i];
drivers/platform/x86/sony-laptop.c
1302
if (!handle)
drivers/platform/x86/sony-laptop.c
1305
dprintk("setting up handle 0x%.4x\n", handle);
drivers/platform/x86/sony-laptop.c
1307
switch (handle) {
drivers/platform/x86/sony-laptop.c
1312
sony_call_snc_handle(handle, 0, &result);
drivers/platform/x86/sony-laptop.c
1316
sony_call_snc_handle(handle, 0x100, &result);
drivers/platform/x86/sony-laptop.c
1321
result = sony_nc_touchpad_setup(pf_device, handle);
drivers/platform/x86/sony-laptop.c
1329
result = sony_nc_battery_care_setup(pf_device, handle);
drivers/platform/x86/sony-laptop.c
133
unsigned int handle);
drivers/platform/x86/sony-laptop.c
1336
result = sony_nc_lid_resume_setup(pf_device, handle);
drivers/platform/x86/sony-laptop.c
1350
result = sony_nc_gfx_switch_setup(pf_device, handle);
drivers/platform/x86/sony-laptop.c
1363
result = sony_nc_rfkill_setup(device, handle);
drivers/platform/x86/sony-laptop.c
1374
result = sony_nc_kbd_backlight_setup(pf_device, handle);
drivers/platform/x86/sony-laptop.c
140
unsigned int handle);
drivers/platform/x86/sony-laptop.c
1423
unsigned int i, result, bitmask, handle;
drivers/platform/x86/sony-laptop.c
1435
handle = handles->cap[i];
drivers/platform/x86/sony-laptop.c
1437
if (!handle)
drivers/platform/x86/sony-laptop.c
144
unsigned int handle);
drivers/platform/x86/sony-laptop.c
1440
switch (handle) {
drivers/platform/x86/sony-laptop.c
1475
sony_nc_kbd_backlight_cleanup(pd, handle);
drivers/platform/x86/sony-laptop.c
1509
unsigned int handle = handles->cap[i];
drivers/platform/x86/sony-laptop.c
1511
if (!handle)
drivers/platform/x86/sony-laptop.c
1514
switch (handle) {
drivers/platform/x86/sony-laptop.c
1519
sony_call_snc_handle(handle, 0, &result);
drivers/platform/x86/sony-laptop.c
1523
sony_call_snc_handle(handle, 0x100, &result);
drivers/platform/x86/sony-laptop.c
167
unsigned int handle);
drivers/platform/x86/sony-laptop.c
1696
unsigned int handle)
drivers/platform/x86/sony-laptop.c
1702
offset = sony_find_snc_handle(handle);
drivers/platform/x86/sony-laptop.c
1703
sony_rfkill_handle = handle;
drivers/platform/x86/sony-laptop.c
1755
unsigned int handle;
drivers/platform/x86/sony-laptop.c
1773
if (sony_call_snc_handle(kbdbl_ctl->handle,
drivers/platform/x86/sony-laptop.c
1779
sony_call_snc_handle(kbdbl_ctl->handle,
drivers/platform/x86/sony-laptop.c
182
unsigned int handle);
drivers/platform/x86/sony-laptop.c
1821
if (sony_call_snc_handle(kbdbl_ctl->handle, (value << 0x10) |
drivers/platform/x86/sony-laptop.c
1857
unsigned int handle)
drivers/platform/x86/sony-laptop.c
1866
handle, kbdbl_ctl->handle);
drivers/platform/x86/sony-laptop.c
1873
switch (handle) {
drivers/platform/x86/sony-laptop.c
1894
ret = sony_call_snc_handle(handle, probe_base, &result);
drivers/platform/x86/sony-laptop.c
1898
if ((handle == 0x0137 && !(result & 0x02)) ||
drivers/platform/x86/sony-laptop.c
1911
kbdbl_ctl->handle = handle;
drivers/platform/x86/sony-laptop.c
1914
kbdbl_ctl->has_timeout = handle != 0x0153;
drivers/platform/x86/sony-laptop.c
1956
unsigned int handle)
drivers/platform/x86/sony-laptop.c
1958
if (kbdbl_ctl && handle == kbdbl_ctl->handle) {
drivers/platform/x86/sony-laptop.c
1969
unsigned int handle;
drivers/platform/x86/sony-laptop.c
2018
if (bcare_ctl->handle != 0x013f)
drivers/platform/x86/sony-laptop.c
2024
if (sony_call_snc_handle(bcare_ctl->handle, cmd | 0x0100, &result))
drivers/platform/x86/sony-laptop.c
2035
if (sony_call_snc_handle(bcare_ctl->handle, 0x0000, &result))
drivers/platform/x86/sony-laptop.c
2062
if (sony_call_snc_handle(bcare_ctl->handle, 0x0200, &health))
drivers/platform/x86/sony-laptop.c
2069
unsigned int handle)
drivers/platform/x86/sony-laptop.c
2077
bcare_ctl->handle = handle;
drivers/platform/x86/sony-laptop.c
2090
if (handle == 0x0115)
drivers/platform/x86/sony-laptop.c
2118
if (bcare_ctl->handle != 0x0115)
drivers/platform/x86/sony-laptop.c
2304
int handle;
drivers/platform/x86/sony-laptop.c
2340
if (sony_call_snc_handle(lid_ctl->handle, value << 0x10 | 0x0100,
drivers/platform/x86/sony-laptop.c
2365
unsigned int handle)
drivers/platform/x86/sony-laptop.c
2370
if (sony_call_snc_handle(handle, 0x0000, &result))
drivers/platform/x86/sony-laptop.c
2378
lid_ctl->handle = handle;
drivers/platform/x86/sony-laptop.c
2386
if (handle == 0x0119) {
drivers/platform/x86/sony-laptop.c
2443
unsigned int handle;
drivers/platform/x86/sony-laptop.c
2452
if (sony_call_snc_handle(gfxs_ctl->handle,
drivers/platform/x86/sony-laptop.c
2453
gfxs_ctl->handle == 0x015B ? 0x0000 : 0x0100,
drivers/platform/x86/sony-laptop.c
2457
switch (gfxs_ctl->handle) {
drivers/platform/x86/sony-laptop.c
2496
unsigned int handle)
drivers/platform/x86/sony-laptop.c
2504
gfxs_ctl->handle = handle;
drivers/platform/x86/sony-laptop.c
2960
int handle;
drivers/platform/x86/sony-laptop.c
2979
if (sony_call_snc_handle(tp_ctl->handle,
drivers/platform/x86/sony-laptop.c
2991
if (sony_call_snc_handle(tp_ctl->handle, 0x000, &result))
drivers/platform/x86/sony-laptop.c
2998
unsigned int handle)
drivers/platform/x86/sony-laptop.c
3006
tp_ctl->handle = handle;
drivers/platform/x86/sony-laptop.c
3032
static void sony_nc_backlight_ng_read_limits(int handle,
drivers/platform/x86/sony-laptop.c
3041
props->handle = handle;
drivers/platform/x86/sony-laptop.c
3045
offset = sony_find_snc_handle(handle);
drivers/platform/x86/sony-laptop.c
3055
switch (handle) {
drivers/platform/x86/sony-laptop.c
3161
sony_nc_acpi_handle = device->handle;
drivers/platform/x86/sony-laptop.c
4266
status = acpi_walk_resources(device->handle, METHOD_NAME__PRS,
drivers/platform/x86/sony-laptop.c
4281
acpi_status ret = acpi_evaluate_object(device->handle, "_DIS", NULL,
drivers/platform/x86/sony-laptop.c
4379
status = acpi_set_current_resources(device->handle, &buffer);
drivers/platform/x86/sony-laptop.c
724
static union acpi_object *__call_snc_method(acpi_handle handle, char *method,
drivers/platform/x86/sony-laptop.c
738
status = acpi_evaluate_object(handle, method, &params, &output);
drivers/platform/x86/sony-laptop.c
743
status = acpi_evaluate_object(handle, method, NULL, &output);
drivers/platform/x86/sony-laptop.c
759
static int sony_nc_buffer_call(acpi_handle handle, char *name, u64 *value,
drivers/platform/x86/sony-laptop.c
764
union acpi_object *object = __call_snc_method(handle, name, value);
drivers/platform/x86/sony-laptop.c
790
static int sony_nc_int_call(acpi_handle handle, char *name, int *value, int
drivers/platform/x86/sony-laptop.c
798
ret = sony_nc_buffer_call(handle, name, &v, result,
drivers/platform/x86/sony-laptop.c
801
ret = sony_nc_buffer_call(handle, name, NULL, result,
drivers/platform/x86/sony-laptop.c
875
static int sony_find_snc_handle(int handle)
drivers/platform/x86/sony-laptop.c
880
if (!handles || !handle)
drivers/platform/x86/sony-laptop.c
884
if (handles->cap[i] == handle) {
drivers/platform/x86/sony-laptop.c
886
handle, i);
drivers/platform/x86/sony-laptop.c
890
dprintk("handle 0x%.4x not found\n", handle);
drivers/platform/x86/sony-laptop.c
894
static int sony_call_snc_handle(int handle, int argument, int *result)
drivers/platform/x86/sony-laptop.c
897
int offset = sony_find_snc_handle(handle);
drivers/platform/x86/system76_acpi.c
103
handle = acpi_device_handle(data->acpi_dev);
drivers/platform/x86/system76_acpi.c
104
status = acpi_evaluate_integer(handle, method, &obj_list, &ret);
drivers/platform/x86/system76_acpi.c
113
acpi_handle handle;
drivers/platform/x86/system76_acpi.c
117
handle = acpi_device_handle(data->acpi_dev);
drivers/platform/x86/system76_acpi.c
118
status = acpi_evaluate_object(handle, method, NULL, &buf);
drivers/platform/x86/system76_acpi.c
143
acpi_handle handle;
drivers/platform/x86/system76_acpi.c
150
handle = acpi_device_handle(data->acpi_dev);
drivers/platform/x86/system76_acpi.c
151
status = acpi_evaluate_object(handle, method, &obj_list, NULL);
drivers/platform/x86/system76_acpi.c
169
acpi_handle handle;
drivers/platform/x86/system76_acpi.c
173
handle = ec_get_handle();
drivers/platform/x86/system76_acpi.c
174
if (!handle)
drivers/platform/x86/system76_acpi.c
183
status = acpi_evaluate_integer(handle, "GBCT", &input, &ret);
drivers/platform/x86/system76_acpi.c
196
acpi_handle handle;
drivers/platform/x86/system76_acpi.c
201
handle = ec_get_handle();
drivers/platform/x86/system76_acpi.c
202
if (!handle)
drivers/platform/x86/system76_acpi.c
221
status = acpi_evaluate_object(handle, "SBCT", &input, NULL);
drivers/platform/x86/system76_acpi.c
78
acpi_handle handle;
drivers/platform/x86/system76_acpi.c
82
handle = acpi_device_handle(data->acpi_dev);
drivers/platform/x86/system76_acpi.c
83
status = acpi_evaluate_integer(handle, method, NULL, &ret);
drivers/platform/x86/system76_acpi.c
94
acpi_handle handle;
drivers/platform/x86/topstar-laptop.c
226
status = acpi_execute_simple_method(device->handle, "FNCX", arg);
drivers/platform/x86/topstar-laptop.c
63
status = acpi_evaluate_integer(topstar->device->handle,
drivers/platform/x86/topstar-laptop.c
76
status = acpi_execute_simple_method(topstar->device->handle,
drivers/platform/x86/toshiba_acpi.c
2729
status = acpi_evaluate_object(dev->acpi_dev->handle,
drivers/platform/x86/toshiba_acpi.c
2795
status = acpi_evaluate_integer(dev->acpi_dev->handle, "INFO",
drivers/platform/x86/toshiba_acpi.c
2931
if (acpi_has_method(dev->acpi_dev->handle, "INFO"))
drivers/platform/x86/toshiba_acpi.c
3246
static const char *find_hci_method(acpi_handle handle)
drivers/platform/x86/toshiba_acpi.c
3248
if (acpi_has_method(handle, "GHCI"))
drivers/platform/x86/toshiba_acpi.c
3251
if (acpi_has_method(handle, "SPFC"))
drivers/platform/x86/toshiba_acpi.c
3318
hci_method = find_hci_method(acpi_dev->handle);
drivers/platform/x86/toshiba_acpi.c
340
status = acpi_evaluate_object(dev->acpi_dev->handle,
drivers/platform/x86/toshiba_bluetooth.c
103
static int toshiba_bluetooth_enable(acpi_handle handle)
drivers/platform/x86/toshiba_bluetooth.c
107
result = acpi_evaluate_object(handle, "AUSB", NULL, NULL);
drivers/platform/x86/toshiba_bluetooth.c
113
result = acpi_evaluate_object(handle, "BTPO", NULL, NULL);
drivers/platform/x86/toshiba_bluetooth.c
122
static int toshiba_bluetooth_disable(acpi_handle handle)
drivers/platform/x86/toshiba_bluetooth.c
126
result = acpi_evaluate_object(handle, "BTPF", NULL, NULL);
drivers/platform/x86/toshiba_bluetooth.c
132
result = acpi_evaluate_object(handle, "DUSB", NULL, NULL);
drivers/platform/x86/toshiba_bluetooth.c
146
status = toshiba_bluetooth_status(bt_dev->acpi_dev->handle);
drivers/platform/x86/toshiba_bluetooth.c
176
ret = toshiba_bluetooth_disable(bt_dev->acpi_dev->handle);
drivers/platform/x86/toshiba_bluetooth.c
178
ret = toshiba_bluetooth_enable(bt_dev->acpi_dev->handle);
drivers/platform/x86/toshiba_bluetooth.c
239
result = toshiba_bluetooth_present(device->handle);
drivers/platform/x86/toshiba_bluetooth.c
293
toshiba_bluetooth_disable(device->handle);
drivers/platform/x86/toshiba_bluetooth.c
65
static int toshiba_bluetooth_present(acpi_handle handle)
drivers/platform/x86/toshiba_bluetooth.c
75
result = acpi_evaluate_integer(handle, "_STA", NULL, &bt_present);
drivers/platform/x86/toshiba_bluetooth.c
89
static int toshiba_bluetooth_status(acpi_handle handle)
drivers/platform/x86/toshiba_bluetooth.c
94
result = acpi_evaluate_integer(handle, "BTST", NULL, &status);
drivers/platform/x86/toshiba_haps.c
111
ret = toshiba_haps_reset_protection(haps->acpi_dev->handle);
drivers/platform/x86/toshiba_haps.c
150
static int toshiba_haps_available(acpi_handle handle)
drivers/platform/x86/toshiba_haps.c
159
status = acpi_evaluate_integer(handle, "_STA", NULL, &hdd_present);
drivers/platform/x86/toshiba_haps.c
181
if (!toshiba_haps_available(acpi_dev->handle))
drivers/platform/x86/toshiba_haps.c
196
ret = toshiba_haps_protection_level(acpi_dev->handle, 2);
drivers/platform/x86/toshiba_haps.c
218
ret = toshiba_haps_protection_level(haps->acpi_dev->handle, 0);
drivers/platform/x86/toshiba_haps.c
231
ret = toshiba_haps_protection_level(haps->acpi_dev->handle,
drivers/platform/x86/toshiba_haps.c
235
ret = toshiba_haps_reset_protection(haps->acpi_dev->handle);
drivers/platform/x86/toshiba_haps.c
29
static int toshiba_haps_reset_protection(acpi_handle handle)
drivers/platform/x86/toshiba_haps.c
33
status = acpi_evaluate_object(handle, "RSSS", NULL, NULL);
drivers/platform/x86/toshiba_haps.c
42
static int toshiba_haps_protection_level(acpi_handle handle, int level)
drivers/platform/x86/toshiba_haps.c
46
status = acpi_execute_simple_method(handle, "PTLV", level);
drivers/platform/x86/toshiba_haps.c
85
ret = toshiba_haps_protection_level(haps->acpi_dev->handle, level);
drivers/platform/x86/uniwill/uniwill-acpi.c
1450
acpi_handle handle;
drivers/platform/x86/uniwill/uniwill-acpi.c
1453
handle = ACPI_HANDLE(&pdev->dev);
drivers/platform/x86/uniwill/uniwill-acpi.c
1454
if (!handle)
drivers/platform/x86/uniwill/uniwill-acpi.c
1462
data->handle = handle;
drivers/platform/x86/uniwill/uniwill-acpi.c
327
acpi_handle handle;
drivers/platform/x86/uniwill/uniwill-acpi.c
459
status = acpi_evaluate_object(data->handle, "ECRW", &input, NULL);
drivers/platform/x86/uniwill/uniwill-acpi.c
486
status = acpi_evaluate_integer(data->handle, "ECRR", &input, &output);
drivers/platform/x86/x86-android-tablets/core.c
122
status = acpi_get_handle(NULL, data->chip, &handle);
drivers/platform/x86/x86-android-tablets/core.c
128
adev = acpi_fetch_acpi_dev(handle);
drivers/platform/x86/x86-android-tablets/core.c
163
acpi_handle handle;
drivers/platform/x86/x86-android-tablets/core.c
166
status = acpi_get_handle(NULL, client_info->adapter_path, &handle);
drivers/platform/x86/x86-android-tablets/core.c
172
return i2c_acpi_find_adapter_by_handle(handle);
drivers/platform/x86/x86-android-tablets/core.c
240
acpi_handle handle;
drivers/platform/x86/x86-android-tablets/core.c
247
status = acpi_get_handle(NULL, spi_dev_info->ctrl_path, &handle);
drivers/platform/x86/x86-android-tablets/core.c
253
adev = acpi_fetch_acpi_dev(handle);
drivers/platform/x86/x86-android-tablets/core.c
83
acpi_handle handle;
drivers/platform/x86/xo15-ebook.c
49
status = acpi_evaluate_integer(device->handle, "EBK", NULL, &state);
drivers/platform/x86/xo15-ebook.c
67
acpi_handle_debug(device->handle,
drivers/pmdomain/arm/scmi_perf_domain.c
80
const struct scmi_handle *handle = sdev->handle;
drivers/pmdomain/arm/scmi_perf_domain.c
88
if (!handle)
drivers/pmdomain/arm/scmi_perf_domain.c
95
perf_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_PERF, &ph);
drivers/pmdomain/arm/scmi_pm_domain.c
50
const struct scmi_handle *handle = sdev->handle;
drivers/pmdomain/arm/scmi_pm_domain.c
53
if (!handle)
drivers/pmdomain/arm/scmi_pm_domain.c
56
power_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_POWER, &ph);
drivers/pnp/pnpacpi/core.c
108
status = acpi_evaluate_object(acpi_dev->handle, "_DIS", NULL, NULL);
drivers/pnp/pnpacpi/core.c
125
return acpi_bus_can_wakeup(acpi_dev->handle);
drivers/pnp/pnpacpi/core.c
224
if (!acpi_has_method(device->handle, "_CRS"))
drivers/pnp/pnpacpi/core.c
242
if (acpi_has_method(device->handle, "_SRS"))
drivers/pnp/pnpacpi/core.c
249
if (acpi_has_method(device->handle, "_DIS"))
drivers/pnp/pnpacpi/core.c
286
static acpi_status __init pnpacpi_add_device_handler(acpi_handle handle,
drivers/pnp/pnpacpi/core.c
290
struct acpi_device *device = acpi_fetch_acpi_dev(handle);
drivers/pnp/pnpacpi/core.c
52
acpi_handle handle;
drivers/pnp/pnpacpi/core.c
66
handle = acpi_dev->handle;
drivers/pnp/pnpacpi/core.c
67
if (acpi_has_method(handle, METHOD_NAME__SRS)) {
drivers/pnp/pnpacpi/core.c
78
status = acpi_set_current_resources(handle, &buffer);
drivers/pnp/pnpacpi/rsparser.c
274
acpi_handle handle = acpi_dev->handle;
drivers/pnp/pnpacpi/rsparser.c
281
status = acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/pnp/pnpacpi/rsparser.c
553
acpi_handle handle = acpi_dev->handle;
drivers/pnp/pnpacpi/rsparser.c
562
status = acpi_walk_resources(handle, METHOD_NAME__PRS,
drivers/pnp/pnpacpi/rsparser.c
626
acpi_handle handle = acpi_dev->handle;
drivers/pnp/pnpacpi/rsparser.c
631
status = acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/pnp/pnpacpi/rsparser.c
645
status = acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/pnp/pnpbios/core.c
232
ret = pnp_bios_set_dev_node(node->handle, (char)PNPMODE_DYNAMIC, node);
drivers/pnp/pnpbios/core.c
307
if (dev->number == node->handle)
drivers/pnp/pnpbios/core.c
312
dev = pnp_alloc_dev(&pnpbios_protocol, node->handle, id);
drivers/pnp/pnpbios/pnpbios.h
106
__u8 handle;
drivers/pnp/pnpbios/proc.c
138
node->handle, node->eisa_id,
drivers/pnp/pnpbios/proc.c
203
if (pnp_bios_set_dev_node(node->handle, boot, node) != 0) {
drivers/pnp/pnpbios/proc.c
225
sprintf(name, "%02x", node->handle);
drivers/pnp/pnpbios/proc.c
231
(void *)(long)(node->handle));
drivers/pnp/pnpbios/proc.c
237
(void *)(long)(node->handle + 0x100)))
drivers/powercap/arm_scmi_powercap.c
426
if (!sdev->handle)
drivers/powercap/arm_scmi_powercap.c
429
powercap_ops = sdev->handle->devm_protocol_get(sdev,
drivers/pps/clients/pps_parport.c
53
static void parport_irq(void *handle)
drivers/pps/clients/pps_parport.c
56
struct pps_client_pp *dev = handle;
drivers/ptp/ptp_vmclock.c
522
vmclock_acpi_notification_handler(acpi_handle __always_unused handle,
drivers/ptp/ptp_vmclock.c
544
status = acpi_install_notify_handler(adev->handle, ACPI_DEVICE_NOTIFY,
drivers/ptp/ptp_vmclock.c
568
status = acpi_walk_resources(adev->handle, METHOD_NAME__CRS,
drivers/ptp/ptp_vmclock.c
640
acpi_remove_notify_handler(ACPI_COMPANION(dev)->handle,
drivers/rapidio/devices/rio_mport_cdev.c
1127
u64 handle;
drivers/rapidio/devices/rio_mport_cdev.c
1131
if (copy_from_user(&handle, arg, sizeof(handle)))
drivers/rapidio/devices/rio_mport_cdev.c
1137
if (map->dir == MAP_DMA && map->phys_addr == handle &&
drivers/rapidio/devices/rio_mport_cdev.c
1284
map.handle = mapping->phys_addr;
drivers/rapidio/devices/rio_mport_cdev.c
1310
u64 handle;
drivers/rapidio/devices/rio_mport_cdev.c
1318
if (copy_from_user(&handle, arg, sizeof(handle)))
drivers/rapidio/devices/rio_mport_cdev.c
1323
if (map->dir == MAP_INBOUND && map->phys_addr == handle) {
drivers/rapidio/devices/rio_mport_cdev.c
428
map.handle = paddr;
drivers/rapidio/devices/rio_mport_cdev.c
445
u64 handle;
drivers/rapidio/devices/rio_mport_cdev.c
451
if (copy_from_user(&handle, arg, sizeof(handle)))
drivers/rapidio/devices/rio_mport_cdev.c
454
rmcd_debug(OBW, "h=0x%llx", handle);
drivers/rapidio/devices/rio_mport_cdev.c
458
if (map->dir == MAP_OUTBOUND && map->phys_addr == handle) {
drivers/rapidio/devices/rio_mport_cdev.c
460
rmcd_debug(OBW, "kref_put h=0x%llx", handle);
drivers/rapidio/devices/rio_mport_cdev.c
881
baddr = (dma_addr_t)xfer->handle;
drivers/regulator/irq_helpers.c
390
void regulator_irq_helper_cancel(void **handle)
drivers/regulator/irq_helpers.c
392
if (handle && *handle) {
drivers/regulator/irq_helpers.c
393
struct regulator_irq *h = *handle;
drivers/regulator/scmi-regulator.c
302
const struct scmi_handle *handle = sdev->handle;
drivers/regulator/scmi-regulator.c
306
if (!handle)
drivers/regulator/scmi-regulator.c
309
voltage_ops = handle->devm_protocol_get(sdev,
drivers/regulator/scmi-regulator.c
343
of_node_get(handle->dev->of_node);
drivers/regulator/scmi-regulator.c
344
np = of_find_node_by_name(handle->dev->of_node, "regulators");
drivers/reset/core.c
1291
acpi_handle handle = ACPI_HANDLE(dev);
drivers/reset/core.c
1293
if (handle) {
drivers/reset/core.c
1294
if (!acpi_has_method(handle, "_RST"))
drivers/reset/core.c
1296
if (ACPI_FAILURE(acpi_evaluate_object(handle, "_RST", NULL,
drivers/reset/reset-scmi.c
100
reset_ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_RESET, &ph);
drivers/reset/reset-scmi.c
94
const struct scmi_handle *handle = sdev->handle;
drivers/reset/reset-scmi.c
97
if (!handle)
drivers/rtc/rtc-imx-sm-bbm.c
106
ret = handle->notify_ops->devm_event_notifier_register(sdev, SCMI_PROTOCOL_IMX_BBM,
drivers/rtc/rtc-imx-sm-bbm.c
117
const struct scmi_handle *handle = sdev->handle;
drivers/rtc/rtc-imx-sm-bbm.c
123
if (!handle)
drivers/rtc/rtc-imx-sm-bbm.c
130
bbnsm->ops = handle->devm_protocol_get(sdev, SCMI_PROTOCOL_IMX_BBM, &ph);
drivers/rtc/rtc-imx-sm-bbm.c
93
const struct scmi_handle *handle = sdev->handle;
drivers/s390/scsi/zfcp_def.h
218
u32 handle; /* handle assigned by FSF */
drivers/s390/scsi/zfcp_fc.h
204
u32 handle;
drivers/s390/scsi/zfcp_fsf.c
1069
req->qtcb->header.port_handle = zfcp_sdev->port->handle;
drivers/s390/scsi/zfcp_fsf.c
1250
req->qtcb->header.port_handle = wka_port->handle;
drivers/s390/scsi/zfcp_fsf.c
1735
port->handle = header->port_handle;
drivers/s390/scsi/zfcp_fsf.c
1871
req->qtcb->header.port_handle = erp_action->port->handle;
drivers/s390/scsi/zfcp_fsf.c
1906
wka_port->handle = header->port_handle;
drivers/s390/scsi/zfcp_fsf.c
2004
req->qtcb->header.port_handle = wka_port->handle;
drivers/s390/scsi/zfcp_fsf.c
2096
req->qtcb->header.port_handle = erp_action->port->handle;
drivers/s390/scsi/zfcp_fsf.c
2215
req->qtcb->header.port_handle = erp_action->port->handle;
drivers/s390/scsi/zfcp_fsf.c
2307
req->qtcb->header.port_handle = erp_action->port->handle;
drivers/s390/scsi/zfcp_fsf.c
2600
req->qtcb->header.port_handle = zfcp_sdev->port->handle;
drivers/s390/scsi/zfcp_fsf.c
2704
req->qtcb->header.port_handle = zfcp_sdev->port->handle;
drivers/s390/scsi/zfcp_scsi.c
264
.port_handle = zsdev->port->handle,
drivers/scsi/aacraid/src.c
146
handle = le32_to_cpu((dev->host_rrq[index])
drivers/scsi/aacraid/src.c
149
if (handle & 0x40000000)
drivers/scsi/aacraid/src.c
151
handle &= 0x0000ffff;
drivers/scsi/aacraid/src.c
152
if (handle == 0)
drivers/scsi/aacraid/src.c
154
handle >>= 2;
drivers/scsi/aacraid/src.c
157
aac_intr_normal(dev, handle, 0, isFastResponse, NULL);
drivers/scsi/aacraid/src.c
43
u32 index, handle;
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1785
static int bnx2fc_ulp_get_stats(void *handle)
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1787
struct bnx2fc_hba *hba = handle;
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1821
static void bnx2fc_ulp_start(void *handle)
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1823
struct bnx2fc_hba *hba = handle;
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1954
static void bnx2fc_ulp_stop(void *handle)
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
1956
struct bnx2fc_hba *hba = handle;
drivers/scsi/bnx2i/bnx2i.h
809
extern void bnx2i_start(void *handle);
drivers/scsi/bnx2i/bnx2i.h
810
extern void bnx2i_stop(void *handle);
drivers/scsi/bnx2i/bnx2i.h
811
extern int bnx2i_get_stats(void *handle);
drivers/scsi/bnx2i/bnx2i_init.c
163
void bnx2i_start(void *handle)
drivers/scsi/bnx2i/bnx2i_init.c
166
struct bnx2i_hba *hba = handle;
drivers/scsi/bnx2i/bnx2i_init.c
220
void bnx2i_stop(void *handle)
drivers/scsi/bnx2i/bnx2i_init.c
222
struct bnx2i_hba *hba = handle;
drivers/scsi/bnx2i/bnx2i_init.c
373
int bnx2i_get_stats(void *handle)
drivers/scsi/bnx2i/bnx2i_init.c
375
struct bnx2i_hba *hba = handle;
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
2308
static int t4_uld_rx_handler(void *handle, const __be64 *rsp,
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
2314
struct cxgbi_device *cdev = handle;
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
2353
static int t4_uld_state_change(void *handle, enum cxgb4_state state)
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
2355
struct cxgbi_device *cdev = handle;
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
461
static void abort_arp_failure(void *handle, struct sk_buff *skb)
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
463
struct cxgbi_sock *csk = (struct cxgbi_sock *)handle;
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
762
static void arp_failure_skb_discard(void *handle, struct sk_buff *skb)
drivers/scsi/cxgbi/libcxgbi.c
921
void cxgbi_sock_act_open_req_arp_failure(void *handle, struct sk_buff *skb)
drivers/scsi/cxgbi/libcxgbi.h
214
void *handle;
drivers/scsi/elx/efct/efct_driver.c
409
efct_intr_thread(int irq, void *handle)
drivers/scsi/elx/efct/efct_driver.c
411
struct efct_intr_context *intr_ctx = handle;
drivers/scsi/esas2r/atvda.h
1027
u32 handle;
drivers/scsi/esas2r/atvda.h
1039
u32 handle;
drivers/scsi/esas2r/atvda.h
1087
u32 handle;
drivers/scsi/esas2r/atvda.h
1117
u32 handle;
drivers/scsi/esas2r/atvda.h
1130
u32 handle;
drivers/scsi/esas2r/atvda.h
1145
u32 handle;
drivers/scsi/esas2r/atvda.h
1157
u32 handle;
drivers/scsi/esas2r/atvda.h
1186
u32 handle;
drivers/scsi/esas2r/atvda.h
1203
u32 handle;
drivers/scsi/esas2r/atvda.h
1285
u32 handle;
drivers/scsi/esas2r/esas2r.h
1225
if (a->req_table[LOWORD(vrq->scsi.handle)]) {
drivers/scsi/esas2r/esas2r.h
1232
a->req_table[LOWORD(vrq->scsi.handle)] = rq;
drivers/scsi/esas2r/esas2r.h
1238
vrq->scsi.handle = (a->cmd_ref_no++ << 16) | (u16)vrq->scsi.handle;
drivers/scsi/esas2r/esas2r.h
1278
a->req_table[LOWORD(rq->vrq->scsi.handle)] = NULL;
drivers/scsi/esas2r/esas2r_init.c
127
rq->vrq->scsi.handle = a->num_vrqs;
drivers/scsi/esas2r/esas2r_int.c
211
u32 handle;
drivers/scsi/esas2r/esas2r_int.c
251
handle = rsp->handle;
drivers/scsi/esas2r/esas2r_int.c
254
if (unlikely(LOWORD(handle) == 0
drivers/scsi/esas2r/esas2r_int.c
255
|| LOWORD(handle) > num_requests +
drivers/scsi/esas2r/esas2r_int.c
262
rq = a->req_table[LOWORD(handle)];
drivers/scsi/esas2r/esas2r_int.c
264
if (unlikely(rq == NULL || rq->vrq->scsi.handle != handle)) {
drivers/scsi/esas2r/esas2r_int.c
274
esas2r_trace("handle: %x", handle);
drivers/scsi/esas2r/esas2r_io.c
176
esas2r_trace("rq->vrq->scsi.handle:%x", rq->vrq->scsi.handle);
drivers/scsi/esas2r/esas2r_io.c
85
esas2r_trace("rq->vrq->scsi.handle=%x", rq->vrq->scsi.handle);
drivers/scsi/esas2r/esas2r_main.c
953
rq->vrq->scsi.handle;
drivers/scsi/esas2r/esas2r_vda.c
489
u32 handle = rq->vrq->scsi.handle;
drivers/scsi/esas2r/esas2r_vda.c
493
rq->vrq->scsi.handle = handle;
drivers/scsi/ibmvscsi/ibmvfc.c
5837
queue->msgs.handle = (void *)get_zeroed_page(GFP_KERNEL);
drivers/scsi/ibmvscsi/ibmvfc.c
5838
if (!queue->msgs.handle)
drivers/scsi/ibmvscsi/ibmvfc.c
5841
queue->msg_token = dma_map_single(dev, queue->msgs.handle, PAGE_SIZE,
drivers/scsi/ibmvscsi/ibmvfc.c
5845
free_page((unsigned long)queue->msgs.handle);
drivers/scsi/ibmvscsi/ibmvfc.c
5846
queue->msgs.handle = NULL;
drivers/scsi/ibmvscsi/ibmvfc.c
885
free_page((unsigned long)queue->msgs.handle);
drivers/scsi/ibmvscsi/ibmvfc.c
886
queue->msgs.handle = NULL;
drivers/scsi/ibmvscsi/ibmvfc.h
788
void *handle;
drivers/scsi/lpfc/lpfc_crtn.h
438
dma_addr_t *handle);
drivers/scsi/lpfc/lpfc_mem.c
385
lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle)
drivers/scsi/lpfc/lpfc_mem.c
391
ret = dma_pool_alloc(phba->lpfc_mbuf_pool, GFP_KERNEL, handle);
drivers/scsi/lpfc/lpfc_mem.c
397
*handle = pool->elements[pool->current_count].phys;
drivers/scsi/lpfc/lpfc_mem.c
471
lpfc_nvmet_buf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle)
drivers/scsi/lpfc/lpfc_mem.c
475
ret = dma_pool_alloc(phba->lpfc_sg_dma_buf_pool, GFP_KERNEL, handle);
drivers/scsi/lpfc/lpfc_nvme.c
125
*handle = (void *)qhandle;
drivers/scsi/lpfc/lpfc_nvme.c
146
void *handle)
drivers/scsi/lpfc/lpfc_nvme.c
159
lport, qidx, handle);
drivers/scsi/lpfc/lpfc_nvme.c
160
kfree(handle);
drivers/scsi/lpfc/lpfc_nvme.c
84
void **handle)
drivers/scsi/megaraid/megaraid_ioctl.h
241
struct dma_pool *handle;
drivers/scsi/megaraid/megaraid_mm.c
1082
pool->handle = dma_pool_create("megaraid mm data buffer",
drivers/scsi/megaraid/megaraid_mm.c
1086
if (!pool->handle) {
drivers/scsi/megaraid/megaraid_mm.c
1090
pool->vaddr = dma_pool_alloc(pool->handle, GFP_KERNEL,
drivers/scsi/megaraid/megaraid_mm.c
1188
if (pool->handle) {
drivers/scsi/megaraid/megaraid_mm.c
1191
dma_pool_free(pool->handle, pool->vaddr,
drivers/scsi/megaraid/megaraid_mm.c
1194
dma_pool_destroy(pool->handle);
drivers/scsi/megaraid/megaraid_mm.c
1195
pool->handle = NULL;
drivers/scsi/megaraid/megaraid_mm.c
569
kioc->buf_vaddr = dma_pool_alloc(pool->handle, GFP_ATOMIC,
drivers/scsi/megaraid/megaraid_mm.c
653
dma_pool_free(pool->handle, kioc->buf_vaddr,
drivers/scsi/mpi3mr/mpi3mr.h
1441
u16 handle;
drivers/scsi/mpi3mr/mpi3mr.h
1510
u16 handle, uint lun, u16 htag, ulong timeout,
drivers/scsi/mpi3mr/mpi3mr.h
1514
struct mpi3mr_ioc *mrioc, u16 handle);
drivers/scsi/mpi3mr/mpi3mr.h
1522
struct mpi3mr_ioc *mrioc, u16 handle);
drivers/scsi/mpi3mr/mpi3mr.h
1558
int mpi3mr_expander_add(struct mpi3mr_ioc *mrioc, u16 handle);
drivers/scsi/mpi3mr/mpi3mr.h
1562
*mrioc, u16 handle);
drivers/scsi/mpi3mr/mpi3mr.h
1568
u64 sas_address_parent, u16 handle, u8 phy_number, u8 link_rate,
drivers/scsi/mpi3mr/mpi3mr.h
587
u16 handle;
drivers/scsi/mpi3mr/mpi3mr.h
615
u16 handle;
drivers/scsi/mpi3mr/mpi3mr_app.c
1506
devmap_info[i].handle = tgtdev->dev_handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
1576
struct mpi3mr_ioc *mrioc, u16 handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
1581
if (le16_to_cpu(enclosure_dev->pg0.enclosure_handle) != handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
164
static void mpi3mr_dev_rmhs_send_tm(struct mpi3mr_ioc *mrioc, u16 handle,
drivers/scsi/mpi3mr/mpi3mr_os.c
1744
u16 handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
1775
handle = le16_to_cpu(event_data->phy_entry[i].attached_dev_handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
1776
if (!handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
1805
__func__, phy_number, handle, status_str, link_rate,
drivers/scsi/mpi3mr/mpi3mr_os.c
1827
u16 handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
1857
handle = le16_to_cpu(event_data->phy_entry[i].attached_dev_handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
1858
if (!handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
1860
tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
1888
mpi3mr_update_links(mrioc, parent_sas_address, handle,
drivers/scsi/mpi3mr/mpi3mr_os.c
1921
u16 handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
1952
handle =
drivers/scsi/mpi3mr/mpi3mr_os.c
1954
if (!handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
1984
__func__, port_number, handle, status_str, link_rate,
drivers/scsi/mpi3mr/mpi3mr_os.c
2006
u16 handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
2015
handle =
drivers/scsi/mpi3mr/mpi3mr_os.c
2017
if (!handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
2019
tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2125
u16 perst_id, handle, dev_info;
drivers/scsi/mpi3mr/mpi3mr_os.c
2156
handle = le16_to_cpu(dev_pg0->dev_handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2169
mpi3mr_expander_add(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2410
drv_cmd->dev_handle = delayed_dev_rmhs->handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
2506
static void mpi3mr_dev_rmhs_send_tm(struct mpi3mr_ioc *mrioc, u16 handle,
drivers/scsi/mpi3mr/mpi3mr_os.c
2519
tgtdev = __mpi3mr_get_tgtdev_by_handle(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2541
delayed_dev_rmhs->handle = handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
2546
__func__, handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2555
__func__, handle, cmd_idx);
drivers/scsi/mpi3mr/mpi3mr_os.c
2565
drv_cmd->dev_handle = handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
2567
tm_req.dev_handle = cpu_to_le16(handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2573
set_bit(handle, mrioc->removepend_bitmap);
drivers/scsi/mpi3mr/mpi3mr_os.c
2746
u16 handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
2752
handle = le16_to_cpu(topo_evt->port_entry[i].attached_dev_handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2753
if (!handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
2757
tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2768
mpi3mr_dev_rmhs_send_tm(mrioc, handle, NULL,
drivers/scsi/mpi3mr/mpi3mr_os.c
2812
u16 handle;
drivers/scsi/mpi3mr/mpi3mr_os.c
2818
handle = le16_to_cpu(topo_evt->phy_entry[i].attached_dev_handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2819
if (!handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
2824
tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
2835
mpi3mr_dev_rmhs_send_tm(mrioc, handle, NULL,
drivers/scsi/mpi3mr/mpi3mr_os.c
3937
u16 handle, uint lun, u16 htag, ulong timeout,
drivers/scsi/mpi3mr/mpi3mr_os.c
3951
__func__, tm_type, handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
3984
tm_req.dev_handle = cpu_to_le16(handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
3991
tgtdev = mpi3mr_get_tgtdev_by_handle(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_os.c
4070
handle, drv_cmd->ioc_status, drv_cmd->ioc_loginfo);
drivers/scsi/mpi3mr/mpi3mr_os.c
4090
tm_type, handle, drv_cmd->ioc_status, drv_cmd->ioc_loginfo,
drivers/scsi/mpi3mr/mpi3mr_os.c
746
struct mpi3mr_ioc *mrioc, u16 handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
752
if (tgtdev->dev_handle == handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
772
struct mpi3mr_ioc *mrioc, u16 handle)
drivers/scsi/mpi3mr/mpi3mr_os.c
778
tgtdev = __mpi3mr_get_tgtdev_by_handle(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_transport.c
1004
mr_sas_phy->handle, (unsigned long long)
drivers/scsi/mpi3mr/mpi3mr_transport.c
1075
u64 sas_address_parent, u16 handle, u8 phy_number, u8 link_rate,
drivers/scsi/mpi3mr/mpi3mr_transport.c
1094
mr_sas_phy->attached_handle = handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1096
if (handle && (link_rate >= MPI3_SAS_NEG_LINK_RATE_1_5)) {
drivers/scsi/mpi3mr/mpi3mr_transport.c
1097
mpi3mr_set_identify(mrioc, handle,
drivers/scsi/mpi3mr/mpi3mr_transport.c
1116
link_rate, phy_number, handle, (unsigned long long)
drivers/scsi/mpi3mr/mpi3mr_transport.c
1154
mrioc->sas_hba.handle = 0;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1162
if (!mrioc->sas_hba.handle)
drivers/scsi/mpi3mr/mpi3mr_transport.c
1163
mrioc->sas_hba.handle = le16_to_cpu(
drivers/scsi/mpi3mr/mpi3mr_transport.c
1170
mrioc->sas_hba.phy[i].handle = mrioc->sas_hba.handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1241
mrioc->sas_hba.handle = 0;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1260
if (!mrioc->sas_hba.handle)
drivers/scsi/mpi3mr/mpi3mr_transport.c
1261
mrioc->sas_hba.handle = le16_to_cpu(
drivers/scsi/mpi3mr/mpi3mr_transport.c
1269
mrioc->sas_hba.phy[i].handle = mrioc->sas_hba.handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1278
mrioc->sas_hba.handle))) {
drivers/scsi/mpi3mr/mpi3mr_transport.c
1284
mrioc->sas_hba.handle, ioc_status, __FILE__, __LINE__,
drivers/scsi/mpi3mr/mpi3mr_transport.c
1295
mrioc->sas_hba.handle,
drivers/scsi/mpi3mr/mpi3mr_transport.c
1328
u16 handle, u64 sas_address_parent, struct mpi3mr_hba_port *hba_port)
drivers/scsi/mpi3mr/mpi3mr_transport.c
1362
if ((mpi3mr_set_identify(mrioc, handle,
drivers/scsi/mpi3mr/mpi3mr_transport.c
1442
handle, (unsigned long long)
drivers/scsi/mpi3mr/mpi3mr_transport.c
1475
__func__, handle, (unsigned long long)
drivers/scsi/mpi3mr/mpi3mr_transport.c
1625
u16 handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1740
if (h_port[j].handle == attached_handle) {
drivers/scsi/mpi3mr/mpi3mr_transport.c
1767
h_port[port_idx].handle = attached_handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1874
u16 ioc_status, handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1888
handle = 0xffff;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1894
MPI3_SAS_EXPAND_PGAD_FORM_GET_NEXT_HANDLE, handle))) {
drivers/scsi/mpi3mr/mpi3mr_transport.c
1897
handle, __FILE__, __LINE__, __func__);
drivers/scsi/mpi3mr/mpi3mr_transport.c
1904
ioc_status, handle, __FILE__, __LINE__, __func__);
drivers/scsi/mpi3mr/mpi3mr_transport.c
1908
handle = le16_to_cpu(expander_pg0.dev_handle);
drivers/scsi/mpi3mr/mpi3mr_transport.c
1914
mpi3mr_expander_add(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_transport.c
1926
mpi3mr_expander_add(mrioc, handle);
drivers/scsi/mpi3mr/mpi3mr_transport.c
1931
if (sas_expander->handle == handle)
drivers/scsi/mpi3mr/mpi3mr_transport.c
1934
sas_expander->handle = handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1936
sas_expander->phy[i].handle = handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
1988
int mpi3mr_expander_add(struct mpi3mr_ioc *mrioc, u16 handle)
drivers/scsi/mpi3mr/mpi3mr_transport.c
2004
if (!handle)
drivers/scsi/mpi3mr/mpi3mr_transport.c
2011
sizeof(expander_pg0), MPI3_SAS_EXPAND_PGAD_FORM_HANDLE, handle))) {
drivers/scsi/mpi3mr/mpi3mr_transport.c
2077
if (temp_handle != handle)
drivers/scsi/mpi3mr/mpi3mr_transport.c
2085
handle, i, link_rate, hba_port);
drivers/scsi/mpi3mr/mpi3mr_transport.c
2103
sas_expander->handle = handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
2111
handle, parent_handle, (unsigned long long)
drivers/scsi/mpi3mr/mpi3mr_transport.c
2126
mr_sas_port = mpi3mr_sas_port_add(mrioc, handle, sas_address_parent,
drivers/scsi/mpi3mr/mpi3mr_transport.c
2139
handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
2156
sas_expander->phy[i].handle = handle;
drivers/scsi/mpi3mr/mpi3mr_transport.c
2235
sas_expander->handle, (unsigned long long)
drivers/scsi/mpi3mr/mpi3mr_transport.c
253
*mrioc, u16 handle)
drivers/scsi/mpi3mr/mpi3mr_transport.c
259
if (sas_expander->handle != handle)
drivers/scsi/mpi3mr/mpi3mr_transport.c
294
static int mpi3mr_get_sas_address(struct mpi3mr_ioc *mrioc, u16 handle,
drivers/scsi/mpi3mr/mpi3mr_transport.c
305
handle))) {
drivers/scsi/mpi3mr/mpi3mr_transport.c
312
handle, ioc_status, __FILE__, __LINE__, __func__);
drivers/scsi/mpi3mr/mpi3mr_transport.c
795
static int mpi3mr_set_identify(struct mpi3mr_ioc *mrioc, u16 handle,
drivers/scsi/mpi3mr/mpi3mr_transport.c
816
sizeof(device_pg0), MPI3_DEVICE_PGAD_FORM_HANDLE, handle))) {
drivers/scsi/mpi3mr/mpi3mr_transport.c
823
handle, ioc_status, __FILE__, __LINE__, __func__);
drivers/scsi/mpi3mr/mpi3mr_transport.c
896
if ((mpi3mr_set_identify(mrioc, mr_sas_phy->handle,
drivers/scsi/mpi3mr/mpi3mr_transport.c
933
mr_sas_phy->handle, (unsigned long long)
drivers/scsi/mpi3mr/mpi3mr_transport.c
966
if ((mpi3mr_set_identify(mrioc, mr_sas_phy->handle,
drivers/scsi/mpt3sas/mpt3sas_base.c
4173
u16 smid, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_base.c
4188
descriptor.SCSIIO.DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_base.c
4201
_base_put_smid_scsi_io(struct MPT3SAS_ADAPTER *ioc, u16 smid, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_base.c
4210
descriptor.SCSIIO.DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_base.c
4224
u16 handle)
drivers/scsi/mpt3sas/mpt3sas_base.c
4233
descriptor.SCSIIO.DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_base.c
4351
u16 handle)
drivers/scsi/mpt3sas/mpt3sas_base.c
4373
u16 handle)
drivers/scsi/mpt3sas/mpt3sas_base.h
1719
u16 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1808
int mpt3sas_scsih_issue_tm(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_base.h
1811
int mpt3sas_scsih_issue_locked_tm(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_base.h
1815
void mpt3sas_scsih_set_tm_flag(struct MPT3SAS_ADAPTER *ioc, u16 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1816
void mpt3sas_scsih_clear_tm_flag(struct MPT3SAS_ADAPTER *ioc, u16 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1828
struct MPT3SAS_ADAPTER *ioc, u16 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1839
u16 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1841
u16 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1845
mpt3sas_raid_device_find_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1888
u32 form, u32 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1891
u32 form, u32 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1894
u32 form, u32 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1923
u32 form, u32 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1926
u32 phy_number, u16 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1929
u32 form, u32 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1936
u32 handle);
drivers/scsi/mpt3sas/mpt3sas_base.h
1937
int mpt3sas_config_get_number_pds(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_base.h
1941
u32 handle, u16 sz);
drivers/scsi/mpt3sas/mpt3sas_base.h
2003
u16 handle, u64 sas_address, struct hba_port *port);
drivers/scsi/mpt3sas/mpt3sas_base.h
2012
u64 sas_address, u16 handle, u8 phy_number, u8 link_rate,
drivers/scsi/mpt3sas/mpt3sas_base.h
444
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_base.h
563
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_base.h
633
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_base.h
722
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_base.h
789
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_base.h
818
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_base.h
913
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_base.h
923
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_config.c
1151
u32 form, u32 handle)
drivers/scsi/mpt3sas/mpt3sas_config.c
1169
mpi_request.PageAddress = cpu_to_le32(form | handle);
drivers/scsi/mpt3sas/mpt3sas_config.c
1192
u32 form, u32 handle)
drivers/scsi/mpt3sas/mpt3sas_config.c
1210
mpi_request.PageAddress = cpu_to_le32(form | handle);
drivers/scsi/mpt3sas/mpt3sas_config.c
1270
u32 form, u32 handle)
drivers/scsi/mpt3sas/mpt3sas_config.c
1288
mpi_request.PageAddress = cpu_to_le32(form | handle);
drivers/scsi/mpt3sas/mpt3sas_config.c
1481
*mpi_reply, Mpi2ExpanderPage0_t *config_page, u32 form, u32 handle)
drivers/scsi/mpt3sas/mpt3sas_config.c
1499
mpi_request.PageAddress = cpu_to_le32(form | handle);
drivers/scsi/mpt3sas/mpt3sas_config.c
1522
u16 handle)
drivers/scsi/mpt3sas/mpt3sas_config.c
1542
(phy_number << MPI2_SAS_EXPAND_PGAD_PHYNUM_SHIFT) | handle);
drivers/scsi/mpt3sas/mpt3sas_config.c
1564
*mpi_reply, Mpi2SasEnclosurePage0_t *config_page, u32 form, u32 handle)
drivers/scsi/mpt3sas/mpt3sas_config.c
1582
mpi_request.PageAddress = cpu_to_le32(form | handle);
drivers/scsi/mpt3sas/mpt3sas_config.c
1685
u32 handle)
drivers/scsi/mpt3sas/mpt3sas_config.c
1702
mpi_request.PageAddress = cpu_to_le32(form | handle);
drivers/scsi/mpt3sas/mpt3sas_config.c
1721
mpt3sas_config_get_number_pds(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_config.c
1744
cpu_to_le32(MPI2_RAID_VOLUME_PGAD_FORM_HANDLE | handle);
drivers/scsi/mpt3sas/mpt3sas_config.c
1775
u32 handle, u16 sz)
drivers/scsi/mpt3sas/mpt3sas_config.c
1792
mpi_request.PageAddress = cpu_to_le32(form | handle);
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1438
btdh->handle == sas_device->handle) {
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1444
sas_device->id && btdh->handle == 0xFFFF) {
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1445
btdh->handle = sas_device->handle;
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1474
btdh->handle == pcie_device->handle) {
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1480
pcie_device->id && btdh->handle == 0xFFFF) {
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1481
btdh->handle = pcie_device->handle;
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1510
btdh->handle == raid_device->handle) {
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1516
raid_device->id && btdh->handle == 0xFFFF) {
drivers/scsi/mpt3sas/mpt3sas_ctl.c
1517
btdh->handle = raid_device->handle;
drivers/scsi/mpt3sas/mpt3sas_ctl.c
4217
sas_target_priv_data->handle);
drivers/scsi/mpt3sas/mpt3sas_ctl.c
4342
sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_ctl.c
586
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_ctl.c
603
handle = le16_to_cpu(tm_request->DevHandle);
drivers/scsi/mpt3sas/mpt3sas_ctl.c
616
if (priv_data->sas_target->handle != handle)
drivers/scsi/mpt3sas/mpt3sas_ctl.h
322
uint16_t handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1000
sas_device->handle, (u64)sas_device->sas_address);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10133
_scsih_ir_fastpath(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 phys_disk_num)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10173
handle, phys_disk_num));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1023
_scsih_device_remove_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10243
u16 handle = le16_to_cpu(element->VolDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10246
mpt3sas_config_get_volume_wwid(ioc, handle, &wwid);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10269
raid_device->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10291
_scsih_sas_volume_delete(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10299
raid_device = mpt3sas_raid_device_find_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10307
raid_device->handle, (u64)raid_device->wwid);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1032
sas_device = __mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10330
u16 handle = le16_to_cpu(element->PhysDiskDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10333
sas_device = __mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10337
clear_bit(handle, ioc->pd_handles);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10370
u16 handle = le16_to_cpu(element->PhysDiskDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10374
mpt3sas_config_get_volume_handle(ioc, handle, &volume_handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10380
sas_device = __mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10382
set_bit(handle, ioc->pd_handles);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10397
_scsih_ir_fastpath(ioc, handle, element->PhysDiskNum);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10415
u16 handle = le16_to_cpu(element->PhysDiskDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10417
_scsih_device_remove_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10431
u16 handle = le16_to_cpu(element->PhysDiskDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10438
set_bit(handle, ioc->pd_handles);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10440
sas_device = mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10442
_scsih_ir_fastpath(ioc, handle, element->PhysDiskNum);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10448
MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10464
mpt3sas_transport_update_links(ioc, sas_address, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10469
_scsih_ir_fastpath(ioc, handle, element->PhysDiskNum);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10470
_scsih_add_device(ioc, handle, 0, 1);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10634
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10646
handle = le16_to_cpu(event_data->VolDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10651
__func__, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10657
_scsih_sas_volume_delete(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10665
raid_device = mpt3sas_raid_device_find_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10671
mpt3sas_config_get_volume_wwid(ioc, handle, &wwid);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10687
raid_device->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10712
u16 handle, parent_handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10728
handle = le16_to_cpu(event_data->PhysDiskDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10734
__func__, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10746
set_bit(handle, ioc->pd_handles);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10748
sas_device = mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10756
handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10772
mpt3sas_transport_update_links(ioc, sas_address, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10777
_scsih_add_device(ioc, handle, 0, 1);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10843
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10854
handle = le16_to_cpu(event_data->VolDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
10855
raid_device = mpt3sas_raid_device_find_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1092
__func__, sas_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11003
if (sas_device->handle == le16_to_cpu(
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11007
sas_device->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11008
sas_device->handle = le16_to_cpu(
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11011
sas_target_priv_data->handle =
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1104
clear_bit(sas_device->handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11075
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1108
if (!mpt3sas_transport_port_add(ioc, sas_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11083
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11086
handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11091
handle = le16_to_cpu(sas_device_pg0.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11137
pcie_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11160
if (pcie_device->handle == le16_to_cpu(
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11164
pcie_device->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11165
pcie_device->handle = le16_to_cpu(
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11168
sas_target_priv_data->handle =
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11191
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11199
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11202
handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11211
handle = le16_to_cpu(pcie_device_pg0.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11232
u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1125
clear_bit(sas_device->handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11251
"handle(0x%04x), wwid(0x%016llx)\n", handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11261
if (raid_device->handle == handle) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11267
raid_device->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11268
raid_device->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11270
sas_target_priv_data->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11293
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11304
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11306
&volume_pg1, MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11311
handle = le16_to_cpu(volume_pg1.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11314
&volume_pg0, MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11322
le64_to_cpu(volume_pg1.WWID), handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11337
handle = le16_to_cpu(pd_pg0.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11338
set_bit(handle, ioc->pd_handles);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11361
u16 handle = le16_to_cpu(expander_pg0->DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11387
if (sas_expander->handle == handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11392
sas_expander->handle, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11393
sas_expander->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11395
sas_expander->phy[i].handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11416
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11424
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11426
MPI2_SAS_EXPAND_PGAD_FORM_GET_NEXT_HNDL, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11433
handle = le16_to_cpu(expander_pg0.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11438
handle, (unsigned long long)sas_address,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1144
__func__, sas_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11536
raid_device->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11567
struct _sas_node *sas_expander, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11575
&expander_pg1, i, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11605
u16 handle, parent_handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11621
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11623
MPI2_SAS_EXPAND_PGAD_FORM_GET_NEXT_HNDL, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11631
handle = le16_to_cpu(expander_pg0.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11640
handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11643
handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11645
_scsih_expander_add(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11647
handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11672
handle = le16_to_cpu(pd_pg0.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11673
sas_device = mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11680
handle) != 0)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11693
handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11697
handle, sas_device_pg0.PhyNum,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11700
set_bit(handle, ioc->pd_handles);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11706
while (_scsih_add_device(ioc, handle, retry_count++,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11711
handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11721
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11723
&volume_pg1, MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11731
handle = le16_to_cpu(volume_pg1.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11739
&volume_pg0, MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11770
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11773
handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11781
handle = le16_to_cpu(sas_device_pg0.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11796
handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11798
mpt3sas_transport_update_links(ioc, sas_address, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11806
while (_scsih_add_device(ioc, handle, retry_count++,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11811
handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11819
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11822
handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11830
handle = le16_to_cpu(pcie_device_pg0.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11842
while (_scsih_pcie_add_device(ioc, handle, retry_count++))
drivers/scsi/mpt3sas/mpt3sas_scsih.c
11846
handle, (u64)le64_to_cpu(pcie_device_pg0.WWID));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1229
__mpt3sas_get_pdev_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
12329
sas_expander->handle, (unsigned long long)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1236
if (pcie_device->handle == handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1240
if (pcie_device->handle == handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
12563
raid_device->handle, (u64)raid_device->wwid);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1263
mpt3sas_get_pdev_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
12678
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1269
pcie_device = __mpt3sas_get_pdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
12744
handle = sas_device->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
12757
if (!mpt3sas_transport_port_add(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
12851
if (!mpt3sas_transport_port_add(ioc, sas_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1322
pcie_device->handle, (u64)pcie_device->wwid);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1361
_scsih_pcie_device_remove_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1372
pcie_device = __mpt3sas_get_pdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1413
pcie_device->handle, (u64)pcie_device->wwid));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1433
clear_bit(pcie_device->handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1441
clear_bit(pcie_device->handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1444
clear_bit(pcie_device->handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1464
pcie_device->handle, (u64)pcie_device->wwid));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1522
mpt3sas_raid_device_find_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1528
if (raid_device->handle != handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1580
raid_device->handle, (u64)raid_device->wwid));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1615
mpt3sas_scsih_expander_find_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1621
if (sas_expander->handle != handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1640
mpt3sas_scsih_enclosure_find_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1646
if (le16_to_cpu(enclosure_dev->pg0.EnclosureHandle) != handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1949
sas_target_priv_data->handle = MPT3SAS_INVALID_DEVICE_HANDLE;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1957
sas_target_priv_data->handle = raid_device->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1974
sas_target_priv_data->handle = pcie_device->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
1997
sas_target_priv_data->handle = sas_device->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2004
if (test_bit(sas_device->handle, ioc->pd_handles))
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2233
u16 handle, struct scsi_device *sdev)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2242
MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2316
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2319
handle = 0;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2327
handle = raid_device->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2332
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2336
MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2377
u16 handle = 0;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2383
handle = raid_device->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2390
MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2487
if ((mpt3sas_config_get_number_pds(ioc, raid_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2506
MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, raid_device->handle, sz))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2584
u16 handle, volume_handle = 0;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2594
handle = sas_target_priv_data->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2600
raid_device = mpt3sas_raid_device_find_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2672
r_level, raid_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2693
if (mpt3sas_config_get_volume_handle(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2726
ds, handle, (unsigned long long)pcie_device->wwid,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2774
sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2790
ds, handle, (unsigned long long)sas_device->sas_address,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2799
_scsih_display_sata_capabilities(ioc, handle, sdev);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2802
retval = _scsih_ata_pass_thru_idd(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2948
mpt3sas_scsih_set_tm_flag(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2960
if (sas_device_priv_data->sas_target->handle == handle) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2976
mpt3sas_scsih_clear_tm_flag(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
2988
if (sas_device_priv_data->sas_target->handle == handle) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3060
scsih_tm_post_processing(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3072
smid_task, type, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3108
mpt3sas_scsih_issue_tm(struct MPT3SAS_ADAPTER *ioc, u16 handle, uint channel,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3161
handle, type, smid_task, timeout, tr_method));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3168
mpi_request->DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3175
mpt3sas_scsih_set_tm_flag(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3225
if (le16_to_cpu(request->DevHandle) != handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3230
handle, timeout, tr_method, smid_task, msix_task);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3237
rc = scsih_tm_post_processing(ioc, handle, channel, id, lun,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3249
mpt3sas_scsih_clear_tm_flag(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3254
int mpt3sas_scsih_issue_locked_tm(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3261
ret = mpt3sas_scsih_issue_tm(ioc, handle, channel, id, lun, type,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3296
device_str, priv_target->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3305
pcie_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3337
sas_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3362
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3404
handle = sas_device_priv_data->sas_target->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3405
pcie_device = mpt3sas_get_pdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3409
r = mpt3sas_scsih_issue_locked_tm(ioc, handle, scmd->device->channel,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3437
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
344
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3461
handle = 0;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3467
handle = sas_device->volume_handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3469
handle = sas_device_priv_data->sas_target->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3471
if (!handle) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3477
pcie_device = mpt3sas_get_pdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3486
r = mpt3sas_scsih_issue_locked_tm(ioc, handle, scmd->device->channel,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3518
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3541
handle = 0;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3547
handle = sas_device->volume_handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3549
handle = sas_device_priv_data->sas_target->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3551
if (!handle) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3557
pcie_device = mpt3sas_get_pdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3565
r = mpt3sas_scsih_issue_locked_tm(ioc, handle, scmd->device->channel,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3867
sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3874
r, sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3892
"handle(0x%04x)\n", sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3904
r, sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3910
r, sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3917
r, sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3956
sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3962
pcie_device = mpt3sas_get_pdev_by_handle(ioc, sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3969
sas_target->handle, 0, (sas_target->flags &
drivers/scsi/mpt3sas/mpt3sas_scsih.c
3988
__func__, sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4016
sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4078
pcie_device = mpt3sas_get_pdev_by_handle(ioc, sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4085
sas_target->handle, 0, (sas_target->flags &
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4096
sas_target->handle, 0, (sas_target->flags &
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4119
__func__, sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4122
sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4128
sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4149
sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4205
__func__, sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4220
_scsih_block_io_device(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4226
sas_device = mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4232
if (sas_device_priv_data->sas_target->handle != handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4241
__func__, sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4281
set_bit(sas_device->handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4319
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4323
handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4324
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4329
_scsih_block_io_device(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4346
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4350
handle =
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4352
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4357
_scsih_block_io_device(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4376
_scsih_tm_tr_send(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4393
__func__, handle));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4400
__func__, handle));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4405
if (test_bit(handle, ioc->pd_handles))
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4408
clear_bit(handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4411
sas_device = __mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4422
pcie_device = __mpt3sas_get_pdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4441
handle, (u64)sas_address));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4466
sas_target_priv_data->handle = MPT3SAS_INVALID_DEVICE_HANDLE;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4475
delayed_tr->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4479
handle));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4485
handle, smid, ioc->tm_tr_cb_idx));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4489
mpi_request->DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4492
set_bit(handle, ioc->device_remove_in_progress);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4523
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4551
handle = le16_to_cpu(mpi_request_tm->DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4552
if (handle != le16_to_cpu(mpi_reply->DevHandle)) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4555
handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4563
handle, smid, le16_to_cpu(mpi_reply->IOCStatus),
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4573
delayed_sc->handle = le16_to_cpu(mpi_request_tm->DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4577
handle));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4583
handle, smid_sas_ctrl, ioc->tm_sas_control_cb_idx));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4680
_scsih_tm_tr_volume_send(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4699
delayed_tr->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4703
handle));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4709
handle, smid, ioc->tm_tr_volume_cb_idx));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4713
mpi_request->DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4733
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4751
handle = le16_to_cpu(mpi_request_tm->DevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4752
if (handle != le16_to_cpu(mpi_reply->DevHandle)) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4755
handle, le16_to_cpu(mpi_reply->DevHandle),
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4762
handle, smid, le16_to_cpu(mpi_reply->IOCStatus),
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4818
u16 smid, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4854
handle, smid, ioc->tm_sas_control_cb_idx));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4859
mpi_request->DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4896
delayed_sc->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4924
_scsih_tm_tr_volume_send(ioc, delayed_tr->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4934
_scsih_tm_tr_send(ioc, delayed_tr->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4964
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4967
handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4968
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4973
_scsih_tm_tr_send(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4990
handle = find_first_bit(ioc->blocking_handles,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4992
if (handle < ioc->facts.MaxDevHandle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4993
_scsih_block_io_device(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
4994
} while (test_and_clear_bit(handle, ioc->blocking_handles));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5043
u16 handle, switch_handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5046
handle =
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5048
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5052
_scsih_tm_tr_send(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5104
_scsih_set_volume_delete_flag(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5111
raid_device = mpt3sas_raid_device_find_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5119
handle, (u64)raid_device->wwid));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5135
_scsih_set_volume_handle_for_tr(u16 handle, u16 *a, u16 *b)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5137
if (!handle || handle == *a || handle == *b)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5140
*a = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5142
*b = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5163
u16 handle, volume_handle, a, b;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5210
handle = le16_to_cpu(element->PhysDiskDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5212
clear_bit(handle, ioc->pd_handles);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5214
_scsih_tm_tr_send(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5219
delayed_tr->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5223
handle));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5225
_scsih_tm_tr_send(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5436
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5457
handle = sas_target_priv_data->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5462
if (handle == MPT3SAS_INVALID_DEVICE_HANDLE || sas_device_priv_data->block) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5471
if (handle == MPT3SAS_INVALID_DEVICE_HANDLE) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5543
mpi_request->DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5575
ioc->put_smid_fast_path(ioc, smid, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
572
_scsih_get_sas_address(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
582
MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5827
_scsih_turn_on_pfa_led(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5833
sas_device = mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5842
mpi_request.DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5907
_scsih_send_event_to_turn_on_pfa_led(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5915
fw_event->device_handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5928
_scsih_smart_predicted_fault(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
593
if ((handle <= ioc->sas_hba.num_phys) &&
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5940
sas_device = __mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5956
_scsih_send_event_to_turn_on_pfa_led(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
5978
event_data->DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
6054
cpu_to_le16(sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
6056
sas_device_priv_data->sas_target->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
608
handle, ioc_status, __FILE__, __LINE__, __func__);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
6906
ioc->sas_hba.handle = le16_to_cpu(
drivers/scsi/mpt3sas/mpt3sas_scsih.c
6971
ioc->sas_hba.phy[i].handle = ioc->sas_hba.handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7111
ioc->sas_hba.handle = le16_to_cpu(sas_iounit_pg0->
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7143
ioc->sas_hba.phy[i].handle = ioc->sas_hba.handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7151
MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, ioc->sas_hba.handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7160
ioc->sas_hba.handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7187
_scsih_expander_add(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7204
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7211
MPI2_SAS_EXPAND_PGAD_FORM_HNDL, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7264
sas_expander->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7277
handle, parent_handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7294
mpt3sas_port = mpt3sas_transport_port_add(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
73
static int _scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7307
&expander_pg1, i, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7313
sas_expander->phy[i].handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7436
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7450
handle = transfer_packet->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7451
if (handle == MPT3SAS_INVALID_DEVICE_HANDLE) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7465
if (test_bit(handle, ioc->device_remove_in_progress)) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7488
mpi_request->DevHandle = cpu_to_le16(handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
75
static int _scsih_pcie_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7532
ioc->put_smid_scsi_io(ioc, smid, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7565
pr_info("issue target reset: handle (0x%04x)\n", handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7567
mpt3sas_scsih_issue_locked_tm(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7573
pr_info("target reset completed: handle (0x%04x)\n", handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7583
pr_info("issue retry: handle (0x%04x)\n", handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7587
pr_info("target reset didn't complete: handle(0x%04x)\n", handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7770
_scsih_report_luns(struct MPT3SAS_ADAPTER *ioc, u16 handle, void *data,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7800
"retries(%d)\n", handle, retries);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7802
transfer_packet->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7860
_scsih_start_unit(struct MPT3SAS_ADAPTER *ioc, u16 handle, u32 lun, u8 is_pd,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7876
transfer_packet->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7886
pr_info("START_UNIT: handle(0x%04x), lun(%d)\n", handle, lun);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7920
_scsih_test_unit_ready(struct MPT3SAS_ADAPTER *ioc, u16 handle, u32 lun,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7937
transfer_packet->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7946
pr_info("TEST_UNIT_READY: handle(0x%04x) lun(%d)\n", handle, lun);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
7990
_scsih_ata_pass_thru_idd(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
80
_scsih_pcie_check_device(struct MPT3SAS_ADAPTER *ioc, u16 handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8018
transfer_packet->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8075
_scsih_wait_for_device_to_become_ready(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8086
rc = _scsih_test_unit_ready(ioc, handle, lun, is_pd, tr_timeout, tr_method);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8090
rc = _scsih_start_unit(ioc, handle, lun, is_pd, tr_timeout, tr_method);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8093
rc = _scsih_test_unit_ready(ioc, handle, lun, is_pd, tr_timeout, tr_method);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8121
_scsih_wait_for_target_to_become_ready(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8138
rc = _scsih_report_luns(ioc, handle, lun_data,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8154
rc = _scsih_wait_for_device_to_become_ready(ioc, handle, retry_count,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8162
rc = _scsih_wait_for_device_to_become_ready(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8186
u16 handle, u8 access_status)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8234
desc, (u64)sas_address, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8248
u64 parent_sas_address, u16 handle, u8 phy_number, u8 link_rate)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8263
MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, handle)))
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8292
if (unlikely(sas_device->handle != handle)) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8297
sas_device->handle, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8298
sas_target_priv_data->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8299
sas_device->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8333
handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8338
if (_scsih_check_access_status(ioc, sas_address, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8371
_scsih_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 retry_count,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8386
MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
84
_scsih_wait_for_target_to_become_ready(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8404
set_bit(handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8411
handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8416
if (_scsih_check_access_status(ioc, sas_address, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8424
clear_bit(handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8445
"sas_address(0x%016llx), phy(%d)\n", handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8447
rc = _scsih_wait_for_target_to_become_ready(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8488
sas_device->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8540
handle, sas_device->sas_address, sas_device->port_type);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8572
sas_device->handle, (u64)sas_device->sas_address));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8582
sas_target_priv_data->handle =
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8593
sas_device->handle, (u64)sas_device->sas_address);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8600
sas_device->handle, (u64)sas_device->sas_address));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8616
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8647
handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8648
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8677
handle, status_str, link_rate, prev_link_rate);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8696
u16 parent_handle, handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
87
_scsih_ata_pass_thru_idd(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 *is_ssd_device,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8781
handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8782
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8796
handle, phy_number, link_rate, port);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8801
_scsih_check_device(ioc, sas_address, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8812
handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
882
__mpt3sas_get_sdev_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8821
if (!test_bit(handle, ioc->pend_os_device_add))
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8825
"event to a device add\n", handle));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8838
handle, phy_number, link_rate, port);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8843
rc = _scsih_add_device(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8856
_scsih_device_remove_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
889
if (sas_device->handle == handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
893
if (sas_device->handle == handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
8985
target_priv_data->handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
90
_scsih_wait_for_device_to_become_ready(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9006
u16 handle, u8 access_status)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9024
desc, (u64)wwid, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9071
access_status, (u64)wwid, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9079
desc, (u64)wwid, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9098
pcie_device->handle, (u64)pcie_device->wwid));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9116
sas_target_priv_data->handle = MPT3SAS_INVALID_DEVICE_HANDLE;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9120
pcie_device->handle, (u64)pcie_device->wwid);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
913
mpt3sas_get_sdev_by_handle(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9136
pcie_device->handle, (u64)pcie_device->wwid));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9160
_scsih_pcie_check_device(struct MPT3SAS_ADAPTER *ioc, u16 handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9173
&pcie_device_pg0, MPI26_PCIE_DEVICE_PGAD_FORM_HANDLE, handle)))
drivers/scsi/mpt3sas/mpt3sas_scsih.c
919
sas_device = __mpt3sas_get_sdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9194
if (unlikely(pcie_device->handle != handle)) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9200
pcie_device->handle, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9201
sas_target_priv_data->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9202
pcie_device->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9220
handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9227
if (_scsih_check_pcie_access_status(ioc, wwid, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9256
_scsih_pcie_add_device(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 retry_count)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9271
&pcie_device_pg0, MPI26_PCIE_DEVICE_PGAD_FORM_HANDLE, handle))) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9284
set_bit(handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9291
handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9296
if (_scsih_check_pcie_access_status(ioc, wwid, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9306
clear_bit(handle, ioc->pend_os_device_add);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9319
handle)) {
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9352
"wwid(0x%016llx), port(%d)\n", handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9355
rc = _scsih_wait_for_target_to_become_ready(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9393
pcie_device->handle = handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9469
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9500
handle =
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9502
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9532
handle, status_str, link_rate, prev_link_rate);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9549
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9581
handle =
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9583
if (!handle)
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9600
_scsih_pcie_check_device(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9609
pcie_device = __mpt3sas_get_pdev_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9617
if (!test_bit(handle, ioc->pend_os_device_add))
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9622
handle));
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9633
rc = _scsih_pcie_add_device(ioc, handle, fw_event->retries[i]);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9648
_scsih_pcie_device_remove_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9880
u16 smid, handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9940
handle = sas_device_priv_data->sas_target->handle;
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9948
r = mpt3sas_scsih_issue_tm(ioc, handle, 0, 0, lun,
drivers/scsi/mpt3sas/mpt3sas_scsih.c
9989
r = mpt3sas_scsih_issue_tm(ioc, handle, sdev->channel, sdev->id,
drivers/scsi/mpt3sas/mpt3sas_transport.c
1032
if ((_transport_set_identify(ioc, mpt3sas_phy->handle,
drivers/scsi/mpt3sas/mpt3sas_transport.c
1067
mpt3sas_phy->handle, (unsigned long long)
drivers/scsi/mpt3sas/mpt3sas_transport.c
1101
if ((_transport_set_identify(ioc, mpt3sas_phy->handle,
drivers/scsi/mpt3sas/mpt3sas_transport.c
1138
mpt3sas_phy->handle, (unsigned long long)
drivers/scsi/mpt3sas/mpt3sas_transport.c
1160
u64 sas_address, u16 handle, u8 phy_number, u8 link_rate,
drivers/scsi/mpt3sas/mpt3sas_transport.c
1180
mpt3sas_phy->attached_handle = handle;
drivers/scsi/mpt3sas/mpt3sas_transport.c
1182
if (handle && (link_rate >= MPI2_SAS_NEG_LINK_RATE_1_5)) {
drivers/scsi/mpt3sas/mpt3sas_transport.c
1183
_transport_set_identify(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_transport.c
1185
if ((sas_node->handle <= ioc->sas_hba.num_phys) &&
drivers/scsi/mpt3sas/mpt3sas_transport.c
1212
link_rate, phy_number, handle, (unsigned long long)
drivers/scsi/mpt3sas/mpt3sas_transport.c
205
_transport_set_identify(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_transport.c
219
MPI2_SAS_DEVICE_PGAD_FORM_HANDLE, handle))) {
drivers/scsi/mpt3sas/mpt3sas_transport.c
229
handle, ioc_status, __FILE__, __LINE__, __func__);
drivers/scsi/mpt3sas/mpt3sas_transport.c
682
mpt3sas_transport_port_add(struct MPT3SAS_ADAPTER *ioc, u16 handle,
drivers/scsi/mpt3sas/mpt3sas_transport.c
721
if ((_transport_set_identify(ioc, handle,
drivers/scsi/mpt3sas/mpt3sas_transport.c
747
if (sas_node->handle <= ioc->sas_hba.num_phys) {
drivers/scsi/mpt3sas/mpt3sas_transport.c
797
handle, (unsigned long long)
drivers/scsi/mpt3sas/mpt3sas_transport.c
809
if (sas_node->handle <= ioc->sas_hba.num_phys) {
drivers/scsi/mpt3sas/mpt3sas_transport.c
820
if (sas_node->handle <= ioc->sas_hba.num_phys)
drivers/scsi/mpt3sas/mpt3sas_transport.c
847
"add: handle(0x%04x), sas_addr(0x%016llx)\n", handle,
drivers/scsi/mpt3sas/mpt3sas_transport.c
926
if (sas_node->handle <= ioc->sas_hba.num_phys &&
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
102
handle = le16_to_cpu(vol_pg1.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
138
if ((mpt3sas_config_get_number_pds(ioc, raid_device->handle,
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
152
MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, raid_device->handle, sz))) {
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
164
raid_device->handle, num_pds, MPT_MAX_WARPDRIVE_PDS);
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
175
raid_device->handle,
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
183
raid_device->handle,
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
198
raid_device->handle, raid_device->volume_type,
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
209
raid_device->handle,
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
219
raid_device->handle, le16_to_cpu(vol_pg0->BlockSize));
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
226
raid_device->handle);
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
59
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
63
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
65
&vol_pg1, MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE, handle))) {
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
70
handle = le16_to_cpu(vol_pg1.DevHandle);
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
72
raid_device = mpt3sas_raid_device_find_by_handle(ioc, handle);
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
90
u16 handle;
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
94
handle = 0xFFFF;
drivers/scsi/mpt3sas/mpt3sas_warpdrive.c
96
&vol_pg1, MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE, handle))) {
drivers/scsi/qedf/qedf.h
216
u32 handle; /* Handle from qed */
drivers/scsi/qedf/qedf_main.c
1328
rval = qed_ops->acquire_conn(qedf->cdev, &fcport->handle,
drivers/scsi/qedf/qedf_main.c
1339
fcport->fw_cid, fcport->handle);
drivers/scsi/qedf/qedf_main.c
1397
rval = qed_ops->offload_conn(qedf->cdev, fcport->handle, &conn_info);
drivers/scsi/qedf/qedf_main.c
1411
qed_ops->release_conn(qedf->cdev, fcport->handle);
drivers/scsi/qedf/qedf_main.c
1435
qed_ops->destroy_conn(qedf->cdev, fcport->handle, term_params_dma);
drivers/scsi/qedf/qedf_main.c
1436
qed_ops->release_conn(qedf->cdev, fcport->handle);
drivers/scsi/qedi/qedi_fw.c
1273
qedi_ops->clear_sq(qedi->cdev, qedi_ep->handle);
drivers/scsi/qedi/qedi_iscsi.c
1022
tmp = qedi_ops->release_conn(qedi->cdev, qedi_ep->handle);
drivers/scsi/qedi/qedi_iscsi.c
1176
ret = qedi_ops->destroy_conn(qedi->cdev, qedi_ep->handle, abrt_conn);
drivers/scsi/qedi/qedi_iscsi.c
1194
ret = qedi_ops->release_conn(qedi->cdev, qedi_ep->handle);
drivers/scsi/qedi/qedi_iscsi.c
1291
if (path_data->handle == QEDI_PATH_HANDLE) {
drivers/scsi/qedi/qedi_iscsi.c
1296
iscsi_cid = (u32)path_data->handle;
drivers/scsi/qedi/qedi_iscsi.c
472
rval = qedi_ops->update_conn(qedi->cdev, qedi_ep->handle,
drivers/scsi/qedi/qedi_iscsi.c
602
rval = qedi_ops->offload_conn(qedi->cdev, qedi_ep->handle, conn_info);
drivers/scsi/qedi/qedi_iscsi.c
973
ret = qedi_ops->acquire_conn(qedi->cdev, &qedi_ep->handle,
drivers/scsi/qedi/qedi_iscsi.c
982
iscsi_cid = qedi_ep->handle;
drivers/scsi/qedi/qedi_iscsi.c
995
path_req.handle = (u64)qedi_ep->iscsi_cid;
drivers/scsi/qedi/qedi_iscsi.h
80
u32 handle;
drivers/scsi/qla1280.c
2634
qla1280_abort_command(struct scsi_qla_host *ha, struct srb * sp, int handle)
drivers/scsi/qla1280.c
2650
mb[2] = handle >> 16;
drivers/scsi/qla1280.c
2651
mb[3] = handle & 0xffff;
drivers/scsi/qla1280.c
2817
pkt->handle = cpu_to_le32(cnt);
drivers/scsi/qla1280.c
3072
pkt->handle = cpu_to_le32(cnt);
drivers/scsi/qla1280.c
3528
ha->outstanding_cmds[pkt->handle]->cmd,
drivers/scsi/qla1280.c
3529
pkt->handle);
drivers/scsi/qla1280.c
3600
uint32_t handle = le32_to_cpu(pkt->handle);
drivers/scsi/qla1280.c
3607
if (handle < MAX_OUTSTANDING_COMMANDS)
drivers/scsi/qla1280.c
3608
sp = ha->outstanding_cmds[handle];
drivers/scsi/qla1280.c
3618
ha->outstanding_cmds[handle] = NULL;
drivers/scsi/qla1280.c
3625
scsi_status, handle);
drivers/scsi/qla1280.c
3691
uint32_t handle = le32_to_cpu(pkt->handle);
drivers/scsi/qla1280.c
3705
if (handle < MAX_OUTSTANDING_COMMANDS)
drivers/scsi/qla1280.c
3706
sp = ha->outstanding_cmds[handle];
drivers/scsi/qla1280.c
3712
ha->outstanding_cmds[handle] = NULL;
drivers/scsi/qla1280.h
512
__le32 handle; /* System handle. */
drivers/scsi/qla1280.h
570
__le32 handle; /* System handle. */
drivers/scsi/qla1280.h
619
uint32_t handle; /* System handle. */
drivers/scsi/qla1280.h
639
__le32 handle; /* System handle. */
drivers/scsi/qla2xxx/qla_bsg.c
3135
bsg_job, sp, sp->handle);
drivers/scsi/qla2xxx/qla_bsg.c
3140
bsg_job, sp, sp->handle, rval);
drivers/scsi/qla2xxx/qla_bsg.c
3152
bsg_job, sp, sp->handle);
drivers/scsi/qla2xxx/qla_bsg.c
3159
bsg_job, sp, sp->handle);
drivers/scsi/qla2xxx/qla_bsg.c
33
__func__, sp->handle, res, bsg_job);
drivers/scsi/qla2xxx/qla_def.h
1985
uint32_t handle; /* System defined handle */
drivers/scsi/qla2xxx/qla_def.h
2028
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_def.h
2057
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_def.h
2117
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_def.h
2177
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_def.h
2287
uint32_t handle[15]; /* System handles. */
drivers/scsi/qla2xxx/qla_def.h
2300
uint16_t handle[30]; /* System handles. */
drivers/scsi/qla2xxx/qla_def.h
2377
uint32_t handle;
drivers/scsi/qla2xxx/qla_def.h
2511
uint32_t handle;
drivers/scsi/qla2xxx/qla_def.h
3545
void *handle;
drivers/scsi/qla2xxx/qla_def.h
5365
uint16_t handle; /* nport_handle */
drivers/scsi/qla2xxx/qla_def.h
5391
uint16_t handle;
drivers/scsi/qla2xxx/qla_def.h
738
uint32_t handle;
drivers/scsi/qla2xxx/qla_edif.c
107
__func__, edif_entry->handle, fcport->port_name, fcport->d_id.b24);
drivers/scsi/qla2xxx/qla_edif.c
126
nport_handle = edif_entry->handle;
drivers/scsi/qla2xxx/qla_edif.c
158
uint16_t sa_index, uint16_t handle)
drivers/scsi/qla2xxx/qla_edif.c
164
entry = qla_edif_list_find_sa_index(fcport, handle);
drivers/scsi/qla2xxx/qla_edif.c
1684
__func__, edif_entry->handle, edif_entry->delete_sa_index);
drivers/scsi/qla2xxx/qla_edif.c
182
entry->handle = handle;
drivers/scsi/qla2xxx/qla_edif.c
1821
__func__, sp->name, sp->handle, fcport->d_id.b24);
drivers/scsi/qla2xxx/qla_edif.c
2457
sa_update_iocb->handle = sp->handle;
drivers/scsi/qla2xxx/qla_edif.c
2487
sa_update_iocb->sa_control, sa_update_iocb->spi, sa_frame->flags, sp->handle,
drivers/scsi/qla2xxx/qla_edif.c
2510
sa_update_iocb->handle = sp->handle;
drivers/scsi/qla2xxx/qla_edif.c
2530
sa_update_iocb->sa_index, sp->handle);
drivers/scsi/qla2xxx/qla_edif.c
2716
if (entry->handle == nport_handle)
drivers/scsi/qla2xxx/qla_edif.c
2833
nport_handle, pkt->sa_index, pkt->flags, sp->handle);
drivers/scsi/qla2xxx/qla_edif.c
2976
uint32_t handle;
drivers/scsi/qla2xxx/qla_edif.c
3013
handle = req->current_outstanding_cmd;
drivers/scsi/qla2xxx/qla_edif.c
3015
handle++;
drivers/scsi/qla2xxx/qla_edif.c
3016
if (handle == req->num_outstanding_cmds)
drivers/scsi/qla2xxx/qla_edif.c
3017
handle = 1;
drivers/scsi/qla2xxx/qla_edif.c
3018
if (!req->outstanding_cmds[handle])
drivers/scsi/qla2xxx/qla_edif.c
3085
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_edif.c
3189
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_edif.c
3190
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_edif.c
3191
sp->handle = handle;
drivers/scsi/qla2xxx/qla_edif.c
3192
cmd->host_scribble = (unsigned char *)(unsigned long)handle;
drivers/scsi/qla2xxx/qla_edif.c
3293
entry->handle = nport_handle;
drivers/scsi/qla2xxx/qla_edif.c
3320
__func__, slot, entry->handle, sa_frame->spi,
drivers/scsi/qla2xxx/qla_edif.c
3332
__func__, entry->handle, sa_frame->spi);
drivers/scsi/qla2xxx/qla_edif.c
3355
__func__, free_slot, entry->handle, sa_frame->spi, sa_index);
drivers/scsi/qla2xxx/qla_edif.c
3414
fc_port_t *fcport, uint32_t handle, uint16_t sa_index)
drivers/scsi/qla2xxx/qla_edif.c
3455
cached_nport_handle = edif_entry->handle;
drivers/scsi/qla2xxx/qla_edif.c
3474
edif_entry->update_sa_index, nport_handle, handle);
drivers/scsi/qla2xxx/qla_edif.c
3493
uint32_t handle;
drivers/scsi/qla2xxx/qla_edif.c
3495
handle = (uint32_t)LSW(sts24->handle);
drivers/scsi/qla2xxx/qla_edif.c
3501
return __chk_edif_rx_sa_delete_pending(vha, fcport, handle,
drivers/scsi/qla2xxx/qla_edif.c
3509
pkt->handle, le16_to_cpu(pkt->edif_sa_index));
drivers/scsi/qla2xxx/qla_edif.c
3650
sp->handle, sp->remap.req.len, bsg_job);
drivers/scsi/qla2xxx/qla_edif.c
374
if (fcport->loop_id != entry->handle) {
drivers/scsi/qla2xxx/qla_edif.c
377
__func__, i, entry->handle, fcport->loop_id,
drivers/scsi/qla2xxx/qla_edif.c
397
__func__, entry->sa_pair[i].sa_index, entry->handle);
drivers/scsi/qla2xxx/qla_edif.c
407
qla_edif_list_find_sa_index(fcport, entry->handle);
drivers/scsi/qla2xxx/qla_edif.c
81
uint16_t handle)
drivers/scsi/qla2xxx/qla_edif.c
88
if (entry->handle == handle)
drivers/scsi/qla2xxx/qla_edif.h
65
uint32_t handle; /* IOCB System handle. */
drivers/scsi/qla2xxx/qla_fw.h
1038
__le32 handle; /* type 0x55 only */
drivers/scsi/qla2xxx/qla_fw.h
1419
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
1455
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
1581
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
1762
uint32_t handle;
drivers/scsi/qla2xxx/qla_fw.h
1794
uint32_t handle;
drivers/scsi/qla2xxx/qla_fw.h
1821
uint32_t handle;
drivers/scsi/qla2xxx/qla_fw.h
1851
uint32_t handle;
drivers/scsi/qla2xxx/qla_fw.h
444
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
481
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
522
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
569
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
608
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
677
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
706
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
784
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
841
__le32 handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
879
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
892
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
957
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_fw.h
992
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_gs.c
2846
sp->name, fcport->port_name, sp->handle,
drivers/scsi/qla2xxx/qla_gs.c
3028
sp->name, sp->handle, fcport->d_id.b24);
drivers/scsi/qla2xxx/qla_gs.c
3690
sp->u.iocb_cmd.u.ctarg.req_size, sp->handle, sp->name,
drivers/scsi/qla2xxx/qla_gs.c
3857
sp->handle, fcport->loop_id, fcport->d_id.b24);
drivers/scsi/qla2xxx/qla_gs.c
645
sp->name, sp->handle, d_id->b24);
drivers/scsi/qla2xxx/qla_gs.c
739
sp->name, sp->handle, d_id->b24, fc4feature, fc4type);
drivers/scsi/qla2xxx/qla_gs.c
830
sp->name, sp->handle, d_id->b24);
drivers/scsi/qla2xxx/qla_gs.c
943
sp->name, sp->handle);
drivers/scsi/qla2xxx/qla_init.c
111
u32 handle;
drivers/scsi/qla2xxx/qla_init.c
118
sp->cmd_sp->handle, sp->cmd_sp->type,
drivers/scsi/qla2xxx/qla_init.c
1187
sp->name, fcport->port_name, sp->handle);
drivers/scsi/qla2xxx/qla_init.c
119
sp->handle, sp->type);
drivers/scsi/qla2xxx/qla_init.c
123
sp->handle, sp->type);
drivers/scsi/qla2xxx/qla_init.c
126
for (handle = 1; handle < qpair->req->num_outstanding_cmds; handle++) {
drivers/scsi/qla2xxx/qla_init.c
127
if (sp->cmd_sp && (qpair->req->outstanding_cmds[handle] ==
drivers/scsi/qla2xxx/qla_init.c
129
qpair->req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_init.c
1339
fcport->port_name, sp->handle, fcport->loop_id, fcport->d_id.b24,
drivers/scsi/qla2xxx/qla_init.c
135
if (qpair->req->outstanding_cmds[handle] == sp) {
drivers/scsi/qla2xxx/qla_init.c
136
qpair->req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_init.c
1435
sp->name, fcport->port_name, sp->handle, opt);
drivers/scsi/qla2xxx/qla_init.c
200
abt_iocb->u.abt.cmd_hndl = cmd_sp->handle;
drivers/scsi/qla2xxx/qla_init.c
204
"Abort command issued - hdl=%x, type=%x\n", cmd_sp->handle,
drivers/scsi/qla2xxx/qla_init.c
2041
sp->handle, sp->fcport->d_id.b24, sp->u.iocb_cmd.u.tmf.flags,
drivers/scsi/qla2xxx/qla_init.c
2112
sp->handle, fcport->loop_id, fcport->d_id.b24,
drivers/scsi/qla2xxx/qla_init.c
2127
sp->handle, fcport->loop_id, fcport->d_id.b24,
drivers/scsi/qla2xxx/qla_init.c
2201
sp->handle, fcport->loop_id, fcport->d_id.b24,
drivers/scsi/qla2xxx/qla_init.c
2345
uint32_t handle;
drivers/scsi/qla2xxx/qla_init.c
2352
for (handle = 1; handle < req->num_outstanding_cmds; handle++) {
drivers/scsi/qla2xxx/qla_init.c
2353
if (req->outstanding_cmds[handle] == sp)
drivers/scsi/qla2xxx/qla_init.c
2358
if (handle == req->num_outstanding_cmds) {
drivers/scsi/qla2xxx/qla_init.c
237
sp->name, sp->handle, fcport->d_id.b24, fcport->port_name);
drivers/scsi/qla2xxx/qla_init.c
242
sp->name, sp->handle);
drivers/scsi/qla2xxx/qla_init.c
375
fcport->port_name, sp->handle, fcport->loop_id,
drivers/scsi/qla2xxx/qla_init.c
430
sp->handle, fcport->loop_id, fcport->d_id.b.domain,
drivers/scsi/qla2xxx/qla_init.c
490
sp->handle, fcport->loop_id, fcport->d_id.b.domain,
drivers/scsi/qla2xxx/qla_init.c
638
sp->handle, fcport->loop_id, fcport->d_id.b24, fcport->port_name);
drivers/scsi/qla2xxx/qla_iocb.c
1399
crc_ctx_pkt->handle = cmd_pkt->handle;
drivers/scsi/qla2xxx/qla_iocb.c
1544
uint32_t handle;
drivers/scsi/qla2xxx/qla_iocb.c
1576
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_iocb.c
1577
if (handle == 0)
drivers/scsi/qla2xxx/qla_iocb.c
1617
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_iocb.c
1618
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_iocb.c
1619
sp->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
1620
cmd->host_scribble = (unsigned char *)(unsigned long)handle;
drivers/scsi/qla2xxx/qla_iocb.c
1624
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_iocb.c
1700
uint32_t handle;
drivers/scsi/qla2xxx/qla_iocb.c
1742
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_iocb.c
1743
if (handle == 0)
drivers/scsi/qla2xxx/qla_iocb.c
1825
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_iocb.c
1826
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_iocb.c
1827
sp->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
1828
cmd->host_scribble = (unsigned char *)(unsigned long)handle;
drivers/scsi/qla2xxx/qla_iocb.c
1833
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_iocb.c
1885
req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_iocb.c
1908
uint32_t handle;
drivers/scsi/qla2xxx/qla_iocb.c
1943
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_iocb.c
1944
if (handle == 0)
drivers/scsi/qla2xxx/qla_iocb.c
1984
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_iocb.c
1985
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_iocb.c
1986
sp->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
1987
cmd->host_scribble = (unsigned char *)(unsigned long)handle;
drivers/scsi/qla2xxx/qla_iocb.c
1991
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_iocb.c
2068
uint32_t handle;
drivers/scsi/qla2xxx/qla_iocb.c
2124
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_iocb.c
2125
if (handle == 0)
drivers/scsi/qla2xxx/qla_iocb.c
2208
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_iocb.c
2209
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_iocb.c
2210
sp->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
2211
cmd->host_scribble = (unsigned char *)(unsigned long)handle;
drivers/scsi/qla2xxx/qla_iocb.c
2216
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_iocb.c
2266
req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_iocb.c
2288
uint32_t handle;
drivers/scsi/qla2xxx/qla_iocb.c
2294
handle = 0;
drivers/scsi/qla2xxx/qla_iocb.c
2333
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_iocb.c
2334
if (handle == 0) {
drivers/scsi/qla2xxx/qla_iocb.c
2341
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_iocb.c
2342
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_iocb.c
2343
sp->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
2352
wrt_reg_dword((__le32 __force __iomem *)&pkt->handle, handle);
drivers/scsi/qla2xxx/qla_iocb.c
2355
pkt->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
2555
tsk->handle = make_handle(req->id, tsk->handle);
drivers/scsi/qla2xxx/qla_iocb.c
2664
sp->name, sp->handle, fcport->d_id.b.domain, fcport->d_id.b.area,
drivers/scsi/qla2xxx/qla_iocb.c
2695
sp->name, sp->handle, fcport->d_id.b.domain,
drivers/scsi/qla2xxx/qla_iocb.c
2783
sp->name, sp->handle, fcport->loop_id, fcport->d_id.b.domain,
drivers/scsi/qla2xxx/qla_iocb.c
2803
els_iocb->handle = sp->handle;
drivers/scsi/qla2xxx/qla_iocb.c
2870
sp->name, sp->handle, fcport->port_name, fcport->d_id.b24);
drivers/scsi/qla2xxx/qla_iocb.c
2919
sp->name, res, sp->handle, fcport->d_id.b24, fcport->port_name);
drivers/scsi/qla2xxx/qla_iocb.c
304
uint32_t index, handle = req->current_outstanding_cmd;
drivers/scsi/qla2xxx/qla_iocb.c
307
handle++;
drivers/scsi/qla2xxx/qla_iocb.c
308
if (handle == req->num_outstanding_cmds)
drivers/scsi/qla2xxx/qla_iocb.c
309
handle = 1;
drivers/scsi/qla2xxx/qla_iocb.c
310
if (!req->outstanding_cmds[handle])
drivers/scsi/qla2xxx/qla_iocb.c
311
return handle;
drivers/scsi/qla2xxx/qla_iocb.c
3123
sp->name, sp->handle, fcport->loop_id,
drivers/scsi/qla2xxx/qla_iocb.c
3148
els_iocb->handle = QLA_SKIP_HANDLE;
drivers/scsi/qla2xxx/qla_iocb.c
3186
els_iocb->handle = sp->handle;
drivers/scsi/qla2xxx/qla_iocb.c
3235
ct_iocb->handle1 = sp->handle;
drivers/scsi/qla2xxx/qla_iocb.c
3303
ct_iocb->handle = sp->handle;
drivers/scsi/qla2xxx/qla_iocb.c
331
uint32_t handle;
drivers/scsi/qla2xxx/qla_iocb.c
3375
uint32_t handle;
drivers/scsi/qla2xxx/qla_iocb.c
3415
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_iocb.c
3416
if (handle == 0)
drivers/scsi/qla2xxx/qla_iocb.c
3520
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_iocb.c
3591
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_iocb.c
363
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_iocb.c
3632
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_iocb.c
3633
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_iocb.c
3634
sp->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
3635
cmd->host_scribble = (unsigned char *)(unsigned long)handle;
drivers/scsi/qla2xxx/qla_iocb.c
364
if (handle == 0)
drivers/scsi/qla2xxx/qla_iocb.c
3697
abt_iocb->handle = make_handle(req->id, sp->handle);
drivers/scsi/qla2xxx/qla_iocb.c
3724
mbx->handle = sp->handle;
drivers/scsi/qla2xxx/qla_iocb.c
3736
ct_pkt->handle = sp->handle;
drivers/scsi/qla2xxx/qla_iocb.c
3748
nack->u.isp24.handle = sp->handle;
drivers/scsi/qla2xxx/qla_iocb.c
3771
sp->name, sp->handle, sp->fcport->loop_id,
drivers/scsi/qla2xxx/qla_iocb.c
3818
vce->handle = sp->handle;
drivers/scsi/qla2xxx/qla_iocb.c
3910
mrk->handle = make_handle(sp->qpair->req->id, sp->handle);
drivers/scsi/qla2xxx/qla_iocb.c
393
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_iocb.c
394
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_iocb.c
395
sp->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
396
cmd->host_scribble = (unsigned char *)(unsigned long)handle;
drivers/scsi/qla2xxx/qla_iocb.c
3967
((struct els_entry_24xx *)pkt)->handle = sp->handle;
drivers/scsi/qla2xxx/qla_iocb.c
400
cmd_pkt->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
4141
uint32_t handle;
drivers/scsi/qla2xxx/qla_iocb.c
4166
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_iocb.c
4167
if (handle == 0) {
drivers/scsi/qla2xxx/qla_iocb.c
4197
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_iocb.c
4213
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_iocb.c
4214
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_iocb.c
4215
sp->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
4239
uint32_t handle;
drivers/scsi/qla2xxx/qla_iocb.c
4276
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_iocb.c
4277
if (handle == 0)
drivers/scsi/qla2xxx/qla_iocb.c
4391
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_iocb.c
4392
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_iocb.c
4393
sp->handle = handle;
drivers/scsi/qla2xxx/qla_iocb.c
4394
cmd->host_scribble = (unsigned char *)(unsigned long)handle;
drivers/scsi/qla2xxx/qla_iocb.c
4398
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_iocb.c
543
mrk24->handle = QLA_SKIP_HANDLE;
drivers/scsi/qla2xxx/qla_isr.c
2047
if (pkt->handle == QLA_SKIP_HANDLE)
drivers/scsi/qla2xxx/qla_isr.c
2050
index = LSW(pkt->handle);
drivers/scsi/qla2xxx/qla_isr.c
2068
if (sp->handle != index) {
drivers/scsi/qla2xxx/qla_isr.c
2071
sp->handle, index);
drivers/scsi/qla2xxx/qla_isr.c
2122
"status-flags=%x.\n", type, sp->handle,
drivers/scsi/qla2xxx/qla_isr.c
2141
type, sp->handle, fcport->d_id.b.domain,
drivers/scsi/qla2xxx/qla_isr.c
2170
"mb0=%x mb1=%x mb2=%x mb6=%x mb7=%x.\n", type, sp->handle,
drivers/scsi/qla2xxx/qla_isr.c
2442
type, sp->handle, comp_status);
drivers/scsi/qla2xxx/qla_isr.c
2461
type, sp->handle, comp_status);
drivers/scsi/qla2xxx/qla_isr.c
2491
type, sp->handle, comp_status, fw_status[1], fw_status[2],
drivers/scsi/qla2xxx/qla_isr.c
2497
type, sp->handle, comp_status,
drivers/scsi/qla2xxx/qla_isr.c
2547
type, fcport->port_name, sp->handle, fcport->d_id.b.domain,
drivers/scsi/qla2xxx/qla_isr.c
2559
type, sp->handle, fcport->d_id.b24, fcport->port_name,
drivers/scsi/qla2xxx/qla_isr.c
2647
type, sp->handle, fcport->d_id.b24, fcport->port_name,
drivers/scsi/qla2xxx/qla_isr.c
2654
type, sp->handle, fcport->d_id.b24, fcport->port_name,
drivers/scsi/qla2xxx/qla_isr.c
2687
type, sp->handle, sts->entry_status);
drivers/scsi/qla2xxx/qla_isr.c
2692
type, sp->handle, comp_status);
drivers/scsi/qla2xxx/qla_isr.c
2700
type, sp->handle, sts->rsp_data_len);
drivers/scsi/qla2xxx/qla_isr.c
2704
type, sp->handle, sts->data[3]);
drivers/scsi/qla2xxx/qla_isr.c
2838
sp->name, sp->handle, comp_status,
drivers/scsi/qla2xxx/qla_isr.c
2929
sts21_entry->handle[cnt]);
drivers/scsi/qla2xxx/qla_isr.c
2936
sts22_entry->handle[cnt]);
drivers/scsi/qla2xxx/qla_isr.c
3329
uint32_t handle;
drivers/scsi/qla2xxx/qla_isr.c
3345
handle = (uint32_t) LSW(sts->handle);
drivers/scsi/qla2xxx/qla_isr.c
3346
que = MSW(sts->handle);
drivers/scsi/qla2xxx/qla_isr.c
3354
"que=%u.\n", sts->handle, req, que);
drivers/scsi/qla2xxx/qla_isr.c
3359
if (handle < req->num_outstanding_cmds) {
drivers/scsi/qla2xxx/qla_isr.c
3360
sp = req->outstanding_cmds[handle];
drivers/scsi/qla2xxx/qla_isr.c
3364
__func__, vha->host_no, sts->handle);
drivers/scsi/qla2xxx/qla_isr.c
3370
sts->handle);
drivers/scsi/qla2xxx/qla_isr.c
3384
req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_isr.c
3393
req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_isr.c
3399
qla25xx_process_bidir_status_iocb(vha, pkt, req, handle);
drivers/scsi/qla2xxx/qla_isr.c
3414
qla2x00_process_completed_request(vha, req, handle);
drivers/scsi/qla2xxx/qla_isr.c
3423
sts->handle, sp);
drivers/scsi/qla2xxx/qla_isr.c
3425
req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_isr.c
3698
req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_isr.c
3772
uint16_t que = MSW(pkt->handle);
drivers/scsi/qla2xxx/qla_isr.c
3779
pkt->entry_type, pkt->entry_status, pkt->handle, rsp->id);
drivers/scsi/qla2xxx/qla_isr.c
3789
if ((pkt->handle & ~QLA_TGT_HANDLE_MASK) == QLA_TGT_SKIP_HANDLE)
drivers/scsi/qla2xxx/qla_isr.c
4074
if (pkt->handle == QLA_TGT_SKIP_HANDLE)
drivers/scsi/qla2xxx/qla_isr.c
4581
qentry->handle = NULL;
drivers/scsi/qla2xxx/qla_isr.c
4587
qentry->handle = rsp;
drivers/scsi/qla2xxx/qla_isr.c
4613
qentry->handle = rsp;
drivers/scsi/qla2xxx/qla_isr.c
4771
free_irq(pci_irq_vector(ha->pdev, i), qentry->handle);
drivers/scsi/qla2xxx/qla_isr.c
4805
msix->handle = qpair;
drivers/scsi/qla2xxx/qla_mbx.c
1576
uint32_t handle = 0;
drivers/scsi/qla2xxx/qla_mbx.c
1594
for (handle = 1; handle < req->num_outstanding_cmds; handle++) {
drivers/scsi/qla2xxx/qla_mbx.c
1595
if (req->outstanding_cmds[handle] == sp)
drivers/scsi/qla2xxx/qla_mbx.c
1600
if (handle == req->num_outstanding_cmds) {
drivers/scsi/qla2xxx/qla_mbx.c
1610
mcp->mb[2] = (uint16_t)handle;
drivers/scsi/qla2xxx/qla_mbx.c
1611
mcp->mb[3] = (uint16_t)(handle >> 16);
drivers/scsi/qla2xxx/qla_mbx.c
2577
lg->handle = make_handle(req->id, lg->handle);
drivers/scsi/qla2xxx/qla_mbx.c
2847
lg->handle = make_handle(req->id, lg->handle);
drivers/scsi/qla2xxx/qla_mbx.c
3301
uint32_t handle;
drivers/scsi/qla2xxx/qla_mbx.c
3320
for (handle = 1; handle < req->num_outstanding_cmds; handle++) {
drivers/scsi/qla2xxx/qla_mbx.c
3321
if (req->outstanding_cmds[handle] == sp)
drivers/scsi/qla2xxx/qla_mbx.c
3325
if (handle == req->num_outstanding_cmds) {
drivers/scsi/qla2xxx/qla_mbx.c
3339
abt->handle = make_handle(req->id, abt->handle);
drivers/scsi/qla2xxx/qla_mbx.c
3341
abt->handle_to_abort = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_mbx.c
3424
tsk->p.tsk.handle = make_handle(req->id, tsk->p.tsk.handle);
drivers/scsi/qla2xxx/qla_mbx.c
6622
sp->name, sp->handle);
drivers/scsi/qla2xxx/qla_mid.c
599
free_irq(rsp->msix->vector, rsp->msix->handle);
drivers/scsi/qla2xxx/qla_mid.c
602
rsp->msix->handle = NULL;
drivers/scsi/qla2xxx/qla_mid.c
982
sp->name, sp->handle);
drivers/scsi/qla2xxx/qla_mr.c
2262
uint32_t hindex, handle;
drivers/scsi/qla2xxx/qla_mr.c
2272
hindex = sts->handle;
drivers/scsi/qla2xxx/qla_mr.c
2273
handle = LSW(hindex);
drivers/scsi/qla2xxx/qla_mr.c
2279
if (handle < req->num_outstanding_cmds)
drivers/scsi/qla2xxx/qla_mr.c
2280
sp = req->outstanding_cmds[handle];
drivers/scsi/qla2xxx/qla_mr.c
2286
"Invalid status handle (0x%x).\n", handle);
drivers/scsi/qla2xxx/qla_mr.c
2294
req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_mr.c
2302
qla2x00_process_completed_request(vha, req, handle);
drivers/scsi/qla2xxx/qla_mr.c
2306
req->outstanding_cmds[handle] = NULL;
drivers/scsi/qla2xxx/qla_mr.c
2311
handle, sp);
drivers/scsi/qla2xxx/qla_mr.c
2610
uint32_t handle, hindex, handle_count, i;
drivers/scsi/qla2xxx/qla_mr.c
2631
handle = LSW(hindex);
drivers/scsi/qla2xxx/qla_mr.c
2636
if (handle < req->num_outstanding_cmds)
drivers/scsi/qla2xxx/qla_mr.c
2637
sp = req->outstanding_cmds[handle];
drivers/scsi/qla2xxx/qla_mr.c
2643
"Invalid status handle (0x%x).\n", handle);
drivers/scsi/qla2xxx/qla_mr.c
2648
qla2x00_process_completed_request(vha, req, handle);
drivers/scsi/qla2xxx/qla_mr.c
3049
uint32_t handle;
drivers/scsi/qla2xxx/qla_mr.c
3072
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_mr.c
3073
if (handle == 0)
drivers/scsi/qla2xxx/qla_mr.c
3100
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_mr.c
3101
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_mr.c
3102
sp->handle = handle;
drivers/scsi/qla2xxx/qla_mr.c
3103
cmd->host_scribble = (unsigned char *)(unsigned long)handle;
drivers/scsi/qla2xxx/qla_mr.c
3110
lcmd_pkt.handle = make_handle(req->id, sp->handle);
drivers/scsi/qla2xxx/qla_mr.c
3180
tm_iocb.handle = make_handle(req->id, sp->handle);
drivers/scsi/qla2xxx/qla_mr.c
3206
abt_iocb.handle = make_handle(req->id, sp->handle);
drivers/scsi/qla2xxx/qla_mr.c
3228
fx_iocb.handle = sp->handle;
drivers/scsi/qla2xxx/qla_mr.h
123
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_mr.h
143
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_mr.h
168
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_mr.h
25
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_mr.h
60
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_mr.h
98
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_nvme.c
1112
lsrjt_iocb->handle = QLA_SKIP_HANDLE;
drivers/scsi/qla2xxx/qla_nvme.c
115
unsigned int qidx, u16 qsize, void **handle)
drivers/scsi/qla2xxx/qla_nvme.c
130
__func__, handle, qidx, qsize);
drivers/scsi/qla2xxx/qla_nvme.c
144
*handle = ha->queue_pair_map[qidx];
drivers/scsi/qla2xxx/qla_nvme.c
147
*handle, qidx);
drivers/scsi/qla2xxx/qla_nvme.c
159
*handle = qpair;
drivers/scsi/qla2xxx/qla_nvme.c
310
uint32_t handle;
drivers/scsi/qla2xxx/qla_nvme.c
314
__func__, sp, sp->handle, fcport, sp->u.iocb_cmd.u.nvme.desc, fcport->deleted);
drivers/scsi/qla2xxx/qla_nvme.c
333
handle = sp->handle;
drivers/scsi/qla2xxx/qla_nvme.c
340
sp, handle, fcport, rval);
drivers/scsi/qla2xxx/qla_nvme.c
556
uint32_t handle;
drivers/scsi/qla2xxx/qla_nvme.c
582
handle = qla2xxx_get_next_handle(req);
drivers/scsi/qla2xxx/qla_nvme.c
583
if (handle == 0) {
drivers/scsi/qla2xxx/qla_nvme.c
627
req->current_outstanding_cmd = handle;
drivers/scsi/qla2xxx/qla_nvme.c
628
req->outstanding_cmds[handle] = sp;
drivers/scsi/qla2xxx/qla_nvme.c
629
sp->handle = handle;
drivers/scsi/qla2xxx/qla_nvme.c
633
cmd_pkt->handle = make_handle(req->id, handle);
drivers/scsi/qla2xxx/qla_nvme.h
51
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_nvme.h
89
uint32_t handle;
drivers/scsi/qla2xxx/qla_os.c
1282
vha->host_no, id, lun, sp, cmd, sp->handle);
drivers/scsi/qla2xxx/qla_os.c
6119
rsp_els->handle = 0;
drivers/scsi/qla2xxx/qla_target.c
1684
nack->u.isp24.handle = QLA_TGT_SKIP_HANDLE;
drivers/scsi/qla2xxx/qla_target.c
1756
resp->handle = make_handle(qpair->req->id, h);
drivers/scsi/qla2xxx/qla_target.c
1829
resp->handle = QLA_TGT_SKIP_HANDLE;
drivers/scsi/qla2xxx/qla_target.c
1912
ctio->handle = QLA_TGT_SKIP_HANDLE | CTIO_COMPLETION_HANDLE_MARK;
drivers/scsi/qla2xxx/qla_target.c
2197
ctio->handle = QLA_TGT_SKIP_HANDLE | CTIO_COMPLETION_HANDLE_MARK;
drivers/scsi/qla2xxx/qla_target.c
2269
ctio->handle = QLA_TGT_SKIP_HANDLE;
drivers/scsi/qla2xxx/qla_target.c
2571
pkt->handle = make_handle(qpair->req->id, h);
drivers/scsi/qla2xxx/qla_target.c
2572
pkt->handle |= CTIO_COMPLETION_HANDLE_MARK;
drivers/scsi/qla2xxx/qla_target.c
3097
pkt->handle = make_handle(qpair->req->id, h);
drivers/scsi/qla2xxx/qla_target.c
3098
pkt->handle |= CTIO_COMPLETION_HANDLE_MARK;
drivers/scsi/qla2xxx/qla_target.c
3135
crc_ctx_pkt->handle = pkt->handle;
drivers/scsi/qla2xxx/qla_target.c
3328
pkt->handle |= CTIO_INTERMEDIATE_HANDLE_MARK;
drivers/scsi/qla2xxx/qla_target.c
3585
pkt->handle = QLA_TGT_SKIP_HANDLE;
drivers/scsi/qla2xxx/qla_target.c
3740
ctio24->handle = QLA_TGT_SKIP_HANDLE | CTIO_COMPLETION_HANDLE_MARK;
drivers/scsi/qla2xxx/qla_target.c
4005
struct rsp_que *rsp, uint32_t handle, uint8_t cmd_type,
drivers/scsi/qla2xxx/qla_target.c
4010
int qid = GET_QID(handle);
drivers/scsi/qla2xxx/qla_target.c
4011
uint32_t h = handle & ~QLA_TGT_HANDLE_MASK;
drivers/scsi/qla2xxx/qla_target.c
4021
vha->vp_idx, rsp->id, handle);
drivers/scsi/qla2xxx/qla_target.c
4039
vha->vp_idx, handle);
drivers/scsi/qla2xxx/qla_target.c
4062
handle, req->id, rsp->id);
drivers/scsi/qla2xxx/qla_target.c
4066
vha->vp_idx, handle, req->id, rsp->id);
drivers/scsi/qla2xxx/qla_target.c
4128
struct rsp_que *rsp, uint32_t handle, uint32_t status,
drivers/scsi/qla2xxx/qla_target.c
4136
if (handle & CTIO_INTERMEDIATE_HANDLE_MARK) {
drivers/scsi/qla2xxx/qla_target.c
4148
cmd = qlt_ctio_to_cmd(vha, rsp, handle, TYPE_TGT_CMD, ctio);
drivers/scsi/qla2xxx/qla_target.c
4150
if ((handle & ~QLA_TGT_HANDLE_MASK) == QLA_TGT_SKIP_HANDLE &&
drivers/scsi/qla2xxx/qla_target.c
636
sp->name, fcport->port_name, sp->handle, c);
drivers/scsi/qla2xxx/qla_target.c
6585
pkt->handle = QLA_TGT_SKIP_HANDLE | CTIO_COMPLETION_HANDLE_MARK;
drivers/scsi/qla2xxx/qla_target.c
6906
u32 h = pkt->handle & ~QLA_TGT_HANDLE_MASK;
drivers/scsi/qla2xxx/qla_target.c
6910
mcmd = qlt_ctio_to_cmd(vha, rsp, pkt->handle, TYPE_TGT_TMCMD, pkt);
drivers/scsi/qla2xxx/qla_target.c
6973
qlt_do_ctio_completion(vha, rsp, entry->handle,
drivers/scsi/qla2xxx/qla_target.h
156
uint32_t handle;
drivers/scsi/qla2xxx/qla_target.h
208
uint32_t handle; /* System defined handle */
drivers/scsi/qla2xxx/qla_target.h
403
uint32_t handle; /* System defined handle */
drivers/scsi/qla2xxx/qla_target.h
457
uint32_t handle; /* System defined handle */
drivers/scsi/qla2xxx/qla_target.h
506
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_target.h
539
uint32_t handle; /* System handle. */
drivers/scsi/qla2xxx/qla_target.h
621
uint32_t handle;
drivers/scsi/qla2xxx/qla_target.h
651
uint32_t handle;
drivers/scsi/qla4xxx/ql4_fw.h
1107
uint32_t handle; /* 04-07 */
drivers/scsi/qla4xxx/ql4_fw.h
1181
uint32_t handle; /* 04-07 */
drivers/scsi/qla4xxx/ql4_fw.h
1226
uint32_t handle; /* 04-07 */
drivers/scsi/qla4xxx/ql4_fw.h
1249
uint32_t handle; /* 04-07 */
drivers/scsi/qla4xxx/ql4_fw.h
1269
uint32_t handle; /* 04-07 */
drivers/scsi/qla4xxx/ql4_fw.h
1276
uint32_t handle; /* 04-07 */
drivers/scsi/qla4xxx/ql4_iocb.c
324
cmd_entry->handle = cpu_to_le32(index);
drivers/scsi/qla4xxx/ql4_iocb.c
406
passthru_iocb->handle = task->itt;
drivers/scsi/qla4xxx/ql4_iocb.c
492
mrb->mbox->handle = index;
drivers/scsi/qla4xxx/ql4_isr.c
123
srb = qla4xxx_del_from_active_array(ha, le32_to_cpu(sts_entry->handle));
drivers/scsi/qla4xxx/ql4_isr.c
127
sts_entry->handle, srb);
drivers/scsi/qla4xxx/ql4_isr.c
139
ha->host_no, __func__, sts_entry->handle,
drivers/scsi/qla4xxx/ql4_isr.c
374
itt = sts_entry->handle;
drivers/scsi/qla4xxx/ql4_isr.c
430
le32_to_cpu(mbox_sts_entry->handle));
drivers/scsi/qla4xxx/ql4_isr.c
434
mbox_sts_entry->handle);
drivers/scsi/qla4xxx/ql4_isr.c
521
handle));
drivers/scsi/qla4xxx/ql4_os.c
3382
itt = sts->handle;
drivers/scsi/qlogicpti.c
1170
cmd_slot = sts->handle;
drivers/scsi/qlogicpti.c
959
cmd->handle = in_ptr;
drivers/scsi/qlogicpti.h
100
u32 handle;
drivers/scsi/qlogicpti.h
128
u32 handle;
drivers/scsi/qlogicpti.h
177
u32 handle;
drivers/scsi/scsi_transport_iscsi.c
137
static DEVICE_ATTR(handle, S_IRUGO, show_transport_handle, NULL);
drivers/scsi/scsi_transport_iscsi.c
193
static ISCSI_ATTR(ep, handle, S_IRUGO, show_ep_handle, NULL);
drivers/scsi/scsi_transport_iscsi.c
279
struct iscsi_endpoint *iscsi_lookup_endpoint(u64 handle)
drivers/scsi/scsi_transport_iscsi.c
284
ep = idr_find(&iscsi_ep_idr, handle);
drivers/scsi/scsi_transport_iscsi.c
3062
ev->r.ep_connect_ret.handle = ep->id;
drivers/scsi/sr.c
208
struct scsi_cd *cd = cdi->handle;
drivers/scsi/sr.c
602
struct scsi_cd *cd = cdi->handle;
drivers/scsi/sr.c
674
cd->cdi.handle = cd;
drivers/scsi/sr.c
921
struct scsi_cd *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
157
return sr_do_ioctl(cdi->handle, &cgc);
drivers/scsi/sr_ioctl.c
164
struct scsi_cd *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
274
Scsi_CD *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
287
Scsi_CD *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
295
struct scsi_cd *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
352
Scsi_CD *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
384
Scsi_CD *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
39
struct scsi_cd *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
394
Scsi_CD *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
430
Scsi_CD *cd = cdi->handle;
drivers/scsi/sr_ioctl.c
72
struct scsi_cd *cd = cdi->handle;
drivers/scsi/sr_vendor.c
173
Scsi_CD *cd = cdi->handle;
drivers/scsi/stex.c
1148
msg_h->handle = cpu_to_le64(hba->dma_handle);
drivers/scsi/stex.c
208
__le64 handle;
drivers/scsi/stex.c
550
msg_h->handle = cpu_to_le64(addr);
drivers/sh/intc/access.c
166
unsigned long handle,
drivers/sh/intc/access.c
172
return fn(addr, handle, ((1 << _INTC_WIDTH(handle)) - 1));
drivers/sh/intc/access.c
176
unsigned long handle,
drivers/sh/intc/access.c
182
return fn(addr, handle, 0);
drivers/sh/intc/access.c
186
unsigned long handle,
drivers/sh/intc/access.c
192
return fn(addr, handle, intc_get_prio_level(irq));
drivers/sh/intc/access.c
210
unsigned long handle,
drivers/sh/intc/access.c
223
unsigned long handle,
drivers/sh/intc/access.c
236
unsigned long handle,
drivers/sh/intc/access.c
56
unsigned int handle)
drivers/sh/intc/access.c
58
unsigned int width = _INTC_WIDTH(handle);
drivers/sh/intc/access.c
59
unsigned int shift = _INTC_SHIFT(handle);
drivers/sh/intc/access.c
66
unsigned long intc_get_field_from_handle(unsigned int value, unsigned int handle)
drivers/sh/intc/access.c
68
unsigned int width = _INTC_WIDTH(handle);
drivers/sh/intc/access.c
69
unsigned int shift = _INTC_SHIFT(handle);
drivers/sh/intc/balancing.c
17
unsigned long handle = dist_handle[irq];
drivers/sh/intc/balancing.c
20
if (irq_balancing_disabled(irq) || !handle)
drivers/sh/intc/balancing.c
23
addr = INTC_REG(d, _INTC_ADDR_D(handle), 0);
drivers/sh/intc/balancing.c
24
intc_reg_fns[_INTC_FN(handle)](addr, handle, 1);
drivers/sh/intc/balancing.c
30
unsigned long handle = dist_handle[irq];
drivers/sh/intc/balancing.c
33
if (irq_balancing_disabled(irq) || !handle)
drivers/sh/intc/balancing.c
36
addr = INTC_REG(d, _INTC_ADDR_D(handle), 0);
drivers/sh/intc/balancing.c
37
intc_reg_fns[_INTC_FN(handle)](addr, handle, 0);
drivers/sh/intc/chip.c
124
key.handle = 0;
drivers/sh/intc/chip.c
140
if (prio >= (1 << _INTC_WIDTH(ihp->handle)))
drivers/sh/intc/chip.c
150
if (_INTC_FN(ihp->handle) != REG_FN_ERR)
drivers/sh/intc/chip.c
151
_intc_enable(data, ihp->handle);
drivers/sh/intc/chip.c
16
void _intc_enable(struct irq_data *data, unsigned long handle)
drivers/sh/intc/chip.c
190
if (value >= (1 << _INTC_WIDTH(ihp->handle)))
drivers/sh/intc/chip.c
193
addr = INTC_REG(d, _INTC_ADDR_E(ihp->handle), 0);
drivers/sh/intc/chip.c
194
intc_reg_fns[_INTC_FN(ihp->handle)](addr, ihp->handle, value);
drivers/sh/intc/chip.c
23
for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_E(handle)); cpu++) {
drivers/sh/intc/chip.c
28
addr = INTC_REG(d, _INTC_ADDR_E(handle), cpu);
drivers/sh/intc/chip.c
29
intc_enable_fns[_INTC_MODE(handle)](addr, handle, intc_reg_fns\
drivers/sh/intc/chip.c
30
[_INTC_FN(handle)], irq);
drivers/sh/intc/chip.c
45
unsigned long handle = (unsigned long)irq_data_get_irq_chip_data(data);
drivers/sh/intc/chip.c
51
for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_D(handle)); cpu++) {
drivers/sh/intc/chip.c
56
addr = INTC_REG(d, _INTC_ADDR_D(handle), cpu);
drivers/sh/intc/chip.c
57
intc_disable_fns[_INTC_MODE(handle)](addr, handle,intc_reg_fns\
drivers/sh/intc/chip.c
58
[_INTC_FN(handle)], irq);
drivers/sh/intc/chip.c
85
unsigned long handle = intc_get_ack_handle(irq);
drivers/sh/intc/chip.c
91
if (handle) {
drivers/sh/intc/chip.c
94
addr = (void __iomem *)INTC_REG(d, _INTC_ADDR_D(handle), 0);
drivers/sh/intc/chip.c
95
value = intc_set_field_from_handle(0, 1, handle);
drivers/sh/intc/chip.c
97
switch (_INTC_FN(handle)) {
drivers/sh/intc/core.c
134
hp->handle = data[1];
drivers/sh/intc/core.c
141
hp->handle &= ~_INTC_MK(0x0f, 0, 0, 0, 0, 0);
drivers/sh/intc/core.c
142
hp->handle |= _INTC_MK(REG_FN_ERR, 0, 0, 0, 0, 0);
drivers/sh/intc/core.c
151
(d->sense + d->nr_sense)->handle = data[0];
drivers/sh/intc/handle.c
207
unsigned long handle, int do_enable)
drivers/sh/intc/handle.c
217
for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_E(handle)); cpu++) {
drivers/sh/intc/handle.c
218
addr = INTC_REG(d, _INTC_ADDR_E(handle), cpu);
drivers/sh/intc/handle.c
219
fn = intc_enable_noprio_fns[_INTC_MODE(handle)];
drivers/sh/intc/handle.c
220
fn(addr, handle, intc_reg_fns[_INTC_FN(handle)], 0);
drivers/sh/intc/handle.c
223
for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_D(handle)); cpu++) {
drivers/sh/intc/handle.c
224
addr = INTC_REG(d, _INTC_ADDR_D(handle), cpu);
drivers/sh/intc/handle.c
225
fn = intc_disable_fns[_INTC_MODE(handle)];
drivers/sh/intc/handle.c
226
fn(addr, handle, intc_reg_fns[_INTC_FN(handle)], 0);
drivers/sh/intc/internals.h
119
(*intc_enable_fns[])(unsigned long addr, unsigned long handle,
drivers/sh/intc/internals.h
124
(*intc_disable_fns[])(unsigned long addr, unsigned long handle,
drivers/sh/intc/internals.h
129
(*intc_enable_noprio_fns[])(unsigned long addr, unsigned long handle,
drivers/sh/intc/internals.h
138
unsigned int handle);
drivers/sh/intc/internals.h
140
unsigned int handle);
drivers/sh/intc/internals.h
158
void _intc_enable(struct irq_data *data, unsigned long handle);
drivers/sh/intc/internals.h
34
unsigned long handle;
drivers/sh/intc/internals.h
51
unsigned long handle;
drivers/sh/intc/virq.c
121
unsigned long addr, handle;
drivers/sh/intc/virq.c
125
handle = (unsigned long)irq_desc_get_handler_data(vdesc);
drivers/sh/intc/virq.c
126
addr = INTC_REG(d, _INTC_ADDR_E(handle), 0);
drivers/sh/intc/virq.c
127
if (intc_reg_fns[_INTC_FN(handle)](addr, handle, 0))
drivers/sh/intc/virq.c
177
entry->handle = intc_subgroup_data(subgroup, d, i);
drivers/sh/intc/virq.c
242
irq_set_handler_data(irq, (void *)entry->handle);
drivers/slimbus/qcom-ngd-ctrl.c
126
struct qmi_handle *handle;
drivers/slimbus/qcom-ngd-ctrl.c
1310
if (!ctrl->qmi.handle)
drivers/slimbus/qcom-ngd-ctrl.c
1715
if (!ctrl->qmi.handle)
drivers/slimbus/qcom-ngd-ctrl.c
354
rc = qmi_txn_init(ctrl->qmi.handle, &txn,
drivers/slimbus/qcom-ngd-ctrl.c
361
rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn,
drivers/slimbus/qcom-ngd-ctrl.c
386
static void qcom_slim_qmi_power_resp_cb(struct qmi_handle *handle,
drivers/slimbus/qcom-ngd-ctrl.c
407
rc = qmi_txn_init(ctrl->qmi.handle, &txn,
drivers/slimbus/qcom-ngd-ctrl.c
410
rc = qmi_send_request(ctrl->qmi.handle, NULL, &txn,
drivers/slimbus/qcom-ngd-ctrl.c
451
struct qmi_handle *handle;
drivers/slimbus/qcom-ngd-ctrl.c
454
handle = devm_kzalloc(ctrl->dev, sizeof(*handle), GFP_KERNEL);
drivers/slimbus/qcom-ngd-ctrl.c
455
if (!handle)
drivers/slimbus/qcom-ngd-ctrl.c
458
rc = qmi_handle_init(handle, SLIMBUS_QMI_POWER_REQ_MAX_MSG_LEN,
drivers/slimbus/qcom-ngd-ctrl.c
465
rc = kernel_connect(handle->sock,
drivers/slimbus/qcom-ngd-ctrl.c
483
ctrl->qmi.handle = handle;
drivers/slimbus/qcom-ngd-ctrl.c
494
ctrl->qmi.handle = NULL;
drivers/slimbus/qcom-ngd-ctrl.c
496
qmi_handle_release(handle);
drivers/slimbus/qcom-ngd-ctrl.c
498
devm_kfree(ctrl->dev, handle);
drivers/slimbus/qcom-ngd-ctrl.c
504
if (!ctrl->qmi.handle)
drivers/slimbus/qcom-ngd-ctrl.c
507
qmi_handle_release(ctrl->qmi.handle);
drivers/slimbus/qcom-ngd-ctrl.c
508
devm_kfree(ctrl->dev, ctrl->qmi.handle);
drivers/slimbus/qcom-ngd-ctrl.c
509
ctrl->qmi.handle = NULL;
drivers/soc/hisilicon/kunpeng_hccs.c
131
acpi_handle handle = ACPI_HANDLE(hdev->dev);
drivers/soc/hisilicon/kunpeng_hccs.c
135
if (!acpi_has_method(handle, METHOD_NAME__CRS)) {
drivers/soc/hisilicon/kunpeng_hccs.c
141
status = acpi_walk_resources(handle, METHOD_NAME__CRS,
drivers/soc/qcom/qcom_pd_mapper.c
154
struct qcom_pdm_data *data = container_of(qmi, struct qcom_pdm_data, handle);
drivers/soc/qcom/qcom_pd_mapper.c
45
struct qmi_handle handle;
drivers/soc/qcom/qcom_pd_mapper.c
608
qmi_handle_release(&data->handle);
drivers/soc/qcom/qcom_pd_mapper.c
644
ret = qmi_handle_init(&data->handle, SERVREG_GET_DOMAIN_LIST_REQ_MAX_LEN,
drivers/soc/qcom/qcom_pd_mapper.c
659
ret = qmi_add_server(&data->handle, SERVREG_LOCATOR_SERVICE,
drivers/soundwire/amd_init.c
82
adev = acpi_fetch_acpi_dev(res->handle);
drivers/soundwire/intel_init.c
173
adev = acpi_fetch_acpi_dev(res->handle);
drivers/soundwire/intel_init.c
211
ctx->handle = res->handle;
drivers/soundwire/intel_init.c
286
struct acpi_device *adev = acpi_fetch_acpi_dev(ctx->handle);
drivers/soundwire/slave.c
118
ret = acpi_get_local_u64_address(adev->handle, &addr);
drivers/spi/spi-cs42l43.c
256
acpi_handle handle = ACPI_HANDLE_FWNODE(child_fwnode);
drivers/spi/spi-cs42l43.c
258
ret = acpi_get_local_address(handle, &function);
drivers/spi/spi.c
2931
ACPI_SUCCESS(acpi_get_parent(adev->handle, &parent_handle)) &&
drivers/spi/spi.c
3009
static acpi_status acpi_spi_add_device(acpi_handle handle, u32 level,
drivers/spi/spi.c
3012
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/spi/spi.c
3026
acpi_handle handle;
drivers/spi/spi.c
3028
handle = ACPI_HANDLE(ctlr->dev.parent);
drivers/spi/spi.c
3029
if (!handle)
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
111
obj = acpi_evaluate_dsm_typed(adev->handle, &atomisp_dsm_guid, 0, 0,
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
128
acpi_handle_info(adev->handle, "%s: Using DSM entry %s=%s\n",
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
154
acpi_handle_info(adev->handle, "%s: Using DMI entry %s=%s\n",
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
191
acpi_handle_info(adev->handle, "%s: Using default %s=%d\n",
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
208
status = acpi_evaluate_object_typed(adev->handle, "_PR0", NULL, &buffer, ACPI_TYPE_PACKAGE);
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
219
rhandle = element->reference.handle;
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
235
acpi_handle_warn(adev->handle, "%s: Could not find PMC clk in _PR0\n",
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
255
acpi_handle_err(adev->handle, "%s: Error getting clk %s: %d\n",
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
270
acpi_handle_err(adev->handle, "%s: Error setting clk-rate for %s: %d\n",
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
341
obj = acpi_evaluate_dsm_typed(adev->handle, &vcm_dsm_guid, 0, 0,
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
397
acpi_handle_err(adev->handle, "%s: Invalid port: %u\n",
drivers/staging/media/atomisp/pci/atomisp_csi2_bridge.c
404
acpi_handle_err(adev->handle, "%s: Invalid lane-count: %d\n",
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
1146
acpi_handle handle = ACPI_HANDLE(dev);
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
1163
obj = acpi_evaluate_dsm_typed(handle, &atomisp_dsm_guid, 0, 0, NULL,
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
381
acpi_handle handle = ACPI_HANDLE(dev);
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
387
status = acpi_evaluate_object(handle, "_PR0", NULL, &buffer);
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c
404
rhandle = element->reference.handle;
drivers/staging/media/atomisp/pci/ia_css_acc_types.h
372
CSS_ALIGN(u32 handle, 8);
drivers/staging/media/atomisp/pci/ia_css_acc_types.h
415
u32 handle;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
245
ia_css_queue_t *handle)
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
260
ia_css_queue_remote_init(handle, &remoteq);
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
101
ibuf_handle_t *handle = NULL;
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
106
handle = getHandle(i);
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
107
if (handle->active && handle->start_addr == *start_addr) {
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
108
handle->active = false;
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
18
ibuf_handle_t *handle = NULL;
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
21
handle = &ibuf_rsrc.handles[index];
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
22
return handle;
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
44
ibuf_handle_t *handle = NULL;
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
57
handle = getHandle(i);
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
58
if (!handle->active) {
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
59
if (handle->size >= aligned_size) {
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
60
handle->active = true;
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
75
handle = getHandle(ibuf_rsrc.num_allocated);
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
76
handle->start_addr = ibuf_rsrc.free_start_addr;
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
77
handle->size = aligned_size;
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
78
handle->active = true;
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
89
if (input_buffer_found && handle) {
drivers/staging/media/atomisp/pci/runtime/isys/src/ibuf_ctrl_rmgr.c
90
*start_addr = handle->start_addr;
drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c
372
if ((s->firmware) && (s->firmware->handle == fw_handle)) {
drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c
393
*fw_handle = s->firmware->handle;
drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr_vbuf.h
66
struct ia_css_rmgr_vbuf_handle **handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr_vbuf.h
76
struct ia_css_rmgr_vbuf_handle **handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr_vbuf.h
83
void ia_css_rmgr_refcount_retain_vbuf(struct ia_css_rmgr_vbuf_handle **handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr_vbuf.h
90
void ia_css_rmgr_refcount_release_vbuf(struct ia_css_rmgr_vbuf_handle **handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
100
if ((!handle) || ((*handle) == NULL) || (((*handle)->count) == 0)) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
105
(*handle)->count--;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
107
if ((*handle)->count == 0) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
108
(*handle)->vptr = 0x0;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
109
(*handle)->size = 0;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
110
*handle = NULL;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
189
struct ia_css_rmgr_vbuf_handle **handle)
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
197
assert(handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
200
ia_css_rmgr_refcount_retain_vbuf(handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
201
pool->handles[i] = *handle;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
217
struct ia_css_rmgr_vbuf_handle **handle)
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
224
assert(handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
225
assert(*handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
228
(pool->handles[i]->size == (*handle)->size)) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
229
*handle = pool->handles[i];
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
246
struct ia_css_rmgr_vbuf_handle **handle)
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
248
if ((!pool) || (!handle) || (!*handle)) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
258
if ((*handle)->count == 1)
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
261
if ((*handle)->count > 1) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
264
h.size = (*handle)->size;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
266
ia_css_rmgr_refcount_release_vbuf(handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
269
new_handle = *handle;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
282
*handle = new_handle;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
288
*handle = new_handle;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
292
ia_css_rmgr_refcount_retain_vbuf(handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
302
struct ia_css_rmgr_vbuf_handle **handle)
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
304
if ((!pool) || (!handle) || (!*handle)) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
309
if ((*handle)->count == 1) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
312
hmm_free((*handle)->vptr);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
315
rmgr_push_handle(pool, handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
318
ia_css_rmgr_refcount_release_vbuf(handle);
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
319
*handle = NULL;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
60
void ia_css_rmgr_refcount_retain_vbuf(struct ia_css_rmgr_vbuf_handle **handle)
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
65
if ((!handle) || (!*handle)) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
70
if ((*handle)->count == 0) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
71
h = *handle;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
72
*handle = NULL;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
75
*handle = &handle_table[i];
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
82
if (!*handle) {
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
87
(*handle)->vptr = h->vptr;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
88
(*handle)->size = h->size;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
90
(*handle)->count++;
drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c
98
void ia_css_rmgr_refcount_release_vbuf(struct ia_css_rmgr_vbuf_handle **handle)
drivers/staging/media/av7110/av7110.c
353
int handle = (type >> 8) & 0x1f;
drivers/staging/media/av7110/av7110.c
376
av7110_record_cb(&av7110->p2t[handle],
drivers/staging/media/av7110/av7110.c
385
if (av7110->handle2filter[handle])
drivers/staging/media/av7110/av7110.c
388
av7110->handle2filter[handle],
drivers/staging/media/av7110/av7110.c
764
u16 handle;
drivers/staging/media/av7110/av7110.c
793
ret = av7110_fw_request(av7110, buf, 20, &handle, 1);
drivers/staging/media/av7110/av7110.c
794
if (ret != 0 || handle >= 32) {
drivers/staging/media/av7110/av7110.c
796
__func__, buf[0], buf[1], buf[2], buf[3], ret, handle);
drivers/staging/media/av7110/av7110.c
803
av7110->handle2filter[handle] = dvbdmxfilter;
drivers/staging/media/av7110/av7110.c
804
dvbdmxfilter->hw_handle = handle;
drivers/staging/media/av7110/av7110.c
815
u16 handle;
drivers/staging/media/av7110/av7110.c
822
handle = dvbdmxfilter->hw_handle;
drivers/staging/media/av7110/av7110.c
823
if (handle >= 32) {
drivers/staging/media/av7110/av7110.c
825
__func__, handle, dvbdmxfilter->type);
drivers/staging/media/av7110/av7110.c
829
av7110->handle2filter[handle] = NULL;
drivers/staging/media/av7110/av7110.c
833
buf[2] = handle;
drivers/staging/media/av7110/av7110.c
835
if (ret != 0 || answ[1] != handle) {
drivers/staging/media/ipu3/ipu3-css-fw.h
164
u32 handle __aligned(8);
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
462
struct fwnode_handle *handle = NULL;
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
465
handle = fwnode_graph_get_endpoint_by_id(dev_fwnode(dev), port, 0, 0);
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
466
if (!handle)
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
469
ret = v4l2_fwnode_endpoint_parse(handle, endpoint);
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
474
v4l2_async_nf_add_fwnode_remote(notifier, handle,
drivers/staging/media/sunxi/sun6i-isp/sun6i_isp_proc.c
487
fwnode_handle_put(handle);
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
100
unsigned int handle,
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
104
handle);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
639
static void cxgbit_arp_failure_discard(void *handle, struct sk_buff *skb)
drivers/target/iscsi/cxgbit/cxgbit_cm.c
641
struct cxgbit_sock *csk = handle;
drivers/target/iscsi/cxgbit/cxgbit_cm.c
643
pr_debug("%s cxgbit_device %p\n", __func__, handle);
drivers/target/iscsi/cxgbit/cxgbit_cm.c
648
static void cxgbit_abort_arp_failure(void *handle, struct sk_buff *skb)
drivers/target/iscsi/cxgbit/cxgbit_cm.c
650
struct cxgbit_device *cdev = handle;
drivers/target/iscsi/cxgbit/cxgbit_main.c
142
static int cxgbit_uld_state_change(void *handle, enum cxgb4_state state)
drivers/target/iscsi/cxgbit/cxgbit_main.c
144
struct cxgbit_device *cdev = handle;
drivers/target/iscsi/cxgbit/cxgbit_target.c
196
static void cxgbit_arp_failure_skb_discard(void *handle, struct sk_buff *skb)
drivers/tee/tstee/core.c
172
u64 handle;
drivers/tee/tstee/core.c
205
handle = shm->sec_world_id;
drivers/tee/tstee/core.c
207
handle = FFA_INVALID_MEM_HANDLE;
drivers/tee/tstee/core.c
212
ffa_args[TS_RPC_SERVICE_MEM_HANDLE_LSW] = lower_32_bits(handle);
drivers/tee/tstee/core.c
213
ffa_args[TS_RPC_SERVICE_MEM_HANDLE_MSW] = upper_32_bits(handle);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
141
int acpi_parse_art(acpi_handle handle, int *art_count, struct art **artp,
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
155
status = acpi_evaluate_object(handle, "_ART", NULL, &buffer);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
214
static int acpi_parse_psvt(acpi_handle handle, int *psvt_count, struct psvt **psvtp)
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
223
status = acpi_evaluate_object(handle, "PSVT", NULL, &buffer);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
350
static void get_single_name(acpi_handle handle, char *name)
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
354
if (ACPI_FAILURE(acpi_get_name(handle, ACPI_SINGLE_NAME, &buffer)))
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
572
int acpi_thermal_rel_misc_device_add(acpi_handle handle)
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
574
acpi_thermal_rel_handle = handle;
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
580
int acpi_thermal_rel_misc_device_remove(acpi_handle handle)
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
67
int acpi_parse_trt(acpi_handle handle, int *trt_count, struct trt **trtp,
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c
80
status = acpi_evaluate_object(handle, "_TRT", NULL, &buffer);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h
138
int acpi_thermal_rel_misc_device_add(acpi_handle handle);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h
139
int acpi_thermal_rel_misc_device_remove(acpi_handle handle);
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h
140
int acpi_parse_art(acpi_handle handle, int *art_count, struct art **arts,
drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h
142
int acpi_parse_trt(acpi_handle handle, int *trt_count, struct trt **trts,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
148
static int int3400_thermal_run_osc(acpi_handle handle, char *uuid_str, int *enable)
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
163
status = acpi_run_osc(handle, &context);
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
190
return int3400_thermal_run_osc(priv->adev->handle,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
261
status = acpi_evaluate_object(priv->adev->handle, "IDSP", NULL, &buf);
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
318
status = acpi_evaluate_integer(priv->adev->handle, "DCFG", NULL, &mode);
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
371
status = acpi_evaluate_object(priv->adev->handle, "ODVP", NULL, &odvp);
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
436
static void int3400_notify(acpi_handle handle,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
509
result = int3400_thermal_run_osc(priv->adev->handle,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
533
status = acpi_evaluate_object(priv->adev->handle, "GDDV", NULL,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
579
result = acpi_parse_art(priv->adev->handle, &priv->art_count,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
584
result = acpi_parse_trt(priv->adev->handle, &priv->trt_count,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
604
priv->adev->handle);
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
610
if (acpi_has_method(priv->adev->handle, "IMOK")) {
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
623
priv->adev->handle, ACPI_DEVICE_NOTIFY, int3400_notify,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
635
acpi_remove_notify_handler(priv->adev->handle, ACPI_DEVICE_NOTIFY,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
649
acpi_thermal_rel_misc_device_remove(priv->adev->handle);
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
666
priv->adev->handle, ACPI_DEVICE_NOTIFY,
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
672
acpi_thermal_rel_misc_device_remove(priv->adev->handle);
drivers/thermal/intel/int340x_thermal/int3400_thermal.c
90
status = acpi_execute_simple_method(priv->adev->handle, "IMOK", input);
drivers/thermal/intel/int340x_thermal/int3402_thermal.c
19
acpi_handle *handle;
drivers/thermal/intel/int340x_thermal/int3402_thermal.c
23
static void int3402_notify(acpi_handle handle, u32 event, void *data)
drivers/thermal/intel/int340x_thermal/int3402_thermal.c
51
if (!acpi_has_method(adev->handle, "_TMP"))
drivers/thermal/intel/int340x_thermal/int3402_thermal.c
62
ret = acpi_install_notify_handler(adev->handle,
drivers/thermal/intel/int340x_thermal/int3402_thermal.c
71
d->handle = adev->handle;
drivers/thermal/intel/int340x_thermal/int3402_thermal.c
81
acpi_remove_notify_handler(d->handle,
drivers/thermal/intel/int340x_thermal/int3403_thermal.c
103
acpi_remove_notify_handler(priv->adev->handle,
drivers/thermal/intel/int340x_thermal/int3403_thermal.c
128
status = acpi_evaluate_integer(priv->adev->handle, "PPPC", NULL, &level);
drivers/thermal/intel/int340x_thermal/int3403_thermal.c
142
status = acpi_execute_simple_method(priv->adev->handle, "SPPC", state);
drivers/thermal/intel/int340x_thermal/int3403_thermal.c
167
status = acpi_evaluate_object(priv->adev->handle, "PPSS", NULL, &buf);
drivers/thermal/intel/int340x_thermal/int3403_thermal.c
220
status = acpi_evaluate_integer(priv->adev->handle, "_TMP",
drivers/thermal/intel/int340x_thermal/int3403_thermal.c
223
status = acpi_evaluate_integer(priv->adev->handle, "PTYP",
drivers/thermal/intel/int340x_thermal/int3403_thermal.c
40
static void int3403_notify(acpi_handle handle,
drivers/thermal/intel/int340x_thermal/int3403_thermal.c
86
result = acpi_install_notify_handler(priv->adev->handle,
drivers/thermal/intel/int340x_thermal/int3406_thermal.c
113
status = acpi_evaluate_integer(d->handle, "DDDL", NULL, &lower_limit);
drivers/thermal/intel/int340x_thermal/int3406_thermal.c
118
status = acpi_evaluate_integer(d->handle, "DDPC", NULL, &upper_limit);
drivers/thermal/intel/int340x_thermal/int3406_thermal.c
128
static void int3406_notify(acpi_handle handle, u32 event, void *data)
drivers/thermal/intel/int340x_thermal/int3406_thermal.c
147
d->handle = ACPI_HANDLE(&pdev->dev);
drivers/thermal/intel/int340x_thermal/int3406_thermal.c
165
ret = acpi_install_notify_handler(adev->handle, ACPI_DEVICE_NOTIFY,
drivers/thermal/intel/int340x_thermal/int3406_thermal.c
21
acpi_handle handle;
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
132
status = acpi_evaluate_integer(adev->handle, "PATC", NULL, &trip_cnt);
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
152
status = acpi_evaluate_integer(adev->handle, "GTSH", NULL, &hyst);
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
161
int34x_zone->lpat_table = acpi_lpat_get_conversion_table(adev->handle);
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
21
status = acpi_evaluate_integer(d->adev->handle, "_TMP", NULL, &tmp);
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c
52
status = acpi_execute_simple_method(d->adev->handle, name,
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
207
status = acpi_evaluate_object(proc_priv->adev->handle, "PPCC",
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
248
static void proc_thermal_notify(acpi_handle handle, u32 event, void *data)
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
286
status = acpi_evaluate_integer(adev->handle, "_TMP", NULL, &tmp);
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
299
ret = acpi_install_notify_handler(adev->handle, ACPI_DEVICE_NOTIFY,
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
318
acpi_remove_notify_handler(adev->handle,
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
329
acpi_remove_notify_handler(proc_priv->adev->handle,
drivers/thermal/intel/intel_bxt_pmic_thermal.c
127
.handle = "STR0",
drivers/thermal/intel/intel_bxt_pmic_thermal.c
132
.handle = "STR1",
drivers/thermal/intel/intel_bxt_pmic_thermal.c
137
.handle = "STR2",
drivers/thermal/intel/intel_bxt_pmic_thermal.c
142
.handle = "STR3",
drivers/thermal/intel/intel_bxt_pmic_thermal.c
195
tzd = thermal_zone_get_zone_by_name(td->maps[i].handle);
drivers/thermal/intel/intel_bxt_pmic_thermal.c
40
char handle[20];
drivers/thunderbolt/acpi.c
14
static acpi_status tb_acpi_add_link(acpi_handle handle, u32 level, void *data,
drivers/thunderbolt/acpi.c
17
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/thunderbolt/acpi.c
204
obj = acpi_evaluate_dsm_typed(adev->handle, &retimer_dsm_guid, 1,
drivers/thunderbolt/acpi.c
227
obj = acpi_evaluate_dsm_typed(adev->handle, &retimer_dsm_guid, 1,
drivers/thunderbolt/acpi.c
347
if (acpi_check_dsm(adev->handle, &retimer_dsm_guid, 1,
drivers/tty/ehv_bytechan.c
139
static unsigned int local_ev_byte_channel_send(unsigned int handle,
drivers/tty/ehv_bytechan.c
154
return ev_byte_channel_send(handle, count, p);
drivers/tty/ehv_bytechan.c
233
static int ehv_bc_console_byte_channel_send(unsigned int handle, const char *s,
drivers/tty/ehv_bytechan.c
242
ret = local_ev_byte_channel_send(handle, &len, s);
drivers/tty/ehv_bytechan.c
362
ev_byte_channel_poll(bc->handle, &rx_count, &tx_count);
drivers/tty/ehv_bytechan.c
377
ev_byte_channel_receive(bc->handle, &len, buffer);
drivers/tty/ehv_bytechan.c
422
ret = local_ev_byte_channel_send(bc->handle, &len, bc->buf + bc->tail);
drivers/tty/ehv_bytechan.c
47
uint32_t handle;
drivers/tty/ehv_bytechan.c
674
unsigned int handle;
drivers/tty/ehv_bytechan.c
690
handle = be32_to_cpu(*iprop);
drivers/tty/ehv_bytechan.c
691
i = (handle == stdout_bc) ? 0 : index++;
drivers/tty/ehv_bytechan.c
694
bc->handle = handle;
drivers/tty/ehv_bytechan.c
722
ehv_bc_driver->name, i, bc->handle);
drivers/tty/moxa.c
1413
static int moxa_poll_port(struct moxa_port *p, unsigned int handle,
drivers/tty/moxa.c
1443
if (!handle) /* nothing else to do */
drivers/tty/serdev/core.c
659
acpi_get_parent(adev->handle, &lookup.controller_handle);
drivers/tty/serdev/core.c
701
static acpi_status acpi_serdev_add_device(acpi_handle handle, u32 level,
drivers/tty/serdev/core.c
704
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
drivers/tty/serial/8250/serial_cs.c
346
static int setup_serial(struct pcmcia_device *handle, struct serial_info *info,
drivers/tty/serial/8250/serial_cs.c
357
uart.port.dev = &handle->dev;
drivers/tty/serial/8250/serial_cs.c
362
info->quirk->setup(handle, &uart);
drivers/tty/serial/kgdboc.c
82
static void kgdboc_reset_disconnect(struct input_handle *handle)
drivers/tty/sysrq.c
1002
input_unregister_handle(&sysrq->handle);
drivers/tty/sysrq.c
1008
static void sysrq_disconnect(struct input_handle *handle)
drivers/tty/sysrq.c
1010
struct sysrq_state *sysrq = handle->private;
drivers/tty/sysrq.c
1012
input_close_device(handle);
drivers/tty/sysrq.c
1015
input_unregister_handle(handle);
drivers/tty/sysrq.c
661
struct input_handle handle;
drivers/tty/sysrq.c
806
struct input_handle *handle = &sysrq->handle;
drivers/tty/sysrq.c
815
input_inject_event(handle, EV_KEY, alt_code, 1);
drivers/tty/sysrq.c
816
input_inject_event(handle, EV_KEY, KEY_SYSRQ, 1);
drivers/tty/sysrq.c
817
input_inject_event(handle, EV_SYN, SYN_REPORT, 1);
drivers/tty/sysrq.c
819
input_inject_event(handle, EV_KEY, KEY_SYSRQ, 0);
drivers/tty/sysrq.c
820
input_inject_event(handle, EV_KEY, alt_code, 0);
drivers/tty/sysrq.c
821
input_inject_event(handle, EV_SYN, SYN_REPORT, 1);
drivers/tty/sysrq.c
883
clear_bit(KEY_SYSRQ, sysrq->handle.dev->key);
drivers/tty/sysrq.c
936
static bool sysrq_filter(struct input_handle *handle,
drivers/tty/sysrq.c
939
struct sysrq_state *sysrq = handle->private;
drivers/tty/sysrq.c
980
sysrq->handle.dev = dev;
drivers/tty/sysrq.c
981
sysrq->handle.handler = handler;
drivers/tty/sysrq.c
982
sysrq->handle.name = "sysrq";
drivers/tty/sysrq.c
983
sysrq->handle.private = sysrq;
drivers/tty/sysrq.c
986
error = input_register_handle(&sysrq->handle);
drivers/tty/sysrq.c
993
error = input_open_device(&sysrq->handle);
drivers/tty/vt/keyboard.c
1071
static int kbd_update_leds_helper(struct input_handle *handle, void *data)
drivers/tty/vt/keyboard.c
1075
if (test_bit(EV_LED, handle->dev->evbit))
drivers/tty/vt/keyboard.c
1096
static int kbd_update_leds_helper(struct input_handle *handle, void *data)
drivers/tty/vt/keyboard.c
1100
if (test_bit(EV_LED, handle->dev->evbit)) {
drivers/tty/vt/keyboard.c
1101
input_inject_event(handle, EV_LED, LED_SCROLLL, !!(leds & BIT(0)));
drivers/tty/vt/keyboard.c
1102
input_inject_event(handle, EV_LED, LED_NUML, !!(leds & BIT(1)));
drivers/tty/vt/keyboard.c
1103
input_inject_event(handle, EV_LED, LED_CAPSL, !!(leds & BIT(2)));
drivers/tty/vt/keyboard.c
1104
input_inject_event(handle, EV_SYN, SYN_REPORT, 0);
drivers/tty/vt/keyboard.c
1506
static void kbd_event(struct input_handle *handle, unsigned int event_type,
drivers/tty/vt/keyboard.c
1512
kbd_is_hw_raw(handle->dev))
drivers/tty/vt/keyboard.c
1515
kbd_keycode(event_code, value, kbd_is_hw_raw(handle->dev));
drivers/tty/vt/keyboard.c
1551
struct input_handle __free(kfree) *handle = kzalloc_obj(*handle);
drivers/tty/vt/keyboard.c
1552
if (!handle)
drivers/tty/vt/keyboard.c
1555
handle->dev = dev;
drivers/tty/vt/keyboard.c
1556
handle->handler = handler;
drivers/tty/vt/keyboard.c
1557
handle->name = "kbd";
drivers/tty/vt/keyboard.c
1559
error = input_register_handle(handle);
drivers/tty/vt/keyboard.c
1563
error = input_open_device(handle);
drivers/tty/vt/keyboard.c
1567
retain_and_null_ptr(handle);
drivers/tty/vt/keyboard.c
1572
input_unregister_handle(handle);
drivers/tty/vt/keyboard.c
1576
static void kbd_disconnect(struct input_handle *handle)
drivers/tty/vt/keyboard.c
1578
input_close_device(handle);
drivers/tty/vt/keyboard.c
1579
input_unregister_handle(handle);
drivers/tty/vt/keyboard.c
1580
kfree(handle);
drivers/tty/vt/keyboard.c
1587
static void kbd_start(struct input_handle *handle)
drivers/tty/vt/keyboard.c
1592
kbd_update_leds_helper(handle, &ledstate);
drivers/tty/vt/keyboard.c
190
static int getkeycode_helper(struct input_handle *handle, void *data)
drivers/tty/vt/keyboard.c
194
d->error = input_get_keycode(handle->dev, &d->ke);
drivers/tty/vt/keyboard.c
217
static int setkeycode_helper(struct input_handle *handle, void *data)
drivers/tty/vt/keyboard.c
221
d->error = input_set_keycode(handle->dev, &d->ke);
drivers/tty/vt/keyboard.c
249
static int kd_sound_helper(struct input_handle *handle, void *data)
drivers/tty/vt/keyboard.c
252
struct input_dev *dev = handle->dev;
drivers/tty/vt/keyboard.c
256
input_inject_event(handle, EV_SND, SND_TONE, *hz);
drivers/tty/vt/keyboard.c
261
input_inject_event(handle, EV_SND, SND_BELL, *hz ? 1 : 0);
drivers/tty/vt/keyboard.c
291
static int kbd_rate_helper(struct input_handle *handle, void *data)
drivers/tty/vt/keyboard.c
293
struct input_dev *dev = handle->dev;
drivers/tty/vt/keyboard.c
299
input_inject_event(handle,
drivers/tty/vt/keyboard.c
302
input_inject_event(handle,
drivers/uio/uio_pci_generic_sva.c
28
struct iommu_sva *handle;
drivers/uio/uio_pci_generic_sva.c
39
handle = iommu_sva_bind_device(&udev->pdev->dev, current->mm);
drivers/uio/uio_pci_generic_sva.c
40
if (IS_ERR(handle))
drivers/uio/uio_pci_generic_sva.c
43
udev->pasid = iommu_sva_get_pasid(handle);
drivers/uio/uio_pci_generic_sva.c
45
udev->sva_handle = handle;
drivers/usb/core/usb-acpi.c
203
usb_acpi_get_connect_type(struct usb_port *port_dev, acpi_handle *handle)
drivers/usb/core/usb-acpi.c
220
if (acpi_get_physical_device_location(handle, &pld) && pld)
drivers/usb/core/usb-acpi.c
224
status = acpi_evaluate_object(handle, "_UPC", NULL, &buffer);
drivers/usb/core/usb-acpi.c
290
usb_acpi_get_connect_type(port_dev, adev->handle);
drivers/usb/gadget/function/uvc.h
200
#define to_uvc_file_handle(handle) \
drivers/usb/gadget/function/uvc.h
201
container_of(handle, struct uvc_file_handle, vfh)
drivers/usb/gadget/function/uvc_v4l2.c
571
struct uvc_file_handle *handle = to_uvc_file_handle(fh);
drivers/usb/gadget/function/uvc_v4l2.c
588
handle->is_uvc_app_handle = true;
drivers/usb/gadget/function/uvc_v4l2.c
610
struct uvc_file_handle *handle = to_uvc_file_handle(fh);
drivers/usb/gadget/function/uvc_v4l2.c
617
if (sub->type == UVC_EVENT_SETUP && handle->is_uvc_app_handle) {
drivers/usb/gadget/function/uvc_v4l2.c
619
handle->is_uvc_app_handle = false;
drivers/usb/gadget/function/uvc_v4l2.c
671
struct uvc_file_handle *handle;
drivers/usb/gadget/function/uvc_v4l2.c
673
handle = kzalloc_obj(*handle);
drivers/usb/gadget/function/uvc_v4l2.c
674
if (handle == NULL)
drivers/usb/gadget/function/uvc_v4l2.c
677
v4l2_fh_init(&handle->vfh, vdev);
drivers/usb/gadget/function/uvc_v4l2.c
678
v4l2_fh_add(&handle->vfh, file);
drivers/usb/gadget/function/uvc_v4l2.c
680
handle->device = &uvc->video;
drivers/usb/gadget/function/uvc_v4l2.c
690
struct uvc_file_handle *handle = file_to_uvc_file_handle(file);
drivers/usb/gadget/function/uvc_v4l2.c
691
struct uvc_video *video = handle->device;
drivers/usb/gadget/function/uvc_v4l2.c
694
if (handle->is_uvc_app_handle)
drivers/usb/gadget/function/uvc_v4l2.c
698
v4l2_fh_del(&handle->vfh, file);
drivers/usb/gadget/function/uvc_v4l2.c
699
v4l2_fh_exit(&handle->vfh);
drivers/usb/gadget/function/uvc_v4l2.c
700
kfree(handle);
drivers/usb/typec/ucsi/ucsi_acpi.c
158
static void ucsi_acpi_notify(acpi_handle handle, u32 event, void *data)
drivers/vfio/platform/vfio_platform_common.c
76
acpi_handle handle = ACPI_HANDLE(dev);
drivers/vfio/platform/vfio_platform_common.c
79
acpi_ret = acpi_evaluate_object(handle, "_RST", NULL, NULL);
drivers/vfio/platform/vfio_platform_common.c
96
acpi_handle handle = ACPI_HANDLE(dev);
drivers/vfio/platform/vfio_platform_common.c
98
return acpi_has_method(handle, "_RST");
drivers/video/fbdev/acornfb.c
1004
base = dma_alloc_wc(current_par.dev, size, &handle,
drivers/video/fbdev/acornfb.c
1012
fb_info.fix.smem_start = handle;
drivers/video/fbdev/acornfb.c
996
dma_addr_t handle;
drivers/video/fbdev/sh_mobile_lcdcfb.c
396
static void lcdc_sys_write_index(void *handle, unsigned long data)
drivers/video/fbdev/sh_mobile_lcdcfb.c
398
struct sh_mobile_lcdc_chan *ch = handle;
drivers/video/fbdev/sh_mobile_lcdcfb.c
407
static void lcdc_sys_write_data(void *handle, unsigned long data)
drivers/video/fbdev/sh_mobile_lcdcfb.c
409
struct sh_mobile_lcdc_chan *ch = handle;
drivers/video/fbdev/sh_mobile_lcdcfb.c
418
static unsigned long lcdc_sys_read_data(void *handle)
drivers/video/fbdev/sh_mobile_lcdcfb.c
420
struct sh_mobile_lcdc_chan *ch = handle;
drivers/virt/fsl_hypervisor.c
375
param.ret = fh_partition_set_dtprop(param.handle,
drivers/virt/fsl_hypervisor.c
381
param.ret = fh_partition_get_dtprop(param.handle,
drivers/virt/fsl_hypervisor.c
730
uint32_t handle;
drivers/virt/fsl_hypervisor.c
752
handle = be32_to_cpup(prop);
drivers/virt/fsl_hypervisor.c
755
return handle;
drivers/virt/fsl_hypervisor.c
838
const uint32_t *handle;
drivers/virt/fsl_hypervisor.c
840
handle = of_get_property(np, "interrupts", NULL);
drivers/virt/fsl_hypervisor.c
842
if (!handle || !irq) {
drivers/virt/fsl_hypervisor.c
853
dbisr->doorbell = be32_to_cpup(handle);
drivers/virt/vmgenid.c
46
static void vmgenid_acpi_handler(acpi_handle __always_unused handle,
drivers/virt/vmgenid.c
62
status = acpi_evaluate_object(device->handle, "ADDR", NULL, &parsed);
drivers/virt/vmgenid.c
85
status = acpi_install_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
drivers/watchdog/ni903x_wdt.c
195
status = acpi_walk_resources(device->handle, METHOD_NAME__CRS,
drivers/watchdog/sun4v_wdt.c
110
handle = mdesc_grab();
drivers/watchdog/sun4v_wdt.c
111
if (!handle)
drivers/watchdog/sun4v_wdt.c
114
node = mdesc_node_by_name(handle, MDESC_NODE_NULL, "platform");
drivers/watchdog/sun4v_wdt.c
127
value = mdesc_get_property(handle, node, "watchdog-resolution", NULL);
drivers/watchdog/sun4v_wdt.c
135
value = mdesc_get_property(handle, node, "watchdog-max-timeout", NULL);
drivers/watchdog/sun4v_wdt.c
164
mdesc_release(handle);
drivers/watchdog/sun4v_wdt.c
172
mdesc_release(handle);
drivers/watchdog/sun4v_wdt.c
94
struct mdesc_handle *handle;
drivers/xen/gntdev.c
203
add->map_ops[i].handle = INVALID_GRANT_HANDLE;
drivers/xen/gntdev.c
204
add->unmap_ops[i].handle = INVALID_GRANT_HANDLE;
drivers/xen/gntdev.c
206
add->kmap_ops[i].handle = INVALID_GRANT_HANDLE;
drivers/xen/gntdev.c
207
add->kunmap_ops[i].handle = INVALID_GRANT_HANDLE;
drivers/xen/gntdev.c
331
if (map->map_ops[0].handle != INVALID_GRANT_HANDLE)
drivers/xen/gntdev.c
376
map->unmap_ops[i].handle = map->map_ops[i].handle;
drivers/xen/gntdev.c
387
map->kunmap_ops[i].handle = map->kmap_ops[i].handle;
drivers/xen/gntdev.c
407
map->unmap_ops[offset + i].handle != INVALID_GRANT_HANDLE)
drivers/xen/gntdev.c
411
map->unmap_ops[offset + i].handle != INVALID_GRANT_HANDLE);
drivers/xen/gntdev.c
413
map->unmap_ops[offset+i].handle,
drivers/xen/gntdev.c
415
map->unmap_ops[offset+i].handle = INVALID_GRANT_HANDLE;
drivers/xen/gntdev.c
418
map->kunmap_ops[offset + i].handle != INVALID_GRANT_HANDLE)
drivers/xen/gntdev.c
422
map->kunmap_ops[offset + i].handle != INVALID_GRANT_HANDLE);
drivers/xen/gntdev.c
424
map->kunmap_ops[offset+i].handle,
drivers/xen/gntdev.c
426
map->kunmap_ops[offset+i].handle = INVALID_GRANT_HANDLE;
drivers/xen/pci.c
103
status = acpi_evaluate_integer(handle, "_PXM",
drivers/xen/pci.c
110
status = acpi_get_parent(handle, &handle);
drivers/xen/pci.c
66
acpi_handle handle;
drivers/xen/pci.c
80
handle = ACPI_HANDLE(&pci_dev->dev);
drivers/xen/pci.c
82
if (!handle && pci_dev->is_virtfn)
drivers/xen/pci.c
83
handle = ACPI_HANDLE(physfn->bus->bridge);
drivers/xen/pci.c
85
if (!handle) {
drivers/xen/pci.c
92
handle = acpi_pci_get_bridge_handle(pbus);
drivers/xen/pci.c
93
if (handle)
drivers/xen/pci.c
97
if (handle) {
drivers/xen/xen-acpi-pad.c
102
acpi_pad_handle_notify(handle);
drivers/xen/xen-acpi-pad.c
117
status = acpi_install_notify_handler(device->handle,
drivers/xen/xen-acpi-pad.c
131
acpi_remove_notify_handler(device->handle,
drivers/xen/xen-acpi-pad.c
50
static int acpi_pad_pur(acpi_handle handle)
drivers/xen/xen-acpi-pad.c
56
if (ACPI_FAILURE(acpi_evaluate_object(handle, "_PUR", NULL, &buffer)))
drivers/xen/xen-acpi-pad.c
73
static void acpi_pad_handle_notify(acpi_handle handle)
drivers/xen/xen-acpi-pad.c
83
idle_nums = acpi_pad_pur(handle);
drivers/xen/xen-acpi-pad.c
92
acpi_evaluate_ost(handle, ACPI_PROCESSOR_AGGREGATOR_NOTIFY,
drivers/xen/xen-acpi-pad.c
97
static void acpi_pad_notify(acpi_handle handle, u32 event,
drivers/xen/xen-acpi-processor.c
325
read_acpi_id(acpi_handle handle, u32 lvl, void *context, void **rv)
drivers/xen/xen-acpi-processor.c
335
status = acpi_get_type(handle, &acpi_type);
drivers/xen/xen-acpi-processor.c
341
status = acpi_evaluate_object(handle, NULL, NULL, &buffer);
drivers/xen/xen-acpi-processor.c
348
status = acpi_evaluate_integer(handle, "_UID", NULL, &tmp);
drivers/xen/xen-acpi-processor.c
356
if (invalid_phys_cpuid(acpi_get_phys_id(handle,
drivers/xen/xen-acpi-processor.c
375
if (!acpi_processor_get_psd(handle, &acpi_psd[acpi_id])) {
drivers/xen/xen-acpi-processor.c
381
if (!pblk && !acpi_has_method(handle, "_CST"))
drivers/xen/xen-front-pgdir-shbuf.c
299
map_ops[cur_page].handle;
drivers/xen/xen-scsiback.c
234
grant_handle_t handle;
drivers/xen/xen-scsiback.c
245
handle = req->grant_handles[i];
drivers/xen/xen-scsiback.c
246
if (handle == SCSIBACK_INVALID_HANDLE)
drivers/xen/xen-scsiback.c
249
GNTMAP_host_map, handle);
drivers/xen/xen-scsiback.c
451
map[i].handle = SCSIBACK_INVALID_HANDLE;
drivers/xen/xen-scsiback.c
457
grant[i] = map[i].handle;
drivers/xen/xenbus/xenbus.h
64
struct xenbus_watch *handle;
drivers/xen/xenbus/xenbus_client.c
590
handles[i] = info->map[i].handle;
drivers/xen/xenbus/xenbus_client.c
838
unmap[i].handle = node->handles[i];
drivers/xen/xenbus/xenbus_dev_frontend.c
321
xenbus_transaction_end(trans->handle, 1);
drivers/xen/xenbus/xenbus_dev_frontend.c
357
if (trans->handle.id == tx_id)
drivers/xen/xenbus/xenbus_dev_frontend.c
382
rc = kstrtou32(req->body, 10, &trans->handle.id);
drivers/xen/xenbus/xenbus_dev_frontend.c
74
struct xenbus_transaction handle;
drivers/xen/xenbus/xenbus_xs.c
698
event->handle = find_watch(event->token);
drivers/xen/xenbus/xenbus_xs.c
699
if (event->handle != NULL &&
drivers/xen/xenbus/xenbus_xs.c
700
(!event->handle->will_handle ||
drivers/xen/xenbus/xenbus_xs.c
701
event->handle->will_handle(event->handle,
drivers/xen/xenbus/xenbus_xs.c
705
event->handle->nr_pending++;
drivers/xen/xenbus/xenbus_xs.c
793
if (event->handle != watch)
drivers/xen/xenbus/xenbus_xs.c
863
event->handle->nr_pending--;
drivers/xen/xenbus/xenbus_xs.c
868
event->handle->callback(event->handle, event->path,
fs/ext4/acl.c
189
__ext4_set_acl(handle_t *handle, struct inode *inode, int type,
fs/ext4/acl.c
217
error = ext4_xattr_set_handle(handle, inode, name_index, "",
fs/ext4/acl.c
231
handle_t *handle;
fs/ext4/acl.c
247
handle = ext4_journal_start(inode, EXT4_HT_XATTR, credits);
fs/ext4/acl.c
248
if (IS_ERR(handle))
fs/ext4/acl.c
249
return PTR_ERR(handle);
fs/ext4/acl.c
259
error = __ext4_set_acl(handle, inode, type, acl, 0 /* xattr_flags */);
fs/ext4/acl.c
263
error = ext4_mark_inode_dirty(handle, inode);
fs/ext4/acl.c
266
ext4_journal_stop(handle);
fs/ext4/acl.c
279
ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir)
fs/ext4/acl.c
289
error = __ext4_set_acl(handle, inode, ACL_TYPE_DEFAULT,
fs/ext4/acl.c
297
error = __ext4_set_acl(handle, inode, ACL_TYPE_ACCESS,
fs/ext4/acl.h
69
ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir)
fs/ext4/balloc.c
736
ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
fs/ext4/balloc.c
750
ret = ext4_mb_new_blocks(handle, &ar, errp);
fs/ext4/crypto.c
102
err = ext4_journal_get_write_access(handle, sb, sbi->s_sbh,
fs/ext4/crypto.c
110
err = ext4_handle_dirty_metadata(handle, NULL, sbi->s_sbh);
fs/ext4/crypto.c
112
err2 = ext4_journal_stop(handle);
fs/ext4/crypto.c
135
handle_t *handle = fs_data;
fs/ext4/crypto.c
165
if (handle) {
fs/ext4/crypto.c
173
res = ext4_xattr_set_handle(handle, inode,
fs/ext4/crypto.c
199
handle = ext4_journal_start(inode, EXT4_HT_MISC, credits);
fs/ext4/crypto.c
200
if (IS_ERR(handle))
fs/ext4/crypto.c
201
return PTR_ERR(handle);
fs/ext4/crypto.c
203
res = ext4_xattr_set_handle(handle, inode, EXT4_XATTR_INDEX_ENCRYPTION,
fs/ext4/crypto.c
213
res = ext4_mark_inode_dirty(handle, inode);
fs/ext4/crypto.c
217
res2 = ext4_journal_stop(handle);
fs/ext4/crypto.c
88
handle_t *handle;
fs/ext4/crypto.c
97
handle = ext4_journal_start_sb(sb, EXT4_HT_MISC, 1);
fs/ext4/crypto.c
98
if (IS_ERR(handle)) {
fs/ext4/crypto.c
99
err = PTR_ERR(handle);
fs/ext4/ext4.h
2791
extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
294
handle_t *handle; /* handle reserved for extent
fs/ext4/ext4.h
2949
#define ext4_new_inode(handle, dir, mode, qstr, goal, owner, i_flags) \
fs/ext4/ext4.h
2950
__ext4_new_inode(&nop_mnt_idmap, (handle), (dir), (mode), (qstr), \
fs/ext4/ext4.h
2971
void ext4_fc_track_range(handle_t *handle, struct inode *inode, ext4_lblk_t start,
fs/ext4/ext4.h
2973
void __ext4_fc_track_unlink(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
2975
void __ext4_fc_track_link(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
2977
void ext4_fc_track_unlink(handle_t *handle, struct dentry *dentry);
fs/ext4/ext4.h
2978
void ext4_fc_track_link(handle_t *handle, struct dentry *dentry);
fs/ext4/ext4.h
2979
void __ext4_fc_track_create(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
2981
void ext4_fc_track_create(handle_t *handle, struct dentry *dentry);
fs/ext4/ext4.h
2982
void ext4_fc_track_inode(handle_t *handle, struct inode *inode);
fs/ext4/ext4.h
2983
void ext4_fc_mark_ineligible(struct super_block *sb, int reason, handle_t *handle);
fs/ext4/ext4.h
3011
extern void ext4_free_blocks(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3018
extern int ext4_group_add_blocks(handle_t *handle, struct super_block *sb,
fs/ext4/ext4.h
3044
int ext4_walk_page_buffers(handle_t *handle,
fs/ext4/ext4.h
3050
int (*fn)(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3052
int do_journal_get_write_access(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3103
extern int ext4_zero_partial_blocks(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3126
extern int ext4_ind_map_blocks(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3130
extern int ext4_ind_remove_space(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3148
extern int ext4_init_new_dir(handle_t *handle, struct inode *dir,
fs/ext4/ext4.h
3651
extern int ext4_destroy_inline_data(handle_t *handle, struct inode *inode);
fs/ext4/ext4.h
3666
extern int ext4_try_add_inline_entry(handle_t *handle,
fs/ext4/ext4.h
3669
extern int ext4_try_create_inline_dir(handle_t *handle,
fs/ext4/ext4.h
3684
extern int ext4_delete_inline_entry(handle_t *handle,
fs/ext4/ext4.h
3712
extern int ext4_init_dirblock(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3718
extern int ext4_handle_dirty_dirblock(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3785
extern void ext4_ext_tree_init(handle_t *handle, struct inode *inode);
fs/ext4/ext4.h
3787
extern int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3796
extern int ext4_convert_unwritten_extents(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3798
extern int ext4_convert_unwritten_extents_atomic(handle_t *handle,
fs/ext4/ext4.h
3800
extern int ext4_convert_unwritten_io_end_vec(handle_t *handle,
fs/ext4/ext4.h
3802
extern int ext4_map_blocks(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3804
extern int ext4_map_query_blocks(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3806
extern int ext4_map_create_blocks(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3812
handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3827
extern int ext4_swap_extents(handle_t *handle, struct inode *inode1,
fs/ext4/ext4.h
3832
extern int ext4_datasem_ensure_credits(handle_t *handle, struct inode *inode,
fs/ext4/ext4.h
3945
extern int ext4_block_write_begin(handle_t *handle, struct folio *folio,
fs/ext4/ext4_extents.h
268
handle_t *handle, struct inode *inode,
fs/ext4/ext4_extents.h
274
handle_t *handle, struct inode *inode,
fs/ext4/ext4_jbd2.c
118
int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle)
fs/ext4/ext4_jbd2.c
124
if (!ext4_handle_valid(handle)) {
fs/ext4/ext4_jbd2.c
125
ext4_put_nojournal(handle);
fs/ext4/ext4_jbd2.c
129
err = handle->h_err;
fs/ext4/ext4_jbd2.c
130
if (!handle->h_transaction) {
fs/ext4/ext4_jbd2.c
131
rc = jbd2_journal_stop(handle);
fs/ext4/ext4_jbd2.c
135
sb = handle->h_transaction->t_journal->j_private;
fs/ext4/ext4_jbd2.c
136
rc = jbd2_journal_stop(handle);
fs/ext4/ext4_jbd2.c
145
handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
fs/ext4/ext4_jbd2.c
151
if (!ext4_handle_valid(handle))
fs/ext4/ext4_jbd2.c
154
sb = handle->h_journal->j_private;
fs/ext4/ext4_jbd2.c
156
jbd2_handle_buffer_credits(handle), _RET_IP_);
fs/ext4/ext4_jbd2.c
159
jbd2_journal_free_reserved(handle);
fs/ext4/ext4_jbd2.c
163
err = jbd2_journal_start_reserved(handle, type, line);
fs/ext4/ext4_jbd2.c
166
return handle;
fs/ext4/ext4_jbd2.c
169
int __ext4_journal_ensure_credits(handle_t *handle, int check_cred,
fs/ext4/ext4_jbd2.c
172
if (!ext4_handle_valid(handle))
fs/ext4/ext4_jbd2.c
174
if (is_handle_aborted(handle))
fs/ext4/ext4_jbd2.c
176
if (jbd2_handle_buffer_credits(handle) >= check_cred &&
fs/ext4/ext4_jbd2.c
177
handle->h_revoke_credits >= revoke_cred)
fs/ext4/ext4_jbd2.c
179
extend_cred = max(0, extend_cred - jbd2_handle_buffer_credits(handle));
fs/ext4/ext4_jbd2.c
180
revoke_cred = max(0, revoke_cred - handle->h_revoke_credits);
fs/ext4/ext4_jbd2.c
181
return ext4_journal_extend(handle, extend_cred, revoke_cred);
fs/ext4/ext4_jbd2.c
187
handle_t *handle, int err)
fs/ext4/ext4_jbd2.c
192
BUG_ON(!ext4_handle_valid(handle));
fs/ext4/ext4_jbd2.c
197
if (!handle->h_err)
fs/ext4/ext4_jbd2.c
198
handle->h_err = err;
fs/ext4/ext4_jbd2.c
200
if (is_handle_aborted(handle))
fs/ext4/ext4_jbd2.c
206
jbd2_journal_abort_handle(handle);
fs/ext4/ext4_jbd2.c
232
handle_t *handle, struct super_block *sb,
fs/ext4/ext4_jbd2.c
240
if (ext4_handle_valid(handle)) {
fs/ext4/ext4_jbd2.c
241
err = jbd2_journal_get_write_access(handle, bh);
fs/ext4/ext4_jbd2.c
244
handle, err);
fs/ext4/ext4_jbd2.c
267
int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
fs/ext4/ext4_jbd2.c
286
if (!ext4_handle_valid(handle)) {
fs/ext4/ext4_jbd2.c
304
err = jbd2_journal_forget(handle, bh);
fs/ext4/ext4_jbd2.c
307
bh, handle, err);
fs/ext4/ext4_jbd2.c
317
err = jbd2_journal_revoke(handle, blocknr, bh);
fs/ext4/ext4_jbd2.c
320
bh, handle, err);
fs/ext4/ext4_jbd2.c
329
handle_t *handle, struct super_block *sb,
fs/ext4/ext4_jbd2.c
335
if (!ext4_handle_valid(handle))
fs/ext4/ext4_jbd2.c
338
err = jbd2_journal_get_create_access(handle, bh);
fs/ext4/ext4_jbd2.c
340
ext4_journal_abort_handle(where, line, __func__, bh, handle,
fs/ext4/ext4_jbd2.c
35
handle_t *handle = current->journal_info;
fs/ext4/ext4_jbd2.c
354
handle_t *handle, struct inode *inode,
fs/ext4/ext4_jbd2.c
36
unsigned long ref_cnt = (unsigned long)handle;
fs/ext4/ext4_jbd2.c
364
if (ext4_handle_valid(handle)) {
fs/ext4/ext4_jbd2.c
365
err = jbd2_journal_dirty_metadata(handle, bh);
fs/ext4/ext4_jbd2.c
367
if (!is_handle_aborted(handle) && WARN_ON_ONCE(err)) {
fs/ext4/ext4_jbd2.c
369
handle, err);
fs/ext4/ext4_jbd2.c
374
handle->h_type,
fs/ext4/ext4_jbd2.c
375
handle->h_line_no,
fs/ext4/ext4_jbd2.c
376
handle->h_requested_credits,
fs/ext4/ext4_jbd2.c
377
jbd2_handle_buffer_credits(handle), err);
fs/ext4/ext4_jbd2.c
385
handle->h_type,
fs/ext4/ext4_jbd2.c
386
handle->h_line_no,
fs/ext4/ext4_jbd2.c
387
handle->h_requested_credits,
fs/ext4/ext4_jbd2.c
388
jbd2_handle_buffer_credits(handle),
fs/ext4/ext4_jbd2.c
41
handle = (handle_t *)ref_cnt;
fs/ext4/ext4_jbd2.c
43
current->journal_info = handle;
fs/ext4/ext4_jbd2.c
44
return handle;
fs/ext4/ext4_jbd2.c
49
static void ext4_put_nojournal(handle_t *handle)
fs/ext4/ext4_jbd2.c
51
unsigned long ref_cnt = (unsigned long)handle;
fs/ext4/ext4_jbd2.c
56
handle = (handle_t *)ref_cnt;
fs/ext4/ext4_jbd2.c
58
current->journal_info = handle;
fs/ext4/ext4_jbd2.h
126
ext4_mark_iloc_dirty(handle_t *handle,
fs/ext4/ext4_jbd2.h
135
int ext4_reserve_inode_write(handle_t *handle, struct inode *inode,
fs/ext4/ext4_jbd2.h
140
int __ext4_mark_inode_dirty(handle_t *handle, struct inode *inode,
fs/ext4/ext4_jbd2.h
150
handle_t *handle, struct super_block *sb,
fs/ext4/ext4_jbd2.h
154
int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
fs/ext4/ext4_jbd2.h
159
handle_t *handle, struct super_block *sb,
fs/ext4/ext4_jbd2.h
164
handle_t *handle, struct inode *inode,
fs/ext4/ext4_jbd2.h
167
#define ext4_journal_get_write_access(handle, sb, bh, trigger_type) \
fs/ext4/ext4_jbd2.h
168
__ext4_journal_get_write_access(__func__, __LINE__, (handle), (sb), \
fs/ext4/ext4_jbd2.h
170
#define ext4_forget(handle, is_metadata, inode, bh, block_nr) \
fs/ext4/ext4_jbd2.h
171
__ext4_forget(__func__, __LINE__, (handle), (is_metadata), (inode), \
fs/ext4/ext4_jbd2.h
173
#define ext4_journal_get_create_access(handle, sb, bh, trigger_type) \
fs/ext4/ext4_jbd2.h
174
__ext4_journal_get_create_access(__func__, __LINE__, (handle), (sb), \
fs/ext4/ext4_jbd2.h
176
#define ext4_handle_dirty_metadata(handle, inode, bh) \
fs/ext4/ext4_jbd2.h
177
__ext4_handle_dirty_metadata(__func__, __LINE__, (handle), (inode), \
fs/ext4/ext4_jbd2.h
183
int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle);
fs/ext4/ext4_jbd2.h
189
static inline int ext4_handle_valid(handle_t *handle)
fs/ext4/ext4_jbd2.h
191
if ((unsigned long)handle < EXT4_NOJOURNAL_MAX_REF_COUNT)
fs/ext4/ext4_jbd2.h
196
static inline void ext4_handle_sync(handle_t *handle)
fs/ext4/ext4_jbd2.h
198
if (ext4_handle_valid(handle))
fs/ext4/ext4_jbd2.h
199
handle->h_sync = 1;
fs/ext4/ext4_jbd2.h
202
static inline int ext4_handle_is_aborted(handle_t *handle)
fs/ext4/ext4_jbd2.h
204
if (ext4_handle_valid(handle))
fs/ext4/ext4_jbd2.h
205
return is_handle_aborted(handle);
fs/ext4/ext4_jbd2.h
246
#define ext4_journal_stop(handle) \
fs/ext4/ext4_jbd2.h
247
__ext4_journal_stop(__func__, __LINE__, (handle))
fs/ext4/ext4_jbd2.h
249
#define ext4_journal_start_reserved(handle, type) \
fs/ext4/ext4_jbd2.h
250
__ext4_journal_start_reserved((handle), __LINE__, (type))
fs/ext4/ext4_jbd2.h
252
handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
fs/ext4/ext4_jbd2.h
260
static inline int ext4_journal_extend(handle_t *handle, int nblocks, int revoke)
fs/ext4/ext4_jbd2.h
262
if (ext4_handle_valid(handle))
fs/ext4/ext4_jbd2.h
263
return jbd2_journal_extend(handle, nblocks, revoke);
fs/ext4/ext4_jbd2.h
267
static inline int ext4_journal_restart(handle_t *handle, int nblocks,
fs/ext4/ext4_jbd2.h
270
if (ext4_handle_valid(handle))
fs/ext4/ext4_jbd2.h
271
return jbd2__journal_restart(handle, nblocks, revoke, GFP_NOFS);
fs/ext4/ext4_jbd2.h
275
int __ext4_journal_ensure_credits(handle_t *handle, int check_cred,
fs/ext4/ext4_jbd2.h
289
#define ext4_journal_ensure_credits_fn(handle, check_cred, extend_cred, \
fs/ext4/ext4_jbd2.h
293
int err = __ext4_journal_ensure_credits((handle), (check_cred), \
fs/ext4/ext4_jbd2.h
301
err = ext4_journal_restart((handle), (extend_cred), (revoke_cred)); \
fs/ext4/ext4_jbd2.h
315
static inline int ext4_journal_ensure_credits(handle_t *handle, int credits,
fs/ext4/ext4_jbd2.h
318
return ext4_journal_ensure_credits_fn(handle, credits, credits,
fs/ext4/ext4_jbd2.h
336
static inline int ext4_jbd2_inode_add_write(handle_t *handle,
fs/ext4/ext4_jbd2.h
339
if (ext4_handle_valid(handle))
fs/ext4/ext4_jbd2.h
340
return jbd2_journal_inode_ranged_write(handle,
fs/ext4/ext4_jbd2.h
345
static inline int ext4_jbd2_inode_add_wait(handle_t *handle,
fs/ext4/ext4_jbd2.h
348
if (ext4_handle_valid(handle))
fs/ext4/ext4_jbd2.h
349
return jbd2_journal_inode_ranged_wait(handle,
fs/ext4/ext4_jbd2.h
354
static inline void ext4_update_inode_fsync_trans(handle_t *handle,
fs/ext4/ext4_jbd2.h
360
if (ext4_handle_valid(handle) && !is_handle_aborted(handle)) {
fs/ext4/ext4_jbd2.h
361
ei->i_sync_tid = handle->h_transaction->t_tid;
fs/ext4/ext4_jbd2.h
363
ei->i_datasync_tid = handle->h_transaction->t_tid;
fs/ext4/extents-test.c
155
handle_t *handle, struct inode *inode,
fs/ext4/extents-test.c
162
ext4_ext_insert_extent_stub(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
1037
err = ext4_ext_dirty(handle, inode, curp);
fs/ext4/extents.c
1053
static int ext4_ext_split(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
1113
newblock = ext4_ext_new_meta_block(handle, inode, path,
fs/ext4/extents.c
1134
err = ext4_journal_get_create_access(handle, inode->i_sb, bh,
fs/ext4/extents.c
1173
err = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/extents.c
1181
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
1185
err = ext4_ext_dirty(handle, inode, path + depth);
fs/ext4/extents.c
1213
err = ext4_journal_get_create_access(handle, inode->i_sb, bh,
fs/ext4/extents.c
1259
err = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/extents.c
1267
err = ext4_ext_get_access(handle, inode, path + i);
fs/ext4/extents.c
1271
err = ext4_ext_dirty(handle, inode, path + i);
fs/ext4/extents.c
1280
err = ext4_ext_insert_index(handle, inode, path + at,
fs/ext4/extents.c
1295
ext4_free_blocks(handle, inode, NULL, ablocks[i], 1,
fs/ext4/extents.c
1312
static int ext4_ext_grow_indepth(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
1330
newblock = ext4_new_meta_blocks(handle, inode, goal, flags,
fs/ext4/extents.c
1340
err = ext4_journal_get_create_access(handle, inode->i_sb, bh,
fs/ext4/extents.c
1367
err = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/extents.c
138
int ext4_datasem_ensure_credits(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
1387
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
1400
ext4_ext_create_new_leaf(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
1424
err = ext4_ext_split(handle, inode, mb_flags, path, newext, i);
fs/ext4/extents.c
1434
err = ext4_ext_grow_indepth(handle, inode, mb_flags);
fs/ext4/extents.c
145
ret = ext4_journal_ensure_credits_fn(handle, check_cred, restart_cred,
fs/ext4/extents.c
157
static int ext4_ext_get_access(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
165
err = ext4_journal_get_write_access(handle, inode->i_sb,
fs/ext4/extents.c
1703
static int ext4_ext_correct_indexes(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
1736
err = ext4_ext_get_access(handle, inode, path + k);
fs/ext4/extents.c
1747
err = ext4_ext_dirty(handle, inode, path + k);
fs/ext4/extents.c
1755
err = ext4_ext_get_access(handle, inode, path + k);
fs/ext4/extents.c
1767
err = ext4_ext_dirty(handle, inode, path + k);
fs/ext4/extents.c
1866
static void ext4_ext_try_to_merge_up(handle_t *handle,
fs/ext4/extents.c
188
handle_t *handle, struct inode *inode,
fs/ext4/extents.c
1884
if (ext4_journal_extend(handle, 2,
fs/ext4/extents.c
1904
ext4_free_blocks(handle, inode, NULL, blk, 1,
fs/ext4/extents.c
1912
static void ext4_ext_try_to_merge(handle_t *handle,
fs/ext4/extents.c
193
KUNIT_STATIC_STUB_REDIRECT(__ext4_ext_dirty, where, line, handle, inode,
fs/ext4/extents.c
1931
ext4_ext_try_to_merge_up(handle, inode, path);
fs/ext4/extents.c
1992
ext4_ext_insert_extent(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
200
err = __ext4_handle_dirty_metadata(where, line, handle,
fs/ext4/extents.c
2003
KUNIT_STATIC_STUB_REDIRECT(ext4_ext_insert_extent, handle, inode, path,
fs/ext4/extents.c
2054
err = ext4_ext_get_access(handle, inode,
fs/ext4/extents.c
207
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
2079
err = ext4_ext_get_access(handle, inode,
fs/ext4/extents.c
212
#define ext4_ext_dirty(handle, inode, path) \
fs/ext4/extents.c
213
__ext4_ext_dirty(__func__, __LINE__, (handle), (inode), (path))
fs/ext4/extents.c
2135
path = ext4_ext_create_new_leaf(handle, inode, mb_flags, gb_flags,
fs/ext4/extents.c
2145
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
2203
ext4_ext_try_to_merge(handle, inode, path, nearex);
fs/ext4/extents.c
2206
err = ext4_ext_correct_indexes(handle, inode, path);
fs/ext4/extents.c
2210
err = ext4_ext_dirty(handle, inode, path + path->p_depth);
fs/ext4/extents.c
2313
static int ext4_ext_rm_idx(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
2326
err = ext4_ext_get_access(handle, inode, path + k);
fs/ext4/extents.c
2337
err = ext4_ext_dirty(handle, inode, path + k);
fs/ext4/extents.c
2343
ext4_free_blocks(handle, inode, NULL, leaf, 1,
fs/ext4/extents.c
2349
err = ext4_ext_get_access(handle, inode, path + k);
fs/ext4/extents.c
2353
err = ext4_ext_dirty(handle, inode, path + k);
fs/ext4/extents.c
2478
static int ext4_remove_blocks(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
2525
ext4_free_blocks(handle, inode, NULL,
fs/ext4/extents.c
2551
ext4_free_blocks(handle, inode, NULL,
fs/ext4/extents.c
2569
ext4_free_blocks(handle, inode, NULL, pblk, num, flags);
fs/ext4/extents.c
2614
ext4_ext_rm_leaf(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
265
ext4_ext_new_meta_block(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
272
newblock = ext4_new_meta_blocks(handle, inode, goal, flags,
fs/ext4/extents.c
2722
err = ext4_datasem_ensure_credits(handle, inode, credits,
fs/ext4/extents.c
2730
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
2734
err = ext4_remove_blocks(handle, inode, ex, partial, a, b);
fs/ext4/extents.c
2770
err = ext4_ext_dirty(handle, inode, path + depth);
fs/ext4/extents.c
2782
err = ext4_ext_correct_indexes(handle, inode, path);
fs/ext4/extents.c
2798
ext4_free_blocks(handle, inode, NULL,
fs/ext4/extents.c
2810
err = ext4_ext_rm_idx(handle, inode, path, depth);
fs/ext4/extents.c
2844
handle_t *handle;
fs/ext4/extents.c
2855
handle = ext4_journal_start_with_revoke(inode, EXT4_HT_TRUNCATE,
fs/ext4/extents.c
2858
if (IS_ERR(handle))
fs/ext4/extents.c
2859
return PTR_ERR(handle);
fs/ext4/extents.c
2879
ext4_journal_stop(handle);
fs/ext4/extents.c
2923
path = ext4_force_split_extent_at(handle, inode, path,
fs/ext4/extents.c
2979
err = ext4_ext_rm_leaf(handle, inode, path,
fs/ext4/extents.c
3040
err = ext4_ext_rm_idx(handle, inode, path, i);
fs/ext4/extents.c
3061
ext4_free_blocks(handle, inode, NULL,
fs/ext4/extents.c
3075
err = ext4_ext_get_access(handle, inode, path);
fs/ext4/extents.c
3080
err = ext4_ext_dirty(handle, inode, path);
fs/ext4/extents.c
3088
ext4_journal_stop(handle);
fs/ext4/extents.c
3191
static struct ext4_ext_path *ext4_split_extent_at(handle_t *handle,
fs/ext4/extents.c
3226
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
3240
err = ext4_ext_dirty(handle, inode, path + depth);
fs/ext4/extents.c
3251
path = ext4_ext_insert_extent(handle, inode, path, &newex, flags);
fs/ext4/extents.c
3286
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
3292
err = ext4_ext_dirty(handle, inode, path + path->p_depth);
fs/ext4/extents.c
3306
static int ext4_split_extent_zeroout(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
332
ext4_force_split_extent_at(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
3385
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
3391
err = ext4_ext_dirty(handle, inode, path + depth);
fs/ext4/extents.c
3409
static struct ext4_ext_path *ext4_split_extent(handle_t *handle,
fs/ext4/extents.c
341
return ext4_split_extent_at(handle, inode, path, lblk, flags);
fs/ext4/extents.c
3436
path = ext4_split_extent_at(handle, inode, path,
fs/ext4/extents.c
3465
path = ext4_split_extent_at(handle, inode, path, map->m_lblk,
fs/ext4/extents.c
3512
if (ext4_split_extent_zeroout(handle, inode, path, map, flags))
fs/ext4/extents.c
3557
ext4_ext_convert_to_initialized(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
3637
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
3683
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
3705
err = ext4_ext_dirty(handle, inode, path + depth);
fs/ext4/extents.c
3775
path = ext4_split_convert_extents(handle, inode, &split_map, path,
fs/ext4/extents.c
3816
static struct ext4_ext_path *ext4_split_convert_extents(handle_t *handle,
fs/ext4/extents.c
3855
path = ext4_split_extent(handle, inode, path, map, split_flag,
fs/ext4/extents.c
3873
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
3887
ext4_ext_try_to_merge(handle, inode, path, ex);
fs/ext4/extents.c
3889
err = ext4_ext_dirty(handle, inode, path + depth);
fs/ext4/extents.c
3914
ext4_convert_unwritten_extents_endio(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
3931
return ext4_split_convert_extents(handle, inode, map, path, flags,
fs/ext4/extents.c
3936
convert_initialized_extent(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
3962
path = ext4_split_convert_extents(handle, inode, map, path, flags,
fs/ext4/extents.c
3969
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/extents.c
3992
ext4_ext_handle_unwritten_extents(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
4015
path = ext4_convert_unwritten_extents_endio(handle, inode,
fs/ext4/extents.c
4019
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/extents.c
4050
path = ext4_ext_convert_to_initialized(handle, inode, map, path,
fs/ext4/extents.c
4054
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/extents.c
4269
int ext4_ext_map_blocks(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
4337
path = convert_initialized_extent(handle,
fs/ext4/extents.c
4353
handle, inode, map, path, flags,
fs/ext4/extents.c
4461
newblock = ext4_mb_new_blocks(handle, &ar, &err);
fs/ext4/extents.c
4482
path = ext4_ext_insert_extent(handle, inode, path, &newex, flags);
fs/ext4/extents.c
45
handle_t *handle, struct inode *inode, struct ext4_map_blocks *map,
fs/ext4/extents.c
4500
ext4_free_blocks(handle, inode, NULL, newblock,
fs/ext4/extents.c
4512
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/extents.c
4514
ext4_update_inode_fsync_trans(handle, inode, 0);
fs/ext4/extents.c
4543
int ext4_ext_truncate(handle_t *handle, struct inode *inode)
fs/ext4/extents.c
4557
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
4579
handle_t *handle;
fs/ext4/extents.c
4627
handle = ext4_journal_start(inode, EXT4_HT_MAP_BLOCKS,
fs/ext4/extents.c
4629
if (IS_ERR(handle)) {
fs/ext4/extents.c
4630
ret = PTR_ERR(handle);
fs/ext4/extents.c
4633
ret = ext4_map_blocks(handle, inode, &map, flags);
fs/ext4/extents.c
4639
ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
4640
ext4_journal_stop(handle);
fs/ext4/extents.c
4657
ext4_zero_partial_blocks(handle, inode,
fs/ext4/extents.c
4661
ret2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
4662
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/extents.c
4663
ret3 = ext4_journal_stop(handle);
fs/ext4/extents.c
4697
handle_t *handle = NULL;
fs/ext4/extents.c
4768
handle = ext4_journal_start(inode, EXT4_HT_MISC, credits);
fs/ext4/extents.c
4769
if (IS_ERR(handle)) {
fs/ext4/extents.c
4770
ret = PTR_ERR(handle);
fs/ext4/extents.c
4776
ret = ext4_zero_partial_blocks(handle, inode, offset, len);
fs/ext4/extents.c
4782
ret = ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
4786
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/extents.c
4788
ext4_handle_sync(handle);
fs/ext4/extents.c
4791
ext4_journal_stop(handle);
fs/ext4/extents.c
4950
int ext4_convert_unwritten_extents_atomic(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
4963
if (!handle) {
fs/ext4/extents.c
4974
handle = ext4_journal_start(inode, EXT4_HT_MAP_BLOCKS, credits);
fs/ext4/extents.c
4975
if (IS_ERR(handle)) {
fs/ext4/extents.c
4976
ret = PTR_ERR(handle);
fs/ext4/extents.c
4984
ret = ext4_map_blocks(handle, inode, &map, flags);
fs/ext4/extents.c
4996
ret2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
4999
ret3 = ext4_journal_stop(handle);
fs/ext4/extents.c
5024
int ext4_convert_unwritten_extents(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
5036
if (!handle) {
fs/ext4/extents.c
5046
handle = ext4_journal_start(inode, EXT4_HT_MAP_BLOCKS,
fs/ext4/extents.c
5048
if (IS_ERR(handle)) {
fs/ext4/extents.c
5049
ret = PTR_ERR(handle);
fs/ext4/extents.c
5058
ret = ext4_map_blocks(handle, inode, &map,
fs/ext4/extents.c
5067
ret2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
5069
ret3 = ext4_journal_stop(handle);
fs/ext4/extents.c
5080
int ext4_convert_unwritten_io_end_vec(handle_t *handle, ext4_io_end_t *io_end)
fs/ext4/extents.c
5090
if (handle) {
fs/ext4/extents.c
5091
handle = ext4_journal_start_reserved(handle,
fs/ext4/extents.c
5093
if (IS_ERR(handle))
fs/ext4/extents.c
5094
return PTR_ERR(handle);
fs/ext4/extents.c
5098
ret = ext4_convert_unwritten_extents(handle, io_end->inode,
fs/ext4/extents.c
5105
if (handle)
fs/ext4/extents.c
5106
err = ext4_journal_stop(handle);
fs/ext4/extents.c
5276
struct inode *inode, handle_t *handle,
fs/ext4/extents.c
5301
err = ext4_datasem_ensure_credits(handle, inode, credits,
fs/ext4/extents.c
5309
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
5333
err = ext4_ext_dirty(handle, inode, path + depth);
fs/ext4/extents.c
5342
err = ext4_ext_get_access(handle, inode, path + depth);
fs/ext4/extents.c
5350
err = ext4_ext_dirty(handle, inode, path + depth);
fs/ext4/extents.c
5373
ext4_ext_shift_extents(struct inode *inode, handle_t *handle,
fs/ext4/extents.c
5499
handle, SHIFT);
fs/ext4/extents.c
5523
handle_t *handle;
fs/ext4/extents.c
5562
handle = ext4_journal_start(inode, EXT4_HT_TRUNCATE, credits);
fs/ext4/extents.c
5563
if (IS_ERR(handle))
fs/ext4/extents.c
5564
return PTR_ERR(handle);
fs/ext4/extents.c
5566
ext4_fc_mark_ineligible(sb, EXT4_FC_REASON_FALLOC_RANGE, handle);
fs/ext4/extents.c
5584
ret = ext4_ext_shift_extents(inode, handle, end_lblk,
fs/ext4/extents.c
5596
ret = ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
5600
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/extents.c
5602
ext4_handle_sync(handle);
fs/ext4/extents.c
5605
ext4_journal_stop(handle);
fs/ext4/extents.c
5622
handle_t *handle;
fs/ext4/extents.c
5658
handle = ext4_journal_start(inode, EXT4_HT_TRUNCATE, credits);
fs/ext4/extents.c
5659
if (IS_ERR(handle))
fs/ext4/extents.c
5660
return PTR_ERR(handle);
fs/ext4/extents.c
5662
ext4_fc_mark_ineligible(sb, EXT4_FC_REASON_FALLOC_RANGE, handle);
fs/ext4/extents.c
5667
ret = ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
5698
path = ext4_split_extent_at(handle, inode, path,
fs/ext4/extents.c
5718
ret = ext4_ext_shift_extents(inode, handle,
fs/ext4/extents.c
5724
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/extents.c
5726
ext4_handle_sync(handle);
fs/ext4/extents.c
5729
ext4_journal_stop(handle);
fs/ext4/extents.c
5754
ext4_swap_extents(handle_t *handle, struct inode *inode1,
fs/ext4/extents.c
5828
path1 = ext4_force_split_extent_at(handle, inode1,
fs/ext4/extents.c
5837
path2 = ext4_force_split_extent_at(handle, inode2,
fs/ext4/extents.c
5858
path1 = ext4_force_split_extent_at(handle, inode1,
fs/ext4/extents.c
5867
path2 = ext4_force_split_extent_at(handle, inode2,
fs/ext4/extents.c
5880
*erp = ext4_ext_get_access(handle, inode1, path1 + path1->p_depth);
fs/ext4/extents.c
5883
*erp = ext4_ext_get_access(handle, inode2, path2 + path2->p_depth);
fs/ext4/extents.c
5898
ext4_ext_try_to_merge(handle, inode2, path2, ex2);
fs/ext4/extents.c
5899
ext4_ext_try_to_merge(handle, inode1, path1, ex1);
fs/ext4/extents.c
5900
*erp = ext4_ext_dirty(handle, inode2, path2 +
fs/ext4/extents.c
5904
*erp = ext4_ext_dirty(handle, inode1, path1 +
fs/ext4/extents.c
6277
struct ext4_ext_path *ext4_split_convert_extents_test(handle_t *handle,
fs/ext4/extents.c
6282
return ext4_split_convert_extents(handle, inode, map, path,
fs/ext4/extents.c
85
static struct ext4_ext_path *ext4_split_extent_at(handle_t *handle,
fs/ext4/extents.c
872
void ext4_ext_tree_init(handle_t *handle, struct inode *inode)
fs/ext4/extents.c
882
ext4_mark_inode_dirty(handle, inode);
fs/ext4/extents.c
975
static int ext4_ext_insert_index(handle_t *handle, struct inode *inode,
fs/ext4/extents.c
982
err = ext4_ext_get_access(handle, inode, curp);
fs/ext4/fast_commit.c
312
void ext4_fc_mark_ineligible(struct super_block *sb, int reason, handle_t *handle)
fs/ext4/fast_commit.c
323
if (handle && !IS_ERR(handle))
fs/ext4/fast_commit.c
324
tid = handle->h_transaction->t_tid;
fs/ext4/fast_commit.c
354
handle_t *handle, struct inode *inode,
fs/ext4/fast_commit.c
355
int (*__fc_track_fn)(handle_t *handle, struct inode *, void *, bool),
fs/ext4/fast_commit.c
365
tid = handle->h_transaction->t_tid;
fs/ext4/fast_commit.c
373
ret = __fc_track_fn(handle, inode, args, update);
fs/ext4/fast_commit.c
396
static int __track_dentry_update(handle_t *handle, struct inode *inode,
fs/ext4/fast_commit.c
413
handle);
fs/ext4/fast_commit.c
420
ext4_fc_mark_ineligible(sb, EXT4_FC_REASON_NOMEM, handle);
fs/ext4/fast_commit.c
458
void __ext4_fc_track_unlink(handle_t *handle,
fs/ext4/fast_commit.c
467
ret = ext4_fc_track_template(handle, inode, __track_dentry_update,
fs/ext4/fast_commit.c
469
trace_ext4_fc_track_unlink(handle, inode, dentry, ret);
fs/ext4/fast_commit.c
472
void ext4_fc_track_unlink(handle_t *handle, struct dentry *dentry)
fs/ext4/fast_commit.c
482
__ext4_fc_track_unlink(handle, inode, dentry);
fs/ext4/fast_commit.c
485
void __ext4_fc_track_link(handle_t *handle,
fs/ext4/fast_commit.c
494
ret = ext4_fc_track_template(handle, inode, __track_dentry_update,
fs/ext4/fast_commit.c
496
trace_ext4_fc_track_link(handle, inode, dentry, ret);
fs/ext4/fast_commit.c
499
void ext4_fc_track_link(handle_t *handle, struct dentry *dentry)
fs/ext4/fast_commit.c
509
__ext4_fc_track_link(handle, inode, dentry);
fs/ext4/fast_commit.c
512
void __ext4_fc_track_create(handle_t *handle, struct inode *inode,
fs/ext4/fast_commit.c
521
ret = ext4_fc_track_template(handle, inode, __track_dentry_update,
fs/ext4/fast_commit.c
523
trace_ext4_fc_track_create(handle, inode, dentry, ret);
fs/ext4/fast_commit.c
526
void ext4_fc_track_create(handle_t *handle, struct dentry *dentry)
fs/ext4/fast_commit.c
536
__ext4_fc_track_create(handle, inode, dentry);
fs/ext4/fast_commit.c
540
static int __track_inode(handle_t *handle, struct inode *inode, void *arg,
fs/ext4/fast_commit.c
551
void ext4_fc_track_inode(handle_t *handle, struct inode *inode)
fs/ext4/fast_commit.c
565
EXT4_FC_REASON_INODE_JOURNAL_DATA, handle);
fs/ext4/fast_commit.c
601
ret = ext4_fc_track_template(handle, inode, __track_inode, NULL, 1);
fs/ext4/fast_commit.c
602
trace_ext4_fc_track_inode(handle, inode, ret);
fs/ext4/fast_commit.c
610
static int __track_range(handle_t *handle, struct inode *inode, void *arg,
fs/ext4/fast_commit.c
638
void ext4_fc_track_range(handle_t *handle, struct inode *inode, ext4_lblk_t start,
fs/ext4/fast_commit.c
655
handle);
fs/ext4/fast_commit.c
662
ret = ext4_fc_track_template(handle, inode, __track_range, &args, 1);
fs/ext4/fast_commit.c
664
trace_ext4_fc_track_range(handle, inode, start, end, ret);
fs/ext4/file.c
312
handle_t *handle;
fs/ext4/file.c
315
handle = ext4_journal_start(inode, EXT4_HT_INODE, 2);
fs/ext4/file.c
316
if (IS_ERR(handle))
fs/ext4/file.c
317
return PTR_ERR(handle);
fs/ext4/file.c
320
int ret = ext4_mark_inode_dirty(handle, inode);
fs/ext4/file.c
322
ext4_journal_stop(handle);
fs/ext4/file.c
328
ext4_orphan_del(handle, inode);
fs/ext4/file.c
329
ext4_journal_stop(handle);
fs/ext4/file.c
359
handle_t *handle = ext4_journal_start(inode, EXT4_HT_INODE, 2);
fs/ext4/file.c
361
if (IS_ERR(handle)) {
fs/ext4/file.c
370
ext4_orphan_del(handle, inode);
fs/ext4/file.c
371
ext4_journal_stop(handle);
fs/ext4/file.c
506
handle_t *handle;
fs/ext4/file.c
564
handle = ext4_journal_start(inode, EXT4_HT_INODE, 2);
fs/ext4/file.c
565
if (IS_ERR(handle)) {
fs/ext4/file.c
566
ret = PTR_ERR(handle);
fs/ext4/file.c
570
ret = ext4_orphan_add(handle, inode);
fs/ext4/file.c
571
ext4_journal_stop(handle);
fs/ext4/file.c
640
handle_t *handle;
fs/ext4/file.c
659
handle = ext4_journal_start(inode, EXT4_HT_INODE, 2);
fs/ext4/file.c
660
if (IS_ERR(handle)) {
fs/ext4/file.c
661
ret = PTR_ERR(handle);
fs/ext4/file.c
665
ret = ext4_orphan_add(handle, inode);
fs/ext4/file.c
667
ext4_journal_stop(handle);
fs/ext4/file.c
672
ext4_journal_stop(handle);
fs/ext4/file.c
728
handle_t *handle = NULL;
fs/ext4/file.c
753
handle = ext4_journal_start_sb(sb, EXT4_HT_WRITE_PAGE,
fs/ext4/file.c
755
if (IS_ERR(handle)) {
fs/ext4/file.c
765
ext4_journal_stop(handle);
fs/ext4/file.c
840
handle_t *handle;
fs/ext4/file.c
864
handle = ext4_journal_start_sb(sb, EXT4_HT_MISC, 1);
fs/ext4/file.c
865
err = PTR_ERR(handle);
fs/ext4/file.c
866
if (IS_ERR(handle))
fs/ext4/file.c
869
err = ext4_journal_get_write_access(handle, sb, sbi->s_sbh,
fs/ext4/file.c
877
ext4_handle_dirty_metadata(handle, NULL, sbi->s_sbh);
fs/ext4/file.c
879
ext4_journal_stop(handle);
fs/ext4/ialloc.c
1004
if (!handle && sbi->s_journal && !(i_flags & EXT4_EA_INODE_FL)) {
fs/ext4/ialloc.c
1085
if ((!(sbi->s_mount_state & EXT4_FC_REPLAY)) && !handle) {
fs/ext4/ialloc.c
1087
handle = __ext4_journal_start_sb(NULL, dir->i_sb,
fs/ext4/ialloc.c
1090
if (IS_ERR(handle)) {
fs/ext4/ialloc.c
1091
err = PTR_ERR(handle);
fs/ext4/ialloc.c
1097
err = ext4_journal_get_write_access(handle, sb, inode_bitmap_bh,
fs/ext4/ialloc.c
1131
err = ext4_handle_dirty_metadata(handle, NULL, inode_bitmap_bh);
fs/ext4/ialloc.c
1138
err = ext4_journal_get_write_access(handle, sb, group_desc_bh,
fs/ext4/ialloc.c
1156
err = ext4_journal_get_write_access(handle, sb, block_bitmap_bh,
fs/ext4/ialloc.c
1165
err = ext4_handle_dirty_metadata(handle, NULL, block_bitmap_bh);
fs/ext4/ialloc.c
1240
err = ext4_handle_dirty_metadata(handle, NULL, group_desc_bh);
fs/ext4/ialloc.c
1277
ext4_handle_sync(handle);
fs/ext4/ialloc.c
1320
err = fscrypt_set_context(inode, handle);
fs/ext4/ialloc.c
1326
err = ext4_init_acl(handle, inode, dir);
fs/ext4/ialloc.c
1330
err = ext4_init_security(handle, inode, dir, qstr);
fs/ext4/ialloc.c
1339
ext4_ext_tree_init(handle, inode);
fs/ext4/ialloc.c
1345
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/ialloc.c
1347
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/ialloc.c
1524
handle_t *handle;
fs/ext4/ialloc.c
1540
handle = ext4_journal_start_sb(sb, EXT4_HT_MISC, 1);
fs/ext4/ialloc.c
1541
if (IS_ERR(handle)) {
fs/ext4/ialloc.c
1542
ret = PTR_ERR(handle);
fs/ext4/ialloc.c
1589
ret = ext4_journal_get_write_access(handle, sb, group_desc_bh,
fs/ext4/ialloc.c
1618
ret = ext4_handle_dirty_metadata(handle, NULL,
fs/ext4/ialloc.c
1623
ext4_journal_stop(handle);
fs/ext4/ialloc.c
235
void ext4_free_inode(handle_t *handle, struct inode *inode)
fs/ext4/ialloc.c
303
fatal = ext4_journal_get_write_access(handle, sb, bitmap_bh,
fs/ext4/ialloc.c
312
fatal = ext4_journal_get_write_access(handle, sb, bh2,
fs/ext4/ialloc.c
346
fatal = ext4_handle_dirty_metadata(handle, NULL, bh2);
fs/ext4/ialloc.c
350
err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh);
fs/ext4/ialloc.c
932
handle_t *handle, struct inode *dir,
fs/ext4/indirect.c
1000
static void ext4_free_branches(handle_t *handle, struct inode *inode,
fs/ext4/indirect.c
1007
if (ext4_handle_is_aborted(handle))
fs/ext4/indirect.c
1042
ext4_free_branches(handle, inode, bh,
fs/ext4/indirect.c
1064
if (ext4_handle_is_aborted(handle))
fs/ext4/indirect.c
1066
if (ext4_ind_truncate_ensure_credits(handle, inode,
fs/ext4/indirect.c
1083
ext4_free_blocks(handle, inode, NULL, nr, 1,
fs/ext4/indirect.c
1093
if (!ext4_journal_get_write_access(handle,
fs/ext4/indirect.c
1099
ext4_handle_dirty_metadata(handle,
fs/ext4/indirect.c
1108
ext4_free_data(handle, inode, parent_bh, first, last);
fs/ext4/indirect.c
1112
void ext4_ind_truncate(handle_t *handle, struct inode *inode)
fs/ext4/indirect.c
1154
ext4_free_data(handle, inode, NULL, i_data+offsets[0],
fs/ext4/indirect.c
1164
ext4_free_branches(handle, inode, NULL,
fs/ext4/indirect.c
1174
ext4_free_branches(handle, inode, partial->bh,
fs/ext4/indirect.c
1181
ext4_free_branches(handle, inode, partial->bh, partial->p + 1,
fs/ext4/indirect.c
1194
ext4_free_branches(handle, inode, NULL, &nr, &nr+1, 1);
fs/ext4/indirect.c
1201
ext4_free_branches(handle, inode, NULL, &nr, &nr+1, 2);
fs/ext4/indirect.c
1208
ext4_free_branches(handle, inode, NULL, &nr, &nr+1, 3);
fs/ext4/indirect.c
1227
int ext4_ind_remove_space(handle_t *handle, struct inode *inode,
fs/ext4/indirect.c
1256
ext4_free_data(handle, inode, NULL, i_data + offsets[0],
fs/ext4/indirect.c
1272
ext4_free_data(handle, inode, NULL, i_data + offsets[0],
fs/ext4/indirect.c
1282
ext4_free_branches(handle, inode, NULL,
fs/ext4/indirect.c
1288
ext4_free_branches(handle, inode, partial->bh,
fs/ext4/indirect.c
1299
ext4_free_branches(handle, inode, partial->bh,
fs/ext4/indirect.c
1333
ext4_free_branches(handle, inode, partial2->bh,
fs/ext4/indirect.c
1362
ext4_free_branches(handle, inode, NULL,
fs/ext4/indirect.c
1369
ext4_free_branches(handle, inode, partial->bh,
fs/ext4/indirect.c
1397
ext4_free_branches(handle, inode, partial->bh,
fs/ext4/indirect.c
1412
ext4_free_branches(handle, inode, partial->bh,
fs/ext4/indirect.c
1419
ext4_free_branches(handle, inode, partial2->bh,
fs/ext4/indirect.c
1448
ext4_free_branches(handle, inode, NULL, &nr, &nr+1, 1);
fs/ext4/indirect.c
1457
ext4_free_branches(handle, inode, NULL, &nr, &nr+1, 2);
fs/ext4/indirect.c
1466
ext4_free_branches(handle, inode, NULL, &nr, &nr+1, 3);
fs/ext4/indirect.c
328
static int ext4_alloc_branch(handle_t *handle,
fs/ext4/indirect.c
340
new_blocks[i] = ext4_mb_new_blocks(handle, ar, &err);
fs/ext4/indirect.c
342
ar->goal = new_blocks[i] = ext4_new_meta_blocks(handle,
fs/ext4/indirect.c
364
err = ext4_journal_get_create_access(handle, ar->inode->i_sb,
fs/ext4/indirect.c
385
err = ext4_handle_dirty_metadata(handle, ar->inode, bh);
fs/ext4/indirect.c
393
ext4_free_blocks(handle, ar->inode, NULL, new_blocks[i],
fs/ext4/indirect.c
407
ext4_free_blocks(handle, ar->inode, branch[i+1].bh,
fs/ext4/indirect.c
425
static int ext4_splice_branch(handle_t *handle,
fs/ext4/indirect.c
440
err = ext4_journal_get_write_access(handle, ar->inode->i_sb,
fs/ext4/indirect.c
472
err = ext4_handle_dirty_metadata(handle, ar->inode, where->bh);
fs/ext4/indirect.c
479
err = ext4_mark_inode_dirty(handle, ar->inode);
fs/ext4/indirect.c
493
ext4_free_blocks(handle, ar->inode, where[i].bh, 0, 1,
fs/ext4/indirect.c
496
ext4_free_blocks(handle, ar->inode, NULL, le32_to_cpu(where[num].key),
fs/ext4/indirect.c
530
int ext4_ind_map_blocks(handle_t *handle, struct inode *inode,
fs/ext4/indirect.c
547
ASSERT(handle != NULL || (flags & EXT4_GET_BLOCKS_CREATE) == 0);
fs/ext4/indirect.c
635
err = ext4_alloc_branch(handle, &ar, indirect_blks,
fs/ext4/indirect.c
646
err = ext4_splice_branch(handle, &ar, partial, indirect_blks);
fs/ext4/indirect.c
652
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/indirect.c
689
static int ext4_ind_trunc_restart_fn(handle_t *handle, struct inode *inode,
fs/ext4/indirect.c
696
err = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/indirect.c
700
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/indirect.c
724
static int ext4_ind_truncate_ensure_credits(handle_t *handle,
fs/ext4/indirect.c
732
ret = ext4_journal_ensure_credits_fn(handle, EXT4_RESERVE_TRANS_BLOCKS,
fs/ext4/indirect.c
734
ext4_ind_trunc_restart_fn(handle, inode, bh, &dropped));
fs/ext4/indirect.c
741
ret = ext4_journal_get_write_access(handle, inode->i_sb, bh,
fs/ext4/indirect.c
857
static int ext4_clear_blocks(handle_t *handle, struct inode *inode,
fs/ext4/indirect.c
880
err = ext4_ind_truncate_ensure_credits(handle, inode, bh,
fs/ext4/indirect.c
888
ext4_free_blocks(handle, inode, NULL, block_to_free, count, flags);
fs/ext4/indirect.c
914
static void ext4_free_data(handle_t *handle, struct inode *inode,
fs/ext4/indirect.c
930
err = ext4_journal_get_write_access(handle, inode->i_sb,
fs/ext4/indirect.c
949
err = ext4_clear_blocks(handle, inode, this_bh,
fs/ext4/indirect.c
962
err = ext4_clear_blocks(handle, inode, this_bh, block_to_free,
fs/ext4/indirect.c
978
ext4_handle_dirty_metadata(handle, inode, this_bh);
fs/ext4/inline.c
1051
static int ext4_update_inline_dir(handle_t *handle, struct inode *dir,
fs/ext4/inline.c
1061
ret = ext4_update_inline_data(handle, dir,
fs/ext4/inline.c
1073
static void ext4_restore_inline_data(handle_t *handle, struct inode *inode,
fs/ext4/inline.c
1079
ret = ext4_create_inline_data(handle, inode, inline_size);
fs/ext4/inline.c
1090
static int ext4_convert_inline_data_nolock(handle_t *handle,
fs/ext4/inline.c
1123
error = ext4_destroy_inline_data_nolock(handle, inode);
fs/ext4/inline.c
1130
error = ext4_map_blocks(handle, inode, &map, EXT4_GET_BLOCKS_CREATE);
fs/ext4/inline.c
1145
error = ext4_journal_get_create_access(handle, inode->i_sb, data_bh,
fs/ext4/inline.c
1158
error = ext4_handle_dirty_metadata(handle,
fs/ext4/inline.c
1166
error = ext4_init_dirblock(handle, inode, data_bh,
fs/ext4/inline.c
1171
error = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inline.c
1176
ext4_restore_inline_data(handle, inode, iloc, buf, inline_size);
fs/ext4/inline.c
1189
int ext4_try_add_inline_entry(handle_t *handle, struct ext4_filename *fname,
fs/ext4/inline.c
1208
ret = ext4_add_dirent_to_inline(handle, fname, dir, inode, &iloc,
fs/ext4/inline.c
1218
ret = ext4_update_inline_dir(handle, dir, &iloc);
fs/ext4/inline.c
1229
ret = ext4_add_dirent_to_inline(handle, fname, dir,
fs/ext4/inline.c
1242
ret = ext4_convert_inline_data_nolock(handle, dir, &iloc);
fs/ext4/inline.c
1246
ret2 = ext4_mark_inode_dirty(handle, dir);
fs/ext4/inline.c
1559
int ext4_try_create_inline_dir(handle_t *handle, struct inode *parent,
fs/ext4/inline.c
1570
ret = ext4_prepare_inline_data(handle, inode, inline_size);
fs/ext4/inline.c
1655
int ext4_delete_inline_entry(handle_t *handle,
fs/ext4/inline.c
1688
err = ext4_journal_get_write_access(handle, dir->i_sb, bh,
fs/ext4/inline.c
1702
err = ext4_mark_inode_dirty(handle, dir);
fs/ext4/inline.c
1801
int ext4_destroy_inline_data(handle_t *handle, struct inode *inode)
fs/ext4/inline.c
1806
ret = ext4_destroy_inline_data_nolock(handle, inode);
fs/ext4/inline.c
1846
handle_t *handle;
fs/ext4/inline.c
1860
handle = ext4_journal_start(inode, EXT4_HT_INODE, needed_blocks);
fs/ext4/inline.c
1861
if (IS_ERR(handle))
fs/ext4/inline.c
1862
return PTR_ERR(handle);
fs/ext4/inline.c
1868
ext4_journal_stop(handle);
fs/ext4/inline.c
1872
if ((err = ext4_orphan_add(handle, inode)) != 0)
fs/ext4/inline.c
1920
err = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/inline.c
1944
ext4_orphan_del(handle, inode);
fs/ext4/inline.c
1948
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inline.c
1950
ext4_handle_sync(handle);
fs/ext4/inline.c
1952
ext4_journal_stop(handle);
fs/ext4/inline.c
1959
handle_t *handle;
fs/ext4/inline.c
1986
handle = ext4_journal_start(inode, EXT4_HT_WRITE_PAGE, needed_blocks);
fs/ext4/inline.c
1987
if (IS_ERR(handle)) {
fs/ext4/inline.c
1988
error = PTR_ERR(handle);
fs/ext4/inline.c
1994
error = ext4_convert_inline_data_nolock(handle, inode, &iloc);
fs/ext4/inline.c
1996
ext4_journal_stop(handle);
fs/ext4/inline.c
267
static int ext4_create_inline_data(handle_t *handle,
fs/ext4/inline.c
285
error = ext4_journal_get_write_access(handle, inode->i_sb, is.iloc.bh,
fs/ext4/inline.c
312
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/inline.c
329
error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
fs/ext4/inline.c
336
static int ext4_update_inline_data(handle_t *handle, struct inode *inode,
fs/ext4/inline.c
380
error = ext4_journal_get_write_access(handle, inode->i_sb, is.iloc.bh,
fs/ext4/inline.c
389
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/inline.c
399
error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
fs/ext4/inline.c
407
static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode,
fs/ext4/inline.c
428
ret = ext4_update_inline_data(handle, inode, len);
fs/ext4/inline.c
430
ret = ext4_create_inline_data(handle, inode, len);
fs/ext4/inline.c
436
static int ext4_destroy_inline_data_nolock(handle_t *handle,
fs/ext4/inline.c
467
error = ext4_journal_get_write_access(handle, inode->i_sb, is.iloc.bh,
fs/ext4/inline.c
472
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/inline.c
484
ext4_ext_tree_init(handle, inode);
fs/ext4/inline.c
490
error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
fs/ext4/inline.c
576
handle_t *handle = NULL;
fs/ext4/inline.c
598
handle = ext4_journal_start(inode, EXT4_HT_WRITE_PAGE, needed_blocks);
fs/ext4/inline.c
599
if (IS_ERR(handle)) {
fs/ext4/inline.c
600
ret = PTR_ERR(handle);
fs/ext4/inline.c
601
handle = NULL;
fs/ext4/inline.c
630
ext4_fc_track_inode(handle, inode);
fs/ext4/inline.c
631
ret = ext4_destroy_inline_data_nolock(handle, inode);
fs/ext4/inline.c
636
ret = ext4_block_write_begin(handle, folio, from, to,
fs/ext4/inline.c
639
ret = ext4_block_write_begin(handle, folio, from, to,
fs/ext4/inline.c
644
ret = ext4_walk_page_buffers(handle, inode,
fs/ext4/inline.c
653
ext4_orphan_add(handle, inode);
fs/ext4/inline.c
656
ext4_journal_stop(handle);
fs/ext4/inline.c
657
handle = NULL;
fs/ext4/inline.c
682
if (handle)
fs/ext4/inline.c
683
ext4_journal_stop(handle);
fs/ext4/inline.c
703
handle_t *handle;
fs/ext4/inline.c
713
handle = ext4_journal_start(inode, EXT4_HT_INODE, 1);
fs/ext4/inline.c
714
if (IS_ERR(handle)) {
fs/ext4/inline.c
715
ret = PTR_ERR(handle);
fs/ext4/inline.c
719
ret = ext4_prepare_inline_data(handle, inode, pos + len);
fs/ext4/inline.c
724
ext4_journal_stop(handle);
fs/ext4/inline.c
758
ret = ext4_journal_get_write_access(handle, inode->i_sb, iloc.bh, EXT4_JTR_NONE);
fs/ext4/inline.c
771
ext4_journal_stop(handle);
fs/ext4/inline.c
797
handle_t *handle = ext4_journal_current_handle();
fs/ext4/inline.c
858
ext4_orphan_add(handle, inode);
fs/ext4/inline.c
860
ret2 = ext4_journal_stop(handle);
fs/ext4/inline.c
969
static int ext4_add_dirent_to_inline(handle_t *handle,
fs/ext4/inline.c
985
err = ext4_journal_get_write_access(handle, dir->i_sb, iloc->bh,
fs/ext4/inode.c
1010
|| (handle != NULL));
fs/ext4/inode.c
1021
err = ext4_journal_get_create_access(handle, inode->i_sb, bh,
fs/ext4/inode.c
1033
err = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/inode.c
1044
struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
1050
bh = ext4_getblk(handle, inode, block, map_flags);
fs/ext4/inode.c
1107
int ext4_walk_page_buffers(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
1112
int (*fn)(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
1131
err = (*fn)(handle, inode, bh);
fs/ext4/inode.c
1144
static int ext4_dirty_journalled_data(handle_t *handle, struct buffer_head *bh)
fs/ext4/inode.c
1152
return ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/inode.c
1155
int do_journal_get_write_access(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
1161
return ext4_journal_get_write_access(handle, inode->i_sb, bh,
fs/ext4/inode.c
1165
int ext4_block_write_begin(handle_t *handle, struct folio *folio,
fs/ext4/inode.c
1204
err = ext4_journal_ensure_extent_credits(handle, inode);
fs/ext4/inode.c
1216
do_journal_get_write_access(handle,
fs/ext4/inode.c
1256
ext4_journalled_zero_new_buffers(handle, inode, folio,
fs/ext4/inode.c
1290
handle_t *handle;
fs/ext4/inode.c
1346
handle = ext4_journal_start(inode, EXT4_HT_WRITE_PAGE, needed_blocks);
fs/ext4/inode.c
1347
if (IS_ERR(handle)) {
fs/ext4/inode.c
1349
return PTR_ERR(handle);
fs/ext4/inode.c
1357
ext4_journal_stop(handle);
fs/ext4/inode.c
1364
ret = ext4_block_write_begin(handle, folio, pos, len,
fs/ext4/inode.c
1367
ret = ext4_block_write_begin(handle, folio, pos, len,
fs/ext4/inode.c
1370
ret = ext4_walk_page_buffers(handle, inode,
fs/ext4/inode.c
1389
ext4_orphan_add(handle, inode);
fs/ext4/inode.c
1391
ext4_journal_stop(handle);
fs/ext4/inode.c
1416
static int write_end_fn(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
1423
ret = ext4_dirty_journalled_data(handle, bh);
fs/ext4/inode.c
1442
handle_t *handle = ext4_journal_current_handle();
fs/ext4/inode.c
1471
ext4_zero_partial_blocks(handle, inode, old_size, pos - old_size);
fs/ext4/inode.c
1480
ret = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
1487
ext4_orphan_add(handle, inode);
fs/ext4/inode.c
1489
ret2 = ext4_journal_stop(handle);
fs/ext4/inode.c
1512
static void ext4_journalled_zero_new_buffers(handle_t *handle,
fs/ext4/inode.c
1534
write_end_fn(handle, inode, bh);
fs/ext4/inode.c
1547
handle_t *handle = ext4_journal_current_handle();
fs/ext4/inode.c
1560
BUG_ON(!ext4_handle_valid(handle));
fs/ext4/inode.c
1568
ext4_journalled_zero_new_buffers(handle, inode, folio,
fs/ext4/inode.c
1572
ext4_journalled_zero_new_buffers(handle, inode, folio,
fs/ext4/inode.c
1574
ret = ext4_walk_page_buffers(handle, inode,
fs/ext4/inode.c
1583
EXT4_I(inode)->i_datasync_tid = handle->h_transaction->t_tid;
fs/ext4/inode.c
1589
ext4_zero_partial_blocks(handle, inode, old_size, pos - old_size);
fs/ext4/inode.c
1593
ret2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
1603
ext4_orphan_add(handle, inode);
fs/ext4/inode.c
1605
ret2 = ext4_journal_stop(handle);
fs/ext4/inode.c
171
handle_t *handle;
fs/ext4/inode.c
2349
static int mpage_map_one_extent(handle_t *handle, struct mpage_da_data *mpd)
fs/ext4/inode.c
2357
err = ext4_journal_ensure_extent_credits(handle, inode);
fs/ext4/inode.c
237
handle = ext4_journal_start(inode, EXT4_HT_TRUNCATE,
fs/ext4/inode.c
2383
err = ext4_map_blocks(handle, inode, map, get_blocks_flags);
fs/ext4/inode.c
2387
if (!mpd->io_submit.io_end->handle &&
fs/ext4/inode.c
2388
ext4_handle_valid(handle)) {
fs/ext4/inode.c
2389
mpd->io_submit.io_end->handle = handle->h_rsv_handle;
fs/ext4/inode.c
239
if (IS_ERR(handle)) {
fs/ext4/inode.c
2390
handle->h_rsv_handle = NULL;
fs/ext4/inode.c
240
ext4_std_error(inode->i_sb, PTR_ERR(handle));
fs/ext4/inode.c
2460
static int mpage_map_and_submit_extent(handle_t *handle,
fs/ext4/inode.c
2477
err = mpage_map_one_extent(handle, mpd);
fs/ext4/inode.c
253
ext4_handle_sync(handle);
fs/ext4/inode.c
2545
err2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
2557
static int ext4_journal_folio_buffers(handle_t *handle, struct folio *folio,
fs/ext4/inode.c
2564
ret = ext4_walk_page_buffers(handle, inode, page_bufs, 0, len,
fs/ext4/inode.c
2566
err = ext4_walk_page_buffers(handle, inode, page_bufs, 0, len,
fs/ext4/inode.c
2570
err = ext4_jbd2_inode_add_write(handle, inode, folio_pos(folio), len);
fs/ext4/inode.c
2573
EXT4_I(inode)->i_datasync_tid = handle->h_transaction->t_tid;
fs/ext4/inode.c
2578
static int mpage_journal_page_buffers(handle_t *handle,
fs/ext4/inode.c
2593
return ext4_journal_folio_buffers(handle, folio, len);
fs/ext4/inode.c
2627
handle_t *handle = NULL;
fs/ext4/inode.c
2635
handle = ext4_journal_start(mpd->inode, EXT4_HT_WRITE_PAGE,
fs/ext4/inode.c
2637
if (IS_ERR(handle))
fs/ext4/inode.c
2638
return PTR_ERR(handle);
fs/ext4/inode.c
265
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
2668
if (handle) {
fs/ext4/inode.c
2669
err = ext4_journal_ensure_credits(handle, bpp,
fs/ext4/inode.c
2729
err = mpage_journal_page_buffers(handle,
fs/ext4/inode.c
2751
if (handle)
fs/ext4/inode.c
2752
ext4_journal_stop(handle);
fs/ext4/inode.c
2756
if (handle)
fs/ext4/inode.c
2757
ext4_journal_stop(handle);
fs/ext4/inode.c
2768
handle_t *handle = NULL;
fs/ext4/inode.c
2807
handle = ext4_journal_start(inode, EXT4_HT_INODE, 1);
fs/ext4/inode.c
2808
if (IS_ERR(handle)) {
fs/ext4/inode.c
2809
ret = PTR_ERR(handle);
fs/ext4/inode.c
2814
ext4_destroy_inline_data(handle, inode);
fs/ext4/inode.c
2815
ext4_journal_stop(handle);
fs/ext4/inode.c
282
err = ext4_xattr_delete_inode(handle, inode, &ea_inode_array,
fs/ext4/inode.c
287
ext4_journal_stop(handle);
fs/ext4/inode.c
2917
handle = ext4_journal_start_with_reserve(inode,
fs/ext4/inode.c
2919
if (IS_ERR(handle)) {
fs/ext4/inode.c
2920
ret = PTR_ERR(handle);
fs/ext4/inode.c
2935
ret = mpage_map_and_submit_extent(handle, mpd,
fs/ext4/inode.c
2947
if (!ext4_handle_valid(handle) || handle->h_sync == 0) {
fs/ext4/inode.c
2948
ext4_journal_stop(handle);
fs/ext4/inode.c
2949
handle = NULL;
fs/ext4/inode.c
2964
if (handle) {
fs/ext4/inode.c
2966
ext4_journal_stop(handle);
fs/ext4/inode.c
303
ext4_orphan_del(handle, inode);
fs/ext4/inode.c
313
if (ext4_mark_inode_dirty(handle, inode))
fs/ext4/inode.c
317
ext4_free_inode(handle, inode);
fs/ext4/inode.c
318
ext4_journal_stop(handle);
fs/ext4/inode.c
3210
handle_t *handle;
fs/ext4/inode.c
3261
handle = ext4_journal_start(inode, EXT4_HT_INODE, 2);
fs/ext4/inode.c
3262
if (IS_ERR(handle))
fs/ext4/inode.c
3263
return PTR_ERR(handle);
fs/ext4/inode.c
3265
ext4_zero_partial_blocks(handle, inode, old_size, zero_len);
fs/ext4/inode.c
3266
ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
3267
ext4_journal_stop(handle);
fs/ext4/inode.c
3517
static int ext4_map_blocks_atomic_write_slow(handle_t *handle,
fs/ext4/inode.c
3539
ret = ext4_map_blocks(handle, inode, map, m_flags);
fs/ext4/inode.c
3584
ret = ext4_map_blocks(handle, inode, map,
fs/ext4/inode.c
3621
static int ext4_map_blocks_atomic_write(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
3631
ret = ext4_map_blocks(handle, inode, map, m_flags);
fs/ext4/inode.c
3648
return ext4_map_blocks_atomic_write_slow(handle, inode, map);
fs/ext4/inode.c
3656
handle_t *handle;
fs/ext4/inode.c
3698
handle = ext4_journal_start(inode, EXT4_HT_MAP_BLOCKS, dio_credits);
fs/ext4/inode.c
3699
if (IS_ERR(handle))
fs/ext4/inode.c
3700
return PTR_ERR(handle);
fs/ext4/inode.c
3721
ret = ext4_map_blocks_atomic_write(handle, inode, map, m_flags,
fs/ext4/inode.c
3724
ret = ext4_map_blocks(handle, inode, map, m_flags);
fs/ext4/inode.c
3734
ext4_journal_stop(handle);
fs/ext4/inode.c
4015
static int __ext4_block_zero_page_range(handle_t *handle,
fs/ext4/inode.c
4083
err = ext4_journal_get_write_access(handle, inode->i_sb, bh,
fs/ext4/inode.c
4092
err = ext4_dirty_journalled_data(handle, bh);
fs/ext4/inode.c
4101
err = ext4_jbd2_inode_add_write(handle, inode, from,
fs/ext4/inode.c
4118
static int ext4_block_zero_page_range(handle_t *handle,
fs/ext4/inode.c
4136
return __ext4_block_zero_page_range(handle, mapping, from, length);
fs/ext4/inode.c
4145
static int ext4_block_truncate_page(handle_t *handle,
fs/ext4/inode.c
4159
return ext4_block_zero_page_range(handle, mapping, from, length);
fs/ext4/inode.c
4162
int ext4_zero_partial_blocks(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
4181
err = ext4_block_zero_page_range(handle, mapping,
fs/ext4/inode.c
4187
err = ext4_block_zero_page_range(handle, mapping,
fs/ext4/inode.c
4194
err = ext4_block_zero_page_range(handle, mapping,
fs/ext4/inode.c
4224
handle_t *handle;
fs/ext4/inode.c
4238
handle = ext4_journal_start(inode, EXT4_HT_MISC, 1);
fs/ext4/inode.c
4239
if (IS_ERR(handle))
fs/ext4/inode.c
4240
return PTR_ERR(handle);
fs/ext4/inode.c
4242
ret = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
4243
ext4_journal_stop(handle);
fs/ext4/inode.c
4343
handle_t *handle;
fs/ext4/inode.c
4395
handle = ext4_journal_start(inode, EXT4_HT_TRUNCATE, credits);
fs/ext4/inode.c
4396
if (IS_ERR(handle)) {
fs/ext4/inode.c
4397
ret = PTR_ERR(handle);
fs/ext4/inode.c
4402
ret = ext4_zero_partial_blocks(handle, inode, offset, length);
fs/ext4/inode.c
4413
ext4_fc_track_inode(handle, inode);
fs/ext4/inode.c
4424
ret = ext4_ind_remove_space(handle, inode, start_lblk,
fs/ext4/inode.c
4435
ext4_fc_track_range(handle, inode, start_lblk, end_lblk);
fs/ext4/inode.c
4437
ret = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
4441
ext4_update_inode_fsync_trans(handle, inode, 1);
fs/ext4/inode.c
4443
ext4_handle_sync(handle);
fs/ext4/inode.c
4445
ext4_journal_stop(handle);
fs/ext4/inode.c
4512
handle_t *handle;
fs/ext4/inode.c
4550
handle = ext4_journal_start(inode, EXT4_HT_TRUNCATE, credits);
fs/ext4/inode.c
4551
if (IS_ERR(handle)) {
fs/ext4/inode.c
4552
err = PTR_ERR(handle);
fs/ext4/inode.c
4557
ext4_block_truncate_page(handle, mapping, inode->i_size);
fs/ext4/inode.c
4568
err = ext4_orphan_add(handle, inode);
fs/ext4/inode.c
457
static void ext4_map_blocks_es_recheck(handle_t *handle,
fs/ext4/inode.c
4572
ext4_fc_track_inode(handle, inode);
fs/ext4/inode.c
4579
err = ext4_ext_truncate(handle, inode);
fs/ext4/inode.c
4581
ext4_ind_truncate(handle, inode);
fs/ext4/inode.c
4588
ext4_handle_sync(handle);
fs/ext4/inode.c
4599
ext4_orphan_del(handle, inode);
fs/ext4/inode.c
4602
err2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
4605
ext4_journal_stop(handle);
fs/ext4/inode.c
475
retval = ext4_ext_map_blocks(handle, inode, map, 0);
fs/ext4/inode.c
477
retval = ext4_ind_map_blocks(handle, inode, map, 0);
fs/ext4/inode.c
499
static int ext4_map_query_blocks_next_in_leaf(handle_t *handle,
fs/ext4/inode.c
517
retval = ext4_ext_map_blocks(handle, inode, &map2, 0);
fs/ext4/inode.c
55
static void ext4_journalled_zero_new_buffers(handle_t *handle,
fs/ext4/inode.c
554
int ext4_map_query_blocks(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
5571
static int ext4_do_update_inode(handle_t *handle,
fs/ext4/inode.c
5611
err = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/inode.c
5617
err = ext4_journal_get_write_access(handle, sb,
fs/ext4/inode.c
5626
ext4_handle_sync(handle);
fs/ext4/inode.c
5627
err = ext4_handle_dirty_metadata(handle, NULL,
fs/ext4/inode.c
563
retval = ext4_ext_map_blocks(handle, inode, map, flags);
fs/ext4/inode.c
5630
ext4_update_inode_fsync_trans(handle, inode, need_datasync);
fs/ext4/inode.c
565
retval = ext4_ind_map_blocks(handle, inode, map, flags);
fs/ext4/inode.c
5831
handle_t *handle;
fs/ext4/inode.c
5835
handle = ext4_journal_start(inode, EXT4_HT_QUOTA,
fs/ext4/inode.c
5838
if (IS_ERR(handle)) {
fs/ext4/inode.c
5839
error = PTR_ERR(handle);
fs/ext4/inode.c
5851
ext4_journal_stop(handle);
fs/ext4/inode.c
5858
error = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
5859
ext4_journal_stop(handle);
fs/ext4/inode.c
5866
handle_t *handle;
fs/ext4/inode.c
5928
handle = ext4_journal_start(inode, EXT4_HT_INODE, 3);
fs/ext4/inode.c
5929
if (IS_ERR(handle)) {
fs/ext4/inode.c
593
retval = ext4_map_query_blocks_next_in_leaf(handle, inode, map,
fs/ext4/inode.c
5930
error = PTR_ERR(handle);
fs/ext4/inode.c
5933
if (ext4_handle_valid(handle) && shrink) {
fs/ext4/inode.c
5934
error = ext4_orphan_add(handle, inode);
fs/ext4/inode.c
5946
ext4_block_truncate_page(handle,
fs/ext4/inode.c
5951
ext4_fc_track_range(handle, inode,
fs/ext4/inode.c
5957
handle, inode,
fs/ext4/inode.c
5977
rc = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
5980
ext4_journal_stop(handle);
fs/ext4/inode.c
601
int ext4_map_create_blocks(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
6244
int ext4_mark_iloc_dirty(handle_t *handle,
fs/ext4/inode.c
6254
ext4_fc_track_inode(handle, inode);
fs/ext4/inode.c
626
retval = ext4_ext_map_blocks(handle, inode, map, flags);
fs/ext4/inode.c
6260
err = ext4_do_update_inode(handle, inode, iloc);
fs/ext4/inode.c
6271
ext4_reserve_inode_write(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
628
retval = ext4_ind_map_blocks(handle, inode, map, flags);
fs/ext4/inode.c
6283
err = ext4_journal_get_write_access(handle, inode->i_sb,
fs/ext4/inode.c
6289
ext4_fc_track_inode(handle, inode);
fs/ext4/inode.c
6298
handle_t *handle, int *no_expand)
fs/ext4/inode.c
6343
raw_inode, handle);
fs/ext4/inode.c
6361
handle_t *handle)
fs/ext4/inode.c
6378
if (ext4_journal_extend(handle,
fs/ext4/inode.c
6386
handle, &no_expand);
fs/ext4/inode.c
6396
handle_t *handle;
fs/ext4/inode.c
6405
handle = ext4_journal_start(inode, EXT4_HT_INODE,
fs/ext4/inode.c
6407
if (IS_ERR(handle)) {
fs/ext4/inode.c
6408
error = PTR_ERR(handle);
fs/ext4/inode.c
6416
error = ext4_journal_get_write_access(handle, inode->i_sb, iloc->bh,
fs/ext4/inode.c
6424
handle, &no_expand);
fs/ext4/inode.c
6426
rc = ext4_mark_iloc_dirty(handle, inode, iloc);
fs/ext4/inode.c
6432
ext4_journal_stop(handle);
fs/ext4/inode.c
6449
int __ext4_mark_inode_dirty(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
6458
err = ext4_reserve_inode_write(handle, inode, &iloc);
fs/ext4/inode.c
6464
iloc, handle);
fs/ext4/inode.c
6466
err = ext4_mark_iloc_dirty(handle, inode, &iloc);
fs/ext4/inode.c
6490
handle_t *handle;
fs/ext4/inode.c
6492
handle = ext4_journal_start(inode, EXT4_HT_INODE, 2);
fs/ext4/inode.c
6493
if (IS_ERR(handle))
fs/ext4/inode.c
6495
ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
6496
ext4_journal_stop(handle);
fs/ext4/inode.c
6502
handle_t *handle;
fs/ext4/inode.c
6574
handle = ext4_journal_start(inode, EXT4_HT_INODE, 1);
fs/ext4/inode.c
6575
if (IS_ERR(handle))
fs/ext4/inode.c
6576
return PTR_ERR(handle);
fs/ext4/inode.c
6579
EXT4_FC_REASON_JOURNAL_FLAG_CHANGE, handle);
fs/ext4/inode.c
6580
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/inode.c
6581
ext4_handle_sync(handle);
fs/ext4/inode.c
6582
ext4_journal_stop(handle);
fs/ext4/inode.c
6588
static int ext4_bh_unmapped(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
6597
handle_t *handle;
fs/ext4/inode.c
6605
handle = ext4_journal_start(inode, EXT4_HT_WRITE_PAGE, credits);
fs/ext4/inode.c
6606
if (IS_ERR(handle))
fs/ext4/inode.c
6607
return PTR_ERR(handle);
fs/ext4/inode.c
6621
ret = ext4_block_write_begin(handle, folio, 0, len, get_block);
fs/ext4/inode.c
6629
ret = ext4_journal_folio_buffers(handle, folio, len);
fs/ext4/inode.c
6633
ext4_journal_stop(handle);
fs/ext4/inode.c
6639
ext4_journal_stop(handle);
fs/ext4/inode.c
696
int ext4_map_blocks(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
760
ext4_map_blocks_es_recheck(handle, inode, map,
fs/ext4/inode.c
781
retval = ext4_map_query_blocks(handle, inode, map, flags);
fs/ext4/inode.c
811
ext4_fc_track_inode(handle, inode);
fs/ext4/inode.c
819
retval = ext4_map_create_blocks(handle, inode, map, flags);
fs/ext4/inode.c
846
ret = ext4_jbd2_inode_add_wait(handle, inode,
fs/ext4/inode.c
849
ret = ext4_jbd2_inode_add_write(handle, inode,
fs/ext4/inode.c
855
ext4_fc_track_range(handle, inode, map->m_lblk, map->m_lblk +
fs/ext4/inode.c
892
static inline int ext4_journal_ensure_extent_credits(handle_t *handle,
fs/ext4/inode.c
899
if (!handle)
fs/ext4/inode.c
903
ret = __ext4_journal_ensure_credits(handle, credits, credits, 0);
fs/ext4/inode.c
972
struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode,
fs/ext4/inode.c
982
|| handle != NULL || create == 0);
fs/ext4/inode.c
987
err = ext4_map_blocks(handle, inode, &map, map_flags);
fs/ext4/ioctl.c
108
handle_t *handle, ext4_group_t grp,
fs/ext4/ioctl.c
132
trace_ext4_update_sb(sb, sb_block, handle ? 1 : 0);
fs/ext4/ioctl.c
138
if (handle) {
fs/ext4/ioctl.c
140
err = ext4_journal_get_write_access(handle, sb,
fs/ext4/ioctl.c
1548
handle_t *handle;
fs/ext4/ioctl.c
1571
handle = ext4_journal_start(inode, EXT4_HT_INODE, 1);
fs/ext4/ioctl.c
1572
if (IS_ERR(handle)) {
fs/ext4/ioctl.c
1573
err = PTR_ERR(handle);
fs/ext4/ioctl.c
1576
err = ext4_reserve_inode_write(handle, inode, &iloc);
fs/ext4/ioctl.c
1581
err = ext4_mark_iloc_dirty(handle, inode, &iloc);
fs/ext4/ioctl.c
1583
ext4_journal_stop(handle);
fs/ext4/ioctl.c
162
if (handle) {
fs/ext4/ioctl.c
163
err = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/ioctl.c
192
handle_t *handle;
fs/ext4/ioctl.c
215
handle = ext4_journal_start_sb(sb, EXT4_HT_MISC, 3);
fs/ext4/ioctl.c
216
if (IS_ERR(handle)) {
fs/ext4/ioctl.c
217
err = PTR_ERR(handle);
fs/ext4/ioctl.c
222
err = ext4_update_primary_sb(sb, handle, func, arg);
fs/ext4/ioctl.c
244
ret = ext4_update_backup_sb(sb, handle, grp, func, arg);
fs/ext4/ioctl.c
254
if (handle && i > 1) {
fs/ext4/ioctl.c
260
err = ext4_journal_stop(handle);
fs/ext4/ioctl.c
263
handle = NULL;
fs/ext4/ioctl.c
270
if (handle) {
fs/ext4/ioctl.c
271
ret = ext4_journal_stop(handle);
fs/ext4/ioctl.c
379
handle_t *handle;
fs/ext4/ioctl.c
428
handle = ext4_journal_start(inode_bl, EXT4_HT_MOVE_EXTENTS, 2);
fs/ext4/ioctl.c
429
if (IS_ERR(handle)) {
fs/ext4/ioctl.c
433
ext4_fc_mark_ineligible(sb, EXT4_FC_REASON_SWAP_BOOT, handle);
fs/ext4/ioctl.c
451
ext4_ext_tree_init(handle, inode_bl);
fs/ext4/ioctl.c
476
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/ioctl.c
484
ext4_mark_inode_dirty(handle, inode);
fs/ext4/ioctl.c
492
err = ext4_mark_inode_dirty(handle, inode_bl);
fs/ext4/ioctl.c
513
ext4_mark_inode_dirty(handle, inode);
fs/ext4/ioctl.c
514
ext4_mark_inode_dirty(handle, inode_bl);
fs/ext4/ioctl.c
518
ext4_journal_stop(handle);
fs/ext4/ioctl.c
59
int ext4_update_primary_sb(struct super_block *sb, handle_t *handle,
fs/ext4/ioctl.c
594
handle_t *handle = NULL;
fs/ext4/ioctl.c
653
handle = ext4_journal_start(inode, EXT4_HT_INODE, 1);
fs/ext4/ioctl.c
654
if (IS_ERR(handle)) {
fs/ext4/ioctl.c
655
err = PTR_ERR(handle);
fs/ext4/ioctl.c
659
ext4_handle_sync(handle);
fs/ext4/ioctl.c
660
err = ext4_reserve_inode_write(handle, inode, &iloc);
fs/ext4/ioctl.c
683
err = ext4_mark_iloc_dirty(handle, inode, &iloc);
fs/ext4/ioctl.c
685
ext4_journal_stop(handle);
fs/ext4/ioctl.c
71
err = ext4_journal_get_write_access(handle, sb,
fs/ext4/ioctl.c
721
handle_t *handle;
fs/ext4/ioctl.c
766
handle = ext4_journal_start(inode, EXT4_HT_QUOTA,
fs/ext4/ioctl.c
769
if (IS_ERR(handle))
fs/ext4/ioctl.c
770
return PTR_ERR(handle);
fs/ext4/ioctl.c
772
err = ext4_reserve_inode_write(handle, inode, &iloc);
fs/ext4/ioctl.c
794
rc = ext4_mark_iloc_dirty(handle, inode, &iloc);
fs/ext4/ioctl.c
798
ext4_journal_stop(handle);
fs/ext4/ioctl.c
89
err = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/mballoc-test.c
329
ext4_mb_mark_context_stub(handle_t *handle, struct super_block *sb, bool state,
fs/ext4/mballoc.c
4088
ext4_mb_mark_context(handle_t *handle, struct super_block *sb, bool state,
fs/ext4/mballoc.c
4100
handle, sb, state, group, blkoff, len,
fs/ext4/mballoc.c
4109
if (handle) {
fs/ext4/mballoc.c
4111
err = ext4_journal_get_write_access(handle, sb, bitmap_bh,
fs/ext4/mballoc.c
4122
if (handle) {
fs/ext4/mballoc.c
4124
err = ext4_journal_get_write_access(handle, sb, gdp_bh,
fs/ext4/mballoc.c
4174
err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh);
fs/ext4/mballoc.c
4177
err = ext4_handle_dirty_metadata(handle, NULL, gdp_bh);
fs/ext4/mballoc.c
4196
ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac, handle_t *handle)
fs/ext4/mballoc.c
4227
err = ext4_mb_mark_context(handle, sb, true,
fs/ext4/mballoc.c
4240
err = ext4_mb_mark_context(handle, sb, true, ac->ac_b_ex.fe_group,
fs/ext4/mballoc.c
6235
ext4_fsblk_t ext4_mb_new_blocks(handle_t *handle,
fs/ext4/mballoc.c
6334
*errp = ext4_mb_mark_diskspace_used(ac, handle);
fs/ext4/mballoc.c
6439
ext4_mb_free_metadata(handle_t *handle, struct ext4_buddy *e4b,
fs/ext4/mballoc.c
6453
BUG_ON(!ext4_handle_valid(handle));
fs/ext4/mballoc.c
6536
static void ext4_mb_clear_bb(handle_t *handle, struct inode *inode,
fs/ext4/mballoc.c
6602
err = ext4_mb_mark_context(handle, sb, false, block_group, bit,
fs/ext4/mballoc.c
6619
if (ext4_handle_valid(handle) &&
fs/ext4/mballoc.c
6632
new_entry->efd_tid = handle->h_transaction->t_tid;
fs/ext4/mballoc.c
6635
ext4_mb_free_metadata(handle, &e4b, new_entry);
fs/ext4/mballoc.c
6697
void ext4_free_blocks(handle_t *handle, struct inode *inode,
fs/ext4/mballoc.c
6735
ext4_forget(handle, flags & EXT4_FREE_BLOCKS_METADATA,
fs/ext4/mballoc.c
6784
ext4_forget(handle, is_metadata, inode, bh, block + i);
fs/ext4/mballoc.c
6788
ext4_mb_clear_bb(handle, inode, block, count, flags);
fs/ext4/mballoc.c
6800
int ext4_group_add_blocks(handle_t *handle, struct super_block *sb,
fs/ext4/mballoc.c
6842
err = ext4_mb_mark_context(handle, sb, false, block_group, bit,
fs/ext4/mballoc.c
7231
handle_t *handle)
fs/ext4/mballoc.c
7233
return ext4_mb_mark_diskspace_used(ac, handle);
fs/ext4/mballoc.h
273
extern int ext4_mb_mark_context(handle_t *handle,
fs/ext4/mballoc.h
289
handle_t *handle);
fs/ext4/migrate.c
106
retval = update_extent_range(handle, inode,
fs/ext4/migrate.c
119
static int update_dind_extent_range(handle_t *handle, struct inode *inode,
fs/ext4/migrate.c
135
retval = update_ind_extent_range(handle, inode,
fs/ext4/migrate.c
149
static int update_tind_extent_range(handle_t *handle, struct inode *inode,
fs/ext4/migrate.c
165
retval = update_dind_extent_range(handle, inode,
fs/ext4/migrate.c
179
static int free_dind_blocks(handle_t *handle,
fs/ext4/migrate.c
196
err = ext4_journal_ensure_credits(handle,
fs/ext4/migrate.c
203
ext4_free_blocks(handle, inode, NULL,
fs/ext4/migrate.c
21
static int finish_range(handle_t *handle, struct inode *inode,
fs/ext4/migrate.c
210
err = ext4_journal_ensure_credits(handle, EXT4_RESERVE_TRANS_BLOCKS,
fs/ext4/migrate.c
214
ext4_free_blocks(handle, inode, NULL, le32_to_cpu(i_data), 1,
fs/ext4/migrate.c
220
static int free_tind_blocks(handle_t *handle,
fs/ext4/migrate.c
235
retval = free_dind_blocks(handle,
fs/ext4/migrate.c
244
retval = ext4_journal_ensure_credits(handle, EXT4_RESERVE_TRANS_BLOCKS,
fs/ext4/migrate.c
248
ext4_free_blocks(handle, inode, NULL, le32_to_cpu(i_data), 1,
fs/ext4/migrate.c
254
static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data)
fs/ext4/migrate.c
260
retval = ext4_journal_ensure_credits(handle,
fs/ext4/migrate.c
265
ext4_free_blocks(handle, inode, NULL,
fs/ext4/migrate.c
273
retval = free_dind_blocks(handle, inode, i_data[1]);
fs/ext4/migrate.c
280
retval = free_tind_blocks(handle, inode, i_data[2]);
fs/ext4/migrate.c
287
static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode,
fs/ext4/migrate.c
299
retval = ext4_journal_ensure_credits(handle, 1, 0);
fs/ext4/migrate.c
344
retval = free_ind_block(handle, inode, i_data);
fs/ext4/migrate.c
345
retval2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/migrate.c
353
static int free_ext_idx(handle_t *handle, struct inode *inode,
fs/ext4/migrate.c
370
retval = free_ext_idx(handle, inode, ix);
fs/ext4/migrate.c
378
retval = ext4_journal_ensure_credits(handle, EXT4_RESERVE_TRANS_BLOCKS,
fs/ext4/migrate.c
382
ext4_free_blocks(handle, inode, NULL, block, 1,
fs/ext4/migrate.c
390
static int free_ext_block(handle_t *handle, struct inode *inode)
fs/ext4/migrate.c
403
retval = free_ext_idx(handle, inode, ix);
fs/ext4/migrate.c
412
handle_t *handle;
fs/ext4/migrate.c
445
handle = ext4_journal_start(inode, EXT4_HT_MIGRATE,
fs/ext4/migrate.c
448
if (IS_ERR(handle)) {
fs/ext4/migrate.c
449
retval = PTR_ERR(handle);
fs/ext4/migrate.c
457
ext4_fc_mark_ineligible(inode->i_sb, EXT4_FC_REASON_MIGRATE, handle);
fs/ext4/migrate.c
462
tmp_inode = ext4_new_inode(handle, d_inode(inode->i_sb->s_root),
fs/ext4/migrate.c
466
ext4_journal_stop(handle);
fs/ext4/migrate.c
484
ext4_ext_tree_init(handle, tmp_inode);
fs/ext4/migrate.c
485
ext4_journal_stop(handle);
fs/ext4/migrate.c
507
handle = ext4_journal_start(inode, EXT4_HT_MIGRATE, 1);
fs/ext4/migrate.c
508
if (IS_ERR(handle)) {
fs/ext4/migrate.c
509
retval = PTR_ERR(handle);
fs/ext4/migrate.c
52
retval = ext4_datasem_ensure_credits(handle, inode, needed, needed, 0);
fs/ext4/migrate.c
520
retval = update_extent_range(handle, tmp_inode,
fs/ext4/migrate.c
528
retval = update_ind_extent_range(handle, tmp_inode,
fs/ext4/migrate.c
535
retval = update_dind_extent_range(handle, tmp_inode,
fs/ext4/migrate.c
542
retval = update_tind_extent_range(handle, tmp_inode,
fs/ext4/migrate.c
55
path = ext4_ext_insert_extent(handle, inode, path, &newext, 0);
fs/ext4/migrate.c
550
retval = finish_range(handle, tmp_inode, &lb);
fs/ext4/migrate.c
557
free_ext_block(handle, tmp_inode);
fs/ext4/migrate.c
559
retval = ext4_ext_swap_inode_data(handle, inode, tmp_inode);
fs/ext4/migrate.c
565
free_ext_block(handle, tmp_inode);
fs/ext4/migrate.c
569
retval = ext4_journal_ensure_credits(handle, 1, 0);
fs/ext4/migrate.c
589
ext4_ext_tree_init(handle, tmp_inode);
fs/ext4/migrate.c
591
ext4_journal_stop(handle);
fs/ext4/migrate.c
613
handle_t *handle;
fs/ext4/migrate.c
634
handle = ext4_journal_start(inode, EXT4_HT_MIGRATE, 1);
fs/ext4/migrate.c
635
if (IS_ERR(handle)) {
fs/ext4/migrate.c
636
ret = PTR_ERR(handle);
fs/ext4/migrate.c
644
ext4_fc_mark_ineligible(inode->i_sb, EXT4_FC_REASON_MIGRATE, handle);
fs/ext4/migrate.c
65
static int update_extent_range(handle_t *handle, struct inode *inode,
fs/ext4/migrate.c
675
ret2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/migrate.c
680
ext4_journal_stop(handle);
fs/ext4/migrate.c
83
retval = finish_range(handle, inode, lb);
fs/ext4/migrate.c
90
static int update_ind_extent_range(handle_t *handle, struct inode *inode,
fs/ext4/move_extent.c
310
handle_t *handle;
fs/ext4/move_extent.c
319
handle = ext4_journal_start(orig_inode, EXT4_HT_MOVE_EXTENTS, credits);
fs/ext4/move_extent.c
320
if (IS_ERR(handle)) {
fs/ext4/move_extent.c
321
ret = PTR_ERR(handle);
fs/ext4/move_extent.c
325
handle);
fs/ext4/move_extent.c
358
*m_len = ext4_swap_extents(handle, orig_inode, donor_inode,
fs/ext4/move_extent.c
382
ret2 = ext4_jbd2_inode_add_write(handle, orig_inode,
fs/ext4/move_extent.c
389
ext4_journal_stop(handle);
fs/ext4/move_extent.c
399
r_len = ext4_swap_extents(handle, donor_inode, orig_inode,
fs/ext4/namei.c
1903
static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir,
fs/ext4/namei.c
1923
bh2 = ext4_append(handle, dir, &newblock);
fs/ext4/namei.c
1931
err = ext4_journal_get_write_access(handle, dir->i_sb, *bh,
fs/ext4/namei.c
1937
err = ext4_journal_get_write_access(handle, dir->i_sb, frame->bh,
fs/ext4/namei.c
2016
err = ext4_handle_dirty_dirblock(handle, dir, bh2);
fs/ext4/namei.c
2019
err = ext4_handle_dirty_dx_node(handle, dir, frame->bh);
fs/ext4/namei.c
2108
static int add_dirent_to_buf(handle_t *handle, struct ext4_filename *fname,
fs/ext4/namei.c
2127
err = ext4_journal_get_write_access(handle, dir->i_sb, bh,
fs/ext4/namei.c
2151
err2 = ext4_mark_inode_dirty(handle, dir);
fs/ext4/namei.c
2153
err = ext4_handle_dirty_dirblock(handle, dir, bh);
fs/ext4/namei.c
2209
static int make_indexed_dir(handle_t *handle, struct ext4_filename *fname,
fs/ext4/namei.c
2232
retval = ext4_journal_get_write_access(handle, dir->i_sb, bh,
fs/ext4/namei.c
2253
bh2 = ext4_append(handle, dir, &block);
fs/ext4/namei.c
2319
retval = ext4_handle_dirty_dx_node(handle, dir, frame->bh);
fs/ext4/namei.c
2322
retval = ext4_handle_dirty_dirblock(handle, dir, bh2);
fs/ext4/namei.c
2326
de = do_split(handle,dir, &bh2, frame, &fname->hinfo);
fs/ext4/namei.c
2332
retval = add_dirent_to_buf(handle, fname, dir, inode, de, bh2);
fs/ext4/namei.c
2340
ext4_mark_inode_dirty(handle, dir);
fs/ext4/namei.c
2356
static int ext4_add_entry(handle_t *handle, struct dentry *dentry,
fs/ext4/namei.c
2387
retval = ext4_try_add_inline_entry(handle, &fname, dir, inode);
fs/ext4/namei.c
2397
retval = ext4_dx_add_entry(handle, &fname, dir, inode);
fs/ext4/namei.c
2409
retval = ext4_mark_inode_dirty(handle, dir);
fs/ext4/namei.c
2417
bh = ext4_bread(handle, dir, block,
fs/ext4/namei.c
2426
retval = add_dirent_to_buf(handle, &fname, dir, inode,
fs/ext4/namei.c
2433
retval = make_indexed_dir(handle, &fname, dir,
fs/ext4/namei.c
2440
bh = ext4_append(handle, dir, &block);
fs/ext4/namei.c
2454
retval = add_dirent_to_buf(handle, &fname, dir, inode, de, bh);
fs/ext4/namei.c
2466
static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname,
fs/ext4/namei.c
2492
err = ext4_journal_get_write_access(handle, sb, bh, EXT4_JTR_NONE);
fs/ext4/namei.c
2496
err = add_dirent_to_buf(handle, fname, dir, inode, NULL, bh);
fs/ext4/namei.c
2538
bh2 = ext4_append(handle, dir, &newblock);
fs/ext4/namei.c
2549
err = ext4_journal_get_write_access(handle, sb, frame->bh,
fs/ext4/namei.c
2562
err = ext4_journal_get_write_access(handle, sb,
fs/ext4/namei.c
2586
err = ext4_handle_dirty_dx_node(handle, dir, bh2);
fs/ext4/namei.c
2592
err = ext4_handle_dirty_dx_node(handle, dir,
fs/ext4/namei.c
2596
err = ext4_handle_dirty_dx_node(handle, dir,
fs/ext4/namei.c
2614
err = ext4_handle_dirty_dx_node(handle, dir, frame->bh);
fs/ext4/namei.c
2619
err = ext4_handle_dirty_dx_node(handle, dir, bh2);
fs/ext4/namei.c
2625
de = do_split(handle, dir, &bh, frame, &fname->hinfo);
fs/ext4/namei.c
2630
err = add_dirent_to_buf(handle, fname, dir, inode, de, bh);
fs/ext4/namei.c
2700
static int ext4_delete_entry(handle_t *handle,
fs/ext4/namei.c
2709
err = ext4_delete_inline_entry(handle, dir, de_del, bh,
fs/ext4/namei.c
2719
err = ext4_journal_get_write_access(handle, dir->i_sb, bh,
fs/ext4/namei.c
2730
err = ext4_handle_dirty_dirblock(handle, dir, bh);
fs/ext4/namei.c
2777
static int ext4_add_nondir(handle_t *handle,
fs/ext4/namei.c
2782
int err = ext4_add_entry(handle, dentry, inode);
fs/ext4/namei.c
2784
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/namei.c
2786
ext4_handle_sync(handle);
fs/ext4/namei.c
2792
ext4_mark_inode_dirty(handle, inode);
fs/ext4/namei.c
2793
ext4_orphan_add(handle, inode);
fs/ext4/namei.c
2809
handle_t *handle;
fs/ext4/namei.c
2822
handle = ext4_journal_current_handle();
fs/ext4/namei.c
2828
err = ext4_add_nondir(handle, dentry, &inode);
fs/ext4/namei.c
2830
ext4_fc_track_create(handle, dentry);
fs/ext4/namei.c
2832
if (handle)
fs/ext4/namei.c
2833
ext4_journal_stop(handle);
fs/ext4/namei.c
2844
handle_t *handle;
fs/ext4/namei.c
2857
handle = ext4_journal_current_handle();
fs/ext4/namei.c
2862
err = ext4_add_nondir(handle, dentry, &inode);
fs/ext4/namei.c
2864
ext4_fc_track_create(handle, dentry);
fs/ext4/namei.c
2866
if (handle)
fs/ext4/namei.c
2867
ext4_journal_stop(handle);
fs/ext4/namei.c
2878
handle_t *handle;
fs/ext4/namei.c
2892
handle = ext4_journal_current_handle();
fs/ext4/namei.c
2899
err = ext4_orphan_add(handle, inode);
fs/ext4/namei.c
2905
if (handle)
fs/ext4/namei.c
2906
ext4_journal_stop(handle);
fs/ext4/namei.c
2911
ext4_journal_stop(handle);
fs/ext4/namei.c
2916
int ext4_init_dirblock(handle_t *handle, struct inode *inode,
fs/ext4/namei.c
2959
return ext4_handle_dirty_dirblock(handle, inode, bh);
fs/ext4/namei.c
2962
int ext4_init_new_dir(handle_t *handle, struct inode *dir,
fs/ext4/namei.c
297
static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname,
fs/ext4/namei.c
2970
err = ext4_try_create_inline_dir(handle, dir, inode);
fs/ext4/namei.c
2979
dir_block = ext4_append(handle, inode, &block);
fs/ext4/namei.c
2982
err = ext4_init_dirblock(handle, inode, dir_block, dir->i_ino, NULL, 0);
fs/ext4/namei.c
2991
handle_t *handle;
fs/ext4/namei.c
3008
handle = ext4_journal_current_handle();
fs/ext4/namei.c
3015
err = ext4_init_new_dir(handle, dir, inode);
fs/ext4/namei.c
3018
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/namei.c
3020
err = ext4_add_entry(handle, dentry, inode);
fs/ext4/namei.c
3024
ext4_orphan_add(handle, inode);
fs/ext4/namei.c
3026
err2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/namei.c
3029
ext4_journal_stop(handle);
fs/ext4/namei.c
3036
err = ext4_mark_inode_dirty(handle, dir);
fs/ext4/namei.c
3040
ext4_fc_track_create(handle, dentry);
fs/ext4/namei.c
3042
ext4_handle_sync(handle);
fs/ext4/namei.c
3045
if (handle)
fs/ext4/namei.c
3046
ext4_journal_stop(handle);
fs/ext4/namei.c
3135
handle_t *handle = NULL;
fs/ext4/namei.c
3167
handle = ext4_journal_start(dir, EXT4_HT_DIR,
fs/ext4/namei.c
3169
if (IS_ERR(handle)) {
fs/ext4/namei.c
3170
retval = PTR_ERR(handle);
fs/ext4/namei.c
3171
handle = NULL;
fs/ext4/namei.c
3176
ext4_handle_sync(handle);
fs/ext4/namei.c
3178
retval = ext4_delete_entry(handle, dir, de, bh);
fs/ext4/namei.c
3192
ext4_orphan_add(handle, inode);
fs/ext4/namei.c
3195
retval = ext4_mark_inode_dirty(handle, inode);
fs/ext4/namei.c
3200
ext4_fc_track_unlink(handle, dentry);
fs/ext4/namei.c
3201
retval = ext4_mark_inode_dirty(handle, dir);
fs/ext4/namei.c
3214
if (handle)
fs/ext4/namei.c
3215
ext4_journal_stop(handle);
fs/ext4/namei.c
3226
handle_t *handle;
fs/ext4/namei.c
3252
handle = ext4_journal_start(dir, EXT4_HT_DIR,
fs/ext4/namei.c
3254
if (IS_ERR(handle)) {
fs/ext4/namei.c
3255
retval = PTR_ERR(handle);
fs/ext4/namei.c
3260
ext4_handle_sync(handle);
fs/ext4/namei.c
3263
retval = ext4_delete_entry(handle, dir, de, bh);
fs/ext4/namei.c
3268
retval = ext4_mark_inode_dirty(handle, dir);
fs/ext4/namei.c
3280
ext4_orphan_add(handle, inode);
fs/ext4/namei.c
3282
retval = ext4_mark_inode_dirty(handle, inode);
fs/ext4/namei.c
3284
ext4_fc_track_unlink(handle, dentry);
fs/ext4/namei.c
3286
ext4_journal_stop(handle);
fs/ext4/namei.c
3328
static int ext4_init_symlink_block(handle_t *handle, struct inode *inode,
fs/ext4/namei.c
3335
bh = ext4_bread(handle, inode, 0, EXT4_GET_BLOCKS_CREATE);
fs/ext4/namei.c
3340
err = ext4_journal_get_write_access(handle, inode->i_sb, bh, EXT4_JTR_NONE);
fs/ext4/namei.c
3348
err = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/namei.c
3357
handle_t *handle;
fs/ext4/namei.c
3389
handle = ext4_journal_current_handle();
fs/ext4/namei.c
3391
if (handle)
fs/ext4/namei.c
3392
ext4_journal_stop(handle);
fs/ext4/namei.c
3412
err = ext4_init_symlink_block(handle, inode, &disk_link);
fs/ext4/namei.c
3426
err = ext4_add_nondir(handle, dentry, &inode);
fs/ext4/namei.c
3427
if (handle)
fs/ext4/namei.c
3428
ext4_journal_stop(handle);
fs/ext4/namei.c
3434
ext4_mark_inode_dirty(handle, inode);
fs/ext4/namei.c
3435
ext4_orphan_add(handle, inode);
fs/ext4/namei.c
3437
if (handle)
fs/ext4/namei.c
3438
ext4_journal_stop(handle);
fs/ext4/namei.c
3450
handle_t *handle;
fs/ext4/namei.c
3453
handle = ext4_journal_start(dir, EXT4_HT_DIR,
fs/ext4/namei.c
3456
if (IS_ERR(handle))
fs/ext4/namei.c
3457
return PTR_ERR(handle);
fs/ext4/namei.c
3460
ext4_handle_sync(handle);
fs/ext4/namei.c
3466
err = ext4_add_entry(handle, dentry, inode);
fs/ext4/namei.c
3468
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/namei.c
3473
ext4_orphan_del(handle, inode);
fs/ext4/namei.c
3475
ext4_fc_track_link(handle, dentry);
fs/ext4/namei.c
3480
ext4_journal_stop(handle);
fs/ext4/namei.c
3515
static struct buffer_head *ext4_get_first_dir_block(handle_t *handle,
fs/ext4/namei.c
3582
static int ext4_rename_dir_prepare(handle_t *handle, struct ext4_renament *ent, bool is_cross)
fs/ext4/namei.c
3590
ent->dir_bh = ext4_get_first_dir_block(handle, ent->inode,
fs/ext4/namei.c
3598
return ext4_journal_get_write_access(handle, ent->dir->i_sb,
fs/ext4/namei.c
3602
static int ext4_rename_dir_finish(handle_t *handle, struct ext4_renament *ent,
fs/ext4/namei.c
3614
retval = ext4_handle_dirty_dx_node(handle,
fs/ext4/namei.c
3618
retval = ext4_handle_dirty_dirblock(handle, ent->inode,
fs/ext4/namei.c
3622
retval = ext4_mark_inode_dirty(handle, ent->inode);
fs/ext4/namei.c
3631
static int ext4_setent(handle_t *handle, struct ext4_renament *ent,
fs/ext4/namei.c
3637
retval = ext4_journal_get_write_access(handle, ent->dir->i_sb, ent->bh,
fs/ext4/namei.c
3646
retval = ext4_mark_inode_dirty(handle, ent->dir);
fs/ext4/namei.c
3649
retval2 = ext4_handle_dirty_dirblock(handle, ent->dir, ent->bh);
fs/ext4/namei.c
3658
static void ext4_resetent(handle_t *handle, struct ext4_renament *ent,
fs/ext4/namei.c
3680
ext4_setent(handle, &old, ino, file_type);
fs/ext4/namei.c
3684
static int ext4_find_delete_entry(handle_t *handle, struct inode *dir,
fs/ext4/namei.c
3695
retval = ext4_delete_entry(handle, dir, de, bh);
fs/ext4/namei.c
3701
static void ext4_rename_delete(handle_t *handle, struct ext4_renament *ent,
fs/ext4/namei.c
3716
retval = ext4_find_delete_entry(handle, ent->dir,
fs/ext4/namei.c
3719
retval = ext4_delete_entry(handle, ent->dir, ent->de, ent->bh);
fs/ext4/namei.c
3721
retval = ext4_find_delete_entry(handle, ent->dir,
fs/ext4/namei.c
3733
static void ext4_update_dir_count(handle_t *handle, struct ext4_renament *ent)
fs/ext4/namei.c
3740
ext4_mark_inode_dirty(handle, ent->dir);
fs/ext4/namei.c
3749
handle_t *handle;
fs/ext4/namei.c
3764
handle = ext4_journal_current_handle();
fs/ext4/namei.c
3766
if (handle)
fs/ext4/namei.c
3767
ext4_journal_stop(handle);
fs/ext4/namei.c
3772
*h = handle;
fs/ext4/namei.c
3791
handle_t *handle = NULL;
fs/ext4/namei.c
3871
handle = ext4_journal_start(old.dir, EXT4_HT_DIR, credits);
fs/ext4/namei.c
3872
if (IS_ERR(handle)) {
fs/ext4/namei.c
3873
retval = PTR_ERR(handle);
fs/ext4/namei.c
3877
whiteout = ext4_whiteout_for_rename(idmap, &old, credits, &handle);
fs/ext4/namei.c
3886
ext4_handle_sync(handle);
fs/ext4/namei.c
3898
retval = ext4_rename_dir_prepare(handle, &old, new.dir != old.dir);
fs/ext4/namei.c
3917
retval = ext4_setent(handle, &old, whiteout->i_ino,
fs/ext4/namei.c
3921
retval = ext4_mark_inode_dirty(handle, whiteout);
fs/ext4/namei.c
3927
retval = ext4_add_entry(handle, new.dentry, old.inode);
fs/ext4/namei.c
3931
retval = ext4_setent(handle, &new,
fs/ext4/namei.c
3945
retval = ext4_mark_inode_dirty(handle, old.inode);
fs/ext4/namei.c
3953
ext4_rename_delete(handle, &old, force_reread);
fs/ext4/namei.c
3963
retval = ext4_rename_dir_finish(handle, &old, new.dir->i_ino);
fs/ext4/namei.c
3976
retval = ext4_mark_inode_dirty(handle, new.dir);
fs/ext4/namei.c
3981
retval = ext4_mark_inode_dirty(handle, old.dir);
fs/ext4/namei.c
3992
EXT4_FC_REASON_RENAME_DIR, handle);
fs/ext4/namei.c
3997
ext4_fc_track_unlink(handle, new.dentry);
fs/ext4/namei.c
4001
__ext4_fc_track_link(handle, old.inode, new.dentry);
fs/ext4/namei.c
4002
__ext4_fc_track_unlink(handle, old.inode, old.dentry);
fs/ext4/namei.c
4004
__ext4_fc_track_create(handle, whiteout,
fs/ext4/namei.c
4010
retval = ext4_mark_inode_dirty(handle, new.inode);
fs/ext4/namei.c
4014
ext4_orphan_add(handle, new.inode);
fs/ext4/namei.c
4021
ext4_resetent(handle, &old,
fs/ext4/namei.c
4024
ext4_mark_inode_dirty(handle, whiteout);
fs/ext4/namei.c
4025
ext4_orphan_add(handle, whiteout);
fs/ext4/namei.c
4028
ext4_journal_stop(handle);
fs/ext4/namei.c
4031
ext4_journal_stop(handle);
fs/ext4/namei.c
404
int ext4_handle_dirty_dirblock(handle_t *handle,
fs/ext4/namei.c
4044
handle_t *handle = NULL;
fs/ext4/namei.c
409
return ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/namei.c
4099
handle = ext4_journal_start(old.dir, EXT4_HT_DIR,
fs/ext4/namei.c
4102
if (IS_ERR(handle)) {
fs/ext4/namei.c
4103
retval = PTR_ERR(handle);
fs/ext4/namei.c
4104
handle = NULL;
fs/ext4/namei.c
4109
ext4_handle_sync(handle);
fs/ext4/namei.c
4112
retval = ext4_rename_dir_prepare(handle, &old, new.dir != old.dir);
fs/ext4/namei.c
4117
retval = ext4_rename_dir_prepare(handle, &new, new.dir != old.dir);
fs/ext4/namei.c
4136
retval = ext4_setent(handle, &new, old.inode->i_ino, old.de->file_type);
fs/ext4/namei.c
4140
retval = ext4_setent(handle, &old, new.inode->i_ino, new_file_type);
fs/ext4/namei.c
4150
retval = ext4_mark_inode_dirty(handle, old.inode);
fs/ext4/namei.c
4153
retval = ext4_mark_inode_dirty(handle, new.inode);
fs/ext4/namei.c
4157
EXT4_FC_REASON_CROSS_RENAME, handle);
fs/ext4/namei.c
4159
retval = ext4_rename_dir_finish(handle, &old, new.dir->i_ino);
fs/ext4/namei.c
4164
retval = ext4_rename_dir_finish(handle, &new, old.dir->i_ino);
fs/ext4/namei.c
4168
ext4_update_dir_count(handle, &old);
fs/ext4/namei.c
4169
ext4_update_dir_count(handle, &new);
fs/ext4/namei.c
4177
if (handle)
fs/ext4/namei.c
4178
ext4_journal_stop(handle);
fs/ext4/namei.c
514
static inline int ext4_handle_dirty_dx_node(handle_t *handle,
fs/ext4/namei.c
519
return ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/namei.c
53
static struct buffer_head *ext4_append(handle_t *handle,
fs/ext4/namei.c
83
bh = ext4_bread(handle, inode, *block, EXT4_GET_BLOCKS_CREATE);
fs/ext4/namei.c
88
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/namei.c
92
err = ext4_journal_get_write_access(handle, inode->i_sb, bh,
fs/ext4/orphan.c
101
int ext4_orphan_add(handle_t *handle, struct inode *inode)
fs/ext4/orphan.c
127
err = ext4_orphan_file_add(handle, inode);
fs/ext4/orphan.c
13
static int ext4_orphan_file_add(handle_t *handle, struct inode *inode)
fs/ext4/orphan.c
137
err = ext4_journal_get_write_access(handle, sb, sbi->s_sbh,
fs/ext4/orphan.c
142
err = ext4_reserve_inode_write(handle, inode, &iloc);
fs/ext4/orphan.c
165
err = ext4_handle_dirty_metadata(handle, NULL, sbi->s_sbh);
fs/ext4/orphan.c
166
rc = ext4_mark_iloc_dirty(handle, inode, &iloc);
fs/ext4/orphan.c
190
static int ext4_orphan_file_del(handle_t *handle, struct inode *inode)
fs/ext4/orphan.c
198
if (!handle)
fs/ext4/orphan.c
205
ret = ext4_journal_get_write_access(handle, inode->i_sb,
fs/ext4/orphan.c
213
ret = ext4_handle_dirty_metadata(handle, NULL, oi->of_binfo[blk].ob_bh);
fs/ext4/orphan.c
225
int ext4_orphan_del(handle_t *handle, struct inode *inode)
fs/ext4/orphan.c
240
return ext4_orphan_file_del(handle, inode);
fs/ext4/orphan.c
246
if (handle) {
fs/ext4/orphan.c
248
err = ext4_reserve_inode_write(handle, inode, &iloc);
fs/ext4/orphan.c
261
if (!handle || err) {
fs/ext4/orphan.c
270
err = ext4_journal_get_write_access(handle, inode->i_sb,
fs/ext4/orphan.c
281
err = ext4_handle_dirty_metadata(handle, NULL, sbi->s_sbh);
fs/ext4/orphan.c
289
err = ext4_reserve_inode_write(handle, i_prev, &iloc2);
fs/ext4/orphan.c
295
err = ext4_mark_iloc_dirty(handle, i_prev, &iloc2);
fs/ext4/orphan.c
301
err = ext4_mark_iloc_dirty(handle, inode, &iloc);
fs/ext4/orphan.c
49
ret = ext4_journal_get_write_access(handle, inode->i_sb,
fs/ext4/orphan.c
86
return ext4_handle_dirty_metadata(handle, NULL, oi->of_binfo[i].ob_bh);
fs/ext4/page-io.c
156
WARN_ON(io_end->handle);
fs/ext4/page-io.c
179
handle_t *handle = io_end->handle;
fs/ext4/page-io.c
191
io_end->handle = NULL; /* Following call will use up the handle */
fs/ext4/page-io.c
194
if (handle)
fs/ext4/page-io.c
195
jbd2_journal_free_reserved(handle);
fs/ext4/page-io.c
200
ret = ext4_convert_unwritten_io_end_vec(handle, io_end);
fs/ext4/page-io.c
261
!io_end->handle && sbi->s_journal);
fs/ext4/resize.c
1018
static int reserve_backup_gdb(handle_t *handle, struct inode *inode,
fs/ext4/resize.c
1078
if ((err = ext4_journal_get_write_access(handle, sb, primary[i],
fs/ext4/resize.c
1083
if ((err = ext4_reserve_inode_write(handle, inode, &iloc)))
fs/ext4/resize.c
1095
err2 = ext4_handle_dirty_metadata(handle, NULL, primary[i]);
fs/ext4/resize.c
1101
ext4_mark_iloc_dirty(handle, inode, &iloc);
fs/ext4/resize.c
1151
handle_t *handle;
fs/ext4/resize.c
1154
handle = ext4_journal_start_sb(sb, EXT4_HT_RESIZE, EXT4_MAX_TRANS_DATA);
fs/ext4/resize.c
1155
if (IS_ERR(handle)) {
fs/ext4/resize.c
1157
err = PTR_ERR(handle);
fs/ext4/resize.c
1176
err = ext4_resize_ensure_credits_batch(handle, 1);
fs/ext4/resize.c
1194
if ((err = ext4_journal_get_write_access(handle, sb, bh,
fs/ext4/resize.c
1207
err = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/resize.c
1219
if ((err2 = ext4_journal_stop(handle)) && !err)
fs/ext4/resize.c
1252
static int ext4_add_new_descs(handle_t *handle, struct super_block *sb,
fs/ext4/resize.c
1280
err = ext4_journal_get_write_access(handle, sb, gdb_bh,
fs/ext4/resize.c
1284
err = reserve_backup_gdb(handle, resize_inode, group);
fs/ext4/resize.c
1286
err = add_new_gdb_meta_bg(sb, handle, group);
fs/ext4/resize.c
1288
err = add_new_gdb(handle, resize_inode, group);
fs/ext4/resize.c
1338
static int ext4_setup_new_descs(handle_t *handle, struct super_block *sb,
fs/ext4/resize.c
1383
err = ext4_handle_dirty_metadata(handle, NULL, gdb_bh);
fs/ext4/resize.c
1544
handle_t *handle;
fs/ext4/resize.c
1569
handle = ext4_journal_start_sb(sb, EXT4_HT_RESIZE, credit);
fs/ext4/resize.c
1570
if (IS_ERR(handle)) {
fs/ext4/resize.c
1571
err = PTR_ERR(handle);
fs/ext4/resize.c
1576
err = ext4_journal_get_write_access(handle, sb, sbi->s_sbh,
fs/ext4/resize.c
1583
err = ext4_add_new_descs(handle, sb, group,
fs/ext4/resize.c
1588
err = ext4_setup_new_descs(handle, sb, flex_gd);
fs/ext4/resize.c
1594
err = ext4_handle_dirty_metadata(handle, NULL, sbi->s_sbh);
fs/ext4/resize.c
1597
err2 = ext4_journal_stop(handle);
fs/ext4/resize.c
1774
handle_t *handle;
fs/ext4/resize.c
1780
handle = ext4_journal_start_sb(sb, EXT4_HT_RESIZE, 3);
fs/ext4/resize.c
1781
if (IS_ERR(handle)) {
fs/ext4/resize.c
1782
err = PTR_ERR(handle);
fs/ext4/resize.c
1788
err = ext4_journal_get_write_access(handle, sb, EXT4_SB(sb)->s_sbh,
fs/ext4/resize.c
1803
err = ext4_group_add_blocks(handle, sb, o_blocks_count, add);
fs/ext4/resize.c
1806
ext4_handle_dirty_metadata(handle, NULL, EXT4_SB(sb)->s_sbh);
fs/ext4/resize.c
1810
err2 = ext4_journal_stop(handle);
fs/ext4/resize.c
1911
handle_t *handle;
fs/ext4/resize.c
1944
handle = ext4_journal_start_sb(sb, EXT4_HT_RESIZE, credits);
fs/ext4/resize.c
1945
if (IS_ERR(handle))
fs/ext4/resize.c
1946
return PTR_ERR(handle);
fs/ext4/resize.c
1949
err = ext4_journal_get_write_access(handle, sb, sbi->s_sbh,
fs/ext4/resize.c
1962
err = ext4_handle_dirty_metadata(handle, NULL, sbi->s_sbh);
fs/ext4/resize.c
1970
ext4_free_blocks(handle, inode, NULL, nr, 1,
fs/ext4/resize.c
1976
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/resize.c
1982
ret = ext4_journal_stop(handle);
fs/ext4/resize.c
422
static struct buffer_head *bclean(handle_t *handle, struct super_block *sb,
fs/ext4/resize.c
432
err = ext4_journal_get_write_access(handle, sb, bh, EXT4_JTR_NONE);
fs/ext4/resize.c
444
static int ext4_resize_ensure_credits_batch(handle_t *handle, int credits)
fs/ext4/resize.c
446
return ext4_journal_ensure_credits_fn(handle, credits,
fs/ext4/resize.c
459
static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle,
fs/ext4/resize.c
488
err = ext4_resize_ensure_credits_batch(handle, 1);
fs/ext4/resize.c
497
err = ext4_journal_get_write_access(handle, sb, bh,
fs/ext4/resize.c
507
err = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/resize.c
540
handle_t *handle;
fs/ext4/resize.c
553
handle = ext4_journal_start_sb(sb, EXT4_HT_RESIZE, EXT4_MAX_TRANS_DATA);
fs/ext4/resize.c
554
if (IS_ERR(handle))
fs/ext4/resize.c
555
return PTR_ERR(handle);
fs/ext4/resize.c
577
err = ext4_resize_ensure_credits_batch(handle, 1);
fs/ext4/resize.c
588
err = ext4_journal_get_write_access(handle, sb, gdb,
fs/ext4/resize.c
598
err = ext4_handle_dirty_metadata(handle, NULL, gdb);
fs/ext4/resize.c
636
err = ext4_resize_ensure_credits_batch(handle, 1);
fs/ext4/resize.c
640
bh = bclean(handle, sb, block);
fs/ext4/resize.c
654
err = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/resize.c
665
err = ext4_resize_ensure_credits_batch(handle, 1);
fs/ext4/resize.c
669
bh = bclean(handle, sb, block);
fs/ext4/resize.c
677
err = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/resize.c
694
err = set_flexbg_block_bitmap(sb, handle,
fs/ext4/resize.c
707
err = set_flexbg_block_bitmap(sb, handle,
fs/ext4/resize.c
718
err2 = ext4_journal_stop(handle);
fs/ext4/resize.c
819
static int add_new_gdb(handle_t *handle, struct inode *inode,
fs/ext4/resize.c
866
err = ext4_journal_get_write_access(handle, sb, EXT4_SB(sb)->s_sbh,
fs/ext4/resize.c
872
err = ext4_journal_get_write_access(handle, sb, gdb_bh, EXT4_JTR_NONE);
fs/ext4/resize.c
877
err = ext4_journal_get_write_access(handle, sb, dind, EXT4_JTR_NONE);
fs/ext4/resize.c
884
err = ext4_reserve_inode_write(handle, inode, &iloc);
fs/ext4/resize.c
907
err = ext4_handle_dirty_metadata(handle, NULL, dind);
fs/ext4/resize.c
914
ext4_mark_iloc_dirty(handle, inode, &iloc);
fs/ext4/resize.c
916
err = ext4_handle_dirty_metadata(handle, NULL, gdb_bh);
fs/ext4/resize.c
938
err = ext4_handle_dirty_metadata(handle, NULL, EXT4_SB(sb)->s_sbh);
fs/ext4/resize.c
962
handle_t *handle, ext4_group_t group) {
fs/ext4/resize.c
992
err = ext4_journal_get_write_access(handle, sb, gdb_bh, EXT4_JTR_NONE);
fs/ext4/super.c
6994
handle_t *handle;
fs/ext4/super.c
6998
handle = ext4_journal_start(inode, EXT4_HT_QUOTA,
fs/ext4/super.c
7000
if (IS_ERR(handle))
fs/ext4/super.c
7001
return PTR_ERR(handle);
fs/ext4/super.c
7007
err = ext4_journal_stop(handle);
fs/ext4/super.c
7016
handle_t *handle;
fs/ext4/super.c
7018
handle = ext4_journal_start(dquot_to_inode(dquot), EXT4_HT_QUOTA,
fs/ext4/super.c
7020
if (IS_ERR(handle))
fs/ext4/super.c
7021
return PTR_ERR(handle);
fs/ext4/super.c
7027
err = ext4_journal_stop(handle);
fs/ext4/super.c
7036
handle_t *handle;
fs/ext4/super.c
7049
handle = ext4_journal_start(dquot_to_inode(dquot), EXT4_HT_QUOTA,
fs/ext4/super.c
7051
if (IS_ERR(handle)) {
fs/ext4/super.c
7056
return PTR_ERR(handle);
fs/ext4/super.c
7063
err = ext4_journal_stop(handle);
fs/ext4/super.c
7088
handle_t *handle;
fs/ext4/super.c
7091
handle = ext4_journal_start_sb(sb, EXT4_HT_QUOTA, 2);
fs/ext4/super.c
7092
if (IS_ERR(handle))
fs/ext4/super.c
7093
return PTR_ERR(handle);
fs/ext4/super.c
7095
err = ext4_journal_stop(handle);
fs/ext4/super.c
7154
handle_t *handle;
fs/ext4/super.c
7162
handle = ext4_journal_start(inode, EXT4_HT_QUOTA, 1);
fs/ext4/super.c
7163
if (IS_ERR(handle))
fs/ext4/super.c
7168
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/super.c
7169
ext4_journal_stop(handle);
fs/ext4/super.c
7274
handle_t *handle;
fs/ext4/super.c
7302
handle = ext4_journal_start(inode, EXT4_HT_QUOTA, 1);
fs/ext4/super.c
7303
if (IS_ERR(handle)) {
fs/ext4/super.c
7304
err = PTR_ERR(handle);
fs/ext4/super.c
7310
err = ext4_mark_inode_dirty(handle, inode);
fs/ext4/super.c
7311
ext4_journal_stop(handle);
fs/ext4/super.c
7370
handle_t *handle = journal_current_handle();
fs/ext4/super.c
7372
if (!handle) {
fs/ext4/super.c
7390
bh = ext4_bread(handle, inode, blk,
fs/ext4/super.c
7400
err = ext4_journal_get_write_access(handle, sb, bh, EXT4_JTR_NONE);
fs/ext4/super.c
7409
err = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/super.c
7415
err2 = ext4_mark_inode_dirty(handle, inode);
fs/ext4/super.c
750
handle_t *handle;
fs/ext4/super.c
765
handle = jbd2_journal_start(journal, 1);
fs/ext4/super.c
766
if (IS_ERR(handle))
fs/ext4/super.c
768
if (jbd2_journal_get_write_access(handle, sbh)) {
fs/ext4/super.c
769
jbd2_journal_stop(handle);
fs/ext4/super.c
784
if (jbd2_journal_dirty_metadata(handle, sbh)) {
fs/ext4/super.c
785
jbd2_journal_stop(handle);
fs/ext4/super.c
788
jbd2_journal_stop(handle);
fs/ext4/verity.c
106
handle_t *handle;
fs/ext4/verity.c
147
handle = ext4_journal_start(inode, EXT4_HT_INODE, credits);
fs/ext4/verity.c
148
if (IS_ERR(handle))
fs/ext4/verity.c
149
return PTR_ERR(handle);
fs/ext4/verity.c
151
err = ext4_orphan_add(handle, inode);
fs/ext4/verity.c
155
ext4_journal_stop(handle);
fs/ext4/verity.c
196
handle_t *handle;
fs/ext4/verity.c
228
handle = ext4_journal_start(inode, EXT4_HT_INODE, credits);
fs/ext4/verity.c
229
if (IS_ERR(handle)) {
fs/ext4/verity.c
230
err = PTR_ERR(handle);
fs/ext4/verity.c
234
ext4_fc_mark_ineligible(inode->i_sb, EXT4_FC_REASON_VERITY, handle);
fs/ext4/verity.c
236
err = ext4_orphan_del(handle, inode);
fs/ext4/verity.c
240
err = ext4_reserve_inode_write(handle, inode, &iloc);
fs/ext4/verity.c
246
err = ext4_mark_iloc_dirty(handle, inode, &iloc);
fs/ext4/verity.c
250
ext4_journal_stop(handle);
fs/ext4/verity.c
256
ext4_journal_stop(handle);
fs/ext4/xattr.c
1022
static int ext4_xattr_inode_update_ref(handle_t *handle, struct inode *ea_inode,
fs/ext4/xattr.c
1031
ret = ext4_reserve_inode_write(handle, ea_inode, &iloc);
fs/ext4/xattr.c
1053
ext4_orphan_del(handle, ea_inode);
fs/ext4/xattr.c
1062
ext4_orphan_add(handle, ea_inode);
fs/ext4/xattr.c
1066
ret = ext4_mark_iloc_dirty(handle, ea_inode, &iloc);
fs/ext4/xattr.c
1075
static int ext4_xattr_inode_inc_ref(handle_t *handle, struct inode *ea_inode)
fs/ext4/xattr.c
1077
return ext4_xattr_inode_update_ref(handle, ea_inode, 1);
fs/ext4/xattr.c
1080
static int ext4_xattr_inode_dec_ref(handle_t *handle, struct inode *ea_inode)
fs/ext4/xattr.c
1082
return ext4_xattr_inode_update_ref(handle, ea_inode, -1);
fs/ext4/xattr.c
1085
static int ext4_xattr_inode_inc_ref_all(handle_t *handle, struct inode *parent,
fs/ext4/xattr.c
1104
err = ext4_xattr_inode_inc_ref(handle, ea_inode);
fs/ext4/xattr.c
1132
err = ext4_xattr_inode_dec_ref(handle, ea_inode);
fs/ext4/xattr.c
1141
static int ext4_xattr_restart_fn(handle_t *handle, struct inode *inode,
fs/ext4/xattr.c
1149
error = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/xattr.c
1160
ext4_xattr_inode_dec_ref_all(handle_t *handle, struct inode *parent,
fs/ext4/xattr.c
1208
err = ext4_journal_ensure_credits_fn(handle, credits, credits,
fs/ext4/xattr.c
1210
ext4_xattr_restart_fn(handle, parent, bh, block_csum,
fs/ext4/xattr.c
1218
err = ext4_journal_get_write_access(handle,
fs/ext4/xattr.c
1228
err = ext4_xattr_inode_dec_ref(handle, ea_inode);
fs/ext4/xattr.c
1258
err = ext4_handle_dirty_metadata(handle, NULL, bh);
fs/ext4/xattr.c
1270
ext4_xattr_release_block(handle_t *handle, struct inode *inode,
fs/ext4/xattr.c
1280
error = ext4_journal_get_write_access(handle, inode->i_sb, bh,
fs/ext4/xattr.c
1311
ext4_xattr_inode_dec_ref_all(handle, inode, bh,
fs/ext4/xattr.c
1317
ext4_free_blocks(handle, inode, bh, 0, 1,
fs/ext4/xattr.c
1347
if (ext4_handle_valid(handle))
fs/ext4/xattr.c
1348
error = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/xattr.c
1350
if (!ext4_handle_valid(handle))
fs/ext4/xattr.c
1351
error = ext4_handle_dirty_metadata(handle, inode, bh);
fs/ext4/xattr.c
1353
ext4_handle_sync(handle);
fs/ext4/xattr.c
1385
static int ext4_xattr_inode_write(handle_t *handle, struct inode *ea_inode,
fs/ext4/xattr.c
1402
ret = ext4_map_blocks(handle, ea_inode, &map,
fs/ext4/xattr.c
1405
ext4_mark_inode_dirty(handle, ea_inode);
fs/ext4/xattr.c
1423
bh = ext4_getblk(handle, ea_inode, block, 0);
fs/ext4/xattr.c
1432
ret = ext4_journal_get_write_access(handle, ea_inode->i_sb, bh,
fs/ext4/xattr.c
1445
ext4_handle_dirty_metadata(handle, ea_inode, bh);
fs/ext4/xattr.c
1457
ret2 = ext4_mark_inode_dirty(handle, ea_inode);
fs/ext4/xattr.c
1470
static struct inode *ext4_xattr_inode_create(handle_t *handle,
fs/ext4/xattr.c
1488
ea_inode = ext4_new_inode(handle, inode->i_sb->s_root->d_inode,
fs/ext4/xattr.c
1499
err = ext4_mark_inode_dirty(handle, ea_inode);
fs/ext4/xattr.c
1503
if (ext4_xattr_inode_dec_ref(handle, ea_inode))
fs/ext4/xattr.c
1576
static struct inode *ext4_xattr_inode_lookup_create(handle_t *handle,
fs/ext4/xattr.c
1591
err = ext4_xattr_inode_inc_ref(handle, ea_inode);
fs/ext4/xattr.c
1598
ea_inode = ext4_xattr_inode_create(handle, inode, hash);
fs/ext4/xattr.c
1604
err = ext4_xattr_inode_write(handle, ea_inode, value, value_len);
fs/ext4/xattr.c
1606
if (ext4_xattr_inode_dec_ref(handle, ea_inode))
fs/ext4/xattr.c
1629
handle_t *handle, struct inode *inode,
fs/ext4/xattr.c
1724
ret = ext4_xattr_inode_dec_ref(handle, old_ea_inode);
fs/ext4/xattr.c
1897
ext4_xattr_block_set(handle_t *handle, struct inode *inode,
fs/ext4/xattr.c
1918
ea_inode = ext4_xattr_inode_lookup_create(handle, inode,
fs/ext4/xattr.c
1931
error = ext4_journal_get_write_access(handle, sb, bs->bh,
fs/ext4/xattr.c
1961
error = ext4_xattr_set_entry(i, s, handle, inode,
fs/ext4/xattr.c
1968
error = ext4_handle_dirty_metadata(handle,
fs/ext4/xattr.c
2030
error = ext4_xattr_set_entry(i, s, handle, inode, ea_inode,
fs/ext4/xattr.c
2064
handle, sb, new_bh,
fs/ext4/xattr.c
2099
error = ext4_handle_dirty_metadata(handle,
fs/ext4/xattr.c
2123
block = ext4_new_meta_blocks(handle, inode, goal, 0,
fs/ext4/xattr.c
2135
ext4_free_blocks(handle, inode, NULL, block, 1,
fs/ext4/xattr.c
2139
error = ext4_xattr_inode_inc_ref_all(handle, inode,
fs/ext4/xattr.c
2145
error = ext4_xattr_inode_dec_ref(handle,
fs/ext4/xattr.c
2156
error = ext4_journal_get_create_access(handle, sb,
fs/ext4/xattr.c
2168
error = ext4_handle_dirty_metadata(handle, inode,
fs/ext4/xattr.c
2185
ext4_xattr_release_block(handle, inode, bs->bh,
fs/ext4/xattr.c
2197
error2 = ext4_xattr_inode_dec_ref(handle, ea_inode);
fs/ext4/xattr.c
2252
int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode,
fs/ext4/xattr.c
2268
ea_inode = ext4_xattr_inode_lookup_create(handle, inode,
fs/ext4/xattr.c
2273
error = ext4_xattr_set_entry(i, s, handle, inode, ea_inode,
fs/ext4/xattr.c
2279
error2 = ext4_xattr_inode_dec_ref(handle, ea_inode);
fs/ext4/xattr.c
2347
ext4_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index,
fs/ext4/xattr.c
2375
if (ext4_handle_valid(handle)) {
fs/ext4/xattr.c
2390
if (jbd2_handle_buffer_credits(handle) < credits) {
fs/ext4/xattr.c
2397
error = ext4_reserve_inode_write(handle, inode, &is.iloc);
fs/ext4/xattr.c
2429
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/xattr.c
2431
error = ext4_xattr_block_set(handle, inode, &i, &bs);
fs/ext4/xattr.c
2445
error = ext4_xattr_ibody_set(handle, inode, &i, &is);
fs/ext4/xattr.c
2448
error = ext4_xattr_block_set(handle, inode, &i, &bs);
fs/ext4/xattr.c
2457
error = ext4_xattr_block_set(handle, inode, &i, &bs);
fs/ext4/xattr.c
2460
error = ext4_xattr_ibody_set(handle, inode, &i,
fs/ext4/xattr.c
2476
ext4_xattr_update_super_block(handle, inode->i_sb);
fs/ext4/xattr.c
2481
error = ext4_mark_iloc_dirty(handle, inode, &is.iloc);
fs/ext4/xattr.c
2488
ext4_handle_sync(handle);
fs/ext4/xattr.c
2490
ext4_fc_mark_ineligible(inode->i_sb, EXT4_FC_REASON_XATTR, handle);
fs/ext4/xattr.c
2538
handle_t *handle;
fs/ext4/xattr.c
2553
handle = ext4_journal_start(inode, EXT4_HT_XATTR, credits);
fs/ext4/xattr.c
2554
if (IS_ERR(handle)) {
fs/ext4/xattr.c
2555
error = PTR_ERR(handle);
fs/ext4/xattr.c
2559
error = ext4_xattr_set_handle(handle, inode, name_index, name,
fs/ext4/xattr.c
2562
handle);
fs/ext4/xattr.c
2563
error2 = ext4_journal_stop(handle);
fs/ext4/xattr.c
2603
static int ext4_xattr_move_to_block(handle_t *handle, struct inode *inode,
fs/ext4/xattr.c
2669
error = ext4_xattr_block_set(handle, inode, &i, bs);
fs/ext4/xattr.c
2676
error = ext4_xattr_ibody_set(handle, inode, &i, is);
fs/ext4/xattr.c
2692
static int ext4_xattr_make_inode_space(handle_t *handle, struct inode *inode,
fs/ext4/xattr.c
2744
error = ext4_xattr_move_to_block(handle, inode, raw_inode,
fs/ext4/xattr.c
2762
struct ext4_inode *raw_inode, handle_t *handle)
fs/ext4/xattr.c
2832
error = ext4_xattr_make_inode_space(handle, inode, raw_inode,
fs/ext4/xattr.c
2913
int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode,
fs/ext4/xattr.c
2924
error = ext4_journal_ensure_credits(handle, extra_credits,
fs/ext4/xattr.c
2940
error = ext4_journal_get_write_access(handle, inode->i_sb,
fs/ext4/xattr.c
2950
ext4_xattr_inode_dec_ref_all(handle, inode, iloc.bh,
fs/ext4/xattr.c
2992
ext4_xattr_release_block(handle, inode, bh, ea_inode_array,
fs/ext4/xattr.c
2999
error = ext4_mark_inode_dirty(handle, inode);
fs/ext4/xattr.c
3005
ext4_fc_mark_ineligible(inode->i_sb, EXT4_FC_REASON_XATTR, handle);
fs/ext4/xattr.c
838
static void ext4_xattr_update_super_block(handle_t *handle,
fs/ext4/xattr.c
845
if (ext4_journal_get_write_access(handle, sb, EXT4_SB(sb)->s_sbh,
fs/ext4/xattr.c
851
ext4_handle_dirty_metadata(handle, NULL, EXT4_SB(sb)->s_sbh);
fs/ext4/xattr.h
189
extern int ext4_xattr_delete_inode(handle_t *handle, struct inode *inode,
fs/ext4/xattr.h
195
struct ext4_inode *raw_inode, handle_t *handle);
fs/ext4/xattr.h
205
extern int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode,
fs/ext4/xattr.h
220
extern int ext4_init_security(handle_t *handle, struct inode *inode,
fs/ext4/xattr.h
223
static inline int ext4_init_security(handle_t *handle, struct inode *inode,
fs/ext4/xattr_security.c
40
handle_t *handle = fs_info;
fs/ext4/xattr_security.c
44
err = ext4_xattr_set_handle(handle, inode,
fs/ext4/xattr_security.c
55
ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir,
fs/ext4/xattr_security.c
59
&ext4_initxattrs, handle);
fs/fhandle.c
107
copy_to_user(ufh, handle,
fs/fhandle.c
108
struct_size(handle, f_handle, handle_bytes)))
fs/fhandle.c
110
kfree(handle);
fs/fhandle.c
130
struct file_handle __user *, handle, void __user *, mnt_id,
fs/fhandle.c
162
err = do_sys_name_to_handle(&path, handle, mnt_id,
fs/fhandle.c
26
struct file_handle *handle = NULL;
fs/fhandle.c
265
static int do_handle_to_path(struct file_handle *handle, struct path *path,
fs/fhandle.c
273
handle_dwords = handle->handle_bytes >> 2;
fs/fhandle.c
274
dentry = exportfs_decode_fh_raw(mnt, (struct fid *)handle->f_handle,
fs/fhandle.c
275
handle_dwords, handle->handle_type,
fs/fhandle.c
343
struct file_handle *handle __free(kfree) = NULL;
fs/fhandle.c
370
handle = kmalloc_flex(*handle, f_handle, f_handle.handle_bytes);
fs/fhandle.c
371
if (!handle) {
fs/fhandle.c
376
*handle = f_handle;
fs/fhandle.c
377
if (copy_from_user(&handle->f_handle,
fs/fhandle.c
396
handle->handle_type &= ~FILEID_USER_FLAGS_MASK;
fs/fhandle.c
397
retval = do_handle_to_path(handle, path, &ctx);
fs/fhandle.c
440
struct file_handle __user *, handle,
fs/fhandle.c
448
ret = do_handle_open(mountdirfd, handle, flags);
fs/fhandle.c
458
struct file_handle __user *, handle, int, flags)
fs/fhandle.c
460
return do_handle_open(mountdirfd, handle, flags);
fs/fhandle.c
49
handle = kzalloc_flex(*handle, f_handle, f_handle.handle_bytes);
fs/fhandle.c
50
if (!handle)
fs/fhandle.c
58
(struct fid *)handle->f_handle,
fs/fhandle.c
60
handle->handle_type = retval;
fs/fhandle.c
63
handle->handle_bytes = handle_bytes;
fs/fhandle.c
64
if ((handle->handle_bytes > f_handle.handle_bytes) ||
fs/fhandle.c
89
handle->handle_type |= FILEID_IS_CONNECTABLE;
fs/fhandle.c
91
handle->handle_type |= FILEID_IS_DIR;
fs/fuse/inode.c
1074
struct fuse_inode_handle *handle)
fs/fuse/inode.c
1081
if (handle->nodeid == 0)
fs/fuse/inode.c
1084
inode = ilookup5(sb, handle->nodeid, fuse_inode_eq, &handle->nodeid);
fs/fuse/inode.c
1092
err = fuse_lookup_name(sb, handle->nodeid, &name, &outarg,
fs/fuse/inode.c
1101
if (get_node_id(inode) != handle->nodeid)
fs/fuse/inode.c
1105
if (inode->i_generation != handle->generation)
fs/fuse/inode.c
1155
struct fuse_inode_handle handle;
fs/fuse/inode.c
1161
handle.nodeid = (u64) fid->raw[0] << 32;
fs/fuse/inode.c
1162
handle.nodeid |= (u64) fid->raw[1];
fs/fuse/inode.c
1163
handle.generation = fid->raw[2];
fs/fuse/inode.c
1164
return fuse_get_dentry(sb, &handle);
fs/jbd2/revoke.c
326
int jbd2_journal_revoke(handle_t *handle, unsigned long long blocknr,
fs/jbd2/revoke.c
338
journal = handle->h_transaction->t_journal;
fs/jbd2/revoke.c
376
if (WARN_ON_ONCE(handle->h_revoke_credits <= 0)) {
fs/jbd2/revoke.c
395
jbd2_journal_forget(handle, bh_in);
fs/jbd2/revoke.c
401
handle->h_revoke_credits--;
fs/jbd2/revoke.c
405
handle->h_transaction->t_tid);
fs/jbd2/revoke.c
425
void jbd2_journal_cancel_revoke(handle_t *handle, struct journal_head *jh)
fs/jbd2/revoke.c
428
journal_t *journal = handle->h_transaction->t_journal;
fs/jbd2/transaction.c
1009
if (is_handle_aborted(handle)) {
fs/jbd2/transaction.c
1137
jbd2_journal_cancel_revoke(handle, jh);
fs/jbd2/transaction.c
1148
static bool jbd2_write_access_granted(handle_t *handle, struct buffer_head *bh,
fs/jbd2/transaction.c
1179
if (READ_ONCE(jh->b_transaction) != handle->h_transaction &&
fs/jbd2/transaction.c
1180
READ_ONCE(jh->b_next_transaction) != handle->h_transaction)
fs/jbd2/transaction.c
1212
int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh)
fs/jbd2/transaction.c
1218
if (is_handle_aborted(handle))
fs/jbd2/transaction.c
1221
journal = handle->h_transaction->t_journal;
fs/jbd2/transaction.c
1235
if (jbd2_write_access_granted(handle, bh, false))
fs/jbd2/transaction.c
1242
rc = do_get_write_access(handle, jh, 0);
fs/jbd2/transaction.c
1267
int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh)
fs/jbd2/transaction.c
1269
transaction_t *transaction = handle->h_transaction;
fs/jbd2/transaction.c
1276
if (is_handle_aborted(handle))
fs/jbd2/transaction.c
1343
jbd2_journal_cancel_revoke(handle, jh);
fs/jbd2/transaction.c
1375
int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh)
fs/jbd2/transaction.c
1381
if (is_handle_aborted(handle))
fs/jbd2/transaction.c
1384
if (jbd2_write_access_granted(handle, bh, true))
fs/jbd2/transaction.c
1395
err = do_get_write_access(handle, jh, 1);
fs/jbd2/transaction.c
1491
int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh)
fs/jbd2/transaction.c
1493
transaction_t *transaction = handle->h_transaction;
fs/jbd2/transaction.c
1531
handle->h_type, handle->h_line_no,
fs/jbd2/transaction.c
1543
if (is_handle_aborted(handle)) {
fs/jbd2/transaction.c
1563
if (WARN_ON_ONCE(jbd2_handle_buffer_credits(handle) <= 0)) {
fs/jbd2/transaction.c
1568
handle->h_total_credits--;
fs/jbd2/transaction.c
1664
int jbd2_journal_forget(handle_t *handle, struct buffer_head *bh)
fs/jbd2/transaction.c
1666
transaction_t *transaction = handle->h_transaction;
fs/jbd2/transaction.c
1674
if (is_handle_aborted(handle))
fs/jbd2/transaction.c
1815
handle->h_total_credits++;
fs/jbd2/transaction.c
1836
int jbd2_journal_stop(handle_t *handle)
fs/jbd2/transaction.c
1838
transaction_t *transaction = handle->h_transaction;
fs/jbd2/transaction.c
1844
if (--handle->h_ref > 0) {
fs/jbd2/transaction.c
1845
jbd2_debug(4, "h_ref %d -> %d\n", handle->h_ref + 1,
fs/jbd2/transaction.c
1846
handle->h_ref);
fs/jbd2/transaction.c
1847
if (is_handle_aborted(handle))
fs/jbd2/transaction.c
1856
memalloc_nofs_restore(handle->saved_alloc_context);
fs/jbd2/transaction.c
1862
if (is_handle_aborted(handle))
fs/jbd2/transaction.c
1865
jbd2_debug(4, "Handle %p going down\n", handle);
fs/jbd2/transaction.c
1867
tid, handle->h_type, handle->h_line_no,
fs/jbd2/transaction.c
1868
jiffies - handle->h_start_jiffies,
fs/jbd2/transaction.c
1869
handle->h_sync, handle->h_requested_credits,
fs/jbd2/transaction.c
1870
(handle->h_requested_credits -
fs/jbd2/transaction.c
1871
handle->h_total_credits));
fs/jbd2/transaction.c
1903
if (handle->h_sync && journal->j_last_sync_writer != pid &&
fs/jbd2/transaction.c
1929
if (handle->h_sync)
fs/jbd2/transaction.c
1937
if (handle->h_sync ||
fs/jbd2/transaction.c
1944
"handle %p\n", handle);
fs/jbd2/transaction.c
1952
if (handle->h_sync && !(current->flags & PF_MEMALLOC))
fs/jbd2/transaction.c
1962
stop_this_handle(handle);
fs/jbd2/transaction.c
1968
if (handle->h_rsv_handle)
fs/jbd2/transaction.c
1969
jbd2_free_handle(handle->h_rsv_handle);
fs/jbd2/transaction.c
1970
jbd2_free_handle(handle);
fs/jbd2/transaction.c
2644
static int jbd2_journal_file_inode(handle_t *handle, struct jbd2_inode *jinode,
fs/jbd2/transaction.c
2647
transaction_t *transaction = handle->h_transaction;
fs/jbd2/transaction.c
2650
if (is_handle_aborted(handle))
fs/jbd2/transaction.c
2699
int jbd2_journal_inode_ranged_write(handle_t *handle,
fs/jbd2/transaction.c
2702
return jbd2_journal_file_inode(handle, jinode,
fs/jbd2/transaction.c
2707
int jbd2_journal_inode_ranged_wait(handle_t *handle, struct jbd2_inode *jinode,
fs/jbd2/transaction.c
2710
return jbd2_journal_file_inode(handle, jinode, JI_WAIT_DATA,
fs/jbd2/transaction.c
312
static int start_this_handle(journal_t *journal, handle_t *handle,
fs/jbd2/transaction.c
316
int blocks = handle->h_total_credits;
fs/jbd2/transaction.c
320
if (handle->h_rsv_handle)
fs/jbd2/transaction.c
321
rsv_blocks = handle->h_rsv_handle->h_total_credits;
fs/jbd2/transaction.c
357
jbd2_debug(3, "New handle %p going live.\n", handle);
fs/jbd2/transaction.c
378
if (!handle->h_reserved && journal->j_barrier_count) {
fs/jbd2/transaction.c
391
(handle->h_reserved || !journal->j_barrier_count)) {
fs/jbd2/transaction.c
401
if (!handle->h_reserved) {
fs/jbd2/transaction.c
424
handle->h_reserved = 0;
fs/jbd2/transaction.c
431
handle->h_transaction = transaction;
fs/jbd2/transaction.c
432
handle->h_requested_credits = blocks;
fs/jbd2/transaction.c
433
handle->h_revoke_credits_requested = handle->h_revoke_credits;
fs/jbd2/transaction.c
434
handle->h_start_jiffies = jiffies;
fs/jbd2/transaction.c
438
handle, blocks,
fs/jbd2/transaction.c
442
current->journal_info = handle;
fs/jbd2/transaction.c
450
handle->saved_alloc_context = memalloc_nofs_save();
fs/jbd2/transaction.c
457
handle_t *handle = jbd2_alloc_handle(GFP_NOFS);
fs/jbd2/transaction.c
458
if (!handle)
fs/jbd2/transaction.c
460
handle->h_total_credits = nblocks;
fs/jbd2/transaction.c
461
handle->h_ref = 1;
fs/jbd2/transaction.c
463
return handle;
fs/jbd2/transaction.c
470
handle_t *handle = journal_current_handle();
fs/jbd2/transaction.c
476
if (handle) {
fs/jbd2/transaction.c
477
J_ASSERT(handle->h_transaction->t_journal == journal);
fs/jbd2/transaction.c
478
handle->h_ref++;
fs/jbd2/transaction.c
479
return handle;
fs/jbd2/transaction.c
484
handle = new_handle(nblocks);
fs/jbd2/transaction.c
485
if (!handle)
fs/jbd2/transaction.c
492
jbd2_free_handle(handle);
fs/jbd2/transaction.c
497
handle->h_rsv_handle = rsv_handle;
fs/jbd2/transaction.c
499
handle->h_revoke_credits = revoke_records;
fs/jbd2/transaction.c
501
err = start_this_handle(journal, handle, gfp_mask);
fs/jbd2/transaction.c
503
if (handle->h_rsv_handle)
fs/jbd2/transaction.c
504
jbd2_free_handle(handle->h_rsv_handle);
fs/jbd2/transaction.c
505
jbd2_free_handle(handle);
fs/jbd2/transaction.c
508
handle->h_type = type;
fs/jbd2/transaction.c
509
handle->h_line_no = line_no;
fs/jbd2/transaction.c
511
handle->h_transaction->t_tid, type,
fs/jbd2/transaction.c
514
return handle;
fs/jbd2/transaction.c
544
static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t)
fs/jbd2/transaction.c
546
journal_t *journal = handle->h_journal;
fs/jbd2/transaction.c
548
WARN_ON(!handle->h_reserved);
fs/jbd2/transaction.c
549
sub_reserved_credits(journal, handle->h_total_credits);
fs/jbd2/transaction.c
551
atomic_sub(handle->h_total_credits, &t->t_outstanding_credits);
fs/jbd2/transaction.c
554
void jbd2_journal_free_reserved(handle_t *handle)
fs/jbd2/transaction.c
556
journal_t *journal = handle->h_journal;
fs/jbd2/transaction.c
560
__jbd2_journal_unreserve_handle(handle, journal->j_running_transaction);
fs/jbd2/transaction.c
562
jbd2_free_handle(handle);
fs/jbd2/transaction.c
580
int jbd2_journal_start_reserved(handle_t *handle, unsigned int type,
fs/jbd2/transaction.c
583
journal_t *journal = handle->h_journal;
fs/jbd2/transaction.c
586
if (WARN_ON(!handle->h_reserved)) {
fs/jbd2/transaction.c
588
jbd2_journal_stop(handle);
fs/jbd2/transaction.c
596
jbd2_journal_free_reserved(handle);
fs/jbd2/transaction.c
600
handle->h_journal = NULL;
fs/jbd2/transaction.c
605
ret = start_this_handle(journal, handle, GFP_NOFS);
fs/jbd2/transaction.c
607
handle->h_journal = journal;
fs/jbd2/transaction.c
608
jbd2_journal_free_reserved(handle);
fs/jbd2/transaction.c
611
handle->h_type = type;
fs/jbd2/transaction.c
612
handle->h_line_no = line_no;
fs/jbd2/transaction.c
614
handle->h_transaction->t_tid, type,
fs/jbd2/transaction.c
615
line_no, handle->h_total_credits);
fs/jbd2/transaction.c
641
int jbd2_journal_extend(handle_t *handle, int nblocks, int revoke_records)
fs/jbd2/transaction.c
643
transaction_t *transaction = handle->h_transaction;
fs/jbd2/transaction.c
648
if (is_handle_aborted(handle))
fs/jbd2/transaction.c
659
"transaction not running\n", handle, nblocks);
fs/jbd2/transaction.c
664
handle->h_revoke_credits_requested + revoke_records,
fs/jbd2/transaction.c
667
handle->h_revoke_credits_requested,
fs/jbd2/transaction.c
674
"transaction too large\n", handle, nblocks);
fs/jbd2/transaction.c
681
handle->h_type, handle->h_line_no,
fs/jbd2/transaction.c
682
handle->h_total_credits,
fs/jbd2/transaction.c
685
handle->h_total_credits += nblocks;
fs/jbd2/transaction.c
686
handle->h_requested_credits += nblocks;
fs/jbd2/transaction.c
687
handle->h_revoke_credits += revoke_records;
fs/jbd2/transaction.c
688
handle->h_revoke_credits_requested += revoke_records;
fs/jbd2/transaction.c
691
jbd2_debug(3, "extended handle %p by %d\n", handle, nblocks);
fs/jbd2/transaction.c
697
static void stop_this_handle(handle_t *handle)
fs/jbd2/transaction.c
699
transaction_t *transaction = handle->h_transaction;
fs/jbd2/transaction.c
703
J_ASSERT(journal_current_handle() == handle);
fs/jbd2/transaction.c
712
revokes = handle->h_revoke_credits_requested - handle->h_revoke_credits;
fs/jbd2/transaction.c
718
> handle->h_total_credits);
fs/jbd2/transaction.c
724
handle->h_total_credits -= revoke_descriptors;
fs/jbd2/transaction.c
726
atomic_sub(handle->h_total_credits,
fs/jbd2/transaction.c
728
if (handle->h_rsv_handle)
fs/jbd2/transaction.c
729
__jbd2_journal_unreserve_handle(handle->h_rsv_handle,
fs/jbd2/transaction.c
739
memalloc_nofs_restore(handle->saved_alloc_context);
fs/jbd2/transaction.c
759
int jbd2__journal_restart(handle_t *handle, int nblocks, int revoke_records,
fs/jbd2/transaction.c
762
transaction_t *transaction = handle->h_transaction;
fs/jbd2/transaction.c
770
if (is_handle_aborted(handle))
fs/jbd2/transaction.c
779
jbd2_debug(2, "restarting handle %p\n", handle);
fs/jbd2/transaction.c
780
stop_this_handle(handle);
fs/jbd2/transaction.c
781
handle->h_transaction = NULL;
fs/jbd2/transaction.c
792
handle->h_total_credits = nblocks +
fs/jbd2/transaction.c
795
handle->h_revoke_credits = revoke_records;
fs/jbd2/transaction.c
796
ret = start_this_handle(journal, handle, gfp_mask);
fs/jbd2/transaction.c
798
ret ? 0 : handle->h_transaction->t_tid,
fs/jbd2/transaction.c
799
handle->h_type, handle->h_line_no,
fs/jbd2/transaction.c
800
handle->h_total_credits);
fs/jbd2/transaction.c
806
int jbd2_journal_restart(handle_t *handle, int nblocks)
fs/jbd2/transaction.c
808
return jbd2__journal_restart(handle, nblocks, 0, GFP_NOFS);
fs/jbd2/transaction.c
947
do_get_write_access(handle_t *handle, struct journal_head *jh,
fs/jbd2/transaction.c
951
transaction_t *transaction = handle->h_transaction;
fs/notify/fanotify/fanotify_user.c
553
struct file_handle handle = { };
fs/notify/fanotify/fanotify_user.c
593
if (WARN_ON_ONCE(len < sizeof(handle)))
fs/notify/fanotify/fanotify_user.c
596
handle.handle_type = fh->type;
fs/notify/fanotify/fanotify_user.c
597
handle.handle_bytes = fh_len;
fs/notify/fanotify/fanotify_user.c
601
handle.handle_type = FILEID_INVALID;
fs/notify/fanotify/fanotify_user.c
603
if (copy_to_user(buf, &handle, sizeof(handle)))
fs/notify/fanotify/fanotify_user.c
606
buf += sizeof(handle);
fs/notify/fanotify/fanotify_user.c
607
len -= sizeof(handle);
fs/ocfs2/acl.c
160
handle_t *handle, umode_t new_mode)
fs/ocfs2/acl.c
174
if (handle == NULL) {
fs/ocfs2/acl.c
175
handle = ocfs2_start_trans(OCFS2_SB(inode->i_sb),
fs/ocfs2/acl.c
177
if (IS_ERR(handle)) {
fs/ocfs2/acl.c
178
ret = PTR_ERR(handle);
fs/ocfs2/acl.c
187
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/acl.c
199
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/acl.c
201
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/acl.c
205
ocfs2_commit_trans(OCFS2_SB(inode->i_sb), handle);
fs/ocfs2/acl.c
215
static int ocfs2_set_acl(handle_t *handle,
fs/ocfs2/acl.c
250
if (handle)
fs/ocfs2/acl.c
251
ret = ocfs2_xattr_set_handle(handle, inode, di_bh, name_index,
fs/ocfs2/acl.c
352
int ocfs2_init_acl(handle_t *handle,
fs/ocfs2/acl.c
376
ret = ocfs2_acl_set_mode(inode, di_bh, handle, mode);
fs/ocfs2/acl.c
385
ret = ocfs2_set_acl(handle, inode, di_bh,
fs/ocfs2/acl.c
396
ret2 = ocfs2_acl_set_mode(inode, di_bh, handle, mode);
fs/ocfs2/acl.c
403
ret = ocfs2_set_acl(handle, inode,
fs/ocfs2/alloc.c
1009
status = ocfs2_claim_metadata(handle,
fs/ocfs2/alloc.c
1030
status = ocfs2_journal_access_eb(handle, et->et_ci,
fs/ocfs2/alloc.c
1056
ocfs2_journal_dirty(handle, bhs[i]);
fs/ocfs2/alloc.c
1099
static int ocfs2_adjust_rightmost_branch(handle_t *handle,
fs/ocfs2/alloc.c
1119
status = ocfs2_extend_trans(handle, path_num_items(path));
fs/ocfs2/alloc.c
1125
status = ocfs2_journal_access_path(et->et_ci, handle, path);
fs/ocfs2/alloc.c
1134
ocfs2_adjust_rightmost_records(handle, et, path, rec);
fs/ocfs2/alloc.c
1152
static int ocfs2_add_branch(handle_t *handle,
fs/ocfs2/alloc.c
1197
status = ocfs2_adjust_rightmost_branch(handle, et);
fs/ocfs2/alloc.c
1216
status = ocfs2_reuse_blk_from_dealloc(handle, et,
fs/ocfs2/alloc.c
1229
status = ocfs2_create_new_meta_bhs(handle, et,
fs/ocfs2/alloc.c
1254
status = ocfs2_journal_access_eb(handle, et->et_ci, bh,
fs/ocfs2/alloc.c
1279
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/alloc.c
1289
status = ocfs2_journal_access_eb(handle, et->et_ci, *last_eb_bh,
fs/ocfs2/alloc.c
1295
status = ocfs2_et_root_journal_access(handle, et,
fs/ocfs2/alloc.c
1302
status = ocfs2_journal_access_eb(handle, et->et_ci, eb_bh,
fs/ocfs2/alloc.c
1325
ocfs2_journal_dirty(handle, *last_eb_bh);
fs/ocfs2/alloc.c
1326
ocfs2_journal_dirty(handle, et->et_root_bh);
fs/ocfs2/alloc.c
1328
ocfs2_journal_dirty(handle, eb_bh);
fs/ocfs2/alloc.c
1354
static int ocfs2_shift_tree_depth(handle_t *handle,
fs/ocfs2/alloc.c
1367
status = ocfs2_reuse_blk_from_dealloc(handle, et,
fs/ocfs2/alloc.c
1371
status = ocfs2_create_new_meta_bhs(handle, et, 1, meta_ac,
fs/ocfs2/alloc.c
1390
status = ocfs2_journal_access_eb(handle, et->et_ci, new_eb_bh,
fs/ocfs2/alloc.c
1403
ocfs2_journal_dirty(handle, new_eb_bh);
fs/ocfs2/alloc.c
1405
status = ocfs2_et_root_journal_access(handle, et,
fs/ocfs2/alloc.c
1428
ocfs2_journal_dirty(handle, et->et_root_bh);
fs/ocfs2/alloc.c
1529
static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et,
fs/ocfs2/alloc.c
154
static int ocfs2_reuse_blk_from_dealloc(handle_t *handle,
fs/ocfs2/alloc.c
1560
ret = ocfs2_shift_tree_depth(handle, et, meta_ac, &bh);
fs/ocfs2/alloc.c
1585
ret = ocfs2_add_branch(handle, et, bh, last_eb_bh,
fs/ocfs2/alloc.c
2051
static void ocfs2_complete_edge_insert(handle_t *handle,
fs/ocfs2/alloc.c
2093
ocfs2_journal_dirty(handle, left_path->p_node[i].bh);
fs/ocfs2/alloc.c
2094
ocfs2_journal_dirty(handle, right_path->p_node[i].bh);
fs/ocfs2/alloc.c
2118
ocfs2_journal_dirty(handle, root_bh);
fs/ocfs2/alloc.c
2121
static int ocfs2_rotate_subtree_right(handle_t *handle,
fs/ocfs2/alloc.c
2156
ret = ocfs2_path_bh_journal_access(handle, et->et_ci, right_path,
fs/ocfs2/alloc.c
2164
ret = ocfs2_path_bh_journal_access(handle, et->et_ci,
fs/ocfs2/alloc.c
2171
ret = ocfs2_path_bh_journal_access(handle, et->et_ci,
fs/ocfs2/alloc.c
2190
ocfs2_journal_dirty(handle, right_leaf_bh);
fs/ocfs2/alloc.c
2209
ocfs2_journal_dirty(handle, left_leaf_bh);
fs/ocfs2/alloc.c
2211
ocfs2_complete_edge_insert(handle, left_path, right_path,
fs/ocfs2/alloc.c
2297
static int ocfs2_extend_rotate_transaction(handle_t *handle, int subtree_depth,
fs/ocfs2/alloc.c
2304
if (jbd2_handle_buffer_credits(handle) < credits)
fs/ocfs2/alloc.c
2305
ret = ocfs2_extend_trans(handle,
fs/ocfs2/alloc.c
2306
credits - jbd2_handle_buffer_credits(handle));
fs/ocfs2/alloc.c
2376
static int ocfs2_rotate_tree_right(handle_t *handle,
fs/ocfs2/alloc.c
2383
int ret, start, orig_credits = jbd2_handle_buffer_credits(handle);
fs/ocfs2/alloc.c
2484
ret = ocfs2_extend_rotate_transaction(handle, start,
fs/ocfs2/alloc.c
2491
ret = ocfs2_rotate_subtree_right(handle, et, left_path,
fs/ocfs2/alloc.c
2537
static int ocfs2_update_edge_lengths(handle_t *handle,
fs/ocfs2/alloc.c
2547
ret = ocfs2_journal_access_path(et->et_ci, handle, path);
fs/ocfs2/alloc.c
2571
ocfs2_journal_dirty(handle, path->p_node[i].bh);
fs/ocfs2/alloc.c
2577
static void ocfs2_unlink_path(handle_t *handle,
fs/ocfs2/alloc.c
2604
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/alloc.c
2612
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/alloc.c
2622
static void ocfs2_unlink_subtree(handle_t *handle,
fs/ocfs2/alloc.c
2648
ocfs2_journal_dirty(handle, root_bh);
fs/ocfs2/alloc.c
2649
ocfs2_journal_dirty(handle, path_leaf_bh(left_path));
fs/ocfs2/alloc.c
2651
ocfs2_unlink_path(handle, et, dealloc, right_path,
fs/ocfs2/alloc.c
2655
static int ocfs2_rotate_subtree_left(handle_t *handle,
fs/ocfs2/alloc.c
2697
ret = ocfs2_journal_access_eb(handle, et->et_ci,
fs/ocfs2/alloc.c
2716
ret = ocfs2_et_root_journal_access(handle, et,
fs/ocfs2/alloc.c
2732
ret = ocfs2_path_bh_journal_access(handle, et->et_ci, right_path,
fs/ocfs2/alloc.c
2740
ret = ocfs2_path_bh_journal_access(handle, et->et_ci,
fs/ocfs2/alloc.c
2747
ret = ocfs2_path_bh_journal_access(handle, et->et_ci,
fs/ocfs2/alloc.c
2776
ocfs2_journal_dirty(handle, path_leaf_bh(left_path));
fs/ocfs2/alloc.c
2777
ocfs2_journal_dirty(handle, path_leaf_bh(right_path));
fs/ocfs2/alloc.c
2780
ocfs2_unlink_subtree(handle, et, left_path, right_path,
fs/ocfs2/alloc.c
2782
ret = ocfs2_update_edge_lengths(handle, et, left_path);
fs/ocfs2/alloc.c
2799
ocfs2_journal_dirty(handle, et_root_bh);
fs/ocfs2/alloc.c
2803
ocfs2_complete_edge_insert(handle, left_path, right_path,
fs/ocfs2/alloc.c
2888
static int ocfs2_rotate_rightmost_leaf_left(handle_t *handle,
fs/ocfs2/alloc.c
2899
ret = ocfs2_path_bh_journal_access(handle, et->et_ci, path,
fs/ocfs2/alloc.c
2907
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/alloc.c
2913
static int __ocfs2_rotate_tree_left(handle_t *handle,
fs/ocfs2/alloc.c
2968
ret = ocfs2_extend_rotate_transaction(handle, 0,
fs/ocfs2/alloc.c
2979
ret = ocfs2_path_bh_journal_access(handle, et->et_ci,
fs/ocfs2/alloc.c
2986
ret = ocfs2_rotate_subtree_left(handle, et, left_path,
fs/ocfs2/alloc.c
3030
static int ocfs2_remove_rightmost_path(handle_t *handle,
fs/ocfs2/alloc.c
3045
ret = ocfs2_journal_access_path(et->et_ci, handle, path);
fs/ocfs2/alloc.c
3076
ret = ocfs2_journal_access_path(et->et_ci, handle, left_path);
fs/ocfs2/alloc.c
3084
ocfs2_unlink_subtree(handle, et, left_path, path,
fs/ocfs2/alloc.c
3086
ret = ocfs2_update_edge_lengths(handle, et, left_path);
fs/ocfs2/alloc.c
3102
ocfs2_unlink_path(handle, et, dealloc, path, 1);
fs/ocfs2/alloc.c
3112
ocfs2_journal_dirty(handle, path_root_bh(path));
fs/ocfs2/alloc.c
3124
handle_t *handle;
fs/ocfs2/alloc.c
3128
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/alloc.c
3129
if (IS_ERR(handle)) {
fs/ocfs2/alloc.c
3130
ret = PTR_ERR(handle);
fs/ocfs2/alloc.c
3135
ret = ocfs2_remove_rightmost_path(handle, et, path, dealloc);
fs/ocfs2/alloc.c
3139
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
3159
static int ocfs2_rotate_tree_left(handle_t *handle,
fs/ocfs2/alloc.c
3164
int ret, orig_credits = jbd2_handle_buffer_credits(handle);
fs/ocfs2/alloc.c
3179
ret = ocfs2_rotate_rightmost_leaf_left(handle, et, path);
fs/ocfs2/alloc.c
3226
ret = ocfs2_remove_rightmost_path(handle, et, path,
fs/ocfs2/alloc.c
3238
ret = __ocfs2_rotate_tree_left(handle, et, orig_credits, path,
fs/ocfs2/alloc.c
3249
ret = __ocfs2_rotate_tree_left(handle, et, orig_credits,
fs/ocfs2/alloc.c
3357
handle_t *handle,
fs/ocfs2/alloc.c
3401
ret = ocfs2_extend_rotate_transaction(handle, subtree_index,
fs/ocfs2/alloc.c
3402
jbd2_handle_buffer_credits(handle),
fs/ocfs2/alloc.c
3412
ret = ocfs2_path_bh_journal_access(handle, et->et_ci, right_path,
fs/ocfs2/alloc.c
3421
ret = ocfs2_path_bh_journal_access(handle, et->et_ci,
fs/ocfs2/alloc.c
3428
ret = ocfs2_path_bh_journal_access(handle, et->et_ci,
fs/ocfs2/alloc.c
3441
ret = ocfs2_path_bh_journal_access(handle, et->et_ci, left_path,
fs/ocfs2/alloc.c
3458
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/alloc.c
3460
ocfs2_journal_dirty(handle, path_leaf_bh(right_path));
fs/ocfs2/alloc.c
3461
ocfs2_complete_edge_insert(handle, left_path, right_path,
fs/ocfs2/alloc.c
3523
handle_t *handle,
fs/ocfs2/alloc.c
3563
ret = ocfs2_extend_rotate_transaction(handle, subtree_index,
fs/ocfs2/alloc.c
3564
jbd2_handle_buffer_credits(handle),
fs/ocfs2/alloc.c
3574
ret = ocfs2_path_bh_journal_access(handle, et->et_ci, right_path,
fs/ocfs2/alloc.c
3583
ret = ocfs2_path_bh_journal_access(handle, et->et_ci,
fs/ocfs2/alloc.c
3590
ret = ocfs2_path_bh_journal_access(handle, et->et_ci,
fs/ocfs2/alloc.c
3603
ret = ocfs2_path_bh_journal_access(handle, et->et_ci, right_path,
fs/ocfs2/alloc.c
3626
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/alloc.c
3628
ocfs2_journal_dirty(handle, path_leaf_bh(left_path));
fs/ocfs2/alloc.c
3638
ret = ocfs2_extend_rotate_transaction(handle, 0,
fs/ocfs2/alloc.c
3639
jbd2_handle_buffer_credits(handle),
fs/ocfs2/alloc.c
3646
ret = ocfs2_remove_rightmost_path(handle, et,
fs/ocfs2/alloc.c
3659
ocfs2_complete_edge_insert(handle, left_path,
fs/ocfs2/alloc.c
3667
static int ocfs2_try_to_merge_extent(handle_t *handle,
fs/ocfs2/alloc.c
3683
ret = ocfs2_extend_rotate_transaction(handle, 0,
fs/ocfs2/alloc.c
3684
jbd2_handle_buffer_credits(handle),
fs/ocfs2/alloc.c
3697
ret = ocfs2_rotate_tree_left(handle, et, path, dealloc);
fs/ocfs2/alloc.c
3726
ret = ocfs2_merge_rec_right(path, handle, et, split_rec,
fs/ocfs2/alloc.c
3739
ret = ocfs2_extend_rotate_transaction(handle, 0,
fs/ocfs2/alloc.c
3740
jbd2_handle_buffer_credits(handle),
fs/ocfs2/alloc.c
3748
ret = ocfs2_rotate_tree_left(handle, et, path, dealloc);
fs/ocfs2/alloc.c
3760
ret = ocfs2_merge_rec_left(path, handle, et, rec,
fs/ocfs2/alloc.c
3769
ret = ocfs2_extend_rotate_transaction(handle, 0,
fs/ocfs2/alloc.c
3770
jbd2_handle_buffer_credits(handle),
fs/ocfs2/alloc.c
3777
ret = ocfs2_rotate_tree_left(handle, et, path, dealloc);
fs/ocfs2/alloc.c
3794
ret = ocfs2_merge_rec_left(path, handle, et,
fs/ocfs2/alloc.c
3802
ret = ocfs2_merge_rec_right(path, handle,
fs/ocfs2/alloc.c
3813
ret = ocfs2_extend_rotate_transaction(handle, 0,
fs/ocfs2/alloc.c
3814
jbd2_handle_buffer_credits(handle),
fs/ocfs2/alloc.c
3826
ret = ocfs2_rotate_tree_left(handle, et, path,
fs/ocfs2/alloc.c
3962
static void ocfs2_adjust_rightmost_records(handle_t *handle,
fs/ocfs2/alloc.c
3995
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/alloc.c
3999
static int ocfs2_append_rec_to_path(handle_t *handle,
fs/ocfs2/alloc.c
4067
ret = ocfs2_journal_access_path(et->et_ci, handle, right_path);
fs/ocfs2/alloc.c
4073
ocfs2_adjust_rightmost_records(handle, et, right_path, insert_rec);
fs/ocfs2/alloc.c
4170
static int ocfs2_insert_path(handle_t *handle,
fs/ocfs2/alloc.c
4187
ret = ocfs2_extend_trans(handle, left_path->p_tree_depth);
fs/ocfs2/alloc.c
4193
ret = ocfs2_journal_access_path(et->et_ci, handle, left_path);
fs/ocfs2/alloc.c
4204
ret = ocfs2_journal_access_path(et->et_ci, handle, right_path);
fs/ocfs2/alloc.c
4225
ocfs2_journal_dirty(handle,
fs/ocfs2/alloc.c
4231
ocfs2_journal_dirty(handle, leaf_bh);
fs/ocfs2/alloc.c
4242
ocfs2_complete_edge_insert(handle, left_path, right_path,
fs/ocfs2/alloc.c
4251
static int ocfs2_do_insert_extent(handle_t *handle,
fs/ocfs2/alloc.c
4264
ret = ocfs2_et_root_journal_access(handle, et,
fs/ocfs2/alloc.c
4314
ret = ocfs2_rotate_tree_right(handle, et, type->ins_split,
fs/ocfs2/alloc.c
4326
ret = ocfs2_et_root_journal_access(handle, et,
fs/ocfs2/alloc.c
4334
ret = ocfs2_append_rec_to_path(handle, et, insert_rec,
fs/ocfs2/alloc.c
4342
ret = ocfs2_insert_path(handle, et, left_path, right_path,
fs/ocfs2/alloc.c
4354
ocfs2_journal_dirty(handle, et->et_root_bh);
fs/ocfs2/alloc.c
4714
int ocfs2_insert_extent(handle_t *handle,
fs/ocfs2/alloc.c
4755
status = ocfs2_grow_tree(handle, et,
fs/ocfs2/alloc.c
4765
status = ocfs2_do_insert_extent(handle, et, &rec, &insert);
fs/ocfs2/alloc.c
4784
int ocfs2_add_clusters_in_btree(handle_t *handle,
fs/ocfs2/alloc.c
4834
status = __ocfs2_claim_clusters(handle, data_ac, 1,
fs/ocfs2/alloc.c
4845
status = ocfs2_et_root_journal_access(handle, et,
fs/ocfs2/alloc.c
4857
status = ocfs2_insert_extent(handle, et, *logical_offset, block,
fs/ocfs2/alloc.c
4865
ocfs2_journal_dirty(handle, et->et_root_bh);
fs/ocfs2/alloc.c
4879
ocfs2_free_local_alloc_bits(osb, handle, data_ac,
fs/ocfs2/alloc.c
4882
ocfs2_free_clusters(handle,
fs/ocfs2/alloc.c
4916
static int ocfs2_split_and_insert(handle_t *handle,
fs/ocfs2/alloc.c
4951
ret = ocfs2_grow_tree(handle, et,
fs/ocfs2/alloc.c
4989
ret = ocfs2_do_insert_extent(handle, et, &split_rec, &insert);
fs/ocfs2/alloc.c
5028
static int ocfs2_replace_extent_rec(handle_t *handle,
fs/ocfs2/alloc.c
5037
ret = ocfs2_path_bh_journal_access(handle, et->et_ci, path,
fs/ocfs2/alloc.c
5046
ocfs2_journal_dirty(handle, path_leaf_bh(path));
fs/ocfs2/alloc.c
5070
int ocfs2_split_extent(handle_t *handle,
fs/ocfs2/alloc.c
5130
ret = ocfs2_replace_extent_rec(handle, et, path, el,
fs/ocfs2/alloc.c
5133
ret = ocfs2_split_and_insert(handle, et, path,
fs/ocfs2/alloc.c
5139
ret = ocfs2_try_to_merge_extent(handle, et, path,
fs/ocfs2/alloc.c
5163
int ocfs2_change_extent_flag(handle_t *handle,
fs/ocfs2/alloc.c
523
static inline int ocfs2_et_root_journal_access(handle_t *handle,
fs/ocfs2/alloc.c
5230
ret = ocfs2_split_extent(handle, et, left_path,
fs/ocfs2/alloc.c
5253
handle_t *handle, u32 cpos, u32 len, u32 phys,
fs/ocfs2/alloc.c
527
return et->et_root_journal_access(handle, et->et_ci, et->et_root_bh,
fs/ocfs2/alloc.c
5276
ret = ocfs2_change_extent_flag(handle, et, cpos,
fs/ocfs2/alloc.c
5286
static int ocfs2_split_tree(handle_t *handle, struct ocfs2_extent_tree *et,
fs/ocfs2/alloc.c
5324
ret = ocfs2_extend_trans(handle, credits);
fs/ocfs2/alloc.c
5332
ret = ocfs2_grow_tree(handle, et, &depth, &last_eb_bh,
fs/ocfs2/alloc.c
5346
ret = ocfs2_do_insert_extent(handle, et, &split_rec, &insert);
fs/ocfs2/alloc.c
5355
static int ocfs2_truncate_rec(handle_t *handle,
fs/ocfs2/alloc.c
5372
ret = ocfs2_extend_rotate_transaction(handle, 0,
fs/ocfs2/alloc.c
5373
jbd2_handle_buffer_credits(handle),
fs/ocfs2/alloc.c
5380
ret = ocfs2_rotate_tree_left(handle, et, path, dealloc);
fs/ocfs2/alloc.c
5441
ret = ocfs2_extend_rotate_transaction(handle, 0,
fs/ocfs2/alloc.c
5442
jbd2_handle_buffer_credits(handle),
fs/ocfs2/alloc.c
5449
ret = ocfs2_journal_access_path(et->et_ci, handle, path);
fs/ocfs2/alloc.c
5455
ret = ocfs2_journal_access_path(et->et_ci, handle, left_path);
fs/ocfs2/alloc.c
5477
ocfs2_adjust_rightmost_records(handle, et, path,
fs/ocfs2/alloc.c
5489
ocfs2_adjust_rightmost_records(handle, et, path, rec);
fs/ocfs2/alloc.c
5504
ocfs2_complete_edge_insert(handle, left_path, path,
fs/ocfs2/alloc.c
5508
ocfs2_journal_dirty(handle, path_leaf_bh(path));
fs/ocfs2/alloc.c
5510
ret = ocfs2_rotate_tree_left(handle, et, path, dealloc);
fs/ocfs2/alloc.c
5519
int ocfs2_remove_extent(handle_t *handle,
fs/ocfs2/alloc.c
5589
ret = ocfs2_truncate_rec(handle, et, path, index, dealloc,
fs/ocfs2/alloc.c
5596
ret = ocfs2_split_tree(handle, et, path, index,
fs/ocfs2/alloc.c
5643
ret = ocfs2_truncate_rec(handle, et, path, index, dealloc,
fs/ocfs2/alloc.c
565
static void ocfs2_adjust_rightmost_records(handle_t *handle,
fs/ocfs2/alloc.c
5715
handle_t *handle;
fs/ocfs2/alloc.c
5760
handle = ocfs2_start_trans(osb,
fs/ocfs2/alloc.c
5762
if (IS_ERR(handle)) {
fs/ocfs2/alloc.c
5763
ret = PTR_ERR(handle);
fs/ocfs2/alloc.c
5768
ret = ocfs2_et_root_journal_access(handle, et,
fs/ocfs2/alloc.c
5778
ret = ocfs2_remove_extent(handle, et, cpos, len, meta_ac, dealloc);
fs/ocfs2/alloc.c
5785
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/alloc.c
5787
ocfs2_journal_dirty(handle, et->et_root_bh);
fs/ocfs2/alloc.c
5791
ret = ocfs2_decrease_refcount(inode, handle,
fs/ocfs2/alloc.c
5797
ret = ocfs2_truncate_log_append(osb, handle,
fs/ocfs2/alloc.c
5805
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
5852
handle_t *handle,
fs/ocfs2/alloc.c
5892
status = ocfs2_journal_access_di(handle, INODE_CACHE(tl_inode), tl_bh,
fs/ocfs2/alloc.c
5920
ocfs2_journal_dirty(handle, tl_bh);
fs/ocfs2/alloc.c
5940
handle_t *handle;
fs/ocfs2/alloc.c
5946
handle = ocfs2_start_trans(osb, OCFS2_TRUNCATE_LOG_FLUSH_ONE_REC);
fs/ocfs2/alloc.c
5947
if (IS_ERR(handle)) {
fs/ocfs2/alloc.c
5948
status = PTR_ERR(handle);
fs/ocfs2/alloc.c
5955
status = ocfs2_journal_access_di(handle, INODE_CACHE(tl_inode), tl_bh,
fs/ocfs2/alloc.c
5958
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
5965
ocfs2_journal_dirty(handle, tl_bh);
fs/ocfs2/alloc.c
5979
status = ocfs2_free_clusters(handle, data_alloc_inode,
fs/ocfs2/alloc.c
5983
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
5989
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
6283
handle_t *handle;
fs/ocfs2/alloc.c
6308
handle = ocfs2_start_trans(osb, OCFS2_TRUNCATE_LOG_UPDATE);
fs/ocfs2/alloc.c
6309
if (IS_ERR(handle)) {
fs/ocfs2/alloc.c
6310
status = PTR_ERR(handle);
fs/ocfs2/alloc.c
6319
status = ocfs2_truncate_log_append(osb, handle,
fs/ocfs2/alloc.c
6321
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
6424
handle_t *handle;
fs/ocfs2/alloc.c
6450
handle = ocfs2_start_trans(osb, OCFS2_SUBALLOC_FREE);
fs/ocfs2/alloc.c
6451
if (IS_ERR(handle)) {
fs/ocfs2/alloc.c
6452
ret = PTR_ERR(handle);
fs/ocfs2/alloc.c
6460
ret = ocfs2_free_suballoc_bits(handle, inode, di_bh,
fs/ocfs2/alloc.c
6465
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
6517
handle_t *handle;
fs/ocfs2/alloc.c
6531
handle = ocfs2_start_trans(osb, OCFS2_TRUNCATE_LOG_UPDATE);
fs/ocfs2/alloc.c
6532
if (IS_ERR(handle)) {
fs/ocfs2/alloc.c
6533
ret = PTR_ERR(handle);
fs/ocfs2/alloc.c
6538
ret = ocfs2_truncate_log_append(osb, handle, head->free_blk,
fs/ocfs2/alloc.c
6541
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
6683
static int ocfs2_reuse_blk_from_dealloc(handle_t *handle,
fs/ocfs2/alloc.c
6735
status = ocfs2_journal_access_eb(handle, et->et_ci,
fs/ocfs2/alloc.c
6761
ocfs2_journal_dirty(handle, new_eb_bh[i]);
fs/ocfs2/alloc.c
6829
static int ocfs2_zero_func(handle_t *handle, struct buffer_head *bh)
fs/ocfs2/alloc.c
6836
void ocfs2_map_and_dirty_folio(struct inode *inode, handle_t *handle,
fs/ocfs2/alloc.c
6856
ret = walk_page_buffers(handle, folio_buffers(folio),
fs/ocfs2/alloc.c
6862
ret = ocfs2_jbd2_inode_add_write(handle, inode,
fs/ocfs2/alloc.c
6876
u64 phys, handle_t *handle)
fs/ocfs2/alloc.c
6894
ocfs2_map_and_dirty_folio(inode, handle, from, to, folio, 1,
fs/ocfs2/alloc.c
6961
int ocfs2_zero_range_for_truncate(struct inode *inode, handle_t *handle,
fs/ocfs2/alloc.c
7017
numfolios, phys, handle);
fs/ocfs2/alloc.c
7086
handle_t *handle;
fs/ocfs2/alloc.c
7106
handle = ocfs2_start_trans(osb,
fs/ocfs2/alloc.c
7108
if (IS_ERR(handle)) {
fs/ocfs2/alloc.c
7109
ret = PTR_ERR(handle);
fs/ocfs2/alloc.c
7114
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/alloc.c
7134
ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off,
fs/ocfs2/alloc.c
7166
ocfs2_map_and_dirty_folio(inode, handle, 0, page_end, folio, 0,
fs/ocfs2/alloc.c
7175
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/alloc.c
7178
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/alloc.c
7187
ret = ocfs2_insert_extent(handle, &et, 0, block, 1, 0, NULL);
fs/ocfs2/alloc.c
720
int ocfs2_path_bh_journal_access(handle_t *handle,
fs/ocfs2/alloc.c
7208
ocfs2_free_local_alloc_bits(osb, handle, data_ac,
fs/ocfs2/alloc.c
7211
ocfs2_free_clusters(handle,
fs/ocfs2/alloc.c
7218
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
733
return access(handle, ci, path->p_node[idx].bh,
fs/ocfs2/alloc.c
741
handle_t *handle,
fs/ocfs2/alloc.c
7411
handle_t *handle;
fs/ocfs2/alloc.c
7438
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/alloc.c
7439
if (IS_ERR(handle)) {
fs/ocfs2/alloc.c
7440
ret = PTR_ERR(handle);
fs/ocfs2/alloc.c
7445
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/alloc.c
7472
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/alloc.c
7473
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/alloc.c
7476
ocfs2_commit_trans(osb, handle);
fs/ocfs2/alloc.c
750
ret = ocfs2_path_bh_journal_access(handle, ci, path, i);
fs/ocfs2/alloc.c
993
static int ocfs2_create_new_meta_bhs(handle_t *handle,
fs/ocfs2/alloc.h
104
int ocfs2_split_extent(handle_t *handle,
fs/ocfs2/alloc.h
113
handle_t *handle, u32 cpos, u32 len, u32 phys,
fs/ocfs2/alloc.h
116
int ocfs2_change_extent_flag(handle_t *handle,
fs/ocfs2/alloc.h
122
int ocfs2_remove_extent(handle_t *handle, struct ocfs2_extent_tree *et,
fs/ocfs2/alloc.h
171
handle_t *handle,
fs/ocfs2/alloc.h
215
int ocfs2_zero_range_for_truncate(struct inode *inode, handle_t *handle,
fs/ocfs2/alloc.h
257
void ocfs2_map_and_dirty_folio(struct inode *inode, handle_t *handle,
fs/ocfs2/alloc.h
294
int ocfs2_path_bh_journal_access(handle_t *handle,
fs/ocfs2/alloc.h
299
handle_t *handle,
fs/ocfs2/alloc.h
81
int ocfs2_insert_extent(handle_t *handle,
fs/ocfs2/alloc.h
94
int ocfs2_add_clusters_in_btree(handle_t *handle,
fs/ocfs2/aops.c
1455
handle_t *handle;
fs/ocfs2/aops.c
1458
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/aops.c
1459
if (IS_ERR(handle)) {
fs/ocfs2/aops.c
1460
ret = PTR_ERR(handle);
fs/ocfs2/aops.c
1468
ocfs2_commit_trans(osb, handle);
fs/ocfs2/aops.c
1481
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), wc->w_di_bh,
fs/ocfs2/aops.c
1484
ocfs2_commit_trans(osb, handle);
fs/ocfs2/aops.c
1496
ocfs2_commit_trans(osb, handle);
fs/ocfs2/aops.c
1502
wc->w_handle = handle;
fs/ocfs2/aops.c
1636
handle_t *handle;
fs/ocfs2/aops.c
1748
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/aops.c
1749
if (IS_ERR(handle)) {
fs/ocfs2/aops.c
1750
ret = PTR_ERR(handle);
fs/ocfs2/aops.c
1755
wc->w_handle = handle;
fs/ocfs2/aops.c
1764
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), wc->w_di_bh,
fs/ocfs2/aops.c
1817
ocfs2_commit_trans(osb, handle);
fs/ocfs2/aops.c
1934
handle_t *handle = wc->w_handle;
fs/ocfs2/aops.c
1938
if (handle) {
fs/ocfs2/aops.c
1939
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode),
fs/ocfs2/aops.c
2003
if (handle && ocfs2_should_order_data(inode)) {
fs/ocfs2/aops.c
2006
ocfs2_jbd2_inode_add_write(handle, inode,
fs/ocfs2/aops.c
2026
if (handle)
fs/ocfs2/aops.c
2027
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/aops.c
2029
if (handle)
fs/ocfs2/aops.c
2030
ocfs2_journal_dirty(handle, wc->w_di_bh);
fs/ocfs2/aops.c
2040
if (handle)
fs/ocfs2/aops.c
2041
ocfs2_commit_trans(osb, handle);
fs/ocfs2/aops.c
2278
handle_t *handle = NULL;
fs/ocfs2/aops.c
2330
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/aops.c
2331
if (IS_ERR(handle)) {
fs/ocfs2/aops.c
2332
ret = PTR_ERR(handle);
fs/ocfs2/aops.c
2336
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/aops.c
2344
ret = ocfs2_assure_trans_credits(handle, credits);
fs/ocfs2/aops.c
2349
ret = ocfs2_mark_extent_written(inode, &et, handle,
fs/ocfs2/aops.c
2360
ret = ocfs2_set_inode_size(handle, inode, di_bh, end);
fs/ocfs2/aops.c
2365
ocfs2_commit_trans(osb, handle);
fs/ocfs2/aops.c
394
int walk_page_buffers( handle_t *handle,
fs/ocfs2/aops.c
399
int (*fn)( handle_t *handle,
fs/ocfs2/aops.c
419
err = (*fn)(handle, bh);
fs/ocfs2/aops.h
17
int walk_page_buffers( handle_t *handle,
fs/ocfs2/aops.h
22
int (*fn)( handle_t *handle,
fs/ocfs2/dir.c
1135
int ocfs2_update_entry(struct inode *dir, handle_t *handle,
fs/ocfs2/dir.c
1153
ret = access(handle, INODE_CACHE(dir), de_bh,
fs/ocfs2/dir.c
1163
ocfs2_journal_dirty(handle, de_bh);
fs/ocfs2/dir.c
1173
static int __ocfs2_delete_entry(handle_t *handle, struct inode *dir,
fs/ocfs2/dir.c
1195
status = access(handle, INODE_CACHE(dir), bh,
fs/ocfs2/dir.c
1207
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/dir.c
1277
static int ocfs2_delete_entry_dx(handle_t *handle, struct inode *dir,
fs/ocfs2/dir.c
1343
ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh,
fs/ocfs2/dir.c
1351
ret = ocfs2_journal_access_dl(handle, INODE_CACHE(dir),
fs/ocfs2/dir.c
1363
ret = __ocfs2_delete_entry(handle, dir, lookup->dl_entry,
fs/ocfs2/dir.c
1375
ocfs2_journal_dirty(handle, dx_root_bh);
fs/ocfs2/dir.c
1379
ocfs2_journal_dirty(handle, leaf_bh);
fs/ocfs2/dir.c
1382
ocfs2_journal_dirty(handle, dx_root_bh);
fs/ocfs2/dir.c
1387
ocfs2_journal_dirty(handle, lookup->dl_dx_leaf_bh);
fs/ocfs2/dir.c
1393
static inline int ocfs2_delete_entry_id(handle_t *handle,
fs/ocfs2/dir.c
1412
ret = __ocfs2_delete_entry(handle, dir, de_del, bh, data->id_data,
fs/ocfs2/dir.c
1420
static inline int ocfs2_delete_entry_el(handle_t *handle,
fs/ocfs2/dir.c
1425
return __ocfs2_delete_entry(handle, dir, de_del, bh, bh->b_data,
fs/ocfs2/dir.c
1433
int ocfs2_delete_entry(handle_t *handle,
fs/ocfs2/dir.c
1438
return ocfs2_delete_entry_dx(handle, dir, res);
fs/ocfs2/dir.c
1441
return ocfs2_delete_entry_id(handle, dir, res->dl_entry,
fs/ocfs2/dir.c
1444
return ocfs2_delete_entry_el(handle, dir, res->dl_entry,
fs/ocfs2/dir.c
1502
static int __ocfs2_dx_dir_leaf_insert(struct inode *dir, handle_t *handle,
fs/ocfs2/dir.c
151
static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle,
fs/ocfs2/dir.c
1510
ret = ocfs2_journal_access_dl(handle, INODE_CACHE(dir), dx_leaf_bh,
fs/ocfs2/dir.c
1519
ocfs2_journal_dirty(handle, dx_leaf_bh);
fs/ocfs2/dir.c
1525
static void ocfs2_dx_inline_root_insert(struct inode *dir, handle_t *handle,
fs/ocfs2/dir.c
1533
static int ocfs2_dx_dir_insert(struct inode *dir, handle_t *handle,
fs/ocfs2/dir.c
1540
ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh,
fs/ocfs2/dir.c
1549
ocfs2_dx_inline_root_insert(dir, handle,
fs/ocfs2/dir.c
1554
ret = __ocfs2_dx_dir_leaf_insert(dir, handle, &lookup->dl_hinfo,
fs/ocfs2/dir.c
1562
ocfs2_journal_dirty(handle, dx_root_bh);
fs/ocfs2/dir.c
1569
handle_t *handle,
fs/ocfs2/dir.c
159
ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh,
fs/ocfs2/dir.c
1591
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/dir.c
1592
ocfs2_journal_dirty(handle, lookup->dl_leaf_bh);
fs/ocfs2/dir.c
1599
static void ocfs2_recalc_free_list(struct inode *dir, handle_t *handle,
fs/ocfs2/dir.c
1615
ocfs2_journal_dirty(handle, lookup->dl_leaf_bh);
fs/ocfs2/dir.c
1617
ocfs2_remove_block_from_free_list(dir, handle, lookup);
fs/ocfs2/dir.c
1627
int __ocfs2_add_entry(handle_t *handle,
fs/ocfs2/dir.c
1657
retval = ocfs2_journal_access_dr(handle,
fs/ocfs2/dir.c
1662
retval = ocfs2_journal_access_db(handle,
fs/ocfs2/dir.c
1709
retval = ocfs2_mark_inode_dirty(handle, dir, parent_fe_bh);
fs/ocfs2/dir.c
171
ocfs2_journal_dirty(handle, dx_root_bh);
fs/ocfs2/dir.c
1716
retval = ocfs2_journal_access_di(handle,
fs/ocfs2/dir.c
1721
retval = ocfs2_journal_access_db(handle,
fs/ocfs2/dir.c
1728
handle,
fs/ocfs2/dir.c
1758
ocfs2_recalc_free_list(dir, handle, lookup);
fs/ocfs2/dir.c
1761
ocfs2_journal_dirty(handle, insert_bh);
fs/ocfs2/dir.c
2234
handle_t *handle,
fs/ocfs2/dir.c
2244
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/dir.c
2252
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/dir.c
2258
ret = ocfs2_mark_inode_dirty(handle, inode, di_bh);
fs/ocfs2/dir.c
2267
handle_t *handle,
fs/ocfs2/dir.c
2282
status = ocfs2_do_extend_dir(osb->sb, handle, inode, fe_bh,
fs/ocfs2/dir.c
2291
status = ocfs2_journal_access_db(handle, INODE_CACHE(inode), new_bh,
fs/ocfs2/dir.c
2314
ocfs2_journal_dirty(handle, new_bh);
fs/ocfs2/dir.c
2319
status = ocfs2_mark_inode_dirty(handle, inode, fe_bh);
fs/ocfs2/dir.c
2337
handle_t *handle, struct inode *dir,
fs/ocfs2/dir.c
2354
ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc,
fs/ocfs2/dir.c
2372
ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh,
fs/ocfs2/dir.c
2402
ocfs2_journal_dirty(handle, dx_root_bh);
fs/ocfs2/dir.c
2404
ret = ocfs2_journal_access_di(handle, INODE_CACHE(dir), di_bh,
fs/ocfs2/dir.c
2418
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/dir.c
2429
handle_t *handle, struct inode *dir,
fs/ocfs2/dir.c
2447
ret = ocfs2_journal_access_dl(handle, INODE_CACHE(dir), bh,
fs/ocfs2/dir.c
2468
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/dir.c
2482
u32 cpos, handle_t *handle,
fs/ocfs2/dir.c
2498
ret = __ocfs2_claim_clusters(handle, data_ac, 1, 1, &phys, &num);
fs/ocfs2/dir.c
2509
ret = ocfs2_dx_dir_format_cluster(osb, handle, dir, dx_leaves,
fs/ocfs2/dir.c
2523
u32 cpos, handle_t *handle,
fs/ocfs2/dir.c
2532
ret = __ocfs2_dx_dir_new_cluster(dir, cpos, handle, data_ac, dx_leaves,
fs/ocfs2/dir.c
2539
ret = ocfs2_insert_extent(handle, et, cpos, phys_blkno, 1, 0,
fs/ocfs2/dir.c
2561
handle_t *handle,
fs/ocfs2/dir.c
2586
ret = ocfs2_fill_new_dir_el(osb, handle, parent, inode, di_bh,
fs/ocfs2/dir.c
2593
ret = ocfs2_dx_dir_attach_index(osb, handle, inode, di_bh, leaf_bh,
fs/ocfs2/dir.c
2616
handle_t *handle,
fs/ocfs2/dir.c
2627
return ocfs2_fill_new_dir_id(osb, handle, parent, inode, fe_bh);
fs/ocfs2/dir.c
2630
return ocfs2_fill_new_dir_dx(osb, handle, parent, inode, fe_bh,
fs/ocfs2/dir.c
2633
return ocfs2_fill_new_dir_el(osb, handle, parent, inode, fe_bh,
fs/ocfs2/dir.c
2638
handle_t *handle,
fs/ocfs2/dir.c
2666
ret = __ocfs2_dx_dir_leaf_insert(dir, handle, &hinfo,
fs/ocfs2/dir.c
2836
handle_t *handle;
fs/ocfs2/dir.c
2895
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/dir.c
2896
if (IS_ERR(handle)) {
fs/ocfs2/dir.c
2897
ret = PTR_ERR(handle);
fs/ocfs2/dir.c
2914
ret = __ocfs2_dx_dir_new_cluster(dir, 0, handle, data_ac,
fs/ocfs2/dir.c
2931
ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off, &len);
fs/ocfs2/dir.c
2953
ret = ocfs2_journal_access_db(handle, INODE_CACHE(dir), dirdata_bh,
fs/ocfs2/dir.c
2974
ocfs2_update_inode_fsync_trans(handle, dir, 1);
fs/ocfs2/dir.c
2975
ocfs2_journal_dirty(handle, dirdata_bh);
fs/ocfs2/dir.c
2986
ret = ocfs2_dx_dir_index_block(dir, handle, dx_leaves,
fs/ocfs2/dir.c
3003
ret = ocfs2_journal_access_di(handle, INODE_CACHE(dir), di_bh,
fs/ocfs2/dir.c
3023
ocfs2_update_inode_fsync_trans(handle, dir, 1);
fs/ocfs2/dir.c
3029
ret = ocfs2_insert_extent(handle, &et, 0, blkno, len,
fs/ocfs2/dir.c
3042
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/dir.c
3045
ret = ocfs2_dx_dir_attach_index(osb, handle, dir, di_bh,
fs/ocfs2/dir.c
3060
ret = ocfs2_insert_extent(handle, &dx_et, 0,
fs/ocfs2/dir.c
3072
ret = ocfs2_claim_clusters(handle, data_ac, 1, &bit_off,
fs/ocfs2/dir.c
3080
ret = ocfs2_insert_extent(handle, &et, 1,
fs/ocfs2/dir.c
3112
ocfs2_commit_trans(osb, handle);
fs/ocfs2/dir.c
3135
handle_t *handle,
fs/ocfs2/dir.c
3160
1, 0, parent_fe_bh, handle,
fs/ocfs2/dir.c
3213
handle_t *handle = NULL;
fs/ocfs2/dir.c
3314
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/dir.c
3315
if (IS_ERR(handle)) {
fs/ocfs2/dir.c
3316
status = PTR_ERR(handle);
fs/ocfs2/dir.c
3317
handle = NULL;
fs/ocfs2/dir.c
3322
status = ocfs2_do_extend_dir(osb->sb, handle, dir, parent_fe_bh,
fs/ocfs2/dir.c
3331
status = ocfs2_journal_access_db(handle, INODE_CACHE(dir), new_bh,
fs/ocfs2/dir.c
3347
status = ocfs2_dx_dir_link_trailer(dir, handle,
fs/ocfs2/dir.c
3357
ocfs2_update_inode_fsync_trans(handle, dir, 1);
fs/ocfs2/dir.c
3358
ocfs2_journal_dirty(handle, new_bh);
fs/ocfs2/dir.c
3363
status = ocfs2_mark_inode_dirty(handle, dir, parent_fe_bh);
fs/ocfs2/dir.c
3373
if (handle)
fs/ocfs2/dir.c
3374
ocfs2_commit_trans(osb, handle);
fs/ocfs2/dir.c
3682
handle_t *handle,
fs/ocfs2/dir.c
3719
ocfs2_journal_dirty(handle, orig_dx_leaves[i]);
fs/ocfs2/dir.c
3720
ocfs2_journal_dirty(handle, new_dx_leaves[i]);
fs/ocfs2/dir.c
3753
handle_t *handle = NULL;
fs/ocfs2/dir.c
3802
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/dir.c
3803
if (IS_ERR(handle)) {
fs/ocfs2/dir.c
3804
ret = PTR_ERR(handle);
fs/ocfs2/dir.c
3805
handle = NULL;
fs/ocfs2/dir.c
3816
ret = ocfs2_journal_access_dl(handle, INODE_CACHE(dir), dx_leaf_bh,
fs/ocfs2/dir.c
3830
ocfs2_journal_dirty(handle, dx_leaf_bh);
fs/ocfs2/dir.c
3875
ret = ocfs2_dx_dir_new_cluster(dir, &et, cpos, handle,
fs/ocfs2/dir.c
3884
ret = ocfs2_journal_access_dl(handle, INODE_CACHE(dir),
fs/ocfs2/dir.c
3892
ret = ocfs2_journal_access_dl(handle, INODE_CACHE(dir),
fs/ocfs2/dir.c
3901
ocfs2_dx_dir_transfer_leaf(dir, split_hash, handle, tmp_dx_leaf,
fs/ocfs2/dir.c
3909
ocfs2_update_inode_fsync_trans(handle, dir, 1);
fs/ocfs2/dir.c
3910
ocfs2_commit_trans(osb, handle);
fs/ocfs2/dir.c
4063
handle_t *handle = NULL;
fs/ocfs2/dir.c
4082
handle = ocfs2_start_trans(osb, ocfs2_calc_dxi_expand_credits(osb->sb));
fs/ocfs2/dir.c
4083
if (IS_ERR(handle)) {
fs/ocfs2/dir.c
4084
ret = PTR_ERR(handle);
fs/ocfs2/dir.c
4100
ret = ocfs2_journal_access_dr(handle, INODE_CACHE(dir), dx_root_bh,
fs/ocfs2/dir.c
4107
ret = __ocfs2_dx_dir_new_cluster(dir, 0, handle, data_ac, dx_leaves,
fs/ocfs2/dir.c
4148
ret = ocfs2_insert_extent(handle, &et, 0, insert_blkno, 1, 0, NULL);
fs/ocfs2/dir.c
4153
ocfs2_update_inode_fsync_trans(handle, dir, 1);
fs/ocfs2/dir.c
4154
ocfs2_journal_dirty(handle, dx_root_bh);
fs/ocfs2/dir.c
4161
ocfs2_commit_trans(osb, handle);
fs/ocfs2/dir.c
4373
handle_t *handle;
fs/ocfs2/dir.c
4396
handle = ocfs2_start_trans(osb, OCFS2_DX_ROOT_REMOVE_CREDITS);
fs/ocfs2/dir.c
4397
if (IS_ERR(handle)) {
fs/ocfs2/dir.c
4398
ret = PTR_ERR(handle);
fs/ocfs2/dir.c
4403
ret = ocfs2_journal_access_di(handle, INODE_CACHE(dir), di_bh,
fs/ocfs2/dir.c
4415
ocfs2_update_inode_fsync_trans(handle, dir, 1);
fs/ocfs2/dir.c
4417
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/dir.c
4425
ret = ocfs2_free_suballoc_bits(handle, dx_alloc_inode, dx_alloc_bh,
fs/ocfs2/dir.c
4431
ocfs2_commit_trans(osb, handle);
fs/ocfs2/dir.c
57
handle_t *handle,
fs/ocfs2/dir.h
44
int ocfs2_delete_entry(handle_t *handle,
fs/ocfs2/dir.h
47
int __ocfs2_add_entry(handle_t *handle,
fs/ocfs2/dir.h
53
static inline int ocfs2_add_entry(handle_t *handle,
fs/ocfs2/dir.h
59
return __ocfs2_add_entry(handle, d_inode(dentry->d_parent),
fs/ocfs2/dir.h
63
int ocfs2_update_entry(struct inode *dir, handle_t *handle,
fs/ocfs2/dir.h
89
handle_t *handle,
fs/ocfs2/export.c
112
if (handle->ih_generation != inode->i_generation) {
fs/ocfs2/export.c
114
handle->ih_generation,
fs/ocfs2/export.c
255
struct ocfs2_inode_handle handle;
fs/ocfs2/export.c
260
handle.ih_blkno = (u64)le32_to_cpu((__force __le32)fid->raw[0]) << 32;
fs/ocfs2/export.c
261
handle.ih_blkno |= (u64)le32_to_cpu((__force __le32)fid->raw[1]);
fs/ocfs2/export.c
262
handle.ih_generation = le32_to_cpu((__force __le32)fid->raw[2]);
fs/ocfs2/export.c
263
return ocfs2_get_dentry(sb, &handle);
fs/ocfs2/export.c
35
struct ocfs2_inode_handle *handle)
fs/ocfs2/export.c
39
u64 blkno = handle->ih_blkno;
fs/ocfs2/export.c
43
trace_ocfs2_get_dentry_begin(sb, handle, (unsigned long long)blkno);
fs/ocfs2/export.c
99
handle->ih_generation);
fs/ocfs2/file.c
1124
handle_t *handle = NULL;
fs/ocfs2/file.c
1258
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS +
fs/ocfs2/file.c
1260
if (IS_ERR(handle)) {
fs/ocfs2/file.c
1261
status = PTR_ERR(handle);
fs/ocfs2/file.c
1270
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/file.c
1271
if (IS_ERR(handle)) {
fs/ocfs2/file.c
1272
status = PTR_ERR(handle);
fs/ocfs2/file.c
1281
status = ocfs2_mark_inode_dirty(handle, inode, bh);
fs/ocfs2/file.c
1286
ocfs2_commit_trans(osb, handle);
fs/ocfs2/file.c
1384
handle_t *handle;
fs/ocfs2/file.c
1392
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/file.c
1393
if (IS_ERR(handle)) {
fs/ocfs2/file.c
1394
ret = PTR_ERR(handle);
fs/ocfs2/file.c
1399
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh,
fs/ocfs2/file.c
1412
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/file.c
1414
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/file.c
1417
ocfs2_commit_trans(osb, handle);
fs/ocfs2/file.c
1590
handle_t *handle;
fs/ocfs2/file.c
1632
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/file.c
1633
if (IS_ERR(handle)) {
fs/ocfs2/file.c
1634
ret = PTR_ERR(handle);
fs/ocfs2/file.c
1660
ret = ocfs2_zero_range_for_truncate(inode, handle, start,
fs/ocfs2/file.c
1677
ret = ocfs2_zero_range_for_truncate(inode, handle, start, end);
fs/ocfs2/file.c
1681
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/file.c
1683
ocfs2_commit_trans(osb, handle);
fs/ocfs2/file.c
1950
handle_t *handle;
fs/ocfs2/file.c
2059
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/file.c
2060
if (IS_ERR(handle)) {
fs/ocfs2/file.c
2061
ret = PTR_ERR(handle);
fs/ocfs2/file.c
2067
ret = ocfs2_mark_inode_dirty(handle, inode, di_bh);
fs/ocfs2/file.c
2072
handle->h_sync = 1;
fs/ocfs2/file.c
2074
ocfs2_commit_trans(osb, handle);
fs/ocfs2/file.c
259
handle_t *handle;
fs/ocfs2/file.c
262
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/file.c
263
if (IS_ERR(handle)) {
fs/ocfs2/file.c
264
ret = PTR_ERR(handle);
fs/ocfs2/file.c
269
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh,
fs/ocfs2/file.c
284
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/file.c
285
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/file.c
288
ocfs2_commit_trans(osb, handle);
fs/ocfs2/file.c
293
int ocfs2_set_inode_size(handle_t *handle,
fs/ocfs2/file.c
304
status = ocfs2_mark_inode_dirty(handle, inode, fe_bh);
fs/ocfs2/file.c
320
handle_t *handle = NULL;
fs/ocfs2/file.c
322
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/file.c
323
if (IS_ERR(handle)) {
fs/ocfs2/file.c
324
ret = PTR_ERR(handle);
fs/ocfs2/file.c
329
ret = ocfs2_set_inode_size(handle, inode, di_bh,
fs/ocfs2/file.c
334
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/file.c
335
ocfs2_commit_trans(osb, handle);
fs/ocfs2/file.c
379
handle_t *handle;
fs/ocfs2/file.c
397
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/file.c
398
if (IS_ERR(handle)) {
fs/ocfs2/file.c
399
status = PTR_ERR(handle);
fs/ocfs2/file.c
404
status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), fe_bh,
fs/ocfs2/file.c
415
status = ocfs2_zero_range_for_truncate(inode, handle, new_i_size,
fs/ocfs2/file.c
429
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/file.c
431
ocfs2_journal_dirty(handle, fe_bh);
fs/ocfs2/file.c
434
ocfs2_commit_trans(osb, handle);
fs/ocfs2/file.c
543
handle_t *handle,
fs/ocfs2/file.c
551
return ocfs2_add_clusters_in_btree(handle, &et, logical_offset,
fs/ocfs2/file.c
565
handle_t *handle = NULL;
fs/ocfs2/file.c
598
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/file.c
599
if (IS_ERR(handle)) {
fs/ocfs2/file.c
600
status = PTR_ERR(handle);
fs/ocfs2/file.c
601
handle = NULL;
fs/ocfs2/file.c
622
status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh,
fs/ocfs2/file.c
637
handle,
fs/ocfs2/file.c
646
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/file.c
647
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/file.c
664
status = ocfs2_allocate_extend_trans(handle, 1);
fs/ocfs2/file.c
686
if (handle) {
fs/ocfs2/file.c
687
ocfs2_commit_trans(osb, handle);
fs/ocfs2/file.c
688
handle = NULL;
fs/ocfs2/file.c
718
handle_t *handle = NULL;
fs/ocfs2/file.c
724
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/file.c
725
if (IS_ERR(handle)) {
fs/ocfs2/file.c
731
ret = ocfs2_jbd2_inode_add_write(handle, inode, start_byte, length);
fs/ocfs2/file.c
737
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/file.c
741
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/file.c
745
if (!IS_ERR(handle))
fs/ocfs2/file.c
746
ocfs2_commit_trans(osb, handle);
fs/ocfs2/file.c
747
handle = ERR_PTR(ret);
fs/ocfs2/file.c
749
return handle;
fs/ocfs2/file.c
761
handle_t *handle;
fs/ocfs2/file.c
770
handle = ocfs2_zero_start_ordered_transaction(inode, di_bh,
fs/ocfs2/file.c
773
if (IS_ERR(handle)) {
fs/ocfs2/file.c
774
ret = PTR_ERR(handle);
fs/ocfs2/file.c
832
if (handle) {
fs/ocfs2/file.c
833
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/file.c
834
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/file.c
841
if (handle)
fs/ocfs2/file.c
842
ocfs2_commit_trans(OCFS2_SB(inode->i_sb), handle);
fs/ocfs2/file.h
35
handle_t *handle,
fs/ocfs2/file.h
39
int ocfs2_set_inode_size(handle_t *handle,
fs/ocfs2/inode.c
1349
int ocfs2_mark_inode_dirty(handle_t *handle,
fs/ocfs2/inode.c
1358
status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), bh,
fs/ocfs2/inode.c
1384
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/inode.c
1385
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/inode.c
662
handle_t *handle = NULL;
fs/ocfs2/inode.c
674
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/inode.c
675
if (IS_ERR(handle)) {
fs/ocfs2/inode.c
676
status = PTR_ERR(handle);
fs/ocfs2/inode.c
677
handle = NULL;
fs/ocfs2/inode.c
682
status = ocfs2_journal_access_di(handle, INODE_CACHE(inode),
fs/ocfs2/inode.c
692
status = ocfs2_mark_inode_dirty(handle, inode, fe_bh);
fs/ocfs2/inode.c
698
ocfs2_commit_trans(osb, handle);
fs/ocfs2/inode.c
699
handle = NULL;
fs/ocfs2/inode.c
707
if (handle)
fs/ocfs2/inode.c
708
ocfs2_commit_trans(osb, handle);
fs/ocfs2/inode.c
720
handle_t *handle;
fs/ocfs2/inode.c
742
handle = ocfs2_start_trans(osb, OCFS2_DELETE_INODE_CREDITS +
fs/ocfs2/inode.c
744
if (IS_ERR(handle)) {
fs/ocfs2/inode.c
745
status = PTR_ERR(handle);
fs/ocfs2/inode.c
751
status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, inode,
fs/ocfs2/inode.c
760
status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/inode.c
769
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/inode.c
774
status = ocfs2_free_dinode(handle, inode_alloc_inode,
fs/ocfs2/inode.c
780
ocfs2_commit_trans(osb, handle);
fs/ocfs2/inode.h
135
int ocfs2_mark_inode_dirty(handle_t *handle,
fs/ocfs2/ioctl.c
119
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/ioctl.c
120
if (IS_ERR(handle)) {
fs/ocfs2/ioctl.c
121
status = PTR_ERR(handle);
fs/ocfs2/ioctl.c
130
status = ocfs2_mark_inode_dirty(handle, inode, bh);
fs/ocfs2/ioctl.c
134
ocfs2_commit_trans(osb, handle);
fs/ocfs2/ioctl.c
92
handle_t *handle = NULL;
fs/ocfs2/journal.c
353
handle_t *handle;
fs/ocfs2/journal.c
371
handle = jbd2_journal_start(journal, max_buffs);
fs/ocfs2/journal.c
372
if (IS_ERR(handle)) {
fs/ocfs2/journal.c
376
mlog_errno(PTR_ERR(handle));
fs/ocfs2/journal.c
380
handle = ERR_PTR(-EROFS);
fs/ocfs2/journal.c
387
return handle;
fs/ocfs2/journal.c
391
handle_t *handle)
fs/ocfs2/journal.c
396
BUG_ON(!handle);
fs/ocfs2/journal.c
398
nested = handle->h_ref > 1;
fs/ocfs2/journal.c
399
ret = jbd2_journal_stop(handle);
fs/ocfs2/journal.c
428
int ocfs2_extend_trans(handle_t *handle, int nblocks)
fs/ocfs2/journal.c
432
BUG_ON(!handle);
fs/ocfs2/journal.c
438
old_nblocks = jbd2_handle_buffer_credits(handle);
fs/ocfs2/journal.c
445
status = jbd2_journal_extend(handle, nblocks, 0);
fs/ocfs2/journal.c
454
status = jbd2_journal_restart(handle,
fs/ocfs2/journal.c
474
int ocfs2_assure_trans_credits(handle_t *handle, int nblocks)
fs/ocfs2/journal.c
476
int old_nblks = jbd2_handle_buffer_credits(handle);
fs/ocfs2/journal.c
481
return ocfs2_extend_trans(handle, nblocks - old_nblks);
fs/ocfs2/journal.c
490
int ocfs2_allocate_extend_trans(handle_t *handle, int thresh)
fs/ocfs2/journal.c
494
BUG_ON(!handle);
fs/ocfs2/journal.c
496
old_nblks = jbd2_handle_buffer_credits(handle);
fs/ocfs2/journal.c
502
status = jbd2_journal_extend(handle, OCFS2_MAX_TRANS_DATA, 0);
fs/ocfs2/journal.c
509
status = jbd2_journal_restart(handle, OCFS2_MAX_TRANS_DATA);
fs/ocfs2/journal.c
652
static int __ocfs2_journal_access(handle_t *handle,
fs/ocfs2/journal.c
663
BUG_ON(!handle);
fs/ocfs2/journal.c
707
status = jbd2_journal_get_write_access(handle, bh);
fs/ocfs2/journal.c
711
status = jbd2_journal_get_undo_access(handle, bh);
fs/ocfs2/journal.c
729
int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
734
return __ocfs2_journal_access(handle, ci, bh,
fs/ocfs2/journal.c
739
int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
744
return __ocfs2_journal_access(handle, ci, bh,
fs/ocfs2/journal.c
749
int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
754
return __ocfs2_journal_access(handle, ci, bh,
fs/ocfs2/journal.c
759
int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
764
return __ocfs2_journal_access(handle, ci, bh,
fs/ocfs2/journal.c
769
int ocfs2_journal_access_db(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
774
return __ocfs2_journal_access(handle, ci, bh,
fs/ocfs2/journal.c
779
int ocfs2_journal_access_xb(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
784
return __ocfs2_journal_access(handle, ci, bh,
fs/ocfs2/journal.c
789
int ocfs2_journal_access_dq(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
794
return __ocfs2_journal_access(handle, ci, bh,
fs/ocfs2/journal.c
799
int ocfs2_journal_access_dr(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
804
return __ocfs2_journal_access(handle, ci, bh,
fs/ocfs2/journal.c
809
int ocfs2_journal_access_dl(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
814
return __ocfs2_journal_access(handle, ci, bh,
fs/ocfs2/journal.c
819
int ocfs2_journal_access(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.c
822
return __ocfs2_journal_access(handle, ci, bh, NULL, type);
fs/ocfs2/journal.c
825
void ocfs2_journal_dirty(handle_t *handle, struct buffer_head *bh)
fs/ocfs2/journal.c
831
status = jbd2_journal_dirty_metadata(handle, bh);
fs/ocfs2/journal.c
834
if (!is_handle_aborted(handle)) {
fs/ocfs2/journal.c
835
journal_t *journal = handle->h_transaction->t_journal;
fs/ocfs2/journal.c
840
handle->h_type, handle->h_line_no,
fs/ocfs2/journal.c
841
handle->h_requested_credits,
fs/ocfs2/journal.c
842
jbd2_handle_buffer_credits(handle), status);
fs/ocfs2/journal.c
843
handle->h_err = status;
fs/ocfs2/journal.c
844
jbd2_journal_abort_handle(handle);
fs/ocfs2/journal.h
245
handle_t *handle);
fs/ocfs2/journal.h
246
int ocfs2_extend_trans(handle_t *handle, int nblocks);
fs/ocfs2/journal.h
247
int ocfs2_assure_trans_credits(handle_t *handle,
fs/ocfs2/journal.h
249
int ocfs2_allocate_extend_trans(handle_t *handle,
fs/ocfs2/journal.h
278
int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
281
int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
284
int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
287
int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
290
int ocfs2_journal_access_xb(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
293
int ocfs2_journal_access_dq(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
296
int ocfs2_journal_access_db(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
299
int ocfs2_journal_access_dr(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
302
int ocfs2_journal_access_dl(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
305
int ocfs2_journal_access(handle_t *handle, struct ocfs2_caching_info *ci,
fs/ocfs2/journal.h
327
void ocfs2_journal_dirty(handle_t *handle, struct buffer_head *bh);
fs/ocfs2/journal.h
580
static inline int ocfs2_jbd2_inode_add_write(handle_t *handle, struct inode *inode,
fs/ocfs2/journal.h
583
return jbd2_journal_inode_ranged_write(handle,
fs/ocfs2/journal.h
597
static inline void ocfs2_update_inode_fsync_trans(handle_t *handle,
fs/ocfs2/journal.h
603
if (!is_handle_aborted(handle)) {
fs/ocfs2/journal.h
604
oi->i_sync_tid = handle->h_transaction->t_tid;
fs/ocfs2/journal.h
606
oi->i_datasync_tid = handle->h_transaction->t_tid;
fs/ocfs2/localalloc.c
1141
handle_t *handle,
fs/ocfs2/localalloc.c
1164
status = ocfs2_claim_clusters(handle, ac, osb->local_alloc_bits,
fs/ocfs2/localalloc.c
1178
status = ocfs2_claim_clusters(handle, ac,
fs/ocfs2/localalloc.c
1234
handle_t *handle = NULL;
fs/ocfs2/localalloc.c
1252
handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS);
fs/ocfs2/localalloc.c
1253
if (IS_ERR(handle)) {
fs/ocfs2/localalloc.c
1254
status = PTR_ERR(handle);
fs/ocfs2/localalloc.c
1255
handle = NULL;
fs/ocfs2/localalloc.c
1274
status = ocfs2_journal_access_di(handle,
fs/ocfs2/localalloc.c
1284
ocfs2_journal_dirty(handle, osb->local_alloc_bh);
fs/ocfs2/localalloc.c
1286
status = ocfs2_sync_local_to_main(osb, handle, alloc_copy,
fs/ocfs2/localalloc.c
1293
status = ocfs2_local_alloc_new_window(osb, handle, ac);
fs/ocfs2/localalloc.c
1303
if (handle)
fs/ocfs2/localalloc.c
1304
ocfs2_commit_trans(osb, handle);
fs/ocfs2/localalloc.c
370
handle_t *handle;
fs/ocfs2/localalloc.c
417
handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS);
fs/ocfs2/localalloc.c
418
if (IS_ERR(handle)) {
fs/ocfs2/localalloc.c
419
mlog_errno(PTR_ERR(handle));
fs/ocfs2/localalloc.c
420
handle = NULL;
fs/ocfs2/localalloc.c
433
status = ocfs2_journal_access_di(handle, INODE_CACHE(local_alloc_inode),
fs/ocfs2/localalloc.c
441
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/localalloc.c
447
status = ocfs2_sync_local_to_main(osb, handle, alloc_copy,
fs/ocfs2/localalloc.c
45
handle_t *handle,
fs/ocfs2/localalloc.c
453
ocfs2_commit_trans(osb, handle);
fs/ocfs2/localalloc.c
551
handle_t *handle;
fs/ocfs2/localalloc.c
56
handle_t *handle,
fs/ocfs2/localalloc.c
572
handle = ocfs2_start_trans(osb, OCFS2_WINDOW_MOVE_CREDITS);
fs/ocfs2/localalloc.c
573
if (IS_ERR(handle)) {
fs/ocfs2/localalloc.c
574
status = PTR_ERR(handle);
fs/ocfs2/localalloc.c
575
handle = NULL;
fs/ocfs2/localalloc.c
581
handle->h_sync = 1;
fs/ocfs2/localalloc.c
583
status = ocfs2_sync_local_to_main(osb, handle, alloc,
fs/ocfs2/localalloc.c
588
ocfs2_commit_trans(osb, handle);
fs/ocfs2/localalloc.c
715
handle_t *handle,
fs/ocfs2/localalloc.c
746
status = ocfs2_journal_access_di(handle,
fs/ocfs2/localalloc.c
762
ocfs2_journal_dirty(handle, osb->local_alloc_bh);
fs/ocfs2/localalloc.c
771
handle_t *handle,
fs/ocfs2/localalloc.c
793
status = ocfs2_journal_access_di(handle,
fs/ocfs2/localalloc.c
806
ocfs2_journal_dirty(handle, osb->local_alloc_bh);
fs/ocfs2/localalloc.c
941
handle_t *handle,
fs/ocfs2/localalloc.c
989
status = ocfs2_release_clusters(handle,
fs/ocfs2/localalloc.h
36
handle_t *handle,
fs/ocfs2/localalloc.h
43
handle_t *handle,
fs/ocfs2/move_extents.c
114
ret = ocfs2_split_extent(handle, &context->et, path, index,
fs/ocfs2/move_extents.c
129
ret = ocfs2_decrease_refcount(inode, handle,
fs/ocfs2/move_extents.c
135
ret = ocfs2_truncate_log_append(osb, handle,
fs/ocfs2/move_extents.c
139
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/move_extents.c
205
handle_t *handle;
fs/ocfs2/move_extents.c
278
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/move_extents.c
279
if (IS_ERR(handle)) {
fs/ocfs2/move_extents.c
280
ret = PTR_ERR(handle);
fs/ocfs2/move_extents.c
285
ret = __ocfs2_claim_clusters(handle, context->data_ac, 1, *len,
fs/ocfs2/move_extents.c
311
ret = __ocfs2_move_extent(handle, context, cpos, new_len, phys_cpos,
fs/ocfs2/move_extents.c
332
ocfs2_free_local_alloc_bits(osb, handle, data_ac,
fs/ocfs2/move_extents.c
335
ocfs2_free_clusters(handle,
fs/ocfs2/move_extents.c
342
ocfs2_commit_trans(osb, handle);
fs/ocfs2/move_extents.c
49
static int __ocfs2_move_extent(handle_t *handle,
fs/ocfs2/move_extents.c
573
handle_t *handle;
fs/ocfs2/move_extents.c
63
ret = ocfs2_duplicate_clusters_by_page(handle, inode, cpos,
fs/ocfs2/move_extents.c
648
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/move_extents.c
649
if (IS_ERR(handle)) {
fs/ocfs2/move_extents.c
650
ret = PTR_ERR(handle);
fs/ocfs2/move_extents.c
684
ret = __ocfs2_move_extent(handle, context, cpos, len, phys_cpos,
fs/ocfs2/move_extents.c
691
ret = ocfs2_alloc_dinode_update_counts(gb_inode, handle, gb_bh, len,
fs/ocfs2/move_extents.c
698
ret = ocfs2_block_group_set_bits(handle, gb_inode, gd, gd_bh,
fs/ocfs2/move_extents.c
715
ocfs2_commit_trans(osb, handle);
fs/ocfs2/move_extents.c
911
handle_t *handle;
fs/ocfs2/move_extents.c
953
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/move_extents.c
954
if (IS_ERR(handle)) {
fs/ocfs2/move_extents.c
955
status = PTR_ERR(handle);
fs/ocfs2/move_extents.c
960
status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/move_extents.c
971
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/move_extents.c
973
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/move_extents.c
976
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
1002
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/namei.c
1003
ocfs2_journal_dirty(handle, fe_bh);
fs/ocfs2/namei.c
1009
status = ocfs2_mark_inode_dirty(handle, dir, parent_node_bh);
fs/ocfs2/namei.c
1018
status = ocfs2_orphan_add(osb, handle, inode, fe_bh,
fs/ocfs2/namei.c
1025
if (handle)
fs/ocfs2/namei.c
1026
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
1223
handle_t *handle = NULL;
fs/ocfs2/namei.c
1492
handle = ocfs2_start_trans(osb, ocfs2_rename_credits(osb->sb));
fs/ocfs2/namei.c
1493
if (IS_ERR(handle)) {
fs/ocfs2/namei.c
1494
status = PTR_ERR(handle);
fs/ocfs2/namei.c
1495
handle = NULL;
fs/ocfs2/namei.c
1508
status = ocfs2_journal_access_di(handle, INODE_CACHE(new_inode),
fs/ocfs2/namei.c
1517
status = ocfs2_update_entry(new_dir, handle, &target_lookup_res,
fs/ocfs2/namei.c
1529
ocfs2_journal_dirty(handle, newfe_bh);
fs/ocfs2/namei.c
1531
status = ocfs2_orphan_add(osb, handle, new_inode,
fs/ocfs2/namei.c
1541
status = ocfs2_add_entry(handle, new_dentry, old_inode,
fs/ocfs2/namei.c
1553
status = ocfs2_journal_access_di(handle, INODE_CACHE(old_inode),
fs/ocfs2/namei.c
1561
ocfs2_journal_dirty(handle, old_inode_bh);
fs/ocfs2/namei.c
1585
status = ocfs2_delete_entry(handle, old_dir, &old_entry_lookup);
fs/ocfs2/namei.c
1604
status = ocfs2_update_entry(old_inode, handle,
fs/ocfs2/namei.c
1622
ocfs2_mark_inode_dirty(handle, old_dir, old_dir_bh);
fs/ocfs2/namei.c
1625
ocfs2_mark_inode_dirty(handle, new_inode, newfe_bh);
fs/ocfs2/namei.c
1637
ocfs2_mark_inode_dirty(handle, new_dir, new_dir_bh);
fs/ocfs2/namei.c
1648
status = ocfs2_journal_access_di(handle,
fs/ocfs2/namei.c
1658
ocfs2_journal_dirty(handle, old_dir_bh);
fs/ocfs2/namei.c
1664
if (handle)
fs/ocfs2/namei.c
1665
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
1713
handle_t *handle,
fs/ocfs2/namei.c
1775
status = ocfs2_journal_access(handle, INODE_CACHE(inode),
fs/ocfs2/namei.c
1789
ocfs2_journal_dirty(handle, bhs[virtual]);
fs/ocfs2/namei.c
1824
handle_t *handle = NULL;
fs/ocfs2/namei.c
1931
handle = ocfs2_start_trans(osb, credits + xattr_credits);
fs/ocfs2/namei.c
1932
if (IS_ERR(handle)) {
fs/ocfs2/namei.c
1933
status = PTR_ERR(handle);
fs/ocfs2/namei.c
1934
handle = NULL;
fs/ocfs2/namei.c
1954
0, &new_fe_bh, parent_fe_bh, handle,
fs/ocfs2/namei.c
1977
handle, data_ac, NULL,
fs/ocfs2/namei.c
1998
status = ocfs2_mark_inode_dirty(handle, inode, new_fe_bh);
fs/ocfs2/namei.c
2005
status = ocfs2_create_symlink_data(osb, handle, inode,
fs/ocfs2/namei.c
2014
status = ocfs2_init_security_set(handle, inode, new_fe_bh, &si,
fs/ocfs2/namei.c
2035
status = ocfs2_add_entry(handle, dentry, inode,
fs/ocfs2/namei.c
2051
if (handle) {
fs/ocfs2/namei.c
2054
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
2249
handle_t *handle,
fs/ocfs2/namei.c
2274
status = ocfs2_journal_access_di(handle,
fs/ocfs2/namei.c
2289
status = ocfs2_journal_access_di(handle,
fs/ocfs2/namei.c
2304
ocfs2_journal_dirty(handle, orphan_dir_bh);
fs/ocfs2/namei.c
2306
status = __ocfs2_add_entry(handle, orphan_dir_inode, name,
fs/ocfs2/namei.c
2331
ocfs2_journal_dirty(handle, fe_bh);
fs/ocfs2/namei.c
2351
handle_t *handle,
fs/ocfs2/namei.c
238
handle_t *handle = NULL;
fs/ocfs2/namei.c
2384
status = ocfs2_journal_access_di(handle,
fs/ocfs2/namei.c
2402
status = ocfs2_delete_entry(handle, orphan_dir_inode, &lookup);
fs/ocfs2/namei.c
2413
ocfs2_journal_dirty(handle, orphan_dir_bh);
fs/ocfs2/namei.c
2525
handle_t *handle = NULL;
fs/ocfs2/namei.c
2558
handle = ocfs2_start_trans(osb, ocfs2_mknod_credits(osb->sb, 0, 0));
fs/ocfs2/namei.c
2559
if (IS_ERR(handle)) {
fs/ocfs2/namei.c
2560
status = PTR_ERR(handle);
fs/ocfs2/namei.c
2561
handle = NULL;
fs/ocfs2/namei.c
2571
status = ocfs2_claim_new_inode_at_loc(handle, dir, inode_ac,
fs/ocfs2/namei.c
2582
0, &new_di_bh, handle,
fs/ocfs2/namei.c
2590
status = ocfs2_orphan_add(osb, handle, inode, new_di_bh, orphan_name,
fs/ocfs2/namei.c
2606
if (handle)
fs/ocfs2/namei.c
2607
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
2644
handle_t *handle = NULL;
fs/ocfs2/namei.c
2683
handle = ocfs2_start_trans(osb,
fs/ocfs2/namei.c
2685
if (IS_ERR(handle)) {
fs/ocfs2/namei.c
2686
status = PTR_ERR(handle);
fs/ocfs2/namei.c
2690
status = ocfs2_orphan_add(osb, handle, inode, di_bh, orphan_name,
fs/ocfs2/namei.c
2695
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
2719
handle_t *handle = NULL;
fs/ocfs2/namei.c
2740
handle = ocfs2_start_trans(osb,
fs/ocfs2/namei.c
2742
if (IS_ERR(handle)) {
fs/ocfs2/namei.c
2743
status = PTR_ERR(handle);
fs/ocfs2/namei.c
2749
status = ocfs2_orphan_del(osb, handle, orphan_dir_inode,
fs/ocfs2/namei.c
2756
status = ocfs2_journal_access_di(handle,
fs/ocfs2/namei.c
2769
status = ocfs2_set_inode_size(handle, inode, di_bh, end);
fs/ocfs2/namei.c
2773
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/namei.c
2776
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
2794
handle_t *handle = NULL;
fs/ocfs2/namei.c
2860
handle = ocfs2_start_trans(osb, ocfs2_rename_credits(osb->sb));
fs/ocfs2/namei.c
2861
if (IS_ERR(handle)) {
fs/ocfs2/namei.c
2862
status = PTR_ERR(handle);
fs/ocfs2/namei.c
2863
handle = NULL;
fs/ocfs2/namei.c
2868
status = ocfs2_journal_access_di(handle, INODE_CACHE(inode),
fs/ocfs2/namei.c
2875
status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, inode,
fs/ocfs2/namei.c
2887
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/namei.c
2888
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/namei.c
2890
status = ocfs2_add_entry(handle, dentry, inode,
fs/ocfs2/namei.c
2908
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
365
handle = ocfs2_start_trans(osb, ocfs2_mknod_credits(osb->sb,
fs/ocfs2/namei.c
368
if (IS_ERR(handle)) {
fs/ocfs2/namei.c
369
status = PTR_ERR(handle);
fs/ocfs2/namei.c
370
handle = NULL;
fs/ocfs2/namei.c
386
&new_fe_bh, parent_fe_bh, handle,
fs/ocfs2/namei.c
395
status = ocfs2_fill_new_dir(osb, handle, dir, inode,
fs/ocfs2/namei.c
402
status = ocfs2_journal_access_di(handle, INODE_CACHE(dir),
fs/ocfs2/namei.c
410
ocfs2_journal_dirty(handle, parent_fe_bh);
fs/ocfs2/namei.c
414
status = ocfs2_init_acl(handle, inode, dir, new_fe_bh, parent_fe_bh,
fs/ocfs2/namei.c
423
status = ocfs2_init_security_set(handle, inode, new_fe_bh, &si,
fs/ocfs2/namei.c
445
status = ocfs2_add_entry(handle, dentry, inode,
fs/ocfs2/namei.c
466
if (handle) {
fs/ocfs2/namei.c
469
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
515
handle_t *handle,
fs/ocfs2/namei.c
546
status = ocfs2_journal_access_di(handle, INODE_CACHE(inode),
fs/ocfs2/namei.c
598
ocfs2_journal_dirty(handle, *new_fe_bh);
fs/ocfs2/namei.c
608
ocfs2_update_inode_fsync_trans(handle, inode, 1);
fs/ocfs2/namei.c
62
handle_t *handle,
fs/ocfs2/namei.c
629
handle_t *handle,
fs/ocfs2/namei.c
638
status = ocfs2_claim_new_inode(handle, dir, parent_fe_bh,
fs/ocfs2/namei.c
647
handle, inode_ac, fe_blkno,
fs/ocfs2/namei.c
688
handle_t *handle;
fs/ocfs2/namei.c
73
handle_t *handle,
fs/ocfs2/namei.c
782
handle = ocfs2_start_trans(osb, ocfs2_link_credits(osb->sb));
fs/ocfs2/namei.c
783
if (IS_ERR(handle)) {
fs/ocfs2/namei.c
784
err = PTR_ERR(handle);
fs/ocfs2/namei.c
785
handle = NULL;
fs/ocfs2/namei.c
793
err = ocfs2_journal_access_di(handle, INODE_CACHE(inode), fe_bh,
fs/ocfs2/namei.c
805
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/namei.c
806
ocfs2_journal_dirty(handle, fe_bh);
fs/ocfs2/namei.c
808
err = ocfs2_add_entry(handle, dentry, inode,
fs/ocfs2/namei.c
82
handle_t *handle,
fs/ocfs2/namei.c
828
ocfs2_commit_trans(osb, handle);
fs/ocfs2/namei.c
891
handle_t *handle = NULL;
fs/ocfs2/namei.c
974
handle = ocfs2_start_trans(osb, ocfs2_unlink_credits(osb->sb));
fs/ocfs2/namei.c
975
if (IS_ERR(handle)) {
fs/ocfs2/namei.c
976
status = PTR_ERR(handle);
fs/ocfs2/namei.c
977
handle = NULL;
fs/ocfs2/namei.c
982
status = ocfs2_journal_access_di(handle, INODE_CACHE(inode), fe_bh,
fs/ocfs2/namei.c
992
status = ocfs2_delete_entry(handle, dir, &lookup);
fs/ocfs2/namei.h
21
handle_t *handle,
fs/ocfs2/ocfs2.h
517
typedef int (*ocfs2_journal_access_func)(handle_t *handle,
fs/ocfs2/ocfs2_trace.h
2492
TP_PROTO(void *sb, void *handle, unsigned long long blkno),
fs/ocfs2/ocfs2_trace.h
2493
TP_ARGS(sb, handle, blkno),
fs/ocfs2/ocfs2_trace.h
2496
__field(void *, handle)
fs/ocfs2/ocfs2_trace.h
2501
__entry->handle = handle;
fs/ocfs2/ocfs2_trace.h
2504
TP_printk("%p %p %llu", __entry->sb, __entry->handle, __entry->blkno)
fs/ocfs2/quota.h
116
int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot);
fs/ocfs2/quota_global.c
1004
ocfs2_commit_trans(OCFS2_SB(sb), handle);
fs/ocfs2/quota_global.c
226
handle_t *handle = journal_current_handle();
fs/ocfs2/quota_global.c
229
if (!handle) {
fs/ocfs2/quota_global.c
280
err = ocfs2_journal_access_dq(handle, INODE_CACHE(gqinode), bh,
fs/ocfs2/quota_global.c
286
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/quota_global.c
294
ocfs2_mark_inode_dirty(handle, gqinode, oinfo->dqi_gqi_bh);
fs/ocfs2/quota_global.c
605
handle_t *handle;
fs/ocfs2/quota_global.c
621
handle = ocfs2_start_trans(osb, OCFS2_QSYNC_CREDITS);
fs/ocfs2/quota_global.c
622
if (IS_ERR(handle)) {
fs/ocfs2/quota_global.c
623
status = PTR_ERR(handle);
fs/ocfs2/quota_global.c
638
ocfs2_commit_trans(osb, handle);
fs/ocfs2/quota_global.c
671
handle_t *handle;
fs/ocfs2/quota_global.c
679
handle = ocfs2_start_trans(osb, OCFS2_QWRITE_CREDITS);
fs/ocfs2/quota_global.c
680
if (IS_ERR(handle)) {
fs/ocfs2/quota_global.c
681
status = PTR_ERR(handle);
fs/ocfs2/quota_global.c
690
ocfs2_commit_trans(osb, handle);
fs/ocfs2/quota_global.c
732
handle_t *handle;
fs/ocfs2/quota_global.c
761
handle = ocfs2_start_trans(osb,
fs/ocfs2/quota_global.c
763
if (IS_ERR(handle)) {
fs/ocfs2/quota_global.c
769
status = PTR_ERR(handle);
fs/ocfs2/quota_global.c
779
status = ocfs2_local_release_dquot(handle, dquot);
fs/ocfs2/quota_global.c
794
ocfs2_commit_trans(osb, handle);
fs/ocfs2/quota_global.c
819
handle_t *handle;
fs/ocfs2/quota_global.c
860
handle = ocfs2_start_trans(osb,
fs/ocfs2/quota_global.c
862
if (IS_ERR(handle)) {
fs/ocfs2/quota_global.c
863
status = PTR_ERR(handle);
fs/ocfs2/quota_global.c
877
ocfs2_commit_trans(osb, handle);
fs/ocfs2/quota_global.c
938
handle_t *handle;
fs/ocfs2/quota_global.c
960
handle = ocfs2_start_trans(osb, OCFS2_QSYNC_CREDITS);
fs/ocfs2/quota_global.c
961
if (IS_ERR(handle)) {
fs/ocfs2/quota_global.c
962
status = PTR_ERR(handle);
fs/ocfs2/quota_global.c
978
ocfs2_commit_trans(osb, handle);
fs/ocfs2/quota_global.c
990
handle_t *handle;
fs/ocfs2/quota_global.c
997
handle = ocfs2_start_trans(OCFS2_SB(sb), OCFS2_QINFO_WRITE_CREDITS);
fs/ocfs2/quota_global.c
998
if (IS_ERR(handle)) {
fs/ocfs2/quota_global.c
999
status = PTR_ERR(handle);
fs/ocfs2/quota_local.c
1000
if (IS_ERR(handle)) {
fs/ocfs2/quota_local.c
1001
status = PTR_ERR(handle);
fs/ocfs2/quota_local.c
101
handle = ocfs2_start_trans(OCFS2_SB(sb),
fs/ocfs2/quota_local.c
1021
status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh,
fs/ocfs2/quota_local.c
103
if (IS_ERR(handle)) {
fs/ocfs2/quota_local.c
1033
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/quota_local.c
104
status = PTR_ERR(handle);
fs/ocfs2/quota_local.c
1049
status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), dbh,
fs/ocfs2/quota_local.c
1058
ocfs2_journal_dirty(handle, dbh);
fs/ocfs2/quota_local.c
1068
status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
fs/ocfs2/quota_local.c
108
status = ocfs2_journal_access_dq(handle, INODE_CACHE(inode), bh,
fs/ocfs2/quota_local.c
1082
ocfs2_commit_trans(OCFS2_SB(sb), handle);
fs/ocfs2/quota_local.c
1106
handle_t *handle;
fs/ocfs2/quota_local.c
112
ocfs2_commit_trans(OCFS2_SB(sb), handle);
fs/ocfs2/quota_local.c
1149
handle = ocfs2_start_trans(OCFS2_SB(sb),
fs/ocfs2/quota_local.c
1152
if (IS_ERR(handle)) {
fs/ocfs2/quota_local.c
1153
status = PTR_ERR(handle);
fs/ocfs2/quota_local.c
1158
status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode), bh,
fs/ocfs2/quota_local.c
1167
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/quota_local.c
1170
status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode),
fs/ocfs2/quota_local.c
118
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/quota_local.c
1182
ocfs2_journal_dirty(handle, chunk->qc_headerbh);
fs/ocfs2/quota_local.c
1192
status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
fs/ocfs2/quota_local.c
120
status = ocfs2_commit_trans(OCFS2_SB(sb), handle);
fs/ocfs2/quota_local.c
1200
ocfs2_commit_trans(OCFS2_SB(sb), handle);
fs/ocfs2/quota_local.c
1274
int ocfs2_local_release_dquot(handle_t *handle, struct dquot *dquot)
fs/ocfs2/quota_local.c
1283
status = ocfs2_journal_access_dq(handle,
fs/ocfs2/quota_local.c
1299
ocfs2_journal_dirty(handle, od->dq_chunk->qc_headerbh);
fs/ocfs2/quota_local.c
466
handle_t *handle;
fs/ocfs2/quota_local.c
516
handle = ocfs2_start_trans(OCFS2_SB(sb),
fs/ocfs2/quota_local.c
518
if (IS_ERR(handle)) {
fs/ocfs2/quota_local.c
519
status = PTR_ERR(handle);
fs/ocfs2/quota_local.c
543
status = ocfs2_journal_access_dq(handle,
fs/ocfs2/quota_local.c
555
ocfs2_journal_dirty(handle, qbh);
fs/ocfs2/quota_local.c
559
ocfs2_commit_trans(OCFS2_SB(sb), handle);
fs/ocfs2/quota_local.c
592
handle_t *handle;
fs/ocfs2/quota_local.c
647
handle = ocfs2_start_trans(osb,
fs/ocfs2/quota_local.c
649
if (IS_ERR(handle)) {
fs/ocfs2/quota_local.c
650
status = PTR_ERR(handle);
fs/ocfs2/quota_local.c
654
status = ocfs2_journal_access_dq(handle, INODE_CACHE(lqinode),
fs/ocfs2/quota_local.c
664
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/quota_local.c
666
ocfs2_commit_trans(osb, handle);
fs/ocfs2/quota_local.c
971
handle_t *handle;
fs/ocfs2/quota_local.c
98
handle_t *handle;
fs/ocfs2/quota_local.c
997
handle = ocfs2_start_trans(OCFS2_SB(sb),
fs/ocfs2/refcounttree.c
1235
static int ocfs2_change_refcount_rec(handle_t *handle,
fs/ocfs2/refcounttree.c
1246
ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh,
fs/ocfs2/refcounttree.c
1271
ocfs2_journal_dirty(handle, ref_leaf_bh);
fs/ocfs2/refcounttree.c
1276
static int ocfs2_expand_inline_ref_root(handle_t *handle,
fs/ocfs2/refcounttree.c
1292
ret = ocfs2_journal_access_rb(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
1299
ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc,
fs/ocfs2/refcounttree.c
1315
ret = ocfs2_journal_access_rb(handle, ci, new_bh,
fs/ocfs2/refcounttree.c
1337
ocfs2_journal_dirty(handle, new_bh);
fs/ocfs2/refcounttree.c
1349
ocfs2_journal_dirty(handle, ref_root_bh);
fs/ocfs2/refcounttree.c
1507
static int ocfs2_new_leaf_refcount_block(handle_t *handle,
fs/ocfs2/refcounttree.c
1526
ret = ocfs2_journal_access_rb(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
1533
ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh,
fs/ocfs2/refcounttree.c
1540
ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc,
fs/ocfs2/refcounttree.c
1556
ret = ocfs2_journal_access_rb(handle, ci, new_bh,
fs/ocfs2/refcounttree.c
1584
ocfs2_journal_dirty(handle, ref_leaf_bh);
fs/ocfs2/refcounttree.c
1585
ocfs2_journal_dirty(handle, new_bh);
fs/ocfs2/refcounttree.c
1593
ret = ocfs2_insert_extent(handle, &ref_et, new_cpos, new_bh->b_blocknr,
fs/ocfs2/refcounttree.c
1603
static int ocfs2_expand_refcount_tree(handle_t *handle,
fs/ocfs2/refcounttree.c
1617
ret = ocfs2_expand_inline_ref_root(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
1630
ret = ocfs2_new_leaf_refcount_block(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
1645
static int ocfs2_adjust_refcount_rec(handle_t *handle,
fs/ocfs2/refcounttree.c
1687
ret = ocfs2_extend_trans(handle, 2);
fs/ocfs2/refcounttree.c
1693
ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh,
fs/ocfs2/refcounttree.c
1700
ret = ocfs2_journal_access_eb(handle, ci, path_leaf_bh(path),
fs/ocfs2/refcounttree.c
1721
ocfs2_journal_dirty(handle, path_leaf_bh(path));
fs/ocfs2/refcounttree.c
1722
ocfs2_journal_dirty(handle, ref_leaf_bh);
fs/ocfs2/refcounttree.c
1729
static int ocfs2_insert_refcount_rec(handle_t *handle,
fs/ocfs2/refcounttree.c
1749
ret = ocfs2_expand_refcount_tree(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
1769
ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh,
fs/ocfs2/refcounttree.c
1794
ocfs2_journal_dirty(handle, ref_leaf_bh);
fs/ocfs2/refcounttree.c
1797
ret = ocfs2_adjust_refcount_rec(handle, ci,
fs/ocfs2/refcounttree.c
1817
static int ocfs2_split_refcount_rec(handle_t *handle,
fs/ocfs2/refcounttree.c
1875
ret = ocfs2_expand_refcount_tree(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
1900
ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh,
fs/ocfs2/refcounttree.c
1966
ocfs2_journal_dirty(handle, ref_leaf_bh);
fs/ocfs2/refcounttree.c
1973
static int __ocfs2_increase_refcount(handle_t *handle,
fs/ocfs2/refcounttree.c
2015
ret = ocfs2_change_refcount_rec(handle, ci,
fs/ocfs2/refcounttree.c
2028
ret = ocfs2_insert_refcount_rec(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
2046
ret = ocfs2_split_refcount_rec(handle, ci,
fs/ocfs2/refcounttree.c
2067
static int ocfs2_remove_refcount_extent(handle_t *handle,
fs/ocfs2/refcounttree.c
2088
ret = ocfs2_remove_extent(handle, &et, le32_to_cpu(rb->rf_cpos),
fs/ocfs2/refcounttree.c
2111
ret = ocfs2_journal_access_rb(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
2141
ocfs2_journal_dirty(handle, ref_root_bh);
fs/ocfs2/refcounttree.c
2147
int ocfs2_increase_refcount(handle_t *handle,
fs/ocfs2/refcounttree.c
2154
return __ocfs2_increase_refcount(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
2159
static int ocfs2_decrease_refcount_rec(handle_t *handle,
fs/ocfs2/refcounttree.c
2182
ret = ocfs2_change_refcount_rec(handle, ci,
fs/ocfs2/refcounttree.c
2191
ret = ocfs2_split_refcount_rec(handle, ci,
fs/ocfs2/refcounttree.c
2204
ret = ocfs2_remove_refcount_extent(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
2215
static int __ocfs2_decrease_refcount(handle_t *handle,
fs/ocfs2/refcounttree.c
2250
ret = ocfs2_decrease_refcount_rec(handle, ci, ref_root_bh,
fs/ocfs2/refcounttree.c
2282
handle_t *handle, u32 cpos, u32 len,
fs/ocfs2/refcounttree.c
2313
ret = __ocfs2_decrease_refcount(handle, &tree->rf_ci, ref_root_bh,
fs/ocfs2/refcounttree.c
2333
handle_t *handle, u32 cpos,
fs/ocfs2/refcounttree.c
2349
ret = ocfs2_change_extent_flag(handle, et, cpos,
fs/ocfs2/refcounttree.c
2889
static int ocfs2_clear_cow_buffer(handle_t *handle, struct buffer_head *bh)
fs/ocfs2/refcounttree.c
2898
int ocfs2_duplicate_clusters_by_page(handle_t *handle,
fs/ocfs2/refcounttree.c
2970
ret = walk_page_buffers(handle, folio_buffers(folio),
fs/ocfs2/refcounttree.c
2979
ocfs2_map_and_dirty_folio(inode, handle, from, to,
fs/ocfs2/refcounttree.c
2993
int ocfs2_duplicate_clusters_by_jbd(handle_t *handle,
fs/ocfs2/refcounttree.c
3027
ret = ocfs2_journal_access(handle, ci, new_bh,
fs/ocfs2/refcounttree.c
3035
ocfs2_journal_dirty(handle, new_bh);
fs/ocfs2/refcounttree.c
3048
static int ocfs2_clear_ext_refcount(handle_t *handle,
fs/ocfs2/refcounttree.c
3096
ret = ocfs2_split_extent(handle, et, path, index,
fs/ocfs2/refcounttree.c
3106
static int ocfs2_replace_clusters(handle_t *handle,
fs/ocfs2/refcounttree.c
3121
ret = context->cow_duplicate_clusters(handle, context->inode,
fs/ocfs2/refcounttree.c
3129
ret = ocfs2_clear_ext_refcount(handle, &context->data_et,
fs/ocfs2/refcounttree.c
3176
handle_t *handle;
fs/ocfs2/refcounttree.c
3199
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/refcounttree.c
3200
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
3201
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
3231
ret = ocfs2_clear_ext_refcount(handle,
fs/ocfs2/refcounttree.c
3244
ret = __ocfs2_claim_clusters(handle,
fs/ocfs2/refcounttree.c
3253
ret = ocfs2_replace_clusters(handle, context,
fs/ocfs2/refcounttree.c
3263
ret = __ocfs2_decrease_refcount(handle, ref_ci,
fs/ocfs2/refcounttree.c
3282
ret = context->post_refcount->func(context->inode, handle,
fs/ocfs2/refcounttree.c
3302
ocfs2_commit_trans(osb, handle);
fs/ocfs2/refcounttree.c
3655
handle_t *handle;
fs/ocfs2/refcounttree.c
3686
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/refcounttree.c
3687
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
3688
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
3693
ret = ocfs2_mark_extent_refcounted(inode, data_et, handle,
fs/ocfs2/refcounttree.c
3701
ret = __ocfs2_increase_refcount(handle, ref_ci, ref_root_bh,
fs/ocfs2/refcounttree.c
3710
ret = post->func(inode, handle, post->para);
fs/ocfs2/refcounttree.c
3716
ocfs2_commit_trans(osb, handle);
fs/ocfs2/refcounttree.c
3727
handle_t *handle;
fs/ocfs2/refcounttree.c
3730
handle = ocfs2_start_trans(OCFS2_SB(inode->i_sb),
fs/ocfs2/refcounttree.c
3732
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
3733
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
3738
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/refcounttree.c
3749
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/refcounttree.c
3752
ocfs2_commit_trans(OCFS2_SB(inode->i_sb), handle);
fs/ocfs2/refcounttree.c
3868
handle_t *handle;
fs/ocfs2/refcounttree.c
3883
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/refcounttree.c
3884
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
3885
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
3890
ret = ocfs2_insert_extent(handle, et, cpos,
fs/ocfs2/refcounttree.c
3898
ret = ocfs2_increase_refcount(handle, ref_ci, ref_root_bh,
fs/ocfs2/refcounttree.c
3912
ocfs2_commit_trans(osb, handle);
fs/ocfs2/refcounttree.c
3925
handle_t *handle;
fs/ocfs2/refcounttree.c
3932
handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
fs/ocfs2/refcounttree.c
3933
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
3934
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
3939
ret = ocfs2_journal_access_di(handle, INODE_CACHE(t_inode), t_bh,
fs/ocfs2/refcounttree.c
3954
ocfs2_journal_dirty(handle, t_bh);
fs/ocfs2/refcounttree.c
3957
ocfs2_commit_trans(osb, handle);
fs/ocfs2/refcounttree.c
4021
handle_t *handle;
fs/ocfs2/refcounttree.c
4026
handle = ocfs2_start_trans(OCFS2_SB(t_inode->i_sb),
fs/ocfs2/refcounttree.c
4028
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
4029
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
4034
ret = ocfs2_journal_access_di(handle, INODE_CACHE(t_inode), t_bh,
fs/ocfs2/refcounttree.c
4078
ocfs2_journal_dirty(handle, t_bh);
fs/ocfs2/refcounttree.c
4081
ocfs2_commit_trans(OCFS2_SB(t_inode->i_sb), handle);
fs/ocfs2/refcounttree.c
4451
handle_t *handle;
fs/ocfs2/refcounttree.c
4459
handle = ocfs2_start_trans(OCFS2_SB(dest->i_sb),
fs/ocfs2/refcounttree.c
4461
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
4462
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
4474
ret = ocfs2_mark_inode_dirty(handle, dest, d_bh);
fs/ocfs2/refcounttree.c
4481
ocfs2_commit_trans(OCFS2_SB(dest->i_sb), handle);
fs/ocfs2/refcounttree.c
555
handle_t *handle = NULL;
fs/ocfs2/refcounttree.c
578
handle = ocfs2_start_trans(osb, OCFS2_REFCOUNT_TREE_CREATE_CREDITS);
fs/ocfs2/refcounttree.c
579
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
580
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
585
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/refcounttree.c
592
ret = ocfs2_claim_metadata(handle, meta_ac, 1, &suballoc_loc,
fs/ocfs2/refcounttree.c
61
int (*cow_duplicate_clusters)(handle_t *handle,
fs/ocfs2/refcounttree.c
615
ret = ocfs2_journal_access_rb(handle, &new_tree->rf_ci, new_bh,
fs/ocfs2/refcounttree.c
638
ocfs2_journal_dirty(handle, new_bh);
fs/ocfs2/refcounttree.c
648
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/refcounttree.c
677
ocfs2_commit_trans(osb, handle);
fs/ocfs2/refcounttree.c
697
handle_t *handle = NULL;
fs/ocfs2/refcounttree.c
714
handle = ocfs2_start_trans(osb, OCFS2_REFCOUNT_TREE_SET_CREDITS);
fs/ocfs2/refcounttree.c
715
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
716
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
721
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/refcounttree.c
728
ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, ref_root_bh,
fs/ocfs2/refcounttree.c
738
ocfs2_journal_dirty(handle, ref_root_bh);
fs/ocfs2/refcounttree.c
745
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/refcounttree.c
748
ocfs2_commit_trans(osb, handle);
fs/ocfs2/refcounttree.c
759
handle_t *handle = NULL;
fs/ocfs2/refcounttree.c
815
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/refcounttree.c
816
if (IS_ERR(handle)) {
fs/ocfs2/refcounttree.c
817
ret = PTR_ERR(handle);
fs/ocfs2/refcounttree.c
822
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/refcounttree.c
829
ret = ocfs2_journal_access_rb(handle, &ref_tree->rf_ci, blk_bh,
fs/ocfs2/refcounttree.c
841
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/refcounttree.c
844
ocfs2_journal_dirty(handle, blk_bh);
fs/ocfs2/refcounttree.c
849
ret = ocfs2_free_suballoc_bits(handle, alloc_inode,
fs/ocfs2/refcounttree.c
856
ocfs2_commit_trans(osb, handle);
fs/ocfs2/refcounttree.h
35
handle_t *handle, u32 cpos, u32 len,
fs/ocfs2/refcounttree.h
50
handle_t *handle,
fs/ocfs2/refcounttree.h
77
int ocfs2_duplicate_clusters_by_page(handle_t *handle,
fs/ocfs2/refcounttree.h
81
int ocfs2_duplicate_clusters_by_jbd(handle_t *handle,
fs/ocfs2/refcounttree.h
98
int ocfs2_increase_refcount(handle_t *handle,
fs/ocfs2/resize.c
100
ret = ocfs2_journal_access_gd(handle, INODE_CACHE(bm_inode),
fs/ocfs2/resize.c
132
ocfs2_journal_dirty(handle, group_bh);
fs/ocfs2/resize.c
135
ret = ocfs2_journal_access_di(handle, INODE_CACHE(bm_inode), bm_bh,
fs/ocfs2/resize.c
160
ocfs2_journal_dirty(handle, bm_bh);
fs/ocfs2/resize.c
268
handle_t *handle;
fs/ocfs2/resize.c
342
handle = ocfs2_start_trans(osb, OCFS2_GROUP_EXTEND_CREDITS);
fs/ocfs2/resize.c
343
if (IS_ERR(handle)) {
fs/ocfs2/resize.c
344
mlog_errno(PTR_ERR(handle));
fs/ocfs2/resize.c
350
ret = ocfs2_update_last_group_and_inode(handle, main_bm_inode,
fs/ocfs2/resize.c
362
ocfs2_commit_trans(osb, handle);
fs/ocfs2/resize.c
457
handle_t *handle;
fs/ocfs2/resize.c
518
handle = ocfs2_start_trans(osb, OCFS2_GROUP_ADD_CREDITS);
fs/ocfs2/resize.c
519
if (IS_ERR(handle)) {
fs/ocfs2/resize.c
520
mlog_errno(PTR_ERR(handle));
fs/ocfs2/resize.c
529
ret = ocfs2_journal_access_gd(handle, INODE_CACHE(main_bm_inode),
fs/ocfs2/resize.c
539
ocfs2_journal_dirty(handle, group_bh);
fs/ocfs2/resize.c
541
ret = ocfs2_journal_access_di(handle, INODE_CACHE(main_bm_inode),
fs/ocfs2/resize.c
563
ocfs2_journal_dirty(handle, main_bm_bh);
fs/ocfs2/resize.c
574
ocfs2_commit_trans(osb, handle);
fs/ocfs2/resize.c
77
static int ocfs2_update_last_group_and_inode(handle_t *handle,
fs/ocfs2/suballoc.c
103
static int ocfs2_relink_block_group(handle_t *handle,
fs/ocfs2/suballoc.c
1432
int ocfs2_block_group_set_bits(handle_t *handle,
fs/ocfs2/suballoc.c
1458
status = ocfs2_journal_access_gd(handle,
fs/ocfs2/suballoc.c
1501
ocfs2_journal_dirty(handle, group_bh);
fs/ocfs2/suballoc.c
1526
static int ocfs2_relink_block_group(handle_t *handle,
fs/ocfs2/suballoc.c
1554
status = ocfs2_journal_access_gd(handle, INODE_CACHE(alloc_inode),
fs/ocfs2/suballoc.c
1561
ocfs2_journal_dirty(handle, prev_bg_bh);
fs/ocfs2/suballoc.c
1563
status = ocfs2_journal_access_gd(handle, INODE_CACHE(alloc_inode),
fs/ocfs2/suballoc.c
1569
ocfs2_journal_dirty(handle, bg_bh);
fs/ocfs2/suballoc.c
1571
status = ocfs2_journal_access_di(handle, INODE_CACHE(alloc_inode),
fs/ocfs2/suballoc.c
1577
ocfs2_journal_dirty(handle, fe_bh);
fs/ocfs2/suballoc.c
1701
handle_t *handle,
fs/ocfs2/suballoc.c
1711
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/suballoc.c
1721
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/suballoc.c
1792
handle_t *handle,
fs/ocfs2/suballoc.c
1834
ret = ocfs2_alloc_dinode_update_counts(alloc_inode, handle, ac->ac_bh,
fs/ocfs2/suballoc.c
1842
ret = ocfs2_block_group_set_bits(handle, alloc_inode, gd, group_bh,
fs/ocfs2/suballoc.c
1862
handle_t *handle,
fs/ocfs2/suballoc.c
1965
status = ocfs2_relink_block_group(handle, alloc_inode,
fs/ocfs2/suballoc.c
1977
status = ocfs2_alloc_dinode_update_counts(alloc_inode, handle,
fs/ocfs2/suballoc.c
1985
status = ocfs2_block_group_set_bits(handle,
fs/ocfs2/suballoc.c
2017
handle_t *handle,
fs/ocfs2/suballoc.c
2057
status = ocfs2_search_one_group(ac, handle, bits_wanted,
fs/ocfs2/suballoc.c
2088
status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits,
fs/ocfs2/suballoc.c
2116
status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits,
fs/ocfs2/suballoc.c
2155
int ocfs2_claim_metadata(handle_t *handle,
fs/ocfs2/suballoc.c
2171
handle,
fs/ocfs2/suballoc.c
2240
handle_t *handle = NULL;
fs/ocfs2/suballoc.c
2261
handle = ocfs2_start_trans(OCFS2_SB(dir->i_sb), OCFS2_SUBALLOC_ALLOC);
fs/ocfs2/suballoc.c
2262
if (IS_ERR(handle)) {
fs/ocfs2/suballoc.c
2263
ret = PTR_ERR(handle);
fs/ocfs2/suballoc.c
2264
handle = NULL;
fs/ocfs2/suballoc.c
2276
ret = ocfs2_claim_suballoc_bits(ac, handle, 1, 1, res);
fs/ocfs2/suballoc.c
2284
ocfs2_update_inode_fsync_trans(handle, dir, 0);
fs/ocfs2/suballoc.c
2286
if (handle)
fs/ocfs2/suballoc.c
2287
ocfs2_commit_trans(OCFS2_SB(dir->i_sb), handle);
fs/ocfs2/suballoc.c
2295
int ocfs2_claim_new_inode_at_loc(handle_t *handle,
fs/ocfs2/suballoc.c
2327
ret = ocfs2_alloc_dinode_update_counts(ac->ac_inode, handle,
fs/ocfs2/suballoc.c
2335
ret = ocfs2_block_group_set_bits(handle,
fs/ocfs2/suballoc.c
2368
int ocfs2_claim_new_inode(handle_t *handle,
fs/ocfs2/suballoc.c
2387
handle,
fs/ocfs2/suballoc.c
2472
int __ocfs2_claim_clusters(handle_t *handle,
fs/ocfs2/suballoc.c
2494
handle,
fs/ocfs2/suballoc.c
2516
handle,
fs/ocfs2/suballoc.c
2544
int ocfs2_claim_clusters(handle_t *handle,
fs/ocfs2/suballoc.c
2552
return __ocfs2_claim_clusters(handle, ac, min_clusters,
fs/ocfs2/suballoc.c
2556
static int ocfs2_block_group_clear_bits(handle_t *handle,
fs/ocfs2/suballoc.c
2579
status = ocfs2_journal_access_gd(handle, INODE_CACHE(alloc_inode),
fs/ocfs2/suballoc.c
2632
ocfs2_journal_dirty(handle, group_bh);
fs/ocfs2/suballoc.c
2649
static int _ocfs2_reclaim_suballoc_to_main(handle_t *handle,
fs/ocfs2/suballoc.c
2672
status = ocfs2_extend_trans(handle,
fs/ocfs2/suballoc.c
2679
status = ocfs2_journal_access_di(handle, INODE_CACHE(alloc_inode),
fs/ocfs2/suballoc.c
2722
ocfs2_journal_dirty(handle, alloc_bh);
fs/ocfs2/suballoc.c
2723
ocfs2_update_inode_fsync_trans(handle, alloc_inode, 0);
fs/ocfs2/suballoc.c
2787
status = ocfs2_block_group_clear_bits(handle, main_bm_inode,
fs/ocfs2/suballoc.c
2796
status = ocfs2_journal_access_di(handle, INODE_CACHE(main_bm_inode),
fs/ocfs2/suballoc.c
2800
ocfs2_block_group_set_bits(handle, main_bm_inode, group, group_bh,
fs/ocfs2/suballoc.c
2812
ocfs2_journal_dirty(handle, main_bm_bh);
fs/ocfs2/suballoc.c
2832
static int _ocfs2_free_suballoc_bits(handle_t *handle,
fs/ocfs2/suballoc.c
2875
status = ocfs2_block_group_clear_bits(handle, alloc_inode,
fs/ocfs2/suballoc.c
2883
status = ocfs2_journal_access_di(handle, INODE_CACHE(alloc_inode),
fs/ocfs2/suballoc.c
2887
ocfs2_block_group_set_bits(handle, alloc_inode, group, group_bh,
fs/ocfs2/suballoc.c
2899
ocfs2_journal_dirty(handle, alloc_bh);
fs/ocfs2/suballoc.c
2911
_ocfs2_reclaim_suballoc_to_main(handle, alloc_inode, alloc_bh, group_bh);
fs/ocfs2/suballoc.c
2918
int ocfs2_free_suballoc_bits(handle_t *handle,
fs/ocfs2/suballoc.c
2925
return _ocfs2_free_suballoc_bits(handle, alloc_inode, alloc_bh,
fs/ocfs2/suballoc.c
2929
int ocfs2_free_dinode(handle_t *handle,
fs/ocfs2/suballoc.c
2940
return ocfs2_free_suballoc_bits(handle, inode_alloc_inode,
fs/ocfs2/suballoc.c
2944
static int _ocfs2_free_clusters(handle_t *handle,
fs/ocfs2/suballoc.c
2973
status = _ocfs2_free_suballoc_bits(handle, bitmap_inode, bitmap_bh,
fs/ocfs2/suballoc.c
2988
int ocfs2_free_clusters(handle_t *handle,
fs/ocfs2/suballoc.c
2994
return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh,
fs/ocfs2/suballoc.c
3003
int ocfs2_release_clusters(handle_t *handle,
fs/ocfs2/suballoc.c
3009
return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh,
fs/ocfs2/suballoc.c
413
static int ocfs2_block_group_fill(handle_t *handle,
fs/ocfs2/suballoc.c
434
status = ocfs2_journal_access_gd(handle,
fs/ocfs2/suballoc.c
462
ocfs2_journal_dirty(handle, bg_bh);
fs/ocfs2/suballoc.c
490
ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle,
fs/ocfs2/suballoc.c
501
status = ocfs2_claim_clusters(handle, ac,
fs/ocfs2/suballoc.c
523
status = ocfs2_block_group_fill(handle, alloc_inode, bg_bh,
fs/ocfs2/suballoc.c
535
handle_t *handle,
fs/ocfs2/suballoc.c
543
status = ocfs2_claim_clusters(handle, ac, min_bits,
fs/ocfs2/suballoc.c
554
static int ocfs2_block_group_grow_discontig(handle_t *handle,
fs/ocfs2/suballoc.c
571
status = ocfs2_journal_access_gd(handle,
fs/ocfs2/suballoc.c
584
status = ocfs2_block_group_claim_bits(osb, handle, ac,
fs/ocfs2/suballoc.c
610
ocfs2_journal_dirty(handle, bg_bh);
fs/ocfs2/suballoc.c
616
static void ocfs2_bg_alloc_cleanup(handle_t *handle,
fs/ocfs2/suballoc.c
633
ret = ocfs2_free_clusters(handle, cluster_ac->ac_inode,
fs/ocfs2/suballoc.c
647
ocfs2_block_group_alloc_discontig(handle_t *handle,
fs/ocfs2/suballoc.c
665
status = ocfs2_extend_trans(handle,
fs/ocfs2/suballoc.c
681
status = ocfs2_block_group_claim_bits(osb, handle, ac, min_bits,
fs/ocfs2/suballoc.c
703
status = ocfs2_block_group_fill(handle, alloc_inode, bg_bh,
fs/ocfs2/suballoc.c
710
status = ocfs2_block_group_grow_discontig(handle, alloc_inode,
fs/ocfs2/suballoc.c
717
ocfs2_bg_alloc_cleanup(handle, ac, alloc_inode, bg_bh);
fs/ocfs2/suballoc.c
72
static int ocfs2_block_group_fill(handle_t *handle,
fs/ocfs2/suballoc.c
735
handle_t *handle = NULL;
fs/ocfs2/suballoc.c
754
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/suballoc.c
755
if (IS_ERR(handle)) {
fs/ocfs2/suballoc.c
756
status = PTR_ERR(handle);
fs/ocfs2/suballoc.c
757
handle = NULL;
fs/ocfs2/suballoc.c
768
bg_bh = ocfs2_block_group_alloc_contig(osb, handle, alloc_inode,
fs/ocfs2/suballoc.c
772
bg_bh = ocfs2_block_group_alloc_discontig(handle,
fs/ocfs2/suballoc.c
785
status = ocfs2_journal_access_di(handle, INODE_CACHE(alloc_inode),
fs/ocfs2/suballoc.c
806
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/suballoc.c
815
ocfs2_update_inode_fsync_trans(handle, alloc_inode, 0);
fs/ocfs2/suballoc.c
824
if (handle)
fs/ocfs2/suballoc.c
825
ocfs2_commit_trans(osb, handle);
fs/ocfs2/suballoc.c
97
handle_t *handle,
fs/ocfs2/suballoc.h
101
int ocfs2_claim_new_inode(handle_t *handle,
fs/ocfs2/suballoc.h
108
int ocfs2_claim_clusters(handle_t *handle,
fs/ocfs2/suballoc.h
117
int __ocfs2_claim_clusters(handle_t *handle,
fs/ocfs2/suballoc.h
124
int ocfs2_free_suballoc_bits(handle_t *handle,
fs/ocfs2/suballoc.h
130
int ocfs2_free_dinode(handle_t *handle,
fs/ocfs2/suballoc.h
134
int ocfs2_free_clusters(handle_t *handle,
fs/ocfs2/suballoc.h
139
int ocfs2_release_clusters(handle_t *handle,
fs/ocfs2/suballoc.h
219
int ocfs2_claim_new_inode_at_loc(handle_t *handle,
fs/ocfs2/suballoc.h
75
handle_t *handle,
fs/ocfs2/suballoc.h
85
int ocfs2_block_group_set_bits(handle_t *handle,
fs/ocfs2/suballoc.h
94
int ocfs2_claim_metadata(handle_t *handle,
fs/ocfs2/xattr.c
138
int (*xlo_journal_access)(handle_t *handle, struct ocfs2_xa_loc *loc,
fs/ocfs2/xattr.c
1381
handle_t *handle,
fs/ocfs2/xattr.c
140
void (*xlo_journal_dirty)(handle_t *handle, struct ocfs2_xa_loc *loc);
fs/ocfs2/xattr.c
1419
ret = ocfs2_journal_access(handle,
fs/ocfs2/xattr.c
1436
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/xattr.c
1475
static int ocfs2_xa_journal_access(handle_t *handle, struct ocfs2_xa_loc *loc,
fs/ocfs2/xattr.c
1478
return loc->xl_ops->xlo_journal_access(handle, loc, type);
fs/ocfs2/xattr.c
1481
static void ocfs2_xa_journal_dirty(handle_t *handle, struct ocfs2_xa_loc *loc)
fs/ocfs2/xattr.c
1483
loc->xl_ops->xlo_journal_dirty(handle, loc);
fs/ocfs2/xattr.c
1576
static int ocfs2_xa_block_journal_access(handle_t *handle,
fs/ocfs2/xattr.c
1588
return access(handle, INODE_CACHE(loc->xl_inode), bh, type);
fs/ocfs2/xattr.c
1591
static void ocfs2_xa_block_journal_dirty(handle_t *handle,
fs/ocfs2/xattr.c
1596
ocfs2_journal_dirty(handle, bh);
fs/ocfs2/xattr.c
1737
static int ocfs2_xa_bucket_journal_access(handle_t *handle,
fs/ocfs2/xattr.c
1742
return ocfs2_xattr_bucket_journal_access(handle, bucket, type);
fs/ocfs2/xattr.c
1745
static void ocfs2_xa_bucket_journal_dirty(handle_t *handle,
fs/ocfs2/xattr.c
1750
ocfs2_xattr_bucket_journal_dirty(handle, bucket);
fs/ocfs2/xattr.c
1958
access_rc = ocfs2_xa_journal_access(ctxt->handle, loc,
fs/ocfs2/xattr.c
2246
ctxt->handle, &vb,
fs/ocfs2/xattr.c
2263
ret = ocfs2_xa_journal_access(ctxt->handle, loc,
fs/ocfs2/xattr.c
2294
ocfs2_xa_journal_dirty(ctxt->handle, loc);
fs/ocfs2/xattr.c
2424
ctxt.handle = ocfs2_start_trans(osb, ref_credits +
fs/ocfs2/xattr.c
2426
if (IS_ERR(ctxt.handle)) {
fs/ocfs2/xattr.c
2427
ret = PTR_ERR(ctxt.handle);
fs/ocfs2/xattr.c
2434
ocfs2_commit_trans(osb, ctxt.handle);
fs/ocfs2/xattr.c
2523
handle_t *handle;
fs/ocfs2/xattr.c
2564
handle = ocfs2_start_trans(osb, OCFS2_SUBALLOC_FREE);
fs/ocfs2/xattr.c
2565
if (IS_ERR(handle)) {
fs/ocfs2/xattr.c
2566
ret = PTR_ERR(handle);
fs/ocfs2/xattr.c
2571
ret = ocfs2_free_suballoc_bits(handle, xb_alloc_inode, xb_alloc_bh,
fs/ocfs2/xattr.c
2576
ocfs2_commit_trans(osb, handle);
fs/ocfs2/xattr.c
2600
handle_t *handle;
fs/ocfs2/xattr.c
2640
handle = ocfs2_start_trans((OCFS2_SB(inode->i_sb)),
fs/ocfs2/xattr.c
2642
if (IS_ERR(handle)) {
fs/ocfs2/xattr.c
2643
ret = PTR_ERR(handle);
fs/ocfs2/xattr.c
2647
ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/xattr.c
2660
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/xattr.c
2662
ocfs2_journal_dirty(handle, di_bh);
fs/ocfs2/xattr.c
2664
ocfs2_commit_trans(OCFS2_SB(inode->i_sb), handle);
fs/ocfs2/xattr.c
2764
ret = ocfs2_journal_access_di(ctxt->handle, INODE_CACHE(inode), di_bh,
fs/ocfs2/xattr.c
2790
ocfs2_journal_dirty(ctxt->handle, di_bh);
fs/ocfs2/xattr.c
288
static int ocfs2_mv_xattr_buckets(struct inode *inode, handle_t *handle,
fs/ocfs2/xattr.c
2907
ret = ocfs2_journal_access_di(ctxt->handle, INODE_CACHE(inode),
fs/ocfs2/xattr.c
2914
ret = ocfs2_claim_metadata(ctxt->handle, ctxt->meta_ac, 1,
fs/ocfs2/xattr.c
2931
ret = ocfs2_journal_access_xb(ctxt->handle, INODE_CACHE(inode),
fs/ocfs2/xattr.c
2959
ocfs2_journal_dirty(ctxt->handle, new_bh);
fs/ocfs2/xattr.c
2969
ocfs2_journal_dirty(ctxt->handle, inode_bh);
fs/ocfs2/xattr.c
3378
ret = ocfs2_extend_trans(ctxt->handle, credits);
fs/ocfs2/xattr.c
3408
ret = ocfs2_extend_trans(ctxt->handle, credits);
fs/ocfs2/xattr.c
3442
ret = ocfs2_extend_trans(ctxt->handle, credits);
fs/ocfs2/xattr.c
3455
ret = ocfs2_journal_access_di(ctxt->handle, INODE_CACHE(inode),
fs/ocfs2/xattr.c
3466
ocfs2_journal_dirty(ctxt->handle, xis->inode_bh);
fs/ocfs2/xattr.c
3477
int ocfs2_xattr_set_handle(handle_t *handle,
fs/ocfs2/xattr.c
3508
.handle = handle,
fs/ocfs2/xattr.c
3674
ctxt.handle = ocfs2_start_trans(osb, credits + ref_credits);
fs/ocfs2/xattr.c
3675
if (IS_ERR(ctxt.handle)) {
fs/ocfs2/xattr.c
3676
ret = PTR_ERR(ctxt.handle);
fs/ocfs2/xattr.c
3682
ocfs2_update_inode_fsync_trans(ctxt.handle, inode, 0);
fs/ocfs2/xattr.c
3684
ocfs2_commit_trans(osb, ctxt.handle);
fs/ocfs2/xattr.c
418
static int ocfs2_xattr_bucket_journal_access(handle_t *handle,
fs/ocfs2/xattr.c
425
rc = ocfs2_journal_access(handle,
fs/ocfs2/xattr.c
4303
handle_t *handle = ctxt->handle;
fs/ocfs2/xattr.c
4324
ret = ocfs2_journal_access_xb(handle, INODE_CACHE(inode), xb_bh,
fs/ocfs2/xattr.c
4331
ret = __ocfs2_claim_clusters(handle, ctxt->data_ac,
fs/ocfs2/xattr.c
4353
ret = ocfs2_xattr_bucket_journal_access(handle, xs->bucket,
fs/ocfs2/xattr.c
4361
ocfs2_xattr_bucket_journal_dirty(handle, xs->bucket);
fs/ocfs2/xattr.c
437
static void ocfs2_xattr_bucket_journal_dirty(handle_t *handle,
fs/ocfs2/xattr.c
4382
ocfs2_journal_dirty(handle, xb_bh);
fs/ocfs2/xattr.c
4410
handle_t *handle,
fs/ocfs2/xattr.c
4438
ret = ocfs2_xattr_bucket_journal_access(handle, bucket,
fs/ocfs2/xattr.c
449
ocfs2_journal_dirty(handle, bucket->bu_bhs[i]);
fs/ocfs2/xattr.c
4507
ocfs2_xattr_bucket_journal_dirty(handle, bucket);
fs/ocfs2/xattr.c
4532
handle_t *handle,
fs/ocfs2/xattr.c
4555
ret = ocfs2_mv_xattr_buckets(inode, handle, bucket_blkno(first),
fs/ocfs2/xattr.c
4650
handle_t *handle,
fs/ocfs2/xattr.c
4680
ret = ocfs2_xattr_bucket_journal_access(handle, s_bucket,
fs/ocfs2/xattr.c
4702
ret = ocfs2_xattr_bucket_journal_access(handle, t_bucket,
fs/ocfs2/xattr.c
4790
ocfs2_xattr_bucket_journal_dirty(handle, t_bucket);
fs/ocfs2/xattr.c
4811
ocfs2_xattr_bucket_journal_dirty(handle, s_bucket);
fs/ocfs2/xattr.c
4827
handle_t *handle,
fs/ocfs2/xattr.c
4874
ret = ocfs2_xattr_bucket_journal_access(handle, t_bucket,
fs/ocfs2/xattr.c
4882
ocfs2_xattr_bucket_journal_dirty(handle, t_bucket);
fs/ocfs2/xattr.c
4900
static int ocfs2_mv_xattr_buckets(struct inode *inode, handle_t *handle,
fs/ocfs2/xattr.c
4941
ret = ocfs2_extend_trans(handle, credits);
fs/ocfs2/xattr.c
4947
ret = ocfs2_xattr_bucket_journal_access(handle, old_first,
fs/ocfs2/xattr.c
4955
ret = ocfs2_cp_xattr_bucket(inode, handle,
fs/ocfs2/xattr.c
4975
ret = ocfs2_xattr_bucket_journal_access(handle, new_first,
fs/ocfs2/xattr.c
4984
ocfs2_xattr_bucket_journal_dirty(handle, old_first);
fs/ocfs2/xattr.c
4987
ocfs2_xattr_bucket_journal_dirty(handle, new_first);
fs/ocfs2/xattr.c
5004
handle_t *handle,
fs/ocfs2/xattr.c
5014
ret = ocfs2_extend_trans(handle, credits);
fs/ocfs2/xattr.c
5021
return ocfs2_divide_xattr_bucket(inode, handle, prev_blk,
fs/ocfs2/xattr.c
5052
handle_t *handle,
fs/ocfs2/xattr.c
5068
handle,
fs/ocfs2/xattr.c
5082
ret = ocfs2_mv_xattr_buckets(inode, handle,
fs/ocfs2/xattr.c
5089
ret = ocfs2_divide_xattr_cluster(inode, handle,
fs/ocfs2/xattr.c
5133
handle_t *handle = ctxt->handle;
fs/ocfs2/xattr.c
5144
ret = ocfs2_journal_access_xb(handle, INODE_CACHE(inode), root_bh,
fs/ocfs2/xattr.c
5151
ret = __ocfs2_claim_clusters(handle, ctxt->data_ac, 1,
fs/ocfs2/xattr.c
5180
handle,
fs/ocfs2/xattr.c
5195
ret = ocfs2_insert_extent(handle, &et, v_start, block,
fs/ocfs2/xattr.c
5202
ocfs2_journal_dirty(handle, root_bh);
fs/ocfs2/xattr.c
5218
handle_t *handle,
fs/ocfs2/xattr.c
5248
ret = ocfs2_extend_trans(handle, credits);
fs/ocfs2/xattr.c
5254
ret = ocfs2_xattr_bucket_journal_access(handle, first,
fs/ocfs2/xattr.c
5262
ret = ocfs2_cp_xattr_bucket(inode, handle, end_blk,
fs/ocfs2/xattr.c
5270
ret = ocfs2_divide_xattr_bucket(inode, handle, target_blk,
fs/ocfs2/xattr.c
5274
ocfs2_xattr_bucket_journal_dirty(handle, first);
fs/ocfs2/xattr.c
5357
ctxt->handle,
fs/ocfs2/xattr.c
5426
ret = ocfs2_xattr_bucket_journal_access(ctxt->handle, bucket,
fs/ocfs2/xattr.c
5435
ocfs2_xattr_bucket_journal_dirty(ctxt->handle, bucket);
fs/ocfs2/xattr.c
5451
handle_t *handle;
fs/ocfs2/xattr.c
5492
handle = ocfs2_start_trans(osb, ocfs2_remove_extent_credits(osb->sb));
fs/ocfs2/xattr.c
5493
if (IS_ERR(handle)) {
fs/ocfs2/xattr.c
5499
ret = ocfs2_journal_access_xb(handle, INODE_CACHE(inode), root_bh,
fs/ocfs2/xattr.c
5506
ret = ocfs2_remove_extent(handle, &et, cpos, len, meta_ac,
fs/ocfs2/xattr.c
5514
ocfs2_journal_dirty(handle, root_bh);
fs/ocfs2/xattr.c
5516
ret = ocfs2_truncate_log_append(osb, handle, blkno, len);
fs/ocfs2/xattr.c
5519
ocfs2_update_inode_fsync_trans(handle, inode, 0);
fs/ocfs2/xattr.c
5522
ocfs2_commit_trans(osb, handle);
fs/ocfs2/xattr.c
5591
ret = ocfs2_defrag_xattr_bucket(inode, ctxt->handle,
fs/ocfs2/xattr.c
5713
ctxt.handle = ocfs2_start_trans(osb, credits + ref_credits);
fs/ocfs2/xattr.c
5714
if (IS_ERR(ctxt.handle)) {
fs/ocfs2/xattr.c
5715
ret = PTR_ERR(ctxt.handle);
fs/ocfs2/xattr.c
5723
ocfs2_commit_trans(osb, ctxt.handle);
fs/ocfs2/xattr.c
5750
handle_t *handle,
fs/ocfs2/xattr.c
5757
ret = ocfs2_xattr_bucket_journal_access(handle, bucket,
fs/ocfs2/xattr.c
5764
ocfs2_xattr_bucket_journal_dirty(handle, bucket);
fs/ocfs2/xattr.c
6362
static int ocfs2_reflink_xattr_header(handle_t *handle,
fs/ocfs2/xattr.c
6462
ret = ocfs2_insert_extent(handle,
fs/ocfs2/xattr.c
6475
ret = ocfs2_increase_refcount(handle, args->ref_ci,
fs/ocfs2/xattr.c
6495
handle_t *handle;
fs/ocfs2/xattr.c
6519
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/xattr.c
6520
if (IS_ERR(handle)) {
fs/ocfs2/xattr.c
6521
ret = PTR_ERR(handle);
fs/ocfs2/xattr.c
6526
ret = ocfs2_journal_access_di(handle, INODE_CACHE(args->new_inode),
fs/ocfs2/xattr.c
6539
ret = ocfs2_reflink_xattr_header(handle, args, args->old_bh, xh,
fs/ocfs2/xattr.c
6554
ocfs2_journal_dirty(handle, args->new_bh);
fs/ocfs2/xattr.c
6557
ocfs2_commit_trans(osb, handle);
fs/ocfs2/xattr.c
6581
ctxt.handle = ocfs2_start_trans(osb, OCFS2_XATTR_BLOCK_CREATE_CREDITS);
fs/ocfs2/xattr.c
6582
if (IS_ERR(ctxt.handle)) {
fs/ocfs2/xattr.c
6583
ret = PTR_ERR(ctxt.handle);
fs/ocfs2/xattr.c
6595
ocfs2_commit_trans(osb, ctxt.handle);
fs/ocfs2/xattr.c
6606
handle_t *handle;
fs/ocfs2/xattr.c
6631
handle = ocfs2_start_trans(osb, credits + 1);
fs/ocfs2/xattr.c
6632
if (IS_ERR(handle)) {
fs/ocfs2/xattr.c
6633
ret = PTR_ERR(handle);
fs/ocfs2/xattr.c
6639
ret = ocfs2_journal_access_di(handle,
fs/ocfs2/xattr.c
6649
ret = ocfs2_journal_access_xb(handle, INODE_CACHE(args->new_inode),
fs/ocfs2/xattr.c
6659
ret = ocfs2_reflink_xattr_header(handle, args, blk_bh, xh,
fs/ocfs2/xattr.c
6667
ocfs2_journal_dirty(handle, new_blk_bh);
fs/ocfs2/xattr.c
6676
ocfs2_journal_dirty(handle, args->new_bh);
fs/ocfs2/xattr.c
6680
ocfs2_commit_trans(osb, handle);
fs/ocfs2/xattr.c
6852
static int ocfs2_reflink_xattr_bucket(handle_t *handle,
fs/ocfs2/xattr.c
6879
ret = ocfs2_xattr_bucket_journal_access(handle,
fs/ocfs2/xattr.c
6904
ocfs2_xattr_bucket_journal_dirty(handle, args->new_bucket);
fs/ocfs2/xattr.c
6906
ret = ocfs2_reflink_xattr_header(handle, args->reflink,
fs/ocfs2/xattr.c
6924
ret = ocfs2_xattr_bucket_journal_access(handle,
fs/ocfs2/xattr.c
6932
ocfs2_xattr_bucket_journal_dirty(handle, args->new_bucket);
fs/ocfs2/xattr.c
6943
static int ocfs2_reflink_xattr_buckets(handle_t *handle,
fs/ocfs2/xattr.c
6967
ret = ocfs2_claim_clusters(handle, data_ac,
fs/ocfs2/xattr.c
6977
ret = ocfs2_reflink_xattr_bucket(handle, blkno,
fs/ocfs2/xattr.c
6995
ret = ocfs2_insert_extent(handle, et, reflink_cpos, new_blkno,
fs/ocfs2/xattr.c
7022
handle_t *handle;
fs/ocfs2/xattr.c
7044
handle = ocfs2_start_trans(osb, credits);
fs/ocfs2/xattr.c
7045
if (IS_ERR(handle)) {
fs/ocfs2/xattr.c
7046
ret = PTR_ERR(handle);
fs/ocfs2/xattr.c
705
handle_t *handle = ctxt->handle;
fs/ocfs2/xattr.c
7051
ret = ocfs2_reflink_xattr_buckets(handle, inode, args, &et,
fs/ocfs2/xattr.c
7057
ocfs2_commit_trans(osb, handle);
fs/ocfs2/xattr.c
715
status = vb->vb_access(handle, INODE_CACHE(inode), vb->vb_bh,
fs/ocfs2/xattr.c
72
handle_t *handle;
fs/ocfs2/xattr.c
723
status = ocfs2_add_clusters_in_btree(handle,
fs/ocfs2/xattr.c
7335
int ocfs2_init_security_set(handle_t *handle,
fs/ocfs2/xattr.c
7342
return ocfs2_xattr_set_handle(handle, inode, di_bh,
fs/ocfs2/xattr.c
737
ocfs2_journal_dirty(handle, vb->vb_bh);
fs/ocfs2/xattr.c
751
status = ocfs2_extend_trans(handle, credits);
fs/ocfs2/xattr.c
771
handle_t *handle = ctxt->handle;
fs/ocfs2/xattr.c
776
ret = vb->vb_access(handle, INODE_CACHE(inode), vb->vb_bh,
fs/ocfs2/xattr.c
783
ret = ocfs2_remove_extent(handle, &et, cpos, len, ctxt->meta_ac,
fs/ocfs2/xattr.c
791
ocfs2_journal_dirty(handle, vb->vb_bh);
fs/ocfs2/xattr.c
794
ret = ocfs2_decrease_refcount(inode, handle,
fs/orangefs/file.c
133
handle,
fs/orangefs/file.c
152
handle,
fs/orangefs/file.c
234
handle, ret);
fs/orangefs/file.c
265
handle,
fs/orangefs/file.c
276
__func__, handle, buffer_index);
fs/orangefs/file.c
55
struct orangefs_khandle *handle = &orangefs_inode->refn.khandle;
fs/orangefs/file.c
85
handle,
fs/orangefs/inode.c
493
struct orangefs_khandle *handle = &orangefs_inode->refn.khandle;
fs/orangefs/inode.c
501
handle,
fs/orangefs/inode.c
509
handle,
fs/orangefs/inode.c
530
handle,
fs/orangefs/inode.c
535
handle,
fs/orangefs/inode.c
543
handle,
fs/orangefs/inode.c
556
handle,
fs/orangefs/inode.c
583
handle,
fs/smb/client/cifsglob.h
1724
mid_handle_t handle; /* call handle mid callback */
fs/smb/client/cifsproto.h
98
mid_handle_t handle, void *cbdata, const int flags,
fs/smb/client/smb2ops.c
5093
if (mid_entry && mid_entry->handle)
fs/smb/client/smb2ops.c
5094
ret = mid_entry->handle(server, mid_entry);
fs/smb/client/transport.c
665
mid_handle_t handle, void *cbdata, const int flags,
fs/smb/client/transport.c
709
mid->handle = handle;
fs/smb/server/ksmbd_netlink.h
134
__u32 handle;
fs/smb/server/ksmbd_netlink.h
143
__u32 handle;
fs/smb/server/ksmbd_netlink.h
157
__u32 handle;
fs/smb/server/ksmbd_netlink.h
167
__u32 handle;
fs/smb/server/ksmbd_netlink.h
176
__u32 handle;
fs/smb/server/ksmbd_netlink.h
209
__u32 handle;
fs/smb/server/ksmbd_netlink.h
224
__u32 handle;
fs/smb/server/ksmbd_netlink.h
253
__u32 handle;
fs/smb/server/ksmbd_netlink.h
263
__u32 handle;
fs/smb/server/ksmbd_netlink.h
276
__u32 handle;
fs/smb/server/ksmbd_netlink.h
70
__u32 handle;
fs/smb/server/transport_ipc.c
258
static void ipc_msg_handle_free(int handle)
fs/smb/server/transport_ipc.c
260
if (handle >= 0)
fs/smb/server/transport_ipc.c
261
ksmbd_release_id(&ipc_ida, handle);
fs/smb/server/transport_ipc.c
266
unsigned int handle;
fs/smb/server/transport_ipc.c
274
handle = *(unsigned int *)payload;
fs/smb/server/transport_ipc.c
278
hash_for_each_possible(ipc_msg_table, entry, ipc_table_hlist, handle) {
fs/smb/server/transport_ipc.c
279
if (handle != entry->handle)
fs/smb/server/transport_ipc.c
538
static void *ipc_msg_send_request(struct ksmbd_ipc_msg *msg, unsigned int handle)
fs/smb/server/transport_ipc.c
543
if ((int)handle < 0)
fs/smb/server/transport_ipc.c
551
entry.handle = handle;
fs/smb/server/transport_ipc.c
552
hash_add(ipc_msg_table, &entry.ipc_table_hlist, entry.handle);
fs/smb/server/transport_ipc.c
609
req->handle = ksmbd_acquire_id(&ipc_ida);
fs/smb/server/transport_ipc.c
612
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
613
ipc_msg_handle_free(req->handle);
fs/smb/server/transport_ipc.c
62
unsigned int handle;
fs/smb/server/transport_ipc.c
633
req->handle = ksmbd_acquire_id(&ipc_ida);
fs/smb/server/transport_ipc.c
635
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
636
ipc_msg_handle_free(req->handle);
fs/smb/server/transport_ipc.c
658
req->handle = ksmbd_acquire_id(&ipc_ida);
fs/smb/server/transport_ipc.c
662
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
663
ipc_msg_handle_free(req->handle);
fs/smb/server/transport_ipc.c
691
req->handle = ksmbd_acquire_id(&ipc_ida);
fs/smb/server/transport_ipc.c
704
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
705
ipc_msg_handle_free(req->handle);
fs/smb/server/transport_ipc.c
770
req->handle = ksmbd_acquire_id(&ipc_ida);
fs/smb/server/transport_ipc.c
773
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
774
ipc_msg_handle_free(req->handle);
fs/smb/server/transport_ipc.c
779
struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle)
fs/smb/server/transport_ipc.c
791
req->handle = handle;
fs/smb/server/transport_ipc.c
792
req->flags = ksmbd_session_rpc_method(sess, handle);
fs/smb/server/transport_ipc.c
796
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
801
struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle)
fs/smb/server/transport_ipc.c
813
req->handle = handle;
fs/smb/server/transport_ipc.c
814
req->flags = ksmbd_session_rpc_method(sess, handle);
fs/smb/server/transport_ipc.c
818
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
823
struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle,
fs/smb/server/transport_ipc.c
842
req->handle = handle;
fs/smb/server/transport_ipc.c
843
req->flags = ksmbd_session_rpc_method(sess, handle);
fs/smb/server/transport_ipc.c
850
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
855
struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle)
fs/smb/server/transport_ipc.c
870
req->handle = handle;
fs/smb/server/transport_ipc.c
871
req->flags = ksmbd_session_rpc_method(sess, handle);
fs/smb/server/transport_ipc.c
877
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
882
struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle,
fs/smb/server/transport_ipc.c
901
req->handle = handle;
fs/smb/server/transport_ipc.c
902
req->flags = ksmbd_session_rpc_method(sess, handle);
fs/smb/server/transport_ipc.c
909
resp = ipc_msg_send_request(msg, req->handle);
fs/smb/server/transport_ipc.c
962
void ksmbd_rpc_id_free(int handle)
fs/smb/server/transport_ipc.c
964
ksmbd_release_id(&ipc_ida, handle);
fs/smb/server/transport_ipc.h
36
void ksmbd_rpc_id_free(int handle);
fs/smb/server/transport_ipc.h
37
struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle);
fs/smb/server/transport_ipc.h
38
struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle);
fs/smb/server/transport_ipc.h
39
struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle,
fs/smb/server/transport_ipc.h
41
struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle);
fs/smb/server/transport_ipc.h
42
struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle,
fs/vboxsf/dir.c
23
params.handle = SHFL_HANDLE_NIL;
fs/vboxsf/dir.c
265
params.handle = SHFL_HANDLE_NIL;
fs/vboxsf/dir.c
292
*handle_ret = params.handle;
fs/vboxsf/dir.c
294
vboxsf_close(sbi->root, params.handle);
fs/vboxsf/dir.c
318
u64 handle;
fs/vboxsf/dir.c
331
err = vboxsf_dir_create(parent, dentry, mode, false, flags & O_EXCL, &handle);
fs/vboxsf/dir.c
335
sf_handle = vboxsf_create_sf_handle(d_inode(dentry), handle, SHFL_CF_ACCESS_READWRITE);
fs/vboxsf/dir.c
337
vboxsf_close(sbi->root, handle);
fs/vboxsf/dir.c
36
err = vboxsf_dir_read_all(sbi, sf_d, params.handle);
fs/vboxsf/dir.c
40
vboxsf_close(sbi->root, params.handle);
fs/vboxsf/dir.c
45
vboxsf_close(sbi->root, params.handle);
fs/vboxsf/file.c
106
if (err == 0 && params.handle == SHFL_HANDLE_NIL)
fs/vboxsf/file.c
111
sf_handle = vboxsf_create_sf_handle(inode, params.handle, access_flags);
fs/vboxsf/file.c
113
vboxsf_close(sbi->root, params.handle);
fs/vboxsf/file.c
126
vboxsf_close(sf_handle->root, sf_handle->handle);
fs/vboxsf/file.c
16
u64 handle;
fs/vboxsf/file.c
238
err = vboxsf_read(sf_handle->root, sf_handle->handle, off, &nread, buf);
fs/vboxsf/file.c
24
u64 handle, u32 access_flags)
fs/vboxsf/file.c
287
error = vboxsf_write(sf_handle->root, sf_handle->handle,
fs/vboxsf/file.c
319
err = vboxsf_write(sf_handle->root, sf_handle->handle,
fs/vboxsf/file.c
37
sf_handle->handle = handle;
fs/vboxsf/file.c
65
params.handle = SHFL_HANDLE_NIL;
fs/vboxsf/shfl_hostintf.h
398
u64 handle;
fs/vboxsf/shfl_hostintf.h
570
struct vmmdev_hgcm_function_parameter handle;
fs/vboxsf/shfl_hostintf.h
590
struct vmmdev_hgcm_function_parameter handle;
fs/vboxsf/shfl_hostintf.h
628
struct vmmdev_hgcm_function_parameter handle;
fs/vboxsf/shfl_hostintf.h
674
struct vmmdev_hgcm_function_parameter handle;
fs/vboxsf/shfl_hostintf.h
775
struct vmmdev_hgcm_function_parameter handle;
fs/vboxsf/utils.c
161
params.handle = SHFL_HANDLE_NIL;
fs/vboxsf/utils.c
270
params.handle = SHFL_HANDLE_NIL;
fs/vboxsf/utils.c
321
err = vboxsf_fsinfo(sbi->root, params.handle,
fs/vboxsf/utils.c
325
vboxsf_close(sbi->root, params.handle);
fs/vboxsf/utils.c
339
err = vboxsf_fsinfo(sbi->root, params.handle,
fs/vboxsf/utils.c
343
vboxsf_close(sbi->root, params.handle);
fs/vboxsf/utils.c
351
vboxsf_close(sbi->root, params.handle);
fs/vboxsf/utils.c
533
u64 handle)
fs/vboxsf/utils.c
551
err = vboxsf_dirinfo(sbi->root, handle, NULL, 0, 0,
fs/vboxsf/vboxsf_wrappers.c
149
int vboxsf_close(u32 root, u64 handle)
fs/vboxsf/vboxsf_wrappers.c
156
parms.handle.type = VMMDEV_HGCM_PARM_TYPE_64BIT;
fs/vboxsf/vboxsf_wrappers.c
157
parms.handle.u.value64 = handle;
fs/vboxsf/vboxsf_wrappers.c
201
int vboxsf_read(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf)
fs/vboxsf/vboxsf_wrappers.c
209
parms.handle.type = VMMDEV_HGCM_PARM_TYPE_64BIT;
fs/vboxsf/vboxsf_wrappers.c
210
parms.handle.u.value64 = handle;
fs/vboxsf/vboxsf_wrappers.c
225
int vboxsf_write(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf)
fs/vboxsf/vboxsf_wrappers.c
233
parms.handle.type = VMMDEV_HGCM_PARM_TYPE_64BIT;
fs/vboxsf/vboxsf_wrappers.c
234
parms.handle.u.value64 = handle;
fs/vboxsf/vboxsf_wrappers.c
250
int vboxsf_dirinfo(u32 root, u64 handle,
fs/vboxsf/vboxsf_wrappers.c
260
parms.handle.type = VMMDEV_HGCM_PARM_TYPE_64BIT;
fs/vboxsf/vboxsf_wrappers.c
261
parms.handle.u.value64 = handle;
fs/vboxsf/vboxsf_wrappers.c
294
int vboxsf_fsinfo(u32 root, u64 handle, u32 flags,
fs/vboxsf/vboxsf_wrappers.c
303
parms.handle.type = VMMDEV_HGCM_PARM_TYPE_64BIT;
fs/vboxsf/vboxsf_wrappers.c
304
parms.handle.u.value64 = handle;
fs/vboxsf/vfsmod.h
112
u64 handle);
fs/vboxsf/vfsmod.h
121
int vboxsf_close(u32 root, u64 handle);
fs/vboxsf/vfsmod.h
126
int vboxsf_read(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf);
fs/vboxsf/vfsmod.h
127
int vboxsf_write(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf);
fs/vboxsf/vfsmod.h
129
int vboxsf_dirinfo(u32 root, u64 handle,
fs/vboxsf/vfsmod.h
132
int vboxsf_fsinfo(u32 root, u64 handle, u32 flags,
fs/vboxsf/vfsmod.h
87
u64 handle, u32 access_flags);
fs/xfs/xfs_handle.c
122
memcpy(&handle.ha_fsid, ip->i_mount->m_fixedfsid, sizeof(xfs_fsid_t));
fs/xfs/xfs_handle.c
125
hsize = xfs_fshandle_init(ip->i_mount, &handle);
fs/xfs/xfs_handle.c
128
inode->i_generation, &handle);
fs/xfs/xfs_handle.c
131
if (copy_to_user(hreq->ohandle, &handle, hsize) ||
fs/xfs/xfs_handle.c
158
struct xfs_handle *handle)
fs/xfs/xfs_handle.c
161
.ino = handle->ha_fid.fid_ino,
fs/xfs/xfs_handle.c
162
.gen = handle->ha_fid.fid_gen,
fs/xfs/xfs_handle.c
171
if (handle->ha_fid.fid_len != xfs_filehandle_fid_len())
fs/xfs/xfs_handle.c
183
struct xfs_handle *handle)
fs/xfs/xfs_handle.c
192
if (handle->ha_fid.fid_len != xfs_filehandle_fid_len())
fs/xfs/xfs_handle.c
195
inode = xfs_nfs_get_inode(mp->m_super, handle->ha_fid.fid_ino,
fs/xfs/xfs_handle.c
196
handle->ha_fid.fid_gen);
fs/xfs/xfs_handle.c
212
xfs_handle_t handle;
fs/xfs/xfs_handle.c
216
if (copy_from_user(&handle, uhandle, hlen))
fs/xfs/xfs_handle.c
219
return xfs_khandle_to_dentry(parfilp, &handle);
fs/xfs/xfs_handle.c
36
struct xfs_handle *handle = NULL;
fs/xfs/xfs_handle.c
38
return sizeof(struct xfs_fid) - sizeof(handle->ha_fid.fid_len);
fs/xfs/xfs_handle.c
46
struct xfs_handle *handle)
fs/xfs/xfs_handle.c
48
memcpy(&handle->ha_fsid, mp->m_fixedfsid, sizeof(struct xfs_fsid));
fs/xfs/xfs_handle.c
50
handle->ha_fid.fid_len = xfs_filehandle_fid_len();
fs/xfs/xfs_handle.c
51
handle->ha_fid.fid_pad = 0;
fs/xfs/xfs_handle.c
52
handle->ha_fid.fid_gen = gen;
fs/xfs/xfs_handle.c
53
handle->ha_fid.fid_ino = ino;
fs/xfs/xfs_handle.c
61
struct xfs_handle *handle)
fs/xfs/xfs_handle.c
63
memcpy(&handle->ha_fsid, mp->m_fixedfsid, sizeof(struct xfs_fsid));
fs/xfs/xfs_handle.c
64
memset(&handle->ha_fid, 0, sizeof(handle->ha_fid));
fs/xfs/xfs_handle.c
86
xfs_handle_t handle;
fs/xfs/xfs_handle.c
885
struct xfs_handle *handle = &kreq->gph_handle;
fs/xfs/xfs_handle.c
908
gpx.ip = xfs_khandle_to_inode(file, handle);
include/acpi/acpi_bus.h
1012
acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld)
include/acpi/acpi_bus.h
30
acpi_evaluate_integer(acpi_handle handle,
include/acpi/acpi_bus.h
33
bool acpi_evaluate_reference(acpi_handle handle, acpi_string pathname,
include/acpi/acpi_bus.h
43
acpi_evaluate_ost(acpi_handle handle, u32 source_event, u32 status_code,
include/acpi/acpi_bus.h
46
bool acpi_has_method(acpi_handle handle, char *name);
include/acpi/acpi_bus.h
47
acpi_status acpi_execute_simple_method(acpi_handle handle, char *method,
include/acpi/acpi_bus.h
474
acpi_handle handle; /* no handle for fixed hardware */
include/acpi/acpi_bus.h
49
acpi_status acpi_evaluate_ej0(acpi_handle handle);
include/acpi/acpi_bus.h
50
acpi_status acpi_evaluate_lck(acpi_handle handle, int lock);
include/acpi/acpi_bus.h
503
acpi_handle handle;
include/acpi/acpi_bus.h
51
acpi_status acpi_evaluate_reg(acpi_handle handle, u8 space_id, u32 function);
include/acpi/acpi_bus.h
52
bool acpi_ata_match(acpi_handle handle);
include/acpi/acpi_bus.h
53
bool acpi_bay_match(acpi_handle handle);
include/acpi/acpi_bus.h
54
bool acpi_dock_match(acpi_handle handle);
include/acpi/acpi_bus.h
56
bool acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs);
include/acpi/acpi_bus.h
57
union acpi_object *acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid,
include/acpi/acpi_bus.h
61
acpi_get_physical_device_location(acpi_handle handle, struct acpi_pld_info **pld);
include/acpi/acpi_bus.h
636
acpi_status acpi_bus_get_status_handle(acpi_handle handle,
include/acpi/acpi_bus.h
64
acpi_evaluate_dsm_typed(acpi_handle handle, const guid_t *guid, u64 rev,
include/acpi/acpi_bus.h
640
int acpi_bus_set_power(acpi_handle handle, int state);
include/acpi/acpi_bus.h
647
int acpi_bus_update_power(acpi_handle handle, int *state_p);
include/acpi/acpi_bus.h
649
bool acpi_bus_power_manageable(acpi_handle handle);
include/acpi/acpi_bus.h
658
bool acpi_bus_can_wakeup(acpi_handle handle);
include/acpi/acpi_bus.h
660
static inline bool acpi_bus_can_wakeup(acpi_handle handle) { return false; }
include/acpi/acpi_bus.h
675
int acpi_bus_scan(acpi_handle handle);
include/acpi/acpi_bus.h
677
acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd);
include/acpi/acpi_bus.h
70
obj = acpi_evaluate_dsm(handle, guid, rev, func, argv4);
include/acpi/acpi_bus.h
755
struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle);
include/acpi/acpi_bus.h
763
int acpi_install_cmos_rtc_space_handler(acpi_handle handle);
include/acpi/acpi_bus.h
764
void acpi_remove_cmos_rtc_space_handler(acpi_handle handle);
include/acpi/acpi_bus.h
776
static inline int acpi_install_cmos_rtc_space_handler(acpi_handle handle)
include/acpi/acpi_bus.h
780
static inline void acpi_remove_cmos_rtc_space_handler(acpi_handle handle)
include/acpi/acpi_bus.h
987
struct acpi_device *acpi_fetch_acpi_dev(acpi_handle handle);
include/acpi/acpi_bus.h
988
struct acpi_device *acpi_get_acpi_dev(acpi_handle handle);
include/acpi/acpi_bus.h
997
int acpi_scan_add_dep(acpi_handle handle, struct acpi_handle_list *dep_devices);
include/acpi/acpi_bus.h
998
u32 arch_acpi_add_auto_dep(acpi_handle handle);
include/acpi/acpi_drivers.h
53
int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering,
include/acpi/acpi_drivers.h
55
int acpi_pci_link_free_irq(acpi_handle handle);
include/acpi/acpi_drivers.h
64
static inline struct pci_dev *acpi_get_pci_dev(acpi_handle handle)
include/acpi/acpi_lpat.h
28
handle);
include/acpi/acpi_lpat.h
46
acpi_handle handle)
include/acpi/acpiosxf.h
109
# define acpi_os_delete_raw_lock(handle) acpi_os_delete_lock(handle)
include/acpi/acpiosxf.h
113
# define acpi_os_acquire_raw_lock(handle) acpi_os_acquire_lock(handle)
include/acpi/acpiosxf.h
117
# define acpi_os_release_raw_lock(handle, flags) \
include/acpi/acpiosxf.h
118
acpi_os_release_lock(handle, flags)
include/acpi/acpiosxf.h
131
acpi_status acpi_os_delete_semaphore(acpi_semaphore handle);
include/acpi/acpiosxf.h
136
acpi_os_wait_semaphore(acpi_semaphore handle, u32 units, u16 timeout);
include/acpi/acpiosxf.h
140
acpi_status acpi_os_signal_semaphore(acpi_semaphore handle, u32 units);
include/acpi/acpiosxf.h
154
void acpi_os_delete_mutex(acpi_mutex handle);
include/acpi/acpiosxf.h
158
acpi_status acpi_os_acquire_mutex(acpi_mutex handle, u16 timeout);
include/acpi/acpiosxf.h
162
void acpi_os_release_mutex(acpi_mutex handle);
include/acpi/acpiosxf.h
89
void acpi_os_delete_lock(acpi_spinlock handle);
include/acpi/acpiosxf.h
93
acpi_cpu_flags acpi_os_acquire_lock(acpi_spinlock handle);
include/acpi/acpiosxf.h
97
void acpi_os_release_lock(acpi_spinlock handle, acpi_cpu_flags flags);
include/acpi/acpixf.h
691
u32 *handle))
include/acpi/acpixf.h
694
acpi_release_global_lock(u32 handle))
include/acpi/acpixf.h
700
acpi_acquire_mutex(acpi_handle handle,
include/acpi/acpixf.h
705
acpi_release_mutex(acpi_handle handle,
include/acpi/actbl1.h
420
u8 handle;
include/acpi/actbl1.h
443
u8 handle;
include/acpi/actbl2.h
1108
u8 handle;
include/acpi/actbl2.h
2347
u32 handle;
include/acpi/actbl2.h
2375
#define ACPI_NFIT_GET_DIMM_NUMBER(handle) \
include/acpi/actbl2.h
2376
((handle) & ACPI_NFIT_DIMM_NUMBER_MASK)
include/acpi/actbl2.h
2378
#define ACPI_NFIT_GET_CHANNEL_NUMBER(handle) \
include/acpi/actbl2.h
2379
(((handle) & ACPI_NFIT_CHANNEL_NUMBER_MASK) >> ACPI_NFIT_CHANNEL_NUMBER_OFFSET)
include/acpi/actbl2.h
2381
#define ACPI_NFIT_GET_MEMORY_ID(handle) \
include/acpi/actbl2.h
2382
(((handle) & ACPI_NFIT_MEMORY_ID_MASK) >> ACPI_NFIT_MEMORY_ID_OFFSET)
include/acpi/actbl2.h
2384
#define ACPI_NFIT_GET_SOCKET_ID(handle) \
include/acpi/actbl2.h
2385
(((handle) & ACPI_NFIT_SOCKET_ID_MASK) >> ACPI_NFIT_SOCKET_ID_OFFSET)
include/acpi/actbl2.h
2387
#define ACPI_NFIT_GET_NODE_ID(handle) \
include/acpi/actbl2.h
2388
(((handle) & ACPI_NFIT_NODE_ID_MASK) >> ACPI_NFIT_NODE_ID_OFFSET)
include/acpi/actypes.h
237
#define acpi_os_delete_mutex(handle) (void) acpi_os_delete_semaphore (handle)
include/acpi/actypes.h
238
#define acpi_os_acquire_mutex(handle,time) acpi_os_wait_semaphore (handle, 1, time)
include/acpi/actypes.h
239
#define acpi_os_release_mutex(handle) (void) acpi_os_signal_semaphore (handle, 1)
include/acpi/actypes.h
936
acpi_handle handle; /* object reference */
include/acpi/platform/aclinuxex.h
114
static inline void acpi_os_delete_raw_lock(acpi_raw_spinlock handle)
include/acpi/platform/aclinuxex.h
116
ACPI_FREE(handle);
include/acpi/processor.h
224
acpi_handle handle;
include/acpi/processor.h
266
int acpi_processor_get_psd(acpi_handle handle,
include/acpi/processor.h
380
void acpi_processor_set_pdc(acpi_handle handle);
include/cxl/event.h
17
__le16 handle;
include/drm/drm_crtc.h
448
uint32_t handle, uint32_t width, uint32_t height);
include/drm/drm_crtc.h
470
uint32_t handle, uint32_t width, uint32_t height,
include/drm/drm_drv.h
300
uint32_t handle, uint32_t flags, int *prime_fd);
include/drm/drm_drv.h
307
int prime_fd, uint32_t *handle);
include/drm/drm_drv.h
369
struct drm_device *dev, uint32_t handle,
include/drm/drm_framebuffer.h
76
unsigned int *handle);
include/drm/drm_gem.h
584
int drm_gem_handle_delete(struct drm_file *filp, u32 handle);
include/drm/drm_gem.h
603
struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle);
include/drm/drm_gem.h
604
long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle,
include/drm/drm_gem.h
611
u32 handle, u64 *offset);
include/drm/drm_gem_framebuffer_helper.h
23
unsigned int *handle);
include/drm/drm_gem_ttm_helper.h
27
uint32_t handle, uint64_t *offset);
include/drm/drm_prime.h
71
struct drm_file *file_priv, int prime_fd, uint32_t *handle);
include/drm/drm_prime.h
73
struct drm_file *file_priv, uint32_t handle,
include/drm/drm_prime.h
76
struct drm_file *file_priv, uint32_t handle, uint32_t flags,
include/drm/drm_syncobj.h
119
u32 handle);
include/drm/drm_syncobj.h
127
u32 handle, u64 point, u64 flags,
include/drm/drm_syncobj.h
133
struct drm_syncobj *syncobj, u32 *handle);
include/drm/gpu_scheduler.h
666
u32 handle,
include/drm/ttm/ttm_backup.h
23
ttm_backup_handle_to_page_ptr(unsigned long handle)
include/drm/ttm/ttm_backup.h
25
return (struct page *)(handle << 1 | 1);
include/drm/ttm/ttm_backup.h
56
void ttm_backup_drop(struct file *backup, pgoff_t handle);
include/drm/ttm/ttm_backup.h
59
pgoff_t handle, bool intr);
include/linux/acpi.h
1074
static inline int acpi_get_local_address(acpi_handle handle, u32 *addr)
include/linux/acpi.h
1079
static inline const char *acpi_get_subsystem_id(acpi_handle handle)
include/linux/acpi.h
1229
char *acpi_handle_path(acpi_handle handle);
include/linux/acpi.h
1231
void acpi_handle_printk(const char *level, acpi_handle handle,
include/linux/acpi.h
1233
void acpi_evaluation_failure_warn(acpi_handle handle, const char *name,
include/linux/acpi.h
1237
acpi_handle_printk(const char *level, void *handle, const char *fmt, ...) {}
include/linux/acpi.h
1238
static inline void acpi_evaluation_failure_warn(acpi_handle handle,
include/linux/acpi.h
1245
void __acpi_handle_debug(struct _ddebug *descriptor, acpi_handle handle, const char *fmt, ...);
include/linux/acpi.h
1254
#define acpi_handle_emerg(handle, fmt, ...) \
include/linux/acpi.h
1255
acpi_handle_printk(KERN_EMERG, handle, fmt, ##__VA_ARGS__)
include/linux/acpi.h
1256
#define acpi_handle_alert(handle, fmt, ...) \
include/linux/acpi.h
1257
acpi_handle_printk(KERN_ALERT, handle, fmt, ##__VA_ARGS__)
include/linux/acpi.h
1258
#define acpi_handle_crit(handle, fmt, ...) \
include/linux/acpi.h
1259
acpi_handle_printk(KERN_CRIT, handle, fmt, ##__VA_ARGS__)
include/linux/acpi.h
1260
#define acpi_handle_err(handle, fmt, ...) \
include/linux/acpi.h
1261
acpi_handle_printk(KERN_ERR, handle, fmt, ##__VA_ARGS__)
include/linux/acpi.h
1262
#define acpi_handle_warn(handle, fmt, ...) \
include/linux/acpi.h
1263
acpi_handle_printk(KERN_WARNING, handle, fmt, ##__VA_ARGS__)
include/linux/acpi.h
1264
#define acpi_handle_notice(handle, fmt, ...) \
include/linux/acpi.h
1265
acpi_handle_printk(KERN_NOTICE, handle, fmt, ##__VA_ARGS__)
include/linux/acpi.h
1266
#define acpi_handle_info(handle, fmt, ...) \
include/linux/acpi.h
1267
acpi_handle_printk(KERN_INFO, handle, fmt, ##__VA_ARGS__)
include/linux/acpi.h
1270
#define acpi_handle_debug(handle, fmt, ...) \
include/linux/acpi.h
1271
acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__)
include/linux/acpi.h
1274
#define acpi_handle_debug(handle, fmt, ...) \
include/linux/acpi.h
1276
handle, pr_fmt(fmt), ##__VA_ARGS__)
include/linux/acpi.h
1278
#define acpi_handle_debug(handle, fmt, ...) \
include/linux/acpi.h
1281
acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__); \
include/linux/acpi.h
1508
int acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res);
include/linux/acpi.h
1509
const struct cpumask *acpi_irq_get_affinity(acpi_handle handle,
include/linux/acpi.h
1513
int acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res)
include/linux/acpi.h
1517
static inline const struct cpumask *acpi_irq_get_affinity(acpi_handle handle,
include/linux/acpi.h
307
int acpi_processor_evaluate_cst(acpi_handle handle, u32 cpu,
include/linux/acpi.h
311
static inline int acpi_processor_evaluate_cst(acpi_handle handle, u32 cpu,
include/linux/acpi.h
320
int acpi_map_cpu(acpi_handle handle, phys_cpuid_t physid, u32 acpi_id,
include/linux/acpi.h
328
int acpi_get_ioapic_id(acpi_handle handle, u32 gsi_base, u64 *phys_addr);
include/linux/acpi.h
331
int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base);
include/linux/acpi.h
332
int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base);
include/linux/acpi.h
333
int acpi_ioapic_registered(acpi_handle handle, u32 gsi_base);
include/linux/acpi.h
440
extern long acpi_is_video_device(acpi_handle handle);
include/linux/acpi.h
464
int acpi_get_node(acpi_handle handle);
include/linux/acpi.h
495
static inline int acpi_get_node(acpi_handle handle)
include/linux/acpi.h
55
return adev ? adev->handle : NULL;
include/linux/acpi.h
563
acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context);
include/linux/acpi.h
786
int acpi_get_local_u64_address(acpi_handle handle, u64 *addr);
include/linux/acpi.h
787
int acpi_get_local_address(acpi_handle handle, u32 *addr);
include/linux/acpi.h
788
const char *acpi_get_subsystem_id(acpi_handle handle);
include/linux/acpi.h
979
static inline bool acpi_check_dsm(acpi_handle handle, const guid_t *guid,
include/linux/acpi.h
985
static inline union acpi_object *acpi_evaluate_dsm(acpi_handle handle,
include/linux/acpi.h
993
static inline union acpi_object *acpi_evaluate_dsm_typed(acpi_handle handle,
include/linux/acpi_mdio.h
16
acpi_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *handle)
include/linux/acpi_mdio.h
18
return __acpi_mdiobus_register(mdio, handle, THIS_MODULE);
include/linux/arm_ffa.h
395
u64 handle;
include/linux/bnge/hsi.h
11216
__le16 handle;
include/linux/bnxt/hsi.h
10124
__le16 handle;
include/linux/cdrom.h
45
void *handle; /* driver-dependent data */
include/linux/cdx/mcdi.h
123
unsigned int handle;
include/linux/compat.h
780
struct file_handle __user *handle,
include/linux/coresight.h
338
struct perf_output_handle *handle;
include/linux/coresight.h
373
struct perf_output_handle *handle,
include/linux/device/bus.h
148
int device_match_acpi_handle(struct device *dev, const void *handle);
include/linux/dma-map-ops.h
171
#define dma_alloc_from_dev_coherent(dev, size, handle, ret) (0)
include/linux/dmapool.h
28
dma_addr_t *handle);
include/linux/dmapool.h
47
dma_addr_t *handle) { return NULL; }
include/linux/dmapool.h
72
dma_addr_t *handle)
include/linux/dmapool.h
74
return dma_pool_alloc(pool, mem_flags | __GFP_ZERO, handle);
include/linux/dmar.h
121
extern int dmar_device_add(acpi_handle handle);
include/linux/dmar.h
122
extern int dmar_device_remove(acpi_handle handle);
include/linux/dmar.h
180
static inline int dmar_device_add(void *handle)
include/linux/dmar.h
185
static inline int dmar_device_remove(void *handle)
include/linux/dmi.h
114
extern void dmi_memdev_name(u16 handle, const char **bank, const char **device);
include/linux/dmi.h
115
extern u64 dmi_memdev_size(u16 handle);
include/linux/dmi.h
116
extern u8 dmi_memdev_type(u16 handle);
include/linux/dmi.h
144
static inline void dmi_memdev_name(u16 handle, const char **bank,
include/linux/dmi.h
146
static inline u64 dmi_memdev_size(u16 handle) { return ~0ul; }
include/linux/dmi.h
147
static inline u8 dmi_memdev_type(u16 handle) { return 0x0; }
include/linux/dmi.h
79
u16 handle;
include/linux/firmware/qcom/qcom_scm.h
167
u64 ns_vmids, u64 *handle);
include/linux/firmware/qcom/qcom_scm.h
168
int qcom_scm_shm_bridge_delete(u64 handle);
include/linux/firmware/qcom/qcom_tzmem.h
66
int qcom_tzmem_shm_bridge_create(phys_addr_t paddr, size_t size, u64 *handle);
include/linux/firmware/qcom/qcom_tzmem.h
67
void qcom_tzmem_shm_bridge_delete(u64 handle);
include/linux/firmware/qcom/qcom_tzmem.h
70
size_t size, u64 *handle)
include/linux/firmware/qcom/qcom_tzmem.h
75
static inline void qcom_tzmem_shm_bridge_delete(u64 handle)
include/linux/firmware/samsung/exynos-acpm-protocol.h
17
int (*set_rate)(const struct acpm_handle *handle,
include/linux/firmware/samsung/exynos-acpm-protocol.h
20
unsigned long (*get_rate)(const struct acpm_handle *handle,
include/linux/firmware/samsung/exynos-acpm-protocol.h
26
int (*read_reg)(const struct acpm_handle *handle,
include/linux/firmware/samsung/exynos-acpm-protocol.h
29
int (*bulk_read)(const struct acpm_handle *handle,
include/linux/firmware/samsung/exynos-acpm-protocol.h
32
int (*write_reg)(const struct acpm_handle *handle,
include/linux/firmware/samsung/exynos-acpm-protocol.h
35
int (*bulk_write)(const struct acpm_handle *handle,
include/linux/firmware/samsung/exynos-acpm-protocol.h
38
int (*update_reg)(const struct acpm_handle *handle,
include/linux/i2c.h
1085
struct i2c_adapter *i2c_acpi_find_adapter_by_handle(acpi_handle handle);
include/linux/i2c.h
1107
static inline struct i2c_adapter *i2c_acpi_find_adapter_by_handle(acpi_handle handle)
include/linux/input.h
319
void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
include/linux/input.h
320
unsigned int (*events)(struct input_handle *handle,
include/linux/input.h
322
bool (*filter)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
include/linux/input.h
325
void (*disconnect)(struct input_handle *handle);
include/linux/input.h
326
void (*start)(struct input_handle *handle);
include/linux/input.h
365
unsigned int (*handle_events)(struct input_handle *handle,
include/linux/input.h
429
int input_flush_device(struct input_handle *handle, struct file *file);
include/linux/input.h
435
void input_inject_event(struct input_handle *handle, unsigned int type, unsigned int code, int value);
include/linux/io.h
133
static inline void arch_phys_wc_del(int handle)
include/linux/io.h
139
static inline int arch_phys_wc_index(int handle)
include/linux/iommu-dma.h
32
void *iommu_dma_alloc(struct device *dev, size_t size, dma_addr_t *handle,
include/linux/iommu-dma.h
44
dma_addr_t handle, unsigned long attrs);
include/linux/iommu.h
1133
struct iommu_attach_handle handle;
include/linux/iommu.h
1187
struct iommu_attach_handle *handle);
include/linux/iommu.h
1503
struct iommu_attach_handle *handle)
include/linux/iommu.h
1634
void iommu_sva_unbind_device(struct iommu_sva *handle);
include/linux/iommu.h
1635
u32 iommu_sva_get_pasid(struct iommu_sva *handle);
include/linux/iommu.h
1644
static inline void iommu_sva_unbind_device(struct iommu_sva *handle)
include/linux/iommu.h
1648
static inline u32 iommu_sva_get_pasid(struct iommu_sva *handle)
include/linux/irq.h
718
irq_flow_handler_t handle, const char *name);
include/linux/irq.h
722
irq_flow_handler_t handle)
include/linux/irq.h
724
irq_set_chip_and_handler_name(irq, chip, handle, NULL);
include/linux/irq.h
730
__irq_set_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained,
include/linux/irq.h
734
irq_set_handler(unsigned int irq, irq_flow_handler_t handle)
include/linux/irq.h
736
__irq_set_handler(irq, handle, 0, NULL);
include/linux/irq.h
745
irq_set_chained_handler(unsigned int irq, irq_flow_handler_t handle)
include/linux/irq.h
747
__irq_set_handler(irq, handle, 1, NULL);
include/linux/irq.h
756
irq_set_chained_handler_and_data(unsigned int irq, irq_flow_handler_t handle,
include/linux/irqchip/arm-gic-v3.h
641
int its_init(struct fwnode_handle *handle, struct rdists *rdists,
include/linux/jbd2.h
1510
extern int jbd2_journal_start_reserved(handle_t *handle,
include/linux/jbd2.h
1512
extern void jbd2_journal_free_reserved(handle_t *handle);
include/linux/jbd2.h
1513
extern int jbd2_journal_extend(handle_t *handle, int nblocks,
include/linux/jbd2.h
1560
extern int jbd2_journal_inode_ranged_write(handle_t *handle,
include/linux/jbd2.h
1563
extern int jbd2_journal_inode_ranged_wait(handle_t *handle,
include/linux/jbd2.h
1593
static inline void jbd2_free_handle(handle_t *handle)
include/linux/jbd2.h
1595
kmem_cache_free(jbd2_handle_cache, handle);
include/linux/jbd2.h
1684
static inline int is_handle_aborted(handle_t *handle)
include/linux/jbd2.h
1686
if (handle->h_aborted || !handle->h_transaction)
include/linux/jbd2.h
1688
return is_journal_aborted(handle->h_transaction->t_journal);
include/linux/jbd2.h
1691
static inline void jbd2_journal_abort_handle(handle_t *handle)
include/linux/jbd2.h
1693
handle->h_aborted = 1;
include/linux/jbd2.h
1793
static inline int jbd2_handle_buffer_credits(handle_t *handle)
include/linux/jbd2.h
1797
if (!handle->h_reserved)
include/linux/jbd2.h
1798
journal = handle->h_transaction->t_journal;
include/linux/jbd2.h
1800
journal = handle->h_journal;
include/linux/jbd2.h
1802
return handle->h_total_credits -
include/linux/jbd2.h
1803
DIV_ROUND_UP(handle->h_revoke_credits_requested,
include/linux/kcov.h
100
static inline void kcov_remote_start(u64 handle) {}
include/linux/kcov.h
44
void kcov_remote_start(u64 handle);
include/linux/mfd/dln2.h
8
u16 handle; /* sub-driver handle (internally used only) */
include/linux/nvme-fc-driver.h
481
void **handle);
include/linux/nvme-fc-driver.h
483
unsigned int qidx, void *handle);
include/linux/of.h
287
extern struct device_node *of_find_node_by_phandle(phandle handle);
include/linux/of.h
537
static inline struct device_node *of_find_node_by_phandle(phandle handle)
include/linux/pci-acpi.h
27
extern phys_addr_t acpi_pci_root_get_mcfg_addr(acpi_handle handle);
include/linux/pci_hotplug.h
94
int acpi_pci_check_ejectable(struct pci_bus *pbus, acpi_handle handle);
include/linux/pci_hotplug.h
95
int acpi_pci_detect_ejectable(acpi_handle handle);
include/linux/perf_event.h
1212
extern void *perf_aux_output_begin(struct perf_output_handle *handle,
include/linux/perf_event.h
1214
extern void perf_aux_output_end(struct perf_output_handle *handle,
include/linux/perf_event.h
1216
extern int perf_aux_output_skip(struct perf_output_handle *handle,
include/linux/perf_event.h
1218
extern void *perf_get_aux(struct perf_output_handle *handle);
include/linux/perf_event.h
1219
extern void perf_aux_output_flag(struct perf_output_handle *handle, u64 flags);
include/linux/perf_event.h
1487
extern void perf_output_sample(struct perf_output_handle *handle,
include/linux/perf_event.h
1531
struct perf_output_handle *handle,
include/linux/perf_event.h
1901
extern int perf_output_begin(struct perf_output_handle *handle,
include/linux/perf_event.h
1904
extern int perf_output_begin_forward(struct perf_output_handle *handle,
include/linux/perf_event.h
1908
extern int perf_output_begin_backward(struct perf_output_handle *handle,
include/linux/perf_event.h
1913
extern void perf_output_end(struct perf_output_handle *handle);
include/linux/perf_event.h
1914
extern unsigned int perf_output_copy(struct perf_output_handle *handle,
include/linux/perf_event.h
1916
extern unsigned int perf_output_skip(struct perf_output_handle *handle,
include/linux/perf_event.h
1919
struct perf_output_handle *handle,
include/linux/perf_event.h
1943
perf_aux_output_begin(struct perf_output_handle *handle,
include/linux/perf_event.h
1946
perf_aux_output_end(struct perf_output_handle *handle, unsigned long size)
include/linux/perf_event.h
1949
perf_aux_output_skip(struct perf_output_handle *handle,
include/linux/perf_event.h
1952
perf_get_aux(struct perf_output_handle *handle) { return NULL; }
include/linux/perf_event.h
2034
#define perf_output_put(handle, x) perf_output_copy((handle), &(x), sizeof(x))
include/linux/perf_event.h
544
struct perf_output_handle *handle,
include/linux/pgalloc_tag.h
102
union pgtag_ref_handle *handle)
include/linux/pgalloc_tag.h
113
handle->page = page;
include/linux/pgalloc_tag.h
124
handle->ref = tmp;
include/linux/pgalloc_tag.h
130
static inline void put_page_tag_ref(union pgtag_ref_handle handle)
include/linux/pgalloc_tag.h
132
if (WARN_ON(!handle.ref))
include/linux/pgalloc_tag.h
136
page_ext_put((void *)handle.ref - page_alloc_tagging_ops.offset);
include/linux/pgalloc_tag.h
139
static inline void update_page_tag_ref(union pgtag_ref_handle handle, union codetag_ref *ref)
include/linux/pgalloc_tag.h
142
struct page *page = handle.page;
include/linux/pgalloc_tag.h
159
if (WARN_ON(!handle.ref || !ref))
include/linux/pgalloc_tag.h
162
handle.ref->ct = ref->ct;
include/linux/pgalloc_tag.h
179
union pgtag_ref_handle handle;
include/linux/pgalloc_tag.h
182
if (get_page_tag_ref(page, &ref, &handle)) {
include/linux/pgalloc_tag.h
186
put_page_tag_ref(handle);
include/linux/platform_data/mlxcpld.h
26
void *handle;
include/linux/platform_data/mlxcpld.h
27
int (*completion_notify)(void *handle, struct i2c_adapter *parent,
include/linux/platform_data/mlxreg.h
108
void *handle;
include/linux/platform_data/mlxreg.h
109
int (*user_handler)(void *handle, enum mlxreg_hotplug_kind kind, u8 action);
include/linux/platform_data/mlxreg.h
235
void *handle;
include/linux/platform_data/mlxreg.h
236
int (*completion_notify)(void *handle, int id);
include/linux/platform_data/mlxreg.h
81
void *handle;
include/linux/platform_data/mlxreg.h
82
int (*user_handler)(void *handle, enum mlxreg_hotplug_kind kind, u8 action);
include/linux/psp-sev.h
261
u32 handle; /* In */
include/linux/psp-sev.h
271
u32 handle; /* In */
include/linux/psp-sev.h
281
u32 handle; /* In */
include/linux/psp-sev.h
293
u32 handle; /* In */
include/linux/psp-sev.h
310
u32 handle; /* In/Out */
include/linux/psp-sev.h
327
u32 handle; /* In */
include/linux/psp-sev.h
341
u32 handle; /* In */
include/linux/psp-sev.h
355
u32 handle; /* In */
include/linux/psp-sev.h
373
u32 handle; /* In */
include/linux/psp-sev.h
391
u32 handle; /* In */
include/linux/psp-sev.h
409
u32 handle; /* In */
include/linux/psp-sev.h
436
u32 handle; /* In */
include/linux/psp-sev.h
460
u32 handle; /* In */
include/linux/psp-sev.h
477
u32 handle; /* In */
include/linux/psp-sev.h
486
u32 handle; /* In */
include/linux/psp-sev.h
499
u32 handle; /* In/Out */
include/linux/psp-sev.h
520
u32 handle; /* In */
include/linux/psp-sev.h
544
u32 handle; /* In */
include/linux/psp-sev.h
562
u32 handle; /* In */
include/linux/psp-sev.h
574
u32 handle; /* In */
include/linux/psp-sev.h
590
u32 handle; /* In */
include/linux/qed/qed_eth_if.h
295
int (*q_rx_stop)(struct qed_dev *cdev, u8 rss_id, void *handle);
include/linux/qed/qed_eth_if.h
304
int (*q_tx_stop)(struct qed_dev *cdev, u8 rss_id, void *handle);
include/linux/qed/qed_eth_if.h
333
int (*get_coalesce)(struct qed_dev *cdev, u16 *coal, void *handle);
include/linux/qed/qed_fcoe_if.h
134
u32 *handle,
include/linux/qed/qed_fcoe_if.h
137
int (*release_conn)(struct qed_dev *cdev, u32 handle);
include/linux/qed/qed_fcoe_if.h
140
u32 handle,
include/linux/qed/qed_fcoe_if.h
143
u32 handle, dma_addr_t terminate_params);
include/linux/qed/qed_if.h
1032
u16 rx_coal, u16 tx_coal, void *handle);
include/linux/qed/qed_iscsi_if.h
209
u32 *handle,
include/linux/qed/qed_iscsi_if.h
212
int (*release_conn)(struct qed_dev *cdev, u32 handle);
include/linux/qed/qed_iscsi_if.h
215
u32 handle,
include/linux/qed/qed_iscsi_if.h
219
u32 handle,
include/linux/qed/qed_iscsi_if.h
222
int (*destroy_conn)(struct qed_dev *cdev, u32 handle, u8 abrt_conn);
include/linux/qed/qed_iscsi_if.h
224
int (*clear_sq)(struct qed_dev *cdev, u32 handle);
include/linux/qed/qed_iscsi_if.h
229
int (*change_mac)(struct qed_dev *cdev, u32 handle, const u8 *mac);
include/linux/qed/qed_nvmetcp_if.h
210
u32 *handle,
include/linux/qed/qed_nvmetcp_if.h
213
int (*release_conn)(struct qed_dev *cdev, u32 handle);
include/linux/qed/qed_nvmetcp_if.h
216
u32 handle,
include/linux/qed/qed_nvmetcp_if.h
220
u32 handle,
include/linux/qed/qed_nvmetcp_if.h
223
int (*destroy_conn)(struct qed_dev *cdev, u32 handle, u8 abrt_conn);
include/linux/qed/qed_nvmetcp_if.h
225
int (*clear_sq)(struct qed_dev *cdev, u32 handle);
include/linux/qed/qed_rdma_if.h
527
void *handle;
include/linux/qed/qed_rdma_if.h
684
int (*iwarp_destroy_listen)(void *rdma_cxt, void *handle);
include/linux/raspberrypi/vchiq.h
108
extern int vchiq_get_peer_version(struct vchiq_instance *instance, unsigned int handle,
include/linux/raspberrypi/vchiq.h
110
extern struct vchiq_header *vchiq_msg_hold(struct vchiq_instance *instance, unsigned int handle);
include/linux/raspberrypi/vchiq.h
58
unsigned int handle,
include/linux/raspberrypi/vchiq.h
76
unsigned int handle,
include/linux/raspberrypi/vchiq.h
95
extern void vchiq_msg_queue_push(struct vchiq_instance *instance, unsigned int handle,
include/linux/raspberrypi/vchiq.h
99
extern int vchiq_queue_kernel_message(struct vchiq_instance *instance, unsigned int handle,
include/linux/raspberrypi/vchiq_arm.h
104
vchiq_use_service(struct vchiq_instance *instance, unsigned int handle);
include/linux/raspberrypi/vchiq_arm.h
107
vchiq_release_service(struct vchiq_instance *instance, unsigned int handle);
include/linux/raspberrypi/vchiq_arm.h
158
struct vchiq_header *header, unsigned int handle,
include/linux/raspberrypi/vchiq_core.h
191
unsigned int handle;
include/linux/raspberrypi/vchiq_core.h
551
vchiq_bulk_xfer_waiting(struct vchiq_instance *instance, unsigned int handle,
include/linux/raspberrypi/vchiq_core.h
555
vchiq_bulk_xfer_blocking(struct vchiq_instance *instance, unsigned int handle,
include/linux/raspberrypi/vchiq_core.h
559
vchiq_bulk_xfer_callback(struct vchiq_instance *instance, unsigned int handle,
include/linux/raspberrypi/vchiq_core.h
569
struct vchiq_service *handle_to_service(struct vchiq_instance *instance, unsigned int handle);
include/linux/raspberrypi/vchiq_core.h
572
find_service_by_handle(struct vchiq_instance *instance, unsigned int handle);
include/linux/raspberrypi/vchiq_core.h
578
find_service_for_instance(struct vchiq_instance *instance, unsigned int handle);
include/linux/raspberrypi/vchiq_core.h
581
find_closed_service_for_instance(struct vchiq_instance *instance, unsigned int handle);
include/linux/raspberrypi/vchiq_core.h
600
vchiq_queue_message(struct vchiq_instance *instance, unsigned int handle,
include/linux/regulator/driver.h
728
void regulator_irq_helper_cancel(void **handle);
include/linux/scmi_protocol.h
870
int (*event_notifier_register)(const struct scmi_handle *handle,
include/linux/scmi_protocol.h
874
int (*event_notifier_unregister)(const struct scmi_handle *handle,
include/linux/scmi_protocol.h
912
bool (*is_transport_atomic)(const struct scmi_handle *handle,
include/linux/scmi_protocol.h
945
struct scmi_handle *handle;
include/linux/soc/ti/ti_sci_protocol.h
100
int (*get_device_exclusive)(const struct ti_sci_handle *handle, u32 id);
include/linux/soc/ti/ti_sci_protocol.h
101
int (*idle_device)(const struct ti_sci_handle *handle, u32 id);
include/linux/soc/ti/ti_sci_protocol.h
102
int (*idle_device_exclusive)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
104
int (*put_device)(const struct ti_sci_handle *handle, u32 id);
include/linux/soc/ti/ti_sci_protocol.h
105
int (*is_valid)(const struct ti_sci_handle *handle, u32 id);
include/linux/soc/ti/ti_sci_protocol.h
106
int (*get_context_loss_count)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
108
int (*is_idle)(const struct ti_sci_handle *handle, u32 id,
include/linux/soc/ti/ti_sci_protocol.h
110
int (*is_stop)(const struct ti_sci_handle *handle, u32 id,
include/linux/soc/ti/ti_sci_protocol.h
112
int (*is_on)(const struct ti_sci_handle *handle, u32 id,
include/linux/soc/ti/ti_sci_protocol.h
114
int (*is_transitioning)(const struct ti_sci_handle *handle, u32 id,
include/linux/soc/ti/ti_sci_protocol.h
116
int (*set_device_resets)(const struct ti_sci_handle *handle, u32 id,
include/linux/soc/ti/ti_sci_protocol.h
118
int (*get_device_resets)(const struct ti_sci_handle *handle, u32 id,
include/linux/soc/ti/ti_sci_protocol.h
172
int (*get_clock)(const struct ti_sci_handle *handle, u32 did, u32 cid,
include/linux/soc/ti/ti_sci_protocol.h
175
int (*idle_clock)(const struct ti_sci_handle *handle, u32 did, u32 cid);
include/linux/soc/ti/ti_sci_protocol.h
176
int (*put_clock)(const struct ti_sci_handle *handle, u32 did, u32 cid);
include/linux/soc/ti/ti_sci_protocol.h
177
int (*is_auto)(const struct ti_sci_handle *handle, u32 did, u32 cid,
include/linux/soc/ti/ti_sci_protocol.h
179
int (*is_on)(const struct ti_sci_handle *handle, u32 did, u32 cid,
include/linux/soc/ti/ti_sci_protocol.h
181
int (*is_off)(const struct ti_sci_handle *handle, u32 did, u32 cid,
include/linux/soc/ti/ti_sci_protocol.h
183
int (*set_parent)(const struct ti_sci_handle *handle, u32 did, u32 cid,
include/linux/soc/ti/ti_sci_protocol.h
185
int (*get_parent)(const struct ti_sci_handle *handle, u32 did, u32 cid,
include/linux/soc/ti/ti_sci_protocol.h
187
int (*get_num_parents)(const struct ti_sci_handle *handle, u32 did,
include/linux/soc/ti/ti_sci_protocol.h
189
int (*get_best_match_freq)(const struct ti_sci_handle *handle, u32 did,
include/linux/soc/ti/ti_sci_protocol.h
192
int (*set_freq)(const struct ti_sci_handle *handle, u32 did, u32 cid,
include/linux/soc/ti/ti_sci_protocol.h
194
int (*get_freq)(const struct ti_sci_handle *handle, u32 did, u32 cid,
include/linux/soc/ti/ti_sci_protocol.h
219
int (*lpm_wake_reason)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
221
int (*set_device_constraint)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
223
int (*set_latency_constraint)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
261
int (*get_range)(const struct ti_sci_handle *handle, u32 dev_id,
include/linux/soc/ti/ti_sci_protocol.h
263
int (*get_range_from_shost)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
283
int (*set_irq)(const struct ti_sci_handle *handle, u16 src_id,
include/linux/soc/ti/ti_sci_protocol.h
285
int (*set_event_map)(const struct ti_sci_handle *handle, u16 src_id,
include/linux/soc/ti/ti_sci_protocol.h
288
int (*free_irq)(const struct ti_sci_handle *handle, u16 src_id,
include/linux/soc/ti/ti_sci_protocol.h
290
int (*free_event_map)(const struct ti_sci_handle *handle, u16 src_id,
include/linux/soc/ti/ti_sci_protocol.h
345
int (*set_cfg)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
363
int (*pair)(const struct ti_sci_handle *handle, u32 nav_id,
include/linux/soc/ti/ti_sci_protocol.h
365
int (*unpair)(const struct ti_sci_handle *handle, u32 nav_id,
include/linux/soc/ti/ti_sci_protocol.h
37
int (*reboot_device)(const struct ti_sci_handle *handle);
include/linux/soc/ti/ti_sci_protocol.h
522
int (*tx_ch_cfg)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
524
int (*rx_ch_cfg)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
526
int (*rx_flow_cfg)(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
547
int (*request)(const struct ti_sci_handle *handle, u8 pid);
include/linux/soc/ti/ti_sci_protocol.h
548
int (*release)(const struct ti_sci_handle *handle, u8 pid);
include/linux/soc/ti/ti_sci_protocol.h
549
int (*handover)(const struct ti_sci_handle *handle, u8 pid, u8 hid);
include/linux/soc/ti/ti_sci_protocol.h
550
int (*set_config)(const struct ti_sci_handle *handle, u8 pid,
include/linux/soc/ti/ti_sci_protocol.h
552
int (*set_control)(const struct ti_sci_handle *handle, u8 pid,
include/linux/soc/ti/ti_sci_protocol.h
554
int (*get_status)(const struct ti_sci_handle *handle, u8 pid,
include/linux/soc/ti/ti_sci_protocol.h
607
int ti_sci_put_handle(const struct ti_sci_handle *handle);
include/linux/soc/ti/ti_sci_protocol.h
617
devm_ti_sci_get_of_resource(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
620
devm_ti_sci_get_resource(const struct ti_sci_handle *handle, struct device *dev,
include/linux/soc/ti/ti_sci_protocol.h
630
static inline int ti_sci_put_handle(const struct ti_sci_handle *handle)
include/linux/soc/ti/ti_sci_protocol.h
670
devm_ti_sci_get_of_resource(const struct ti_sci_handle *handle,
include/linux/soc/ti/ti_sci_protocol.h
677
devm_ti_sci_get_resource(const struct ti_sci_handle *handle, struct device *dev,
include/linux/soc/ti/ti_sci_protocol.h
99
int (*get_device)(const struct ti_sci_handle *handle, u32 id);
include/linux/soundwire/sdw_amd.h
116
acpi_handle handle;
include/linux/soundwire/sdw_amd.h
160
acpi_handle handle;
include/linux/soundwire/sdw_intel.h
242
acpi_handle handle;
include/linux/soundwire/sdw_intel.h
307
acpi_handle handle;
include/linux/soundwire/sdw_intel.h
347
acpi_handle handle;
include/linux/stackdepot.h
189
struct stack_record *__stack_depot_get_stack_record(depot_stack_handle_t handle);
include/linux/stackdepot.h
199
unsigned int stack_depot_fetch(depot_stack_handle_t handle,
include/linux/stackdepot.h
219
int stack_depot_snprint(depot_stack_handle_t handle, char *buf, size_t size,
include/linux/stackdepot.h
232
void stack_depot_put(depot_stack_handle_t handle);
include/linux/stackdepot.h
246
depot_stack_handle_t handle, unsigned int extra_bits);
include/linux/stackdepot.h
255
unsigned int stack_depot_get_extra_bits(depot_stack_handle_t handle);
include/linux/stackdepot.h
45
depot_stack_handle_t handle;
include/linux/stackdepot.h
57
union handle_parts handle; /* Constant after initialization */
include/linux/sunrpc/rpc_rdma.h
137
static inline __be32 *xdr_encode_rdma_segment(__be32 *p, u32 handle,
include/linux/sunrpc/rpc_rdma.h
140
*p++ = cpu_to_be32(handle);
include/linux/sunrpc/rpc_rdma.h
157
u32 handle, u32 length,
include/linux/sunrpc/rpc_rdma.h
161
return xdr_encode_rdma_segment(p, handle, length, offset);
include/linux/sunrpc/rpc_rdma.h
174
static inline __be32 *xdr_decode_rdma_segment(__be32 *p, u32 *handle,
include/linux/sunrpc/rpc_rdma.h
177
*handle = be32_to_cpup(p++);
include/linux/sunrpc/rpc_rdma.h
194
u32 *handle, u32 *length,
include/linux/sunrpc/rpc_rdma.h
198
return xdr_decode_rdma_segment(p, handle, length, offset);
include/linux/sunrpc/svc.h
352
struct cache_deferred_req handle;
include/linux/syscalls.h
895
struct file_handle __user *handle,
include/linux/syscalls.h
898
struct file_handle __user *handle,
include/linux/tpm.h
312
static inline enum tpm2_mso_type tpm2_handle_mso(u32 handle)
include/linux/tpm.h
314
return handle >> 24;
include/linux/tpm.h
431
void tpm_buf_append_handle(struct tpm_chip *chip, struct tpm_buf *buf, u32 handle);
include/linux/tpm.h
479
void tpm2_flush_context(struct tpm_chip *chip, u32 handle);
include/linux/tpm.h
482
static inline void tpm_buf_append_empty_auth(struct tpm_buf *buf, u32 handle)
include/linux/tpm.h
486
tpm_buf_append_u32(buf, handle);
include/linux/tpm.h
518
static inline void tpm_buf_append_empty_auth(struct tpm_buf *buf, u32 handle)
include/linux/tpm.h
533
u32 handle, u8 *name);
include/linux/uacce.h
100
struct iommu_sva *handle;
include/linux/usb/rndis_host.h
120
/*?*/ __le32 handle; /* zero */
include/linux/usb/rndis_host.h
99
/*?*/ __le32 handle; /* zero */
include/linux/vmw_vmci_api.h
32
int vmci_datagram_destroy_handle(struct vmci_handle handle);
include/linux/vmw_vmci_api.h
34
int vmci_doorbell_create(struct vmci_handle *handle, u32 flags,
include/linux/vmw_vmci_api.h
37
int vmci_doorbell_destroy(struct vmci_handle handle);
include/linux/vmw_vmci_api.h
48
struct vmci_handle *handle,
include/linux/vmw_vmci_defs.h
501
struct vmci_handle handle; /* Identifier. */
include/linux/vmw_vmci_defs.h
547
struct vmci_handle handle; /* queue_pair handle. */
include/linux/vmw_vmci_defs.h
648
struct vmci_handle handle;
include/linux/vmw_vmci_defs.h
659
struct vmci_handle handle;
include/linux/vmw_vmci_defs.h
668
struct vmci_handle handle;
include/linux/vmw_vmci_defs.h
692
struct vmci_handle handle; /* queue_pair handle. */
include/linux/vmw_vmci_defs.h
743
struct vmci_handle handle;
include/linux/vmw_vmci_defs.h
755
struct vmci_handle handle;
include/linux/vmw_vmci_defs.h
899
const struct vmci_handle handle)
include/linux/vmw_vmci_defs.h
901
q_header->handle = handle;
include/linux/zsmalloc.h
43
void *zs_obj_read_begin(struct zs_pool *pool, unsigned long handle,
include/linux/zsmalloc.h
45
void zs_obj_read_end(struct zs_pool *pool, unsigned long handle,
include/linux/zsmalloc.h
47
void zs_obj_read_sg_begin(struct zs_pool *pool, unsigned long handle,
include/linux/zsmalloc.h
49
void zs_obj_read_sg_end(struct zs_pool *pool, unsigned long handle);
include/linux/zsmalloc.h
50
void zs_obj_write(struct zs_pool *pool, unsigned long handle,
include/media/v4l2-dv-timings.h
38
typedef bool v4l2_check_dv_timings_fnc(const struct v4l2_dv_timings *t, void *handle);
include/net/act_api.h
267
struct tcf_chain **handle,
include/net/bluetooth/hci.h
1001
__le16 handle;
include/net/bluetooth/hci.h
1062
__le16 handle;
include/net/bluetooth/hci.h
1071
__le16 handle;
include/net/bluetooth/hci.h
1076
__le16 handle;
include/net/bluetooth/hci.h
1080
__le16 handle;
include/net/bluetooth/hci.h
1092
__le16 handle;
include/net/bluetooth/hci.h
1096
__le16 handle;
include/net/bluetooth/hci.h
1102
__le16 handle;
include/net/bluetooth/hci.h
1107
__le16 handle;
include/net/bluetooth/hci.h
1123
__le16 handle;
include/net/bluetooth/hci.h
1379
__le16 handle;
include/net/bluetooth/hci.h
1383
__le16 handle;
include/net/bluetooth/hci.h
1389
__le16 handle;
include/net/bluetooth/hci.h
1394
__le16 handle;
include/net/bluetooth/hci.h
1563
__le16 handle;
include/net/bluetooth/hci.h
1568
__le16 handle;
include/net/bluetooth/hci.h
1589
__le16 handle;
include/net/bluetooth/hci.h
1593
__le16 handle;
include/net/bluetooth/hci.h
1599
__le16 handle;
include/net/bluetooth/hci.h
1604
__le16 handle;
include/net/bluetooth/hci.h
1611
__le16 handle;
include/net/bluetooth/hci.h
1615
__le16 handle;
include/net/bluetooth/hci.h
1754
__le16 handle;
include/net/bluetooth/hci.h
1765
__le16 handle;
include/net/bluetooth/hci.h
1770
__le16 handle;
include/net/bluetooth/hci.h
1778
__le16 handle;
include/net/bluetooth/hci.h
1783
__le16 handle;
include/net/bluetooth/hci.h
1788
__le16 handle;
include/net/bluetooth/hci.h
1792
__le16 handle;
include/net/bluetooth/hci.h
1803
__le16 handle;
include/net/bluetooth/hci.h
1814
__le16 handle;
include/net/bluetooth/hci.h
1820
__le16 handle;
include/net/bluetooth/hci.h
1826
__le16 handle;
include/net/bluetooth/hci.h
1890
__le16 handle;
include/net/bluetooth/hci.h
1959
__le16 handle;
include/net/bluetooth/hci.h
1970
__u8 handle;
include/net/bluetooth/hci.h
1997
__u8 handle;
include/net/bluetooth/hci.h
2006
__u8 handle;
include/net/bluetooth/hci.h
2015
__u8 handle;
include/net/bluetooth/hci.h
2031
__u8 handle;
include/net/bluetooth/hci.h
2042
__u8 handle;
include/net/bluetooth/hci.h
2051
__u8 handle;
include/net/bluetooth/hci.h
2064
__u8 handle;
include/net/bluetooth/hci.h
2087
__le16 handle;
include/net/bluetooth/hci.h
2094
__le16 handle;
include/net/bluetooth/hci.h
2099
__le16 handle;
include/net/bluetooth/hci.h
2106
__le16 handle;
include/net/bluetooth/hci.h
2111
__le16 handle;
include/net/bluetooth/hci.h
2120
__le16 handle;
include/net/bluetooth/hci.h
2134
__le16 handle;
include/net/bluetooth/hci.h
2139
__le16 handle;
include/net/bluetooth/hci.h
2173
__le16 handle[];
include/net/bluetooth/hci.h
2194
__le16 handle;
include/net/bluetooth/hci.h
2199
__le16 handle;
include/net/bluetooth/hci.h
2217
__u8 handle;
include/net/bluetooth/hci.h
2225
__u8 handle;
include/net/bluetooth/hci.h
2231
__u8 handle;
include/net/bluetooth/hci.h
2243
__u8 handle;
include/net/bluetooth/hci.h
2248
__le16 handle;
include/net/bluetooth/hci.h
2261
__le16 handle;
include/net/bluetooth/hci.h
2279
__le16 handle;
include/net/bluetooth/hci.h
2311
__le16 handle;
include/net/bluetooth/hci.h
2316
__le16 handle;
include/net/bluetooth/hci.h
2341
__le16 handle;
include/net/bluetooth/hci.h
2346
__le16 handle;
include/net/bluetooth/hci.h
2351
__le16 handle;
include/net/bluetooth/hci.h
2359
__le16 handle;
include/net/bluetooth/hci.h
2364
__le16 handle;
include/net/bluetooth/hci.h
2369
__le16 handle;
include/net/bluetooth/hci.h
2375
__le16 handle;
include/net/bluetooth/hci.h
2380
__le16 handle;
include/net/bluetooth/hci.h
2402
__le16 handle;
include/net/bluetooth/hci.h
2417
__le16 handle;
include/net/bluetooth/hci.h
2435
__le16 handle;
include/net/bluetooth/hci.h
2440
__le16 handle;
include/net/bluetooth/hci.h
2506
__le16 handle;
include/net/bluetooth/hci.h
2522
__le16 handle;
include/net/bluetooth/hci.h
2529
__le16 handle;
include/net/bluetooth/hci.h
2542
__le16 handle;
include/net/bluetooth/hci.h
2549
__le16 handle;
include/net/bluetooth/hci.h
2555
__le16 handle;
include/net/bluetooth/hci.h
2562
__le16 handle;
include/net/bluetooth/hci.h
2578
__le16 handle;
include/net/bluetooth/hci.h
2609
__le16 handle;
include/net/bluetooth/hci.h
2621
__le16 handle;
include/net/bluetooth/hci.h
2646
__le16 handle;
include/net/bluetooth/hci.h
2653
__le16 handle;
include/net/bluetooth/hci.h
2689
__le16 handle;
include/net/bluetooth/hci.h
2698
__le16 handle;
include/net/bluetooth/hci.h
2711
__le16 handle;
include/net/bluetooth/hci.h
2721
__le16 handle;
include/net/bluetooth/hci.h
2747
__le16 handle;
include/net/bluetooth/hci.h
2835
__le16 handle;
include/net/bluetooth/hci.h
2843
__le16 handle;
include/net/bluetooth/hci.h
2849
__le16 handle;
include/net/bluetooth/hci.h
2870
__le16 handle;
include/net/bluetooth/hci.h
2928
__le16 handle;
include/net/bluetooth/hci.h
2937
__le16 handle;
include/net/bluetooth/hci.h
2943
__le16 handle;
include/net/bluetooth/hci.h
2950
__le16 handle;
include/net/bluetooth/hci.h
2959
__le16 handle;
include/net/bluetooth/hci.h
2984
__le16 handle;
include/net/bluetooth/hci.h
3014
__le16 handle;
include/net/bluetooth/hci.h
3026
__le16 handle;
include/net/bluetooth/hci.h
3051
__le16 handle;
include/net/bluetooth/hci.h
3061
__u8 handle;
include/net/bluetooth/hci.h
3069
__le16 handle;
include/net/bluetooth/hci.h
3083
__le16 handle;
include/net/bluetooth/hci.h
3111
__u8 handle;
include/net/bluetooth/hci.h
3128
__u8 handle;
include/net/bluetooth/hci.h
3142
__u8 handle;
include/net/bluetooth/hci.h
3166
__le16 handle;
include/net/bluetooth/hci.h
3176
__le16 handle;
include/net/bluetooth/hci.h
3202
__le16 handle;
include/net/bluetooth/hci.h
3209
__le16 handle;
include/net/bluetooth/hci.h
3215
__le16 handle;
include/net/bluetooth/hci.h
3242
__le16 handle;
include/net/bluetooth/hci.h
3258
__le16 handle;
include/net/bluetooth/hci.h
3277
__le16 handle;
include/net/bluetooth/hci.h
3336
__le16 handle; /* Handle & Flags(PB, BC) */
include/net/bluetooth/hci.h
3341
__le16 handle;
include/net/bluetooth/hci.h
3346
__le16 handle;
include/net/bluetooth/hci.h
801
__le16 handle;
include/net/bluetooth/hci.h
807
__le16 handle;
include/net/bluetooth/hci.h
861
__le16 handle;
include/net/bluetooth/hci.h
867
__le16 handle;
include/net/bluetooth/hci.h
872
__le16 handle;
include/net/bluetooth/hci.h
878
__le16 handle;
include/net/bluetooth/hci.h
901
__le16 handle;
include/net/bluetooth/hci.h
906
__le16 handle;
include/net/bluetooth/hci.h
912
__le16 handle;
include/net/bluetooth/hci.h
917
__le16 handle;
include/net/bluetooth/hci.h
922
__le16 handle;
include/net/bluetooth/hci_core.h
1130
static inline __u8 hci_conn_lookup_type(struct hci_dev *hdev, __u16 handle)
include/net/bluetooth/hci_core.h
1139
if (c->handle == handle) {
include/net/bluetooth/hci_core.h
1223
__u16 handle)
include/net/bluetooth/hci_core.h
1231
if (c->handle == handle) {
include/net/bluetooth/hci_core.h
1342
__u8 handle)
include/net/bluetooth/hci_core.h
1353
if (handle == c->iso_qos.ucast.cig) {
include/net/bluetooth/hci_core.h
1365
__u8 handle)
include/net/bluetooth/hci_core.h
1376
if (handle == c->iso_qos.bcast.big) {
include/net/bluetooth/hci_core.h
1389
__u8 handle, __u8 num_bis)
include/net/bluetooth/hci_core.h
1400
if (handle == c->iso_qos.bcast.big && num_bis == c->num_bis) {
include/net/bluetooth/hci_core.h
1412
hci_conn_hash_lookup_big_state(struct hci_dev *hdev, __u8 handle, __u16 state,
include/net/bluetooth/hci_core.h
1424
if (handle == c->iso_qos.bcast.big) {
include/net/bluetooth/hci_core.h
1570
bool hci_setup_sync(struct hci_conn *conn, __u16 handle);
include/net/bluetooth/hci_core.h
1577
u8 dst_type, u8 role, u16 handle);
include/net/bluetooth/hci_core.h
1586
struct hci_chan *hci_chan_lookup_handle(struct hci_dev *hdev, __u16 handle);
include/net/bluetooth/hci_core.h
1630
u8 hci_conn_set_handle(struct hci_conn *conn, u16 handle);
include/net/bluetooth/hci_core.h
1911
int hci_remove_single_adv_monitor(struct hci_dev *hdev, u16 handle);
include/net/bluetooth/hci_core.h
2494
void mgmt_adv_monitor_device_lost(struct hci_dev *hdev, u16 handle,
include/net/bluetooth/hci_core.h
251
__u8 handle;
include/net/bluetooth/hci_core.h
298
__u16 handle;
include/net/bluetooth/hci_core.h
321
__u16 handle;
include/net/bluetooth/hci_core.h
670
#define HCI_PHY_HANDLE(handle) (handle & 0xff)
include/net/bluetooth/hci_core.h
693
__u16 handle;
include/net/bluetooth/hci_core.h
797
__u16 handle;
include/net/bluetooth/hci_core.h
863
int l2cap_recv_acldata(struct hci_dev *hdev, u16 handle, struct sk_buff *skb,
include/net/bluetooth/hci_core.h
868
int sco_recv_scodata(struct hci_dev *hdev, u16 handle, struct sk_buff *skb);
include/net/bluetooth/hci_core.h
876
static inline int sco_recv_scodata(struct hci_dev *hdev, u16 handle,
include/net/bluetooth/hci_core.h
886
int iso_recv(struct hci_dev *hdev, u16 handle, struct sk_buff *skb,
include/net/bluetooth/hci_core.h
895
static inline int iso_recv(struct hci_dev *hdev, u16 handle,
include/net/bluetooth/hci_sock.h
132
__u16 handle;
include/net/bluetooth/hci_sync.h
131
int hci_read_rssi_sync(struct hci_dev *hdev, __le16 handle);
include/net/bluetooth/hci_sync.h
132
int hci_read_tx_power_sync(struct hci_dev *hdev, __le16 handle, u8 type);
include/net/bluetooth/hci_sync.h
173
int hci_le_remove_cig_sync(struct hci_dev *hdev, u8 handle);
include/net/bluetooth/hci_sync.h
175
int hci_le_terminate_big_sync(struct hci_dev *hdev, u8 handle, u8 reason);
include/net/bluetooth/hci_sync.h
177
int hci_le_big_terminate_sync(struct hci_dev *hdev, u8 handle);
include/net/bluetooth/hci_sync.h
179
int hci_le_pa_terminate_sync(struct hci_dev *hdev, u16 handle);
include/net/bluetooth/mgmt.h
1196
__u8 handle;
include/net/bluetooth/mgmt.h
885
__u8 handle;
include/net/mana/mana.h
549
struct net_shaper_handle handle;
include/net/net_shaper.h
107
const struct net_shaper_handle *handle,
include/net/net_shaper.h
46
struct net_shaper_handle handle;
include/net/netfilter/nf_tables.h
1004
u64 handle:42,
include/net/netfilter/nf_tables.h
1076
handle:42; /* for tracing */
include/net/netfilter/nf_tables.h
1149
u64 handle;
include/net/netfilter/nf_tables.h
1319
u64 handle;
include/net/netfilter/nf_tables.h
1388
u64 handle;
include/net/netfilter/nf_tables.h
1493
u64 handle;
include/net/netfilter/nf_tables.h
590
u64 handle;
include/net/pkt_cls.h
1000
u32 handle;
include/net/pkt_cls.h
1026
u32 handle;
include/net/pkt_cls.h
1050
u32 handle;
include/net/pkt_cls.h
1067
u32 handle;
include/net/pkt_cls.h
65
int police, struct tcf_proto *tp, u32 handle, bool used_action_miss);
include/net/pkt_cls.h
661
u32 handle;
include/net/pkt_cls.h
669
u32 handle;
include/net/pkt_cls.h
843
u32 handle;
include/net/pkt_cls.h
908
u32 handle;
include/net/pkt_cls.h
954
u32 handle;
include/net/pkt_cls.h
985
u32 handle;
include/net/pkt_sched.h
104
struct Qdisc *qdisc_lookup(struct net_device *dev, u32 handle);
include/net/pkt_sched.h
105
struct Qdisc *qdisc_lookup_rcu(struct net_device *dev, u32 handle);
include/net/pkt_sched.h
291
txt, qdisc->ops->id, qdisc->handle >> 16);
include/net/sch_generic.h
365
void* (*get)(struct tcf_proto*, u32 handle);
include/net/sch_generic.h
369
u32 handle, struct nlattr **,
include/net/sch_generic.h
397
u32 handle);
include/net/sch_generic.h
97
u32 handle;
include/scsi/iscsi_if.h
275
uint64_t handle;
include/scsi/iscsi_if.h
334
uint64_t handle;
include/scsi/scsi_transport_iscsi.h
463
extern struct iscsi_endpoint *iscsi_lookup_endpoint(u64 handle);
include/trace/events/ext4.h
2872
TP_PROTO(handle_t *handle, struct inode *inode,
include/trace/events/ext4.h
2875
TP_ARGS(handle, inode, dentry, ret),
include/trace/events/ext4.h
2889
__entry->t_tid = handle->h_transaction->t_tid;
include/trace/events/ext4.h
2904
TP_PROTO(handle_t *handle, struct inode *inode, \
include/trace/events/ext4.h
2906
TP_ARGS(handle, inode, dentry, ret) \
include/trace/events/ext4.h
2914
TP_PROTO(handle_t *handle, struct inode *inode, int ret),
include/trace/events/ext4.h
2916
TP_ARGS(handle, inode, ret),
include/trace/events/ext4.h
2930
__entry->t_tid = handle->h_transaction->t_tid;
include/trace/events/ext4.h
2943
TP_PROTO(handle_t *handle, struct inode *inode,
include/trace/events/ext4.h
2946
TP_ARGS(handle, inode, start, end, ret),
include/trace/events/ext4.h
2962
__entry->t_tid = handle->h_transaction->t_tid;
include/trace/events/nbd.h
12
TP_PROTO(struct request *req, u64 handle),
include/trace/events/nbd.h
14
TP_ARGS(req, handle),
include/trace/events/nbd.h
18
__field(u64, handle)
include/trace/events/nbd.h
23
__entry->handle = handle;
include/trace/events/nbd.h
29
__entry->handle
include/trace/events/nbd.h
35
TP_PROTO(struct request *req, u64 handle),
include/trace/events/nbd.h
37
TP_ARGS(req, handle)
include/trace/events/nbd.h
42
TP_PROTO(struct request *req, u64 handle),
include/trace/events/nbd.h
44
TP_ARGS(req, handle)
include/trace/events/nbd.h
49
TP_PROTO(struct request *req, u64 handle),
include/trace/events/nbd.h
51
TP_ARGS(req, handle)
include/trace/events/nbd.h
56
TP_PROTO(struct request *req, u64 handle),
include/trace/events/nbd.h
58
TP_ARGS(req, handle)
include/trace/events/qdisc.h
112
__field( u32, handle )
include/trace/events/qdisc.h
119
__entry->handle = q->handle;
include/trace/events/qdisc.h
124
TC_H_MAJ(__entry->handle) >> 16, TC_H_MIN(__entry->handle))
include/trace/events/qdisc.h
27
__field( u32, handle )
include/trace/events/qdisc.h
39
__entry->handle = qdisc->handle;
include/trace/events/qdisc.h
45
__entry->ifindex, __entry->handle, __entry->parent,
include/trace/events/qdisc.h
60
__field(u32, handle)
include/trace/events/qdisc.h
69
__entry->handle = qdisc->handle;
include/trace/events/qdisc.h
74
__entry->ifindex, __entry->handle, __entry->parent, __entry->skbaddr)
include/trace/events/qdisc.h
87
__field( u32, handle )
include/trace/events/qdisc.h
94
__entry->handle = q->handle;
include/trace/events/qdisc.h
99
TC_H_MAJ(__entry->handle) >> 16, TC_H_MIN(__entry->handle))
include/trace/events/rpcrdma.h
1140
__field(u32, handle)
include/trace/events/rpcrdma.h
1150
__entry->handle = mr->mr_handle;
include/trace/events/rpcrdma.h
1159
(unsigned long long)__entry->offset, __entry->handle,
include/trace/events/rpcrdma.h
1404
u32 handle,
include/trace/events/rpcrdma.h
1409
TP_ARGS(handle, length, offset),
include/trace/events/rpcrdma.h
1412
__field(u32, handle)
include/trace/events/rpcrdma.h
1418
__entry->handle = handle;
include/trace/events/rpcrdma.h
1425
__entry->handle
include/trace/events/rpcrdma.h
1647
u32 handle,
include/trace/events/rpcrdma.h
1652
TP_ARGS(ctxt, segno, handle, length, offset),
include/trace/events/rpcrdma.h
1658
__field(u32, handle)
include/trace/events/rpcrdma.h
1667
__entry->handle = handle;
include/trace/events/rpcrdma.h
1675
(unsigned long long)__entry->offset, __entry->handle
include/trace/events/rpcrdma.h
1693
__field(u32, handle)
include/trace/events/rpcrdma.h
1703
__entry->handle = segment->rs_handle;
include/trace/events/rpcrdma.h
1711
(unsigned long long)__entry->offset, __entry->handle
include/trace/events/rpcrdma.h
1728
__field(u32, handle)
include/trace/events/rpcrdma.h
1740
__entry->handle = segment->rs_handle;
include/trace/events/rpcrdma.h
1748
(unsigned long long)__entry->offset, __entry->handle
include/trace/events/rpcrdma.h
1833
u32 handle,
include/trace/events/rpcrdma.h
1838
TP_ARGS(rdma, offset, handle, nents, status),
include/trace/events/rpcrdma.h
1842
__field(u32, handle)
include/trace/events/rpcrdma.h
1850
__entry->handle = handle;
include/trace/events/rpcrdma.h
1858
__entry->handle, __entry->nents, __entry->status
include/trace/events/rpcrdma.h
405
__field(u32, handle)
include/trace/events/rpcrdma.h
416
__entry->handle = mr->mr_handle;
include/trace/events/rpcrdma.h
426
(unsigned long long)__entry->offset, __entry->handle,
include/trace/events/rpcrdma.h
454
__field(u32, handle)
include/trace/events/rpcrdma.h
464
__entry->handle = mr->mr_handle;
include/trace/events/rpcrdma.h
474
__entry->handle,
include/trace/events/rpcrdma.h
512
__field(u32, handle)
include/trace/events/rpcrdma.h
532
__entry->handle = mr->mr_handle;
include/trace/events/rpcrdma.h
542
(unsigned long long)__entry->offset, __entry->handle,
include/trace/events/rpcrdma.h
565
__field(u32, handle)
include/trace/events/rpcrdma.h
574
__entry->handle = mr->mr_handle;
include/trace/events/rpcrdma.h
582
(unsigned long long)__entry->offset, __entry->handle,
include/uapi/drm/amdgpu_drm.h
1034
__u64 handle;
include/uapi/drm/amdgpu_drm.h
1038
__u32 handle;
include/uapi/drm/amdgpu_drm.h
1043
__u32 handle;
include/uapi/drm/amdgpu_drm.h
1047
__u32 handle;
include/uapi/drm/amdgpu_drm.h
1063
__u32 handle;
include/uapi/drm/amdgpu_drm.h
198
__u32 handle;
include/uapi/drm/amdgpu_drm.h
637
__u32 handle;
include/uapi/drm/amdgpu_drm.h
703
__u32 handle;
include/uapi/drm/amdgpu_drm.h
718
__u32 handle;
include/uapi/drm/amdgpu_drm.h
734
__u32 handle;
include/uapi/drm/amdgpu_drm.h
758
__u64 handle;
include/uapi/drm/amdgpu_drm.h
824
__u32 handle;
include/uapi/drm/amdgpu_drm.h
903
__u32 handle;
include/uapi/drm/amdgpu_drm.h
977
__u64 handle;
include/uapi/drm/amdxdna_accel.h
102
__u32 handle;
include/uapi/drm/amdxdna_accel.h
150
__u32 handle;
include/uapi/drm/amdxdna_accel.h
203
__u32 handle;
include/uapi/drm/amdxdna_accel.h
219
__u32 handle;
include/uapi/drm/amdxdna_accel.h
234
__u32 handle;
include/uapi/drm/amdxdna_accel.h
92
__u32 handle;
include/uapi/drm/armada_drm.h
27
__u32 handle;
include/uapi/drm/armada_drm.h
34
__u32 handle;
include/uapi/drm/armada_drm.h
45
__u32 handle;
include/uapi/drm/asahi_drm.h
316
__u32 handle;
include/uapi/drm/asahi_drm.h
328
__u32 handle;
include/uapi/drm/asahi_drm.h
371
__u32 handle;
include/uapi/drm/asahi_drm.h
462
__u32 handle;
include/uapi/drm/asahi_drm.h
618
__u32 handle;
include/uapi/drm/asahi_drm.h
857
__u32 handle;
include/uapi/drm/drm.h
1032
__u32 handle;
include/uapi/drm/drm.h
213
void *handle; /**< Handle of map */
include/uapi/drm/drm.h
227
void *handle; /**< User-space: "Handle" to pass to mmap() */
include/uapi/drm/drm.h
425
drm_context_t handle;
include/uapi/drm/drm.h
441
drm_drawable_t handle;
include/uapi/drm/drm.h
452
drm_drawable_t handle;
include/uapi/drm/drm.h
546
unsigned long handle; /**< Used for binding / unbinding */
include/uapi/drm/drm.h
557
unsigned long handle; /**< From drm_agp_buffer */
include/uapi/drm/drm.h
587
unsigned long handle; /**< Used for mapping / unmapping */
include/uapi/drm/drm.h
608
__u32 handle;
include/uapi/drm/drm.h
623
__u32 handle;
include/uapi/drm/drm.h
640
__u32 handle;
include/uapi/drm/drm.h
655
__u32 handle;
include/uapi/drm/drm.h
933
__u32 handle;
include/uapi/drm/drm.h
943
__u32 handle;
include/uapi/drm/drm.h
949
__u32 handle;
include/uapi/drm/drm.h
958
__u32 handle;
include/uapi/drm/drm_mode.h
1266
__u32 handle;
include/uapi/drm/drm_mode.h
1274
__u32 handle;
include/uapi/drm/drm_mode.h
1285
__u32 handle;
include/uapi/drm/drm_mode.h
664
__u32 handle;
include/uapi/drm/drm_mode.h
811
__u32 handle;
include/uapi/drm/drm_mode.h
822
__u32 handle;
include/uapi/drm/ethosu_accel.h
144
__u32 handle;
include/uapi/drm/ethosu_accel.h
152
__u32 handle;
include/uapi/drm/ethosu_accel.h
170
__u32 handle;
include/uapi/drm/ethosu_accel.h
186
__u32 handle;
include/uapi/drm/etnaviv_drm.h
104
__u32 handle; /* out */
include/uapi/drm/etnaviv_drm.h
108
__u32 handle; /* in */
include/uapi/drm/etnaviv_drm.h
118
__u32 handle; /* in */
include/uapi/drm/etnaviv_drm.h
124
__u32 handle; /* in */
include/uapi/drm/etnaviv_drm.h
165
__u32 handle; /* in, GEM handle */
include/uapi/drm/etnaviv_drm.h
236
__u32 handle; /* out, non-zero handle */
include/uapi/drm/etnaviv_drm.h
241
__u32 handle; /* in, bo to be waited for */
include/uapi/drm/exynos_drm.h
37
__u32 handle;
include/uapi/drm/exynos_drm.h
48
__u32 handle;
include/uapi/drm/exynos_drm.h
63
__u32 handle;
include/uapi/drm/habanalabs_accel.h
1945
__u64 handle;
include/uapi/drm/habanalabs_accel.h
1960
__u64 handle;
include/uapi/drm/habanalabs_accel.h
2041
__u64 handle;
include/uapi/drm/i915_drm.h
1015
__u32 handle;
include/uapi/drm/i915_drm.h
1099
__u32 handle;
include/uapi/drm/i915_drm.h
1115
__u32 handle;
include/uapi/drm/i915_drm.h
1193
__u32 handle;
include/uapi/drm/i915_drm.h
1244
__u32 handle;
include/uapi/drm/i915_drm.h
1329
__u32 handle;
include/uapi/drm/i915_drm.h
1575
__u32 handle;
include/uapi/drm/i915_drm.h
1587
__u32 handle;
include/uapi/drm/i915_drm.h
1593
__u32 handle;
include/uapi/drm/i915_drm.h
1686
__u32 handle;
include/uapi/drm/i915_drm.h
1744
__u32 handle;
include/uapi/drm/i915_drm.h
1775
__u32 handle;
include/uapi/drm/i915_drm.h
1821
__u32 handle;
include/uapi/drm/i915_drm.h
2760
__u32 handle;
include/uapi/drm/i915_drm.h
3690
__u32 handle;
include/uapi/drm/i915_drm.h
927
__u32 handle;
include/uapi/drm/i915_drm.h
933
__u32 handle;
include/uapi/drm/i915_drm.h
949
__u32 handle;
include/uapi/drm/i915_drm.h
965
__u32 handle;
include/uapi/drm/i915_drm.h
993
__u32 handle;
include/uapi/drm/ivpu_accel.h
266
__u32 handle;
include/uapi/drm/ivpu_accel.h
304
__u32 handle;
include/uapi/drm/ivpu_accel.h
315
__u32 handle;
include/uapi/drm/ivpu_accel.h
451
__u32 handle;
include/uapi/drm/lima_drm.h
135
__u32 handle; /* in, GEM buffer handle */
include/uapi/drm/lima_drm.h
48
__u32 handle; /* out, GEM buffer handle */
include/uapi/drm/lima_drm.h
56
__u32 handle; /* in, GEM buffer handle */
include/uapi/drm/lima_drm.h
66
__u32 handle; /* in, GEM buffer handle */
include/uapi/drm/msm_drm.h
171
__u32 handle; /* out */
include/uapi/drm/msm_drm.h
191
__u32 handle; /* in */
include/uapi/drm/msm_drm.h
210
__u32 handle; /* in */
include/uapi/drm/msm_drm.h
216
__u32 handle; /* in */
include/uapi/drm/msm_drm.h
229
__u32 handle; /* in, syncobj handle. */
include/uapi/drm/msm_drm.h
304
__u32 handle; /* in, GEM handle */
include/uapi/drm/msm_drm.h
363
__u32 handle;
include/uapi/drm/msm_drm.h
450
__u32 handle; /* in, GEM handle */
include/uapi/drm/nouveau_drm.h
105
__u32 handle;
include/uapi/drm/nouveau_drm.h
117
__u32 handle;
include/uapi/drm/nouveau_drm.h
124
__u32 handle;
include/uapi/drm/nouveau_drm.h
143
__u32 handle;
include/uapi/drm/nouveau_drm.h
167
__u32 handle;
include/uapi/drm/nouveau_drm.h
215
__u32 handle;
include/uapi/drm/nouveau_drm.h
220
__u32 handle;
include/uapi/drm/nouveau_drm.h
242
__u32 handle;
include/uapi/drm/nouveau_drm.h
314
__u32 handle;
include/uapi/drm/nova_drm.h
50
__u32 handle;
include/uapi/drm/nova_drm.h
70
__u32 handle;
include/uapi/drm/omap_drm.h
67
__u32 handle; /* out */
include/uapi/drm/omap_drm.h
78
__u32 handle; /* buffer handle (in) */
include/uapi/drm/omap_drm.h
83
__u32 handle; /* buffer handle (in) */
include/uapi/drm/omap_drm.h
94
__u32 handle; /* buffer handle (in) */
include/uapi/drm/panfrost_drm.h
116
__u32 handle;
include/uapi/drm/panfrost_drm.h
151
__u32 handle;
include/uapi/drm/panfrost_drm.h
182
__u32 handle;
include/uapi/drm/panfrost_drm.h
259
__u32 handle;
include/uapi/drm/panfrost_drm.h
292
__u32 handle; /* in, GEM handle */
include/uapi/drm/panfrost_drm.h
304
__u32 handle;
include/uapi/drm/panfrost_drm.h
327
__u32 handle;
include/uapi/drm/panfrost_drm.h
366
__u32 handle;
include/uapi/drm/panfrost_drm.h
452
__u32 handle;
include/uapi/drm/panfrost_drm.h
465
__u32 handle;
include/uapi/drm/panthor_drm.h
1026
__u32 handle;
include/uapi/drm/panthor_drm.h
1049
__u32 handle;
include/uapi/drm/panthor_drm.h
1060
__u32 handle;
include/uapi/drm/panthor_drm.h
1111
__u32 handle;
include/uapi/drm/panthor_drm.h
1171
__u32 handle;
include/uapi/drm/panthor_drm.h
227
__u32 handle;
include/uapi/drm/panthor_drm.h
725
__u32 handle;
include/uapi/drm/panthor_drm.h
736
__u32 handle;
include/uapi/drm/pvr_drm.h
1008
__u32 handle;
include/uapi/drm/pvr_drm.h
1019
__u32 handle;
include/uapi/drm/pvr_drm.h
1070
__u32 handle;
include/uapi/drm/pvr_drm.h
558
__u32 handle;
include/uapi/drm/pvr_drm.h
587
__u32 handle;
include/uapi/drm/pvr_drm.h
606
__u32 handle;
include/uapi/drm/pvr_drm.h
620
__u32 handle;
include/uapi/drm/pvr_drm.h
668
__u32 handle;
include/uapi/drm/pvr_drm.h
783
__u32 handle;
include/uapi/drm/pvr_drm.h
816
__u32 handle;
include/uapi/drm/pvr_drm.h
880
__u32 handle;
include/uapi/drm/pvr_drm.h
891
__u32 handle;
include/uapi/drm/qaic_accel.h
178
__u32 handle;
include/uapi/drm/qaic_accel.h
189
__u32 handle;
include/uapi/drm/qaic_accel.h
250
__u32 handle;
include/uapi/drm/qaic_accel.h
271
__u32 handle;
include/uapi/drm/qaic_accel.h
284
__u32 handle;
include/uapi/drm/qaic_accel.h
317
__u32 handle;
include/uapi/drm/qaic_accel.h
357
__u32 handle;
include/uapi/drm/qaic_accel.h
371
__u32 handle;
include/uapi/drm/qxl_drm.h
124
__u32 handle;
include/uapi/drm/qxl_drm.h
55
__u32 handle; /* 0 is an invalid handle */
include/uapi/drm/qxl_drm.h
60
__u32 handle;
include/uapi/drm/qxl_drm.h
98
__u32 handle;
include/uapi/drm/radeon_drm.h
816
__u32 handle;
include/uapi/drm/radeon_drm.h
835
__u32 handle;
include/uapi/drm/radeon_drm.h
857
__u32 handle;
include/uapi/drm/radeon_drm.h
863
__u32 handle;
include/uapi/drm/radeon_drm.h
869
__u32 handle;
include/uapi/drm/radeon_drm.h
877
__u32 handle;
include/uapi/drm/radeon_drm.h
883
__u32 handle;
include/uapi/drm/radeon_drm.h
888
__u32 handle;
include/uapi/drm/radeon_drm.h
894
__u32 handle;
include/uapi/drm/radeon_drm.h
907
__u32 handle;
include/uapi/drm/radeon_drm.h
920
__u32 handle; /* buffer */
include/uapi/drm/radeon_drm.h
942
__u32 handle;
include/uapi/drm/radeon_drm.h
977
__u32 handle;
include/uapi/drm/rocket_accel.h
37
__u32 handle;
include/uapi/drm/rocket_accel.h
63
__u32 handle;
include/uapi/drm/rocket_accel.h
85
__u32 handle;
include/uapi/drm/tegra_drm.h
278
__u32 handle;
include/uapi/drm/tegra_drm.h
314
__u32 handle;
include/uapi/drm/tegra_drm.h
330
__u32 handle;
include/uapi/drm/tegra_drm.h
366
__u32 handle;
include/uapi/drm/tegra_drm.h
48
__u32 handle;
include/uapi/drm/tegra_drm.h
520
__u32 handle;
include/uapi/drm/tegra_drm.h
562
__u32 handle;
include/uapi/drm/tegra_drm.h
60
__u32 handle;
include/uapi/drm/tegra_drm.h
600
__u32 handle;
include/uapi/drm/tegra_drm.h
619
__u32 handle;
include/uapi/drm/tegra_drm.h
744
__u32 handle;
include/uapi/drm/v3d_drm.h
235
__u32 handle;
include/uapi/drm/v3d_drm.h
250
__u32 handle;
include/uapi/drm/v3d_drm.h
275
__u32 handle;
include/uapi/drm/v3d_drm.h
313
__u32 handle;
include/uapi/drm/v3d_drm.h
96
__u32 handle; /* syncobj */
include/uapi/drm/vc4_drm.h
221
__u32 handle;
include/uapi/drm/vc4_drm.h
236
__u32 handle;
include/uapi/drm/vc4_drm.h
253
__u32 handle;
include/uapi/drm/vc4_drm.h
277
__u32 handle;
include/uapi/drm/vc4_drm.h
283
__u32 handle;
include/uapi/drm/vc4_drm.h
342
__u32 handle;
include/uapi/drm/vc4_drm.h
348
__u32 handle;
include/uapi/drm/vc4_drm.h
357
__u32 handle;
include/uapi/drm/vc4_drm.h
372
__u32 handle;
include/uapi/drm/vgem_drm.h
46
__u32 handle;
include/uapi/drm/virtgpu_drm.h
162
__u32 handle; /* 0 is an invalid handle */
include/uapi/drm/virtgpu_drm.h
63
__u32 handle;
include/uapi/drm/virtgpu_drm.h
72
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
1083
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
1129
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
374
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
429
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
502
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
643
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
674
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
700
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
745
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
890
__u32 handle;
include/uapi/drm/vmwgfx_drm.h
966
__u32 handle;
include/uapi/drm/xe_drm.h
1453
__u32 handle;
include/uapi/drm/xe_drm.h
883
__u32 handle;
include/uapi/drm/xe_drm.h
939
__u32 handle;
include/uapi/linux/android/binder.h
212
__u32 handle;
include/uapi/linux/android/binder.h
307
__u32 handle;
include/uapi/linux/android/binder.h
352
__u32 handle;
include/uapi/linux/android/binder.h
84
__u32 handle; /* remote object */
include/uapi/linux/fanotify.h
183
unsigned char handle[];
include/uapi/linux/firewire-cdev.h
1001
__u32 handle;
include/uapi/linux/firewire-cdev.h
1020
__u32 handle;
include/uapi/linux/firewire-cdev.h
1113
__u32 handle;
include/uapi/linux/firewire-cdev.h
184
__u32 handle;
include/uapi/linux/firewire-cdev.h
215
__u32 handle;
include/uapi/linux/firewire-cdev.h
286
__u32 handle;
include/uapi/linux/firewire-cdev.h
414
__u32 handle;
include/uapi/linux/firewire-cdev.h
672
__u32 handle;
include/uapi/linux/firewire-cdev.h
716
__u32 handle;
include/uapi/linux/firewire-cdev.h
726
__u32 handle;
include/uapi/linux/firewire-cdev.h
783
__u32 handle;
include/uapi/linux/firewire-cdev.h
796
__u32 handle;
include/uapi/linux/firewire-cdev.h
843
__u32 handle;
include/uapi/linux/firewire-cdev.h
859
__u32 handle;
include/uapi/linux/firewire-cdev.h
969
__u32 handle;
include/uapi/linux/firewire-cdev.h
993
__u32 handle;
include/uapi/linux/fsl_hypervisor.h
177
__u32 handle;
include/uapi/linux/gpib_ioctl.h
104
__u32 handle;
include/uapi/linux/gpib_ioctl.h
25
__s32 handle;
include/uapi/linux/gpib_ioctl.h
29
__u32 handle;
include/uapi/linux/gpib_ioctl.h
36
__u32 handle;
include/uapi/linux/gpib_ioctl.h
52
__s32 handle;
include/uapi/linux/gpib_ioctl.h
99
__u32 handle;
include/uapi/linux/kfd_ioctl.h
444
__u64 handle; /* from KFD */
include/uapi/linux/kfd_ioctl.h
455
__u64 handle; /* to KFD */
include/uapi/linux/kfd_ioctl.h
474
__u64 handle; /* to KFD */
include/uapi/linux/kfd_ioctl.h
485
__u64 handle; /* to KFD */
include/uapi/linux/kfd_ioctl.h
518
__u64 handle; /* from KFD */
include/uapi/linux/kfd_ioctl.h
524
__u64 handle; /* to KFD */
include/uapi/linux/nbd.h
105
char handle[8]; /* older spelling of cookie */
include/uapi/linux/nbd.h
90
char handle[8]; /* older spelling of cookie */
include/uapi/linux/ndctl.h
85
__u32 handle;
include/uapi/linux/phonet.h
118
static inline __u8 pn_obj(__u16 handle)
include/uapi/linux/phonet.h
120
return handle & 0xff;
include/uapi/linux/phonet.h
123
static inline __u8 pn_dev(__u16 handle)
include/uapi/linux/phonet.h
125
return handle >> 8;
include/uapi/linux/phonet.h
128
static inline __u16 pn_port(__u16 handle)
include/uapi/linux/phonet.h
130
return handle & 0x3ff;
include/uapi/linux/phonet.h
133
static inline __u8 pn_addr(__u16 handle)
include/uapi/linux/phonet.h
135
return (handle >> 8) & 0xfc;
include/uapi/linux/phonet.h
152
__u16 handle)
include/uapi/linux/phonet.h
154
spn->spn_dev = pn_dev(handle);
include/uapi/linux/phonet.h
155
spn->spn_obj = pn_obj(handle);
include/uapi/linux/rio_mport_cdev.h
132
__u64 handle;
include/uapi/linux/rio_mport_cdev.h
194
__u64 handle;
include/uapi/misc/fastrpc.h
78
__u32 handle;
include/uapi/rdma/ib_user_verbs.h
1056
__u32 handle;
include/uapi/rdma/ib_user_verbs.h
1069
__u32 handle;
include/uapi/scsi/scsi_bsg_mpi3mr.h
187
__u16 handle;
include/video/sh_mobile_lcdc.h
145
void (*write_index)(void *handle, unsigned long data);
include/video/sh_mobile_lcdc.h
146
void (*write_data)(void *handle, unsigned long data);
include/video/sh_mobile_lcdc.h
147
unsigned long (*read_data)(void *handle);
include/xen/grant_table.h
180
uint32_t flags, grant_handle_t handle)
include/xen/grant_table.h
189
unmap->handle = handle;
include/xen/interface/grant_table.h
289
grant_handle_t handle;
include/xen/interface/grant_table.h
309
grant_handle_t handle;
include/xen/interface/grant_table.h
437
grant_handle_t handle;
include/xen/interface/io/blkif.h
196
blkif_vdev_t handle; /* only for read/write requests */
include/xen/interface/io/blkif.h
235
blkif_vdev_t handle;
include/xen/interface/platform.h
53
uint32_t handle;
include/xen/interface/platform.h
68
uint32_t handle;
include/xen/swiotlb-xen.h
10
void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle,
include/xen/swiotlb-xen.h
8
void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle,
kernel/events/core.c
10014
struct perf_output_handle handle;
kernel/events/core.c
10036
ret = perf_output_begin(&handle, &sample, event, se->event_id.header.size);
kernel/events/core.c
10041
perf_output_put(&handle, se->event_id.header);
kernel/events/core.c
10043
perf_output_put(&handle, se->event_id);
kernel/events/core.c
10045
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
10047
perf_output_end(&handle);
kernel/events/core.c
10085
struct perf_output_handle handle;
kernel/events/core.c
10110
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
10115
perf_output_put(&handle, throttle_event);
kernel/events/core.c
10116
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
10117
perf_output_end(&handle);
kernel/events/core.c
10144
struct perf_output_handle handle;
kernel/events/core.c
10153
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
10158
perf_output_put(&handle, ksymbol_event->event_id);
kernel/events/core.c
10159
__output_copy(&handle, ksymbol_event->name, ksymbol_event->name_len);
kernel/events/core.c
10160
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
10162
perf_output_end(&handle);
kernel/events/core.c
10234
struct perf_output_handle handle;
kernel/events/core.c
10243
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
10248
perf_output_put(&handle, bpf_event->event_id);
kernel/events/core.c
10249
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
10251
perf_output_end(&handle);
kernel/events/core.c
10327
struct perf_output_handle handle;
kernel/events/core.c
10337
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
10342
perf_output_put(&handle, deferred_event->event);
kernel/events/core.c
10345
perf_output_put(&handle, entry);
kernel/events/core.c
10347
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
10349
perf_output_end(&handle);
kernel/events/core.c
10396
struct perf_output_handle handle;
kernel/events/core.c
10406
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
10411
perf_output_put(&handle, text_poke_event->event_id);
kernel/events/core.c
10412
perf_output_put(&handle, text_poke_event->old_len);
kernel/events/core.c
10413
perf_output_put(&handle, text_poke_event->new_len);
kernel/events/core.c
10415
__output_copy(&handle, text_poke_event->old_bytes, text_poke_event->old_len);
kernel/events/core.c
10416
__output_copy(&handle, text_poke_event->new_bytes, text_poke_event->new_len);
kernel/events/core.c
10419
__output_copy(&handle, &padding, text_poke_event->pad);
kernel/events/core.c
10421
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
10423
perf_output_end(&handle);
kernel/events/core.c
10465
struct perf_output_handle handle;
kernel/events/core.c
10488
ret = perf_output_begin(&handle, &sample, event, rec.header.size);
kernel/events/core.c
10493
perf_output_put(&handle, rec);
kernel/events/core.c
10494
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
10496
perf_output_end(&handle);
kernel/events/core.c
10501
struct perf_output_handle handle;
kernel/events/core.c
10518
ret = perf_output_begin(&handle, &sample, event, rec.header.size);
kernel/events/core.c
10523
perf_output_put(&handle, rec);
kernel/events/core.c
10524
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
10526
perf_output_end(&handle);
kernel/events/core.c
7734
perf_output_sample_regs(struct perf_output_handle *handle,
kernel/events/core.c
7745
perf_output_put(handle, val);
kernel/events/core.c
7832
perf_output_sample_ustack(struct perf_output_handle *handle, u64 dump_size,
kernel/events/core.c
7838
perf_output_put(handle, size);
kernel/events/core.c
7856
perf_output_put(handle, dump_size);
kernel/events/core.c
7860
rem = __output_copy_user(handle, (void *) sp, dump_size);
kernel/events/core.c
7863
perf_output_skip(handle, rem);
kernel/events/core.c
7866
perf_output_put(handle, dyn_size);
kernel/events/core.c
7910
struct perf_output_handle *handle,
kernel/events/core.c
7933
ret = event->pmu->snapshot_aux(event, handle, size);
kernel/events/core.c
7943
struct perf_output_handle *handle,
kernel/events/core.c
7958
size = perf_pmu_snapshot_aux(rb, sampler, handle, data->aux_size);
kernel/events/core.c
7979
perf_output_copy(handle, &zero, pad);
kernel/events/core.c
8032
static void __perf_event__output_id_sample(struct perf_output_handle *handle,
kernel/events/core.c
8038
perf_output_put(handle, data->tid_entry);
kernel/events/core.c
8041
perf_output_put(handle, data->time);
kernel/events/core.c
8044
perf_output_put(handle, data->id);
kernel/events/core.c
8047
perf_output_put(handle, data->stream_id);
kernel/events/core.c
8050
perf_output_put(handle, data->cpu_entry);
kernel/events/core.c
8053
perf_output_put(handle, data->id);
kernel/events/core.c
8057
struct perf_output_handle *handle,
kernel/events/core.c
8061
__perf_event__output_id_sample(handle, sample);
kernel/events/core.c
8064
static void perf_output_read_one(struct perf_output_handle *handle,
kernel/events/core.c
8086
__output_copy(handle, values, n * sizeof(u64));
kernel/events/core.c
8089
static void perf_output_read_group(struct perf_output_handle *handle,
kernel/events/core.c
8114
if ((leader != event) && !handle->skip_read)
kernel/events/core.c
8123
__output_copy(handle, values, n * sizeof(u64));
kernel/events/core.c
8128
if ((sub != event) && !handle->skip_read)
kernel/events/core.c
8137
__output_copy(handle, values, n * sizeof(u64));
kernel/events/core.c
8157
static void perf_output_read(struct perf_output_handle *handle,
kernel/events/core.c
8174
perf_output_read_group(handle, event, enabled, running);
kernel/events/core.c
8176
perf_output_read_one(handle, event, enabled, running);
kernel/events/core.c
8179
void perf_output_sample(struct perf_output_handle *handle,
kernel/events/core.c
8187
handle->skip_read = 1;
kernel/events/core.c
8189
perf_output_put(handle, *header);
kernel/events/core.c
8192
perf_output_put(handle, data->id);
kernel/events/core.c
8195
perf_output_put(handle, data->ip);
kernel/events/core.c
8198
perf_output_put(handle, data->tid_entry);
kernel/events/core.c
8201
perf_output_put(handle, data->time);
kernel/events/core.c
8204
perf_output_put(handle, data->addr);
kernel/events/core.c
8207
perf_output_put(handle, data->id);
kernel/events/core.c
8210
perf_output_put(handle, data->stream_id);
kernel/events/core.c
8213
perf_output_put(handle, data->cpu_entry);
kernel/events/core.c
8216
perf_output_put(handle, data->period);
kernel/events/core.c
8219
perf_output_read(handle, event);
kernel/events/core.c
8226
__output_copy(handle, data->callchain, size);
kernel/events/core.c
8235
perf_output_put(handle, raw->size);
kernel/events/core.c
8238
__output_custom(handle, frag->copy,
kernel/events/core.c
8241
__output_copy(handle, frag->data,
kernel/events/core.c
8249
__output_skip(handle, NULL, frag->pad);
kernel/events/core.c
8258
perf_output_put(handle, raw);
kernel/events/core.c
8269
perf_output_put(handle, data->br_stack->nr);
kernel/events/core.c
8271
perf_output_put(handle, data->br_stack->hw_idx);
kernel/events/core.c
8272
perf_output_copy(handle, data->br_stack->entries, size);
kernel/events/core.c
8279
perf_output_copy(handle, data->br_stack_cntr, size);
kernel/events/core.c
8286
perf_output_put(handle, nr);
kernel/events/core.c
8297
perf_output_put(handle, abi);
kernel/events/core.c
8301
perf_output_sample_regs(handle,
kernel/events/core.c
8308
perf_output_sample_ustack(handle,
kernel/events/core.c
8314
perf_output_put(handle, data->weight.full);
kernel/events/core.c
8317
perf_output_put(handle, data->data_src.val);
kernel/events/core.c
8320
perf_output_put(handle, data->txn);
kernel/events/core.c
8328
perf_output_put(handle, abi);
kernel/events/core.c
8333
perf_output_sample_regs(handle,
kernel/events/core.c
8340
perf_output_put(handle, data->phys_addr);
kernel/events/core.c
8343
perf_output_put(handle, data->cgroup);
kernel/events/core.c
8346
perf_output_put(handle, data->data_page_size);
kernel/events/core.c
8349
perf_output_put(handle, data->code_page_size);
kernel/events/core.c
8352
perf_output_put(handle, data->aux_size);
kernel/events/core.c
8355
perf_aux_sample_output(event, handle, data);
kernel/events/core.c
8362
struct perf_buffer *rb = handle->rb;
kernel/events/core.c
8796
struct perf_output_handle handle;
kernel/events/core.c
8806
err = output_begin(&handle, data, event, header.size);
kernel/events/core.c
8810
perf_output_sample(&handle, &header, data, event);
kernel/events/core.c
8812
perf_output_end(&handle);
kernel/events/core.c
8858
struct perf_output_handle handle;
kernel/events/core.c
8872
ret = perf_output_begin(&handle, &sample, event, read_event.header.size);
kernel/events/core.c
8876
perf_output_put(&handle, read_event);
kernel/events/core.c
8877
perf_output_read(&handle, event);
kernel/events/core.c
8878
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
8880
perf_output_end(&handle);
kernel/events/core.c
9125
struct perf_output_handle handle;
kernel/events/core.c
9135
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
9155
perf_output_put(&handle, task_event->event_id);
kernel/events/core.c
9157
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
9159
perf_output_end(&handle);
kernel/events/core.c
9277
struct perf_output_handle handle;
kernel/events/core.c
9286
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
9295
perf_output_put(&handle, comm_event->event_id);
kernel/events/core.c
9296
__output_copy(&handle, comm_event->comm,
kernel/events/core.c
9299
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
9301
perf_output_end(&handle);
kernel/events/core.c
9376
struct perf_output_handle handle;
kernel/events/core.c
9386
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
9396
perf_output_put(&handle, namespaces_event->event_id);
kernel/events/core.c
9398
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
9400
perf_output_end(&handle);
kernel/events/core.c
9503
struct perf_output_handle handle;
kernel/events/core.c
9513
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
9518
perf_output_put(&handle, cgroup_event->event_id);
kernel/events/core.c
9519
__output_copy(&handle, cgroup_event->path, cgroup_event->path_size);
kernel/events/core.c
9521
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
9523
perf_output_end(&handle);
kernel/events/core.c
9621
struct perf_output_handle handle;
kernel/events/core.c
9642
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
9655
perf_output_put(&handle, mmap_event->event_id);
kernel/events/core.c
9661
__output_copy(&handle, size, 4);
kernel/events/core.c
9662
__output_copy(&handle, mmap_event->build_id, BUILD_ID_SIZE_MAX);
kernel/events/core.c
9664
perf_output_put(&handle, mmap_event->maj);
kernel/events/core.c
9665
perf_output_put(&handle, mmap_event->min);
kernel/events/core.c
9666
perf_output_put(&handle, mmap_event->ino);
kernel/events/core.c
9667
perf_output_put(&handle, mmap_event->ino_generation);
kernel/events/core.c
9669
perf_output_put(&handle, mmap_event->prot);
kernel/events/core.c
9670
perf_output_put(&handle, mmap_event->flags);
kernel/events/core.c
9673
__output_copy(&handle, mmap_event->file_name,
kernel/events/core.c
9676
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
9678
perf_output_end(&handle);
kernel/events/core.c
9927
struct perf_output_handle handle;
kernel/events/core.c
9947
ret = perf_output_begin(&handle, &sample, event, rec.header.size);
kernel/events/core.c
9952
perf_output_put(&handle, rec);
kernel/events/core.c
9953
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
9955
perf_output_end(&handle);
kernel/events/core.c
9963
struct perf_output_handle handle;
kernel/events/core.c
9981
ret = perf_output_begin(&handle, &sample, event,
kernel/events/core.c
9986
perf_output_put(&handle, lost_samples_event);
kernel/events/core.c
9987
perf_event__output_id_sample(event, &handle, &sample);
kernel/events/core.c
9988
perf_output_end(&handle);
kernel/events/internal.h
141
size = min(handle->size, len); \
kernel/events/internal.h
146
handle->addr += written; \
kernel/events/internal.h
149
handle->size -= written; \
kernel/events/internal.h
150
if (!handle->size) { \
kernel/events/internal.h
151
struct perf_buffer *rb = handle->rb; \
kernel/events/internal.h
153
handle->page++; \
kernel/events/internal.h
154
handle->page &= rb->nr_pages - 1; \
kernel/events/internal.h
155
handle->addr = rb->data_pages[handle->page]; \
kernel/events/internal.h
156
handle->size = PAGE_SIZE << page_order(rb); \
kernel/events/internal.h
165
func_name(struct perf_output_handle *handle, \
kernel/events/internal.h
167
__DEFINE_OUTPUT_COPY_BODY(true, memcpy_func, handle->addr, buf, size)
kernel/events/internal.h
170
__output_custom(struct perf_output_handle *handle, perf_copy_f copy_func,
kernel/events/internal.h
174
__DEFINE_OUTPUT_COPY_BODY(false, copy_func, handle->addr, buf,
kernel/events/ring_buffer.c
134
if (handle->wakeup != local_read(&rb->wakeup))
kernel/events/ring_buffer.c
135
perf_output_wakeup(handle);
kernel/events/ring_buffer.c
153
__perf_output_begin(struct perf_output_handle *handle,
kernel/events/ring_buffer.c
186
handle->rb = rb;
kernel/events/ring_buffer.c
187
handle->event = event;
kernel/events/ring_buffer.c
188
handle->flags = 0;
kernel/events/ring_buffer.c
197
perf_output_get_handle(handle);
kernel/events/ring_buffer.c
20
static void perf_output_wakeup(struct perf_output_handle *handle)
kernel/events/ring_buffer.c
22
atomic_set(&handle->rb->poll, EPOLLIN | EPOLLRDNORM);
kernel/events/ring_buffer.c
24
handle->event->pending_wakeup = 1;
kernel/events/ring_buffer.c
243
handle->page = (offset >> page_shift) & (rb->nr_pages - 1);
kernel/events/ring_buffer.c
245
handle->addr = rb->data_pages[handle->page] + offset;
kernel/events/ring_buffer.c
246
handle->size = (1UL << page_shift) - offset;
kernel/events/ring_buffer.c
257
perf_output_put(handle, lost_event);
kernel/events/ring_buffer.c
258
perf_event__output_id_sample(event, handle, data);
kernel/events/ring_buffer.c
26
if (*perf_event_fasync(handle->event) && !handle->event->pending_kill)
kernel/events/ring_buffer.c
266
perf_output_put_handle(handle);
kernel/events/ring_buffer.c
27
handle->event->pending_kill = POLL_IN;
kernel/events/ring_buffer.c
273
int perf_output_begin_forward(struct perf_output_handle *handle,
kernel/events/ring_buffer.c
277
return __perf_output_begin(handle, data, event, size, false);
kernel/events/ring_buffer.c
280
int perf_output_begin_backward(struct perf_output_handle *handle,
kernel/events/ring_buffer.c
284
return __perf_output_begin(handle, data, event, size, true);
kernel/events/ring_buffer.c
287
int perf_output_begin(struct perf_output_handle *handle,
kernel/events/ring_buffer.c
29
irq_work_queue(&handle->event->pending_irq);
kernel/events/ring_buffer.c
292
return __perf_output_begin(handle, data, event, size,
kernel/events/ring_buffer.c
296
unsigned int perf_output_copy(struct perf_output_handle *handle,
kernel/events/ring_buffer.c
299
return __output_copy(handle, buf, len);
kernel/events/ring_buffer.c
302
unsigned int perf_output_skip(struct perf_output_handle *handle,
kernel/events/ring_buffer.c
305
return __output_skip(handle, NULL, len);
kernel/events/ring_buffer.c
308
void perf_output_end(struct perf_output_handle *handle)
kernel/events/ring_buffer.c
310
perf_output_put_handle(handle);
kernel/events/ring_buffer.c
345
void perf_aux_output_flag(struct perf_output_handle *handle, u64 flags)
kernel/events/ring_buffer.c
354
handle->aux_flags |= flags;
kernel/events/ring_buffer.c
372
void *perf_aux_output_begin(struct perf_output_handle *handle,
kernel/events/ring_buffer.c
40
static void perf_output_get_handle(struct perf_output_handle *handle)
kernel/events/ring_buffer.c
42
struct perf_buffer *rb = handle->rb;
kernel/events/ring_buffer.c
421
handle->rb = rb;
kernel/events/ring_buffer.c
422
handle->event = event;
kernel/events/ring_buffer.c
423
handle->head = aux_head;
kernel/events/ring_buffer.c
424
handle->size = 0;
kernel/events/ring_buffer.c
425
handle->aux_flags = 0;
kernel/events/ring_buffer.c
434
handle->wakeup = rb->aux_wakeup + rb->aux_watermark;
kernel/events/ring_buffer.c
436
handle->size = CIRC_SPACE(aux_head, aux_tail, perf_aux_size(rb));
kernel/events/ring_buffer.c
443
if (!handle->size) { /* A, matches D */
kernel/events/ring_buffer.c
444
perf_event_disable_inatomic(handle->event);
kernel/events/ring_buffer.c
445
perf_output_wakeup(handle);
kernel/events/ring_buffer.c
451
return handle->rb->aux_priv;
kernel/events/ring_buffer.c
459
handle->event = NULL;
kernel/events/ring_buffer.c
488
void perf_aux_output_end(struct perf_output_handle *handle, unsigned long size)
kernel/events/ring_buffer.c
490
bool wakeup = !!(handle->aux_flags & PERF_AUX_FLAG_TRUNCATED);
kernel/events/ring_buffer.c
491
struct perf_buffer *rb = handle->rb;
kernel/events/ring_buffer.c
496
handle->aux_flags |= PERF_AUX_FLAG_OVERWRITE;
kernel/events/ring_buffer.c
498
aux_head = handle->head;
kernel/events/ring_buffer.c
501
handle->aux_flags &= ~PERF_AUX_FLAG_OVERWRITE;
kernel/events/ring_buffer.c
51
handle->wakeup = local_read(&rb->wakeup);
kernel/events/ring_buffer.c
519
if (size || (handle->aux_flags & ~(u64)PERF_AUX_FLAG_OVERWRITE))
kernel/events/ring_buffer.c
520
perf_event_aux_event(handle->event, aux_head, size,
kernel/events/ring_buffer.c
521
handle->aux_flags);
kernel/events/ring_buffer.c
528
if (handle->aux_flags & PERF_AUX_FLAG_TRUNCATED)
kernel/events/ring_buffer.c
529
perf_event_disable_inatomic(handle->event);
kernel/events/ring_buffer.c
530
perf_output_wakeup(handle);
kernel/events/ring_buffer.c
533
handle->event = NULL;
kernel/events/ring_buffer.c
54
static void perf_output_put_handle(struct perf_output_handle *handle)
kernel/events/ring_buffer.c
546
int perf_aux_output_skip(struct perf_output_handle *handle, unsigned long size)
kernel/events/ring_buffer.c
548
struct perf_buffer *rb = handle->rb;
kernel/events/ring_buffer.c
550
if (size > handle->size)
kernel/events/ring_buffer.c
557
perf_output_wakeup(handle);
kernel/events/ring_buffer.c
558
handle->wakeup = rb->aux_wakeup + rb->aux_watermark;
kernel/events/ring_buffer.c
56
struct perf_buffer *rb = handle->rb;
kernel/events/ring_buffer.c
561
handle->head = rb->aux_head;
kernel/events/ring_buffer.c
562
handle->size -= size;
kernel/events/ring_buffer.c
568
void *perf_get_aux(struct perf_output_handle *handle)
kernel/events/ring_buffer.c
571
if (!handle->event)
kernel/events/ring_buffer.c
574
return handle->rb->aux_priv;
kernel/events/ring_buffer.c
582
struct perf_output_handle *handle,
kernel/events/ring_buffer.c
602
remainder = perf_output_copy(handle, addr, tocopy);
kernel/irq/chip.c
1009
void __irq_set_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained,
kernel/irq/chip.c
1013
__irq_do_set_handler(scoped_irqdesc, handle, is_chained, name);
kernel/irq/chip.c
1017
void irq_set_chained_handler_and_data(unsigned int irq, irq_flow_handler_t handle,
kernel/irq/chip.c
1024
__irq_do_set_handler(desc, handle, 1, NULL);
kernel/irq/chip.c
1031
irq_flow_handler_t handle, const char *name)
kernel/irq/chip.c
1034
__irq_set_handler(irq, handle, 0, name);
kernel/irq/chip.c
937
__irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
kernel/irq/chip.c
940
if (!handle) {
kernel/irq/chip.c
941
handle = handle_bad_irq;
kernel/irq/chip.c
971
if (handle == handle_bad_irq) {
kernel/irq/chip.c
981
desc->handle_irq = handle;
kernel/irq/chip.c
984
if (handle != handle_bad_irq && is_chained) {
kernel/irq/chip.c
997
desc->handle_irq = handle;
kernel/kcov.c
107
static struct kcov_remote *kcov_remote_find(u64 handle)
kernel/kcov.c
111
hash_for_each_possible(kcov_remote_map, remote, hnode, handle) {
kernel/kcov.c
112
if (remote->handle == handle)
kernel/kcov.c
119
static struct kcov_remote *kcov_remote_add(struct kcov *kcov, u64 handle)
kernel/kcov.c
123
if (kcov_remote_find(handle))
kernel/kcov.c
128
remote->handle = handle;
kernel/kcov.c
130
hash_add(kcov_remote_map, &remote->hnode, handle);
kernel/kcov.c
577
static inline bool kcov_check_handle(u64 handle, bool common_valid,
kernel/kcov.c
580
if (handle & ~(KCOV_SUBSYSTEM_MASK | KCOV_INSTANCE_MASK))
kernel/kcov.c
582
switch (handle & KCOV_SUBSYSTEM_MASK) {
kernel/kcov.c
584
return (handle & KCOV_INSTANCE_MASK) ?
kernel/kcov.c
82
u64 handle;
kernel/kcov.c
861
void kcov_remote_start(u64 handle)
kernel/kcov.c
872
if (WARN_ON(!kcov_check_handle(handle, true, true, true)))
kernel/kcov.c
899
remote = kcov_remote_find(handle);
kernel/kcov.c
905
kcov_debug("handle = %llx, context: %s\n", handle,
kernel/power/power.h
159
#define data_of(handle) ((handle).buffer)
kernel/power/power.h
163
extern int snapshot_read_next(struct snapshot_handle *handle);
kernel/power/power.h
164
extern int snapshot_write_next(struct snapshot_handle *handle);
kernel/power/power.h
165
int snapshot_write_finalize(struct snapshot_handle *handle);
kernel/power/power.h
166
extern int snapshot_image_loaded(struct snapshot_handle *handle);
kernel/power/snapshot.c
2235
int snapshot_read_next(struct snapshot_handle *handle)
kernel/power/snapshot.c
2237
if (handle->cur > nr_meta_pages + nr_copy_pages)
kernel/power/snapshot.c
2246
if (!handle->cur) {
kernel/power/snapshot.c
2252
handle->buffer = buffer;
kernel/power/snapshot.c
2255
} else if (handle->cur <= nr_meta_pages) {
kernel/power/snapshot.c
2273
handle->buffer = buffer;
kernel/power/snapshot.c
2275
handle->buffer = page_address(page);
kernel/power/snapshot.c
2278
handle->cur++;
kernel/power/snapshot.c
2769
int snapshot_write_next(struct snapshot_handle *handle)
kernel/power/snapshot.c
2776
if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages + nr_zero_pages)
kernel/power/snapshot.c
2779
if (!handle->cur) {
kernel/power/snapshot.c
2787
handle->buffer = buffer;
kernel/power/snapshot.c
2788
} else if (handle->cur == 1) {
kernel/power/snapshot.c
2806
} else if (handle->cur <= nr_meta_pages + 1) {
kernel/power/snapshot.c
2811
if (handle->cur == nr_meta_pages + 1) {
kernel/power/snapshot.c
2820
handle->buffer = get_buffer(&orig_bm, &ca);
kernel/power/snapshot.c
2821
if (IS_ERR(handle->buffer))
kernel/power/snapshot.c
2822
return PTR_ERR(handle->buffer);
kernel/power/snapshot.c
2826
error = hibernate_restore_protect_page(handle->buffer);
kernel/power/snapshot.c
2829
handle->buffer = get_buffer(&orig_bm, &ca);
kernel/power/snapshot.c
2830
if (IS_ERR(handle->buffer))
kernel/power/snapshot.c
2831
return PTR_ERR(handle->buffer);
kernel/power/snapshot.c
2833
handle->sync_read = (handle->buffer == buffer);
kernel/power/snapshot.c
2834
handle->cur++;
kernel/power/snapshot.c
2837
if (handle->cur > nr_meta_pages + 1 &&
kernel/power/snapshot.c
2839
memset(handle->buffer, 0, PAGE_SIZE);
kernel/power/snapshot.c
2854
int snapshot_write_finalize(struct snapshot_handle *handle)
kernel/power/snapshot.c
2864
if (handle->cur > nr_meta_pages + 1) {
kernel/power/snapshot.c
2865
error = snapshot_write_next(handle);
kernel/power/snapshot.c
2870
error = hibernate_restore_protect_page(handle->buffer);
kernel/power/snapshot.c
2872
if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages + nr_zero_pages) {
kernel/power/snapshot.c
2879
int snapshot_image_loaded(struct snapshot_handle *handle)
kernel/power/snapshot.c
2882
handle->cur <= nr_meta_pages + nr_copy_pages + nr_zero_pages);
kernel/power/swap.c
1000
handle->cur = NULL;
kernel/power/swap.c
1003
static int get_swap_reader(struct swap_map_handle *handle,
kernel/power/swap.c
1015
handle->cur = NULL;
kernel/power/swap.c
1016
last = handle->maps = NULL;
kernel/power/swap.c
1019
tmp = kzalloc_obj(*handle->maps);
kernel/power/swap.c
1021
release_swap_reader(handle);
kernel/power/swap.c
1024
if (!handle->maps)
kernel/power/swap.c
1025
handle->maps = tmp;
kernel/power/swap.c
1033
release_swap_reader(handle);
kernel/power/swap.c
1039
release_swap_reader(handle);
kernel/power/swap.c
1044
handle->k = 0;
kernel/power/swap.c
1045
handle->cur = handle->maps->map;
kernel/power/swap.c
1049
static int swap_read_page(struct swap_map_handle *handle, void *buf,
kernel/power/swap.c
1056
if (!handle->cur)
kernel/power/swap.c
1058
offset = handle->cur->entries[handle->k];
kernel/power/swap.c
1067
if (++handle->k >= MAP_PAGE_ENTRIES) {
kernel/power/swap.c
1068
handle->k = 0;
kernel/power/swap.c
1069
free_page((unsigned long)handle->maps->map);
kernel/power/swap.c
1070
tmp = handle->maps;
kernel/power/swap.c
1071
handle->maps = handle->maps->next;
kernel/power/swap.c
1073
if (!handle->maps)
kernel/power/swap.c
1074
release_swap_reader(handle);
kernel/power/swap.c
1076
handle->cur = handle->maps->map;
kernel/power/swap.c
1081
static int swap_reader_finish(struct swap_map_handle *handle)
kernel/power/swap.c
1083
release_swap_reader(handle);
kernel/power/swap.c
1088
static int load_image(struct swap_map_handle *handle,
kernel/power/swap.c
1113
ret = swap_read_page(handle, data_of(*snapshot), &hb);
kernel/power/swap.c
1192
static int load_compressed_image(struct swap_map_handle *handle,
kernel/power/swap.c
1282
handle->crc32 = 0;
kernel/power/swap.c
1283
crc->crc32 = &handle->crc32;
kernel/power/swap.c
1342
ret = swap_read_page(handle, page[ring], &hb);
kernel/power/swap.c
1348
if (handle->cur &&
kernel/power/swap.c
1349
handle->cur->entries[handle->k]) {
kernel/power/swap.c
1490
if(handle->crc32 != swsusp_header->crc32) {
kernel/power/swap.c
1530
struct swap_map_handle handle;
kernel/power/swap.c
1539
error = get_swap_reader(&handle, flags_p);
kernel/power/swap.c
1543
error = swap_read_page(&handle, header, NULL);
kernel/power/swap.c
1546
load_image(&handle, &snapshot, header->pages - 1) :
kernel/power/swap.c
1547
load_compressed_image(&handle, &snapshot, header->pages - 1);
kernel/power/swap.c
1549
swap_reader_finish(&handle);
kernel/power/swap.c
302
static int mark_swapfiles(struct swap_map_handle *handle, unsigned int flags)
kernel/power/swap.c
311
swsusp_header->image = handle->first_sector;
kernel/power/swap.c
318
swsusp_header->crc32 = handle->crc32;
kernel/power/swap.c
387
static void release_swap_writer(struct swap_map_handle *handle)
kernel/power/swap.c
389
if (handle->cur)
kernel/power/swap.c
390
free_page((unsigned long)handle->cur);
kernel/power/swap.c
391
handle->cur = NULL;
kernel/power/swap.c
394
static int get_swap_writer(struct swap_map_handle *handle)
kernel/power/swap.c
404
handle->cur = (struct swap_map_page *)get_zeroed_page(GFP_KERNEL);
kernel/power/swap.c
405
if (!handle->cur) {
kernel/power/swap.c
409
handle->cur_swap = alloc_swapdev_block(root_swap);
kernel/power/swap.c
410
if (!handle->cur_swap) {
kernel/power/swap.c
414
handle->k = 0;
kernel/power/swap.c
415
handle->reqd_free_pages = reqd_free_pages();
kernel/power/swap.c
416
handle->first_sector = handle->cur_swap;
kernel/power/swap.c
419
release_swap_writer(handle);
kernel/power/swap.c
425
static int swap_write_page(struct swap_map_handle *handle, void *buf,
kernel/power/swap.c
431
if (!handle->cur)
kernel/power/swap.c
437
handle->cur->entries[handle->k++] = offset;
kernel/power/swap.c
438
if (handle->k >= MAP_PAGE_ENTRIES) {
kernel/power/swap.c
442
handle->cur->next_swap = offset;
kernel/power/swap.c
443
error = write_page(handle->cur, handle->cur_swap, hb);
kernel/power/swap.c
446
clear_page(handle->cur);
kernel/power/swap.c
447
handle->cur_swap = offset;
kernel/power/swap.c
448
handle->k = 0;
kernel/power/swap.c
450
if (hb && low_free_pages() <= handle->reqd_free_pages) {
kernel/power/swap.c
458
handle->reqd_free_pages = reqd_free_pages();
kernel/power/swap.c
465
static int flush_swap_writer(struct swap_map_handle *handle)
kernel/power/swap.c
467
if (handle->cur && handle->cur_swap)
kernel/power/swap.c
468
return write_page(handle->cur, handle->cur_swap, NULL);
kernel/power/swap.c
473
static int swap_writer_finish(struct swap_map_handle *handle,
kernel/power/swap.c
478
error = mark_swapfiles(handle, flags);
kernel/power/swap.c
480
flush_swap_writer(handle);
kernel/power/swap.c
485
release_swap_writer(handle);
kernel/power/swap.c
517
static int save_image(struct swap_map_handle *handle,
kernel/power/swap.c
542
ret = swap_write_page(handle, data_of(*snapshot), &hb);
kernel/power/swap.c
691
static int save_compressed_image(struct swap_map_handle *handle,
kernel/power/swap.c
778
handle->crc32 = 0;
kernel/power/swap.c
779
crc->crc32 = &handle->crc32;
kernel/power/swap.c
797
handle->reqd_free_pages = reqd_free_pages();
kernel/power/swap.c
876
ret = swap_write_page(handle, page, &hb);
kernel/power/swap.c
945
struct swap_map_handle handle;
kernel/power/swap.c
952
error = get_swap_writer(&handle);
kernel/power/swap.c
973
error = swap_write_page(&handle, header, NULL);
kernel/power/swap.c
976
save_image(&handle, &snapshot, pages - 1) :
kernel/power/swap.c
977
save_compressed_image(&handle, &snapshot, pages - 1);
kernel/power/swap.c
980
error = swap_writer_finish(&handle, flags, error);
kernel/power/swap.c
989
static void release_swap_reader(struct swap_map_handle *handle)
kernel/power/swap.c
993
while (handle->maps) {
kernel/power/swap.c
994
if (handle->maps->map)
kernel/power/swap.c
995
free_page((unsigned long)handle->maps->map);
kernel/power/swap.c
996
tmp = handle->maps;
kernel/power/swap.c
997
handle->maps = handle->maps->next;
kernel/power/user.c
150
res = snapshot_read_next(&data->handle);
kernel/power/user.c
158
data_of(data->handle), res);
kernel/power/user.c
186
res = snapshot_write_next(&data->handle);
kernel/power/user.c
193
if (!data_of(data->handle)) {
kernel/power/user.c
198
res = simple_write_to_buffer(data_of(data->handle), res, &pg_offp,
kernel/power/user.c
32
struct snapshot_handle handle;
kernel/power/user.c
322
error = snapshot_write_finalize(&data->handle);
kernel/power/user.c
326
!snapshot_image_loaded(&data->handle)) {
kernel/power/user.c
335
memset(&data->handle, 0, sizeof(struct snapshot_handle));
kernel/power/user.c
71
memset(&data->handle, 0, sizeof(struct snapshot_handle));
lib/alloc_tag.c
181
union pgtag_ref_handle handle;
lib/alloc_tag.c
184
if (get_page_tag_ref(folio_page(folio, i), &ref, &handle)) {
lib/alloc_tag.c
187
update_page_tag_ref(handle, &ref);
lib/alloc_tag.c
188
put_page_tag_ref(handle);
lib/stackdepot.c
385
stack->handle.pool_index_plus_1 = pool_index + 1;
lib/stackdepot.c
386
stack->handle.offset = pool_offset >> DEPOT_STACK_ALIGN;
lib/stackdepot.c
387
stack->handle.extra = 0;
lib/stackdepot.c
493
static struct stack_record *depot_fetch_stack(depot_stack_handle_t handle)
lib/stackdepot.c
497
union handle_parts parts = { .handle = handle };
lib/stackdepot.c
507
pool_index, pools_num_cached, handle);
lib/stackdepot.c
648
depot_stack_handle_t handle = 0;
lib/stackdepot.c
738
handle = found->handle.handle;
lib/stackdepot.c
739
return handle;
lib/stackdepot.c
752
struct stack_record *__stack_depot_get_stack_record(depot_stack_handle_t handle)
lib/stackdepot.c
754
if (!handle)
lib/stackdepot.c
757
return depot_fetch_stack(handle);
lib/stackdepot.c
760
unsigned int stack_depot_fetch(depot_stack_handle_t handle,
lib/stackdepot.c
772
if (!handle || stack_depot_disabled)
lib/stackdepot.c
775
stack = depot_fetch_stack(handle);
lib/stackdepot.c
788
void stack_depot_put(depot_stack_handle_t handle)
lib/stackdepot.c
792
if (!handle || stack_depot_disabled)
lib/stackdepot.c
795
stack = depot_fetch_stack(handle);
lib/stackdepot.c
819
int stack_depot_snprint(depot_stack_handle_t handle, char *buf, size_t size,
lib/stackdepot.c
825
nr_entries = stack_depot_fetch(handle, &entries);
lib/stackdepot.c
832
depot_stack_handle_t handle, unsigned int extra_bits)
lib/stackdepot.c
834
union handle_parts parts = { .handle = handle };
lib/stackdepot.c
837
if (!handle)
lib/stackdepot.c
841
return parts.handle;
lib/stackdepot.c
845
unsigned int stack_depot_get_extra_bits(depot_stack_handle_t handle)
lib/stackdepot.c
847
union handle_parts parts = { .handle = handle };
mm/dmapool.c
408
dma_addr_t *handle)
mm/dmapool.c
435
*handle = block->dma;
mm/kmsan/core.c
151
depot_stack_handle_t handle;
mm/kmsan/core.c
187
handle = stack_depot_save(entries, ARRAY_SIZE(entries), __GFP_HIGH);
mm/kmsan/core.c
188
return stack_depot_set_extra_bits(handle, extra_bits);
mm/kmsan/core.c
55
depot_stack_handle_t handle;
mm/kmsan/core.c
57
handle = kmsan_save_stack_with_flags(flags, extra_bits);
mm/kmsan/core.c
58
kmsan_internal_set_shadow_origin(address, size, -1, handle, checked);
mm/kmsan/core.c
71
depot_stack_handle_t handle;
mm/kmsan/core.c
75
handle = stack_depot_save(entries, nr_entries, flags);
mm/kmsan/core.c
76
return stack_depot_set_extra_bits(handle, extra);
mm/kmsan/instrumentation.c
263
depot_stack_handle_t handle;
mm/kmsan/instrumentation.c
286
handle = stack_depot_save(entries, ARRAY_SIZE(entries), __GFP_HIGH);
mm/kmsan/instrumentation.c
289
kmsan_internal_set_shadow_origin(address, size, -1, handle,
mm/kmsan/kmsan_test.c
675
depot_stack_handle_t handle;
mm/kmsan/kmsan_test.c
681
handle = stack_depot_save(src_entries, src_nentries, GFP_KERNEL);
mm/kmsan/kmsan_test.c
682
stack_depot_print(handle);
mm/kmsan/kmsan_test.c
683
dst_nentries = stack_depot_fetch(handle, &dst_entries);
mm/kmsan/shadow.c
174
depot_stack_handle_t handle;
mm/kmsan/shadow.c
195
handle = kmsan_save_stack_with_flags(flags, /*extra_bits*/ 0);
mm/kmsan/shadow.c
201
for (int i = 0; i < PAGE_SIZE * pages / sizeof(handle); i++)
mm/kmsan/shadow.c
202
((depot_stack_handle_t *)page_address(origin))[i] = handle;
mm/memcontrol-v1.c
1373
bool mem_cgroup_oom_synchronize(bool handle)
mm/memcontrol-v1.c
1383
if (!handle)
mm/page_alloc.c
1274
union pgtag_ref_handle handle;
mm/page_alloc.c
1277
if (get_page_tag_ref(page, &ref, &handle)) {
mm/page_alloc.c
1279
update_page_tag_ref(handle, &ref);
mm/page_alloc.c
1280
put_page_tag_ref(handle);
mm/page_alloc.c
1289
union pgtag_ref_handle handle;
mm/page_alloc.c
1292
if (get_page_tag_ref(page, &ref, &handle)) {
mm/page_alloc.c
1294
update_page_tag_ref(handle, &ref);
mm/page_alloc.c
1295
put_page_tag_ref(handle);
mm/page_alloc.c
1310
union pgtag_ref_handle handle;
mm/page_alloc.c
1313
if (get_page_tag_ref(page, &ref, &handle)) {
mm/page_alloc.c
1315
update_page_tag_ref(handle, &ref);
mm/page_alloc.c
1316
put_page_tag_ref(handle);
mm/page_owner.c
158
depot_stack_handle_t handle;
mm/page_owner.c
166
handle = stack_depot_save(entries, nr_entries, flags);
mm/page_owner.c
167
if (!handle)
mm/page_owner.c
168
handle = failure_handle;
mm/page_owner.c
171
return handle;
mm/page_owner.c
206
static void inc_stack_record_count(depot_stack_handle_t handle, gfp_t gfp_mask,
mm/page_owner.c
209
struct stack_record *stack_record = __stack_depot_get_stack_record(handle);
mm/page_owner.c
231
static void dec_stack_record_count(depot_stack_handle_t handle,
mm/page_owner.c
234
struct stack_record *stack_record = __stack_depot_get_stack_record(handle);
mm/page_owner.c
241
handle);
mm/page_owner.c
245
depot_stack_handle_t handle,
mm/page_owner.c
258
page_owner->handle = handle;
mm/page_owner.c
274
depot_stack_handle_t handle,
mm/page_owner.c
28
depot_stack_handle_t handle;
mm/page_owner.c
287
if (handle) {
mm/page_owner.c
289
page_owner->free_handle = handle;
mm/page_owner.c
301
depot_stack_handle_t handle;
mm/page_owner.c
311
alloc_handle = page_owner->handle;
mm/page_owner.c
320
handle = save_stack(__GFP_NOWARN);
mm/page_owner.c
321
__update_page_owner_free_handle(page, handle, order, current->pid,
mm/page_owner.c
339
depot_stack_handle_t handle;
mm/page_owner.c
341
handle = save_stack(gfp_mask);
mm/page_owner.c
342
__update_page_owner_handle(page, handle, order, gfp_mask, -1,
mm/page_owner.c
345
inc_stack_record_count(handle, gfp_mask, 1 << order);
mm/page_owner.c
397
migrate_handle = new_page_owner->handle;
mm/page_owner.c
398
__update_page_owner_handle(&newfolio->page, old_page_owner->handle,
mm/page_owner.c
420
old_page_owner->handle = migrate_handle;
mm/page_owner.c
550
depot_stack_handle_t handle)
mm/page_owner.c
578
ret += stack_depot_snprint(handle, kbuf + ret, count - ret, 0);
mm/page_owner.c
609
depot_stack_handle_t handle;
mm/page_owner.c
638
handle = READ_ONCE(page_owner->handle);
mm/page_owner.c
639
if (!handle)
mm/page_owner.c
642
stack_depot_print(handle);
mm/page_owner.c
644
handle = READ_ONCE(page_owner->free_handle);
mm/page_owner.c
645
if (!handle) {
mm/page_owner.c
650
stack_depot_print(handle);
mm/page_owner.c
666
depot_stack_handle_t handle;
mm/page_owner.c
739
handle = READ_ONCE(page_owner->handle);
mm/page_owner.c
740
if (!handle)
mm/page_owner.c
749
&page_owner_tmp, handle);
mm/page_owner.c
917
seq_printf(m, "handle: %d\n", stack_record->handle.handle);
mm/slub.c
1029
depot_stack_handle_t handle;
mm/slub.c
1034
handle = stack_depot_save(entries, nr_entries, gfp_flags);
mm/slub.c
1036
return handle;
mm/slub.c
1047
depot_stack_handle_t handle)
mm/slub.c
1052
p->handle = handle;
mm/slub.c
1063
depot_stack_handle_t handle = set_track_prepare(gfp_flags);
mm/slub.c
1065
set_track_update(s, object, alloc, addr, handle);
mm/slub.c
1081
depot_stack_handle_t handle __maybe_unused;
mm/slub.c
1089
handle = READ_ONCE(t->handle);
mm/slub.c
1090
if (handle)
mm/slub.c
1091
stack_depot_print(handle);
mm/slub.c
2004
unsigned long addr, depot_stack_handle_t handle) { return true; }
mm/slub.c
312
depot_stack_handle_t handle;
mm/slub.c
4116
unsigned long addr, depot_stack_handle_t handle)
mm/slub.c
4144
set_track_update(s, object, TRACK_FREE, addr, handle);
mm/slub.c
5406
depot_stack_handle_t handle = 0;
mm/slub.c
5413
handle = set_track_prepare(__GFP_NOWARN);
mm/slub.c
5417
if (free_debug_processing(s, slab, head, tail, &cnt, addr, handle)) {
mm/slub.c
7941
depot_stack_handle_t handle;
mm/slub.c
7945
handle = READ_ONCE(trackp->handle);
mm/slub.c
7946
if (handle) {
mm/slub.c
7947
nr_entries = stack_depot_fetch(handle, &entries);
mm/slub.c
7953
handle = READ_ONCE(trackp->handle);
mm/slub.c
7954
if (handle) {
mm/slub.c
7955
nr_entries = stack_depot_fetch(handle, &entries);
mm/slub.c
8631
depot_stack_handle_t handle;
mm/slub.c
8688
depot_stack_handle_t handle = 0;
mm/slub.c
8692
handle = READ_ONCE(track->handle);
mm/slub.c
8709
chandle = l->handle;
mm/slub.c
8711
if ((track->addr == caddr) && (handle == chandle) &&
mm/slub.c
8736
else if (track->addr == caddr && handle < chandle)
mm/slub.c
8738
else if (track->addr == caddr && handle == chandle &&
mm/slub.c
8763
l->handle = handle;
mm/slub.c
9651
depot_stack_handle_t handle;
mm/slub.c
9655
handle = READ_ONCE(l->handle);
mm/slub.c
9656
if (handle) {
mm/slub.c
9657
nr_entries = stack_depot_fetch(handle, &entries);
mm/zpdesc.h
38
unsigned long handle;
mm/zpdesc.h
58
ZPDESC_MATCH(__folio_index, handle);
mm/zsmalloc.c
1037
void *zs_obj_read_begin(struct zs_pool *pool, unsigned long handle,
mm/zsmalloc.c
1049
obj = handle_to_obj(handle);
mm/zsmalloc.c
1087
void zs_obj_read_end(struct zs_pool *pool, unsigned long handle,
mm/zsmalloc.c
1096
obj = handle_to_obj(handle);
mm/zsmalloc.c
1114
void zs_obj_read_sg_begin(struct zs_pool *pool, unsigned long handle,
mm/zsmalloc.c
1125
obj = handle_to_obj(handle);
mm/zsmalloc.c
1161
void zs_obj_read_sg_end(struct zs_pool *pool, unsigned long handle)
mm/zsmalloc.c
1168
obj = handle_to_obj(handle);
mm/zsmalloc.c
1176
void zs_obj_write(struct zs_pool *pool, unsigned long handle,
mm/zsmalloc.c
1187
obj = handle_to_obj(handle);
mm/zsmalloc.c
1245
struct zspage *zspage, unsigned long handle)
mm/zsmalloc.c
1272
link->handle = handle | OBJ_ALLOCATED_TAG;
mm/zsmalloc.c
1274
zspage->first_zpdesc->handle = handle | OBJ_ALLOCATED_TAG;
mm/zsmalloc.c
1280
record_obj(handle, obj);
mm/zsmalloc.c
1300
unsigned long handle;
mm/zsmalloc.c
1311
handle = cache_alloc_handle(gfp);
mm/zsmalloc.c
1312
if (!handle)
mm/zsmalloc.c
1323
obj_malloc(pool, zspage, handle);
mm/zsmalloc.c
1335
cache_free_handle(handle);
mm/zsmalloc.c
1340
obj_malloc(pool, zspage, handle);
mm/zsmalloc.c
1352
return handle;
mm/zsmalloc.c
1377
f_zpdesc->handle = 0;
mm/zsmalloc.c
1384
void zs_free(struct zs_pool *pool, unsigned long handle)
mm/zsmalloc.c
1392
if (IS_ERR_OR_NULL((void *)handle))
mm/zsmalloc.c
1400
obj = handle_to_obj(handle);
mm/zsmalloc.c
1415
cache_free_handle(handle);
mm/zsmalloc.c
1498
unsigned long handle = 0;
mm/zsmalloc.c
1505
if (obj_allocated(zpdesc, addr + offset, &handle))
mm/zsmalloc.c
1516
return handle;
mm/zsmalloc.c
1523
unsigned long handle;
mm/zsmalloc.c
1529
handle = find_alloced_obj(class, s_zpdesc, &obj_idx);
mm/zsmalloc.c
1530
if (!handle) {
mm/zsmalloc.c
1538
used_obj = handle_to_obj(handle);
mm/zsmalloc.c
1539
free_obj = obj_malloc(pool, dst_zspage, handle);
mm/zsmalloc.c
1672
newzpdesc->handle = oldzpdesc->handle;
mm/zsmalloc.c
1697
unsigned long handle;
mm/zsmalloc.c
1748
if (obj_allocated(zpdesc, addr, &handle)) {
mm/zsmalloc.c
1750
old_obj = handle_to_obj(handle);
mm/zsmalloc.c
1753
record_obj(handle, new_obj);
mm/zsmalloc.c
192
unsigned long handle;
mm/zsmalloc.c
382
static void cache_free_handle(unsigned long handle)
mm/zsmalloc.c
384
kmem_cache_free(handle_cachep, (void *)handle);
mm/zsmalloc.c
400
static void record_obj(unsigned long handle, unsigned long obj)
mm/zsmalloc.c
402
*(unsigned long *)handle = obj;
mm/zsmalloc.c
748
static unsigned long handle_to_obj(unsigned long handle)
mm/zsmalloc.c
750
return *(unsigned long *)handle;
mm/zsmalloc.c
756
unsigned long handle;
mm/zsmalloc.c
761
handle = zpdesc->handle;
mm/zsmalloc.c
763
handle = *(unsigned long *)obj;
mm/zsmalloc.c
765
if (!(handle & OBJ_ALLOCATED_TAG))
mm/zsmalloc.c
769
*phandle = handle & ~OBJ_TAG_MASK;
mm/zswap.c
1482
zs_free(pool->zs_pool, entry->handle);
mm/zswap.c
195
unsigned long handle;
mm/zswap.c
720
zs_free(entry->pool->zs_pool, entry->handle);
mm/zswap.c
860
unsigned long handle;
mm/zswap.c
908
handle = zs_malloc(pool->zs_pool, dlen, gfp, page_to_nid(page));
mm/zswap.c
909
if (IS_ERR_VALUE(handle)) {
mm/zswap.c
910
alloc_ret = PTR_ERR((void *)handle);
mm/zswap.c
914
zs_obj_write(pool->zs_pool, handle, dst, dlen);
mm/zswap.c
915
entry->handle = handle;
mm/zswap.c
941
zs_obj_read_sg_begin(pool->zs_pool, entry->handle, input, entry->length);
mm/zswap.c
964
zs_obj_read_sg_end(pool->zs_pool, entry->handle);
net/bluetooth/hci_conn.c
1082
int handle;
net/bluetooth/hci_conn.c
1086
handle = hci_conn_hash_alloc_unset(hdev);
net/bluetooth/hci_conn.c
1087
if (unlikely(handle < 0))
net/bluetooth/hci_conn.c
1090
return __hci_conn_add(hdev, type, dst, dst_type, role, handle);
net/bluetooth/hci_conn.c
1094
u8 dst_type, u8 role, u16 handle)
net/bluetooth/hci_conn.c
1096
if (handle > HCI_CONN_HANDLE_MAX)
net/bluetooth/hci_conn.c
1099
return __hci_conn_add(hdev, type, dst, dst_type, role, handle);
net/bluetooth/hci_conn.c
1114
if (HCI_CONN_HANDLE_UNSET(conn->handle))
net/bluetooth/hci_conn.c
1174
BT_DBG("%s hcon %p handle %d", hdev->name, conn, conn->handle);
net/bluetooth/hci_conn.c
1347
u8 hci_conn_set_handle(struct hci_conn *conn, u16 handle)
net/bluetooth/hci_conn.c
1351
bt_dev_dbg(hdev, "hcon %p handle 0x%4.4x", conn, handle);
net/bluetooth/hci_conn.c
1353
if (conn->handle == handle)
net/bluetooth/hci_conn.c
1356
if (handle > HCI_CONN_HANDLE_MAX) {
net/bluetooth/hci_conn.c
1358
handle, HCI_CONN_HANDLE_MAX);
net/bluetooth/hci_conn.c
1368
if (HCI_CONN_HANDLE_UNSET(conn->handle))
net/bluetooth/hci_conn.c
1369
ida_free(&hdev->unset_handle_ida, conn->handle);
net/bluetooth/hci_conn.c
1371
conn->handle = handle;
net/bluetooth/hci_conn.c
152
if (HCI_CONN_HANDLE_UNSET(conn->handle))
net/bluetooth/hci_conn.c
153
ida_free(&hdev->unset_handle_ida, conn->handle);
net/bluetooth/hci_conn.c
1821
cp.handle = qos->bcast.big;
net/bluetooth/hci_conn.c
192
clkoff_cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
200
static void hci_add_sco(struct hci_conn *conn, __u16 handle)
net/bluetooth/hci_conn.c
2037
cmd.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
2048
cmd.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
2067
conn->state != BT_CONNECT || HCI_CONN_HANDLE_UNSET(conn->handle))
net/bluetooth/hci_conn.c
212
cp.handle = cpu_to_le16(handle);
net/bluetooth/hci_conn.c
2458
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
2479
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
2624
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
2708
(ci + n)->handle = c->handle;
net/bluetooth/hci_conn.c
2744
ci.handle = conn->handle;
net/bluetooth/hci_conn.c
2834
__u16 handle)
net/bluetooth/hci_conn.c
2839
if (hchan->handle == handle)
net/bluetooth/hci_conn.c
2846
struct hci_chan *hci_chan_lookup_handle(struct hci_dev *hdev, __u16 handle)
net/bluetooth/hci_conn.c
285
__u16 handle = conn_handle->handle;
net/bluetooth/hci_conn.c
2855
hchan = __hci_chan_lookup_handle(hcon, handle);
net/bluetooth/hci_conn.c
305
cp.handle = cpu_to_le16(handle);
net/bluetooth/hci_conn.c
3093
bt_dev_dbg(hdev, "handle 0x%2.2x reason 0x%2.2x", conn->handle, reason);
net/bluetooth/hci_conn.c
407
static bool hci_setup_sync_conn(struct hci_conn *conn, __u16 handle)
net/bluetooth/hci_conn.c
420
cp.handle = cpu_to_le16(handle);
net/bluetooth/hci_conn.c
459
bool hci_setup_sync(struct hci_conn *conn, __u16 handle)
net/bluetooth/hci_conn.c
471
conn_handle->handle = handle;
net/bluetooth/hci_conn.c
480
return hci_setup_sync_conn(conn, handle);
net/bluetooth/hci_conn.c
49
__u16 handle;
net/bluetooth/hci_conn.c
503
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
529
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
550
hci_setup_sync(link->conn, conn->handle);
net/bluetooth/hci_conn.c
552
hci_add_sco(link->conn, conn->handle);
net/bluetooth/hci_conn.c
599
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
608
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_conn.c
866
u8 handle = PTR_UINT(data);
net/bluetooth/hci_conn.c
868
return hci_le_remove_cig_sync(hdev, handle);
net/bluetooth/hci_conn.c
871
static int hci_le_remove_cig(struct hci_dev *hdev, u8 handle)
net/bluetooth/hci_conn.c
873
bt_dev_dbg(hdev, "handle 0x%2.2x", handle);
net/bluetooth/hci_conn.c
875
return hci_cmd_sync_queue(hdev, remove_cig_sync, UINT_PTR(handle),
net/bluetooth/hci_conn.c
927
u8 role, u16 handle)
net/bluetooth/hci_conn.c
961
bt_dev_dbg(hdev, "dst %pMR handle 0x%4.4x", dst, handle);
net/bluetooth/hci_conn.c
977
conn->handle = handle;
net/bluetooth/hci_core.c
1732
adv->handle = 0x00;
net/bluetooth/hci_core.c
1734
adv->handle = instance;
net/bluetooth/hci_core.c
1884
int handle;
net/bluetooth/hci_core.c
1886
idr_for_each_entry(&hdev->adv_monitors_idr, monitor, handle)
net/bluetooth/hci_core.c
1908
if (monitor->handle)
net/bluetooth/hci_core.c
1909
idr_remove(&hdev->adv_monitors_idr, monitor->handle);
net/bluetooth/hci_core.c
1923
int min, max, handle;
net/bluetooth/hci_core.c
1933
handle = idr_alloc(&hdev->adv_monitors_idr, monitor, min, max,
net/bluetooth/hci_core.c
1938
if (handle < 0)
net/bluetooth/hci_core.c
1939
return handle;
net/bluetooth/hci_core.c
1941
monitor->handle = handle;
net/bluetooth/hci_core.c
1949
monitor->handle, status);
net/bluetooth/hci_core.c
1956
handle, status);
net/bluetooth/hci_core.c
1971
int handle;
net/bluetooth/hci_core.c
1976
monitor->handle, status);
net/bluetooth/hci_core.c
1980
handle = monitor->handle;
net/bluetooth/hci_core.c
1983
handle, status);
net/bluetooth/hci_core.c
1996
monitor->handle);
net/bluetooth/hci_core.c
2003
int hci_remove_single_adv_monitor(struct hci_dev *hdev, u16 handle)
net/bluetooth/hci_core.c
2005
struct adv_monitor *monitor = idr_find(&hdev->adv_monitors_idr, handle);
net/bluetooth/hci_core.c
2942
__u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle);
net/bluetooth/hci_core.c
2945
type = hci_conn_lookup_type(hdev, hci_handle(handle));
net/bluetooth/hci_core.c
3209
static void hci_add_acl_hdr(struct sk_buff *skb, __u16 handle, __u16 flags)
net/bluetooth/hci_core.c
3217
hdr->handle = cpu_to_le16(hci_handle_pack(handle, flags));
net/bluetooth/hci_core.c
3233
hci_add_acl_hdr(skb, conn->handle, flags);
net/bluetooth/hci_core.c
3262
hci_add_acl_hdr(skb, conn->handle, flags);
net/bluetooth/hci_core.c
3294
hdr.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_core.c
3312
static void hci_add_iso_hdr(struct sk_buff *skb, __u16 handle, __u8 flags)
net/bluetooth/hci_core.c
3320
hdr->handle = cpu_to_le16(hci_handle_pack(handle, flags));
net/bluetooth/hci_core.c
3339
hci_add_iso_hdr(skb, conn->handle, flags);
net/bluetooth/hci_core.c
3360
hci_add_iso_hdr(skb, conn->handle, flags);
net/bluetooth/hci_core.c
3836
__u16 handle, flags;
net/bluetooth/hci_core.c
3846
handle = __le16_to_cpu(hdr->handle);
net/bluetooth/hci_core.c
3847
flags = hci_flags(handle);
net/bluetooth/hci_core.c
3848
handle = hci_handle(handle);
net/bluetooth/hci_core.c
3851
handle, flags);
net/bluetooth/hci_core.c
3855
err = l2cap_recv_acldata(hdev, handle, skb, flags);
net/bluetooth/hci_core.c
3858
handle);
net/bluetooth/hci_core.c
3861
handle, err);
net/bluetooth/hci_core.c
3868
__u16 handle, flags;
net/bluetooth/hci_core.c
3878
handle = __le16_to_cpu(hdr->handle);
net/bluetooth/hci_core.c
3879
flags = hci_flags(handle);
net/bluetooth/hci_core.c
3880
handle = hci_handle(handle);
net/bluetooth/hci_core.c
3883
handle, flags);
net/bluetooth/hci_core.c
3889
err = sco_recv_scodata(hdev, handle, skb);
net/bluetooth/hci_core.c
3892
handle);
net/bluetooth/hci_core.c
3895
handle, err);
net/bluetooth/hci_core.c
3901
__u16 handle, flags;
net/bluetooth/hci_core.c
3911
handle = __le16_to_cpu(hdr->handle);
net/bluetooth/hci_core.c
3912
flags = hci_flags(handle);
net/bluetooth/hci_core.c
3913
handle = hci_handle(handle);
net/bluetooth/hci_core.c
3916
handle, flags);
net/bluetooth/hci_core.c
3918
err = iso_recv(hdev, handle, skb, flags);
net/bluetooth/hci_core.c
3921
handle);
net/bluetooth/hci_core.c
3924
handle, err);
net/bluetooth/hci_debugfs.c
1271
snprintf(name, sizeof(name), "%u", conn->handle);
net/bluetooth/hci_event.c
1097
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
1423
if (!cp || !cp->handle)
net/bluetooth/hci_event.c
1428
adv = hci_find_adv_instance(hdev, cp->handle);
net/bluetooth/hci_event.c
1607
adv = hci_find_adv_instance(hdev, set->handle);
net/bluetooth/hci_event.c
1616
else if (!set->handle)
net/bluetooth/hci_event.c
1628
else if (!set->handle)
net/bluetooth/hci_event.c
178
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
200
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
2174
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
2201
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
227
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
2288
__u16 handle;
net/bluetooth/hci_event.c
2299
handle = __le16_to_cpu(cp->handle);
net/bluetooth/hci_event.c
2301
bt_dev_dbg(hdev, "handle 0x%4.4x", handle);
net/bluetooth/hci_event.c
2305
acl = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_event.c
2336
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2363
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2515
auth_cp.handle = __cpu_to_le16(conn->handle);
net/bluetooth/hci_event.c
2540
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2567
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2578
static void hci_setup_sync_conn_status(struct hci_dev *hdev, __u16 handle,
net/bluetooth/hci_event.c
2584
bt_dev_dbg(hdev, "handle 0x%4.4x status 0x%2.2x", handle, status);
net/bluetooth/hci_event.c
2588
acl = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_event.c
2616
hci_setup_sync_conn_status(hdev, __le16_to_cpu(cp->handle), status);
net/bluetooth/hci_event.c
2632
hci_setup_sync_conn_status(hdev, __le16_to_cpu(cp->handle), status);
net/bluetooth/hci_event.c
2651
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2678
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2710
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2892
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2917
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
2940
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
3093
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_event.c
3177
if (!HCI_CONN_HANDLE_UNSET(conn->handle)) {
net/bluetooth/hci_event.c
3183
status = hci_conn_set_handle(conn, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3224
cp.handle = ev->handle;
net/bluetooth/hci_event.c
3234
cp.handle = ev->handle;
net/bluetooth/hci_event.c
3412
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3501
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3521
cp.handle = ev->handle;
net/bluetooth/hci_event.c
3541
cp.handle = ev->handle;
net/bluetooth/hci_event.c
3588
cp.handle = __cpu_to_le16(conn->handle);
net/bluetooth/hci_event.c
3606
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3684
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_event.c
3708
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3731
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
3744
cp.handle = ev->handle;
net/bluetooth/hci_event.c
3827
if (HCI_CONN_HANDLE_UNSET(conn->handle))
net/bluetooth/hci_event.c
3881
if (hci_conn_set_handle(conn, __le16_to_cpu(rp->handle[i])))
net/bluetooth/hci_event.c
3912
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
3984
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle));
net/bluetooth/hci_event.c
4029
adv = hci_find_adv_instance(hdev, cp->handle);
net/bluetooth/hci_event.c
4345
u16 handle;
net/bluetooth/hci_event.c
4347
handle = __le16_to_cpu(cp->cis[i].cis_handle);
net/bluetooth/hci_event.c
4349
conn = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_event.c
4498
__u16 handle, count;
net/bluetooth/hci_event.c
4501
handle = __le16_to_cpu(info->handle);
net/bluetooth/hci_event.c
4504
conn = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_event.c
4580
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
4808
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
4832
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
4955
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5060
if (!HCI_CONN_HANDLE_UNSET(conn->handle)) {
net/bluetooth/hci_event.c
5067
status = hci_conn_set_handle(conn, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5091
if (hci_setup_sync(conn, conn->parent->handle))
net/bluetooth/hci_event.c
5203
__le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5207
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
5715
bdaddr_t *local_rpa, u8 role, u16 handle,
net/bluetooth/hci_event.c
5788
if (!HCI_CONN_HANDLE_UNSET(conn->handle)) {
net/bluetooth/hci_event.c
5816
if (status || hci_conn_set_handle(conn, handle))
net/bluetooth/hci_event.c
5885
NULL, ev->role, le16_to_cpu(ev->handle),
net/bluetooth/hci_event.c
5899
&ev->local_rpa, ev->role, le16_to_cpu(ev->handle),
net/bluetooth/hci_event.c
5909
u16 handle = le16_to_cpu(ev->handle);
net/bluetooth/hci_event.c
5912
bt_dev_dbg(hdev, "sync handle 0x%4.4x", handle);
net/bluetooth/hci_event.c
5917
conn = hci_conn_hash_lookup_pa_sync_handle(hdev, handle);
net/bluetooth/hci_event.c
5951
adv = hci_find_adv_instance(hdev, ev->handle);
net/bluetooth/hci_event.c
5958
hci_remove_adv_instance(hdev, ev->handle);
net/bluetooth/hci_event.c
5959
mgmt_advertising_removed(NULL, hdev, ev->handle);
net/bluetooth/hci_event.c
5979
conn->adv_instance = ev->handle;
net/bluetooth/hci_event.c
5985
if (!ev->handle) {
net/bluetooth/hci_event.c
5998
static int hci_le_pa_term_sync(struct hci_dev *hdev, __le16 handle)
net/bluetooth/hci_event.c
6003
cp.handle = handle;
net/bluetooth/hci_event.c
6077
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6569
conn->sync_handle = le16_to_cpu(ev->handle);
net/bluetooth/hci_event.c
6575
hci_le_pa_term_sync(hdev, ev->handle);
net/bluetooth/hci_event.c
6589
pa_sync->sync_handle = le16_to_cpu(ev->handle);
net/bluetooth/hci_event.c
6651
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6703
bt_dev_dbg(hdev, "handle 0x%4.4x", __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6707
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6727
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_event.c
6754
neg.handle = ev->handle;
net/bluetooth/hci_event.c
6759
static void send_conn_param_neg_reply(struct hci_dev *hdev, u16 handle,
net/bluetooth/hci_event.c
6764
cp.handle = cpu_to_le16(handle);
net/bluetooth/hci_event.c
6777
u16 handle, min, max, latency, timeout;
net/bluetooth/hci_event.c
6779
bt_dev_dbg(hdev, "handle 0x%4.4x", __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6781
handle = le16_to_cpu(ev->handle);
net/bluetooth/hci_event.c
6789
hcon = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_event.c
6791
send_conn_param_neg_reply(hdev, handle,
net/bluetooth/hci_event.c
6797
send_conn_param_neg_reply(hdev, handle,
net/bluetooth/hci_event.c
6803
send_conn_param_neg_reply(hdev, handle,
net/bluetooth/hci_event.c
6828
cp.handle = ev->handle;
net/bluetooth/hci_event.c
6885
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
6918
u16 handle = __le16_to_cpu(ev->handle);
net/bluetooth/hci_event.c
6925
conn = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_event.c
6929
handle);
net/bluetooth/hci_event.c
6936
handle);
net/bluetooth/hci_event.c
7011
static void hci_le_reject_cis(struct hci_dev *hdev, __le16 handle)
net/bluetooth/hci_event.c
7016
cp.handle = handle;
net/bluetooth/hci_event.c
7021
static void hci_le_accept_cis(struct hci_dev *hdev, __le16 handle)
net/bluetooth/hci_event.c
7026
cp.handle = handle;
net/bluetooth/hci_event.c
7083
u8 handle = PTR_UINT(data);
net/bluetooth/hci_event.c
7085
return hci_le_terminate_big_sync(hdev, handle,
net/bluetooth/hci_event.c
7105
while ((conn = hci_conn_hash_lookup_big_state(hdev, ev->handle,
net/bluetooth/hci_event.c
7132
UINT_PTR(ev->handle), NULL);
net/bluetooth/hci_event.c
7152
conn = hci_conn_hash_lookup_big_sync_pend(hdev, ev->handle,
net/bluetooth/hci_event.c
7157
ev->handle);
net/bluetooth/hci_event.c
7167
u16 handle = le16_to_cpu(ev->bis[i]);
net/bluetooth/hci_event.c
7170
bis = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_event.c
7172
if (handle > HCI_CONN_HANDLE_MAX) {
net/bluetooth/hci_event.c
7173
bt_dev_dbg(hdev, "ignore too large handle %u", handle);
net/bluetooth/hci_event.c
7177
HCI_ROLE_SLAVE, handle);
net/bluetooth/hci_event.c
7187
bis->iso_qos.bcast.big = ev->handle;
net/bluetooth/hci_event.c
7209
u16 handle = le16_to_cpu(ev->bis[i]);
net/bluetooth/hci_event.c
7211
bis = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_event.c
722
u16 handle;
net/bluetooth/hci_event.c
7230
bt_dev_dbg(hdev, "big handle 0x%2.2x", ev->handle);
net/bluetooth/hci_event.c
7235
while ((bis = hci_conn_hash_lookup_big_state(hdev, ev->handle,
net/bluetooth/hci_event.c
727
handle = le16_to_cpu(rp->handle);
net/bluetooth/hci_event.c
7299
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle));
net/bluetooth/hci_event.c
731
conn = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_event.c
743
handle);
net/bluetooth/hci_event.c
813
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_event.c
837
conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
net/bluetooth/hci_sync.c
1187
set->handle = adv ? adv->handle : instance;
net/bluetooth/hci_sync.c
1214
cp.handle = instance;
net/bluetooth/hci_sync.c
1253
if (!cp->handle) {
net/bluetooth/hci_sync.c
1282
pdu->handle = adv ? adv->handle : instance;
net/bluetooth/hci_sync.c
1437
cp.handle = adv ? adv->handle : instance;
net/bluetooth/hci_sync.c
1456
err = hci_set_ext_adv_data_sync(hdev, cp.handle);
net/bluetooth/hci_sync.c
1495
pdu->handle = adv ? adv->handle : instance;
net/bluetooth/hci_sync.c
1577
set->handle = adv ? adv->handle : instance;
net/bluetooth/hci_sync.c
1623
cp.handle = instance;
net/bluetooth/hci_sync.c
1642
cp.handle = instance;
net/bluetooth/hci_sync.c
1667
pdu->handle = adv ? adv->handle : instance;
net/bluetooth/hci_sync.c
1688
cp.handle = instance;
net/bluetooth/hci_sync.c
1949
int hci_le_terminate_big_sync(struct hci_dev *hdev, u8 handle, u8 reason)
net/bluetooth/hci_sync.c
1954
cp.handle = handle;
net/bluetooth/hci_sync.c
2142
int hci_read_rssi_sync(struct hci_dev *hdev, __le16 handle)
net/bluetooth/hci_sync.c
2146
cp.handle = handle;
net/bluetooth/hci_sync.c
2157
int hci_read_tx_power_sync(struct hci_dev *hdev, __le16 handle, u8 type)
net/bluetooth/hci_sync.c
2161
cp.handle = handle;
net/bluetooth/hci_sync.c
5582
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_sync.c
5689
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_sync.c
5721
u16 handle = conn->handle;
net/bluetooth/hci_sync.c
5747
c = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/hci_sync.c
6422
cp.handle = 0x00; /* Use instance 0 for directed adv */
net/bluetooth/hci_sync.c
6435
err = hci_remove_ext_adv_instance_sync(hdev, cp.handle, NULL);
net/bluetooth/hci_sync.c
6444
err = hci_set_ext_adv_data_sync(hdev, cp.handle);
net/bluetooth/hci_sync.c
6767
cis->acl_handle = cpu_to_le16(conn->parent->handle);
net/bluetooth/hci_sync.c
6768
cis->cis_handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_sync.c
6791
int hci_le_remove_cig_sync(struct hci_dev *hdev, u8 handle)
net/bluetooth/hci_sync.c
6796
cp.cig_id = handle;
net/bluetooth/hci_sync.c
6802
int hci_le_big_terminate_sync(struct hci_dev *hdev, u8 handle)
net/bluetooth/hci_sync.c
6807
cp.handle = handle;
net/bluetooth/hci_sync.c
6813
int hci_le_pa_terminate_sync(struct hci_dev *hdev, u16 handle)
net/bluetooth/hci_sync.c
6818
cp.handle = cpu_to_le16(handle);
net/bluetooth/hci_sync.c
7042
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_sync.c
7095
cp.handle = cpu_to_le16(acl->handle);
net/bluetooth/hci_sync.c
7256
cp->handle = qos->bcast.big;
net/bluetooth/hci_sync.c
7282
hci_le_big_terminate_sync(hdev, cp->handle);
net/bluetooth/hci_sync.c
7324
cp.handle = cpu_to_le16(past->le->handle);
net/bluetooth/hci_sync.c
7347
cp.handle = cpu_to_le16(past->le->handle);
net/bluetooth/hci_sync.c
7405
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_sync.c
7437
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_sync.c
7507
cp->handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_sync.c
7548
cp->handle = cpu_to_le16(conn->handle);
net/bluetooth/hci_sysfs.c
46
dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle);
net/bluetooth/iso.c
1559
cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/iso.c
2010
return ev->handle == iso_pi(sk)->qos.bcast.big;
net/bluetooth/iso.c
2259
iso_pi(sk)->sync_handle = le16_to_cpu(ev1->handle);
net/bluetooth/iso.c
2451
int iso_recv(struct hci_dev *hdev, u16 handle, struct sk_buff *skb, u16 flags)
net/bluetooth/iso.c
2460
hcon = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/l2cap_core.c
7622
int l2cap_recv_acldata(struct hci_dev *hdev, u16 handle,
net/bluetooth/l2cap_core.c
7632
hcon = hci_conn_hash_lookup_handle(hdev, handle);
net/bluetooth/l2cap_sock.c
537
cinfo.hci_handle = chan->conn->hcon->handle;
net/bluetooth/mgmt.c
10265
void mgmt_adv_monitor_device_lost(struct hci_dev *hdev, u16 handle,
net/bluetooth/mgmt.c
10270
ev.monitor_handle = cpu_to_le16(handle);
net/bluetooth/mgmt.c
10281
u16 handle)
net/bluetooth/mgmt.c
10302
*monitor_handle = cpu_to_le16(handle);
net/bluetooth/mgmt.c
10346
dev->handle);
net/bluetooth/mgmt.c
1085
u8 handle = mesh_tx->handle;
net/bluetooth/mgmt.c
1088
mgmt_event(MGMT_EV_MESH_PACKET_CMPLT, hdev, &handle,
net/bluetooth/mgmt.c
1089
sizeof(handle), NULL);
net/bluetooth/mgmt.c
2345
mesh_tx->handle);
net/bluetooth/mgmt.c
2385
rp->handles[rp->used_handles++] = mesh_tx->handle;
net/bluetooth/mgmt.c
2421
if (!cancel->handle) {
net/bluetooth/mgmt.c
2429
mesh_tx = mgmt_mesh_find(hdev, cancel->handle);
net/bluetooth/mgmt.c
2537
&mesh_tx->handle, 1);
net/bluetooth/mgmt.c
5286
u16 handle)
net/bluetooth/mgmt.c
5290
ev.monitor_handle = cpu_to_le16(handle);
net/bluetooth/mgmt.c
5296
__le16 handle)
net/bluetooth/mgmt.c
5300
ev.monitor_handle = handle;
net/bluetooth/mgmt.c
5310
int handle, err;
net/bluetooth/mgmt.c
5324
idr_for_each_entry(&hdev->adv_monitors_idr, monitor, handle)
net/bluetooth/mgmt.c
5325
handles[num_handles++] = monitor->handle;
net/bluetooth/mgmt.c
5373
rp.monitor_handle = cpu_to_le16(monitor->handle);
net/bluetooth/mgmt.c
5376
mgmt_adv_monitor_added(cmd->sk, hdev, monitor->handle);
net/bluetooth/mgmt.c
5622
u16 handle = __le16_to_cpu(cp->monitor_handle);
net/bluetooth/mgmt.c
5624
if (!handle)
net/bluetooth/mgmt.c
5627
return hci_remove_single_adv_monitor(hdev, handle);
net/bluetooth/mgmt.c
7404
__le16 handle;
net/bluetooth/mgmt.c
7417
handle = cpu_to_le16(conn->handle);
net/bluetooth/mgmt.c
7420
err = hci_read_rssi_sync(hdev, handle);
net/bluetooth/mgmt.c
7427
err = hci_read_tx_power_sync(hdev, handle, 0x00);
net/bluetooth/mgmt.c
7431
err = hci_read_tx_power_sync(hdev, handle, 0x01);
net/bluetooth/mgmt.c
7574
hci_cp.handle = cpu_to_le16(conn->handle);
net/bluetooth/mgmt_util.c
396
struct mgmt_mesh_tx *mgmt_mesh_find(struct hci_dev *hdev, u8 handle)
net/bluetooth/mgmt_util.c
404
if (mesh_tx->handle == handle)
net/bluetooth/mgmt_util.c
424
mesh_tx->handle = hdev->mesh_send_ref;
net/bluetooth/mgmt_util.h
28
u8 handle;
net/bluetooth/mgmt_util.h
74
struct mgmt_mesh_tx *mgmt_mesh_find(struct hci_dev *hdev, u8 handle);
net/bluetooth/msft.c
194
(struct hci_dev *hdev, u16 handle, bool is_mgmt)
net/bluetooth/msft.c
200
if (is_mgmt && entry->mgmt_handle == handle)
net/bluetooth/msft.c
202
if (!is_mgmt && entry->msft_handle == handle)
net/bluetooth/msft.c
240
if ((!mgmt_handle || dev->handle == mgmt_handle) &&
net/bluetooth/msft.c
244
mgmt_adv_monitor_device_lost(hdev, dev->handle,
net/bluetooth/msft.c
285
handle_data->mgmt_handle = monitor->handle;
net/bluetooth/msft.c
286
handle_data->msft_handle = rp->handle;
net/bluetooth/msft.c
303
static void msft_remove_addr_filters_sync(struct hci_dev *hdev, u8 handle)
net/bluetooth/msft.c
318
if (address_filter->pattern_handle != handle)
net/bluetooth/msft.c
348
cp.handle = address_filter->msft_handle;
net/bluetooth/msft.c
389
handle_data = msft_find_handle_data(hdev, monitor->handle, true);
net/bluetooth/msft.c
430
handle_data = msft_find_handle_data(hdev, monitor->handle, true);
net/bluetooth/msft.c
437
cp.handle = handle_data->msft_handle;
net/bluetooth/msft.c
453
int handle = 0;
net/bluetooth/msft.c
461
monitor = idr_get_next(&hdev->adv_monitors_idr, &handle);
net/bluetooth/msft.c
467
handle++;
net/bluetooth/msft.c
565
handle_data = msft_find_handle_data(hdev, monitor->handle, true);
net/bluetooth/msft.c
57
__u8 handle;
net/bluetooth/msft.c
586
int handle = 0;
net/bluetooth/msft.c
594
monitor = idr_get_next(&hdev->adv_monitors_idr, &handle);
net/bluetooth/msft.c
600
handle++;
net/bluetooth/msft.c
63
__u8 handle;
net/bluetooth/msft.c
732
cp.handle = address_filter->msft_handle;
net/bluetooth/msft.c
802
dev->handle = mgmt_handle;
net/bluetooth/msft.c
915
address_filter->msft_handle = rp->handle;
net/bluetooth/rfcomm/sock.c
784
cinfo.hci_handle = conn->hcon->handle;
net/bluetooth/sco.c
1111
cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle;
net/bluetooth/sco.c
1482
int sco_recv_scodata(struct hci_dev *hdev, u16 handle, struct sk_buff *skb)
net/bluetooth/sco.c
1489
hcon = hci_conn_hash_lookup_handle(hdev, handle);
net/ceph/mon_client.c
823
u64 handle;
net/ceph/mon_client.c
828
handle = ceph_decode_64(&p);
net/ceph/mon_client.c
829
if (tid != 0 && tid != handle)
net/ceph/mon_client.c
833
req = lookup_generic_request(&monc->generic_request_tree, handle);
net/mac80211/mlme.c
7387
goto handle;
net/mac80211/mlme.c
7412
handle:
net/netfilter/nf_conntrack_sane.c
46
__be32 handle;
net/netfilter/nf_tables_api.c
10243
prule->handle = rule->handle;
net/netfilter/nf_tables_api.c
1031
if (be64_to_cpu(nla_get_be64(nla)) == table->handle &&
net/netfilter/nf_tables_api.c
1187
nla_put_be64(skb, NFTA_TABLE_HANDLE, cpu_to_be64(table->handle),
net/netfilter/nf_tables_api.c
1658
table->handle = ++nft_net->table_handle;
net/netfilter/nf_tables_api.c
1866
nft_chain_lookup_byhandle(const struct nft_table *table, u64 handle, u8 genmask)
net/netfilter/nf_tables_api.c
1871
if (chain->handle == handle &&
net/netfilter/nf_tables_api.c
2062
nla_put_be64(skb, NFTA_CHAIN_HANDLE, cpu_to_be64(chain->handle),
net/netfilter/nf_tables_api.c
2764
chain->handle = nf_tables_alloc_handle(table);
net/netfilter/nf_tables_api.c
3069
u64 handle = 0;
net/netfilter/nf_tables_api.c
3085
handle = be64_to_cpu(nla_get_be64(nla[NFTA_CHAIN_HANDLE]));
net/netfilter/nf_tables_api.c
3086
chain = nft_chain_lookup_byhandle(table, handle, genmask);
net/netfilter/nf_tables_api.c
3221
u64 handle;
net/netfilter/nf_tables_api.c
3234
handle = be64_to_cpu(nla_get_be64(attr));
net/netfilter/nf_tables_api.c
3235
chain = nft_chain_lookup_byhandle(table, handle, genmask);
net/netfilter/nf_tables_api.c
3644
u64 handle)
net/netfilter/nf_tables_api.c
3651
if (handle == rule->handle)
net/netfilter/nf_tables_api.c
3689
const struct nft_rule *rule, u64 handle,
net/netfilter/nf_tables_api.c
3706
if (nla_put_be64(skb, NFTA_RULE_HANDLE, cpu_to_be64(rule->handle),
net/netfilter/nf_tables_api.c
3710
if (event != NFT_MSG_DELRULE && handle) {
net/netfilter/nf_tables_api.c
3711
if (nla_put_be64(skb, NFTA_RULE_POSITION, cpu_to_be64(handle),
net/netfilter/nf_tables_api.c
3749
u64 handle = 0;
net/netfilter/nf_tables_api.c
3765
handle = prule->handle;
net/netfilter/nf_tables_api.c
3774
ctx->chain, rule, handle, false);
net/netfilter/nf_tables_api.c
3816
u64 handle;
net/netfilter/nf_tables_api.c
3825
handle = prule->handle;
net/netfilter/nf_tables_api.c
3827
handle = 0;
net/netfilter/nf_tables_api.c
3834
table, chain, rule, handle, ctx->reset) < 0) {
net/netfilter/nf_tables_api.c
4242
u64 handle, pos_handle;
net/netfilter/nf_tables_api.c
4280
handle = be64_to_cpu(nla_get_be64(nla[NFTA_RULE_HANDLE]));
net/netfilter/nf_tables_api.c
4281
rule = __nft_rule_lookup(net, chain, handle);
net/netfilter/nf_tables_api.c
4299
handle = nf_tables_alloc_handle(table);
net/netfilter/nf_tables_api.c
4360
rule->handle = handle;
net/netfilter/nf_tables_api.c
4707
if (be64_to_cpu(nla_get_be64(nla)) == set->handle &&
net/netfilter/nf_tables_api.c
4908
if (nla_put_be64(skb, NFTA_SET_HANDLE, cpu_to_be64(set->handle),
net/netfilter/nf_tables_api.c
5618
set->handle = nf_tables_alloc_handle(table);
net/netfilter/nf_tables_api.c
8044
if (be64_to_cpu(nla_get_be64(nla)) == obj->handle &&
net/netfilter/nf_tables_api.c
8279
obj->handle = nf_tables_alloc_handle(table);
net/netfilter/nf_tables_api.c
8343
nla_put_be64(skb, NFTA_OBJ_HANDLE, cpu_to_be64(obj->handle),
net/netfilter/nf_tables_api.c
8667
obj->handle,
net/netfilter/nf_tables_api.c
8756
if (be64_to_cpu(nla_get_be64(nla)) == flowtable->handle &&
net/netfilter/nf_tables_api.c
9149
flowtable->handle = nf_tables_alloc_handle(table);
net/netfilter/nf_tables_api.c
9356
nla_put_be64(skb, NFTA_FLOWTABLE_HANDLE, cpu_to_be64(flowtable->handle),
net/netfilter/nf_tables_trace.c
191
cpu_to_be64(rule->handle),
net/phonet/socket.c
162
u16 handle;
net/phonet/socket.c
173
handle = pn_sockaddr_get_object((struct sockaddr_pn *)addr);
net/phonet/socket.c
174
saddr = pn_addr(handle);
net/phonet/socket.c
185
err = sk->sk_prot->get_port(sk, pn_port(handle));
net/phonet/socket.c
363
u16 handle;
net/phonet/socket.c
366
if (get_user(handle, (__u16 __user *)arg))
net/phonet/socket.c
376
saddr = phonet_address_get(dev, pn_addr(handle));
net/phonet/socket.c
385
handle = pn_object(saddr, pn_port(pn->sobject));
net/phonet/socket.c
386
return put_user(handle, (__u16 __user *)arg);
net/rfkill/input.c
193
static void rfkill_event(struct input_handle *handle, unsigned int type,
net/rfkill/input.c
221
struct input_handle *handle;
net/rfkill/input.c
224
handle = kzalloc_obj(struct input_handle);
net/rfkill/input.c
225
if (!handle)
net/rfkill/input.c
228
handle->dev = dev;
net/rfkill/input.c
229
handle->handler = handler;
net/rfkill/input.c
230
handle->name = "rfkill";
net/rfkill/input.c
233
error = input_register_handle(handle);
net/rfkill/input.c
237
error = input_open_device(handle);
net/rfkill/input.c
244
input_unregister_handle(handle);
net/rfkill/input.c
246
kfree(handle);
net/rfkill/input.c
250
static void rfkill_start(struct input_handle *handle)
net/rfkill/input.c
257
spin_lock_irq(&handle->dev->event_lock);
net/rfkill/input.c
259
if (test_bit(EV_SW, handle->dev->evbit) &&
net/rfkill/input.c
260
test_bit(SW_RFKILL_ALL, handle->dev->swbit))
net/rfkill/input.c
262
handle->dev->sw));
net/rfkill/input.c
264
spin_unlock_irq(&handle->dev->event_lock);
net/rfkill/input.c
267
static void rfkill_disconnect(struct input_handle *handle)
net/rfkill/input.c
269
input_close_device(handle);
net/rfkill/input.c
270
input_unregister_handle(handle);
net/rfkill/input.c
271
kfree(handle);
net/sched/cls_api.c
1203
*parent = (*q)->handle;
net/sched/cls_api.c
134
u32 handle)
net/sched/cls_api.c
1750
exts = tp->ops->get_exts(tp, n->handle);
net/sched/cls_api.c
2975
tcm->tcm_parent = block->q->handle;
net/sched/cls_api.c
3339
int police, struct tcf_proto *tp, u32 handle,
net/sched/cls_api.c
3363
err = tcf_exts_miss_cookie_base_alloc(exts, tp, handle);
net/sched/cls_api.c
59
u32 handle;
net/sched/cls_api.c
78
u32 handle)
net/sched/cls_api.c
84
if (WARN_ON(!handle || !tp->ops->get_exts))
net/sched/cls_api.c
96
n->handle = handle;
net/sched/cls_basic.c
117
idr_remove(&head->handle_idr, f->handle);
net/sched/cls_basic.c
135
idr_remove(&head->handle_idr, f->handle);
net/sched/cls_basic.c
173
struct tcf_proto *tp, unsigned long base, u32 handle,
net/sched/cls_basic.c
192
if (handle && fold->handle != handle)
net/sched/cls_basic.c
204
if (!handle) {
net/sched/cls_basic.c
205
handle = 1;
net/sched/cls_basic.c
206
err = idr_alloc_u32(&head->handle_idr, fnew, &handle,
net/sched/cls_basic.c
209
err = idr_alloc_u32(&head->handle_idr, fnew, &handle,
net/sched/cls_basic.c
210
handle, GFP_KERNEL);
net/sched/cls_basic.c
214
fnew->handle = handle;
net/sched/cls_basic.c
225
idr_remove(&head->handle_idr, fnew->handle);
net/sched/cls_basic.c
232
idr_replace(&head->handle_idr, fnew, fnew->handle);
net/sched/cls_basic.c
280
t->tcm_handle = f->handle;
net/sched/cls_basic.c
30
u32 handle;
net/sched/cls_basic.c
62
static void *basic_get(struct tcf_proto *tp, u32 handle)
net/sched/cls_basic.c
68
if (f->handle == handle) {
net/sched/cls_bpf.c
291
idr_remove(&head->handle_idr, prog->handle);
net/sched/cls_bpf.c
324
static void *cls_bpf_get(struct tcf_proto *tp, u32 handle)
net/sched/cls_bpf.c
330
if (prog->handle == handle)
net/sched/cls_bpf.c
409
u32 handle, struct nlattr **tca,
net/sched/cls_bpf.c
439
if (handle && oldprog->handle != handle) {
net/sched/cls_bpf.c
445
if (handle == 0) {
net/sched/cls_bpf.c
446
handle = 1;
net/sched/cls_bpf.c
447
ret = idr_alloc_u32(&head->handle_idr, prog, &handle,
net/sched/cls_bpf.c
450
ret = idr_alloc_u32(&head->handle_idr, prog, &handle,
net/sched/cls_bpf.c
451
handle, GFP_KERNEL);
net/sched/cls_bpf.c
456
prog->handle = handle;
net/sched/cls_bpf.c
46
u32 handle;
net/sched/cls_bpf.c
513
idr_replace(&head->handle_idr, prog, handle);
net/sched/cls_bpf.c
531
idr_remove(&head->handle_idr, prog->handle);
net/sched/cls_bpf.c
588
tm->tcm_handle = prog->handle;
net/sched/cls_cgroup.c
105
new->handle = handle;
net/sched/cls_cgroup.c
178
t->tcm_handle = head->handle;
net/sched/cls_cgroup.c
19
u32 handle;
net/sched/cls_cgroup.c
46
static void *cls_cgroup_get(struct tcf_proto *tp, u32 handle)
net/sched/cls_cgroup.c
80
u32 handle, struct nlattr **tca,
net/sched/cls_cgroup.c
92
if (!head && !handle)
net/sched/cls_cgroup.c
95
if (head && handle != head->handle)
net/sched/cls_flow.c
392
u32 handle, struct nlattr **tca,
net/sched/cls_flow.c
45
u32 handle;
net/sched/cls_flow.c
456
if (fold->handle != handle && handle)
net/sched/cls_flow.c
461
fnew->handle = fold->handle;
net/sched/cls_flow.c
488
if (!handle)
net/sched/cls_flow.c
516
baseclass = TC_H_MAKE(q->handle, baseclass);
net/sched/cls_flow.c
521
fnew->handle = handle;
net/sched/cls_flow.c
618
static void *flow_get(struct tcf_proto *tp, u32 handle)
net/sched/cls_flow.c
624
if (f->handle == handle)
net/sched/cls_flow.c
638
t->tcm_handle = f->handle;
net/sched/cls_flower.c
134
u32 handle;
net/sched/cls_flower.c
2359
u32 handle, struct nlattr **tca,
net/sched/cls_flower.c
2396
if (fold && handle && fold->handle != handle) {
net/sched/cls_flower.c
2421
if (!handle) {
net/sched/cls_flower.c
2422
handle = 1;
net/sched/cls_flower.c
2423
err = idr_alloc_u32(&head->handle_idr, NULL, &handle,
net/sched/cls_flower.c
2426
err = idr_alloc_u32(&head->handle_idr, NULL, &handle,
net/sched/cls_flower.c
2427
handle, GFP_ATOMIC);
net/sched/cls_flower.c
2445
fnew->handle = handle;
net/sched/cls_flower.c
2447
err = tcf_exts_init_ex(&fnew->exts, net, TCA_FLOWER_ACT, 0, tp, handle,
net/sched/cls_flower.c
2525
fnew->handle = handle;
net/sched/cls_flower.c
2543
idr_replace(&head->handle_idr, fnew, fnew->handle);
net/sched/cls_flower.c
2559
idr_replace(&head->handle_idr, fnew, fnew->handle);
net/sched/cls_flower.c
2597
idr_remove(&head->handle_idr, fnew->handle);
net/sched/cls_flower.c
3699
t->tcm_handle = f->handle;
net/sched/cls_flower.c
3756
t->tcm_handle = f->handle;
net/sched/cls_flower.c
536
static struct cls_fl_filter *__fl_get(struct cls_fl_head *head, u32 handle)
net/sched/cls_flower.c
541
f = idr_find(&head->handle_idr, handle);
net/sched/cls_flower.c
549
static struct tcf_exts *fl_get_exts(const struct tcf_proto *tp, u32 handle)
net/sched/cls_flower.c
554
f = idr_find(&head->handle_idr, handle);
net/sched/cls_flower.c
575
idr_remove(&head->handle_idr, f->handle);
net/sched/cls_flower.c
627
static void *fl_get(struct tcf_proto *tp, u32 handle)
net/sched/cls_flower.c
631
return __fl_get(head, handle);
net/sched/cls_fw.c
101
if (f->id == handle)
net/sched/cls_fw.c
241
u32 handle, struct nlattr **tca, void **arg,
net/sched/cls_fw.c
251
if (handle)
net/sched/cls_fw.c
272
if (f->id != handle && handle)
net/sched/cls_fw.c
313
if (!handle)
net/sched/cls_fw.c
336
f->id = handle;
net/sched/cls_fw.c
343
RCU_INIT_POINTER(f->next, head->ht[fw_hash(handle)]);
net/sched/cls_fw.c
344
rcu_assign_pointer(head->ht[fw_hash(handle)], f);
net/sched/cls_fw.c
44
static u32 fw_hash(u32 handle)
net/sched/cls_fw.c
46
handle ^= (handle >> 16);
net/sched/cls_fw.c
47
handle ^= (handle >> 8);
net/sched/cls_fw.c
48
return handle % HTSIZE;
net/sched/cls_fw.c
81
!(TC_H_MAJ(id ^ q->handle)))) {
net/sched/cls_fw.c
91
static void *fw_get(struct tcf_proto *tp, u32 handle)
net/sched/cls_fw.c
99
f = rtnl_dereference(head->ht[fw_hash(handle)]);
net/sched/cls_matchall.c
146
static void *mall_get(struct tcf_proto *tp, u32 handle)
net/sched/cls_matchall.c
150
if (head && head->handle == handle)
net/sched/cls_matchall.c
164
u32 handle, struct nlattr **tca,
net/sched/cls_matchall.c
20
u32 handle;
net/sched/cls_matchall.c
200
if (!handle)
net/sched/cls_matchall.c
201
handle = 1;
net/sched/cls_matchall.c
202
new->handle = handle;
net/sched/cls_matchall.c
342
t->tcm_handle = head->handle;
net/sched/cls_route.c
217
static void *route4_get(struct tcf_proto *tp, u32 handle)
net/sched/cls_route.c
224
h1 = to_hash(handle);
net/sched/cls_route.c
228
h2 = from_hash(handle >> 16);
net/sched/cls_route.c
237
if (f->handle == handle)
net/sched/cls_route.c
327
h = f->handle;
net/sched/cls_route.c
385
u32 handle, struct route4_head *head,
net/sched/cls_route.c
400
if (new && handle & 0x8000) {
net/sched/cls_route.c
423
if (handle && new) {
net/sched/cls_route.c
424
nhandle |= handle & 0x7F00;
net/sched/cls_route.c
425
if (nhandle != handle) {
net/sched/cls_route.c
428
handle, nhandle);
net/sched/cls_route.c
452
if (fp->handle == f->handle)
net/sched/cls_route.c
464
f->handle = nhandle;
net/sched/cls_route.c
477
struct tcf_proto *tp, unsigned long base, u32 handle,
net/sched/cls_route.c
490
if (!handle) {
net/sched/cls_route.c
506
if (fold && fold->handle != handle)
net/sched/cls_route.c
521
f->handle = fold->handle;
net/sched/cls_route.c
528
err = route4_set_parms(net, tp, base, f, handle, head, tb,
net/sched/cls_route.c
533
h = from_hash(f->handle >> 16);
net/sched/cls_route.c
538
if (f->handle < f1->handle)
net/sched/cls_route.c
54
u32 handle;
net/sched/cls_route.c
546
th = to_hash(fold->handle);
net/sched/cls_route.c
547
h = from_hash(fold->handle >> 16);
net/sched/cls_route.c
614
t->tcm_handle = f->handle;
net/sched/cls_route.c
620
if (!(f->handle & 0x8000)) {
net/sched/cls_route.c
625
if (f->handle & 0x80000000) {
net/sched/cls_route.c
626
if ((f->handle >> 16) != 0xFFFF &&
net/sched/cls_u32.c
1003
idr_remove(&tp_c->handle_idr, handle2id(handle));
net/sched/cls_u32.c
1019
htid = ht->handle;
net/sched/cls_u32.c
1029
htid = ht->handle;
net/sched/cls_u32.c
1058
if (handle) {
net/sched/cls_u32.c
1060
if (TC_U32_HTID(handle) && TC_U32_HTID(handle ^ htid)) {
net/sched/cls_u32.c
1078
if (!TC_U32_NODE(handle)) {
net/sched/cls_u32.c
1079
handle = gen_new_kid(ht, htid);
net/sched/cls_u32.c
1081
handle = htid | TC_U32_NODE(handle);
net/sched/cls_u32.c
1082
err = idr_alloc_u32(&ht->handle_idr, NULL, &handle,
net/sched/cls_u32.c
1083
handle, GFP_KERNEL);
net/sched/cls_u32.c
1091
handle = gen_new_kid(ht, htid);
net/sched/cls_u32.c
1128
n->handle = handle;
net/sched/cls_u32.c
1170
ins = &ht->ht[TC_U32_HASH(handle)];
net/sched/cls_u32.c
1173
if (TC_U32_NODE(handle) < TC_U32_NODE(pins->handle))
net/sched/cls_u32.c
1198
idr_remove(&ht->handle_idr, handle);
net/sched/cls_u32.c
1243
cls_u32.hnode.handle = ht->handle;
net/sched/cls_u32.c
1264
cls_u32.knode.handle = n->handle;
net/sched/cls_u32.c
1279
cls_u32.knode.link_handle = ht->handle;
net/sched/cls_u32.c
1352
t->tcm_handle = n->handle;
net/sched/cls_u32.c
1358
if (TC_U32_KEY(n->handle) == 0) {
net/sched/cls_u32.c
1376
u32 htid = n->handle & 0xFFFFF000;
net/sched/cls_u32.c
1386
nla_put_u32(skb, TCA_U32_LINK, ht_down->handle))
net/sched/cls_u32.c
1445
if (TC_U32_KEY(n->handle))
net/sched/cls_u32.c
265
static struct tc_u_hnode *u32_lookup_ht(struct tc_u_common *tp_c, u32 handle)
net/sched/cls_u32.c
272
if (ht->handle == handle)
net/sched/cls_u32.c
278
static struct tc_u_knode *u32_lookup_key(struct tc_u_hnode *ht, u32 handle)
net/sched/cls_u32.c
283
sel = TC_U32_HASH(handle);
net/sched/cls_u32.c
290
if (n->handle == handle)
net/sched/cls_u32.c
297
static void *u32_get(struct tcf_proto *tp, u32 handle)
net/sched/cls_u32.c
302
if (TC_U32_HTID(handle) == TC_U32_ROOT)
net/sched/cls_u32.c
305
ht = u32_lookup_ht(tp_c, TC_U32_HTID(handle));
net/sched/cls_u32.c
310
if (TC_U32_KEY(handle) == 0)
net/sched/cls_u32.c
313
return u32_lookup_key(ht, handle);
net/sched/cls_u32.c
372
root_ht->handle = tp_c ? gen_new_htid(tp_c, root_ht) : id2handle(0);
net/sched/cls_u32.c
46
u32 handle;
net/sched/cls_u32.c
469
kp = &ht->ht[TC_U32_HASH(key->handle)];
net/sched/cls_u32.c
477
idr_remove(&ht->handle_idr, key->handle);
net/sched/cls_u32.c
497
cls_u32.hnode.handle = h->handle;
net/sched/cls_u32.c
515
cls_u32.hnode.handle = h->handle;
net/sched/cls_u32.c
540
cls_u32.knode.handle = n->handle;
net/sched/cls_u32.c
557
cls_u32.knode.handle = n->handle;
net/sched/cls_u32.c
570
cls_u32.knode.link_handle = ht->handle;
net/sched/cls_u32.c
599
idr_remove(&ht->handle_idr, n->handle);
net/sched/cls_u32.c
624
idr_remove(&tp_c->handle_idr, handle2id(ht->handle));
net/sched/cls_u32.c
675
if (TC_U32_KEY(ht->handle)) {
net/sched/cls_u32.c
72
u32 handle;
net/sched/cls_u32.c
759
u32 handle = nla_get_u32(tb[TCA_U32_LINK]);
net/sched/cls_u32.c
762
if (TC_U32_KEY(handle)) {
net/sched/cls_u32.c
767
if (handle) {
net/sched/cls_u32.c
768
ht_down = u32_lookup_ht(tp->data, handle);
net/sched/cls_u32.c
801
if (TC_U32_HTID(n->handle) == TC_U32_ROOT)
net/sched/cls_u32.c
804
ht = u32_lookup_ht(tp_c, TC_U32_HTID(n->handle));
net/sched/cls_u32.c
806
ins = &ht->ht[TC_U32_HASH(n->handle)];
net/sched/cls_u32.c
813
if (pins->handle == n->handle)
net/sched/cls_u32.c
816
idr_replace(&ht->handle_idr, n, n->handle);
net/sched/cls_u32.c
833
new->handle = n->handle;
net/sched/cls_u32.c
870
struct tcf_proto *tp, unsigned long base, u32 handle,
net/sched/cls_u32.c
885
if (handle) {
net/sched/cls_u32.c
910
if (TC_U32_KEY(n->handle) == 0) {
net/sched/cls_u32.c
973
if (TC_U32_KEY(handle)) {
net/sched/cls_u32.c
980
if (handle == 0) {
net/sched/cls_u32.c
981
handle = gen_new_htid(tp->data, ht);
net/sched/cls_u32.c
982
if (handle == 0) {
net/sched/cls_u32.c
987
err = idr_alloc_u32(&tp_c->handle_idr, ht, &handle,
net/sched/cls_u32.c
988
handle, GFP_KERNEL);
net/sched/cls_u32.c
996
ht->handle = handle;
net/sched/sch_api.c
1246
u32 parent, u32 handle,
net/sched/sch_api.c
1271
if (handle == TC_H_INGRESS) {
net/sched/sch_api.c
1278
handle = TC_H_MAKE(TC_H_INGRESS, 0);
net/sched/sch_api.c
1280
if (handle == 0) {
net/sched/sch_api.c
1281
handle = qdisc_alloc_handle(dev);
net/sched/sch_api.c
1282
if (handle == 0) {
net/sched/sch_api.c
1292
sch->handle = handle;
net/sched/sch_api.c
1502
if (tcm->tcm_handle && q->handle != tcm->tcm_handle) {
net/sched/sch_api.c
1524
if (q->handle == 0) {
net/sched/sch_api.c
1618
if (q && q->handle == 0)
net/sched/sch_api.c
1621
if (!q || !tcm->tcm_handle || q->handle != tcm->tcm_handle) {
net/sched/sch_api.c
1961
tcm->tcm_parent = q->handle;
net/sched/sch_api.c
1962
tcm->tcm_handle = q->handle;
net/sched/sch_api.c
2205
qid = rtnl_dereference(dev->qdisc)->handle;
net/sched/sch_api.c
2216
qid = rtnl_dereference(dev->qdisc)->handle;
net/sched/sch_api.c
2340
TC_H_MAJ(tcm->tcm_parent) != q->handle)) {
net/sched/sch_api.c
263
static struct Qdisc *qdisc_match_from_root(struct Qdisc *root, u32 handle)
net/sched/sch_api.c
268
return (root->handle == handle ? root : NULL);
net/sched/sch_api.c
271
root->handle == handle)
net/sched/sch_api.c
274
hash_for_each_possible_rcu(qdisc_dev(root)->qdisc_hash, q, hash, handle,
net/sched/sch_api.c
276
if (q->handle == handle)
net/sched/sch_api.c
286
hash_add_rcu(qdisc_dev(q)->qdisc_hash, &q->hash, q->handle);
net/sched/sch_api.c
302
struct Qdisc *qdisc_lookup(struct net_device *dev, u32 handle)
net/sched/sch_api.c
306
if (!handle)
net/sched/sch_api.c
308
q = qdisc_match_from_root(rtnl_dereference(dev->qdisc), handle);
net/sched/sch_api.c
315
handle);
net/sched/sch_api.c
320
struct Qdisc *qdisc_lookup_rcu(struct net_device *dev, u32 handle)
net/sched/sch_api.c
325
if (!handle)
net/sched/sch_api.c
327
q = qdisc_match_from_root(rcu_dereference(dev->qdisc), handle);
net/sched/sch_api.c
334
handle);
net/sched/sch_api.c
889
.handle = new ? new->handle : 0,
net/sched/sch_api.c
922
tcm->tcm_handle = q->handle;
net/sched/sch_cake.c
1695
else if (TC_H_MAJ(skb->priority) == sch->handle &&
net/sched/sch_cbs.c
413
sch->handle, extack);
net/sched/sch_cbs.c
487
tcm->tcm_info = q->qdisc->handle;
net/sched/sch_cbs.c
499
sch->handle, NULL);
net/sched/sch_drr.c
249
tcm->tcm_info = cl->qdisc->handle;
net/sched/sch_drr.c
309
if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) {
net/sched/sch_dualpi2.c
355
if (TC_H_MAJ(skb->priority) == q->sch->handle &&
net/sched/sch_dualpi2.c
921
TC_H_MAKE(sch->handle, 1), extack);
net/sched/sch_ets.c
109
return TC_H_MAKE(sch->handle, band + 1);
net/sched/sch_ets.c
129
qopt.handle = sch->handle;
net/sched/sch_ets.c
166
qopt.handle = sch->handle;
net/sched/sch_ets.c
179
qopt.handle = sch->handle;
net/sched/sch_ets.c
182
qopt.graft_params.child_handle = new->handle;
net/sched/sch_ets.c
193
qopt.handle = sch->handle;
net/sched/sch_ets.c
317
tcm->tcm_info = cl->qdisc->handle;
net/sched/sch_ets.c
394
if (TC_H_MAJ(skb->priority) != sch->handle) {
net/sched/sch_fifo.c
263
q = qdisc_create_dflt(sch->dev_queue, ops, TC_H_MAKE(sch->handle, 1),
net/sched/sch_fifo.c
68
qopt.handle = sch->handle;
net/sched/sch_fifo.c
82
qopt.handle = sch->handle;
net/sched/sch_fifo.c
92
qopt.handle = sch->handle;
net/sched/sch_fq_codel.c
84
if (TC_H_MAJ(skb->priority) == sch->handle &&
net/sched/sch_fq_pie.c
89
if (TC_H_MAJ(skb->priority) == sch->handle &&
net/sched/sch_generic.c
1405
if (qdisc != &noop_qdisc && !qdisc->handle)
net/sched/sch_generic.c
1410
if (qdisc != &noop_qdisc && !qdisc->handle)
net/sched/sch_gred.c
322
opt->handle = sch->handle;
net/sched/sch_gred.c
367
hw_stats->handle = sch->handle;
net/sched/sch_hfsc.c
1020
if (classid == 0 || TC_H_MAJ(classid ^ sch->handle) != 0)
net/sched/sch_hfsc.c
1138
if (TC_H_MAJ(skb->priority ^ sch->handle) == 0 &&
net/sched/sch_hfsc.c
1176
cl = hfsc_find_class(TC_H_MAKE(TC_H_MAJ(sch->handle),
net/sched/sch_hfsc.c
1318
tcm->tcm_info = cl->qdisc->handle;
net/sched/sch_hfsc.c
1418
q->root.cl_common.classid = sch->handle;
net/sched/sch_hfsc.c
1421
sch->handle, NULL);
net/sched/sch_htb.c
1125
TC_H_MAKE(sch->handle, 0), extack);
net/sched/sch_htb.c
1138
.parent_classid = TC_H_MAJ(sch->handle) >> 16,
net/sched/sch_htb.c
1256
tcm->tcm_info = cl->leaf.q->handle;
net/sched/sch_htb.c
1593
u32 classid = TC_H_MAJ(sch->handle) |
net/sched/sch_htb.c
1837
if (!classid || TC_H_MAJ(classid ^ sch->handle) ||
net/sched/sch_htb.c
186
static inline struct htb_class *htb_find(u32 handle, struct Qdisc *sch)
net/sched/sch_htb.c
191
clc = qdisc_class_find(&q->clhash, handle);
net/sched/sch_htb.c
197
static unsigned long htb_search(struct Qdisc *sch, u32 handle)
net/sched/sch_htb.c
199
return (unsigned long)htb_find(handle, sch);
net/sched/sch_htb.c
232
if (skb->priority == sch->handle)
net/sched/sch_htb.c
259
if (res.classid == sch->handle)
net/sched/sch_htb.c
272
cl = htb_find(TC_H_MAKE(TC_H_MAJ(sch->handle), q->defcls), sch);
net/sched/sch_mq.c
212
graft_offload.handle = sch->handle;
net/sched/sch_mq.c
214
graft_offload.graft_params.child_handle = new ? new->handle : 0;
net/sched/sch_mq.c
247
tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle;
net/sched/sch_mq.c
25
.handle = sch->handle,
net/sched/sch_mq.c
38
.handle = sch->handle,
net/sched/sch_mq.c
93
TC_H_MAKE(TC_H_MAJ(sch->handle),
net/sched/sch_mqprio.c
399
TC_H_MAKE(TC_H_MAJ(sch->handle),
net/sched/sch_mqprio.c
649
TC_H_MAKE(TC_H_MAJ(sch->handle),
net/sched/sch_mqprio.c
651
tcm->tcm_info = rtnl_dereference(dev_queue->qdisc_sleeping)->handle;
net/sched/sch_multiq.c
216
TC_H_MAKE(sch->handle,
net/sched/sch_multiq.c
329
tcm->tcm_info = q->queues[cl - 1]->handle;
net/sched/sch_netem.c
1304
tcm->tcm_info = q->qdisc->handle;
net/sched/sch_prio.c
144
.handle = sch->handle,
net/sched/sch_prio.c
199
TC_H_MAKE(sch->handle, i + 1),
net/sched/sch_prio.c
249
.handle = sch->handle,
net/sched/sch_prio.c
295
TC_H_MAKE(sch->handle, arg), extack);
net/sched/sch_prio.c
304
graft_offload.handle = sch->handle;
net/sched/sch_prio.c
307
graft_offload.graft_params.child_handle = new->handle;
net/sched/sch_prio.c
351
tcm->tcm_info = q->queues[cl-1]->handle;
net/sched/sch_prio.c
40
if (TC_H_MAJ(skb->priority) != sch->handle) {
net/sched/sch_qfq.c
636
tcm->tcm_info = cl->qdisc->handle;
net/sched/sch_qfq.c
703
if (TC_H_MAJ(skb->priority ^ sch->handle) == 0) {
net/sched/sch_red.c
191
.handle = sch->handle,
net/sched/sch_red.c
400
.handle = sch->handle,
net/sched/sch_red.c
457
.handle = sch->handle,
net/sched/sch_red.c
479
tcm->tcm_info = q->qdisc->handle;
net/sched/sch_red.c
488
.handle = sch->handle,
net/sched/sch_red.c
490
.child_handle = new->handle,
net/sched/sch_sfq.c
164
if (TC_H_MAJ(skb->priority) == sch->handle &&
net/sched/sch_taprio.c
2107
TC_H_MAKE(TC_H_MAJ(sch->handle),
net/sched/sch_taprio.c
2475
tcm->tcm_info = child->handle;
net/sched/sch_tbf.c
152
qopt.handle = sch->handle;
net/sched/sch_tbf.c
170
qopt.handle = sch->handle;
net/sched/sch_tbf.c
180
qopt.handle = sch->handle;
net/sched/sch_tbf.c
192
.handle = sch->handle,
net/sched/sch_tbf.c
194
.child_handle = new->handle,
net/sched/sch_tbf.c
558
tcm->tcm_info = q->qdisc->handle;
net/shaper/shaper.c
1010
ret = net_shaper_pre_insert(binding, &node->handle, extack);
net/shaper/shaper.c
1016
leaf_handle = leaves[i].handle;
net/shaper/shaper.c
1022
if (!net_shaper_handle_cmp(&leaves[i].parent, &node->handle))
net/shaper/shaper.c
1028
leaves[i].parent = node->handle;
net/shaper/shaper.c
1065
node.handle = shaper->parent;
net/shaper/shaper.c
1066
cur = net_shaper_lookup(binding, &node.handle);
net/shaper/shaper.c
1074
if (WARN_ON_ONCE(node.handle.scope != NET_SHAPER_SCOPE_NETDEV))
net/shaper/shaper.c
108
const struct net_shaper_handle *handle,
net/shaper/shaper.c
1084
if (net_shaper_handle_cmp(&cur->parent, &shaper->handle))
net/shaper/shaper.c
1099
update_node = node.handle.scope != NET_SHAPER_SCOPE_NETDEV;
net/shaper/shaper.c
1112
struct net_shaper_handle handle;
net/shaper/shaper.c
1122
&handle);
net/shaper/shaper.c
113
if (handle->scope == NET_SHAPER_SCOPE_UNSPEC)
net/shaper/shaper.c
1130
shaper = net_shaper_lookup(binding, &handle);
net/shaper/shaper.c
1134
if (handle.scope == NET_SHAPER_SCOPE_NODE) {
net/shaper/shaper.c
1144
const struct net_shaper_handle *handle,
net/shaper/shaper.c
1155
net_shaper_fill_handle(msg, handle, NET_SHAPER_A_HANDLE))
net/shaper/shaper.c
120
if (nla_put_u32(msg, NET_SHAPER_A_HANDLE_SCOPE, handle->scope) ||
net/shaper/shaper.c
121
(handle->scope >= NET_SHAPER_SCOPE_QUEUE &&
net/shaper/shaper.c
122
nla_put_u32(msg, NET_SHAPER_A_HANDLE_ID, handle->id)))
net/shaper/shaper.c
1238
net_shaper_handle_cmp(&leaves[i].parent, &node.handle)) {
net/shaper/shaper.c
1270
ret = net_shaper_group_send_reply(binding, &node.handle, info, msg);
net/shaper/shaper.c
1425
struct net_shaper_handle handle, parent_handle;
net/shaper/shaper.c
1429
handle.scope = NET_SHAPER_SCOPE_QUEUE;
net/shaper/shaper.c
1430
handle.id = i;
net/shaper/shaper.c
1431
shaper = net_shaper_lookup(&binding, &handle);
net/shaper/shaper.c
1439
index = net_shaper_handle_to_index(&handle);
net/shaper/shaper.c
148
net_shaper_fill_handle(msg, &shaper->handle,
net/shaper/shaper.c
247
static u32 net_shaper_handle_to_index(const struct net_shaper_handle *handle)
net/shaper/shaper.c
249
return FIELD_PREP(NET_SHAPER_SCOPE_MASK, handle->scope) |
net/shaper/shaper.c
250
FIELD_PREP(NET_SHAPER_ID_MASK, handle->id);
net/shaper/shaper.c
254
struct net_shaper_handle *handle)
net/shaper/shaper.c
256
handle->scope = FIELD_GET(NET_SHAPER_SCOPE_MASK, index);
net/shaper/shaper.c
257
handle->id = FIELD_GET(NET_SHAPER_ID_MASK, index);
net/shaper/shaper.c
260
static void net_shaper_default_parent(const struct net_shaper_handle *handle,
net/shaper/shaper.c
263
switch (handle->scope) {
net/shaper/shaper.c
286
const struct net_shaper_handle *handle)
net/shaper/shaper.c
288
u32 index = net_shaper_handle_to_index(handle);
net/shaper/shaper.c
330
struct net_shaper_handle *handle,
net/shaper/shaper.c
341
index = net_shaper_handle_to_index(handle);
net/shaper/shaper.c
347
if (handle->scope == NET_SHAPER_SCOPE_NODE &&
net/shaper/shaper.c
348
handle->id == NET_SHAPER_ID_UNSPEC) {
net/shaper/shaper.c
351
handle->id = NET_SHAPER_ID_MASK - 1;
net/shaper/shaper.c
352
max = net_shaper_handle_to_index(handle);
net/shaper/shaper.c
353
handle->id = 0;
net/shaper/shaper.c
354
min = net_shaper_handle_to_index(handle);
net/shaper/shaper.c
363
net_shaper_index_to_handle(index, handle);
net/shaper/shaper.c
407
index = net_shaper_handle_to_index(&shapers[i].handle);
net/shaper/shaper.c
444
struct net_shaper_handle *handle)
net/shaper/shaper.c
460
handle->scope = nla_get_u32(tb[NET_SHAPER_A_HANDLE_SCOPE]);
net/shaper/shaper.c
470
else if (handle->scope == NET_SHAPER_SCOPE_NODE)
net/shaper/shaper.c
473
handle->id = id;
net/shaper/shaper.c
486
ops->capabilities(binding, shaper->handle.scope, &caps);
net/shaper/shaper.c
512
if (shaper->handle.scope == NET_SHAPER_SCOPE_QUEUE &&
net/shaper/shaper.c
514
shaper->handle.id >= binding->netdev->real_num_tx_queues) {
net/shaper/shaper.c
517
shaper->handle.id,
net/shaper/shaper.c
559
&shaper->handle);
net/shaper/shaper.c
563
if (shaper->handle.scope == NET_SHAPER_SCOPE_UNSPEC) {
net/shaper/shaper.c
571
old = net_shaper_lookup(binding, &shaper->handle);
net/shaper/shaper.c
608
ops->capabilities(binding, shaper->handle.scope, &caps);
net/shaper/shaper.c
612
shaper->handle.scope);
net/shaper/shaper.c
640
if (shaper->handle.scope != NET_SHAPER_SCOPE_QUEUE) {
net/shaper/shaper.c
645
if (node->handle.scope == NET_SHAPER_SCOPE_NODE) {
net/shaper/shaper.c
653
net_shaper_default_parent(&shaper->handle, &shaper->parent);
net/shaper/shaper.c
672
if (shaper->handle.scope != NET_SHAPER_SCOPE_NODE &&
net/shaper/shaper.c
673
shaper->handle.scope != NET_SHAPER_SCOPE_NETDEV) {
net/shaper/shaper.c
780
struct net_shaper_handle handle;
net/shaper/shaper.c
790
&handle);
net/shaper/shaper.c
799
shaper = net_shaper_lookup(binding, &handle);
net/shaper/shaper.c
855
struct net_shaper_handle handle;
net/shaper/shaper.c
868
net_shaper_default_parent(&shaper.handle, &shaper.parent);
net/shaper/shaper.c
875
handle = shaper.handle;
net/shaper/shaper.c
876
if (handle.scope == NET_SHAPER_SCOPE_NODE &&
net/shaper/shaper.c
877
!net_shaper_lookup(binding, &handle))
net/shaper/shaper.c
880
ret = net_shaper_pre_insert(binding, &handle, info->extack);
net/shaper/shaper.c
901
struct net_shaper_handle parent_handle, handle = shaper->handle;
net/shaper/shaper.c
908
ret = ops->delete(binding, &handle, extack);
net/shaper/shaper.c
912
xa_erase(&hierarchy->shapers, net_shaper_handle_to_index(&handle));
net/shaper/shaper.c
919
handle = parent_handle;
net/shaper/shaper.c
966
if (node->handle.scope == NET_SHAPER_SCOPE_NODE) {
net/shaper/shaper.c
967
new_node = node->handle.id == NET_SHAPER_ID_UNSPEC;
net/shaper/shaper.c
969
if (!new_node && !net_shaper_lookup(binding, &node->handle)) {
net/shaper/shaper.c
974
node->handle.scope, node->handle.id);
net/shaper/shaper.c
990
net_shaper_default_parent(&node->handle, &node->parent);
net/sunrpc/auth_gss/svcauth_gss.c
1129
struct xdr_netobj *handle,
net/sunrpc/auth_gss/svcauth_gss.c
1134
if (xdr_stream_encode_opaque(xdr, handle->data, handle->len) < 0)
net/sunrpc/auth_gss/svcauth_gss.c
1221
uint64_t *handle)
net/sunrpc/auth_gss/svcauth_gss.c
1238
*handle = ctxh;
net/sunrpc/auth_gss/svcauth_gss.c
1241
if (dup_to_netobj(&rsci.handle, (char *)handle, sizeof(uint64_t)))
net/sunrpc/auth_gss/svcauth_gss.c
1296
uint64_t handle;
net/sunrpc/auth_gss/svcauth_gss.c
1321
status = gss_proxy_save_rsc(sn->rsc_cache, &ud, &handle);
net/sunrpc/auth_gss/svcauth_gss.c
1324
cli_handle.data = (u8 *)&handle;
net/sunrpc/auth_gss/svcauth_gss.c
1325
cli_handle.len = sizeof(handle);
net/sunrpc/auth_gss/svcauth_gss.c
370
struct xdr_netobj handle;
net/sunrpc/auth_gss/svcauth_gss.c
382
kfree(rsci->handle.data);
net/sunrpc/auth_gss/svcauth_gss.c
392
kfree(rsci->handle.data);
net/sunrpc/auth_gss/svcauth_gss.c
409
return hash_mem(rsci->handle.data, rsci->handle.len, RSC_HASHBITS);
net/sunrpc/auth_gss/svcauth_gss.c
418
return netobj_equal(&new->handle, &tmp->handle);
net/sunrpc/auth_gss/svcauth_gss.c
427
new->handle.len = tmp->handle.len;
net/sunrpc/auth_gss/svcauth_gss.c
428
tmp->handle.len = 0;
net/sunrpc/auth_gss/svcauth_gss.c
429
new->handle.data = tmp->handle.data;
net/sunrpc/auth_gss/svcauth_gss.c
430
tmp->handle.data = NULL;
net/sunrpc/auth_gss/svcauth_gss.c
481
if (dup_to_netobj(&rsci.handle, buf, len))
net/sunrpc/auth_gss/svcauth_gss.c
625
gss_svc_searchbyctx(struct cache_detail *cd, struct xdr_netobj *handle)
net/sunrpc/auth_gss/svcauth_gss.c
631
if (dup_to_netobj(&rsci.handle, handle->data, handle->len))
net/sunrpc/cache.c
636
struct cache_deferred_req handle;
net/sunrpc/cache.c
643
container_of(dreq, struct thread_deferred_req, handle);
net/sunrpc/cache.c
650
struct cache_deferred_req *dreq = &sleeper.handle;
net/sunrpc/cache.c
664
if (!hlist_unhashed(&sleeper.handle.hash)) {
net/sunrpc/cache.c
665
__unhash_deferred_req(&sleeper.handle);
net/sunrpc/svc_xprt.c
1188
container_of(dreq, struct svc_deferred_req, handle);
net/sunrpc/svc_xprt.c
1201
list_add(&dr->handle.recent, &xprt->xpt_deferred);
net/sunrpc/svc_xprt.c
1236
dr->handle.owner = rqstp->rq_server;
net/sunrpc/svc_xprt.c
1255
dr->handle.revisit = svc_revisit;
net/sunrpc/svc_xprt.c
1256
return &dr->handle;
net/sunrpc/svc_xprt.c
1299
handle.recent);
net/sunrpc/svc_xprt.c
1300
list_del_init(&dr->handle.recent);
net/sunrpc/xprtrdma/rpc_rdma.c
1170
u32 handle;
net/sunrpc/xprtrdma/rpc_rdma.c
1178
xdr_decode_rdma_segment(p, &handle, length, &offset);
net/sunrpc/xprtrdma/rpc_rdma.c
1179
trace_xprtrdma_decode_seg(handle, *length, offset);
net/sunrpc/xprtrdma/svc_rdma_pcl.c
110
u32 position, handle, length;
net/sunrpc/xprtrdma/svc_rdma_pcl.c
114
p = xdr_decode_read_segment(p, &position, &handle,
net/sunrpc/xprtrdma/svc_rdma_pcl.c
130
pcl_set_read_segment(rctxt, chunk, handle, length, offset);
net/sunrpc/xprtrdma/svc_rdma_pcl.c
164
u32 position, handle, length;
net/sunrpc/xprtrdma/svc_rdma_pcl.c
168
p = xdr_decode_read_segment(p, &position, &handle,
net/sunrpc/xprtrdma/svc_rdma_pcl.c
181
pcl_set_read_segment(rctxt, chunk, handle, length, offset);
net/sunrpc/xprtrdma/svc_rdma_pcl.c
70
u32 handle, u32 length, u64 offset)
net/sunrpc/xprtrdma/svc_rdma_pcl.c
75
segment->rs_handle = handle;
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
441
u32 position, handle, length;
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
449
xdr_decode_read_segment(p, &position, &handle,
net/sunrpc/xprtrdma/svc_rdma_rw.c
150
u64 offset, u32 handle, unsigned int length,
net/sunrpc/xprtrdma/svc_rdma_rw.c
161
iter, offset, handle, direction);
net/sunrpc/xprtrdma/svc_rdma_rw.c
163
trace_svcrdma_dma_map_rw_err(rdma, offset, handle,
net/vmw_vsock/vmci_transport.c
1143
struct vmci_handle handle;
net/vmw_vsock/vmci_transport.c
1156
if (vmci_handle_is_invalid(pkt->u.handle)) {
net/vmw_vsock/vmci_transport.c
1195
handle = pkt->u.handle;
net/vmw_vsock/vmci_transport.c
120
struct vmci_handle handle)
net/vmw_vsock/vmci_transport.c
1207
&handle,
net/vmw_vsock/vmci_transport.c
1221
vmci_trans(vpending)->qp_handle = handle;
net/vmw_vsock/vmci_transport.c
1245
err = vmci_transport_send_attach(pending, handle);
net/vmw_vsock/vmci_transport.c
1296
if (vmci_handle_is_invalid(pkt->u.handle) ||
net/vmw_vsock/vmci_transport.c
1297
!vmci_handle_is_equal(pkt->u.handle,
net/vmw_vsock/vmci_transport.c
1389
struct vmci_handle handle;
net/vmw_vsock/vmci_transport.c
1399
handle = VMCI_INVALID_HANDLE;
net/vmw_vsock/vmci_transport.c
1459
handle = VMCI_INVALID_HANDLE;
net/vmw_vsock/vmci_transport.c
1464
&handle,
net/vmw_vsock/vmci_transport.c
1476
err = vmci_transport_send_qp_offer(sk, handle);
net/vmw_vsock/vmci_transport.c
1482
vmci_trans(vsk)->qp_handle = handle;
net/vmw_vsock/vmci_transport.c
149
pkt->u.handle = handle;
net/vmw_vsock/vmci_transport.c
1498
if (!vmci_handle_is_invalid(handle))
net/vmw_vsock/vmci_transport.c
193
struct vmci_handle handle,
net/vmw_vsock/vmci_transport.c
199
proto, handle);
net/vmw_vsock/vmci_transport.c
213
struct vmci_handle handle)
net/vmw_vsock/vmci_transport.c
226
handle, true);
net/vmw_vsock/vmci_transport.c
237
struct vmci_handle handle)
net/vmw_vsock/vmci_transport.c
248
VSOCK_PROTO_INVALID, handle,
net/vmw_vsock/vmci_transport.c
260
struct vmci_handle handle)
net/vmw_vsock/vmci_transport.c
270
mode, wait, proto, handle,
net/vmw_vsock/vmci_transport.c
284
struct vmci_handle handle)
net/vmw_vsock/vmci_transport.c
299
wait, proto, handle);
net/vmw_vsock/vmci_transport.c
363
struct vmci_handle handle)
net/vmw_vsock/vmci_transport.c
368
VSOCK_PROTO_INVALID, handle);
net/vmw_vsock/vmci_transport.c
372
struct vmci_handle handle)
net/vmw_vsock/vmci_transport.c
377
handle);
net/vmw_vsock/vmci_transport.c
548
struct vmci_handle *handle,
net/vmw_vsock/vmci_transport.c
560
err = vmci_qpair_alloc(qpair, handle, produce_size,
net/vmw_vsock/vmci_transport.c
569
err = vmci_qpair_alloc(qpair, handle, produce_size, consume_size,
net/vmw_vsock/vmci_transport.c
865
if (vmci_handle_is_invalid(e_payload->handle) ||
net/vmw_vsock/vmci_transport.c
866
!vmci_handle_is_equal(trans->qp_handle, e_payload->handle))
net/vmw_vsock/vmci_transport.h
71
struct vmci_handle handle;
samples/fanotify/fs-monitor.c
106
print_fh((struct file_handle *) &fid->handle);
security/keys/trusted-keys/trusted_tpm1.c
359
const unsigned char *key, uint16_t type, uint32_t handle)
security/keys/trusted-keys/trusted_tpm1.c
374
tpm_buf_append_u32(tb, handle);
security/keys/trusted-keys/trusted_tpm1.c
38
uint32_t handle;
security/keys/trusted-keys/trusted_tpm1.c
381
s->handle = LOAD32(tb->data, TPM_DATA_OFFSET);
security/keys/trusted-keys/trusted_tpm1.c
393
static int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce)
security/keys/trusted-keys/trusted_tpm1.c
405
*handle = LOAD32(tb->data, TPM_DATA_OFFSET);
security/keys/trusted-keys/trusted_tpm1.c
505
tpm_buf_append_u32(tb, sess.handle);
security/keys/trusted-keys/trusted_tpm1.c
65
16, 1, &s->handle, 4, 0);
security/keys/trusted-keys/trusted_tpm1.c
703
unsigned long handle;
security/keys/trusted-keys/trusted_tpm1.c
737
res = kstrtoul(args[0].from, 16, &handle);
security/keys/trusted-keys/trusted_tpm1.c
741
opt->keyhandle = handle;
security/keys/trusted-keys/trusted_tpm1.c
820
res = kstrtoul(args[0].from, 16, &handle);
security/keys/trusted-keys/trusted_tpm1.c
823
opt->policyhandle = handle;
sound/core/oss/pcm_plugin.h
103
int snd_pcm_plugin_build_copy(struct snd_pcm_substream *handle,
sound/core/oss/pcm_plugin.h
117
snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *handle,
sound/core/oss/pcm_plugin.h
120
snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *handle,
sound/core/oss/pcm_plugin.h
124
snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *handle,
sound/core/oss/pcm_plugin.h
143
static inline snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_size) { return drv_size; }
sound/core/oss/pcm_plugin.h
144
static inline snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_size) { return clt_size; }
sound/core/oss/pcm_plugin.h
70
int snd_pcm_plugin_build(struct snd_pcm_substream *handle,
sound/core/oss/pcm_plugin.h
78
snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t drv_size);
sound/core/oss/pcm_plugin.h
79
snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *handle, snd_pcm_uframes_t clt_size);
sound/core/oss/pcm_plugin.h
84
int snd_pcm_plugin_build_io(struct snd_pcm_substream *handle,
sound/core/oss/pcm_plugin.h
87
int snd_pcm_plugin_build_linear(struct snd_pcm_substream *handle,
sound/core/oss/pcm_plugin.h
91
int snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *handle,
sound/core/oss/pcm_plugin.h
95
int snd_pcm_plugin_build_rate(struct snd_pcm_substream *handle,
sound/core/oss/pcm_plugin.h
99
int snd_pcm_plugin_build_route(struct snd_pcm_substream *handle,
sound/drivers/pcsp/pcsp.h
77
extern enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle);
sound/drivers/pcsp/pcsp_lib.c
128
enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle)
sound/drivers/pcsp/pcsp_lib.c
130
struct snd_pcsp *chip = container_of(handle, struct snd_pcsp, timer);
sound/drivers/pcsp/pcsp_lib.c
147
hrtimer_forward_now(handle, ns_to_ktime(ns));
sound/hda/codecs/realtek/alc269.c
3125
static void comp_acpi_device_notify(acpi_handle handle, u32 event, void *data)
sound/hda/codecs/realtek/alc269.c
3132
hda_component_acpi_device_notify(&spec->comps, handle, event, data);
sound/hda/codecs/side-codecs/cs35l41_hda.c
1391
static bool cs35l41_dsm_supported(acpi_handle handle, unsigned int commands)
sound/hda/codecs/side-codecs/cs35l41_hda.c
1397
return acpi_check_dsm(handle, &guid, 0, BIT(commands));
sound/hda/codecs/side-codecs/cs35l41_hda.c
1400
static int cs35l41_get_acpi_mute_state(struct cs35l41_hda *cs35l41, acpi_handle handle)
sound/hda/codecs/side-codecs/cs35l41_hda.c
1408
if (cs35l41_dsm_supported(handle, CS35L41_DSM_GET_MUTE)) {
sound/hda/codecs/side-codecs/cs35l41_hda.c
1409
ret = acpi_evaluate_dsm(handle, &guid, 0, CS35L41_DSM_GET_MUTE, NULL);
sound/hda/codecs/side-codecs/cs35l41_hda.c
1421
static void cs35l41_acpi_device_notify(acpi_handle handle, u32 event, struct device *dev)
sound/hda/codecs/side-codecs/cs35l41_hda.c
1429
mute = cs35l41_get_acpi_mute_state(cs35l41, handle);
sound/hda/codecs/side-codecs/hda_component.c
19
acpi_handle handle, u32 event, void *data)
sound/hda/codecs/side-codecs/hda_component.c
54
ret = acpi_install_notify_handler(adev->handle, ACPI_DEVICE_NOTIFY,
sound/hda/codecs/side-codecs/hda_component.c
79
ret = acpi_remove_notify_handler(adev->handle, ACPI_DEVICE_NOTIFY, handler);
sound/hda/codecs/side-codecs/hda_component.h
25
void (*acpi_notify)(acpi_handle handle, u32 event, struct device *dev);
sound/hda/codecs/side-codecs/hda_component.h
39
acpi_handle handle, u32 event, void *data);
sound/hda/codecs/side-codecs/hda_component.h
48
acpi_handle handle,
sound/hda/core/intel-dsp-config.c
661
acpi_handle handle;
sound/hda/core/intel-dsp-config.c
664
handle = ACPI_HANDLE(&pci->dev);
sound/hda/core/intel-dsp-config.c
665
if (!handle)
sound/hda/core/intel-dsp-config.c
668
ret = sdw_intel_acpi_scan(handle, &info);
sound/hda/core/intel-sdw-acpi.c
134
static acpi_status sdw_intel_acpi_cb(acpi_handle handle, u32 level,
sound/hda/core/intel-sdw-acpi.c
141
ret = acpi_get_local_u64_address(handle, &adr);
sound/hda/core/intel-sdw-acpi.c
145
if (!acpi_fetch_acpi_dev(handle)) {
sound/hda/core/intel-sdw-acpi.c
164
info->handle = handle;
sound/hda/core/intel-sdw-acpi.c
185
info->handle = NULL;
sound/hda/core/intel-sdw-acpi.c
196
if (ACPI_FAILURE(status) || info->handle == NULL)
sound/hda/core/intel-sdw-acpi.c
58
struct acpi_device *adev = acpi_fetch_acpi_dev(info->handle);
sound/pci/asihpi/hpi_internal.h
1383
char hpi_handle_object(const u32 handle);
sound/pci/asihpi/hpi_internal.h
1385
void hpi_handle_to_indexes(const u32 handle, u16 *pw_adapter_index,
sound/pci/asihpi/hpifunc.c
24
union handle_word handle;
sound/pci/asihpi/hpifunc.c
26
handle.h.adapter_index = adapter_index;
sound/pci/asihpi/hpifunc.c
27
handle.h.spare = 0;
sound/pci/asihpi/hpifunc.c
28
handle.h.read_only = 0;
sound/pci/asihpi/hpifunc.c
29
handle.h.obj_type = c_object;
sound/pci/asihpi/hpifunc.c
30
handle.h.obj_index = object_index;
sound/pci/asihpi/hpifunc.c
31
return handle.w;
sound/pci/asihpi/hpifunc.c
49
void hpi_handle_to_indexes(const u32 handle, u16 *pw_adapter_index,
sound/pci/asihpi/hpifunc.c
52
hpi_handle_indexes(handle, pw_adapter_index, pw_object_index);
sound/pci/asihpi/hpifunc.c
55
char hpi_handle_object(const u32 handle)
sound/pci/asihpi/hpifunc.c
58
uhandle.w = handle;
sound/sh/sh_dac_audio.c
262
static enum hrtimer_restart sh_dac_audio_timer(struct hrtimer *handle)
sound/sh/sh_dac_audio.c
264
struct snd_sh_dac *chip = container_of(handle, struct snd_sh_dac,
sound/soc/amd/acp/acp-legacy-common.c
576
acpi_handle handle;
sound/soc/amd/acp/acp-legacy-common.c
612
handle = ACPI_HANDLE(&pci->dev);
sound/soc/amd/acp/acp-legacy-common.c
613
ret = acpi_evaluate_integer(handle, "_WOV", NULL, &dmic_status);
sound/soc/amd/acp/amd-sdw-acpi.c
27
struct acpi_device *adev = acpi_fetch_acpi_dev(info->handle);
sound/soc/amd/ps/pci-ps.c
271
acp_data->info.handle = sdw_dev->handle;
sound/soc/amd/ps/pci-ps.c
286
sdw_res.handle = acp_data->info.handle;
sound/soc/amd/ps/pci-ps.c
407
acpi_handle handle;
sound/soc/amd/ps/pci-ps.c
430
handle = ACPI_HANDLE(&pci->dev);
sound/soc/amd/ps/pci-ps.c
431
ret = acpi_evaluate_integer(handle, "_WOV", NULL, &dmic_status);
sound/soc/amd/renoir/rn-pci-acp3x.c
211
acpi_handle handle;
sound/soc/amd/renoir/rn-pci-acp3x.c
273
handle = ACPI_HANDLE(&pci->dev);
sound/soc/amd/renoir/rn-pci-acp3x.c
274
ret = acpi_evaluate_integer(handle, "_WOV", NULL, &dmic_status);
sound/soc/amd/yc/acp6x-mach.c
757
acpi_handle handle;
sound/soc/amd/yc/acp6x-mach.c
775
handle = ACPI_HANDLE(pdev->dev.parent);
sound/soc/amd/yc/acp6x-mach.c
776
ret = acpi_evaluate_integer(handle, "_WOV", NULL, &dmic_status);
sound/soc/codecs/cs35l41.c
1160
acpi_handle handle = acpi_device_handle(adev);
sound/soc/codecs/cs35l41.c
1162
sub = acpi_get_subsystem_id(handle);
sound/soc/qcom/qdsp6/q6dsp-lpass-clocks.c
100
cc->desc->lpass_unvote_clk(clk->dev, clk->q6dsp_clk_id, clk->handle);
sound/soc/qcom/qdsp6/q6dsp-lpass-clocks.c
24
uint32_t handle;
sound/soc/qcom/qdsp6/q6dsp-lpass-clocks.c
92
clk_hw_get_name(&clk->hw), &clk->handle);
sound/soc/sdca/sdca_functions.c
108
ret = acpi_get_local_u64_address(adev->handle, &addr);
sound/soc/soc-acpi.c
55
static acpi_status snd_soc_acpi_find_package(acpi_handle handle, u32 level,
sound/soc/soc-acpi.c
58
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
sound/soc/soc-acpi.c
68
status = acpi_evaluate_object_typed(handle, pkg_ctx->name,
sound/soc/sof/amd/acp.c
772
acp_data->info.handle = sdw_dev->handle;
sound/soc/sof/amd/acp.c
789
sdw_res.handle = acp_data->info.handle;
sound/soc/sof/intel/hda.c
141
acpi_handle handle;
sound/soc/sof/intel/hda.c
147
handle = ACPI_HANDLE(sdev->dev);
sound/soc/sof/intel/hda.c
152
ret = sdw_intel_acpi_scan(handle, &hdev->info);
sound/soc/sof/intel/hda.c
202
res.handle = hdev->info.handle;
sound/soc/sof/intel/mtl.c
294
if (hdev->info.handle && hdev->info.link_mask > 0)
sound/usb/mixer_quirks.c
544
static void snd_dualsense_ih_event(struct input_handle *handle,
sound/usb/mixer_quirks.c
554
mei = container_of(handle->handler, struct dualsense_mixer_elem_info, ih);
sound/usb/mixer_quirks.c
616
struct input_handle *handle;
sound/usb/mixer_quirks.c
619
handle = kzalloc_obj(*handle);
sound/usb/mixer_quirks.c
620
if (!handle)
sound/usb/mixer_quirks.c
623
handle->dev = dev;
sound/usb/mixer_quirks.c
624
handle->handler = handler;
sound/usb/mixer_quirks.c
625
handle->name = handler->name;
sound/usb/mixer_quirks.c
627
err = input_register_handle(handle);
sound/usb/mixer_quirks.c
631
err = input_open_device(handle);
sound/usb/mixer_quirks.c
638
input_unregister_handle(handle);
sound/usb/mixer_quirks.c
640
kfree(handle);
sound/usb/mixer_quirks.c
644
static void snd_dualsense_ih_disconnect(struct input_handle *handle)
sound/usb/mixer_quirks.c
646
input_close_device(handle);
sound/usb/mixer_quirks.c
647
input_unregister_handle(handle);
sound/usb/mixer_quirks.c
648
kfree(handle);
sound/usb/mixer_quirks.c
651
static void snd_dualsense_ih_start(struct input_handle *handle)
sound/usb/mixer_quirks.c
657
mei = container_of(handle->handler, struct dualsense_mixer_elem_info, ih);
sound/usb/mixer_quirks.c
661
test_bit(SW_HEADPHONE_INSERT, handle->dev->swbit))
sound/usb/mixer_quirks.c
662
status = test_bit(SW_HEADPHONE_INSERT, handle->dev->sw);
sound/usb/mixer_quirks.c
664
test_bit(SW_MICROPHONE_INSERT, handle->dev->swbit))
sound/usb/mixer_quirks.c
665
status = test_bit(SW_MICROPHONE_INSERT, handle->dev->sw);
sound/usb/qcom/qc_audio_offload.c
1521
static void handle_uaudio_stream_req(struct qmi_handle *handle,
sound/usb/qcom/qc_audio_offload.c
852
static void qmi_bye_cb(struct qmi_handle *handle, unsigned int node)
sound/usb/qcom/qc_audio_offload.c
856
if (svc->uaudio_svc_hdl != handle)
sound/usb/qcom/qc_audio_offload.c
881
static void qmi_svc_disconnect_cb(struct qmi_handle *handle,
sound/usb/qcom/qc_audio_offload.c
890
if (svc->uaudio_svc_hdl != handle)
tools/arch/x86/include/uapi/asm/kvm.h
770
__u32 handle;
tools/arch/x86/include/uapi/asm/kvm.h
806
__u32 handle;
tools/arch/x86/include/uapi/asm/kvm.h
855
__u32 handle;
tools/bpf/bpftool/net.c
307
static int netlink_get_filter(int sock, unsigned int nl_pid, int ifindex, int handle,
tools/bpf/bpftool/net.c
319
.t.tcm_parent = handle,
tools/bpf/bpftool/net.c
422
tcinfo->handle_array[tcinfo->used_len].handle = info->tcm_handle;
tools/bpf/bpftool/net.c
45
int handle;
tools/bpf/bpftool/net.c
531
int i, handle, ret = 0;
tools/bpf/bpftool/net.c
554
tcinfo.handle_array[i].handle,
tools/bpf/bpftool/net.c
561
handle = TC_H_ROOT;
tools/bpf/bpftool/net.c
563
ret = netlink_get_filter(sock, nl_pid, dev->ifindex, handle,
tools/bpf/bpftool/net.c
568
handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_INGRESS);
tools/bpf/bpftool/net.c
570
ret = netlink_get_filter(sock, nl_pid, dev->ifindex, handle,
tools/bpf/bpftool/net.c
575
handle = TC_H_MAKE(TC_H_CLSACT, TC_H_MIN_EGRESS);
tools/bpf/bpftool/net.c
577
ret = netlink_get_filter(sock, nl_pid, dev->ifindex, handle,
tools/build/feature/test-file-handle.c
12
} handle;
tools/build/feature/test-file-handle.c
15
name_to_handle_at(AT_FDCWD, "/", &handle.fh, &mount_id, 0);
tools/build/feature/test-libcapstone.c
7
csh handle;
tools/build/feature/test-libcapstone.c
9
cs_open(CS_ARCH_X86, CS_MODE_64, &handle);
tools/include/uapi/drm/drm.h
1032
__u32 handle;
tools/include/uapi/drm/drm.h
213
void *handle; /**< Handle of map */
tools/include/uapi/drm/drm.h
227
void *handle; /**< User-space: "Handle" to pass to mmap() */
tools/include/uapi/drm/drm.h
425
drm_context_t handle;
tools/include/uapi/drm/drm.h
441
drm_drawable_t handle;
tools/include/uapi/drm/drm.h
452
drm_drawable_t handle;
tools/include/uapi/drm/drm.h
546
unsigned long handle; /**< Used for binding / unbinding */
tools/include/uapi/drm/drm.h
557
unsigned long handle; /**< From drm_agp_buffer */
tools/include/uapi/drm/drm.h
587
unsigned long handle; /**< Used for mapping / unmapping */
tools/include/uapi/drm/drm.h
608
__u32 handle;
tools/include/uapi/drm/drm.h
623
__u32 handle;
tools/include/uapi/drm/drm.h
640
__u32 handle;
tools/include/uapi/drm/drm.h
655
__u32 handle;
tools/include/uapi/drm/drm.h
933
__u32 handle;
tools/include/uapi/drm/drm.h
943
__u32 handle;
tools/include/uapi/drm/drm.h
949
__u32 handle;
tools/include/uapi/drm/drm.h
958
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1015
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1099
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1115
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1193
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1244
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1329
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1575
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1587
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1593
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1686
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1744
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1775
__u32 handle;
tools/include/uapi/drm/i915_drm.h
1821
__u32 handle;
tools/include/uapi/drm/i915_drm.h
2760
__u32 handle;
tools/include/uapi/drm/i915_drm.h
3690
__u32 handle;
tools/include/uapi/drm/i915_drm.h
927
__u32 handle;
tools/include/uapi/drm/i915_drm.h
933
__u32 handle;
tools/include/uapi/drm/i915_drm.h
949
__u32 handle;
tools/include/uapi/drm/i915_drm.h
965
__u32 handle;
tools/include/uapi/drm/i915_drm.h
993
__u32 handle;
tools/include/uapi/linux/fanotify.h
183
unsigned char handle[];
tools/lib/bpf/libbpf.h
1386
__u32 handle;
tools/lib/bpf/libbpf.h
1397
__u32 handle;
tools/lib/bpf/netlink.c
549
req->tc.tcm_handle = OPTS_GET(hook, handle, 0);
tools/lib/bpf/netlink.c
690
OPTS_SET(info->opts, handle, tc->tcm_handle);
tools/lib/bpf/netlink.c
736
__u32 protocol, bpf_flags, handle, priority, parent, prog_id, flags;
tools/lib/bpf/netlink.c
751
handle = OPTS_GET(opts, handle, 0);
tools/lib/bpf/netlink.c
774
req.tc.tcm_handle = handle;
tools/lib/bpf/netlink.c
812
__u32 protocol = 0, handle, priority, parent, prog_id, flags;
tools/lib/bpf/netlink.c
825
handle = OPTS_GET(opts, handle, 0);
tools/lib/bpf/netlink.c
836
if (!handle || !priority)
tools/lib/bpf/netlink.c
840
if (handle || priority)
tools/lib/bpf/netlink.c
851
req.tc.tcm_handle = handle;
tools/lib/bpf/netlink.c
883
__u32 protocol, handle, priority, parent, prog_id, flags;
tools/lib/bpf/netlink.c
897
handle = OPTS_GET(opts, handle, 0);
tools/lib/bpf/netlink.c
904
!handle || !priority)
tools/lib/bpf/netlink.c
917
req.tc.tcm_handle = handle;
tools/perf/builtin-record.c
2329
pthread_t handle;
tools/perf/builtin-record.c
2354
if (pthread_create(&handle, &attrs, record__thread, &thread_data[t])) {
tools/perf/util/capstone.c
120
static enum cs_err perf_cs_close(csh *handle)
tools/perf/util/capstone.c
123
return cs_close(handle);
tools/perf/util/capstone.c
126
static enum cs_err (*fn)(csh *handle);
tools/perf/util/capstone.c
136
return fn(handle);
tools/perf/util/capstone.c
342
csh handle;
tools/perf/util/capstone.c
376
if (capstone_init(maps__machine(thread__maps(args->ms->thread)), &handle, is_64bit,
tools/perf/util/capstone.c
38
static enum cs_err perf_cs_open(enum cs_arch arch, enum cs_mode mode, csh *handle)
tools/perf/util/capstone.c
382
free_count = count = perf_cs_disasm(handle, buf, buf_len, start, buf_len, &insn);
tools/perf/util/capstone.c
41
return cs_open(arch, mode, handle);
tools/perf/util/capstone.c
421
perf_cs_close(&handle);
tools/perf/util/capstone.c
44
static enum cs_err (*fn)(enum cs_arch arch, enum cs_mode mode, csh *handle);
tools/perf/util/capstone.c
464
csh handle;
tools/perf/util/capstone.c
487
if (capstone_init(maps__machine(thread__maps(args->ms->thread)), &handle, is_64bit,
tools/perf/util/capstone.c
54
return fn(arch, mode, handle);
tools/perf/util/capstone.c
562
perf_cs_close(&handle);
tools/perf/util/capstone.c
58
static enum cs_err perf_cs_option(csh handle, enum cs_opt_type type, size_t value)
tools/perf/util/capstone.c
61
return cs_option(handle, type, value);
tools/perf/util/capstone.c
64
static enum cs_err (*fn)(csh handle, enum cs_opt_type type, size_t value);
tools/perf/util/capstone.c
74
return fn(handle, type, value);
tools/perf/util/capstone.c
78
static size_t perf_cs_disasm(csh handle, const uint8_t *code, size_t code_size,
tools/perf/util/capstone.c
82
return cs_disasm(handle, code, code_size, address, count, insn);
tools/perf/util/capstone.c
85
static enum cs_err (*fn)(csh handle, const uint8_t *code, size_t code_size,
tools/perf/util/capstone.c
96
return fn(handle, code, code_size, address, count, insn);
tools/perf/util/cgroup.c
57
} handle;
tools/perf/util/cgroup.c
60
handle.fh.handle_bytes = sizeof(handle.cgroup_id);
tools/perf/util/cgroup.c
61
if (name_to_handle_at(AT_FDCWD, path, &handle.fh, &mount_id, 0) < 0)
tools/perf/util/cgroup.c
64
return handle.cgroup_id;
tools/perf/util/dlfilter.c
400
d->handle = dlopen(d->file, RTLD_NOW);
tools/perf/util/dlfilter.c
401
if (!d->handle) {
tools/perf/util/dlfilter.c
405
d->start = dlsym(d->handle, "start");
tools/perf/util/dlfilter.c
406
d->filter_event = dlsym(d->handle, "filter_event");
tools/perf/util/dlfilter.c
407
d->filter_event_early = dlsym(d->handle, "filter_event_early");
tools/perf/util/dlfilter.c
408
d->stop = dlsym(d->handle, "stop");
tools/perf/util/dlfilter.c
409
d->fns = dlsym(d->handle, "perf_dlfilter_fns");
tools/perf/util/dlfilter.c
417
return dlclose(d->handle);
tools/perf/util/dlfilter.c
584
void *handle;
tools/perf/util/dlfilter.c
588
handle = dlopen(path, RTLD_NOW);
tools/perf/util/dlfilter.c
589
if (!handle || !(dlsym(handle, "filter_event") || dlsym(handle, "filter_event_early")))
tools/perf/util/dlfilter.c
591
desc_fn = dlsym(handle, "filter_description");
tools/perf/util/dlfilter.c
602
dlclose(handle);
tools/perf/util/dlfilter.h
22
void *handle;
tools/perf/util/synthetic-events.c
563
} handle;
tools/perf/util/synthetic-events.c
574
handle.fh.handle_bytes = sizeof(handle.cgroup_id);
tools/perf/util/synthetic-events.c
575
if (name_to_handle_at(AT_FDCWD, path, &handle.fh, &mount_id, 0) < 0) {
tools/perf/util/synthetic-events.c
580
event->cgroup.id = handle.cgroup_id;
tools/power/acpi/os_specific/service_layers/osunixxf.c
597
acpi_status acpi_os_delete_semaphore(acpi_handle handle)
tools/power/acpi/os_specific/service_layers/osunixxf.c
602
acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout)
tools/power/acpi/os_specific/service_layers/osunixxf.c
607
acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units)
tools/power/acpi/os_specific/service_layers/osunixxf.c
680
acpi_status acpi_os_delete_semaphore(acpi_handle handle)
tools/power/acpi/os_specific/service_layers/osunixxf.c
682
sem_t *sem = (sem_t *) handle;
tools/power/acpi/os_specific/service_layers/osunixxf.c
715
acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 msec_timeout)
tools/power/acpi/os_specific/service_layers/osunixxf.c
718
sem_t *sem = (sem_t *) handle;
tools/power/acpi/os_specific/service_layers/osunixxf.c
833
acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units)
tools/power/acpi/os_specific/service_layers/osunixxf.c
835
sem_t *sem = (sem_t *) handle;
tools/power/acpi/os_specific/service_layers/osunixxf.c
864
void acpi_os_delete_lock(acpi_spinlock handle)
tools/power/acpi/os_specific/service_layers/osunixxf.c
866
acpi_os_delete_semaphore(handle);
tools/power/acpi/os_specific/service_layers/osunixxf.c
869
acpi_cpu_flags acpi_os_acquire_lock(acpi_handle handle)
tools/power/acpi/os_specific/service_layers/osunixxf.c
871
acpi_os_wait_semaphore(handle, 1, 0xFFFF);
tools/power/acpi/os_specific/service_layers/osunixxf.c
875
void acpi_os_release_lock(acpi_spinlock handle, acpi_cpu_flags flags)
tools/power/acpi/os_specific/service_layers/osunixxf.c
877
acpi_os_signal_semaphore(handle, 1);
tools/testing/cxl/mock_acpi.c
25
if (!acpi_pci_find_root(adev->handle))
tools/testing/cxl/test/cxl.c
591
static struct acpi_device *find_host_bridge(acpi_handle handle)
tools/testing/cxl/test/cxl.c
596
if (handle == host_bridge[i].handle)
tools/testing/cxl/test/cxl.c
602
mock_acpi_evaluate_integer(acpi_handle handle, acpi_string pathname,
tools/testing/cxl/test/cxl.c
606
struct acpi_device *adev = find_host_bridge(handle);
tools/testing/cxl/test/cxl.c
609
return acpi_evaluate_integer(handle, pathname, arguments, data);
tools/testing/cxl/test/cxl.c
661
static struct acpi_pci_root *mock_acpi_pci_find_root(acpi_handle handle)
tools/testing/cxl/test/cxl.c
663
struct acpi_device *adev = find_host_bridge(handle);
tools/testing/cxl/test/cxl.c
666
return acpi_pci_find_root(handle);
tools/testing/cxl/test/cxl.c
77
.handle = &host_bridge[0],
tools/testing/cxl/test/cxl.c
81
.handle = &host_bridge[1],
tools/testing/cxl/test/cxl.c
85
.handle = &host_bridge[2],
tools/testing/cxl/test/cxl.c
89
.handle = &host_bridge[3],
tools/testing/cxl/test/mem.c
287
pl->records[i].event.generic.hdr.handle =
tools/testing/cxl/test/mem.c
318
u16 handle;
tools/testing/cxl/test/mem.c
340
for (nr = 0, handle = event_get_clear_handle(log);
tools/testing/cxl/test/mem.c
342
nr++, handle++) {
tools/testing/cxl/test/mem.c
343
if (handle != le16_to_cpu(pl->handles[nr])) {
tools/testing/cxl/test/mock.c
122
struct acpi_pci_root *__wrap_acpi_pci_find_root(acpi_handle handle)
tools/testing/cxl/test/mock.c
129
root = ops->acpi_pci_find_root(handle);
tools/testing/cxl/test/mock.c
131
root = acpi_pci_find_root(handle);
tools/testing/cxl/test/mock.c
81
acpi_status __wrap_acpi_evaluate_integer(acpi_handle handle,
tools/testing/cxl/test/mock.c
91
status = ops->acpi_evaluate_integer(handle, pathname, arguments,
tools/testing/cxl/test/mock.c
94
status = acpi_evaluate_integer(handle, pathname, arguments,
tools/testing/cxl/test/mock.h
14
acpi_status (*acpi_evaluate_integer)(acpi_handle handle,
tools/testing/cxl/test/mock.h
18
struct acpi_pci_root *(*acpi_pci_find_root)(acpi_handle handle);
tools/testing/nvdimm/test/iomap.c
365
acpi_status __wrap_acpi_evaluate_object(acpi_handle handle, acpi_string path,
tools/testing/nvdimm/test/iomap.c
368
struct nfit_test_resource *nfit_res = get_nfit_res((long) handle);
tools/testing/nvdimm/test/iomap.c
372
return acpi_evaluate_object(handle, path, p, buf);
tools/testing/nvdimm/test/iomap.c
381
union acpi_object * __wrap_acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid,
tools/testing/nvdimm/test/iomap.c
390
obj = ops->evaluate_dsm(handle, guid, rev, func, argv4);
tools/testing/nvdimm/test/iomap.c
394
return acpi_evaluate_dsm(handle, guid, rev, func, argv4);
tools/testing/nvdimm/test/ndtest.c
499
return sprintf(buf, "%#x\n", dimm->handle);
tools/testing/nvdimm/test/ndtest.c
501
static DEVICE_ATTR_RO(handle);
tools/testing/nvdimm/test/ndtest.c
53
.handle = NFIT_DIMM_HANDLE(0, 0, 0, 0, 0),
tools/testing/nvdimm/test/ndtest.c
592
0xa, 2016, ~(dimm->handle));
tools/testing/nvdimm/test/ndtest.c
60
.handle = NFIT_DIMM_HANDLE(0, 0, 0, 0, 1),
tools/testing/nvdimm/test/ndtest.c
602
return sprintf(buf, "%#x\n", dimm->handle);
tools/testing/nvdimm/test/ndtest.c
67
.handle = NFIT_DIMM_HANDLE(0, 0, 1, 0, 0),
tools/testing/nvdimm/test/ndtest.c
74
.handle = NFIT_DIMM_HANDLE(0, 0, 1, 0, 1),
tools/testing/nvdimm/test/ndtest.c
81
.handle = NFIT_DIMM_HANDLE(0, 1, 0, 0, 0),
tools/testing/nvdimm/test/ndtest.c
91
.handle = NFIT_DIMM_HANDLE(1, 0, 0, 0, 0),
tools/testing/nvdimm/test/ndtest.h
45
unsigned int handle;
tools/testing/nvdimm/test/nfit.c
124
static u32 handle[] = {
tools/testing/nvdimm/test/nfit.c
1322
for (i = 0; i < ARRAY_SIZE(handle); i++)
tools/testing/nvdimm/test/nfit.c
1323
if (__to_nfit_memdev(nfit_mem)->device_handle == handle[i])
tools/testing/nvdimm/test/nfit.c
1325
if (i >= ARRAY_SIZE(handle))
tools/testing/nvdimm/test/nfit.c
134
static unsigned long dimm_fail_cmd_flags[ARRAY_SIZE(handle)];
tools/testing/nvdimm/test/nfit.c
135
static int dimm_fail_cmd_code[ARRAY_SIZE(handle)];
tools/testing/nvdimm/test/nfit.c
1741
return sprintf(buf, "%#x\n", handle[dimm]);
tools/testing/nvdimm/test/nfit.c
1743
DEVICE_ATTR_RO(handle);
tools/testing/nvdimm/test/nfit.c
210
struct device *dimm_dev[ARRAY_SIZE(handle)];
tools/testing/nvdimm/test/nfit.c
2121
memdev->device_handle = handle[0];
tools/testing/nvdimm/test/nfit.c
2137
memdev->device_handle = handle[1];
tools/testing/nvdimm/test/nfit.c
2154
memdev->device_handle = handle[0];
tools/testing/nvdimm/test/nfit.c
2171
memdev->device_handle = handle[1];
tools/testing/nvdimm/test/nfit.c
2187
memdev->device_handle = handle[2];
tools/testing/nvdimm/test/nfit.c
2204
memdev->device_handle = handle[3];
tools/testing/nvdimm/test/nfit.c
2220
memdev->device_handle = handle[0];
tools/testing/nvdimm/test/nfit.c
2236
memdev->device_handle = handle[1];
tools/testing/nvdimm/test/nfit.c
2252
memdev->device_handle = handle[2];
tools/testing/nvdimm/test/nfit.c
2268
memdev->device_handle = handle[3];
tools/testing/nvdimm/test/nfit.c
2284
memdev->device_handle = handle[0];
tools/testing/nvdimm/test/nfit.c
2300
memdev->device_handle = handle[1];
tools/testing/nvdimm/test/nfit.c
2316
memdev->device_handle = handle[2];
tools/testing/nvdimm/test/nfit.c
2332
memdev->device_handle = handle[3];
tools/testing/nvdimm/test/nfit.c
2351
dcr->serial_number = ~handle[0];
tools/testing/nvdimm/test/nfit.c
2367
dcr->serial_number = ~handle[1];
tools/testing/nvdimm/test/nfit.c
2383
dcr->serial_number = ~handle[2];
tools/testing/nvdimm/test/nfit.c
2399
dcr->serial_number = ~handle[3];
tools/testing/nvdimm/test/nfit.c
2416
dcr->serial_number = ~handle[0];
tools/testing/nvdimm/test/nfit.c
2428
dcr->serial_number = ~handle[1];
tools/testing/nvdimm/test/nfit.c
2440
dcr->serial_number = ~handle[2];
tools/testing/nvdimm/test/nfit.c
2452
dcr->serial_number = ~handle[3];
tools/testing/nvdimm/test/nfit.c
2509
flush->device_handle = handle[0];
tools/testing/nvdimm/test/nfit.c
2519
flush->device_handle = handle[1];
tools/testing/nvdimm/test/nfit.c
2529
flush->device_handle = handle[2];
tools/testing/nvdimm/test/nfit.c
2539
flush->device_handle = handle[3];
tools/testing/nvdimm/test/nfit.c
2560
dcr->serial_number = ~handle[4];
tools/testing/nvdimm/test/nfit.c
2577
dcr->serial_number = ~handle[4];
tools/testing/nvdimm/test/nfit.c
2632
memdev->device_handle = handle[4];
tools/testing/nvdimm/test/nfit.c
2648
memdev->device_handle = handle[4];
tools/testing/nvdimm/test/nfit.c
2665
memdev->device_handle = handle[4];
tools/testing/nvdimm/test/nfit.c
2681
flush->device_handle = handle[4];
tools/testing/nvdimm/test/nfit.c
2776
memdev->device_handle = handle[5];
tools/testing/nvdimm/test/nfit.c
2798
dcr->serial_number = ~handle[5];
tools/testing/nvdimm/test/nfit.c
2806
memdev->device_handle = handle[6];
tools/testing/nvdimm/test/nfit.c
2826
dcr->serial_number = ~handle[6];
tools/testing/nvdimm/test/nfit.c
2854
static union acpi_object *nfit_test_evaluate_dsm(acpi_handle handle,
tools/testing/nvdimm/test/nfit.c
2857
if (handle != &nfit_ctl_handle)
tools/testing/nvdimm/test/nfit.c
2903
.handle = &nfit_ctl_handle,
tools/testing/nvdimm/test/nfit.c
3240
for (i = 0; i < ARRAY_SIZE(handle); i++)
tools/testing/nvdimm/test/nfit.c
3241
if (nfit_handle == handle[i])
tools/testing/nvdimm/test/nfit.c
557
ars_record->handle = 0;
tools/testing/nvdimm/test/nfit_test.h
234
acpi_status __wrap_acpi_evaluate_object(acpi_handle handle, acpi_string path,
tools/testing/nvdimm/test/nfit_test.h
236
union acpi_object * __wrap_acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid,
tools/testing/radix-tree/idr-test.c
200
void idr_u32_test1(struct idr *idr, u32 handle)
tools/testing/radix-tree/idr-test.c
203
u32 id = handle;
tools/testing/radix-tree/idr-test.c
208
BUG_ON(id != handle);
tools/testing/radix-tree/idr-test.c
210
BUG_ON(id != handle);
tools/testing/selftests/alsa/global-timer.c
23
snd_timer_t *handle;
tools/testing/selftests/alsa/global-timer.c
35
if (snd_timer_open(&handle, timer_name, SND_TIMER_OPEN_NONBLOCK) < 0) {
tools/testing/selftests/alsa/global-timer.c
42
if (snd_timer_params(handle, params) < 0) {
tools/testing/selftests/alsa/global-timer.c
47
if (snd_async_add_timer_handler(&ahandler, handle, async_callback, NULL) < 0) {
tools/testing/selftests/alsa/global-timer.c
52
if (snd_timer_start(handle) < 0) {
tools/testing/selftests/alsa/global-timer.c
63
snd_timer_stop(handle);
tools/testing/selftests/alsa/global-timer.c
64
snd_timer_close(handle);
tools/testing/selftests/alsa/mixer-test.c
102
err = snd_ctl_card_info(card_data->handle, card_data->info);
tools/testing/selftests/alsa/mixer-test.c
119
snd_ctl_elem_list(card_data->handle, card_data->ctls);
tools/testing/selftests/alsa/mixer-test.c
124
snd_ctl_elem_list(card_data->handle, card_data->ctls);
tools/testing/selftests/alsa/mixer-test.c
158
err = snd_ctl_elem_info(card_data->handle,
tools/testing/selftests/alsa/mixer-test.c
174
err = snd_ctl_subscribe_events(card_data->handle, true);
tools/testing/selftests/alsa/mixer-test.c
180
err = snd_ctl_poll_descriptors_count(card_data->handle);
tools/testing/selftests/alsa/mixer-test.c
186
err = snd_ctl_poll_descriptors(card_data->handle,
tools/testing/selftests/alsa/mixer-test.c
228
err = snd_ctl_poll_descriptors_revents(ctl->card->handle,
tools/testing/selftests/alsa/mixer-test.c
247
err = snd_ctl_read(ctl->card->handle, event);
tools/testing/selftests/alsa/mixer-test.c
34
snd_ctl_t *handle;
tools/testing/selftests/alsa/mixer-test.c
425
err = snd_ctl_elem_read(ctl->card->handle, ctl->def_val);
tools/testing/selftests/alsa/mixer-test.c
616
err = snd_ctl_elem_read(ctl->card->handle, initial_val);
tools/testing/selftests/alsa/mixer-test.c
628
err = snd_ctl_elem_write(ctl->card->handle, w_val);
tools/testing/selftests/alsa/mixer-test.c
641
err = snd_ctl_elem_read(ctl->card->handle, read_val);
tools/testing/selftests/alsa/mixer-test.c
83
err = snd_ctl_open_lconf(&card_data->handle, name, 0, config);
tools/testing/selftests/alsa/mixer-test.c
900
err = snd_ctl_elem_write(ctl->card->handle, val);
tools/testing/selftests/alsa/mixer-test.c
905
err = snd_ctl_elem_read(ctl->card->handle, val);
tools/testing/selftests/alsa/pcm-test.c
159
snd_ctl_t *handle;
tools/testing/selftests/alsa/pcm-test.c
179
err = snd_ctl_open_lconf(&handle, name, 0, config);
tools/testing/selftests/alsa/pcm-test.c
198
err = snd_ctl_card_info(handle, card_data->info);
tools/testing/selftests/alsa/pcm-test.c
221
if (snd_ctl_pcm_next_device(handle, &dev) < 0)
tools/testing/selftests/alsa/pcm-test.c
237
err = snd_ctl_pcm_info(handle, pcm_info);
tools/testing/selftests/alsa/pcm-test.c
274
snd_ctl_close(handle);
tools/testing/selftests/alsa/pcm-test.c
292
snd_pcm_t *handle = NULL;
tools/testing/selftests/alsa/pcm-test.c
351
err = snd_pcm_open(&handle, name, data->stream, 0);
tools/testing/selftests/alsa/pcm-test.c
357
err = snd_pcm_hw_params_any(handle, hw_params);
tools/testing/selftests/alsa/pcm-test.c
36
snd_pcm_t *handle;
tools/testing/selftests/alsa/pcm-test.c
362
err = snd_pcm_hw_params_set_rate_resample(handle, hw_params, 0);
tools/testing/selftests/alsa/pcm-test.c
367
err = snd_pcm_hw_params_set_access(handle, hw_params, access);
tools/testing/selftests/alsa/pcm-test.c
375
err = snd_pcm_hw_params_set_format(handle, hw_params, format);
tools/testing/selftests/alsa/pcm-test.c
401
err = snd_pcm_hw_params_set_channels(handle, hw_params, channels);
tools/testing/selftests/alsa/pcm-test.c
407
err = snd_pcm_hw_params_set_rate_near(handle, hw_params, &rrate, 0);
tools/testing/selftests/alsa/pcm-test.c
417
err = snd_pcm_hw_params_set_period_size_near(handle, hw_params, &rperiod_size, 0);
tools/testing/selftests/alsa/pcm-test.c
423
err = snd_pcm_hw_params_set_buffer_size_near(handle, hw_params, &rbuffer_size);
tools/testing/selftests/alsa/pcm-test.c
428
err = snd_pcm_hw_params(handle, hw_params);
tools/testing/selftests/alsa/pcm-test.c
434
err = snd_pcm_sw_params_current(handle, sw_params);
tools/testing/selftests/alsa/pcm-test.c
444
err = snd_pcm_sw_params_set_start_threshold(handle, sw_params, start_threshold);
tools/testing/selftests/alsa/pcm-test.c
449
err = snd_pcm_sw_params_set_avail_min(handle, sw_params, rperiod_size);
tools/testing/selftests/alsa/pcm-test.c
454
err = snd_pcm_sw_params(handle, sw_params);
tools/testing/selftests/alsa/pcm-test.c
476
frames = snd_pcm_writei(handle, samples, rate);
tools/testing/selftests/alsa/pcm-test.c
488
frames = snd_pcm_readi(handle, samples, rate);
tools/testing/selftests/alsa/pcm-test.c
502
snd_pcm_drain(handle);
tools/testing/selftests/alsa/pcm-test.c
550
if (handle)
tools/testing/selftests/alsa/pcm-test.c
551
snd_pcm_close(handle);
tools/testing/selftests/alsa/test-pcmtest-driver.c
100
snd_pcm_hw_params_set_period_size_near(*handle, hwparams, &params->period_size, 0);
tools/testing/selftests/alsa/test-pcmtest-driver.c
101
snd_pcm_hw_params_set_buffer_size_near(*handle, hwparams, &params->buffer_size);
tools/testing/selftests/alsa/test-pcmtest-driver.c
102
snd_pcm_hw_params(*handle, hwparams);
tools/testing/selftests/alsa/test-pcmtest-driver.c
103
snd_pcm_sw_params_current(*handle, swparams);
tools/testing/selftests/alsa/test-pcmtest-driver.c
105
snd_pcm_hw_params_set_rate_resample(*handle, hwparams, 0);
tools/testing/selftests/alsa/test-pcmtest-driver.c
106
snd_pcm_sw_params_set_avail_min(*handle, swparams, params->period_size);
tools/testing/selftests/alsa/test-pcmtest-driver.c
107
snd_pcm_hw_params_set_buffer_size_near(*handle, hwparams, &params->buffer_size);
tools/testing/selftests/alsa/test-pcmtest-driver.c
108
snd_pcm_hw_params_set_period_size_near(*handle, hwparams, &params->period_size, 0);
tools/testing/selftests/alsa/test-pcmtest-driver.c
109
snd_pcm_sw_params(*handle, swparams);
tools/testing/selftests/alsa/test-pcmtest-driver.c
110
snd_pcm_hw_params(*handle, hwparams);
tools/testing/selftests/alsa/test-pcmtest-driver.c
167
snd_pcm_t *handle;
tools/testing/selftests/alsa/test-pcmtest-driver.c
181
ASSERT_EQ(setup_handle(&handle, self->swparams, self->hwparams, params,
tools/testing/selftests/alsa/test-pcmtest-driver.c
192
write_res = snd_pcm_writei(handle, samples, params->rate * params->time);
tools/testing/selftests/alsa/test-pcmtest-driver.c
195
snd_pcm_close(handle);
tools/testing/selftests/alsa/test-pcmtest-driver.c
207
snd_pcm_t *handle;
tools/testing/selftests/alsa/test-pcmtest-driver.c
220
ASSERT_EQ(setup_handle(&handle, self->swparams, self->hwparams,
tools/testing/selftests/alsa/test-pcmtest-driver.c
224
read_res = snd_pcm_readi(handle, samples, params->rate * params->time);
tools/testing/selftests/alsa/test-pcmtest-driver.c
226
snd_pcm_close(handle);
tools/testing/selftests/alsa/test-pcmtest-driver.c
239
snd_pcm_t *handle;
tools/testing/selftests/alsa/test-pcmtest-driver.c
252
ASSERT_EQ(setup_handle(&handle, self->swparams, self->hwparams,
tools/testing/selftests/alsa/test-pcmtest-driver.c
259
read_res = snd_pcm_readn(handle, (void **)chan_samples, params.rate * params.time);
tools/testing/selftests/alsa/test-pcmtest-driver.c
262
snd_pcm_close(handle);
tools/testing/selftests/alsa/test-pcmtest-driver.c
273
snd_pcm_t *handle;
tools/testing/selftests/alsa/test-pcmtest-driver.c
287
ASSERT_EQ(setup_handle(&handle, self->swparams, self->hwparams,
tools/testing/selftests/alsa/test-pcmtest-driver.c
297
read_res = snd_pcm_writen(handle, (void **)chan_samples, params.rate * params.time);
tools/testing/selftests/alsa/test-pcmtest-driver.c
301
snd_pcm_close(handle);
tools/testing/selftests/alsa/test-pcmtest-driver.c
315
snd_pcm_t *handle;
tools/testing/selftests/alsa/test-pcmtest-driver.c
322
ASSERT_EQ(setup_handle(&handle, self->swparams, self->hwparams, params,
tools/testing/selftests/alsa/test-pcmtest-driver.c
324
snd_pcm_reset(handle);
tools/testing/selftests/alsa/test-pcmtest-driver.c
327
snd_pcm_close(handle);
tools/testing/selftests/alsa/test-pcmtest-driver.c
83
static int setup_handle(snd_pcm_t **handle, snd_pcm_sw_params_t *swparams,
tools/testing/selftests/alsa/test-pcmtest-driver.c
91
err = snd_pcm_open(handle, pcm_name, stream, 0);
tools/testing/selftests/alsa/test-pcmtest-driver.c
94
snd_pcm_hw_params_any(*handle, hwparams);
tools/testing/selftests/alsa/test-pcmtest-driver.c
95
snd_pcm_hw_params_set_rate_resample(*handle, hwparams, 0);
tools/testing/selftests/alsa/test-pcmtest-driver.c
96
snd_pcm_hw_params_set_access(*handle, hwparams, params->access);
tools/testing/selftests/alsa/test-pcmtest-driver.c
97
snd_pcm_hw_params_set_format(*handle, hwparams, params->format);
tools/testing/selftests/alsa/test-pcmtest-driver.c
98
snd_pcm_hw_params_set_channels(*handle, hwparams, params->channels);
tools/testing/selftests/alsa/test-pcmtest-driver.c
99
snd_pcm_hw_params_set_rate_near(*handle, hwparams, &params->rate, 0);
tools/testing/selftests/bpf/network_helpers.c
788
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1,
tools/testing/selftests/bpf/network_helpers.c
790
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1,
tools/testing/selftests/bpf/prog_tests/assign_reuse.c
89
.handle = 1,
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
118
.handle = 0x11 << 16,
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
21
.handle = 0x8000000,
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
87
.handle = 0x11 << 16,
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
12
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_h, .handle = 1); \
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
15
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
16
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
18
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
19
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
20
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
22
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
24
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_prio_max, .handle = 1, .priority = UINT16_MAX + 1);
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
28
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd);
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
41
if (!ASSERT_EQ(opts.handle, 1, "handle set") ||
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
57
if (!ASSERT_EQ(opts.handle, 1, "handle set") ||
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
71
DECLARE_LIBBPF_OPTS(bpf_tc_opts, attach_opts, .handle = 1, .priority = 1, .prog_fd = fd);
tools/testing/selftests/bpf/prog_tests/tc_bpf.c
73
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1579
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/tc_links.c
1685
.handle = 1,
tools/testing/selftests/bpf/prog_tests/tc_links.c
1853
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/tc_links.c
525
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
2276
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/tc_opts.c
565
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/vrf_socket_lookup.c
108
LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1,
tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
208
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
299
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
332
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 2,
tools/testing/selftests/bpf/prog_tests/xdp_context_test_run.c
364
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/xdp_do_redirect.c
44
DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd);
tools/testing/selftests/bpf/prog_tests/xdp_vlan.c
74
LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1);
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
74
LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, .priority = 1,
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
76
LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, .priority = 1,
tools/testing/selftests/bpf/progs/test_xdp_bpf2bpf.c
28
unsigned long handle;
tools/testing/selftests/bpf/progs/trigger_bench.c
112
handle(ctx);
tools/testing/selftests/bpf/progs/trigger_bench.c
119
handle(ctx);
tools/testing/selftests/bpf/progs/trigger_bench.c
126
handle(ctx);
tools/testing/selftests/bpf/progs/trigger_bench.c
139
handle(ctx);
tools/testing/selftests/bpf/progs/trigger_bench.c
152
handle(ctx);
tools/testing/selftests/bpf/progs/trigger_bench.c
159
handle(ctx);
tools/testing/selftests/bpf/progs/trigger_bench.c
166
handle(ctx);
tools/testing/selftests/bpf/progs/trigger_bench.c
173
handle(ctx);
tools/testing/selftests/bpf/progs/trigger_bench.c
180
handle(ctx);
tools/testing/selftests/bpf/xdp_synproxy.c
235
.handle = 1,
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
148
uint32_t handle = 0;
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
177
ret = import_vgem_fd(importer_fd, dmabuf_fd, &handle);
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
194
close_handle(importer_fd, handle);
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
66
static int import_vgem_fd(int vgem_fd, int dma_buf_fd, uint32_t *handle)
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
71
.handle = 0,
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
77
*handle = import_handle.handle;
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
81
static void close_handle(int vgem_fd, uint32_t handle)
tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c
84
.handle = handle,
tools/testing/selftests/namespaces/file_handle_test.c
100
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
102
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
1034
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
106
ASSERT_GT(handle->handle_bytes, 0);
tools/testing/selftests/namespaces/file_handle_test.c
1061
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
1065
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
1069
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
1077
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
1082
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
109
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
1092
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
1093
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
1102
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
1103
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
1105
SKIP(free(handle); close(ns_fd); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
111
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
1174
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
1207
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
1211
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
1215
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
1223
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
1228
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
1238
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
1239
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
1247
SKIP(free(handle); close(pipefd[0]); close(pipefd[1]);
tools/testing/selftests/namespaces/file_handle_test.c
125
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
1251
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
1252
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
1254
SKIP(free(handle); close(ns_fd); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
130
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
1323
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
1356
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
1360
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
1364
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
1372
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
1377
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
1383
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
1384
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
1391
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
1392
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
1394
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
1398
ASSERT_GT(handle->handle_bytes, 0);
tools/testing/selftests/namespaces/file_handle_test.c
1401
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_WRONLY);
tools/testing/selftests/namespaces/file_handle_test.c
1405
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDWR);
tools/testing/selftests/namespaces/file_handle_test.c
1409
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_TRUNC);
tools/testing/selftests/namespaces/file_handle_test.c
141
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
1413
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_DIRECT);
tools/testing/selftests/namespaces/file_handle_test.c
1417
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_TMPFILE);
tools/testing/selftests/namespaces/file_handle_test.c
142
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
1421
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_DIRECTORY);
tools/testing/selftests/namespaces/file_handle_test.c
1426
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
149
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
150
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
152
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
156
ASSERT_GT(handle->handle_bytes, 0);
tools/testing/selftests/namespaces/file_handle_test.c
159
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
161
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
175
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
180
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
191
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
192
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
199
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
200
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
202
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
206
ASSERT_GT(handle->handle_bytes, 0);
tools/testing/selftests/namespaces/file_handle_test.c
209
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
211
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
225
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
230
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
241
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
242
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
249
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
25
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
250
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
252
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
256
ASSERT_GT(handle->handle_bytes, 0);
tools/testing/selftests/namespaces/file_handle_test.c
259
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
261
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
275
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
280
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
291
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
292
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
299
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
300
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
302
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
306
ASSERT_GT(handle->handle_bytes, 0);
tools/testing/selftests/namespaces/file_handle_test.c
309
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
311
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
325
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
330
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
341
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
342
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
347
SKIP(free(handle); return, "cgroup namespace not available");
tools/testing/selftests/namespaces/file_handle_test.c
351
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
352
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
354
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
358
ASSERT_GT(handle->handle_bytes, 0);
tools/testing/selftests/namespaces/file_handle_test.c
36
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
361
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
363
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
37
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
377
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
382
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
393
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
394
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
399
SKIP(free(handle); return, "time namespace not available");
tools/testing/selftests/namespaces/file_handle_test.c
403
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
404
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
406
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
410
ASSERT_GT(handle->handle_bytes, 0);
tools/testing/selftests/namespaces/file_handle_test.c
413
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
415
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
429
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
434
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
44
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
444
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
445
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
45
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
454
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
455
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
457
SKIP(free(handle); close(ns_fd); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
47
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
51
ASSERT_GT(handle->handle_bytes, 0);
tools/testing/selftests/namespaces/file_handle_test.c
515
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
54
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
542
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
546
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
550
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
558
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
56
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
563
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
573
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
574
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
583
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
584
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
586
SKIP(free(handle); close(ns_fd); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
61
SKIP(free(handle); close(ns_fd);
tools/testing/selftests/namespaces/file_handle_test.c
644
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
671
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
675
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
679
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
687
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
692
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
702
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
703
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
712
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
713
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
715
SKIP(free(handle); close(ns_fd); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
75
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
773
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
80
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
800
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
804
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
808
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
816
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
821
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
831
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
832
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
841
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
842
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
844
SKIP(free(handle); close(ns_fd); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
902
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/file_handle_test.c
91
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
92
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
929
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
933
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
937
SKIP(free(handle); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
945
free(handle);
tools/testing/selftests/namespaces/file_handle_test.c
950
struct file_handle *handle;
tools/testing/selftests/namespaces/file_handle_test.c
960
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/file_handle_test.c
961
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/file_handle_test.c
969
SKIP(free(handle); close(pipefd[0]); close(pipefd[1]);
tools/testing/selftests/namespaces/file_handle_test.c
973
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/file_handle_test.c
974
ret = name_to_handle_at(ns_fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/file_handle_test.c
976
SKIP(free(handle); close(ns_fd); close(pipefd[0]);
tools/testing/selftests/namespaces/file_handle_test.c
99
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/ns_active_ref_test.c
123
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
124
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/ns_active_ref_test.c
125
ret = name_to_handle_at(fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/ns_active_ref_test.c
134
write(pipefd[1], buf, sizeof(*handle) + handle->handle_bytes);
tools/testing/selftests/namespaces/ns_active_ref_test.c
154
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
157
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
169
struct file_handle *handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
177
char buf[sizeof(*handle) + MAX_HANDLE_SZ];
tools/testing/selftests/namespaces/ns_active_ref_test.c
208
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
209
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/ns_active_ref_test.c
210
ret = name_to_handle_at(fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/ns_active_ref_test.c
2180
struct file_handle *handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
2185
char buf[sizeof(*handle) + MAX_HANDLE_SZ];
tools/testing/selftests/namespaces/ns_active_ref_test.c
220
write(pipefd[1], buf, sizeof(*handle) + handle->handle_bytes);
tools/testing/selftests/namespaces/ns_active_ref_test.c
2216
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
2217
handle->handle_bytes = sizeof(struct nsfs_file_handle);
tools/testing/selftests/namespaces/ns_active_ref_test.c
2218
handle->handle_type = FILEID_NSFS;
tools/testing/selftests/namespaces/ns_active_ref_test.c
2219
struct nsfs_file_handle *fh = (struct nsfs_file_handle *)handle->f_handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
2226
int nsfd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
2248
nsfd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
2264
struct file_handle *handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
2269
char buf[sizeof(*handle) + MAX_HANDLE_SZ];
tools/testing/selftests/namespaces/ns_active_ref_test.c
2300
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
2301
handle->handle_bytes = sizeof(struct nsfs_file_handle);
tools/testing/selftests/namespaces/ns_active_ref_test.c
2302
handle->handle_type = FILEID_NSFS;
tools/testing/selftests/namespaces/ns_active_ref_test.c
2303
struct nsfs_file_handle *fh = (struct nsfs_file_handle *)handle->f_handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
2310
int nsfd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
2333
int nsfd2 = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
2347
nsfd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
235
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
247
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
278
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
292
struct file_handle *handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
299
char buf[sizeof(*handle) + MAX_HANDLE_SZ];
tools/testing/selftests/namespaces/ns_active_ref_test.c
343
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
344
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/ns_active_ref_test.c
345
ret = name_to_handle_at(fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/ns_active_ref_test.c
354
write(pipefd[1], buf, sizeof(*handle) + handle->handle_bytes);
tools/testing/selftests/namespaces/ns_active_ref_test.c
369
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
37
struct file_handle *handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
372
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
382
struct file_handle *handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
389
char buf[sizeof(*handle) + MAX_HANDLE_SZ];
tools/testing/selftests/namespaces/ns_active_ref_test.c
421
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
422
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/ns_active_ref_test.c
423
ret = name_to_handle_at(fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/ns_active_ref_test.c
43
handle = malloc(sizeof(*handle) + MAX_HANDLE_SZ);
tools/testing/selftests/namespaces/ns_active_ref_test.c
431
write(pipefd[1], buf, sizeof(*handle) + handle->handle_bytes);
tools/testing/selftests/namespaces/ns_active_ref_test.c
44
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/ns_active_ref_test.c
451
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
454
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
466
struct file_handle *handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
474
char buf[sizeof(*handle) + MAX_HANDLE_SZ];
tools/testing/selftests/namespaces/ns_active_ref_test.c
51
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/ns_active_ref_test.c
513
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
514
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/ns_active_ref_test.c
515
ret = name_to_handle_at(nsfd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/ns_active_ref_test.c
52
ret = name_to_handle_at(fd1, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/ns_active_ref_test.c
525
TH_LOG("Child: got file handle (bytes=%u)", handle->handle_bytes);
tools/testing/selftests/namespaces/ns_active_ref_test.c
528
ret = write(pipe_child_ready[1], buf, sizeof(*handle) + handle->handle_bytes);
tools/testing/selftests/namespaces/ns_active_ref_test.c
54
SKIP(free(handle); close(fd1);
tools/testing/selftests/namespaces/ns_active_ref_test.c
552
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
554
TH_LOG("Parent: received %d bytes, handle size=%u", ret, handle->handle_bytes);
tools/testing/selftests/namespaces/ns_active_ref_test.c
588
int fd2 = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
607
fd2 = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
63
fd2 = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
65
SKIP(free(handle);
tools/testing/selftests/namespaces/ns_active_ref_test.c
79
free(handle);
tools/testing/selftests/namespaces/ns_active_ref_test.c
837
struct file_handle *handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
844
char buf[sizeof(*handle) + MAX_HANDLE_SZ];
tools/testing/selftests/namespaces/ns_active_ref_test.c
89
struct file_handle *handle;
tools/testing/selftests/namespaces/ns_active_ref_test.c
903
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
904
handle->handle_bytes = MAX_HANDLE_SZ;
tools/testing/selftests/namespaces/ns_active_ref_test.c
905
ret = name_to_handle_at(fd, "", handle, &mount_id, AT_EMPTY_PATH);
tools/testing/selftests/namespaces/ns_active_ref_test.c
916
write(pipefd[1], buf, sizeof(*handle) + handle->handle_bytes);
tools/testing/selftests/namespaces/ns_active_ref_test.c
931
handle = (struct file_handle *)buf;
tools/testing/selftests/namespaces/ns_active_ref_test.c
937
fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/ns_active_ref_test.c
96
char buf[sizeof(*handle) + MAX_HANDLE_SZ];
tools/testing/selftests/namespaces/siocgskns_test.c
1002
struct file_handle *handle;
tools/testing/selftests/namespaces/siocgskns_test.c
1006
handle = malloc(sizeof(struct file_handle) + sizeof(struct nsfs_file_handle));
tools/testing/selftests/namespaces/siocgskns_test.c
1007
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/siocgskns_test.c
1008
handle->handle_bytes = sizeof(struct nsfs_file_handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1009
handle->handle_type = FILEID_NSFS;
tools/testing/selftests/namespaces/siocgskns_test.c
1097
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1110
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1121
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1133
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1145
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1167
nsfs_fh = (struct nsfs_file_handle *)handle->f_handle;
tools/testing/selftests/namespaces/siocgskns_test.c
1172
reopened_fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/siocgskns_test.c
1174
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1192
reopened_fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/siocgskns_test.c
1199
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1209
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1235
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1257
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1318
struct file_handle *handle;
tools/testing/selftests/namespaces/siocgskns_test.c
1323
handle = malloc(sizeof(struct file_handle) + sizeof(struct nsfs_file_handle));
tools/testing/selftests/namespaces/siocgskns_test.c
1324
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/siocgskns_test.c
1325
handle->handle_bytes = sizeof(struct nsfs_file_handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1326
handle->handle_type = FILEID_NSFS;
tools/testing/selftests/namespaces/siocgskns_test.c
1591
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1598
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1618
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1628
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1639
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1673
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1706
nsfs_fh = (struct nsfs_file_handle *)handle->f_handle;
tools/testing/selftests/namespaces/siocgskns_test.c
1711
reopened_fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/siocgskns_test.c
1713
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1761
reopened_fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/siocgskns_test.c
1764
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1806
reopened_fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/siocgskns_test.c
1808
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
1821
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
796
struct file_handle *handle;
tools/testing/selftests/namespaces/siocgskns_test.c
801
handle = malloc(sizeof(struct file_handle) + sizeof(struct nsfs_file_handle));
tools/testing/selftests/namespaces/siocgskns_test.c
802
ASSERT_NE(handle, NULL);
tools/testing/selftests/namespaces/siocgskns_test.c
803
handle->handle_bytes = sizeof(struct nsfs_file_handle);
tools/testing/selftests/namespaces/siocgskns_test.c
804
handle->handle_type = FILEID_NSFS;
tools/testing/selftests/namespaces/siocgskns_test.c
887
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
900
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
909
nsfs_fh = (struct nsfs_file_handle *)handle->f_handle;
tools/testing/selftests/namespaces/siocgskns_test.c
917
reopened_fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/siocgskns_test.c
919
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
940
reopened_fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/siocgskns_test.c
947
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
955
reopened_fd = open_by_handle_at(FD_NSFS_ROOT, handle, O_RDONLY);
tools/testing/selftests/namespaces/siocgskns_test.c
957
free(handle);
tools/testing/selftests/namespaces/siocgskns_test.c
974
free(handle);
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
1006
void *handle;
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
1017
handle = nx_function_begin(NX_FUNC_COMP_GZIP, 0);
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
1018
if (!handle) {
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
1023
rc = decompress_file(argc, argv, handle);
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
1025
nx_function_end(handle);
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
246
struct nx_gzip_crb_cpb_t *cmdp, void *handle)
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
269
return nxu_submit_job(cmdp, handle);
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
120
return nxu_submit_job(cmdp, handle);
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
188
int compress_file(int argc, char **argv, void *handle)
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
271
lzcounts, cmdp, handle);
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
376
void *handle;
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
387
handle = nx_function_begin(NX_FUNC_COMP_GZIP, 0);
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
388
if (!handle) {
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
393
rc = compress_file(argc, argv, handle);
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
395
nx_function_end(handle);
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
81
struct nx_gzip_crb_cpb_t *cmdp, void *handle)
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
119
int nx_function_end(void *handle)
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
122
struct nx_handle *nxhandle = handle;
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
195
static int nxu_run_job(struct nx_gzip_crb_cpb_t *cmdp, void *handle)
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
198
struct nx_handle *nxhandle = handle;
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
200
assert(handle != NULL);
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
262
int nxu_submit_job(struct nx_gzip_crb_cpb_t *cmdp, void *handle)
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
266
cc = nxu_run_job(cmdp, handle);
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
51
static int open_device_nodes(char *devname, int pri, struct nx_handle *handle)
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
79
handle->fd = fd;
tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c
80
handle->paste_addr = (void *)((char *)addr + 0x400);
tools/testing/selftests/powerpc/nx-gzip/include/nx.h
33
int nx_function(void *handle, struct nxbuf_t *in, struct nxbuf_t *out,
tools/testing/selftests/powerpc/nx-gzip/include/nx.h
36
int nx_function_end(void *handle);
tools/testing/selftests/powerpc/nx-gzip/include/nxu.h
573
int nxu_submit_job(struct nx_gzip_crb_cpb_t *c, void *handle);
tools/usb/ffs-aio-example/multibuff/host_app/test.c
102
ret = libusb_open(state->found, &state->handle);
tools/usb/ffs-aio-example/multibuff/host_app/test.c
108
if (libusb_claim_interface(state->handle, 0)) {
tools/usb/ffs-aio-example/multibuff/host_app/test.c
109
ret = libusb_detach_kernel_driver(state->handle, 0);
tools/usb/ffs-aio-example/multibuff/host_app/test.c
116
ret = libusb_claim_interface(state->handle, 0);
tools/usb/ffs-aio-example/multibuff/host_app/test.c
128
libusb_attach_kernel_driver(state->handle, 0);
tools/usb/ffs-aio-example/multibuff/host_app/test.c
131
libusb_close(state->handle);
tools/usb/ffs-aio-example/multibuff/host_app/test.c
147
libusb_release_interface(state->handle, 0);
tools/usb/ffs-aio-example/multibuff/host_app/test.c
149
libusb_attach_kernel_driver(state->handle, 0);
tools/usb/ffs-aio-example/multibuff/host_app/test.c
150
libusb_close(state->handle);
tools/usb/ffs-aio-example/multibuff/host_app/test.c
171
libusb_bulk_transfer(state.handle, addr, buffer, BUF_LEN,
tools/usb/ffs-aio-example/multibuff/host_app/test.c
51
libusb_device_handle *handle;
tools/usb/ffs-aio-example/multibuff/host_app/test.c
67
state->handle = NULL;
tools/usb/ffs-aio-example/simple/host_app/test.c
102
ret = libusb_open(state->found, &state->handle);
tools/usb/ffs-aio-example/simple/host_app/test.c
108
if (libusb_claim_interface(state->handle, 0)) {
tools/usb/ffs-aio-example/simple/host_app/test.c
109
ret = libusb_detach_kernel_driver(state->handle, 0);
tools/usb/ffs-aio-example/simple/host_app/test.c
116
ret = libusb_claim_interface(state->handle, 0);
tools/usb/ffs-aio-example/simple/host_app/test.c
128
libusb_attach_kernel_driver(state->handle, 0);
tools/usb/ffs-aio-example/simple/host_app/test.c
131
libusb_close(state->handle);
tools/usb/ffs-aio-example/simple/host_app/test.c
147
libusb_release_interface(state->handle, 0);
tools/usb/ffs-aio-example/simple/host_app/test.c
149
libusb_attach_kernel_driver(state->handle, 0);
tools/usb/ffs-aio-example/simple/host_app/test.c
150
libusb_close(state->handle);
tools/usb/ffs-aio-example/simple/host_app/test.c
172
libusb_bulk_transfer(state.handle, in_addr, buffer, BUF_LEN,
tools/usb/ffs-aio-example/simple/host_app/test.c
174
libusb_bulk_transfer(state.handle, out_addr, buffer, BUF_LEN,
tools/usb/ffs-aio-example/simple/host_app/test.c
51
libusb_device_handle *handle;
tools/usb/ffs-aio-example/simple/host_app/test.c
67
state->handle = NULL;