args 35 arch/alpha/boot/misc.c #define OF(args) args args 110 arch/alpha/boot/stdio.c int vsprintf(char *buf, const char *fmt, va_list args) args 153 arch/alpha/boot/stdio.c field_width = va_arg(args, int); args 169 arch/alpha/boot/stdio.c precision = va_arg(args, int); args 194 arch/alpha/boot/stdio.c *str++ = (unsigned char) va_arg(args, int); args 200 arch/alpha/boot/stdio.c s = va_arg(args, char *); args 221 arch/alpha/boot/stdio.c (unsigned long) va_arg(args, void *), 16, args 228 arch/alpha/boot/stdio.c long * ip = va_arg(args, long *); args 231 arch/alpha/boot/stdio.c size_t * ip = va_arg(args, size_t *); args 234 arch/alpha/boot/stdio.c int * ip = va_arg(args, int *); args 269 arch/alpha/boot/stdio.c num = va_arg(args, unsigned long); args 273 arch/alpha/boot/stdio.c num = va_arg(args, unsigned long long); args 277 arch/alpha/boot/stdio.c num = va_arg(args, size_t); args 279 arch/alpha/boot/stdio.c num = (unsigned short) va_arg(args, int); args 283 arch/alpha/boot/stdio.c num = va_arg(args, unsigned int); args 295 arch/alpha/boot/stdio.c va_list args; args 298 arch/alpha/boot/stdio.c va_start(args, fmt); args 299 arch/alpha/boot/stdio.c i=vsprintf(buf,fmt,args); args 300 arch/alpha/boot/stdio.c va_end(args); args 9 arch/alpha/include/asm/cmpxchg.h #define ____xchg(type, args...) __xchg ## type ## _local(args) args 10 arch/alpha/include/asm/cmpxchg.h #define ____cmpxchg(type, args...) __cmpxchg ## type ## _local(args) args 37 arch/alpha/include/asm/cmpxchg.h #define ____xchg(type, args...) __xchg ##type(args) args 38 arch/alpha/include/asm/cmpxchg.h #define ____cmpxchg(type, args...) __cmpxchg ##type(args) args 43 arch/alpha/kernel/core_apecs.c # define DBGC(args) printk args args 45 arch/alpha/kernel/core_apecs.c # define DBGC(args) args 41 arch/alpha/kernel/core_cia.c # define DBGC(args) printk args args 43 arch/alpha/kernel/core_cia.c # define DBGC(args) args 39 arch/alpha/kernel/core_irongate.c # define DBG_CFG(args) printk args args 41 arch/alpha/kernel/core_irongate.c # define DBG_CFG(args) args 40 arch/alpha/kernel/core_marvel.c # define DBG_CFG(args) printk args args 42 arch/alpha/kernel/core_marvel.c # define DBG_CFG(args) args 39 arch/alpha/kernel/core_mcpcia.c # define DBG_CFG(args) printk args args 41 arch/alpha/kernel/core_mcpcia.c # define DBG_CFG(args) args 30 arch/alpha/kernel/core_polaris.c # define DBG_CFG(args) printk args args 32 arch/alpha/kernel/core_polaris.c # define DBG_CFG(args) args 74 arch/alpha/kernel/core_t2.c # define DBG(args) printk args args 76 arch/alpha/kernel/core_t2.c # define DBG(args) args 51 arch/alpha/kernel/core_titan.c # define DBG_CFG(args) printk args args 53 arch/alpha/kernel/core_titan.c # define DBG_CFG(args) args 51 arch/alpha/kernel/core_tsunami.c # define DBG_CFG(args) printk args args 53 arch/alpha/kernel/core_tsunami.c # define DBG_CFG(args) args 31 arch/alpha/kernel/core_wildfire.c # define DBG_CFG(args) printk args args 33 arch/alpha/kernel/core_wildfire.c # define DBG_CFG(args) args 455 arch/alpha/kernel/osf_sys.c struct ufs_args __user *args, int flags) args 462 arch/alpha/kernel/osf_sys.c if (copy_from_user(&tmp, args, sizeof(tmp))) args 476 arch/alpha/kernel/osf_sys.c struct cdfs_args __user *args, int flags) args 483 arch/alpha/kernel/osf_sys.c if (copy_from_user(&tmp, args, sizeof(tmp))) args 497 arch/alpha/kernel/osf_sys.c struct procfs_args __user *args, int flags) args 501 arch/alpha/kernel/osf_sys.c if (copy_from_user(&tmp, args, sizeof(tmp))) args 647 arch/alpha/kernel/osf_sys.c union pl_args __user *, args) args 654 arch/alpha/kernel/osf_sys.c if (get_user(error, &args->set.nbytes)) args 658 arch/alpha/kernel/osf_sys.c if (get_user(error, &args->fset.nbytes)) args 662 arch/alpha/kernel/osf_sys.c error = get_user(min_buf_size_ptr, &args->get.min_buf_size); args 668 arch/alpha/kernel/osf_sys.c error = get_user(min_buf_size_ptr, &args->fget.min_buf_size); args 26 arch/alpha/kernel/pci_iommu.c # define DBGA(args...) printk(KERN_DEBUG args) args 28 arch/alpha/kernel/pci_iommu.c # define DBGA(args...) args 31 arch/alpha/kernel/pci_iommu.c # define DBGA2(args...) printk(KERN_DEBUG args) args 33 arch/alpha/kernel/pci_iommu.c # define DBGA2(args...) args 168 arch/alpha/kernel/process.c struct halt_info args; args 169 arch/alpha/kernel/process.c args.mode = mode; args 170 arch/alpha/kernel/process.c args.restart_cmd = restart_cmd; args 171 arch/alpha/kernel/process.c on_each_cpu(common_shutdown_1, &args, 0); args 36 arch/alpha/kernel/ptrace.c #define DBG(fac,args) {if ((fac) & DEBUG) printk args;} args 38 arch/alpha/kernel/ptrace.c #define DBG(fac,args) args 442 arch/alpha/kernel/setup.c char *args = command_line; args 499 arch/alpha/kernel/setup.c while ((p = strsep(&args, " \t")) != NULL) { args 15 arch/alpha/kernel/smc37c669.c # define DBG_DEVS(args) printk args args 17 arch/alpha/kernel/smc37c669.c # define DBG_DEVS(args) args 18 arch/alpha/kernel/smc37c93x.c # define DBG_DEVS(args) printk args args 20 arch/alpha/kernel/smc37c93x.c # define DBG_DEVS(args) args 50 arch/alpha/kernel/smp.c #define DBGS(args) printk args args 52 arch/alpha/kernel/smp.c #define DBGS(args) args 13 arch/alpha/lib/srm_printk.c va_list args; args 17 arch/alpha/lib/srm_printk.c va_start(args, fmt); args 18 arch/alpha/lib/srm_printk.c len = vsprintf(buf, fmt, args); args 19 arch/alpha/lib/srm_printk.c va_end(args); args 28 arch/alpha/mm/numa.c #define DBGDCONT(args...) printk(args) args 30 arch/alpha/mm/numa.c #define DBGDCONT(args...) args 56 arch/arc/include/asm/syscall.h unsigned long *args) args 63 arch/arc/include/asm/syscall.h args[i++] = (*inside_ptregs); args 358 arch/arc/kernel/kprobes.c struct die_args *args = data; args 359 arch/arc/kernel/kprobes.c unsigned long addr = args->err; args 364 arch/arc/kernel/kprobes.c if (arc_kprobe_handler(addr, args->regs)) args 369 arch/arc/kernel/kprobes.c if (arc_post_kprobe_handler(addr, args->regs)) args 28 arch/arm/include/asm/efi.h #define arch_efi_call_virt(p, f, args...) \ args 32 arch/arm/include/asm/efi.h __f(args); \ args 58 arch/arm/include/asm/syscall.h unsigned long *args) args 60 arch/arm/include/asm/syscall.h args[0] = regs->ARM_ORIG_r0; args 61 arch/arm/include/asm/syscall.h args++; args 63 arch/arm/include/asm/syscall.h memcpy(args, ®s->ARM_r0 + 1, 5 * sizeof(args[0])); args 68 arch/arm/include/asm/syscall.h const unsigned long *args) args 70 arch/arm/include/asm/syscall.h regs->ARM_ORIG_r0 = args[0]; args 71 arch/arm/include/asm/syscall.h args++; args 73 arch/arm/include/asm/syscall.h memcpy(®s->ARM_r0 + 1, args, 5 * sizeof(args[0])); args 173 arch/arm/kernel/kgdb.c static int __kgdb_notify(struct die_args *args, unsigned long cmd) args 175 arch/arm/kernel/kgdb.c struct pt_regs *regs = args->regs; args 177 arch/arm/kernel/kgdb.c if (kgdb_handle_exception(1, args->signr, cmd, regs)) args 440 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_socketcall(int call, unsigned long __user *args) args 446 arch/arm/kernel/sys_oabi-compat.c if (copy_from_user(a, args, 3 * sizeof(long)) == 0) args 450 arch/arm/kernel/sys_oabi-compat.c if (copy_from_user(a, args, 3 * sizeof(long)) == 0) args 454 arch/arm/kernel/sys_oabi-compat.c if (copy_from_user(a, args, 6 * sizeof(long)) == 0) args 459 arch/arm/kernel/sys_oabi-compat.c if (copy_from_user(a, args, 3 * sizeof(long)) == 0) args 463 arch/arm/kernel/sys_oabi-compat.c r = sys_socketcall(call, args); args 860 arch/arm/mach-at91/pm.c substring_t args[MAX_OPT_ARGS]; args 867 arch/arm/mach-at91/pm.c standby = match_token(s, pm_modes, args); args 871 arch/arm/mach-at91/pm.c suspend = match_token(str, pm_modes, args); args 91 arch/arm/mach-bcm/bcm63xx_pmb.c struct of_phandle_args args; args 101 arch/arm/mach-bcm/bcm63xx_pmb.c 0, &args); args 107 arch/arm/mach-bcm/bcm63xx_pmb.c if (args.args_count != 2) { args 112 arch/arm/mach-bcm/bcm63xx_pmb.c *base = of_iomap(args.np, 0); args 119 arch/arm/mach-bcm/bcm63xx_pmb.c *addr = args.args[0]; args 143 arch/arm/mach-bcm/bcm_kona_smc.c u32 *args = bcm_smc_buffer; args 146 arch/arm/mach-bcm/bcm_kona_smc.c BUG_ON(!args); args 149 arch/arm/mach-bcm/bcm_kona_smc.c writel_relaxed(data->arg0, args++); args 150 arch/arm/mach-bcm/bcm_kona_smc.c writel_relaxed(data->arg1, args++); args 151 arch/arm/mach-bcm/bcm_kona_smc.c writel_relaxed(data->arg2, args++); args 152 arch/arm/mach-bcm/bcm_kona_smc.c writel(data->arg3, args); args 94 arch/arm/mach-mvebu/pm-board.c struct of_phandle_args args; args 122 arch/arm/mach-mvebu/pm-board.c i, &args); args 131 arch/arm/mach-mvebu/pm-board.c gpio_ctrl_np = args.np; args 132 arch/arm/mach-mvebu/pm-board.c pic_raw_gpios[i] = args.args[0]; args 827 arch/arm/mach-omap2/omap_hwmod.c clkspec.args[0] = addr - provider->addr[0]; args 828 arch/arm/mach-omap2/omap_hwmod.c clkspec.args[1] = 0; args 834 arch/arm/mach-omap2/omap_hwmod.c clkspec.args[0], provider->node); args 142 arch/arm/mach-omap2/pm33xx-core.c unsigned long args) args 147 arch/arm/mach-omap2/pm33xx-core.c ret = cpu_suspend(args, fn); args 165 arch/arm/mach-omap2/pm33xx-core.c unsigned long args) args 171 arch/arm/mach-omap2/pm33xx-core.c ret = cpu_suspend(args, fn); args 189 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c ret = memcmp(argsa->args, argsb->args, args 191 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c sizeof(argsa->args[0])); args 66 arch/arm/mm/dma-mapping.c void *(*alloc)(struct arm_dma_alloc_args *args, args 68 arch/arm/mm/dma-mapping.c void (*free)(struct arm_dma_free_args *args); args 613 arch/arm/mm/dma-mapping.c static void *simple_allocator_alloc(struct arm_dma_alloc_args *args, args 616 arch/arm/mm/dma-mapping.c return __alloc_simple_buffer(args->dev, args->size, args->gfp, args 620 arch/arm/mm/dma-mapping.c static void simple_allocator_free(struct arm_dma_free_args *args) args 622 arch/arm/mm/dma-mapping.c __dma_free_buffer(args->page, args->size); args 630 arch/arm/mm/dma-mapping.c static void *cma_allocator_alloc(struct arm_dma_alloc_args *args, args 633 arch/arm/mm/dma-mapping.c return __alloc_from_contiguous(args->dev, args->size, args->prot, args 634 arch/arm/mm/dma-mapping.c ret_page, args->caller, args 635 arch/arm/mm/dma-mapping.c args->want_vaddr, args->coherent_flag, args 636 arch/arm/mm/dma-mapping.c args->gfp); args 639 arch/arm/mm/dma-mapping.c static void cma_allocator_free(struct arm_dma_free_args *args) args 641 arch/arm/mm/dma-mapping.c __free_from_contiguous(args->dev, args->page, args->cpu_addr, args 642 arch/arm/mm/dma-mapping.c args->size, args->want_vaddr); args 650 arch/arm/mm/dma-mapping.c static void *pool_allocator_alloc(struct arm_dma_alloc_args *args, args 653 arch/arm/mm/dma-mapping.c return __alloc_from_pool(args->size, ret_page); args 656 arch/arm/mm/dma-mapping.c static void pool_allocator_free(struct arm_dma_free_args *args) args 658 arch/arm/mm/dma-mapping.c __free_from_pool(args->cpu_addr, args->size); args 666 arch/arm/mm/dma-mapping.c static void *remap_allocator_alloc(struct arm_dma_alloc_args *args, args 669 arch/arm/mm/dma-mapping.c return __alloc_remap_buffer(args->dev, args->size, args->gfp, args 670 arch/arm/mm/dma-mapping.c args->prot, ret_page, args->caller, args 671 arch/arm/mm/dma-mapping.c args->want_vaddr); args 674 arch/arm/mm/dma-mapping.c static void remap_allocator_free(struct arm_dma_free_args *args) args 676 arch/arm/mm/dma-mapping.c if (args->want_vaddr) args 677 arch/arm/mm/dma-mapping.c dma_common_free_remap(args->cpu_addr, args->size); args 679 arch/arm/mm/dma-mapping.c __dma_free_buffer(args->page, args->size); args 696 arch/arm/mm/dma-mapping.c struct arm_dma_alloc_args args = { args 734 arch/arm/mm/dma-mapping.c args.gfp = gfp; args 749 arch/arm/mm/dma-mapping.c addr = buf->allocator->alloc(&args, &page); args 755 arch/arm/mm/dma-mapping.c buf->virt = args.want_vaddr ? addr : page; args 764 arch/arm/mm/dma-mapping.c return args.want_vaddr ? addr : page; args 837 arch/arm/mm/dma-mapping.c struct arm_dma_free_args args = { args 849 arch/arm/mm/dma-mapping.c buf->allocator->free(&args); args 33 arch/arm/mm/dump.c #define pt_dump_seq_printf(m, fmt, args...) \ args 36 arch/arm/mm/dump.c seq_printf(m, fmt, ##args); \ args 122 arch/arm/mm/flush.c static void flush_ptrace_access_other(void *args) args 598 arch/arm/probes/kprobes/test-core.c void *args) args 609 arch/arm/probes/kprobes/test-core.c result = fn(h, args); args 633 arch/arm/probes/kprobes/test-core.c static int table_test_fn(const struct decode_header *h, void *args) args 635 arch/arm/probes/kprobes/test-core.c struct table_test_args *a = (struct table_test_args *)args; args 660 arch/arm/probes/kprobes/test-core.c struct table_test_args args = { args 665 arch/arm/probes/kprobes/test-core.c return table_iter(args.root_table, table_test_fn, &args); args 734 arch/arm/probes/kprobes/test-core.c static int coverage_start_fn(const struct decode_header *h, void *args) args 736 arch/arm/probes/kprobes/test-core.c struct coverage_table *coverage = (struct coverage_table *)args; args 1101 arch/arm/probes/kprobes/test-core.c struct test_arg *args; args 1126 arch/arm/probes/kprobes/test-core.c args = current_args; args 1127 arch/arm/probes/kprobes/test-core.c for (; args[0].type != ARG_TYPE_END; ++args) args 1128 arch/arm/probes/kprobes/test-core.c switch (args[0].type) { args 1131 arch/arm/probes/kprobes/test-core.c (struct test_arg_regptr *)args; args 1137 arch/arm/probes/kprobes/test-core.c (struct test_arg_regptr *)args; args 1151 arch/arm/probes/kprobes/test-core.c struct test_arg_mem *arg = (struct test_arg_mem *)args; args 1216 arch/arm/probes/kprobes/test-core.c struct test_arg *args; args 1225 arch/arm/probes/kprobes/test-core.c for (args = current_args; args[0].type != ARG_TYPE_END; ++args) args 1226 arch/arm/probes/kprobes/test-core.c if (args[0].type == ARG_TYPE_REG_MASKED) { args 1228 arch/arm/probes/kprobes/test-core.c (struct test_arg_regptr *)args; args 1318 arch/arm/probes/kprobes/test-core.c struct test_arg *args; args 1323 arch/arm/probes/kprobes/test-core.c args = (struct test_arg *)title; args 1324 arch/arm/probes/kprobes/test-core.c current_args = args; args 1329 arch/arm/probes/kprobes/test-core.c while (args->type != ARG_TYPE_END) args 1330 arch/arm/probes/kprobes/test-core.c ++args; args 1331 arch/arm/probes/kprobes/test-core.c end_arg = (struct test_arg_end *)args; args 1333 arch/arm/probes/kprobes/test-core.c test_code = (unsigned long)(args + 1); /* Code starts after args */ args 30 arch/arm64/include/asm/efi.h #define arch_efi_call_virt(p, f, args...) \ args 34 arch/arm64/include/asm/efi.h __efi_rt_asm_wrapper(__f, #f, args); \ args 147 arch/arm64/include/asm/percpu.h #define _pcp_protect_return(op, pcp, args...) \ args 151 arch/arm64/include/asm/percpu.h __retval = (typeof(pcp))op(raw_cpu_ptr(&(pcp)), ##args); \ args 57 arch/arm64/include/asm/syscall.h unsigned long *args) args 59 arch/arm64/include/asm/syscall.h args[0] = regs->orig_x0; args 60 arch/arm64/include/asm/syscall.h args++; args 62 arch/arm64/include/asm/syscall.h memcpy(args, ®s->regs[1], 5 * sizeof(args[0])); args 67 arch/arm64/include/asm/syscall.h const unsigned long *args) args 69 arch/arm64/include/asm/syscall.h regs->orig_x0 = args[0]; args 70 arch/arm64/include/asm/syscall.h args++; args 72 arch/arm64/include/asm/syscall.h memcpy(®s->regs[1], args, 5 * sizeof(args[0])); args 274 arch/arm64/kernel/kgdb.c static int __kgdb_notify(struct die_args *args, unsigned long cmd) args 276 arch/arm64/kernel/kgdb.c struct pt_regs *regs = args->regs; args 278 arch/arm64/kernel/kgdb.c if (kgdb_handle_exception(1, args->signr, cmd, regs)) args 59 arch/arm64/mm/dump.c #define pt_dump_seq_printf(m, fmt, args...) \ args 62 arch/arm64/mm/dump.c seq_printf(m, fmt, ##args); \ args 47 arch/c6x/include/asm/syscall.h unsigned long *args) args 49 arch/c6x/include/asm/syscall.h *args++ = regs->a4; args 50 arch/c6x/include/asm/syscall.h *args++ = regs->b4; args 51 arch/c6x/include/asm/syscall.h *args++ = regs->a6; args 52 arch/c6x/include/asm/syscall.h *args++ = regs->b6; args 53 arch/c6x/include/asm/syscall.h *args++ = regs->a8; args 54 arch/c6x/include/asm/syscall.h *args = regs->b8; args 59 arch/c6x/include/asm/syscall.h const unsigned long *args) args 61 arch/c6x/include/asm/syscall.h regs->a4 = *args++; args 62 arch/c6x/include/asm/syscall.h regs->b4 = *args++; args 63 arch/c6x/include/asm/syscall.h regs->a6 = *args++; args 64 arch/c6x/include/asm/syscall.h regs->b6 = *args++; args 65 arch/c6x/include/asm/syscall.h regs->a8 = *args++; args 66 arch/c6x/include/asm/syscall.h regs->a9 = *args; args 55 arch/csky/include/asm/syscall.h unsigned long *args) args 57 arch/csky/include/asm/syscall.h args[0] = regs->orig_a0; args 58 arch/csky/include/asm/syscall.h args++; args 59 arch/csky/include/asm/syscall.h memcpy(args, ®s->a1, 5 * sizeof(args[0])); args 64 arch/csky/include/asm/syscall.h const unsigned long *args) args 66 arch/csky/include/asm/syscall.h regs->orig_a0 = args[0]; args 67 arch/csky/include/asm/syscall.h args++; args 68 arch/csky/include/asm/syscall.h memcpy(®s->a1, args, 5 * sizeof(regs->a1)); args 19 arch/h8300/boot/compressed/misc.c #define OF(args) args args 21 arch/h8300/include/asm/syscall.h unsigned long *args) args 23 arch/h8300/include/asm/syscall.h *args++ = regs->er1; args 24 arch/h8300/include/asm/syscall.h *args++ = regs->er2; args 25 arch/h8300/include/asm/syscall.h *args++ = regs->er3; args 26 arch/h8300/include/asm/syscall.h *args++ = regs->er4; args 27 arch/h8300/include/asm/syscall.h *args++ = regs->er5; args 28 arch/h8300/include/asm/syscall.h *args = regs->er6; args 157 arch/h8300/kernel/process.c asmlinkage int sys_clone(unsigned long __user *args) args 164 arch/h8300/kernel/process.c get_user(clone_flags, &args[0]); args 165 arch/h8300/kernel/process.c get_user(newsp, &args[1]); args 166 arch/h8300/kernel/process.c get_user(parent_tidptr, &args[2]); args 167 arch/h8300/kernel/process.c get_user(child_tidptr, &args[3]); args 31 arch/hexagon/include/asm/syscall.h unsigned long *args) args 33 arch/hexagon/include/asm/syscall.h memcpy(args, &(®s->r00)[0], 6 * sizeof(args[0])); args 154 arch/hexagon/kernel/kgdb.c static int __kgdb_notify(struct die_args *args, unsigned long cmd) args 158 arch/hexagon/kernel/kgdb.c kgdb_nmicallback(smp_processor_id(), args->regs); args 162 arch/hexagon/kernel/kgdb.c if (user_mode(args->regs)) args 165 arch/hexagon/kernel/kgdb.c if (kgdb_handle_exception(args->trapnr & 0xff, args->signr, args->err, args 166 arch/hexagon/kernel/kgdb.c args->regs)) args 53 arch/ia64/include/asm/sal.h # define IA64_FW_CALL(entry,result,args...) do { \ args 58 arch/ia64/include/asm/sal.h __IA64_FW_CALL(entry, result, args); \ args 63 arch/ia64/include/asm/sal.h # define SAL_CALL(result,args...) \ args 64 arch/ia64/include/asm/sal.h IA64_FW_CALL(ia64_sal, result, args); args 66 arch/ia64/include/asm/sal.h # define SAL_CALL_NOLOCK(result,args...) do { \ args 71 arch/ia64/include/asm/sal.h __IA64_FW_CALL(ia64_sal, result, args); \ args 76 arch/ia64/include/asm/sal.h # define SAL_CALL_REENTRANT(result,args...) do { \ args 80 arch/ia64/include/asm/sal.h __IA64_FW_CALL(ia64_sal, result, args); \ args 59 arch/ia64/include/asm/syscall.h struct pt_regs *regs, unsigned long *args, int rw); args 62 arch/ia64/include/asm/syscall.h unsigned long *args) args 64 arch/ia64/include/asm/syscall.h ia64_syscall_get_set_arguments(task, regs, args, 0); args 69 arch/ia64/include/asm/syscall.h unsigned long *args) args 71 arch/ia64/include/asm/syscall.h ia64_syscall_get_set_arguments(task, regs, args, 1); args 159 arch/ia64/kernel/crash.c struct die_args *args = data; args 191 arch/ia64/kernel/crash.c nd = (struct ia64_mca_notify_die *)args->err; args 63 arch/ia64/kernel/efi.c #define efi_call_virt(f, args...) (*(f))(args) args 768 arch/ia64/kernel/kprobes.c static int __kprobes pre_kprobes_handler(struct die_args *args) args 772 arch/ia64/kernel/kprobes.c struct pt_regs *regs = args->regs; args 956 arch/ia64/kernel/kprobes.c struct die_args *args = (struct die_args *)data; args 959 arch/ia64/kernel/kprobes.c if (args->regs && user_mode(args->regs)) args 965 arch/ia64/kernel/kprobes.c if ((args->err >> 12) == (__IA64_BREAK_KPROBE >> 12) args 966 arch/ia64/kernel/kprobes.c || args->err == 0) args 967 arch/ia64/kernel/kprobes.c if (pre_kprobes_handler(args)) args 972 arch/ia64/kernel/kprobes.c if (args->err == 36) args 973 arch/ia64/kernel/kprobes.c if (post_kprobes_handler(args->regs)) args 208 arch/ia64/kernel/mca.c va_list args; args 213 arch/ia64/kernel/mca.c va_start(args, fmt); args 214 arch/ia64/kernel/mca.c printed_len = vscnprintf(temp_buf, sizeof(temp_buf), fmt, args); args 215 arch/ia64/kernel/mca.c va_end(args); args 80 arch/ia64/kernel/mca_drv.c va_list args; args 83 arch/ia64/kernel/mca_drv.c va_start(args, fmt); args 84 arch/ia64/kernel/mca_drv.c vsnprintf(buf, sizeof(buf), fmt, args); args 85 arch/ia64/kernel/mca_drv.c va_end(args); args 94 arch/ia64/kernel/mca_drv.c va_list args; args 97 arch/ia64/kernel/mca_drv.c va_start(args, fmt); args 98 arch/ia64/kernel/mca_drv.c vsnprintf(buf, sizeof(buf), fmt, args); args 99 arch/ia64/kernel/mca_drv.c va_end(args); args 2141 arch/ia64/kernel/ptrace.c unsigned long *args; args 2148 arch/ia64/kernel/ptrace.c struct syscall_get_set_args *args = data; args 2149 arch/ia64/kernel/ptrace.c struct pt_regs *pt = args->regs; args 2162 arch/ia64/kernel/ptrace.c count = min_t(int, args->n, cfm & 0x7f); args 2165 arch/ia64/kernel/ptrace.c if (args->rw) args 2166 arch/ia64/kernel/ptrace.c *ia64_rse_skip_regs(krbs, ndirty + i + args->i) = args 2167 arch/ia64/kernel/ptrace.c args->args[i]; args 2169 arch/ia64/kernel/ptrace.c args->args[i] = *ia64_rse_skip_regs(krbs, args 2170 arch/ia64/kernel/ptrace.c ndirty + i + args->i); args 2173 arch/ia64/kernel/ptrace.c if (!args->rw) { args 2174 arch/ia64/kernel/ptrace.c while (i < args->n) { args 2175 arch/ia64/kernel/ptrace.c args->args[i] = 0; args 2182 arch/ia64/kernel/ptrace.c struct pt_regs *regs, unsigned long *args, int rw) args 2187 arch/ia64/kernel/ptrace.c .args = args, args 497 arch/ia64/mm/init.c struct memmap_init_callback_data *args; args 500 arch/ia64/mm/init.c args = (struct memmap_init_callback_data *) arg; args 504 arch/ia64/mm/init.c if (map_start < args->start) args 505 arch/ia64/mm/init.c map_start = args->start; args 506 arch/ia64/mm/init.c if (map_end > args->end) args 507 arch/ia64/mm/init.c map_end = args->end; args 520 arch/ia64/mm/init.c args->nid, args->zone, page_to_pfn(map_start), args 534 arch/ia64/mm/init.c struct memmap_init_callback_data args; args 537 arch/ia64/mm/init.c args.start = start; args 538 arch/ia64/mm/init.c args.end = start + size; args 539 arch/ia64/mm/init.c args.nid = nid; args 540 arch/ia64/mm/init.c args.zone = zone; args 542 arch/ia64/mm/init.c efi_memmap_walk(virtual_memmap_init, &args); args 153 arch/m68k/atari/config.c char *args = switches; args 163 arch/m68k/atari/config.c while ((p = strsep(&args, ",")) != NULL) { args 16 arch/m68k/include/asm/linkage.h #define asmlinkage_protect(n, ret, args...) \ args 17 arch/m68k/include/asm/linkage.h __asmlinkage_protect##n(ret, ##args) args 18 arch/m68k/include/asm/linkage.h #define __asmlinkage_protect_n(ret, args...) \ args 19 arch/m68k/include/asm/linkage.h __asm__ __volatile__ ("" : "=r" (ret) : "0" (ret), ##args) args 307 arch/m68k/include/asm/math-emu.h .macro debug instr,args args 74 arch/m68k/include/asm/openprom.h char args[100]; args 26 arch/m68k/sun3/prom/printf.c va_list args; args 30 arch/m68k/sun3/prom/printf.c va_start(args, fmt); args 34 arch/m68k/sun3/prom/printf.c i = vsprintf(ppbuf + 1, fmt, args) + 1; args 36 arch/m68k/sun3/prom/printf.c i = vsprintf(ppbuf, fmt, args); args 54 arch/m68k/sun3/prom/printf.c va_end(args); args 85 arch/microblaze/include/asm/syscall.h unsigned long *args) args 91 arch/microblaze/include/asm/syscall.h *args++ = microblaze_get_syscall_arg(regs, i++); args 96 arch/microblaze/include/asm/syscall.h const unsigned long *args) args 102 arch/microblaze/include/asm/syscall.h microblaze_set_syscall_arg(regs, i++, *args++); args 43 arch/mips/cavium-octeon/executive/cvmx-spi.c #define INVOKE_CB(function_p, args...) \ args 46 arch/mips/cavium-octeon/executive/cvmx-spi.c res = function_p(args); \ args 126 arch/mips/include/asm/syscall.h unsigned long *args) args 136 arch/mips/include/asm/syscall.h mips_get_syscall_arg(args++, task, regs, i++); args 302 arch/mips/kernel/kgdb.c struct die_args *args = (struct die_args *)ptr; args 303 arch/mips/kernel/kgdb.c struct pt_regs *regs = args->regs; args 348 arch/mips/kernel/kgdb.c struct die_args args = { args 360 arch/mips/kernel/kgdb.c return kgdb_mips_notify(NULL, cmd, &args); args 426 arch/mips/kernel/kprobes.c struct die_args *args = (struct die_args *)data; args 431 arch/mips/kernel/kprobes.c if (kprobe_handler(args->regs)) args 435 arch/mips/kernel/kprobes.c if (post_kprobe_handler(args->regs)) args 444 arch/mips/kernel/kprobes.c && kprobe_fault_handler(args->regs, args->trapnr)) args 1418 arch/mips/kernel/ptrace.c unsigned long args[6]; args 1422 arch/mips/kernel/ptrace.c syscall_get_arguments(current, regs, args); args 1424 arch/mips/kernel/ptrace.c sd.args[i] = args[i]; args 17 arch/mips/kernel/signal-common.h # define DEBUGP(fmt, args...) printk("%s: " fmt, __func__, ##args) args 19 arch/mips/kernel/signal-common.h # define DEBUGP(fmt, args...) args 157 arch/mips/kernel/uprobes.c struct die_args *args = data; args 158 arch/mips/kernel/uprobes.c struct pt_regs *regs = args->regs; args 33 arch/mips/kvm/hypcall.c const unsigned long *args, unsigned long *hret) args 42 arch/mips/kvm/hypcall.c unsigned long num, args[MAX_HYPCALL_ARGS]; args 46 arch/mips/kvm/hypcall.c args[0] = vcpu->arch.gprs[4]; /* a0 */ args 47 arch/mips/kvm/hypcall.c args[1] = vcpu->arch.gprs[5]; /* a1 */ args 48 arch/mips/kvm/hypcall.c args[2] = vcpu->arch.gprs[6]; /* a2 */ args 49 arch/mips/kvm/hypcall.c args[3] = vcpu->arch.gprs[7]; /* a3 */ args 52 arch/mips/kvm/hypcall.c args, &vcpu->arch.gprs[2] /* v0 */); args 878 arch/mips/kvm/mips.c if (cap->args[0]) args 1674 arch/mips/kvm/mips.c struct die_args *args = (struct die_args *)ptr; args 1675 arch/mips/kvm/mips.c struct pt_regs *regs = args->regs; args 480 arch/mips/mm/c-r4k.c static inline void local_r4k___flush_cache_all(void * args) args 576 arch/mips/mm/c-r4k.c static inline void local_r4k_flush_cache_range(void * args) args 578 arch/mips/mm/c-r4k.c struct vm_area_struct *vma = args; args 605 arch/mips/mm/c-r4k.c static inline void local_r4k_flush_cache_mm(void * args) args 607 arch/mips/mm/c-r4k.c struct mm_struct *mm = args; args 643 arch/mips/mm/c-r4k.c static inline void local_r4k_flush_cache_page(void *args) args 645 arch/mips/mm/c-r4k.c struct flush_cache_page_args *fcp_args = args; args 720 arch/mips/mm/c-r4k.c struct flush_cache_page_args args; args 722 arch/mips/mm/c-r4k.c args.vma = vma; args 723 arch/mips/mm/c-r4k.c args.addr = addr; args 724 arch/mips/mm/c-r4k.c args.pfn = pfn; args 726 arch/mips/mm/c-r4k.c r4k_on_each_cpu(R4K_HIT, local_r4k_flush_cache_page, &args); args 799 arch/mips/mm/c-r4k.c static inline void local_r4k_flush_icache_range_ipi(void *args) args 801 arch/mips/mm/c-r4k.c struct flush_icache_range_args *fir_args = args; args 813 arch/mips/mm/c-r4k.c struct flush_icache_range_args args; args 816 arch/mips/mm/c-r4k.c args.start = start; args 817 arch/mips/mm/c-r4k.c args.end = end; args 818 arch/mips/mm/c-r4k.c args.type = R4K_HIT | R4K_INDEX; args 819 arch/mips/mm/c-r4k.c args.user = user; args 838 arch/mips/mm/c-r4k.c args.type &= ~R4K_INDEX; args 840 arch/mips/mm/c-r4k.c r4k_on_each_cpu(args.type, local_r4k_flush_icache_range_ipi, &args); args 951 arch/mips/mm/c-r4k.c static inline void local_r4k_flush_kernel_vmap_range_index(void *args) args 960 arch/mips/mm/c-r4k.c static inline void local_r4k_flush_kernel_vmap_range(void *args) args 962 arch/mips/mm/c-r4k.c struct flush_kernel_vmap_range_args *vmra = args; args 976 arch/mips/mm/c-r4k.c struct flush_kernel_vmap_range_args args; args 978 arch/mips/mm/c-r4k.c args.vaddr = (unsigned long) vaddr; args 979 arch/mips/mm/c-r4k.c args.size = size; args 986 arch/mips/mm/c-r4k.c &args); args 33 arch/mips/oprofile/op_impl.h void (*cpu_start)(void *args); args 34 arch/mips/oprofile/op_impl.h void (*cpu_stop)(void *args); args 87 arch/mips/oprofile/op_model_loongson2.c static void loongson2_cpu_setup(void *args) args 92 arch/mips/oprofile/op_model_loongson2.c static void loongson2_cpu_start(void *args) args 99 arch/mips/oprofile/op_model_loongson2.c static void loongson2_cpu_stop(void *args) args 103 arch/mips/oprofile/op_model_loongson3.c static void loongson3_cpu_setup(void *args) args 113 arch/mips/oprofile/op_model_loongson3.c static void loongson3_cpu_start(void *args) args 125 arch/mips/oprofile/op_model_loongson3.c static void loongson3_cpu_stop(void *args) args 164 arch/mips/oprofile/op_model_mipsxx.c static void mipsxx_cpu_setup(void *args) args 191 arch/mips/oprofile/op_model_mipsxx.c static void mipsxx_cpu_start(void *args) args 214 arch/mips/oprofile/op_model_mipsxx.c static void mipsxx_cpu_stop(void *args) args 14 arch/mips/pci/ops-mace.c # define DPRINTK(args...) printk(args); args 16 arch/mips/pci/ops-mace.c # define DPRINTK(args...) args 128 arch/nds32/include/asm/syscall.h unsigned long *args) args 130 arch/nds32/include/asm/syscall.h args[0] = regs->orig_r0; args 131 arch/nds32/include/asm/syscall.h args++; args 132 arch/nds32/include/asm/syscall.h memcpy(args, ®s->uregs[0] + 1, 5 * sizeof(args[0])); args 149 arch/nds32/include/asm/syscall.h const unsigned long *args) args 151 arch/nds32/include/asm/syscall.h regs->orig_r0 = args[0]; args 152 arch/nds32/include/asm/syscall.h args++; args 154 arch/nds32/include/asm/syscall.h memcpy(®s->uregs[0] + 1, args, 5 * sizeof(args[0])); args 22 arch/nios2/boot/compressed/misc.c #define OF(args) args args 51 arch/nios2/include/asm/syscall.h struct pt_regs *regs, unsigned long *args) args 53 arch/nios2/include/asm/syscall.h *args++ = regs->r4; args 54 arch/nios2/include/asm/syscall.h *args++ = regs->r5; args 55 arch/nios2/include/asm/syscall.h *args++ = regs->r6; args 56 arch/nios2/include/asm/syscall.h *args++ = regs->r7; args 57 arch/nios2/include/asm/syscall.h *args++ = regs->r8; args 58 arch/nios2/include/asm/syscall.h *args = regs->r9; args 62 arch/nios2/include/asm/syscall.h struct pt_regs *regs, const unsigned long *args) args 64 arch/nios2/include/asm/syscall.h regs->r4 = *args++; args 65 arch/nios2/include/asm/syscall.h regs->r5 = *args++; args 66 arch/nios2/include/asm/syscall.h regs->r6 = *args++; args 67 arch/nios2/include/asm/syscall.h regs->r7 = *args++; args 68 arch/nios2/include/asm/syscall.h regs->r8 = *args++; args 69 arch/nios2/include/asm/syscall.h regs->r9 = *args; args 55 arch/openrisc/include/asm/syscall.h unsigned long *args) args 57 arch/openrisc/include/asm/syscall.h memcpy(args, ®s->gpr[3], 6 * sizeof(args[0])); args 62 arch/openrisc/include/asm/syscall.h const unsigned long *args) args 64 arch/openrisc/include/asm/syscall.h memcpy(®s->gpr[3], args, 6 * sizeof(args[0])); args 177 arch/parisc/boot/compressed/misc.c va_list args; args 180 arch/parisc/boot/compressed/misc.c va_start(args, fmt); args 191 arch/parisc/boot/compressed/misc.c print_num(va_arg(args, unsigned long), args 196 arch/parisc/boot/compressed/misc.c va_end(args); args 22 arch/parisc/include/asm/syscall.h unsigned long *args) args 24 arch/parisc/include/asm/syscall.h args[5] = regs->gr[21]; args 25 arch/parisc/include/asm/syscall.h args[4] = regs->gr[22]; args 26 arch/parisc/include/asm/syscall.h args[3] = regs->gr[23]; args 27 arch/parisc/include/asm/syscall.h args[2] = regs->gr[24]; args 28 arch/parisc/include/asm/syscall.h args[1] = regs->gr[25]; args 29 arch/parisc/include/asm/syscall.h args[0] = regs->gr[26]; args 49 arch/parisc/include/asm/unistd.h #define K_INLINE_SYSCALL(name, nr, args...) ({ \ args 53 arch/parisc/include/asm/unistd.h K_LOAD_ARGS_##nr(args) \ args 106 arch/parisc/kernel/firmware.c # define mem_pdc_call(args...) unlikely(parisc_narrow_firmware) ? real32_call(MEM_PDC, args) : real64_call(MEM_PDC, args) args 109 arch/parisc/kernel/firmware.c # define mem_pdc_call(args...) real32_call(MEM_PDC, args) args 1712 arch/parisc/kernel/firmware.c va_list args; args 1718 arch/parisc/kernel/firmware.c va_start(args, fn); args 1719 arch/parisc/kernel/firmware.c real_stack.arg0 = va_arg(args, unsigned int); args 1720 arch/parisc/kernel/firmware.c real_stack.arg1 = va_arg(args, unsigned int); args 1721 arch/parisc/kernel/firmware.c real_stack.arg2 = va_arg(args, unsigned int); args 1722 arch/parisc/kernel/firmware.c real_stack.arg3 = va_arg(args, unsigned int); args 1723 arch/parisc/kernel/firmware.c real_stack.arg4 = va_arg(args, unsigned int); args 1724 arch/parisc/kernel/firmware.c real_stack.arg5 = va_arg(args, unsigned int); args 1725 arch/parisc/kernel/firmware.c real_stack.arg6 = va_arg(args, unsigned int); args 1726 arch/parisc/kernel/firmware.c real_stack.arg7 = va_arg(args, unsigned int); args 1727 arch/parisc/kernel/firmware.c real_stack.arg8 = va_arg(args, unsigned int); args 1728 arch/parisc/kernel/firmware.c real_stack.arg9 = va_arg(args, unsigned int); args 1729 arch/parisc/kernel/firmware.c real_stack.arg10 = va_arg(args, unsigned int); args 1730 arch/parisc/kernel/firmware.c real_stack.arg11 = va_arg(args, unsigned int); args 1731 arch/parisc/kernel/firmware.c real_stack.arg12 = va_arg(args, unsigned int); args 1732 arch/parisc/kernel/firmware.c real_stack.arg13 = va_arg(args, unsigned int); args 1733 arch/parisc/kernel/firmware.c va_end(args); args 1763 arch/parisc/kernel/firmware.c va_list args; args 1769 arch/parisc/kernel/firmware.c va_start(args, fn); args 1770 arch/parisc/kernel/firmware.c real64_stack.arg0 = va_arg(args, unsigned long); args 1771 arch/parisc/kernel/firmware.c real64_stack.arg1 = va_arg(args, unsigned long); args 1772 arch/parisc/kernel/firmware.c real64_stack.arg2 = va_arg(args, unsigned long); args 1773 arch/parisc/kernel/firmware.c real64_stack.arg3 = va_arg(args, unsigned long); args 1774 arch/parisc/kernel/firmware.c real64_stack.arg4 = va_arg(args, unsigned long); args 1775 arch/parisc/kernel/firmware.c real64_stack.arg5 = va_arg(args, unsigned long); args 1776 arch/parisc/kernel/firmware.c real64_stack.arg6 = va_arg(args, unsigned long); args 1777 arch/parisc/kernel/firmware.c real64_stack.arg7 = va_arg(args, unsigned long); args 1778 arch/parisc/kernel/firmware.c real64_stack.arg8 = va_arg(args, unsigned long); args 1779 arch/parisc/kernel/firmware.c real64_stack.arg9 = va_arg(args, unsigned long); args 1780 arch/parisc/kernel/firmware.c real64_stack.arg10 = va_arg(args, unsigned long); args 1781 arch/parisc/kernel/firmware.c real64_stack.arg11 = va_arg(args, unsigned long); args 1782 arch/parisc/kernel/firmware.c real64_stack.arg12 = va_arg(args, unsigned long); args 1783 arch/parisc/kernel/firmware.c real64_stack.arg13 = va_arg(args, unsigned long); args 1784 arch/parisc/kernel/firmware.c va_end(args); args 25 arch/parisc/kernel/kgdb.c static int __kgdb_notify(struct die_args *args, unsigned long cmd) args 27 arch/parisc/kernel/kgdb.c struct pt_regs *regs = args->regs; args 29 arch/parisc/kernel/kgdb.c if (kgdb_handle_exception(1, args->signr, cmd, regs)) args 15 arch/parisc/kernel/pdc_chassis.c #define DPRINTK(fmt, args...) printk(fmt, ## args) args 17 arch/parisc/kernel/pdc_chassis.c #define DPRINTK(fmt, args...) args 23 arch/parisc/kernel/unaligned.c #define DPRINTF(fmt, args...) do { printk(KERN_DEBUG "%s:%d:%s ", __FILE__, __LINE__, __func__ ); printk(KERN_DEBUG fmt, ##args ); } while (0) args 25 arch/parisc/kernel/unaligned.c #define DPRINTF(fmt, args...) args 23 arch/powerpc/boot/oflib.c __be32 args[10]; /* Input/output arguments. */ args 44 arch/powerpc/boot/oflib.c struct prom_args args; args 47 arch/powerpc/boot/oflib.c args.service = cpu_to_be32(ADDR(service)); args 48 arch/powerpc/boot/oflib.c args.nargs = cpu_to_be32(nargs); args 49 arch/powerpc/boot/oflib.c args.nret = cpu_to_be32(nret); args 53 arch/powerpc/boot/oflib.c args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); args 57 arch/powerpc/boot/oflib.c args.args[nargs+i] = 0; args 59 arch/powerpc/boot/oflib.c if (prom(&args) < 0) args 62 arch/powerpc/boot/oflib.c return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; args 69 arch/powerpc/boot/oflib.c struct prom_args args; args 72 arch/powerpc/boot/oflib.c args.service = cpu_to_be32(ADDR(service)); args 73 arch/powerpc/boot/oflib.c args.nargs = cpu_to_be32(nargs); args 74 arch/powerpc/boot/oflib.c args.nret = cpu_to_be32(nret); args 78 arch/powerpc/boot/oflib.c args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); args 82 arch/powerpc/boot/oflib.c args.args[nargs+i] = 0; args 84 arch/powerpc/boot/oflib.c if (prom(&args) < 0) args 89 arch/powerpc/boot/oflib.c rets[i-1] = be32_to_cpu(args.args[nargs+i]); args 91 arch/powerpc/boot/oflib.c return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; args 235 arch/powerpc/boot/ops.h #define fatal(args...) { printf(args); exit(); } args 146 arch/powerpc/boot/stdio.c int vsprintf(char *buf, const char *fmt, va_list args) args 189 arch/powerpc/boot/stdio.c field_width = va_arg(args, int); args 205 arch/powerpc/boot/stdio.c precision = va_arg(args, int); args 230 arch/powerpc/boot/stdio.c *str++ = (unsigned char) va_arg(args, int); args 236 arch/powerpc/boot/stdio.c s = va_arg(args, char *); args 257 arch/powerpc/boot/stdio.c (unsigned long) va_arg(args, void *), 16, args 264 arch/powerpc/boot/stdio.c long * ip = va_arg(args, long *); args 267 arch/powerpc/boot/stdio.c size_t * ip = va_arg(args, size_t *); args 270 arch/powerpc/boot/stdio.c int * ip = va_arg(args, int *); args 305 arch/powerpc/boot/stdio.c num = va_arg(args, unsigned long); args 309 arch/powerpc/boot/stdio.c num = va_arg(args, unsigned long long); args 313 arch/powerpc/boot/stdio.c num = va_arg(args, size_t); args 315 arch/powerpc/boot/stdio.c num = (unsigned short) va_arg(args, int); args 319 arch/powerpc/boot/stdio.c num = va_arg(args, unsigned int); args 331 arch/powerpc/boot/stdio.c va_list args; args 334 arch/powerpc/boot/stdio.c va_start(args, fmt); args 335 arch/powerpc/boot/stdio.c i=vsprintf(buf,fmt,args); args 336 arch/powerpc/boot/stdio.c va_end(args); args 345 arch/powerpc/boot/stdio.c va_list args; args 348 arch/powerpc/boot/stdio.c va_start(args, fmt); args 349 arch/powerpc/boot/stdio.c n = vsprintf(sprint_buf, fmt, args); args 350 arch/powerpc/boot/stdio.c va_end(args); args 13 arch/powerpc/boot/stdio.h #define fprintf(fmt, args...) printf(args) args 18 arch/powerpc/boot/stdio.h extern int vsprintf(char *buf, const char *fmt, va_list args); args 35 arch/powerpc/include/asm/asm-prototypes.h void __trace_hcall_entry(unsigned long opcode, unsigned long *args); args 77 arch/powerpc/include/asm/hw_breakpoint.h int hw_breakpoint_handler(struct die_args *args); args 182 arch/powerpc/include/asm/kvm_ppc.h struct kvm_create_spapr_tce_64 *args); args 53 arch/powerpc/include/asm/pmac_pfunc.h struct pmf_args *args args 58 arch/powerpc/include/asm/pmac_pfunc.h void * (*begin)(struct pmf_function *func, struct pmf_args *args); args 218 arch/powerpc/include/asm/pmac_pfunc.h u32 phandle, u32 flags, struct pmf_args *args); args 232 arch/powerpc/include/asm/pmac_pfunc.h struct pmf_args *args); args 246 arch/powerpc/include/asm/pmac_pfunc.h extern int pmf_call_one(struct pmf_function *func, struct pmf_args *args); args 51 arch/powerpc/include/asm/rtas.h rtas_arg_t args[16]; args 60 arch/powerpc/include/asm/rtas.h struct rtas_args args; args 355 arch/powerpc/include/asm/rtas.h void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, args 75 arch/powerpc/include/asm/syscall.h unsigned long *args) args 90 arch/powerpc/include/asm/syscall.h args[n] = val & mask; args 96 arch/powerpc/include/asm/syscall.h const unsigned long *args) args 98 arch/powerpc/include/asm/syscall.h memcpy(®s->gpr[3], args, 6 * sizeof(args[0])); args 101 arch/powerpc/include/asm/syscall.h regs->orig_gpr3 = args[0]; args 79 arch/powerpc/include/asm/trace.h TP_PROTO(unsigned long opcode, unsigned long *args), args 81 arch/powerpc/include/asm/trace.h TP_ARGS(opcode, args), args 128 arch/powerpc/include/asm/trace.h TP_PROTO(unsigned long opcode, unsigned long *args), args 130 arch/powerpc/include/asm/trace.h TP_ARGS(opcode, args), args 250 arch/powerpc/kernel/hw_breakpoint.c int hw_breakpoint_handler(struct die_args *args) args 254 arch/powerpc/kernel/hw_breakpoint.c struct pt_regs *regs = args->regs; args 319 arch/powerpc/kernel/hw_breakpoint.c static int single_step_dabr_instruction(struct die_args *args) args 321 arch/powerpc/kernel/hw_breakpoint.c struct pt_regs *regs = args->regs; args 114 arch/powerpc/kernel/prom_init.c __be32 args[10]; args 138 arch/powerpc/kernel/prom_init.c extern int enter_prom(struct prom_args *args, unsigned long entry); args 140 arch/powerpc/kernel/prom_init.c static inline int enter_prom(struct prom_args *args, unsigned long entry) args 142 arch/powerpc/kernel/prom_init.c return ((int (*)(struct prom_args *))entry)(args); args 364 arch/powerpc/kernel/prom_init.c struct prom_args args; args 367 arch/powerpc/kernel/prom_init.c args.service = cpu_to_be32(ADDR(service)); args 368 arch/powerpc/kernel/prom_init.c args.nargs = cpu_to_be32(nargs); args 369 arch/powerpc/kernel/prom_init.c args.nret = cpu_to_be32(nret); args 373 arch/powerpc/kernel/prom_init.c args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); args 377 arch/powerpc/kernel/prom_init.c args.args[nargs+i] = 0; args 379 arch/powerpc/kernel/prom_init.c if (enter_prom(&args, prom_entry) < 0) args 382 arch/powerpc/kernel/prom_init.c return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; args 389 arch/powerpc/kernel/prom_init.c struct prom_args args; args 392 arch/powerpc/kernel/prom_init.c args.service = cpu_to_be32(ADDR(service)); args 393 arch/powerpc/kernel/prom_init.c args.nargs = cpu_to_be32(nargs); args 394 arch/powerpc/kernel/prom_init.c args.nret = cpu_to_be32(nret); args 398 arch/powerpc/kernel/prom_init.c args.args[i] = cpu_to_be32(va_arg(list, prom_arg_t)); args 402 arch/powerpc/kernel/prom_init.c args.args[nargs+i] = 0; args 404 arch/powerpc/kernel/prom_init.c if (enter_prom(&args, prom_entry) < 0) args 409 arch/powerpc/kernel/prom_init.c rets[i-1] = be32_to_cpu(args.args[nargs+i]); args 411 arch/powerpc/kernel/prom_init.c return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; args 476 arch/powerpc/kernel/prom_init.c va_list args; args 481 arch/powerpc/kernel/prom_init.c va_start(args, format); args 505 arch/powerpc/kernel/prom_init.c s = va_arg(args, const char *); args 512 arch/powerpc/kernel/prom_init.c v = va_arg(args, unsigned int); args 515 arch/powerpc/kernel/prom_init.c v = va_arg(args, unsigned long); args 519 arch/powerpc/kernel/prom_init.c v = va_arg(args, unsigned long long); args 528 arch/powerpc/kernel/prom_init.c v = va_arg(args, unsigned int); args 531 arch/powerpc/kernel/prom_init.c v = va_arg(args, unsigned long); args 535 arch/powerpc/kernel/prom_init.c v = va_arg(args, unsigned long long); args 544 arch/powerpc/kernel/prom_init.c vs = va_arg(args, int); args 547 arch/powerpc/kernel/prom_init.c vs = va_arg(args, long); args 551 arch/powerpc/kernel/prom_init.c vs = va_arg(args, long long); args 562 arch/powerpc/kernel/prom_init.c va_end(args); args 1732 arch/powerpc/kernel/prom_init.c static int prom_rtas_hcall(uint64_t args) args 1735 arch/powerpc/kernel/prom_init.c register uint64_t arg2 asm("r4") = args; args 1766 arch/powerpc/kernel/prom_init.c os_term_args.args[0] = cpu_to_be32(__pa(str)); args 103 arch/powerpc/kernel/rtas.c rtas_call_unlocked(&rtas.args, 10, 1, 1, NULL, c); args 379 arch/powerpc/kernel/rtas.c err_args.args[0] = cpu_to_be32(__pa(rtas_err_buf)); args 380 arch/powerpc/kernel/rtas.c err_args.args[1] = cpu_to_be32(bufsz); args 381 arch/powerpc/kernel/rtas.c err_args.args[2] = 0; args 383 arch/powerpc/kernel/rtas.c save_args = rtas.args; args 384 arch/powerpc/kernel/rtas.c rtas.args = err_args; args 386 arch/powerpc/kernel/rtas.c enter_rtas(__pa(&rtas.args)); args 388 arch/powerpc/kernel/rtas.c err_args = rtas.args; args 389 arch/powerpc/kernel/rtas.c rtas.args = save_args; args 392 arch/powerpc/kernel/rtas.c if (unlikely(err_args.args[2] == 0)) { args 416 arch/powerpc/kernel/rtas.c va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, args 421 arch/powerpc/kernel/rtas.c args->token = cpu_to_be32(token); args 422 arch/powerpc/kernel/rtas.c args->nargs = cpu_to_be32(nargs); args 423 arch/powerpc/kernel/rtas.c args->nret = cpu_to_be32(nret); args 424 arch/powerpc/kernel/rtas.c args->rets = &(args->args[nargs]); args 427 arch/powerpc/kernel/rtas.c args->args[i] = cpu_to_be32(va_arg(list, __u32)); args 430 arch/powerpc/kernel/rtas.c args->rets[i] = 0; args 432 arch/powerpc/kernel/rtas.c enter_rtas(__pa(args)); args 435 arch/powerpc/kernel/rtas.c void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) args 440 arch/powerpc/kernel/rtas.c va_rtas_call_unlocked(args, token, nargs, nret, list); args 459 arch/powerpc/kernel/rtas.c rtas_args = &rtas.args; args 1064 arch/powerpc/kernel/rtas.c struct rtas_args args; args 1075 arch/powerpc/kernel/rtas.c if (copy_from_user(&args, uargs, 3 * sizeof(u32)) != 0) args 1078 arch/powerpc/kernel/rtas.c nargs = be32_to_cpu(args.nargs); args 1079 arch/powerpc/kernel/rtas.c nret = be32_to_cpu(args.nret); args 1080 arch/powerpc/kernel/rtas.c token = be32_to_cpu(args.token); args 1082 arch/powerpc/kernel/rtas.c if (nargs >= ARRAY_SIZE(args.args) args 1083 arch/powerpc/kernel/rtas.c || nret > ARRAY_SIZE(args.args) args 1084 arch/powerpc/kernel/rtas.c || nargs + nret > ARRAY_SIZE(args.args)) args 1088 arch/powerpc/kernel/rtas.c if (copy_from_user(args.args, uargs->args, args 1095 arch/powerpc/kernel/rtas.c args.rets = &args.args[nargs]; args 1096 arch/powerpc/kernel/rtas.c memset(args.rets, 0, nret * sizeof(rtas_arg_t)); args 1106 arch/powerpc/kernel/rtas.c u64 handle = ((u64)be32_to_cpu(args.args[0]) << 32) args 1107 arch/powerpc/kernel/rtas.c | be32_to_cpu(args.args[1]); args 1110 arch/powerpc/kernel/rtas.c args.rets[0] = cpu_to_be32(RTAS_NOT_SUSPENDABLE); args 1112 arch/powerpc/kernel/rtas.c args.rets[0] = cpu_to_be32(-1); args 1122 arch/powerpc/kernel/rtas.c rtas.args = args; args 1123 arch/powerpc/kernel/rtas.c enter_rtas(__pa(&rtas.args)); args 1124 arch/powerpc/kernel/rtas.c args = rtas.args; args 1128 arch/powerpc/kernel/rtas.c if (be32_to_cpu(args.rets[0]) == -1) args 1141 arch/powerpc/kernel/rtas.c if (copy_to_user(uargs->args + nargs, args 1142 arch/powerpc/kernel/rtas.c args.args + nargs, args 124 arch/powerpc/kernel/udbg.c va_list args; args 126 arch/powerpc/kernel/udbg.c va_start(args, fmt); args 127 arch/powerpc/kernel/udbg.c vsnprintf(buf, UDBG_BUFSIZE, fmt, args); args 129 arch/powerpc/kernel/udbg.c va_end(args); args 124 arch/powerpc/kernel/uprobes.c struct die_args *args = data; args 125 arch/powerpc/kernel/uprobes.c struct pt_regs *regs = args->regs; args 271 arch/powerpc/kvm/book3s_64_vio.c struct kvm_create_spapr_tce_64 *args) args 275 arch/powerpc/kvm/book3s_64_vio.c unsigned long npages, size = args->size; args 278 arch/powerpc/kvm/book3s_64_vio.c if (!args->size || args->page_shift < 12 || args->page_shift > 34 || args 279 arch/powerpc/kvm/book3s_64_vio.c (args->offset + args->size > (ULLONG_MAX >> args->page_shift))) args 293 arch/powerpc/kvm/book3s_64_vio.c stt->liobn = args->liobn; args 294 arch/powerpc/kvm/book3s_64_vio.c stt->page_shift = args->page_shift; args 295 arch/powerpc/kvm/book3s_64_vio.c stt->offset = args->offset; args 306 arch/powerpc/kvm/book3s_64_vio.c if (siter->liobn == args->liobn) { args 377 arch/powerpc/kvm/book3s_emulate.c run->papr_hcall.args[i] = gpr; args 1350 arch/powerpc/kvm/book3s_hv.c run->papr_hcall.args[i] = kvmppc_get_gpr(vcpu, 4 + i); args 570 arch/powerpc/kvm/book3s_hv_rm_mmu.c unsigned long *args = &vcpu->arch.regs.gpr[4]; args 587 arch/powerpc/kvm/book3s_hv_rm_mmu.c pte_index = args[j]; args 599 arch/powerpc/kvm/book3s_hv_rm_mmu.c args[j] = ((0xa0 | flags) << 56) + pte_index; args 624 arch/powerpc/kvm/book3s_hv_rm_mmu.c if (!(hp0 & args[j + 1])) args 628 arch/powerpc/kvm/book3s_hv_rm_mmu.c if ((hp0 & ~0x7fUL) == args[j + 1]) args 635 arch/powerpc/kvm/book3s_hv_rm_mmu.c args[j] = ((0x90 | flags) << 56) + pte_index; args 639 arch/powerpc/kvm/book3s_hv_rm_mmu.c args[j] = ((0x80 | flags) << 56) + pte_index; args 646 arch/powerpc/kvm/book3s_hv_rm_mmu.c args[j] |= rcbits << (56 - 5); args 671 arch/powerpc/kvm/book3s_hv_rm_mmu.c pte_index = args[j] & ((1ul << 56) - 1); args 677 arch/powerpc/kvm/book3s_hv_rm_mmu.c args[j] |= rcbits << (56 - 5); args 1294 arch/powerpc/kvm/book3s_pr.c run->papr_hcall.args[i] = gpr; args 19 arch/powerpc/kvm/book3s_rtas.c static void kvm_rtas_set_xive(struct kvm_vcpu *vcpu, struct rtas_args *args) args 24 arch/powerpc/kvm/book3s_rtas.c if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { args 29 arch/powerpc/kvm/book3s_rtas.c irq = be32_to_cpu(args->args[0]); args 30 arch/powerpc/kvm/book3s_rtas.c server = be32_to_cpu(args->args[1]); args 31 arch/powerpc/kvm/book3s_rtas.c priority = be32_to_cpu(args->args[2]); args 40 arch/powerpc/kvm/book3s_rtas.c args->rets[0] = cpu_to_be32(rc); args 43 arch/powerpc/kvm/book3s_rtas.c static void kvm_rtas_get_xive(struct kvm_vcpu *vcpu, struct rtas_args *args) args 48 arch/powerpc/kvm/book3s_rtas.c if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { args 53 arch/powerpc/kvm/book3s_rtas.c irq = be32_to_cpu(args->args[0]); args 65 arch/powerpc/kvm/book3s_rtas.c args->rets[1] = cpu_to_be32(server); args 66 arch/powerpc/kvm/book3s_rtas.c args->rets[2] = cpu_to_be32(priority); args 68 arch/powerpc/kvm/book3s_rtas.c args->rets[0] = cpu_to_be32(rc); args 71 arch/powerpc/kvm/book3s_rtas.c static void kvm_rtas_int_off(struct kvm_vcpu *vcpu, struct rtas_args *args) args 76 arch/powerpc/kvm/book3s_rtas.c if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { args 81 arch/powerpc/kvm/book3s_rtas.c irq = be32_to_cpu(args->args[0]); args 90 arch/powerpc/kvm/book3s_rtas.c args->rets[0] = cpu_to_be32(rc); args 93 arch/powerpc/kvm/book3s_rtas.c static void kvm_rtas_int_on(struct kvm_vcpu *vcpu, struct rtas_args *args) args 98 arch/powerpc/kvm/book3s_rtas.c if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { args 103 arch/powerpc/kvm/book3s_rtas.c irq = be32_to_cpu(args->args[0]); args 112 arch/powerpc/kvm/book3s_rtas.c args->rets[0] = cpu_to_be32(rc); args 117 arch/powerpc/kvm/book3s_rtas.c void (*handler)(struct kvm_vcpu *vcpu, struct rtas_args *args); args 138 arch/powerpc/kvm/book3s_rtas.c struct kvm_rtas_token_args args; args 139 arch/powerpc/kvm/book3s_rtas.c return !strncmp(s1, s2, sizeof(args.name)); args 200 arch/powerpc/kvm/book3s_rtas.c struct kvm_rtas_token_args args; args 203 arch/powerpc/kvm/book3s_rtas.c if (copy_from_user(&args, argp, sizeof(args))) args 208 arch/powerpc/kvm/book3s_rtas.c if (args.token) args 209 arch/powerpc/kvm/book3s_rtas.c rc = rtas_token_define(kvm, args.name, args.token); args 211 arch/powerpc/kvm/book3s_rtas.c rc = rtas_token_undefine(kvm, args.name); args 221 arch/powerpc/kvm/book3s_rtas.c struct rtas_args args; args 232 arch/powerpc/kvm/book3s_rtas.c rc = kvm_read_guest(vcpu->kvm, args_phys, &args, sizeof(args)); args 242 arch/powerpc/kvm/book3s_rtas.c orig_rets = args.rets; args 243 arch/powerpc/kvm/book3s_rtas.c args.rets = &args.args[be32_to_cpu(args.nargs)]; args 249 arch/powerpc/kvm/book3s_rtas.c if (d->token == be32_to_cpu(args.token)) { args 250 arch/powerpc/kvm/book3s_rtas.c d->handler->handler(vcpu, &args); args 259 arch/powerpc/kvm/book3s_rtas.c args.rets = orig_rets; args 260 arch/powerpc/kvm/book3s_rtas.c rc = kvm_write_guest(vcpu->kvm, args_phys, &args, sizeof(args)); args 1818 arch/powerpc/kvm/powerpc.c kvmppc_set_gpr(vcpu, 4 + i, run->papr_hcall.args[i]); args 1876 arch/powerpc/kvm/powerpc.c if (cap->args[0]) args 1890 arch/powerpc/kvm/powerpc.c void __user *user_ptr = (void __user *)(uintptr_t)cap->args[0]; args 1906 arch/powerpc/kvm/powerpc.c f = fdget(cap->args[0]); args 1913 arch/powerpc/kvm/powerpc.c r = kvmppc_mpic_connect_vcpu(dev, vcpu, cap->args[1]); args 1925 arch/powerpc/kvm/powerpc.c f = fdget(cap->args[0]); args 1933 arch/powerpc/kvm/powerpc.c r = kvmppc_xive_connect_vcpu(dev, vcpu, cap->args[1]); args 1935 arch/powerpc/kvm/powerpc.c r = kvmppc_xics_connect_vcpu(dev, vcpu, cap->args[1]); args 1948 arch/powerpc/kvm/powerpc.c f = fdget(cap->args[0]); args 1960 arch/powerpc/kvm/powerpc.c cap->args[1]); args 2144 arch/powerpc/kvm/powerpc.c unsigned long hcall = cap->args[0]; args 2148 arch/powerpc/kvm/powerpc.c cap->args[1] > 1) args 2152 arch/powerpc/kvm/powerpc.c if (cap->args[1]) args 2160 arch/powerpc/kvm/powerpc.c unsigned long mode = cap->args[0]; args 2161 arch/powerpc/kvm/powerpc.c unsigned long flags = cap->args[1]; args 32 arch/powerpc/mm/nohash/mmu_context.c #define pr_hard(args...) printk(KERN_DEBUG args) args 33 arch/powerpc/mm/nohash/mmu_context.c #define pr_hardcont(args...) printk(KERN_CONT args) args 35 arch/powerpc/mm/nohash/mmu_context.c #define pr_hard(args...) do { } while(0) args 36 arch/powerpc/mm/nohash/mmu_context.c #define pr_hardcont(args...) do { } while(0) args 44 arch/powerpc/mm/numa.c #define dbg(args...) if (numa_debug) { printk(KERN_INFO args); } args 102 arch/powerpc/mm/ptdump/ptdump.c #define pt_dump_seq_printf(m, fmt, args...) \ args 105 arch/powerpc/mm/ptdump/ptdump.c seq_printf(m, fmt, ##args); \ args 18 arch/powerpc/oprofile/op_model_power4.c #define dbg(args...) args 39 arch/powerpc/platforms/85xx/mpc85xx_ds.c #define DBG(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args) args 41 arch/powerpc/platforms/85xx/mpc85xx_ds.c #define DBG(fmt, args...) args 37 arch/powerpc/platforms/85xx/mpc85xx_rdb.c #define DBG(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args) args 39 arch/powerpc/platforms/85xx/mpc85xx_rdb.c #define DBG(fmt, args...) args 330 arch/powerpc/platforms/fsl_uli1575.c oirq.args[0] = 2; args 47 arch/powerpc/platforms/powermac/bootx_init.c va_list args; args 50 arch/powerpc/platforms/powermac/bootx_init.c va_start(args, format); args 71 arch/powerpc/platforms/powermac/bootx_init.c s = va_arg(args, const char *); args 78 arch/powerpc/platforms/powermac/bootx_init.c v = va_arg(args, unsigned long); args 83 arch/powerpc/platforms/powermac/bootx_init.c va_end(args); args 165 arch/powerpc/platforms/powermac/bootx_init.c char *args = (char *)((unsigned long)bootx_info) + args 167 arch/powerpc/platforms/powermac/bootx_init.c bootx_dt_add_prop("bootargs", args, strlen(args) + 1, mem_end); args 2373 arch/powerpc/platforms/powermac/feature.c va_list args; args 2390 arch/powerpc/platforms/powermac/feature.c va_start(args, selector); args 2391 arch/powerpc/platforms/powermac/feature.c node = (struct device_node*)va_arg(args, void*); args 2392 arch/powerpc/platforms/powermac/feature.c param = va_arg(args, long); args 2393 arch/powerpc/platforms/powermac/feature.c value = va_arg(args, long); args 2394 arch/powerpc/platforms/powermac/feature.c va_end(args); args 1230 arch/powerpc/platforms/powermac/low_i2c.c static void* pmac_i2c_do_begin(struct pmf_function *func, struct pmf_args *args) args 1376 arch/powerpc/platforms/powermac/low_i2c.c if (!args || !args->count || !args->u[0].p) args 1386 arch/powerpc/platforms/powermac/low_i2c.c *args->u[0].p = match; args 51 arch/powerpc/platforms/powermac/pfunc_base.c if (args && args->count && !args->u[0].v) args 72 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) args 76 arch/powerpc/platforms/powermac/pfunc_base.c *args->u[0].p = ((value & mask) >> rshift) ^ xor; args 160 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) args 163 arch/powerpc/platforms/powermac/pfunc_base.c *args->u[0].p = MACIO_IN32(offset); args 183 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) args 186 arch/powerpc/platforms/powermac/pfunc_base.c *((u8 *)(args->u[0].p)) = MACIO_IN8(offset); args 196 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) args 199 arch/powerpc/platforms/powermac/pfunc_base.c *args->u[0].p = ((MACIO_IN32(offset) & mask) >> shift) ^ xor; args 209 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0 || args->u[0].p == NULL) args 212 arch/powerpc/platforms/powermac/pfunc_base.c *((u8 *)(args->u[0].p)) = ((MACIO_IN8(offset) & mask) >> shift) ^ xor; args 224 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0) args 229 arch/powerpc/platforms/powermac/pfunc_base.c val = args->u[0].v << shift; args 244 arch/powerpc/platforms/powermac/pfunc_base.c if (args == NULL || args->count == 0) args 249 arch/powerpc/platforms/powermac/pfunc_base.c val = args->u[0].v << shift; args 75 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_args *args; args 132 arch/powerpc/platforms/powermac/pfunc_core.c cmd->args, p); \ args 581 arch/powerpc/platforms/powermac/pfunc_core.c void *instdata, struct pmf_args *args) args 591 arch/powerpc/platforms/powermac/pfunc_core.c cmd.args = args; args 938 arch/powerpc/platforms/powermac/pfunc_core.c int pmf_call_one(struct pmf_function *func, struct pmf_args *args) args 947 arch/powerpc/platforms/powermac/pfunc_core.c instdata = dev->handlers->begin(func, args); args 948 arch/powerpc/platforms/powermac/pfunc_core.c rc = pmf_parse_one(func, dev->handlers, instdata, args); args 957 arch/powerpc/platforms/powermac/pfunc_core.c u32 phandle, u32 fflags, struct pmf_args *args) args 981 arch/powerpc/platforms/powermac/pfunc_core.c rc = pmf_call_one(func, args); args 1009 arch/powerpc/platforms/powermac/pfunc_core.c struct pmf_args *args) args 1017 arch/powerpc/platforms/powermac/pfunc_core.c rc = pmf_call_one(func, args); args 426 arch/powerpc/platforms/powermac/pic.c out_irq->args[0] = ints[index]; args 633 arch/powerpc/platforms/powermac/smp.c struct pmf_args args; args 637 arch/powerpc/platforms/powermac/smp.c args.count = 1; args 638 arch/powerpc/platforms/powermac/smp.c args.u[0].v = !freeze; args 639 arch/powerpc/platforms/powermac/smp.c pmf_call_function(cpus, "cpu-timebase", &args); args 20 arch/powerpc/platforms/powernv/opal-call.c unsigned long args[8]; args 27 arch/powerpc/platforms/powernv/opal-call.c args[0] = a0; args 28 arch/powerpc/platforms/powernv/opal-call.c args[1] = a1; args 29 arch/powerpc/platforms/powernv/opal-call.c args[2] = a2; args 30 arch/powerpc/platforms/powernv/opal-call.c args[3] = a3; args 31 arch/powerpc/platforms/powernv/opal-call.c args[4] = a4; args 32 arch/powerpc/platforms/powernv/opal-call.c args[5] = a5; args 33 arch/powerpc/platforms/powernv/opal-call.c args[6] = a6; args 34 arch/powerpc/platforms/powernv/opal-call.c args[7] = a7; args 37 arch/powerpc/platforms/powernv/opal-call.c trace_opal_entry(opcode, &args[0]); args 48 arch/powerpc/platforms/powernv/opal-tracepoints.c void __trace_opal_entry(unsigned long opcode, unsigned long *args) args 62 arch/powerpc/platforms/powernv/opal-tracepoints.c trace_opal_entry(opcode, args); args 59 arch/powerpc/platforms/powernv/pci-ioda.c va_list args; args 62 arch/powerpc/platforms/powernv/pci-ioda.c va_start(args, fmt); args 65 arch/powerpc/platforms/powernv/pci-ioda.c vaf.va = &args; args 83 arch/powerpc/platforms/powernv/pci-ioda.c va_end(args); args 367 arch/powerpc/platforms/pseries/cmm.c #define CMM_SHOW(name, format, args...) \ args 372 arch/powerpc/platforms/pseries/cmm.c return sprintf(buf, format, ##args); \ args 520 arch/powerpc/platforms/pseries/dlpar.c char *args; args 523 arch/powerpc/platforms/pseries/dlpar.c args = argbuf = kstrdup(buf, GFP_KERNEL); args 534 arch/powerpc/platforms/pseries/dlpar.c rc = dlpar_parse_resource(&args, &hp_elog); args 538 arch/powerpc/platforms/pseries/dlpar.c rc = dlpar_parse_action(&args, &hp_elog); args 542 arch/powerpc/platforms/pseries/dlpar.c rc = dlpar_parse_id_type(&args, &hp_elog); args 88 arch/powerpc/platforms/pseries/hotplug-cpu.c static struct rtas_args args; args 97 arch/powerpc/platforms/pseries/hotplug-cpu.c rtas_call_unlocked(&args, rtas_stop_self_token, 0, 1, NULL); args 103 arch/powerpc/platforms/pseries/hvCall_inst.c static void probe_hcall_entry(void *ignored, unsigned long opcode, unsigned long *args) args 1815 arch/powerpc/platforms/pseries/lpar.c void __trace_hcall_entry(unsigned long opcode, unsigned long *args) args 1836 arch/powerpc/platforms/pseries/lpar.c trace_hcall_entry(opcode, args); args 62 arch/powerpc/sysdev/mpic_msi.c ops->xlate(mpic->irqhost, NULL, oirq.args, args 99 arch/powerpc/xmon/ansidecl.h #define DEFUN(name, arglist, args) name(args) args 123 arch/powerpc/xmon/ansidecl.h #define DEFUN(name, arglist, args) name arglist args; args 169 arch/powerpc/xmon/nonstdio.c va_list args; args 173 arch/powerpc/xmon/nonstdio.c va_start(args, format); args 174 arch/powerpc/xmon/nonstdio.c n = vsnprintf(xmon_outbuf, sizeof(xmon_outbuf), format, args); args 175 arch/powerpc/xmon/nonstdio.c va_end(args); args 393 arch/powerpc/xmon/xmon.c static struct rtas_args args; args 405 arch/powerpc/xmon/xmon.c rtas_call_unlocked(&args, set_indicator_token, 3, 1, NULL, args 3246 arch/powerpc/xmon/xmon.c unsigned long args[8]; args 3259 arch/powerpc/xmon/xmon.c args[i] = 0; args 3261 arch/powerpc/xmon/xmon.c if (!scanhex(&args[i]) || termch == '\n') args 3270 arch/powerpc/xmon/xmon.c ret = func(args[0], args[1], args[2], args[3], args 3271 arch/powerpc/xmon/xmon.c args[4], args[5], args[6], args[7]); args 67 arch/riscv/include/asm/syscall.h unsigned long *args) args 69 arch/riscv/include/asm/syscall.h args[0] = regs->orig_a0; args 70 arch/riscv/include/asm/syscall.h args++; args 71 arch/riscv/include/asm/syscall.h memcpy(args, ®s->a1, 5 * sizeof(args[0])); args 76 arch/riscv/include/asm/syscall.h const unsigned long *args) args 78 arch/riscv/include/asm/syscall.h regs->orig_a0 = args[0]; args 79 arch/riscv/include/asm/syscall.h args++; args 80 arch/riscv/include/asm/syscall.h memcpy(®s->a1, args, 5 * sizeof(regs->a1)); args 216 arch/s390/boot/ipl_parm.c char *args; args 220 arch/s390/boot/ipl_parm.c args = strcpy(command_line_buf, early_command_line); args 221 arch/s390/boot/ipl_parm.c while (*args) { args 222 arch/s390/boot/ipl_parm.c args = next_arg(args, ¶m, &val); args 87 arch/s390/hypfs/hypfs_sprp.c if ((diag304->args[0] >> 8) != 0 || diag304->args[1] > DIAG304_CMD_MAX) args 92 arch/s390/hypfs/hypfs_sprp.c if (diag304->args[1] == DIAG304_SET_WEIGHTS || args 93 arch/s390/hypfs/hypfs_sprp.c diag304->args[1] == DIAG304_SET_CAPPING) args 97 arch/s390/hypfs/hypfs_sprp.c cmd = *(unsigned long *) &diag304->args[0]; args 100 arch/s390/hypfs/hypfs_sprp.c if (diag304->args[1] == DIAG304_QUERY_PRP) args 10 arch/s390/include/asm/pci_debug.h #define zpci_dbg(imp, fmt, args...) \ args 11 arch/s390/include/asm/pci_debug.h debug_sprintf_event(pci_debug_msg_id, imp, fmt, ##args) args 80 arch/s390/include/asm/ptrace.h unsigned long args[1]; args 96 arch/s390/include/asm/stacktrace.h #define CALL_ON_STACK(fn, stack, nr, args...) \ args 98 arch/s390/include/asm/stacktrace.h CALL_ARGS_##nr(args); \ args 54 arch/s390/include/asm/syscall.h unsigned long *args) args 65 arch/s390/include/asm/syscall.h args[n] = regs->gprs[2 + n] & mask; args 67 arch/s390/include/asm/syscall.h args[0] = regs->orig_gpr2 & mask; args 72 arch/s390/include/asm/syscall.h const unsigned long *args) args 78 arch/s390/include/asm/syscall.h regs->gprs[2 + n] = args[n]; args 79 arch/s390/include/asm/syscall.h regs->orig_gpr2 = args[0]; args 19 arch/s390/include/uapi/asm/hypfs.h __u32 args[2]; args 294 arch/s390/include/uapi/asm/ptrace.h unsigned long args[1]; args 43 arch/s390/kernel/asm-offsets.c OFFSET(__PT_ARGS, pt_regs, args); args 264 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE1(s390_fadvise64_64, struct fadvise64_64_args __user *, args) args 268 arch/s390/kernel/compat_linux.c if ( copy_from_user(&a, args, sizeof(a)) ) args 124 arch/s390/kernel/compat_linux.h long compat_sys_s390_fadvise64_64(struct fadvise64_64_args __user *args); args 62 arch/s390/kernel/debug.c long args[0]; args 1045 arch/s390/kernel/debug.c curr_event->args[idx] = va_arg(ap, long); args 1081 arch/s390/kernel/debug.c curr_event->args[idx] = va_arg(ap, long); args 1498 arch/s390/kernel/debug.c rc = sprintf(out_buf, curr_event->string, curr_event->args[index[0]], args 1499 arch/s390/kernel/debug.c curr_event->args[index[1]], curr_event->args[index[2]], args 1500 arch/s390/kernel/debug.c curr_event->args[index[3]], curr_event->args[index[4]], args 1501 arch/s390/kernel/debug.c curr_event->args[index[5]], curr_event->args[index[6]], args 1502 arch/s390/kernel/debug.c curr_event->args[index[7]], curr_event->args[index[8]], args 1503 arch/s390/kernel/debug.c curr_event->args[index[9]]); args 143 arch/s390/kernel/dumpstack.c printk(" [<%016lx>] %pSR\n", regs->args[0], (void *)regs->args[0]); args 172 arch/s390/kernel/ipl.c #define IPL_ATTR_SHOW_FN(_prefix, _name, _format, args...) \ args 177 arch/s390/kernel/ipl.c return snprintf(page, PAGE_SIZE, _format, ##args); \ args 151 arch/s390/kernel/kprobes.c struct swap_insn_args *args = data; args 153 arch/s390/kernel/kprobes.c struct kprobe *p = args->p; args 156 arch/s390/kernel/kprobes.c new_insn.opc = args->arm_kprobe ? BREAKPOINT_INSTRUCTION : p->opcode; args 162 arch/s390/kernel/kprobes.c if (args->arm_kprobe) { args 180 arch/s390/kernel/kprobes.c struct swap_insn_args args = {.p = p, .arm_kprobe = 1}; args 182 arch/s390/kernel/kprobes.c stop_machine_cpuslocked(swap_instruction, &args, NULL); args 188 arch/s390/kernel/kprobes.c struct swap_insn_args args = {.p = p, .arm_kprobe = 0}; args 190 arch/s390/kernel/kprobes.c stop_machine_cpuslocked(swap_instruction, &args, NULL); args 613 arch/s390/kernel/kprobes.c struct die_args *args = (struct die_args *) data; args 614 arch/s390/kernel/kprobes.c struct pt_regs *regs = args->regs; args 631 arch/s390/kernel/kprobes.c kprobe_trap_handler(regs, args->trapnr)) args 114 arch/s390/kernel/uprobes.c struct die_args *args = data; args 115 arch/s390/kernel/uprobes.c struct pt_regs *regs = args->regs; args 1790 arch/s390/kvm/kvm-s390.c static long kvm_s390_get_skeys(struct kvm *kvm, struct kvm_s390_skeys *args) args 1796 arch/s390/kvm/kvm-s390.c if (args->flags != 0) args 1804 arch/s390/kvm/kvm-s390.c if (args->count < 1 || args->count > KVM_S390_SKEYS_MAX) args 1807 arch/s390/kvm/kvm-s390.c keys = kvmalloc_array(args->count, sizeof(uint8_t), GFP_KERNEL); args 1813 arch/s390/kvm/kvm-s390.c for (i = 0; i < args->count; i++) { args 1814 arch/s390/kvm/kvm-s390.c hva = gfn_to_hva(kvm, args->start_gfn + i); args 1828 arch/s390/kvm/kvm-s390.c r = copy_to_user((uint8_t __user *)args->skeydata_addr, keys, args 1829 arch/s390/kvm/kvm-s390.c sizeof(uint8_t) * args->count); args 1838 arch/s390/kvm/kvm-s390.c static long kvm_s390_set_skeys(struct kvm *kvm, struct kvm_s390_skeys *args) args 1845 arch/s390/kvm/kvm-s390.c if (args->flags != 0) args 1849 arch/s390/kvm/kvm-s390.c if (args->count < 1 || args->count > KVM_S390_SKEYS_MAX) args 1852 arch/s390/kvm/kvm-s390.c keys = kvmalloc_array(args->count, sizeof(uint8_t), GFP_KERNEL); args 1856 arch/s390/kvm/kvm-s390.c r = copy_from_user(keys, (uint8_t __user *)args->skeydata_addr, args 1857 arch/s390/kvm/kvm-s390.c sizeof(uint8_t) * args->count); args 1871 arch/s390/kvm/kvm-s390.c while (i < args->count) { args 1873 arch/s390/kvm/kvm-s390.c hva = gfn_to_hva(kvm, args->start_gfn + i); args 1946 arch/s390/kvm/kvm-s390.c static int kvm_s390_peek_cmma(struct kvm *kvm, struct kvm_s390_cmma_log *args, args 1949 arch/s390/kvm/kvm-s390.c unsigned long pgstev, hva, cur_gfn = args->start_gfn; args 1951 arch/s390/kvm/kvm-s390.c args->count = 0; args 1952 arch/s390/kvm/kvm-s390.c while (args->count < bufsize) { args 1959 arch/s390/kvm/kvm-s390.c return args->count ? 0 : -EFAULT; args 1962 arch/s390/kvm/kvm-s390.c res[args->count++] = (pgstev >> 24) & 0x43; args 1994 arch/s390/kvm/kvm-s390.c static int kvm_s390_get_cmma(struct kvm *kvm, struct kvm_s390_cmma_log *args, args 2001 arch/s390/kvm/kvm-s390.c cur_gfn = kvm_s390_next_dirty_cmma(slots, args->start_gfn); args 2003 arch/s390/kvm/kvm-s390.c args->count = 0; args 2004 arch/s390/kvm/kvm-s390.c args->start_gfn = cur_gfn; args 2010 arch/s390/kvm/kvm-s390.c while (args->count < bufsize) { args 2020 arch/s390/kvm/kvm-s390.c res[args->count++] = (pgstev >> 24) & 0x43; args 2029 arch/s390/kvm/kvm-s390.c (next_gfn - args->start_gfn >= bufsize)) args 2051 arch/s390/kvm/kvm-s390.c struct kvm_s390_cmma_log *args) args 2060 arch/s390/kvm/kvm-s390.c if (args->flags & ~KVM_S390_CMMA_PEEK) args 2063 arch/s390/kvm/kvm-s390.c peek = !!(args->flags & KVM_S390_CMMA_PEEK); args 2067 arch/s390/kvm/kvm-s390.c bufsize = min(args->count, KVM_S390_CMMA_SIZE_MAX); args 2069 arch/s390/kvm/kvm-s390.c memset(args, 0, sizeof(*args)); args 2074 arch/s390/kvm/kvm-s390.c memset(args, 0, sizeof(*args)); args 2085 arch/s390/kvm/kvm-s390.c ret = kvm_s390_peek_cmma(kvm, args, values, bufsize); args 2087 arch/s390/kvm/kvm-s390.c ret = kvm_s390_get_cmma(kvm, args, values, bufsize); args 2092 arch/s390/kvm/kvm-s390.c args->remaining = atomic64_read(&kvm->arch.cmma_dirty_pages); args 2094 arch/s390/kvm/kvm-s390.c args->remaining = 0; args 2096 arch/s390/kvm/kvm-s390.c if (copy_to_user((void __user *)args->values, values, args->count)) args 2109 arch/s390/kvm/kvm-s390.c const struct kvm_s390_cmma_log *args) args 2115 arch/s390/kvm/kvm-s390.c mask = args->mask; args 2120 arch/s390/kvm/kvm-s390.c if (args->flags != 0) args 2123 arch/s390/kvm/kvm-s390.c if (args->count > KVM_S390_CMMA_SIZE_MAX) args 2126 arch/s390/kvm/kvm-s390.c if (args->count == 0) args 2129 arch/s390/kvm/kvm-s390.c bits = vmalloc(array_size(sizeof(*bits), args->count)); args 2133 arch/s390/kvm/kvm-s390.c r = copy_from_user(bits, (void __user *)args->values, args->count); args 2141 arch/s390/kvm/kvm-s390.c for (i = 0; i < args->count; i++) { args 2142 arch/s390/kvm/kvm-s390.c hva = gfn_to_hva(kvm, args->start_gfn + i); args 2217 arch/s390/kvm/kvm-s390.c struct kvm_s390_skeys args; args 2220 arch/s390/kvm/kvm-s390.c if (copy_from_user(&args, argp, args 2223 arch/s390/kvm/kvm-s390.c r = kvm_s390_get_skeys(kvm, &args); args 2227 arch/s390/kvm/kvm-s390.c struct kvm_s390_skeys args; args 2230 arch/s390/kvm/kvm-s390.c if (copy_from_user(&args, argp, args 2233 arch/s390/kvm/kvm-s390.c r = kvm_s390_set_skeys(kvm, &args); args 2237 arch/s390/kvm/kvm-s390.c struct kvm_s390_cmma_log args; args 2240 arch/s390/kvm/kvm-s390.c if (copy_from_user(&args, argp, sizeof(args))) args 2243 arch/s390/kvm/kvm-s390.c r = kvm_s390_get_cmma_bits(kvm, &args); args 2246 arch/s390/kvm/kvm-s390.c r = copy_to_user(argp, &args, sizeof(args)); args 2253 arch/s390/kvm/kvm-s390.c struct kvm_s390_cmma_log args; args 2256 arch/s390/kvm/kvm-s390.c if (copy_from_user(&args, argp, sizeof(args))) args 2259 arch/s390/kvm/kvm-s390.c r = kvm_s390_set_cmma_bits(kvm, &args); args 23 arch/sh/include/asm/cacheflush.h extern void (*local_flush_cache_all)(void *args); args 24 arch/sh/include/asm/cacheflush.h extern void (*local_flush_cache_mm)(void *args); args 25 arch/sh/include/asm/cacheflush.h extern void (*local_flush_cache_dup_mm)(void *args); args 26 arch/sh/include/asm/cacheflush.h extern void (*local_flush_cache_page)(void *args); args 27 arch/sh/include/asm/cacheflush.h extern void (*local_flush_cache_range)(void *args); args 28 arch/sh/include/asm/cacheflush.h extern void (*local_flush_dcache_page)(void *args); args 29 arch/sh/include/asm/cacheflush.h extern void (*local_flush_icache_range)(void *args); args 30 arch/sh/include/asm/cacheflush.h extern void (*local_flush_icache_page)(void *args); args 31 arch/sh/include/asm/cacheflush.h extern void (*local_flush_cache_sigtramp)(void *args); args 33 arch/sh/include/asm/cacheflush.h static inline void cache_noop(void *args) { } args 51 arch/sh/include/asm/syscall_32.h unsigned long *args) args 55 arch/sh/include/asm/syscall_32.h args[5] = regs->regs[1]; args 56 arch/sh/include/asm/syscall_32.h args[4] = regs->regs[0]; args 57 arch/sh/include/asm/syscall_32.h args[3] = regs->regs[7]; args 58 arch/sh/include/asm/syscall_32.h args[2] = regs->regs[6]; args 59 arch/sh/include/asm/syscall_32.h args[1] = regs->regs[5]; args 60 arch/sh/include/asm/syscall_32.h args[0] = regs->regs[4]; args 65 arch/sh/include/asm/syscall_32.h const unsigned long *args) args 67 arch/sh/include/asm/syscall_32.h regs->regs[1] = args[5]; args 68 arch/sh/include/asm/syscall_32.h regs->regs[0] = args[4]; args 69 arch/sh/include/asm/syscall_32.h regs->regs[7] = args[3]; args 70 arch/sh/include/asm/syscall_32.h regs->regs[6] = args[2]; args 71 arch/sh/include/asm/syscall_32.h regs->regs[5] = args[1]; args 72 arch/sh/include/asm/syscall_32.h regs->regs[4] = args[0]; args 50 arch/sh/include/asm/syscall_64.h unsigned long *args) args 52 arch/sh/include/asm/syscall_64.h memcpy(args, ®s->regs[2], 6 * sizeof(args[0])); args 57 arch/sh/include/asm/syscall_64.h const unsigned long *args) args 59 arch/sh/include/asm/syscall_64.h memcpy(®s->regs[2], args, 6 * sizeof(args[0])); args 273 arch/sh/kernel/hw_breakpoint.c static int __kprobes hw_breakpoint_handler(struct die_args *args) args 337 arch/sh/kernel/hw_breakpoint.c perf_bp_event(bp, args->regs); args 372 arch/sh/kernel/hw_breakpoint.c struct die_args *args = data; args 385 arch/sh/kernel/hw_breakpoint.c if (args->trapnr != sh_ubc->trap_nr) args 314 arch/sh/kernel/kgdb.c static int __kgdb_notify(struct die_args *args, unsigned long cmd) args 327 arch/sh/kernel/kgdb.c ret = kgdb_handle_exception(args->trapnr & 0xff, args->signr, args 328 arch/sh/kernel/kgdb.c args->err, args->regs); args 482 arch/sh/kernel/kprobes.c struct die_args *args = (struct die_args *)data; args 487 arch/sh/kernel/kprobes.c addr = (kprobe_opcode_t *) (args->regs->pc); args 489 arch/sh/kernel/kprobes.c args->trapnr == (BREAKPOINT_INSTRUCTION & 0xff)) { args 491 arch/sh/kernel/kprobes.c if (kprobe_handler(args->regs)) { args 501 arch/sh/kernel/kprobes.c if (post_kprobe_handler(args->regs)) args 504 arch/sh/kernel/kprobes.c if (kprobe_handler(args->regs)) args 24 arch/sh/kernel/nmi_debug.c struct die_args *args = data; args 32 arch/sh/kernel/nmi_debug.c show_regs(args->regs); args 27 arch/sh/mm/cache-j2.c static void j2_flush_icache(void *args) args 34 arch/sh/mm/cache-j2.c static void j2_flush_dcache(void *args) args 41 arch/sh/mm/cache-j2.c static void j2_flush_both(void *args) args 150 arch/sh/mm/cache-sh2a.c static void sh2a_flush_icache_range(void *args) args 152 arch/sh/mm/cache-sh2a.c struct flusher_data *data = args; args 40 arch/sh/mm/cache-sh4.c static void sh4_flush_icache_range(void *args) args 42 arch/sh/mm/cache-sh4.c struct flusher_data *data = args; args 204 arch/sh/mm/cache-sh4.c static void sh4_flush_cache_page(void *args) args 206 arch/sh/mm/cache-sh4.c struct flusher_data *data = args; args 276 arch/sh/mm/cache-sh4.c static void sh4_flush_cache_range(void *args) args 278 arch/sh/mm/cache-sh4.c struct flusher_data *data = args; args 525 arch/sh/mm/cache-sh5.c static void sh5_flush_cache_range(void *args) args 527 arch/sh/mm/cache-sh5.c struct flusher_data *data = args; args 548 arch/sh/mm/cache-sh5.c static void sh5_flush_cache_page(void *args) args 550 arch/sh/mm/cache-sh5.c struct flusher_data *data = args; args 578 arch/sh/mm/cache-sh5.c static void sh5_flush_icache_range(void *args) args 580 arch/sh/mm/cache-sh5.c struct flusher_data *data = args; args 67 arch/sh/mm/cache-sh7705.c static void sh7705_flush_icache_range(void *args) args 69 arch/sh/mm/cache-sh7705.c struct flusher_data *data = args; args 147 arch/sh/mm/cache-sh7705.c static void sh7705_flush_cache_all(void *args) args 164 arch/sh/mm/cache-sh7705.c static void sh7705_flush_cache_page(void *args) args 166 arch/sh/mm/cache-sh7705.c struct flusher_data *data = args; args 18 arch/sh/mm/cache.c void (*local_flush_cache_all)(void *args) = cache_noop; args 19 arch/sh/mm/cache.c void (*local_flush_cache_mm)(void *args) = cache_noop; args 20 arch/sh/mm/cache.c void (*local_flush_cache_dup_mm)(void *args) = cache_noop; args 21 arch/sh/mm/cache.c void (*local_flush_cache_page)(void *args) = cache_noop; args 22 arch/sh/mm/cache.c void (*local_flush_cache_range)(void *args) = cache_noop; args 23 arch/sh/mm/cache.c void (*local_flush_dcache_page)(void *args) = cache_noop; args 24 arch/sh/mm/cache.c void (*local_flush_icache_range)(void *args) = cache_noop; args 25 arch/sh/mm/cache.c void (*local_flush_icache_page)(void *args) = cache_noop; args 26 arch/sh/mm/cache.c void (*local_flush_cache_sigtramp)(void *args) = cache_noop; args 66 arch/sparc/include/asm/openprom.h char args[100]; args 99 arch/sparc/include/asm/syscall.h unsigned long *args) args 114 arch/sparc/include/asm/syscall.h args[j] = (u32) val; args 116 arch/sparc/include/asm/syscall.h args[j] = val; args 122 arch/sparc/include/asm/syscall.h const unsigned long *args) args 127 arch/sparc/include/asm/syscall.h regs->u_regs[UREG_I0 + i] = args[i]; args 395 arch/sparc/kernel/kprobes.c struct die_args *args = (struct die_args *)data; args 398 arch/sparc/kernel/kprobes.c if (args->regs && user_mode(args->regs)) args 403 arch/sparc/kernel/kprobes.c if (kprobe_handler(args->regs)) args 407 arch/sparc/kernel/kprobes.c if (post_kprobe_handler(args->regs)) args 1616 arch/sparc/kernel/perf_event.c struct die_args *args = __args; args 1637 arch/sparc/kernel/perf_event.c regs = args->regs; args 266 arch/sparc/kernel/uprobes.c struct die_args *args = (struct die_args *)data; args 269 arch/sparc/kernel/uprobes.c if (args->regs && !user_mode(args->regs)) args 274 arch/sparc/kernel/uprobes.c if (uprobe_pre_sstep_notifier(args->regs)) args 279 arch/sparc/kernel/uprobes.c if (uprobe_post_sstep_notifier(args->regs)) args 25 arch/sparc/oprofile/init.c struct die_args *args = data; args 30 arch/sparc/oprofile/init.c oprofile_add_sample(args->regs, 0); args 18 arch/sparc/prom/console_64.c unsigned long args[7]; args 21 arch/sparc/prom/console_64.c args[0] = (unsigned long) "write"; args 22 arch/sparc/prom/console_64.c args[1] = 3; args 23 arch/sparc/prom/console_64.c args[2] = 1; args 24 arch/sparc/prom/console_64.c args[3] = (unsigned int) prom_stdout; args 25 arch/sparc/prom/console_64.c args[4] = (unsigned long) buf; args 26 arch/sparc/prom/console_64.c args[5] = (unsigned int) len; args 27 arch/sparc/prom/console_64.c args[6] = (unsigned long) -1; args 29 arch/sparc/prom/console_64.c p1275_cmd_direct(args); args 31 arch/sparc/prom/console_64.c ret = (int) args[6]; args 23 arch/sparc/prom/misc_64.c unsigned long args[5]; args 25 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "test"; args 26 arch/sparc/prom/misc_64.c args[1] = 1; args 27 arch/sparc/prom/misc_64.c args[2] = 1; args 28 arch/sparc/prom/misc_64.c args[3] = (unsigned long) service_name; args 29 arch/sparc/prom/misc_64.c args[4] = (unsigned long) -1; args 31 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 33 arch/sparc/prom/misc_64.c if (args[4]) args 41 arch/sparc/prom/misc_64.c unsigned long args[3]; args 45 arch/sparc/prom/misc_64.c args[0] = (unsigned long) svc; args 46 arch/sparc/prom/misc_64.c args[1] = 0; args 47 arch/sparc/prom/misc_64.c args[2] = 0; args 48 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 54 arch/sparc/prom/misc_64.c unsigned long args[4]; args 60 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "boot"; args 61 arch/sparc/prom/misc_64.c args[1] = 1; args 62 arch/sparc/prom/misc_64.c args[2] = 0; args 63 arch/sparc/prom/misc_64.c args[3] = (unsigned long) bcommand; args 65 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 71 arch/sparc/prom/misc_64.c unsigned long args[5]; args 75 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "interpret"; args 76 arch/sparc/prom/misc_64.c args[1] = 1; args 77 arch/sparc/prom/misc_64.c args[2] = 1; args 78 arch/sparc/prom/misc_64.c args[3] = (unsigned long) fstring; args 79 arch/sparc/prom/misc_64.c args[4] = (unsigned long) -1; args 81 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 90 arch/sparc/prom/misc_64.c unsigned long args[3]; args 99 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "enter"; args 100 arch/sparc/prom/misc_64.c args[1] = 0; args 101 arch/sparc/prom/misc_64.c args[2] = 0; args 103 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 117 arch/sparc/prom/misc_64.c unsigned long args[3]; args 124 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "exit"; args 125 arch/sparc/prom/misc_64.c args[1] = 0; args 126 arch/sparc/prom/misc_64.c args[2] = 0; args 127 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 133 arch/sparc/prom/misc_64.c unsigned long args[3]; args 139 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,power-off"; args 140 arch/sparc/prom/misc_64.c args[1] = 0; args 141 arch/sparc/prom/misc_64.c args[2] = 0; args 142 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 206 arch/sparc/prom/misc_64.c unsigned long args[9]; args 208 arch/sparc/prom/misc_64.c args[0] = (unsigned long) prom_callmethod_name; args 209 arch/sparc/prom/misc_64.c args[1] = 5; args 210 arch/sparc/prom/misc_64.c args[2] = 1; args 211 arch/sparc/prom/misc_64.c args[3] = (unsigned long) type; args 212 arch/sparc/prom/misc_64.c args[4] = (unsigned int) prom_get_mmu_ihandle(); args 213 arch/sparc/prom/misc_64.c args[5] = vaddr; args 214 arch/sparc/prom/misc_64.c args[6] = tte_data; args 215 arch/sparc/prom/misc_64.c args[7] = index; args 216 arch/sparc/prom/misc_64.c args[8] = (unsigned long) -1; args 218 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 220 arch/sparc/prom/misc_64.c return (long) args[8]; args 240 arch/sparc/prom/misc_64.c unsigned long args[11]; args 243 arch/sparc/prom/misc_64.c args[0] = (unsigned long) prom_callmethod_name; args 244 arch/sparc/prom/misc_64.c args[1] = 7; args 245 arch/sparc/prom/misc_64.c args[2] = 1; args 246 arch/sparc/prom/misc_64.c args[3] = (unsigned long) prom_map_name; args 247 arch/sparc/prom/misc_64.c args[4] = (unsigned int) prom_get_mmu_ihandle(); args 248 arch/sparc/prom/misc_64.c args[5] = (unsigned int) mode; args 249 arch/sparc/prom/misc_64.c args[6] = size; args 250 arch/sparc/prom/misc_64.c args[7] = vaddr; args 251 arch/sparc/prom/misc_64.c args[8] = 0; args 252 arch/sparc/prom/misc_64.c args[9] = paddr; args 253 arch/sparc/prom/misc_64.c args[10] = (unsigned long) -1; args 255 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 257 arch/sparc/prom/misc_64.c ret = (int) args[10]; args 265 arch/sparc/prom/misc_64.c unsigned long args[7]; args 267 arch/sparc/prom/misc_64.c args[0] = (unsigned long) prom_callmethod_name; args 268 arch/sparc/prom/misc_64.c args[1] = 4; args 269 arch/sparc/prom/misc_64.c args[2] = 0; args 270 arch/sparc/prom/misc_64.c args[3] = (unsigned long) prom_unmap_name; args 271 arch/sparc/prom/misc_64.c args[4] = (unsigned int) prom_get_mmu_ihandle(); args 272 arch/sparc/prom/misc_64.c args[5] = size; args 273 arch/sparc/prom/misc_64.c args[6] = vaddr; args 275 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 284 arch/sparc/prom/misc_64.c unsigned long args[11]; args 286 arch/sparc/prom/misc_64.c args[0] = (unsigned long) prom_callmethod_name; args 287 arch/sparc/prom/misc_64.c args[1] = 5; args 288 arch/sparc/prom/misc_64.c args[2] = 3; args 289 arch/sparc/prom/misc_64.c args[3] = (unsigned long) "SUNW,retain"; args 290 arch/sparc/prom/misc_64.c args[4] = (unsigned int) prom_get_memory_ihandle(); args 291 arch/sparc/prom/misc_64.c args[5] = align; args 292 arch/sparc/prom/misc_64.c args[6] = size; args 293 arch/sparc/prom/misc_64.c args[7] = (unsigned long) name; args 294 arch/sparc/prom/misc_64.c args[8] = (unsigned long) -1; args 295 arch/sparc/prom/misc_64.c args[9] = (unsigned long) -1; args 296 arch/sparc/prom/misc_64.c args[10] = (unsigned long) -1; args 298 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 300 arch/sparc/prom/misc_64.c if (args[8]) args 301 arch/sparc/prom/misc_64.c return (int) args[8]; args 307 arch/sparc/prom/misc_64.c *paddr = args[10]; args 322 arch/sparc/prom/misc_64.c unsigned long args[12]; args 324 arch/sparc/prom/misc_64.c args[0] = (unsigned long) prom_callmethod_name; args 325 arch/sparc/prom/misc_64.c args[1] = 7; args 326 arch/sparc/prom/misc_64.c args[2] = 2; args 327 arch/sparc/prom/misc_64.c args[3] = (unsigned long) "SUNW,get-unumber"; args 328 arch/sparc/prom/misc_64.c args[4] = (unsigned int) prom_get_memory_ihandle(); args 329 arch/sparc/prom/misc_64.c args[5] = buflen; args 330 arch/sparc/prom/misc_64.c args[6] = (unsigned long) buf; args 331 arch/sparc/prom/misc_64.c args[7] = 0; args 332 arch/sparc/prom/misc_64.c args[8] = phys_addr; args 333 arch/sparc/prom/misc_64.c args[9] = (unsigned int) syndrome_code; args 334 arch/sparc/prom/misc_64.c args[10] = (unsigned long) -1; args 335 arch/sparc/prom/misc_64.c args[11] = (unsigned long) -1; args 337 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 339 arch/sparc/prom/misc_64.c return (int) args[10]; args 345 arch/sparc/prom/misc_64.c unsigned long args[3]; args 347 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,sleep-self"; args 348 arch/sparc/prom/misc_64.c args[1] = 0; args 349 arch/sparc/prom/misc_64.c args[2] = 0; args 350 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 355 arch/sparc/prom/misc_64.c unsigned long args[4]; args 357 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,sleep-system"; args 358 arch/sparc/prom/misc_64.c args[1] = 0; args 359 arch/sparc/prom/misc_64.c args[2] = 1; args 360 arch/sparc/prom/misc_64.c args[3] = (unsigned long) -1; args 361 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 363 arch/sparc/prom/misc_64.c return (int) args[3]; args 368 arch/sparc/prom/misc_64.c unsigned long args[4]; args 370 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,wakeup-system"; args 371 arch/sparc/prom/misc_64.c args[1] = 0; args 372 arch/sparc/prom/misc_64.c args[2] = 1; args 373 arch/sparc/prom/misc_64.c args[3] = (unsigned long) -1; args 374 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 376 arch/sparc/prom/misc_64.c return (int) args[3]; args 382 arch/sparc/prom/misc_64.c unsigned long args[6]; args 384 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,start-cpu"; args 385 arch/sparc/prom/misc_64.c args[1] = 3; args 386 arch/sparc/prom/misc_64.c args[2] = 0; args 387 arch/sparc/prom/misc_64.c args[3] = (unsigned int) cpunode; args 388 arch/sparc/prom/misc_64.c args[4] = pc; args 389 arch/sparc/prom/misc_64.c args[5] = arg; args 390 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 395 arch/sparc/prom/misc_64.c unsigned long args[6]; args 397 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,start-cpu-by-cpuid"; args 398 arch/sparc/prom/misc_64.c args[1] = 3; args 399 arch/sparc/prom/misc_64.c args[2] = 0; args 400 arch/sparc/prom/misc_64.c args[3] = (unsigned int) cpuid; args 401 arch/sparc/prom/misc_64.c args[4] = pc; args 402 arch/sparc/prom/misc_64.c args[5] = arg; args 403 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 408 arch/sparc/prom/misc_64.c unsigned long args[4]; args 410 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,stop-cpu-by-cpuid"; args 411 arch/sparc/prom/misc_64.c args[1] = 1; args 412 arch/sparc/prom/misc_64.c args[2] = 0; args 413 arch/sparc/prom/misc_64.c args[3] = (unsigned int) cpuid; args 414 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 419 arch/sparc/prom/misc_64.c unsigned long args[3]; args 421 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,stop-self"; args 422 arch/sparc/prom/misc_64.c args[1] = 0; args 423 arch/sparc/prom/misc_64.c args[2] = 0; args 424 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 429 arch/sparc/prom/misc_64.c unsigned long args[3]; args 431 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,idle-self"; args 432 arch/sparc/prom/misc_64.c args[1] = 0; args 433 arch/sparc/prom/misc_64.c args[2] = 0; args 434 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 439 arch/sparc/prom/misc_64.c unsigned long args[4]; args 441 arch/sparc/prom/misc_64.c args[0] = (unsigned long) "SUNW,resume-cpu"; args 442 arch/sparc/prom/misc_64.c args[1] = 1; args 443 arch/sparc/prom/misc_64.c args[2] = 0; args 444 arch/sparc/prom/misc_64.c args[3] = (unsigned int) cpunode; args 445 arch/sparc/prom/misc_64.c p1275_cmd_direct(args); args 28 arch/sparc/prom/p1275.c extern void prom_cif_direct(unsigned long *args); args 36 arch/sparc/prom/p1275.c void p1275_cmd_direct(unsigned long *args) args 45 arch/sparc/prom/p1275.c prom_cif_direct(args); args 62 arch/sparc/prom/printf.c va_list args; args 65 arch/sparc/prom/printf.c va_start(args, fmt); args 66 arch/sparc/prom/printf.c i = vscnprintf(ppbuf, sizeof(ppbuf), fmt, args); args 67 arch/sparc/prom/printf.c va_end(args); args 22 arch/sparc/prom/tree_64.c unsigned long args[5]; args 24 arch/sparc/prom/tree_64.c args[0] = (unsigned long) type; args 25 arch/sparc/prom/tree_64.c args[1] = 1; args 26 arch/sparc/prom/tree_64.c args[2] = 1; args 27 arch/sparc/prom/tree_64.c args[3] = (unsigned int) node; args 28 arch/sparc/prom/tree_64.c args[4] = (unsigned long) -1; args 30 arch/sparc/prom/tree_64.c p1275_cmd_direct(args); args 32 arch/sparc/prom/tree_64.c return (phandle) args[4]; args 95 arch/sparc/prom/tree_64.c unsigned long args[6]; args 100 arch/sparc/prom/tree_64.c args[0] = (unsigned long) "getproplen"; args 101 arch/sparc/prom/tree_64.c args[1] = 2; args 102 arch/sparc/prom/tree_64.c args[2] = 1; args 103 arch/sparc/prom/tree_64.c args[3] = (unsigned int) node; args 104 arch/sparc/prom/tree_64.c args[4] = (unsigned long) prop; args 105 arch/sparc/prom/tree_64.c args[5] = (unsigned long) -1; args 107 arch/sparc/prom/tree_64.c p1275_cmd_direct(args); args 109 arch/sparc/prom/tree_64.c return (int) args[5]; args 120 arch/sparc/prom/tree_64.c unsigned long args[8]; args 127 arch/sparc/prom/tree_64.c args[0] = (unsigned long) prom_getprop_name; args 128 arch/sparc/prom/tree_64.c args[1] = 4; args 129 arch/sparc/prom/tree_64.c args[2] = 1; args 130 arch/sparc/prom/tree_64.c args[3] = (unsigned int) node; args 131 arch/sparc/prom/tree_64.c args[4] = (unsigned long) prop; args 132 arch/sparc/prom/tree_64.c args[5] = (unsigned long) buffer; args 133 arch/sparc/prom/tree_64.c args[6] = bufsize; args 134 arch/sparc/prom/tree_64.c args[7] = (unsigned long) -1; args 136 arch/sparc/prom/tree_64.c p1275_cmd_direct(args); args 138 arch/sparc/prom/tree_64.c return (int) args[7]; args 241 arch/sparc/prom/tree_64.c unsigned long args[7]; args 247 arch/sparc/prom/tree_64.c args[0] = (unsigned long) prom_nextprop_name; args 248 arch/sparc/prom/tree_64.c args[1] = 3; args 249 arch/sparc/prom/tree_64.c args[2] = 1; args 250 arch/sparc/prom/tree_64.c args[3] = (unsigned int) node; args 251 arch/sparc/prom/tree_64.c args[4] = 0; args 252 arch/sparc/prom/tree_64.c args[5] = (unsigned long) buffer; args 253 arch/sparc/prom/tree_64.c args[6] = (unsigned long) -1; args 255 arch/sparc/prom/tree_64.c p1275_cmd_direct(args); args 267 arch/sparc/prom/tree_64.c unsigned long args[7]; args 279 arch/sparc/prom/tree_64.c args[0] = (unsigned long) prom_nextprop_name; args 280 arch/sparc/prom/tree_64.c args[1] = 3; args 281 arch/sparc/prom/tree_64.c args[2] = 1; args 282 arch/sparc/prom/tree_64.c args[3] = (unsigned int) node; args 283 arch/sparc/prom/tree_64.c args[4] = (unsigned long) oprop; args 284 arch/sparc/prom/tree_64.c args[5] = (unsigned long) buffer; args 285 arch/sparc/prom/tree_64.c args[6] = (unsigned long) -1; args 287 arch/sparc/prom/tree_64.c p1275_cmd_direct(args); args 295 arch/sparc/prom/tree_64.c unsigned long args[5]; args 299 arch/sparc/prom/tree_64.c args[0] = (unsigned long) "finddevice"; args 300 arch/sparc/prom/tree_64.c args[1] = 1; args 301 arch/sparc/prom/tree_64.c args[2] = 1; args 302 arch/sparc/prom/tree_64.c args[3] = (unsigned long) name; args 303 arch/sparc/prom/tree_64.c args[4] = (unsigned long) -1; args 305 arch/sparc/prom/tree_64.c p1275_cmd_direct(args); args 307 arch/sparc/prom/tree_64.c return (int) args[4]; args 331 arch/sparc/prom/tree_64.c unsigned long args[8]; args 344 arch/sparc/prom/tree_64.c args[0] = (unsigned long) "setprop"; args 345 arch/sparc/prom/tree_64.c args[1] = 4; args 346 arch/sparc/prom/tree_64.c args[2] = 1; args 347 arch/sparc/prom/tree_64.c args[3] = (unsigned int) node; args 348 arch/sparc/prom/tree_64.c args[4] = (unsigned long) pname; args 349 arch/sparc/prom/tree_64.c args[5] = (unsigned long) value; args 350 arch/sparc/prom/tree_64.c args[6] = size; args 351 arch/sparc/prom/tree_64.c args[7] = (unsigned long) -1; args 353 arch/sparc/prom/tree_64.c p1275_cmd_direct(args); args 355 arch/sparc/prom/tree_64.c return (int) args[7]; args 361 arch/sparc/prom/tree_64.c unsigned long args[5]; args 364 arch/sparc/prom/tree_64.c args[0] = (unsigned long) "instance-to-package"; args 365 arch/sparc/prom/tree_64.c args[1] = 1; args 366 arch/sparc/prom/tree_64.c args[2] = 1; args 367 arch/sparc/prom/tree_64.c args[3] = (unsigned int) inst; args 368 arch/sparc/prom/tree_64.c args[4] = (unsigned long) -1; args 370 arch/sparc/prom/tree_64.c p1275_cmd_direct(args); args 372 arch/sparc/prom/tree_64.c node = (int) args[4]; args 380 arch/sparc/prom/tree_64.c unsigned long args[7]; args 382 arch/sparc/prom/tree_64.c args[0] = (unsigned long) "instance-to-path"; args 383 arch/sparc/prom/tree_64.c args[1] = 3; args 384 arch/sparc/prom/tree_64.c args[2] = 1; args 385 arch/sparc/prom/tree_64.c args[3] = (unsigned int) handle; args 386 arch/sparc/prom/tree_64.c args[4] = (unsigned long) buffer; args 387 arch/sparc/prom/tree_64.c args[5] = bufsize; args 388 arch/sparc/prom/tree_64.c args[6] = (unsigned long) -1; args 390 arch/sparc/prom/tree_64.c p1275_cmd_direct(args); args 392 arch/sparc/prom/tree_64.c return (int) args[6]; args 38 arch/um/drivers/harddog_user.c char **args = NULL; args 59 arch/um/drivers/harddog_user.c args = mconsole_args; args 64 arch/um/drivers/harddog_user.c args = pid_args; args 67 arch/um/drivers/harddog_user.c pid = run_helper(pre_exec, &data, args); args 12 arch/um/drivers/vde.h void *args; args 27 arch/um/drivers/vde_kern.c vpri->args = NULL; args 21 arch/um/drivers/vde_user.c conn = vde_open(pri->vde_switch, pri->descr, pri->args); args 56 arch/um/drivers/vde_user.c kfree(pri->args); args 57 arch/um/drivers/vde_user.c pri->args = NULL; args 77 arch/um/drivers/vde_user.c struct vde_open_args *args; args 79 arch/um/drivers/vde_user.c vpri->args = uml_kmalloc(sizeof(struct vde_open_args), UM_GFP_KERNEL); args 80 arch/um/drivers/vde_user.c if (vpri->args == NULL) { args 86 arch/um/drivers/vde_user.c args = vpri->args; args 88 arch/um/drivers/vde_user.c args->port = init->port; args 89 arch/um/drivers/vde_user.c args->group = init->group; args 90 arch/um/drivers/vde_user.c args->mode = init->mode ? init->mode : 0700; args 92 arch/um/drivers/vde_user.c args->port ? printk("port %d", args->port) : args 53 arch/um/include/asm/syscall-generic.h unsigned long *args) args 57 arch/um/include/asm/syscall-generic.h *args++ = UPT_SYSCALL_ARG1(r); args 58 arch/um/include/asm/syscall-generic.h *args++ = UPT_SYSCALL_ARG2(r); args 59 arch/um/include/asm/syscall-generic.h *args++ = UPT_SYSCALL_ARG3(r); args 60 arch/um/include/asm/syscall-generic.h *args++ = UPT_SYSCALL_ARG4(r); args 61 arch/um/include/asm/syscall-generic.h *args++ = UPT_SYSCALL_ARG5(r); args 62 arch/um/include/asm/syscall-generic.h *args = UPT_SYSCALL_ARG6(r); args 67 arch/um/include/asm/syscall-generic.h const unsigned long *args) args 71 arch/um/include/asm/syscall-generic.h UPT_SYSCALL_ARG1(r) = *args++; args 72 arch/um/include/asm/syscall-generic.h UPT_SYSCALL_ARG2(r) = *args++; args 73 arch/um/include/asm/syscall-generic.h UPT_SYSCALL_ARG3(r) = *args++; args 74 arch/um/include/asm/syscall-generic.h UPT_SYSCALL_ARG4(r) = *args++; args 75 arch/um/include/asm/syscall-generic.h UPT_SYSCALL_ARG5(r) = *args++; args 76 arch/um/include/asm/syscall-generic.h UPT_SYSCALL_ARG6(r) = *args; args 269 arch/um/include/shared/os.h int syscall, unsigned long *args, long expected, args 103 arch/um/os-Linux/drivers/ethertap_user.c char **args, c; args 109 arch/um/os-Linux/drivers/ethertap_user.c args = setup_args; args 111 arch/um/os-Linux/drivers/ethertap_user.c else args = nosetup_args; args 117 arch/um/os-Linux/drivers/ethertap_user.c pid = run_helper(etap_pre_exec, &pe_data, args); args 111 arch/um/os-Linux/skas/mem.c unsigned long *args, long expected, void **addr, args 120 arch/um/os-Linux/skas/mem.c *stack++ = args[0]; args 121 arch/um/os-Linux/skas/mem.c *stack++ = args[1]; args 122 arch/um/os-Linux/skas/mem.c *stack++ = args[2]; args 123 arch/um/os-Linux/skas/mem.c *stack++ = args[3]; args 124 arch/um/os-Linux/skas/mem.c *stack++ = args[4]; args 125 arch/um/os-Linux/skas/mem.c *stack++ = args[5]; args 174 arch/um/os-Linux/skas/mem.c unsigned long args[] = { virt, len, prot, args 178 arch/um/os-Linux/skas/mem.c ret = run_syscall_stub(mm_idp, STUB_MMAP_NR, args, virt, args 188 arch/um/os-Linux/skas/mem.c unsigned long args[] = { (unsigned long) addr, len, 0, 0, 0, args 191 arch/um/os-Linux/skas/mem.c ret = run_syscall_stub(mm_idp, __NR_munmap, args, 0, args 201 arch/um/os-Linux/skas/mem.c unsigned long args[] = { addr, len, prot, 0, 0, 0 }; args 203 arch/um/os-Linux/skas/mem.c ret = run_syscall_stub(mm_idp, __NR_mprotect, args, 0, args 319 arch/x86/boot/boot.h int vsprintf(char *buf, const char *fmt, va_list args); args 244 arch/x86/boot/compressed/kaslr.c char *args = (char *)get_cmd_line_ptr(); args 245 arch/x86/boot/compressed/kaslr.c size_t len = strlen((char *)args); args 250 arch/x86/boot/compressed/kaslr.c if (!strstr(args, "memmap=") && !strstr(args, "mem=") && args 251 arch/x86/boot/compressed/kaslr.c !strstr(args, "hugepages")) args 258 arch/x86/boot/compressed/kaslr.c memcpy(tmp_cmdline, args, len); args 260 arch/x86/boot/compressed/kaslr.c args = tmp_cmdline; args 263 arch/x86/boot/compressed/kaslr.c args = skip_spaces(args); args 265 arch/x86/boot/compressed/kaslr.c while (*args) { args 266 arch/x86/boot/compressed/kaslr.c args = next_arg(args, ¶m, &val); args 113 arch/x86/boot/printf.c int vsprintf(char *buf, const char *fmt, va_list args) args 163 arch/x86/boot/printf.c field_width = va_arg(args, int); args 179 arch/x86/boot/printf.c precision = va_arg(args, int); args 200 arch/x86/boot/printf.c *str++ = (unsigned char)va_arg(args, int); args 206 arch/x86/boot/printf.c s = va_arg(args, char *); args 224 arch/x86/boot/printf.c (unsigned long)va_arg(args, void *), 16, args 230 arch/x86/boot/printf.c long *ip = va_arg(args, long *); args 233 arch/x86/boot/printf.c int *ip = va_arg(args, int *); args 268 arch/x86/boot/printf.c num = va_arg(args, unsigned long); args 270 arch/x86/boot/printf.c num = (unsigned short)va_arg(args, int); args 274 arch/x86/boot/printf.c num = va_arg(args, int); args 276 arch/x86/boot/printf.c num = va_arg(args, unsigned int); args 285 arch/x86/boot/printf.c va_list args; args 288 arch/x86/boot/printf.c va_start(args, fmt); args 289 arch/x86/boot/printf.c i = vsprintf(buf, fmt, args); args 290 arch/x86/boot/printf.c va_end(args); args 297 arch/x86/boot/printf.c va_list args; args 300 arch/x86/boot/printf.c va_start(args, fmt); args 301 arch/x86/boot/printf.c printed = vsprintf(printf_buf, fmt, args); args 302 arch/x86/boot/printf.c va_end(args); args 132 arch/x86/boot/tools/build.c va_list args; args 133 arch/x86/boot/tools/build.c va_start(args, str); args 134 arch/x86/boot/tools/build.c vfprintf(stderr, str, args); args 135 arch/x86/boot/tools/build.c va_end(args); args 100 arch/x86/entry/common.c sd.args[0] = regs->di; args 101 arch/x86/entry/common.c sd.args[1] = regs->si; args 102 arch/x86/entry/common.c sd.args[2] = regs->dx; args 103 arch/x86/entry/common.c sd.args[3] = regs->r10; args 104 arch/x86/entry/common.c sd.args[4] = regs->r8; args 105 arch/x86/entry/common.c sd.args[5] = regs->r9; args 109 arch/x86/entry/common.c sd.args[0] = regs->bx; args 110 arch/x86/entry/common.c sd.args[1] = regs->cx; args 111 arch/x86/entry/common.c sd.args[2] = regs->dx; args 112 arch/x86/entry/common.c sd.args[3] = regs->si; args 113 arch/x86/entry/common.c sd.args[4] = regs->di; args 114 arch/x86/entry/common.c sd.args[5] = regs->bp; args 554 arch/x86/events/perf_event.h #define X86_CONFIG(args...) ((union x86_pmu_config){.bits = {args}}).value args 240 arch/x86/ia32/sys_ia32.c struct kernel_clone_args args = { args 250 arch/x86/ia32/sys_ia32.c if (!legacy_clone_args_valid(&args)) args 253 arch/x86/ia32/sys_ia32.c return _do_fork(&args); args 57 arch/x86/include/asm/efi.h #define arch_efi_call_virt(p, f, args...) \ args 59 arch/x86/include/asm/efi.h ((efi_##f##_t __attribute__((regparm(0)))*) p->f)(args); \ args 70 arch/x86/include/asm/efi.h #define efi_call_phys(f, args...) efi_call((f), args) args 92 arch/x86/include/asm/efi.h #define arch_efi_call_virt(p, f, args...) \ args 93 arch/x86/include/asm/efi.h efi_call((void *)p->f, args) \ args 15 arch/x86/include/asm/olpc_ofw.h #define olpc_ofw(name, args, res) \ args 16 arch/x86/include/asm/olpc_ofw.h __olpc_ofw((name), ARRAY_SIZE(args), args, ARRAY_SIZE(res), res) args 18 arch/x86/include/asm/olpc_ofw.h extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res, args 95 arch/x86/include/asm/syscall.h unsigned long *args) args 97 arch/x86/include/asm/syscall.h memcpy(args, ®s->bx, 6 * sizeof(args[0])); args 103 arch/x86/include/asm/syscall.h const unsigned long *args) args 106 arch/x86/include/asm/syscall.h memcpy(®s->bx + i, args, n * sizeof(args[0])); args 118 arch/x86/include/asm/syscall.h unsigned long *args) args 122 arch/x86/include/asm/syscall.h *args++ = regs->bx; args 123 arch/x86/include/asm/syscall.h *args++ = regs->cx; args 124 arch/x86/include/asm/syscall.h *args++ = regs->dx; args 125 arch/x86/include/asm/syscall.h *args++ = regs->si; args 126 arch/x86/include/asm/syscall.h *args++ = regs->di; args 127 arch/x86/include/asm/syscall.h *args = regs->bp; args 131 arch/x86/include/asm/syscall.h *args++ = regs->di; args 132 arch/x86/include/asm/syscall.h *args++ = regs->si; args 133 arch/x86/include/asm/syscall.h *args++ = regs->dx; args 134 arch/x86/include/asm/syscall.h *args++ = regs->r10; args 135 arch/x86/include/asm/syscall.h *args++ = regs->r8; args 136 arch/x86/include/asm/syscall.h *args = regs->r9; args 142 arch/x86/include/asm/syscall.h const unsigned long *args) args 146 arch/x86/include/asm/syscall.h regs->bx = *args++; args 147 arch/x86/include/asm/syscall.h regs->cx = *args++; args 148 arch/x86/include/asm/syscall.h regs->dx = *args++; args 149 arch/x86/include/asm/syscall.h regs->si = *args++; args 150 arch/x86/include/asm/syscall.h regs->di = *args++; args 151 arch/x86/include/asm/syscall.h regs->bp = *args; args 155 arch/x86/include/asm/syscall.h regs->di = *args++; args 156 arch/x86/include/asm/syscall.h regs->si = *args++; args 157 arch/x86/include/asm/syscall.h regs->dx = *args++; args 158 arch/x86/include/asm/syscall.h regs->r10 = *args++; args 159 arch/x86/include/asm/syscall.h regs->r8 = *args++; args 160 arch/x86/include/asm/syscall.h regs->r9 = *args; args 453 arch/x86/include/asm/xen/hypercall.h mcl->args[0] = set; args 463 arch/x86/include/asm/xen/hypercall.h mcl->args[0] = va; args 465 arch/x86/include/asm/xen/hypercall.h mcl->args[1] = new_val.pte; args 466 arch/x86/include/asm/xen/hypercall.h mcl->args[2] = flags; args 468 arch/x86/include/asm/xen/hypercall.h mcl->args[1] = new_val.pte; args 469 arch/x86/include/asm/xen/hypercall.h mcl->args[2] = new_val.pte >> 32; args 470 arch/x86/include/asm/xen/hypercall.h mcl->args[3] = flags; args 482 arch/x86/include/asm/xen/hypercall.h mcl->args[0] = maddr; args 483 arch/x86/include/asm/xen/hypercall.h mcl->args[1] = *(unsigned long *)&desc; args 487 arch/x86/include/asm/xen/hypercall.h mcl->args[0] = maddr; args 488 arch/x86/include/asm/xen/hypercall.h mcl->args[1] = maddr >> 32; args 489 arch/x86/include/asm/xen/hypercall.h mcl->args[2] = *p++; args 490 arch/x86/include/asm/xen/hypercall.h mcl->args[3] = *p; args 501 arch/x86/include/asm/xen/hypercall.h mcl->args[0] = (unsigned long)req; args 502 arch/x86/include/asm/xen/hypercall.h mcl->args[1] = count; args 503 arch/x86/include/asm/xen/hypercall.h mcl->args[2] = (unsigned long)success_count; args 504 arch/x86/include/asm/xen/hypercall.h mcl->args[3] = domid; args 514 arch/x86/include/asm/xen/hypercall.h mcl->args[0] = (unsigned long)op; args 515 arch/x86/include/asm/xen/hypercall.h mcl->args[1] = count; args 516 arch/x86/include/asm/xen/hypercall.h mcl->args[2] = (unsigned long)success_count; args 517 arch/x86/include/asm/xen/hypercall.h mcl->args[3] = domid; args 527 arch/x86/include/asm/xen/hypercall.h mcl->args[0] = ss; args 528 arch/x86/include/asm/xen/hypercall.h mcl->args[1] = esp; args 53 arch/x86/kernel/alternative.c #define DPRINTK(fmt, args...) \ args 56 arch/x86/kernel/alternative.c printk(KERN_DEBUG "%s: " fmt "\n", __func__, ##args); \ args 59 arch/x86/kernel/alternative.c #define DUMP_BYTES(buf, len, fmt, args...) \ args 67 arch/x86/kernel/alternative.c printk(KERN_DEBUG fmt, ##args); \ args 651 arch/x86/kernel/alternative.c struct die_args *args = data; args 652 arch/x86/kernel/alternative.c struct pt_regs *regs = args->regs; args 438 arch/x86/kernel/hw_breakpoint.c static int hw_breakpoint_handler(struct die_args *args) args 446 arch/x86/kernel/hw_breakpoint.c dr6_p = (unsigned long *)ERR_PTR(args->err); args 496 arch/x86/kernel/hw_breakpoint.c perf_bp_event(bp, args->regs); args 503 arch/x86/kernel/hw_breakpoint.c args->regs->flags |= X86_EFLAGS_RF; args 475 arch/x86/kernel/kgdb.c single_step_cont(struct pt_regs *regs, struct die_args *args) args 483 arch/x86/kernel/kgdb.c kgdb_arch_handle_exception(args->trapnr, args->signr, args 484 arch/x86/kernel/kgdb.c args->err, "c", "", regs); args 489 arch/x86/kernel/kgdb.c (*(unsigned long *)ERR_PTR(args->err)) &= ~DR_STEP; args 527 arch/x86/kernel/kgdb.c static int __kgdb_notify(struct die_args *args, unsigned long cmd) args 529 arch/x86/kernel/kgdb.c struct pt_regs *regs = args->regs; args 535 arch/x86/kernel/kgdb.c return single_step_cont(regs, args); args 548 arch/x86/kernel/kgdb.c if (kgdb_handle_exception(args->trapnr, args->signr, cmd, regs)) args 559 arch/x86/kernel/kgdb.c struct die_args args = { args 571 arch/x86/kernel/kgdb.c return __kgdb_notify(&args, cmd); args 122 arch/x86/kernel/umip.c va_list args; args 127 arch/x86/kernel/umip.c va_start(args, fmt); args 129 arch/x86/kernel/umip.c vaf.va = &args; args 132 arch/x86/kernel/umip.c va_end(args); args 999 arch/x86/kernel/uprobes.c struct die_args *args = data; args 1000 arch/x86/kernel/uprobes.c struct pt_regs *regs = args->regs; args 1775 arch/x86/kvm/hyperv.c int kvm_vm_ioctl_hv_eventfd(struct kvm *kvm, struct kvm_hyperv_eventfd *args) args 1777 arch/x86/kvm/hyperv.c if ((args->flags & ~KVM_HYPERV_EVENTFD_DEASSIGN) || args 1778 arch/x86/kvm/hyperv.c (args->conn_id & ~KVM_HYPERV_CONN_ID_MASK)) args 1781 arch/x86/kvm/hyperv.c if (args->flags == KVM_HYPERV_EVENTFD_DEASSIGN) args 1782 arch/x86/kvm/hyperv.c return kvm_hv_eventfd_deassign(kvm, args->conn_id); args 1783 arch/x86/kvm/hyperv.c return kvm_hv_eventfd_assign(kvm, args->conn_id, args->fd); args 96 arch/x86/kvm/hyperv.h int kvm_vm_ioctl_hv_eventfd(struct kvm *kvm, struct kvm_hyperv_eventfd *args); args 164 arch/x86/kvm/irq.c bool kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *args) args 166 arch/x86/kvm/irq.c bool resample = args->flags & KVM_IRQFD_FLAG_RESAMPLE; args 28 arch/x86/kvm/mmu_audit.c #define audit_printk(kvm, fmt, args...) \ args 30 arch/x86/kvm/mmu_audit.c fmt, audit_point_name[kvm->arch.audit_point], ##args) args 4142 arch/x86/kvm/x86.c if (cap->args[0]) args 4156 arch/x86/kvm/x86.c user_ptr = (void __user *)(uintptr_t)cap->args[0]; args 4822 arch/x86/kvm/x86.c kvm->arch.disabled_quirks = cap->args[0]; args 4828 arch/x86/kvm/x86.c if (cap->args[0] > MAX_NR_RESERVED_IOAPIC_PINS) args 4841 arch/x86/kvm/x86.c kvm->arch.nr_reserved_ioapic_pins = cap->args[0]; args 4849 arch/x86/kvm/x86.c if (cap->args[0] & ~KVM_X2APIC_API_VALID_FLAGS) args 4852 arch/x86/kvm/x86.c if (cap->args[0] & KVM_X2APIC_API_USE_32BIT_IDS) args 4854 arch/x86/kvm/x86.c if (cap->args[0] & KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK) args 4861 arch/x86/kvm/x86.c if (cap->args[0] & ~KVM_X86_DISABLE_VALID_EXITS) args 4864 arch/x86/kvm/x86.c if ((cap->args[0] & KVM_X86_DISABLE_EXITS_MWAIT) && args 4867 arch/x86/kvm/x86.c if (cap->args[0] & KVM_X86_DISABLE_EXITS_HLT) args 4869 arch/x86/kvm/x86.c if (cap->args[0] & KVM_X86_DISABLE_EXITS_PAUSE) args 4871 arch/x86/kvm/x86.c if (cap->args[0] & KVM_X86_DISABLE_EXITS_CSTATE) args 4876 arch/x86/kvm/x86.c kvm->arch.guest_can_read_msr_platform_info = cap->args[0]; args 4880 arch/x86/kvm/x86.c kvm->arch.exception_payload_enabled = cap->args[0]; args 156 arch/x86/mm/dump_pagetables.c #define pt_dump_seq_printf(m, to_dmesg, fmt, args...) \ args 159 arch/x86/mm/dump_pagetables.c printk(KERN_INFO fmt, ##args); \ args 162 arch/x86/mm/dump_pagetables.c seq_printf(m, fmt, ##args); \ args 165 arch/x86/mm/dump_pagetables.c #define pt_dump_cont_printf(m, to_dmesg, fmt, args...) \ args 168 arch/x86/mm/dump_pagetables.c printk(KERN_CONT fmt, ##args); \ args 171 arch/x86/mm/dump_pagetables.c seq_printf(m, fmt, ##args); \ args 586 arch/x86/mm/kmmio.c kmmio_die_notifier(struct notifier_block *nb, unsigned long val, void *args) args 588 arch/x86/mm/kmmio.c struct die_args *arg = args; args 328 arch/x86/mm/mmio-mod.c va_list args; args 330 arch/x86/mm/mmio-mod.c va_start(args, fmt); args 334 arch/x86/mm/mmio-mod.c ret = mmio_trace_printk(fmt, args); args 337 arch/x86/mm/mmio-mod.c va_end(args); args 24 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { (void *)node }; args 30 arch/x86/platform/olpc/olpc_dt.c if (olpc_ofw("peer", args, res) || (s32)node == -1) args 38 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { (void *)node }; args 44 arch/x86/platform/olpc/olpc_dt.c if (olpc_ofw("child", args, res) || (s32)node == -1) { args 54 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { (void *)node, prop }; args 61 arch/x86/platform/olpc/olpc_dt.c if (olpc_ofw("getproplen", args, res)) { args 78 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { (void *)node, prop, buf, (void *)plen }; args 81 arch/x86/platform/olpc/olpc_dt.c if (olpc_ofw("getprop", args, res)) { args 92 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { (void *)node, prev, buf }; args 101 arch/x86/platform/olpc/olpc_dt.c if (olpc_ofw("nextprop", args, res) || success != 1) args 110 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { (void *)node, buf, (void *)buflen }; args 116 arch/x86/platform/olpc/olpc_dt.c if (olpc_ofw("package-to-path", args, res) || *len < 1) args 169 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { path }; args 172 arch/x86/platform/olpc/olpc_dt.c if (olpc_ofw("finddevice", args, res)) { args 186 arch/x86/platform/olpc/olpc_dt.c const void *args[] = { words }; args 189 arch/x86/platform/olpc/olpc_dt.c if (olpc_ofw("interpret", args, res)) { args 47 arch/x86/platform/olpc/olpc_ofw.c int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res, args 65 arch/x86/platform/olpc/olpc_ofw.c *p = (int)args[i]; args 31 arch/x86/um/ldt.c unsigned long args[] = { func, args 35 arch/x86/um/ldt.c res = run_syscall_stub(mm_idp, __NR_modify_ldt, args, args 48 arch/x86/um/shared/sysdep/ptrace.h unsigned long args[6]; args 52 arch/x86/um/shared/sysdep/ptrace.h { .args = { UPT_SYSCALL_ARG1(r), \ args 440 arch/x86/xen/enlighten_pv.c op = mcs.args; args 191 arch/x86/xen/mmu_pv.c mcs.mc->args[1]++; args 194 arch/x86/xen/mmu_pv.c MULTI_mmu_update(mcs.mc, mcs.args, 1, NULL, DOMID_SELF); args 197 arch/x86/xen/mmu_pv.c u = mcs.args; args 209 arch/x86/xen/mmu_pv.c mcs.mc->args[1]++; args 212 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, mcs.args, 1, NULL, DOMID_SELF); args 215 arch/x86/xen/mmu_pv.c u = mcs.args; args 1319 arch/x86/xen/mmu_pv.c op = mcs.args; args 1338 arch/x86/xen/mmu_pv.c op = mcs.args; args 1354 arch/x86/xen/mmu_pv.c } *args; args 1356 arch/x86/xen/mmu_pv.c const size_t mc_entry_size = sizeof(args->op) + args 1357 arch/x86/xen/mmu_pv.c sizeof(args->mask[0]) * BITS_TO_LONGS(num_possible_cpus()); args 1365 arch/x86/xen/mmu_pv.c args = mcs.args; args 1366 arch/x86/xen/mmu_pv.c args->op.arg2.vcpumask = to_cpumask(args->mask); args 1369 arch/x86/xen/mmu_pv.c cpumask_and(to_cpumask(args->mask), cpus, cpu_online_mask); args 1370 arch/x86/xen/mmu_pv.c cpumask_clear_cpu(smp_processor_id(), to_cpumask(args->mask)); args 1372 arch/x86/xen/mmu_pv.c args->op.cmd = MMUEXT_TLB_FLUSH_MULTI; args 1375 arch/x86/xen/mmu_pv.c args->op.cmd = MMUEXT_INVLPG_MULTI; args 1376 arch/x86/xen/mmu_pv.c args->op.arg1.linear_addr = info->start; args 1379 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, &args->op, 1, NULL, DOMID_SELF); args 1613 arch/x86/xen/mmu_pv.c op = mcs.args; args 1617 arch/x86/xen/mmu_pv.c MULTI_mmuext_op(mcs.mc, mcs.args, 1, NULL, DOMID_SELF); args 2672 arch/x86/xen/mmu_pv.c op = mcs.args; args 46 arch/x86/xen/multicalls.c unsigned char args[MC_ARGS]; args 88 arch/x86/xen/multicalls.c mc->result = xen_single_call(mc->op, mc->args[0], mc->args[1], args 89 arch/x86/xen/multicalls.c mc->args[2], mc->args[3], args 90 arch/x86/xen/multicalls.c mc->args[4]); args 111 arch/x86/xen/multicalls.c b->debug[i].args[0], args 118 arch/x86/xen/multicalls.c b->entries[i].args[0], args 138 arch/x86/xen/multicalls.c struct multicall_space __xen_mc_entry(size_t args) args 144 arch/x86/xen/multicalls.c trace_xen_mc_entry_alloc(args); args 150 arch/x86/xen/multicalls.c (argidx + args) >= MC_ARGS)) { args 162 arch/x86/xen/multicalls.c ret.args = &b->args[argidx]; args 163 arch/x86/xen/multicalls.c b->argidx = argidx + args; args 189 arch/x86/xen/multicalls.c ret.args = &b->args[b->argidx]; args 13 arch/x86/xen/multicalls.h void *args; args 17 arch/x86/xen/multicalls.h struct multicall_space __xen_mc_entry(size_t args); args 33 arch/x86/xen/multicalls.h static inline struct multicall_space xen_mc_entry(size_t args) args 36 arch/x86/xen/multicalls.h return __xen_mc_entry(args); args 62 arch/xtensa/include/asm/syscall.h unsigned long *args) args 68 arch/xtensa/include/asm/syscall.h args[i] = regs->areg[reg[i]]; args 73 arch/xtensa/include/asm/syscall.h const unsigned long *args) args 79 arch/xtensa/include/asm/syscall.h regs->areg[reg[i]] = args[i]; args 1066 block/bfq-iosched.h #define bfq_log_bfqq(bfqd, bfqq, fmt, args...) do { \ args 1072 block/bfq-iosched.h bfq_bfqq_sync((bfqq)) ? 'S' : 'A', ##args); \ args 1075 block/bfq-iosched.h #define bfq_log_bfqg(bfqd, bfqg, fmt, args...) do { \ args 1077 block/bfq-iosched.h bfqg_to_blkg(bfqg)->blkcg, fmt, ##args); \ args 1082 block/bfq-iosched.h #define bfq_log_bfqq(bfqd, bfqq, fmt, args...) do { \ args 1087 block/bfq-iosched.h ##args); \ args 1089 block/bfq-iosched.h #define bfq_log_bfqg(bfqd, bfqg, fmt, args...) do {} while (0) args 1093 block/bfq-iosched.h #define bfq_log(bfqd, fmt, args...) \ args 1094 block/bfq-iosched.h blk_add_trace_msg((bfqd)->queue, "bfq " fmt, ##args) args 2236 block/blk-iocost.c substring_t args[MAX_OPT_ARGS]; args 2244 block/blk-iocost.c switch (match_token(p, qos_ctrl_tokens, args)) { args 2246 block/blk-iocost.c match_u64(&args[0], &v); args 2250 block/blk-iocost.c match_strlcpy(buf, &args[0], sizeof(buf)); args 2260 block/blk-iocost.c tok = match_token(p, qos_tokens, args); args 2264 block/blk-iocost.c if (match_strlcpy(buf, &args[0], sizeof(buf)) >= args 2275 block/blk-iocost.c if (match_u64(&args[0], &v)) args 2281 block/blk-iocost.c if (match_strlcpy(buf, &args[0], sizeof(buf)) >= args 2401 block/blk-iocost.c substring_t args[MAX_OPT_ARGS]; args 2409 block/blk-iocost.c switch (match_token(p, cost_ctrl_tokens, args)) { args 2411 block/blk-iocost.c match_strlcpy(buf, &args[0], sizeof(buf)); args 2420 block/blk-iocost.c match_strlcpy(buf, &args[0], sizeof(buf)); args 2426 block/blk-iocost.c tok = match_token(p, i_lcoef_tokens, args); args 2429 block/blk-iocost.c if (match_u64(&args[0], &v)) args 366 block/blk-throttle.c #define throtl_log(sq, fmt, args...) do { \ args 375 block/blk-throttle.c tg_to_blkg(__tg)->blkcg, "throtl " fmt, ##args);\ args 377 block/blk-throttle.c blk_add_trace_msg(__td->queue, "throtl " fmt, ##args); \ args 44 block/partitions/ldm.c va_list args; args 46 block/partitions/ldm.c va_start (args, fmt); args 49 block/partitions/ldm.c vaf.va = &args; args 53 block/partitions/ldm.c va_end(args); args 62 crypto/ansi_cprng.c #define dbgprint(format, args...) do {\ args 64 crypto/ansi_cprng.c printk(format, ##args);\ args 16 crypto/async_tx/raid6test.c #define pr(fmt, args...) pr_info("raid6test: " fmt, ##args) args 226 crypto/crypto_user_base.c const size_t start_pos = cb->args[0]; args 248 crypto/crypto_user_base.c cb->args[0] = pos; args 72 drivers/acpi/acpi_tad.c union acpi_object args[] = { args 76 drivers/acpi/acpi_tad.c .pointer = args, args 77 drivers/acpi/acpi_tad.c .count = ARRAY_SIZE(args), args 89 drivers/acpi/acpi_tad.c args[0].buffer.pointer = (u8 *)rt; args 90 drivers/acpi/acpi_tad.c args[0].buffer.length = sizeof(*rt); args 254 drivers/acpi/acpi_tad.c union acpi_object args[] = { args 259 drivers/acpi/acpi_tad.c .pointer = args, args 260 drivers/acpi/acpi_tad.c .count = ARRAY_SIZE(args), args 265 drivers/acpi/acpi_tad.c args[0].integer.value = timer_id; args 266 drivers/acpi/acpi_tad.c args[1].integer.value = value; args 304 drivers/acpi/acpi_tad.c union acpi_object args[] = { args 308 drivers/acpi/acpi_tad.c .pointer = args, args 309 drivers/acpi/acpi_tad.c .count = ARRAY_SIZE(args), args 314 drivers/acpi/acpi_tad.c args[0].integer.value = timer_id; args 360 drivers/acpi/acpi_tad.c union acpi_object args[] = { args 364 drivers/acpi/acpi_tad.c .pointer = args, args 365 drivers/acpi/acpi_tad.c .count = ARRAY_SIZE(args), args 370 drivers/acpi/acpi_tad.c args[0].integer.value = timer_id; args 401 drivers/acpi/acpi_tad.c union acpi_object args[] = { args 405 drivers/acpi/acpi_tad.c .pointer = args, args 406 drivers/acpi/acpi_tad.c .count = ARRAY_SIZE(args), args 411 drivers/acpi/acpi_tad.c args[0].integer.value = timer_id; args 655 drivers/acpi/acpi_video.c struct acpi_object_list args = { 1, &arg0 }; args 669 drivers/acpi/acpi_video.c status = acpi_evaluate_object(device->dev->handle, "_DDC", &args, &buffer); args 190 drivers/acpi/acpica/acdebug.h acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags); args 1183 drivers/acpi/acpica/aclocal.h char **args; args 113 drivers/acpi/acpica/dbexec.c if (info->args && info->args[0]) { args 117 drivers/acpi/acpica/dbexec.c for (i = 0; (info->args[i] && *(info->args[i])); i++) { args 122 drivers/acpi/acpica/dbexec.c info->args[i], args 342 drivers/acpi/acpica/dbexec.c acpi_db_execute(char *name, char **args, acpi_object_type *types, u32 flags) args 393 drivers/acpi/acpica/dbexec.c acpi_gbl_db_method_info.args = args; args 517 drivers/acpi/acpica/dbexec.c local_info.args = local_info.arguments; args 645 drivers/acpi/acpica/dbexec.c acpi_gbl_db_method_info.args = acpi_gbl_db_method_info.arguments; args 788 drivers/acpi/acpica/dbexec.c acpi_gbl_db_method_info.args = acpi_gbl_db_method_info.arguments; args 520 drivers/acpi/acpica/evregion.c union acpi_operand_object *args[3]; args 579 drivers/acpi/acpica/evregion.c info->parameters = args; args 592 drivers/acpi/acpica/evregion.c args[0] = args 594 drivers/acpi/acpica/evregion.c if (!args[0]) { args 599 drivers/acpi/acpica/evregion.c args[1] = acpi_ut_create_integer_object((u64)function); args 600 drivers/acpi/acpica/evregion.c if (!args[1]) { args 605 drivers/acpi/acpica/evregion.c args[2] = NULL; /* Terminate list */ args 613 drivers/acpi/acpica/evregion.c acpi_ut_remove_reference(args[1]); args 626 drivers/acpi/acpica/evregion.c acpi_ut_remove_reference(args[0]); args 792 drivers/acpi/acpica/evregion.c struct acpi_object_list args; args 832 drivers/acpi/acpica/evregion.c args.count = 2; args 833 drivers/acpi/acpica/evregion.c args.pointer = objects; args 839 drivers/acpi/acpica/evregion.c status = acpi_evaluate_object(reg_method, NULL, &args, NULL); args 695 drivers/acpi/acpica/rsutils.c union acpi_operand_object *args[2]; args 710 drivers/acpi/acpica/rsutils.c info->parameters = args; args 728 drivers/acpi/acpica/rsutils.c args[0] = acpi_ut_create_internal_object(ACPI_TYPE_BUFFER); args 729 drivers/acpi/acpica/rsutils.c if (!args[0]) { args 739 drivers/acpi/acpica/rsutils.c args[0]->buffer.length = (u32) buffer.length; args 740 drivers/acpi/acpica/rsutils.c args[0]->buffer.pointer = buffer.pointer; args 741 drivers/acpi/acpica/rsutils.c args[0]->common.flags = AOPOBJ_DATA_VALID; args 742 drivers/acpi/acpica/rsutils.c args[1] = NULL; args 750 drivers/acpi/acpica/rsutils.c acpi_ut_remove_reference(args[0]); args 131 drivers/acpi/acpica/utdebug.c va_list args; args 190 drivers/acpi/acpica/utdebug.c va_start(args, format); args 191 drivers/acpi/acpica/utdebug.c acpi_os_vprintf(format, args); args 192 drivers/acpi/acpica/utdebug.c va_end(args); args 222 drivers/acpi/acpica/utdebug.c va_list args; args 230 drivers/acpi/acpica/utdebug.c va_start(args, format); args 231 drivers/acpi/acpica/utdebug.c acpi_os_vprintf(format, args); args 232 drivers/acpi/acpica/utdebug.c va_end(args); args 318 drivers/acpi/acpica/utprint.c int vsnprintf(char *string, acpi_size size, const char *format, va_list args) args 374 drivers/acpi/acpica/utprint.c width = va_arg(args, int); args 391 drivers/acpi/acpica/utprint.c precision = va_arg(args, int); args 429 drivers/acpi/acpica/utprint.c c = (char)va_arg(args, int); args 440 drivers/acpi/acpica/utprint.c s = va_arg(args, char *); args 496 drivers/acpi/acpica/utprint.c p = va_arg(args, void *); args 516 drivers/acpi/acpica/utprint.c number = va_arg(args, u64); args 521 drivers/acpi/acpica/utprint.c number = va_arg(args, unsigned long); args 526 drivers/acpi/acpica/utprint.c number = (u16)va_arg(args, int); args 531 drivers/acpi/acpica/utprint.c number = va_arg(args, unsigned int); args 568 drivers/acpi/acpica/utprint.c va_list args; args 571 drivers/acpi/acpica/utprint.c va_start(args, format); args 572 drivers/acpi/acpica/utprint.c length = vsnprintf(string, size, format, args); args 573 drivers/acpi/acpica/utprint.c va_end(args); args 593 drivers/acpi/acpica/utprint.c va_list args; args 596 drivers/acpi/acpica/utprint.c va_start(args, format); args 597 drivers/acpi/acpica/utprint.c length = vsnprintf(string, ACPI_UINT32_MAX, format, args); args 598 drivers/acpi/acpica/utprint.c va_end(args); args 617 drivers/acpi/acpica/utprint.c int vprintf(const char *format, va_list args) args 624 drivers/acpi/acpica/utprint.c sizeof(acpi_gbl_print_buffer), format, args); args 646 drivers/acpi/acpica/utprint.c va_list args; args 649 drivers/acpi/acpica/utprint.c va_start(args, format); args 650 drivers/acpi/acpica/utprint.c length = vprintf(format, args); args 651 drivers/acpi/acpica/utprint.c va_end(args); args 670 drivers/acpi/acpica/utprint.c int vfprintf(FILE * file, const char *format, va_list args) args 677 drivers/acpi/acpica/utprint.c sizeof(acpi_gbl_print_buffer), format, args); args 700 drivers/acpi/acpica/utprint.c va_list args; args 703 drivers/acpi/acpica/utprint.c va_start(args, format); args 704 drivers/acpi/acpica/utprint.c length = vfprintf(file, format, args); args 705 drivers/acpi/acpica/utprint.c va_end(args); args 140 drivers/acpi/osl.c va_list args; args 141 drivers/acpi/osl.c va_start(args, fmt); args 142 drivers/acpi/osl.c acpi_os_vprintf(fmt, args); args 143 drivers/acpi/osl.c va_end(args); args 147 drivers/acpi/osl.c void acpi_os_vprintf(const char *fmt, va_list args) args 151 drivers/acpi/osl.c vsprintf(buffer, fmt, args); args 673 drivers/acpi/property.c struct fwnode_reference_args *args) args 701 drivers/acpi/property.c args->fwnode = acpi_fwnode_handle(device); args 702 drivers/acpi/property.c args->nargs = 0; args 766 drivers/acpi/property.c args->fwnode = ref_fwnode; args 767 drivers/acpi/property.c args->nargs = nargs; args 769 drivers/acpi/property.c args->args[i] = element[i].integer.value; args 1230 drivers/acpi/property.c struct fwnode_reference_args args; args 1233 drivers/acpi/property.c memset(&args, 0, sizeof(args)); args 1235 drivers/acpi/property.c &args); args 1240 drivers/acpi/property.c if (!is_acpi_device_node(args.fwnode)) args 1241 drivers/acpi/property.c return args.nargs ? NULL : args.fwnode; args 1247 drivers/acpi/property.c if (args.nargs != 2) args 1250 drivers/acpi/property.c fwnode = args.fwnode; args 1251 drivers/acpi/property.c port_nr = args.args[0]; args 1252 drivers/acpi/property.c endpoint_nr = args.args[1]; args 1314 drivers/acpi/property.c struct fwnode_reference_args *args) args 1317 drivers/acpi/property.c args_count, args); args 486 drivers/acpi/utils.c va_list args; args 489 drivers/acpi/utils.c va_start(args, fmt); args 491 drivers/acpi/utils.c vaf.va = &args; args 496 drivers/acpi/utils.c va_end(args); args 515 drivers/acpi/utils.c va_list args; args 518 drivers/acpi/utils.c va_start(args, fmt); args 520 drivers/acpi/utils.c vaf.va = &args; args 525 drivers/acpi/utils.c va_end(args); args 279 drivers/android/binderfs.c substring_t args[MAX_OPT_ARGS]; args 286 drivers/android/binderfs.c token = match_token(p, tokens, args); args 289 drivers/android/binderfs.c if (match_int(&args[0], &max_devices) || args 300 drivers/android/binderfs.c stats = match_strdup(&args[0]); args 7261 drivers/ata/libata-core.c va_list args; args 7263 drivers/ata/libata-core.c va_start(args, fmt); args 7266 drivers/ata/libata-core.c vaf.va = &args; args 7270 drivers/ata/libata-core.c va_end(args); args 7278 drivers/ata/libata-core.c va_list args; args 7280 drivers/ata/libata-core.c va_start(args, fmt); args 7283 drivers/ata/libata-core.c vaf.va = &args; args 7292 drivers/ata/libata-core.c va_end(args); args 7300 drivers/ata/libata-core.c va_list args; args 7302 drivers/ata/libata-core.c va_start(args, fmt); args 7305 drivers/ata/libata-core.c vaf.va = &args; args 7311 drivers/ata/libata-core.c va_end(args); args 162 drivers/ata/libata-eh.c const char *fmt, va_list args) args 166 drivers/ata/libata-eh.c fmt, args); args 181 drivers/ata/libata-eh.c va_list args; args 183 drivers/ata/libata-eh.c va_start(args, fmt); args 184 drivers/ata/libata-eh.c __ata_ehi_pushv_desc(ehi, fmt, args); args 185 drivers/ata/libata-eh.c va_end(args); args 201 drivers/ata/libata-eh.c va_list args; args 206 drivers/ata/libata-eh.c va_start(args, fmt); args 207 drivers/ata/libata-eh.c __ata_ehi_pushv_desc(ehi, fmt, args); args 208 drivers/ata/libata-eh.c va_end(args); args 241 drivers/ata/libata-eh.c va_list args; args 248 drivers/ata/libata-eh.c va_start(args, fmt); args 249 drivers/ata/libata-eh.c __ata_ehi_pushv_desc(&ap->link.eh_info, fmt, args); args 250 drivers/ata/libata-eh.c va_end(args); args 587 drivers/ata/libata-scsi.c u8 args[4], *argbuf = NULL; args 596 drivers/ata/libata-scsi.c if (copy_from_user(args, arg, sizeof(args))) args 602 drivers/ata/libata-scsi.c if (args[3]) { args 603 drivers/ata/libata-scsi.c argsize = ATA_SECT_SIZE * args[3]; args 622 drivers/ata/libata-scsi.c scsi_cmd[4] = args[2]; args 623 drivers/ata/libata-scsi.c if (args[0] == ATA_CMD_SMART) { /* hack -- ide driver does this too */ args 624 drivers/ata/libata-scsi.c scsi_cmd[6] = args[3]; args 625 drivers/ata/libata-scsi.c scsi_cmd[8] = args[1]; args 629 drivers/ata/libata-scsi.c scsi_cmd[6] = args[1]; args 631 drivers/ata/libata-scsi.c scsi_cmd[14] = args[0]; args 653 drivers/ata/libata-scsi.c args[0] = desc[13]; /* status */ args 654 drivers/ata/libata-scsi.c args[1] = desc[3]; /* error */ args 655 drivers/ata/libata-scsi.c args[2] = desc[5]; /* sector count (0:7) */ args 656 drivers/ata/libata-scsi.c if (copy_to_user(arg, args, sizeof(args))) args 668 drivers/ata/libata-scsi.c && copy_to_user(arg + sizeof(args), argbuf, argsize)) args 691 drivers/ata/libata-scsi.c u8 args[7]; args 698 drivers/ata/libata-scsi.c if (copy_from_user(args, arg, sizeof(args))) args 706 drivers/ata/libata-scsi.c scsi_cmd[4] = args[1]; args 707 drivers/ata/libata-scsi.c scsi_cmd[6] = args[2]; args 708 drivers/ata/libata-scsi.c scsi_cmd[8] = args[3]; args 709 drivers/ata/libata-scsi.c scsi_cmd[10] = args[4]; args 710 drivers/ata/libata-scsi.c scsi_cmd[12] = args[5]; args 711 drivers/ata/libata-scsi.c scsi_cmd[13] = args[6] & 0x4f; args 712 drivers/ata/libata-scsi.c scsi_cmd[14] = args[0]; args 734 drivers/ata/libata-scsi.c args[0] = desc[13]; /* status */ args 735 drivers/ata/libata-scsi.c args[1] = desc[3]; /* error */ args 736 drivers/ata/libata-scsi.c args[2] = desc[5]; /* sector count (0:7) */ args 737 drivers/ata/libata-scsi.c args[3] = desc[7]; /* lbal */ args 738 drivers/ata/libata-scsi.c args[4] = desc[9]; /* lbam */ args 739 drivers/ata/libata-scsi.c args[5] = desc[11]; /* lbah */ args 740 drivers/ata/libata-scsi.c args[6] = desc[12]; /* select */ args 741 drivers/ata/libata-scsi.c if (copy_to_user(arg, args, sizeof(args))) args 2122 drivers/ata/libata-scsi.c static void ata_scsi_rbuf_fill(struct ata_scsi_args *args, args 2123 drivers/ata/libata-scsi.c unsigned int (*actor)(struct ata_scsi_args *args, u8 *rbuf)) args 2127 drivers/ata/libata-scsi.c struct scsi_cmnd *cmd = args->cmd; args 2131 drivers/ata/libata-scsi.c rc = actor(args, rbuf); args 2149 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_std(struct ata_scsi_args *args, u8 *rbuf) args 2191 drivers/ata/libata-scsi.c if (ata_id_removable(args->id) || args 2192 drivers/ata/libata-scsi.c (args->dev->link->ap->pflags & ATA_PFLAG_EXTERNAL)) args 2195 drivers/ata/libata-scsi.c if (args->dev->class == ATA_DEV_ZAC) { args 2202 drivers/ata/libata-scsi.c ata_id_string(args->id, &rbuf[16], ATA_ID_PROD, 16); args 2205 drivers/ata/libata-scsi.c ata_id_string(args->id, &rbuf[32], ATA_ID_FW_REV + 2, 4); args 2207 drivers/ata/libata-scsi.c ata_id_string(args->id, &rbuf[32], ATA_ID_FW_REV, 4); args 2212 drivers/ata/libata-scsi.c if (ata_id_zoned_cap(args->id) || args->dev->class == ATA_DEV_ZAC) args 2230 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_00(struct ata_scsi_args *args, u8 *rbuf) args 2245 drivers/ata/libata-scsi.c if (!(args->dev->flags & ATA_DFLAG_ZAC)) args 2262 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_80(struct ata_scsi_args *args, u8 *rbuf) args 2272 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) &rbuf[4], args 2290 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_83(struct ata_scsi_args *args, u8 *rbuf) args 2302 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) rbuf + num, args 2314 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) rbuf + num, ATA_ID_PROD, args 2317 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) rbuf + num, ATA_ID_SERNO, args 2321 drivers/ata/libata-scsi.c if (ata_id_has_wwn(args->id)) { args 2328 drivers/ata/libata-scsi.c ata_id_string(args->id, (unsigned char *) rbuf + num, args 2346 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_89(struct ata_scsi_args *args, u8 *rbuf) args 2371 drivers/ata/libata-scsi.c memcpy(&rbuf[60], &args->id[0], 512); args 2375 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_b0(struct ata_scsi_args *args, u8 *rbuf) args 2389 drivers/ata/libata-scsi.c min_io_sectors = 1 << ata_id_log2_per_physical_sector(args->id); args 2401 drivers/ata/libata-scsi.c if (ata_id_has_trim(args->id)) { args 2409 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_b1(struct ata_scsi_args *args, u8 *rbuf) args 2411 drivers/ata/libata-scsi.c int form_factor = ata_id_form_factor(args->id); args 2412 drivers/ata/libata-scsi.c int media_rotation_rate = ata_id_rotation_rate(args->id); args 2413 drivers/ata/libata-scsi.c u8 zoned = ata_id_zoned_cap(args->id); args 2426 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_b2(struct ata_scsi_args *args, u8 *rbuf) args 2436 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_inq_b6(struct ata_scsi_args *args, u8 *rbuf) args 2447 drivers/ata/libata-scsi.c if (args->dev->zac_zoned_cap & 1) args 2449 drivers/ata/libata-scsi.c put_unaligned_be32(args->dev->zac_zones_optimal_open, &rbuf[8]); args 2450 drivers/ata/libata-scsi.c put_unaligned_be32(args->dev->zac_zones_optimal_nonseq, &rbuf[12]); args 2451 drivers/ata/libata-scsi.c put_unaligned_be32(args->dev->zac_zones_max_open, &rbuf[16]); args 2582 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_mode_sense(struct ata_scsi_args *args, u8 *rbuf) args 2584 drivers/ata/libata-scsi.c struct ata_device *dev = args->dev; args 2585 drivers/ata/libata-scsi.c u8 *scsicmd = args->cmd->cmnd, *p = rbuf; args 2640 drivers/ata/libata-scsi.c p += ata_msense_caching(args->id, p, page_control == 1); args 2644 drivers/ata/libata-scsi.c p += ata_msense_control(args->dev, p, page_control == 1); args 2649 drivers/ata/libata-scsi.c p += ata_msense_caching(args->id, p, page_control == 1); args 2650 drivers/ata/libata-scsi.c p += ata_msense_control(args->dev, p, page_control == 1); args 2659 drivers/ata/libata-scsi.c if (ata_dev_supports_fua(args->id) && (dev->flags & ATA_DFLAG_LBA48) && args 2684 drivers/ata/libata-scsi.c ata_scsi_set_invalid_field(dev, args->cmd, fp, bp); args 2688 drivers/ata/libata-scsi.c ata_scsi_set_sense(dev, args->cmd, ILLEGAL_REQUEST, 0x39, 0x0); args 2703 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_read_cap(struct ata_scsi_args *args, u8 *rbuf) args 2705 drivers/ata/libata-scsi.c struct ata_device *dev = args->dev; args 2717 drivers/ata/libata-scsi.c if (args->cmd->cmnd[0] == READ_CAPACITY) { args 2754 drivers/ata/libata-scsi.c if (ata_id_has_trim(args->id) && args 2758 drivers/ata/libata-scsi.c if (ata_id_has_zero_after_trim(args->id) && args 2764 drivers/ata/libata-scsi.c if (ata_id_zoned_cap(args->id) || args 2765 drivers/ata/libata-scsi.c args->dev->class == ATA_DEV_ZAC) args 2781 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_report_luns(struct ata_scsi_args *args, u8 *rbuf) args 3562 drivers/ata/libata-scsi.c static unsigned int ata_scsiop_maint_in(struct ata_scsi_args *args, u8 *rbuf) args 3564 drivers/ata/libata-scsi.c struct ata_device *dev = args->dev; args 3565 drivers/ata/libata-scsi.c u8 *cdb = args->cmd->cmnd; args 4416 drivers/ata/libata-scsi.c struct ata_scsi_args args; args 4420 drivers/ata/libata-scsi.c args.dev = dev; args 4421 drivers/ata/libata-scsi.c args.id = dev->id; args 4422 drivers/ata/libata-scsi.c args.cmd = cmd; args 4429 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_inq_std); args 4432 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_inq_00); args 4435 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_inq_80); args 4438 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_inq_83); args 4441 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_inq_89); args 4444 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_inq_b0); args 4447 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_inq_b1); args 4450 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_inq_b2); args 4454 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_inq_b6); args 4466 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_mode_sense); args 4470 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_read_cap); args 4475 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_read_cap); args 4481 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_report_luns); args 4510 drivers/ata/libata-scsi.c ata_scsi_rbuf_fill(&args, ata_scsiop_maint_in); args 36 drivers/ata/pata_pdc2027x.c #define PDPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args) args 38 drivers/ata/pata_pdc2027x.c #define PDPRINTK(fmt, args...) args 355 drivers/ata/sata_highbank.c port_data[port].lane_mapping = phy_data.args[0]; args 378 drivers/atm/ambassador.c PRINTDM (DBG_CMD, " %08x", /*be32_to_cpu*/ (cmd->args.par[i])); args 744 drivers/atm/ambassador.c cmd.args.flush.flags = cpu_to_be32 (pool << SRB_POOL_SHIFT); args 1146 drivers/atm/ambassador.c cmd.args.modify_rate.vc = cpu_to_be32 (vci); // vpi 0 args 1147 drivers/atm/ambassador.c cmd.args.modify_rate.rate = cpu_to_be32 (tx_rate_bits << SRB_RATE_SHIFT); args 1152 drivers/atm/ambassador.c cmd.args.modify_flags.vc = cpu_to_be32 (vci); // vpi 0 args 1153 drivers/atm/ambassador.c cmd.args.modify_flags.flags = cpu_to_be32 args 1161 drivers/atm/ambassador.c cmd.args.open.vc = cpu_to_be32 (vci); // vpi 0 args 1162 drivers/atm/ambassador.c cmd.args.open.flags = cpu_to_be32 (tx_vc_bits << SRB_FLAGS_SHIFT); args 1163 drivers/atm/ambassador.c cmd.args.open.rate = cpu_to_be32 (tx_rate_bits << SRB_RATE_SHIFT); args 1187 drivers/atm/ambassador.c cmd.args.modify_flags.vc = cpu_to_be32 (vci); // vpi 0 args 1188 drivers/atm/ambassador.c cmd.args.modify_flags.flags = cpu_to_be32 args 1194 drivers/atm/ambassador.c cmd.args.open.vc = cpu_to_be32 (vci); // vpi 0 args 1195 drivers/atm/ambassador.c cmd.args.open.flags = cpu_to_be32 (pool << SRB_POOL_SHIFT); args 1196 drivers/atm/ambassador.c cmd.args.open.rate = cpu_to_be32 (0); args 1231 drivers/atm/ambassador.c cmd.args.modify_rate.vc = cpu_to_be32 (vci); // vpi 0 args 1232 drivers/atm/ambassador.c cmd.args.modify_rate.rate = cpu_to_be32 (0); args 1237 drivers/atm/ambassador.c cmd.args.close.vc = cpu_to_be32 (vci); // vpi 0 args 1256 drivers/atm/ambassador.c cmd.args.modify_flags.vc = cpu_to_be32 (vci); // vpi 0 args 1257 drivers/atm/ambassador.c cmd.args.modify_flags.flags = cpu_to_be32 args 1262 drivers/atm/ambassador.c cmd.args.close.vc = cpu_to_be32 (vci); // vpi 0 args 2029 drivers/atm/ambassador.c major = be32_to_cpu (cmd.args.version.major); args 2030 drivers/atm/ambassador.c minor = be32_to_cpu (cmd.args.version.minor); args 2046 drivers/atm/ambassador.c lower4 = be32_to_cpu (cmd.args.bia.lower4); args 2047 drivers/atm/ambassador.c upper2 = be32_to_cpu (cmd.args.bia.upper2); args 30 drivers/atm/ambassador.h #define PRINTK(severity,format,args...) \ args 31 drivers/atm/ambassador.h printk(severity DEV_LABEL ": " format "\n" , ## args) args 55 drivers/atm/ambassador.h #define PRINTDB(bits,format,args...) \ args 56 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 ) args 57 drivers/atm/ambassador.h #define PRINTDM(bits,format,args...) \ args 58 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (format , ## args) : 1 ) args 59 drivers/atm/ambassador.h #define PRINTDE(bits,format,args...) \ args 60 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 ) args 61 drivers/atm/ambassador.h #define PRINTD(bits,format,args...) \ args 62 drivers/atm/ambassador.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 ) args 66 drivers/atm/ambassador.h #define PRINTD(bits,format,args...) args 67 drivers/atm/ambassador.h #define PRINTDB(bits,format,args...) args 68 drivers/atm/ambassador.h #define PRINTDM(bits,format,args...) args 69 drivers/atm/ambassador.h #define PRINTDE(bits,format,args...) args 73 drivers/atm/ambassador.h #define PRINTDD(bits,format,args...) args 74 drivers/atm/ambassador.h #define PRINTDDB(sec,fmt,args...) args 75 drivers/atm/ambassador.h #define PRINTDDM(sec,fmt,args...) args 76 drivers/atm/ambassador.h #define PRINTDDE(sec,fmt,args...) args 391 drivers/atm/ambassador.h } args; args 66 drivers/atm/eni.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) args 68 drivers/atm/eni.c #define DPRINTK(format,args...) args 69 drivers/atm/fore200e.c #define DPRINTK(level, format, args...) do { if (CONFIG_ATM_FORE200E_DEBUG >= (level)) \ args 70 drivers/atm/fore200e.c printk(FORE200E format, ##args); } while (0) args 72 drivers/atm/fore200e.c #define DPRINTK(level, format, args...) do {} while (0) args 88 drivers/atm/he.c #define hprintk(fmt,args...) printk(KERN_ERR DEV_LABEL "%d: " fmt, he_dev->number , ##args) args 91 drivers/atm/he.c #define HPRINTK(fmt,args...) printk(KERN_DEBUG DEV_LABEL "%d: " fmt, he_dev->number , ##args) args 93 drivers/atm/he.c #define HPRINTK(fmt,args...) do { } while (0) args 34 drivers/atm/horizon.h #define PRINTK(severity,format,args...) \ args 35 drivers/atm/horizon.h printk(severity DEV_LABEL ": " format "\n" , ## args) args 56 drivers/atm/horizon.h #define PRINTDB(bits,format,args...) \ args 57 drivers/atm/horizon.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 ) args 58 drivers/atm/horizon.h #define PRINTDM(bits,format,args...) \ args 59 drivers/atm/horizon.h ( (debug & (bits)) ? printk (format , ## args) : 1 ) args 60 drivers/atm/horizon.h #define PRINTDE(bits,format,args...) \ args 61 drivers/atm/horizon.h ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 ) args 62 drivers/atm/horizon.h #define PRINTD(bits,format,args...) \ args 63 drivers/atm/horizon.h ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 ) args 67 drivers/atm/horizon.h #define PRINTD(bits,format,args...) args 68 drivers/atm/horizon.h #define PRINTDB(bits,format,args...) args 69 drivers/atm/horizon.h #define PRINTDM(bits,format,args...) args 70 drivers/atm/horizon.h #define PRINTDE(bits,format,args...) args 74 drivers/atm/horizon.h #define PRINTDD(sec,fmt,args...) args 75 drivers/atm/horizon.h #define PRINTDDB(sec,fmt,args...) args 76 drivers/atm/horizon.h #define PRINTDDM(sec,fmt,args...) args 77 drivers/atm/horizon.h #define PRINTDDE(sec,fmt,args...) args 28 drivers/atm/idt77105.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) args 30 drivers/atm/idt77105.c #define DPRINTK(format,args...) args 66 drivers/atm/idt77252.h #define CPRINTK(args...) do { if (debug & DBG_CLOSE_CONN) printk(args); } while(0) args 67 drivers/atm/idt77252.h #define OPRINTK(args...) do { if (debug & DBG_OPEN_CONN) printk(args); } while(0) args 68 drivers/atm/idt77252.h #define IPRINTK(args...) do { if (debug & DBG_INIT) printk(args); } while(0) args 69 drivers/atm/idt77252.h #define INTPRINTK(args...) do { if (debug & DBG_INTERRUPT) printk(args); } while(0) args 70 drivers/atm/idt77252.h #define DIPRINTK(args...) do { if (debug & DBG_DEINIT) printk(args); } while(0) args 71 drivers/atm/idt77252.h #define TXPRINTK(args...) do { if (debug & DBG_TX_DATA) printk(args); } while(0) args 72 drivers/atm/idt77252.h #define RXPRINTK(args...) do { if (debug & DBG_RX_DATA) printk(args); } while(0) args 73 drivers/atm/idt77252.h #define XPRINTK(args...) do { if (debug & DBG_XGENERAL) printk(args); } while(0) args 74 drivers/atm/idt77252.h #define DPRINTK(args...) do { if (debug & DBG_GENERAL) printk(args); } while(0) args 75 drivers/atm/idt77252.h #define NPRINTK(args...) do { if (debug & DBG_TINY) printk(args); } while(0) args 76 drivers/atm/idt77252.h #define RPRINTK(args...) do { if (debug & DBG_RAW_CELL) printk(args); } while(0) args 80 drivers/atm/idt77252.h #define CPRINTK(args...) do { } while(0) args 81 drivers/atm/idt77252.h #define OPRINTK(args...) do { } while(0) args 82 drivers/atm/idt77252.h #define IPRINTK(args...) do { } while(0) args 83 drivers/atm/idt77252.h #define INTPRINTK(args...) do { } while(0) args 84 drivers/atm/idt77252.h #define DIPRINTK(args...) do { } while(0) args 85 drivers/atm/idt77252.h #define TXPRINTK(args...) do { } while(0) args 86 drivers/atm/idt77252.h #define RXPRINTK(args...) do { } while(0) args 87 drivers/atm/idt77252.h #define XPRINTK(args...) do { } while(0) args 88 drivers/atm/idt77252.h #define DPRINTK(args...) do { } while(0) args 89 drivers/atm/idt77252.h #define NPRINTK(args...) do { } while(0) args 90 drivers/atm/idt77252.h #define RPRINTK(args...) do { } while(0) args 164 drivers/atm/lanai.c #define DPRINTK(format, args...) \ args 165 drivers/atm/lanai.c printk(KERN_DEBUG DEV_LABEL ": " format, ##args) args 166 drivers/atm/lanai.c #define APRINTK(truth, format, args...) \ args 169 drivers/atm/lanai.c printk(KERN_ERR DEV_LABEL ": " format, ##args); \ args 174 drivers/atm/lanai.c #define DPRINTK(format, args...) args 175 drivers/atm/lanai.c #define APRINTK(truth, format, args...) args 180 drivers/atm/lanai.c #define RWDEBUG(format, args...) \ args 181 drivers/atm/lanai.c printk(KERN_DEBUG DEV_LABEL ": " format, ##args) args 183 drivers/atm/lanai.c #define RWDEBUG(format, args...) args 80 drivers/atm/nicstar.c #define TXPRINTK(args...) printk(args) args 82 drivers/atm/nicstar.c #define TXPRINTK(args...) args 86 drivers/atm/nicstar.c #define RXPRINTK(args...) printk(args) args 88 drivers/atm/nicstar.c #define RXPRINTK(args...) args 92 drivers/atm/nicstar.c #define PRINTK(args...) printk(args) args 94 drivers/atm/nicstar.c #define PRINTK(args...) args 98 drivers/atm/nicstar.c #define XPRINTK(args...) printk(args) args 100 drivers/atm/nicstar.c #define XPRINTK(args...) args 34 drivers/atm/suni.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) args 36 drivers/atm/suni.c #define DPRINTK(format,args...) args 21 drivers/atm/uPD98402.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) args 23 drivers/atm/uPD98402.c #define DPRINTK(format,args...) args 54 drivers/atm/zatm.c #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args) args 56 drivers/atm/zatm.c #define DPRINTK(format,args...) args 2820 drivers/base/core.c const char *fmt, va_list args) args 2842 drivers/base/core.c retval = kobject_set_name_vargs(&dev->kobj, fmt, args); args 2884 drivers/base/core.c va_list args) args 2887 drivers/base/core.c fmt, args); args 3308 drivers/base/core.c const char *fmt, va_list args) args 3315 drivers/base/core.c return vprintk_emit(0, level, hdrlen ? hdr : NULL, hdrlen, fmt, args); args 3321 drivers/base/core.c va_list args; args 3324 drivers/base/core.c va_start(args, fmt); args 3326 drivers/base/core.c r = dev_vprintk_emit(level, dev, fmt, args); args 3328 drivers/base/core.c va_end(args); args 3348 drivers/base/core.c va_list args; args 3350 drivers/base/core.c va_start(args, fmt); args 3353 drivers/base/core.c vaf.va = &args; args 3357 drivers/base/core.c va_end(args); args 3365 drivers/base/core.c va_list args; \ args 3367 drivers/base/core.c va_start(args, fmt); \ args 3370 drivers/base/core.c vaf.va = &args; \ args 3374 drivers/base/core.c va_end(args); \ args 416 drivers/base/cpu.c const char *fmt, va_list args) args 434 drivers/base/cpu.c retval = kobject_set_name_vargs(&dev->kobj, fmt, args); args 1980 drivers/base/power/domain.c unsigned int idx = genpdspec->args[0]; args 480 drivers/base/property.c struct fwnode_reference_args *args) args 483 drivers/base/property.c nargs, index, args); args 502 drivers/base/property.c struct fwnode_reference_args args; args 506 drivers/base/property.c &args); args 507 drivers/base/property.c return ret ? ERR_PTR(ret) : args.fwnode; args 570 drivers/base/swnode.c struct fwnode_reference_args *args) args 603 drivers/base/swnode.c args->fwnode = software_node_get(refnode); args 604 drivers/base/swnode.c args->nargs = nargs; args 607 drivers/base/swnode.c args->args[i] = ref->refs[index].args[i]; args 174 drivers/bcma/main.c out_irq->args[0] = num; args 79 drivers/block/drbd/drbd_int.h #define __drbd_printk_device(level, device, fmt, args...) \ args 80 drivers/block/drbd/drbd_int.h dev_printk(level, disk_to_dev((device)->vdisk), fmt, ## args) args 81 drivers/block/drbd/drbd_int.h #define __drbd_printk_peer_device(level, peer_device, fmt, args...) \ args 82 drivers/block/drbd/drbd_int.h dev_printk(level, disk_to_dev((peer_device)->device->vdisk), fmt, ## args) args 83 drivers/block/drbd/drbd_int.h #define __drbd_printk_resource(level, resource, fmt, args...) \ args 84 drivers/block/drbd/drbd_int.h printk(level "drbd %s: " fmt, (resource)->name, ## args) args 85 drivers/block/drbd/drbd_int.h #define __drbd_printk_connection(level, connection, fmt, args...) \ args 86 drivers/block/drbd/drbd_int.h printk(level "drbd %s: " fmt, (connection)->resource->name, ## args) args 90 drivers/block/drbd/drbd_int.h #define __drbd_printk_if_same_type(obj, type, func, level, fmt, args...) \ args 93 drivers/block/drbd/drbd_int.h func(level, (const type)(obj), fmt, ## args) args 95 drivers/block/drbd/drbd_int.h #define drbd_printk(level, obj, fmt, args...) \ args 98 drivers/block/drbd/drbd_int.h __drbd_printk_device, level, fmt, ## args), \ args 101 drivers/block/drbd/drbd_int.h __drbd_printk_resource, level, fmt, ## args), \ args 104 drivers/block/drbd/drbd_int.h __drbd_printk_connection, level, fmt, ## args), \ args 107 drivers/block/drbd/drbd_int.h __drbd_printk_peer_device, level, fmt, ## args), \ args 110 drivers/block/drbd/drbd_int.h #define drbd_dbg(obj, fmt, args...) \ args 111 drivers/block/drbd/drbd_int.h drbd_printk(KERN_DEBUG, obj, fmt, ## args) args 112 drivers/block/drbd/drbd_int.h #define drbd_alert(obj, fmt, args...) \ args 113 drivers/block/drbd/drbd_int.h drbd_printk(KERN_ALERT, obj, fmt, ## args) args 114 drivers/block/drbd/drbd_int.h #define drbd_err(obj, fmt, args...) \ args 115 drivers/block/drbd/drbd_int.h drbd_printk(KERN_ERR, obj, fmt, ## args) args 116 drivers/block/drbd/drbd_int.h #define drbd_warn(obj, fmt, args...) \ args 117 drivers/block/drbd/drbd_int.h drbd_printk(KERN_WARNING, obj, fmt, ## args) args 118 drivers/block/drbd/drbd_int.h #define drbd_info(obj, fmt, args...) \ args 119 drivers/block/drbd/drbd_int.h drbd_printk(KERN_INFO, obj, fmt, ## args) args 120 drivers/block/drbd/drbd_int.h #define drbd_emerg(obj, fmt, args...) \ args 121 drivers/block/drbd/drbd_int.h drbd_printk(KERN_EMERG, obj, fmt, ## args) args 123 drivers/block/drbd/drbd_int.h #define dynamic_drbd_dbg(device, fmt, args...) \ args 124 drivers/block/drbd/drbd_int.h dynamic_dev_dbg(disk_to_dev(device->vdisk), fmt, ## args) args 121 drivers/block/drbd/drbd_nl.c va_list args; args 135 drivers/block/drbd/drbd_nl.c va_start(args, fmt); args 136 drivers/block/drbd/drbd_nl.c len = vscnprintf(nla_data(txt), 256, fmt, args); args 137 drivers/block/drbd/drbd_nl.c va_end(args); args 3314 drivers/block/drbd/drbd_nl.c if (cb->args[0]) { args 3316 drivers/block/drbd/drbd_nl.c if (resource == (struct drbd_resource *)cb->args[0]) args 3354 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)resource; args 3407 drivers/block/drbd/drbd_nl.c if (cb->args[0]) { args 3409 drivers/block/drbd/drbd_nl.c (struct drbd_resource *)cb->args[0]; args 3433 drivers/block/drbd/drbd_nl.c resource = (struct drbd_resource *)cb->args[0]; args 3434 drivers/block/drbd/drbd_nl.c if (!cb->args[0] && !cb->args[1]) { args 3441 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)resource; args 3446 drivers/block/drbd/drbd_nl.c minor = cb->args[1]; args 3492 drivers/block/drbd/drbd_nl.c cb->args[1] = minor + 1; args 3522 drivers/block/drbd/drbd_nl.c resource = (struct drbd_resource *)cb->args[0]; args 3523 drivers/block/drbd/drbd_nl.c if (!cb->args[0]) { args 3530 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)resource; args 3531 drivers/block/drbd/drbd_nl.c cb->args[1] = SINGLE_RESOURCE; args 3539 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)resource; args 3540 drivers/block/drbd/drbd_nl.c cb->args[1] = ITERATE_RESOURCES; args 3547 drivers/block/drbd/drbd_nl.c if (cb->args[2]) { args 3549 drivers/block/drbd/drbd_nl.c if (connection == (struct drbd_connection *)cb->args[2]) args 3565 drivers/block/drbd/drbd_nl.c if (cb->args[1] == ITERATE_RESOURCES) { args 3580 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)resource; args 3581 drivers/block/drbd/drbd_nl.c cb->args[2] = 0; args 3615 drivers/block/drbd/drbd_nl.c cb->args[2] = (long)connection; args 3683 drivers/block/drbd/drbd_nl.c resource = (struct drbd_resource *)cb->args[0]; args 3684 drivers/block/drbd/drbd_nl.c if (!cb->args[0] && !cb->args[1]) { args 3692 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)resource; args 3696 drivers/block/drbd/drbd_nl.c minor = cb->args[1]; args 3702 drivers/block/drbd/drbd_nl.c cb->args[2] = 0; args 3709 drivers/block/drbd/drbd_nl.c if (cb->args[2]) { args 3711 drivers/block/drbd/drbd_nl.c if (peer_device == (struct drbd_peer_device *)cb->args[2]) args 3753 drivers/block/drbd/drbd_nl.c cb->args[1] = minor; args 3754 drivers/block/drbd/drbd_nl.c cb->args[2] = (long)peer_device; args 3929 drivers/block/drbd/drbd_nl.c struct drbd_resource *pos = (struct drbd_resource *)cb->args[0]; args 3932 drivers/block/drbd/drbd_nl.c unsigned volume = cb->args[1]; args 3983 drivers/block/drbd/drbd_nl.c if (&pos->resources == &drbd_resources || cb->args[2]) args 4036 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)pos; args 4037 drivers/block/drbd/drbd_nl.c cb->args[1] = (pos == resource) ? volume + 1 : 0; args 4063 drivers/block/drbd/drbd_nl.c if (cb->args[0]) { args 4066 drivers/block/drbd/drbd_nl.c if (cb->args[2] && cb->args[2] != cb->args[0]) args 4098 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)resource; args 4100 drivers/block/drbd/drbd_nl.c cb->args[2] = (long)resource; args 4187 drivers/block/drbd/drbd_nl.c struct new_c_uuid_parms args; args 4196 drivers/block/drbd/drbd_nl.c memset(&args, 0, sizeof(args)); args 4198 drivers/block/drbd/drbd_nl.c err = new_c_uuid_parms_from_attrs(&args, info); args 4217 drivers/block/drbd/drbd_nl.c device->ldev->md.uuid[UI_CURRENT] == UUID_JUST_CREATED && args.clear_bm) { args 4228 drivers/block/drbd/drbd_nl.c if (args.clear_bm) { args 4921 drivers/block/drbd/drbd_nl.c struct drbd_state_change *state_change = (struct drbd_state_change *)cb->args[0]; args 4922 drivers/block/drbd/drbd_nl.c unsigned int seq = cb->args[2]; args 4931 drivers/block/drbd/drbd_nl.c cb->args[5]--; args 4932 drivers/block/drbd/drbd_nl.c if (cb->args[5] == 1) { args 4936 drivers/block/drbd/drbd_nl.c n = cb->args[4]++; args 4937 drivers/block/drbd/drbd_nl.c if (cb->args[4] < cb->args[3]) args 4964 drivers/block/drbd/drbd_nl.c if (cb->args[4] == cb->args[3]) { args 4968 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)next_state_change; args 4969 drivers/block/drbd/drbd_nl.c cb->args[3] = notifications_for_state_change(next_state_change); args 4970 drivers/block/drbd/drbd_nl.c cb->args[4] = 0; args 4981 drivers/block/drbd/drbd_nl.c if (cb->args[5] >= 1) { args 4982 drivers/block/drbd/drbd_nl.c if (cb->args[5] > 1) args 4984 drivers/block/drbd/drbd_nl.c if (cb->args[0]) { args 4986 drivers/block/drbd/drbd_nl.c (struct drbd_state_change *)cb->args[0]; args 4995 drivers/block/drbd/drbd_nl.c cb->args[5] = 2; /* number of iterations */ args 5009 drivers/block/drbd/drbd_nl.c cb->args[5] += notifications_for_state_change(state_change); args 5016 drivers/block/drbd/drbd_nl.c cb->args[0] = (long)state_change; args 5017 drivers/block/drbd/drbd_nl.c cb->args[3] = notifications_for_state_change(state_change); args 5021 drivers/block/drbd/drbd_nl.c cb->args[2] = cb->nlh->nlmsg_seq; args 154 drivers/block/floppy.c #define DPRINT(format, args...) \ args 155 drivers/block/floppy.c pr_info("floppy%d: " format, current_drive, ##args) args 159 drivers/block/floppy.c #define debug_dcl(test, fmt, args...) \ args 160 drivers/block/floppy.c do { if ((test) & FD_DEBUG) DPRINT(fmt, ##args); } while (0) args 162 drivers/block/floppy.c #define debug_dcl(test, fmt, args...) \ args 163 drivers/block/floppy.c do { if (0) DPRINT(fmt, ##args); } while (0) args 266 drivers/block/nbd.c struct link_dead_args *args; args 267 drivers/block/nbd.c args = kmalloc(sizeof(struct link_dead_args), GFP_NOIO); args 268 drivers/block/nbd.c if (args) { args 269 drivers/block/nbd.c INIT_WORK(&args->work, nbd_dead_link_work); args 270 drivers/block/nbd.c args->index = nbd->index; args 271 drivers/block/nbd.c queue_work(system_wq, &args->work); args 770 drivers/block/nbd.c struct recv_thread_args *args = container_of(work, args 773 drivers/block/nbd.c struct nbd_device *nbd = args->nbd; args 778 drivers/block/nbd.c cmd = nbd_read_stat(nbd, args->index); args 780 drivers/block/nbd.c struct nbd_sock *nsock = config->socks[args->index]; args 793 drivers/block/nbd.c kfree(args); args 1061 drivers/block/nbd.c struct recv_thread_args *args; args 1069 drivers/block/nbd.c args = kzalloc(sizeof(*args), GFP_KERNEL); args 1070 drivers/block/nbd.c if (!args) { args 1095 drivers/block/nbd.c INIT_WORK(&args->work, recv_work); args 1096 drivers/block/nbd.c args->index = i; args 1097 drivers/block/nbd.c args->nbd = nbd; args 1107 drivers/block/nbd.c queue_work(nbd->recv_workq, &args->work); args 1114 drivers/block/nbd.c kfree(args); args 1263 drivers/block/nbd.c struct recv_thread_args *args; args 1265 drivers/block/nbd.c args = kzalloc(sizeof(*args), GFP_KERNEL); args 1266 drivers/block/nbd.c if (!args) { args 1286 drivers/block/nbd.c INIT_WORK(&args->work, recv_work); args 1287 drivers/block/nbd.c args->nbd = nbd; args 1288 drivers/block/nbd.c args->index = i; args 1289 drivers/block/nbd.c queue_work(nbd->recv_workq, &args->work); args 2344 drivers/block/nbd.c struct link_dead_args *args = container_of(work, struct link_dead_args, args 2346 drivers/block/nbd.c nbd_mcast_index(args->index); args 2347 drivers/block/nbd.c kfree(args); args 590 drivers/block/rbd.c va_list args; args 592 drivers/block/rbd.c va_start(args, fmt); args 594 drivers/block/rbd.c vaf.va = &args; args 610 drivers/block/rbd.c va_end(args); args 82 drivers/block/sx8.c #define DPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args) args 84 drivers/block/sx8.c #define VPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args) args 86 drivers/block/sx8.c #define VPRINTK(fmt, args...) args 89 drivers/block/sx8.c #define DPRINTK(fmt, args...) args 90 drivers/block/sx8.c #define VPRINTK(fmt, args...) args 399 drivers/block/xen-blkback/xenbus.c #define VBD_SHOW(name, format, args...) \ args 407 drivers/block/xen-blkback/xenbus.c return sprintf(buf, format, ##args); \ args 52 drivers/char/pcmcia/cm4000_cs.c #define DEBUGP(n, rdr, x, args...) do { \ args 54 drivers/char/pcmcia/cm4000_cs.c __func__ , ## args); \ args 46 drivers/char/pcmcia/cm4040_cs.c #define DEBUGP(n, rdr, x, args...) do { \ args 48 drivers/char/pcmcia/cm4040_cs.c __func__ , ## args); \ args 49 drivers/clk/at91/pmc.c unsigned int type = clkspec->args[0]; args 50 drivers/clk/at91/pmc.c unsigned int idx = clkspec->args[1]; args 787 drivers/clk/bcm/clk-kona-setup.c unsigned int idx = clkspec->args[0]; args 517 drivers/clk/clk-axm5516.c unsigned int idx = clkspec->args[0]; args 620 drivers/clk/clk-cdce706.c unsigned int idx = clkspec->args[0]; args 596 drivers/clk/clk-cdce925.c unsigned int idx = clkspec->args[0]; args 220 drivers/clk/clk-lochnagar.c unsigned int idx = clkspec->args[0]; args 151 drivers/clk/clk-max77686.c unsigned int idx = clkspec->args[0]; args 252 drivers/clk/clk-max9485.c unsigned int idx = clkspec->args[0]; args 1329 drivers/clk/clk-qoriq.c type = clkspec->args[0]; args 1330 drivers/clk/clk-qoriq.c idx = clkspec->args[1]; args 81 drivers/clk/clk-rk808.c unsigned int idx = clkspec->args[0]; args 180 drivers/clk/clk-scpi.c unsigned int idx = clkspec->args[0], count; args 789 drivers/clk/clk-si5341.c unsigned int idx = clkspec->args[1]; args 790 drivers/clk/clk-si5341.c unsigned int group = clkspec->args[0]; args 1341 drivers/clk/clk-si5351.c unsigned int idx = clkspec->args[0]; args 881 drivers/clk/clk-stm32f4.c int i = stm32f4_rcc_lookup_clk_idx(clkspec->args[0], clkspec->args[1]); args 668 drivers/clk/clk-versaclock5.c unsigned int idx = clkspec->args[0]; args 4274 drivers/clk/clk.c unsigned int idx = clkspec->args[0]; args 4289 drivers/clk/clk.c unsigned int idx = clkspec->args[0]; args 4698 drivers/clk/clk.c index = clkspec.args_count ? clkspec.args[0] : 0; args 114 drivers/clk/hisilicon/clk-hi3660-stub.c unsigned int idx = clkspec->args[0]; args 36 drivers/clk/hisilicon/reset.c offset = (reset_spec->args[0] << HISI_RESET_OFFSET_SHIFT) args 38 drivers/clk/hisilicon/reset.c bit = reset_spec->args[1] & HISI_RESET_BIT_MASK; args 190 drivers/clk/imx/clk-imx6q.c if (clkspec.np != node || clkspec.args[0] >= IMX6QDL_CLK_END) { args 194 drivers/clk/imx/clk-imx6q.c parent = clkspec.args[0]; args 200 drivers/clk/imx/clk-imx6q.c if (clkspec.np != node || clkspec.args[0] >= IMX6QDL_CLK_END) { args 204 drivers/clk/imx/clk-imx6q.c child = clkspec.args[0]; args 242 drivers/clk/imx/clk-imx6q.c clkspec.args[0] == IMX6QDL_PLL6_BYPASS) args 253 drivers/clk/imx/clk-imx6q.c if (clkspec.args[0] != IMX6QDL_CLK_PLL6) args 379 drivers/clk/keystone/sci-clk.c key.dev_id = clkspec->args[0]; args 380 drivers/clk/keystone/sci-clk.c key.clk_id = clkspec->args[1]; args 506 drivers/clk/keystone/sci-clk.c struct of_phandle_args args; args 536 drivers/clk/keystone/sci-clk.c &args); args 540 drivers/clk/keystone/sci-clk.c if (args.args_count == 2 && args.np == dev->of_node) { args 546 drivers/clk/keystone/sci-clk.c sci_clk->dev_id = args.args[0]; args 547 drivers/clk/keystone/sci-clk.c sci_clk->clk_id = args.args[1]; args 578 drivers/clk/keystone/sci-clk.c clk_id = args.args[1] + 1; args 586 drivers/clk/keystone/sci-clk.c sci_clk->dev_id = args.args[0]; args 596 drivers/clk/keystone/sci-clk.c } while (args.np); args 24 drivers/clk/mmp/reset.c if (cell->clk_id == reset_spec->args[0]) args 212 drivers/clk/mvebu/common.c if (clkspec->args[0] == gate->bit_idx) args 199 drivers/clk/mvebu/cp110-system-controller.c unsigned int type = clkspec->args[0]; args 200 drivers/clk/mvebu/cp110-system-controller.c unsigned int idx = clkspec->args[1]; args 282 drivers/clk/mvebu/kirkwood.c if (clkspec->args[0] == mux->shift) args 119 drivers/clk/nxp/clk-lpc18xx-ccu.c unsigned int offset = clkspec->args[0]; args 558 drivers/clk/qcom/clk-rpm.c unsigned int idx = clkspec->args[0]; args 398 drivers/clk/qcom/clk-rpmh.c unsigned int idx = clkspec->args[0]; args 732 drivers/clk/qcom/clk-smd-rpm.c unsigned int idx = clkspec->args[0]; args 187 drivers/clk/qcom/clk-spmi-pmic-div.c int idx = clkspec->args[0] - 1; /* Start at 1 instead of 0 */ args 191 drivers/clk/qcom/clk-spmi-pmic-div.c __func__, clkspec->args[0], cc->nclks); args 217 drivers/clk/qcom/common.c unsigned int idx = clkspec->args[0]; args 272 drivers/clk/qcom/krait-cc.c unsigned int idx = clkspec->args[0]; args 394 drivers/clk/renesas/r9a06g032-clocks.c index = clkspec.args[0]; args 254 drivers/clk/renesas/renesas-cpg-mssr.c unsigned int clkidx = clkspec->args[1]; args 262 drivers/clk/renesas/renesas-cpg-mssr.c switch (clkspec->args[0]) { args 291 drivers/clk/renesas/renesas-cpg-mssr.c dev_err(dev, "Invalid CPG clock type %u\n", clkspec->args[0]); args 300 drivers/clk/renesas/renesas-cpg-mssr.c clkspec->args[0], clkspec->args[1], clk, args 466 drivers/clk/renesas/renesas-cpg-mssr.c switch (clkspec->args[0]) { args 469 drivers/clk/renesas/renesas-cpg-mssr.c if (clkspec->args[1] == pd->core_pm_clks[i]) args 640 drivers/clk/renesas/renesas-cpg-mssr.c unsigned int unpacked = reset_spec->args[0]; args 583 drivers/clk/tegra/clk-bpmp.c unsigned int id = clkspec->args[0], i; args 1125 drivers/clk/tegra/clk-tegra20.c if (clkspec->args[0] == TEGRA20_CLK_CDEV1 || args 1126 drivers/clk/tegra/clk-tegra20.c clkspec->args[0] == TEGRA20_CLK_CDEV2) { args 181 drivers/clk/ti/clk.c ret = kstrtoint(tags[i], i ? 10 : 16, clkspec.args + i); args 239 drivers/clk/ti/clkctrl.c clkspec->args[0], clkspec->args[1]); args 242 drivers/clk/ti/clkctrl.c if (entry->reg_offset == clkspec->args[0] && args 243 drivers/clk/ti/clkctrl.c entry->bit_offset == clkspec->args[1]) { args 38 drivers/clk/ux500/u8500_of_clk.c base = clkspec->args[0]; args 39 drivers/clk/ux500/u8500_of_clk.c bit = clkspec->args[1]; args 76 drivers/clk/versatile/clk-sp810.c clkspec->args[0] >= ARRAY_SIZE(sp810->timerclken))) args 79 drivers/clk/versatile/clk-sp810.c return sp810->timerclken[clkspec->args[0]].clk; args 99 drivers/clocksource/ingenic-timer.c struct of_phandle_args args; args 101 drivers/clocksource/ingenic-timer.c args.np = np; args 102 drivers/clocksource/ingenic-timer.c args.args_count = 1; args 103 drivers/clocksource/ingenic-timer.c args.args[0] = id; args 105 drivers/clocksource/ingenic-timer.c return of_clk_get_from_provider(&args); args 199 drivers/cpufreq/brcmstb-avs-cpufreq.c u32 args[]) args 229 drivers/cpufreq/brcmstb-avs-cpufreq.c if (args && is_send) { args 231 drivers/cpufreq/brcmstb-avs-cpufreq.c writel(args[i], base + AVS_MBOX_PARAM(i)); args 260 drivers/cpufreq/brcmstb-avs-cpufreq.c if (args && !is_send) { args 262 drivers/cpufreq/brcmstb-avs-cpufreq.c args[i] = readl(base + AVS_MBOX_PARAM(i)); args 338 drivers/cpufreq/brcmstb-avs-cpufreq.c u32 args[AVS_MAX_CMD_ARGS]; args 341 drivers/cpufreq/brcmstb-avs-cpufreq.c ret = __issue_avs_command(priv, AVS_CMD_GET_PMAP, false, args); args 345 drivers/cpufreq/brcmstb-avs-cpufreq.c pmap->mode = args[0]; args 346 drivers/cpufreq/brcmstb-avs-cpufreq.c pmap->p1 = args[1]; args 347 drivers/cpufreq/brcmstb-avs-cpufreq.c pmap->p2 = args[2]; args 348 drivers/cpufreq/brcmstb-avs-cpufreq.c pmap->state = args[3]; args 355 drivers/cpufreq/brcmstb-avs-cpufreq.c u32 args[AVS_MAX_CMD_ARGS]; args 357 drivers/cpufreq/brcmstb-avs-cpufreq.c args[0] = pmap->mode; args 358 drivers/cpufreq/brcmstb-avs-cpufreq.c args[1] = pmap->p1; args 359 drivers/cpufreq/brcmstb-avs-cpufreq.c args[2] = pmap->p2; args 360 drivers/cpufreq/brcmstb-avs-cpufreq.c args[3] = pmap->state; args 362 drivers/cpufreq/brcmstb-avs-cpufreq.c return __issue_avs_command(priv, AVS_CMD_SET_PMAP, true, args); args 367 drivers/cpufreq/brcmstb-avs-cpufreq.c u32 args[AVS_MAX_CMD_ARGS]; args 370 drivers/cpufreq/brcmstb-avs-cpufreq.c ret = __issue_avs_command(priv, AVS_CMD_GET_PSTATE, false, args); args 373 drivers/cpufreq/brcmstb-avs-cpufreq.c *pstate = args[0]; args 380 drivers/cpufreq/brcmstb-avs-cpufreq.c u32 args[AVS_MAX_CMD_ARGS]; args 382 drivers/cpufreq/brcmstb-avs-cpufreq.c args[0] = pstate; args 384 drivers/cpufreq/brcmstb-avs-cpufreq.c return __issue_avs_command(priv, AVS_CMD_SET_PSTATE, true, args); args 116 drivers/cpufreq/pmac64-cpufreq.c struct pmf_args args; args 121 drivers/cpufreq/pmac64-cpufreq.c args.count = 1; args 122 drivers/cpufreq/pmac64-cpufreq.c args.u[0].p = &slew; args 124 drivers/cpufreq/pmac64-cpufreq.c pmf_call_one(pfunc_set_vdnap0, &args); args 132 drivers/cpufreq/pmac64-cpufreq.c args.count = 1; args 133 drivers/cpufreq/pmac64-cpufreq.c args.u[0].p = &done; args 134 drivers/cpufreq/pmac64-cpufreq.c pmf_call_one(pfunc_vdnap0_complete, &args); args 250 drivers/cpufreq/pmac64-cpufreq.c struct pmf_args args; args 276 drivers/cpufreq/pmac64-cpufreq.c args.count = 1; args 277 drivers/cpufreq/pmac64-cpufreq.c args.u[0].p = &done; args 278 drivers/cpufreq/pmac64-cpufreq.c pmf_call_one(pfunc_slewing_done, &args); args 298 drivers/cpufreq/pmac64-cpufreq.c struct pmf_args args; args 301 drivers/cpufreq/pmac64-cpufreq.c args.count = 1; args 302 drivers/cpufreq/pmac64-cpufreq.c args.u[0].p = &val; args 303 drivers/cpufreq/pmac64-cpufreq.c pmf_call_one(pfunc_cpu_getfreq, &args); args 155 drivers/cpufreq/qcom-cpufreq-hw.c struct of_phandle_args args; args 165 drivers/cpufreq/qcom-cpufreq-hw.c &args); args 170 drivers/cpufreq/qcom-cpufreq-hw.c if (index == args.args[0]) args 178 drivers/cpufreq/qcom-cpufreq-hw.c struct of_phandle_args args; args 197 drivers/cpufreq/qcom-cpufreq-hw.c "#freq-domain-cells", 0, &args); args 202 drivers/cpufreq/qcom-cpufreq-hw.c index = args.args[0]; args 174 drivers/crypto/cavium/zip/common.h #define zip_err(fmt, args...) pr_err("ZIP ERR:%s():%d: " \ args 175 drivers/crypto/cavium/zip/common.h fmt "\n", __func__, __LINE__, ## args) args 179 drivers/crypto/cavium/zip/common.h #define zip_msg(fmt, args...) pr_info("ZIP_MSG:" fmt "\n", ## args) args 181 drivers/crypto/cavium/zip/common.h #define zip_msg(fmt, args...) args 193 drivers/crypto/cavium/zip/common.h #define zip_dbg(fmt, args...) pr_info("ZIP DBG: %s: %s() : %d: " \ args 194 drivers/crypto/cavium/zip/common.h fmt "\n", FILE_NAME, __func__, __LINE__, ## args) args 198 drivers/crypto/cavium/zip/common.h #define zip_dbg(fmt, args...) pr_info("ZIP DBG: %s: %s() : %d: " \ args 199 drivers/crypto/cavium/zip/common.h fmt "\n", FILE_NAME, __func__, __LINE__, ## args) args 203 drivers/crypto/cavium/zip/common.h #define zip_dbg(fmt, args...) pr_info("ZIP DBG: %s() : %d: " \ args 204 drivers/crypto/cavium/zip/common.h fmt "\n", __func__, __LINE__, ## args) args 208 drivers/crypto/cavium/zip/common.h #define zip_dbg(fmt, args...) pr_info("ZIP DBG:" fmt "\n", ## args) args 214 drivers/crypto/cavium/zip/common.h #define zip_dbg(fmt, args...) pr_info("ZIP DBG:" fmt "\n", ## args) args 219 drivers/crypto/cavium/zip/common.h #define zip_dbg(fmt, args...) args 2555 drivers/dma/amba-pl08x.c dma_chan = pl08x_find_chan_id(pl08x, dma_spec->args[0]); args 2565 drivers/dma/amba-pl08x.c dma_spec->args[0]); args 2568 drivers/dma/amba-pl08x.c plchan->cd->periph_buses = dma_spec->args[1]; args 1683 drivers/dma/at_hdmac.c per_id = dma_spec->args[1] & AT91_DMA_CFG_PER_ID_MASK; args 1691 drivers/dma/at_hdmac.c switch (dma_spec->args[1] & AT91_DMA_CFG_FIFOCFG_MASK) { args 1709 drivers/dma/at_hdmac.c atchan->per_if = dma_spec->args[0] & 0xff; args 1710 drivers/dma/at_hdmac.c atchan->mem_if = (dma_spec->args[0] >> 16) & 0xff; args 531 drivers/dma/at_xdmac.c atchan->memif = AT91_XDMAC_DT_GET_MEM_IF(dma_spec->args[0]); args 532 drivers/dma/at_xdmac.c atchan->perif = AT91_XDMAC_DT_GET_PER_IF(dma_spec->args[0]); args 533 drivers/dma/at_xdmac.c atchan->perid = AT91_XDMAC_DT_GET_PERID(dma_spec->args[0]); args 1626 drivers/dma/bcm-sba-raid.c struct of_phandle_args args; args 1696 drivers/dma/bcm-sba-raid.c "mboxes", "#mbox-cells", 0, &args); args 1699 drivers/dma/bcm-sba-raid.c mbox_pdev = of_find_device_by_node(args.np); args 1700 drivers/dma/bcm-sba-raid.c of_node_put(args.np); args 878 drivers/dma/bcm2835-dma.c to_bcm2835_dma_chan(chan)->dreq = spec->args[0]; args 1775 drivers/dma/coh901318.c struct coh901318_filter_args *args = data; args 1777 drivers/dma/coh901318.c if (&args->base->dma_slave == chan->device && args 1778 drivers/dma/coh901318.c args->ch_nr == to_coh901318_chan(chan)->id) args 1787 drivers/dma/coh901318.c struct coh901318_filter_args args = { args 1789 drivers/dma/coh901318.c .ch_nr = dma_spec->args[0], args 1795 drivers/dma/coh901318.c return dma_request_channel(cap, coh901318_filter_base_and_id, &args); args 805 drivers/dma/dma-jz4780.c data.transfer_type = dma_spec->args[0]; args 806 drivers/dma/dma-jz4780.c data.channel = dma_spec->args[1]; args 28 drivers/dma/dw/of.c slave.src_id = dma_spec->args[0]; args 29 drivers/dma/dw/of.c slave.dst_id = dma_spec->args[0]; args 30 drivers/dma/dw/of.c slave.m_master = dma_spec->args[1]; args 31 drivers/dma/dw/of.c slave.p_master = dma_spec->args[2]; args 112 drivers/dma/fsl-edma.c if ((chan->chan_id / chans_per_mux) == dma_spec->args[0]) { args 117 drivers/dma/fsl-edma.c fsl_chan->slave_id = dma_spec->args[1]; args 820 drivers/dma/img-mdc-dma.c if (!(dma_spec->args[1] & BIT(mchan->chan_nr))) args 823 drivers/dma/img-mdc-dma.c mchan->periph = dma_spec->args[0]; args 824 drivers/dma/img-mdc-dma.c mchan->thread = dma_spec->args[2]; args 1050 drivers/dma/imx-dma.c fdata.request = dma_spec->args[0]; args 1963 drivers/dma/imx-sdma.c data.dma_request = dma_spec->args[0]; args 1964 drivers/dma/imx-sdma.c data.peripheral_type = dma_spec->args[1]; args 1965 drivers/dma/imx-sdma.c data.priority = dma_spec->args[2]; args 831 drivers/dma/k3dma.c unsigned int request = dma_spec->args[0]; args 64 drivers/dma/lpc18xx-dmamux.c mux = dma_spec->args[0]; args 67 drivers/dma/lpc18xx-dmamux.c dma_spec->args[0]); args 71 drivers/dma/lpc18xx-dmamux.c if (dma_spec->args[1] > LPC18XX_DMAMUX_MAX_VAL) { args 73 drivers/dma/lpc18xx-dmamux.c dma_spec->args[1]); args 94 drivers/dma/lpc18xx-dmamux.c dmamux->muxes[mux].value = dma_spec->args[1]; args 101 drivers/dma/lpc18xx-dmamux.c dma_spec->args[1] = dma_spec->args[2]; args 1020 drivers/dma/mmp_pdma.c to_mmp_pdma_chan(chan)->drcmr = dma_spec->args[0]; args 611 drivers/dma/mmp_tdma.c param.chan_id = dma_spec->args[0]; args 344 drivers/dma/moxart-dma.c ch->line_reqno = dma_spec->args[0]; args 754 drivers/dma/mxs-dma.c param.chan_id = dma_spec->args[0]; args 1100 drivers/dma/nbpfaxi.c chan->terminal = dma_spec->args[0]; args 1101 drivers/dma/nbpfaxi.c chan->flags = dma_spec->args[1]; args 317 drivers/dma/of-dma.c &dma_spec->args[0], dma_spec->np); args 344 drivers/dma/of-dma.c if (chan->chan_id == dma_spec->args[0]) { args 1027 drivers/dma/owl-dma.c u8 drq = dma_spec->args[0]; args 2143 drivers/dma/pl330.c chan_id = dma_spec->args[0]; args 1302 drivers/dma/pxa_dma.c to_pxad_chan(chan)->drcmr = dma_spec->args[0]; args 1303 drivers/dma/pxa_dma.c to_pxad_chan(chan)->prio = dma_spec->args[1]; args 1140 drivers/dma/qcom/bam_dma.c request = dma_spec->args[0]; args 1665 drivers/dma/sh/rcar-dmac.c return !test_and_set_bit(dma_spec->args[0], dmac->modules); args 1688 drivers/dma/sh/rcar-dmac.c rchan->mid_rid = dma_spec->args[0]; args 22 drivers/dma/sh/shdma-of.c u32 id = dma_spec->args[0]; args 640 drivers/dma/sh/usb-dmac.c if (uchan->index != dma_spec->args[0]) args 831 drivers/dma/sirf-dma.c unsigned int request = dma_spec->args[0]; args 192 drivers/dma/st_fdma.c fchan->cfg.req_line = dma_spec->args[0]; args 197 drivers/dma/st_fdma.c fchan->cfg.req_ctrl = dma_spec->args[1] args 201 drivers/dma/st_fdma.c fchan->cfg.type = dma_spec->args[2]; args 2358 drivers/dma/ste_dma40.c cfg.dev_type = dma_spec->args[0]; args 2359 drivers/dma/ste_dma40.c flags = dma_spec->args[2]; args 2378 drivers/dma/ste_dma40.c cfg.phy_channel = dma_spec->args[1]; args 1241 drivers/dma/stm32-dma.c cfg.channel_id = dma_spec->args[0]; args 1242 drivers/dma/stm32-dma.c cfg.request_line = dma_spec->args[1]; args 1243 drivers/dma/stm32-dma.c cfg.stream_config = dma_spec->args[2]; args 1244 drivers/dma/stm32-dma.c cfg.features = dma_spec->args[3]; args 97 drivers/dma/stm32-dmamux.c if (dma_spec->args[0] > dmamux->dmamux_requests) { args 99 drivers/dma/stm32-dmamux.c dma_spec->args[0]); args 145 drivers/dma/stm32-dmamux.c mux->request = dma_spec->args[0]; args 148 drivers/dma/stm32-dmamux.c dma_spec->args[3] = dma_spec->args[2]; args 149 drivers/dma/stm32-dmamux.c dma_spec->args[2] = dma_spec->args[1]; args 150 drivers/dma/stm32-dmamux.c dma_spec->args[1] = 0; args 151 drivers/dma/stm32-dmamux.c dma_spec->args[0] = mux->chan_id - min; args 1494 drivers/dma/stm32-mdma.c config.request = dma_spec->args[0]; args 1495 drivers/dma/stm32-mdma.c config.priority_level = dma_spec->args[1]; args 1496 drivers/dma/stm32-mdma.c config.transfer_config = dma_spec->args[2]; args 1497 drivers/dma/stm32-mdma.c config.mask_addr = dma_spec->args[3]; args 1498 drivers/dma/stm32-mdma.c config.mask_data = dma_spec->args[4]; args 913 drivers/dma/sun4i-dma.c u8 is_dedicated = dma_spec->args[0]; args 914 drivers/dma/sun4i-dma.c u8 endpoint = dma_spec->args[1]; args 1011 drivers/dma/sun6i-dma.c u8 port = dma_spec->args[0]; args 1326 drivers/dma/tegra20-apb-dma.c if (dma_spec->args[0] > TEGRA_APBDMA_CSR_REQ_SEL_MASK) { args 1327 drivers/dma/tegra20-apb-dma.c dev_err(tdma->dev, "Invalid slave id: %d\n", dma_spec->args[0]); args 1336 drivers/dma/tegra20-apb-dma.c tdc->slave_id = dma_spec->args[0]; args 695 drivers/dma/tegra210-adma.c sreq_index = dma_spec->args[0]; args 996 drivers/dma/ti/cppi41.c &dma_spec->args[0]); args 86 drivers/dma/ti/dma-crossbar.c if (dma_spec->args[2] >= xbar->xbar_events) { args 88 drivers/dma/ti/dma-crossbar.c dma_spec->args[2]); args 92 drivers/dma/ti/dma-crossbar.c if (dma_spec->args[0] >= xbar->dma_requests) { args 94 drivers/dma/ti/dma-crossbar.c dma_spec->args[0]); args 111 drivers/dma/ti/dma-crossbar.c map->dma_line = (u16)dma_spec->args[0]; args 112 drivers/dma/ti/dma-crossbar.c map->mux_val = (u8)dma_spec->args[2]; args 114 drivers/dma/ti/dma-crossbar.c dma_spec->args[2] = 0; args 247 drivers/dma/ti/dma-crossbar.c if (dma_spec->args[0] >= xbar->xbar_requests) { args 249 drivers/dma/ti/dma-crossbar.c dma_spec->args[0]); args 278 drivers/dma/ti/dma-crossbar.c map->xbar_in = (u16)dma_spec->args[0]; args 280 drivers/dma/ti/dma-crossbar.c dma_spec->args[0] = map->xbar_out + xbar->dma_offset; args 2208 drivers/dma/ti/edma.c if (echan->ch_num == dma_spec->args[0]) { args 2221 drivers/dma/ti/edma.c dma_spec->args[1] < echan->ecc->num_tc) { args 2222 drivers/dma/ti/edma.c echan->tc = &echan->ecc->tc_list[dma_spec->args[1]]; args 2419 drivers/dma/ti/edma.c queue_priority_mapping[i][1] = tc_args.args[0]; args 2571 drivers/dma/xilinx/xilinx_dma.c int chan_id = dma_spec->args[0]; args 735 drivers/dma/zx_dma.c unsigned int request = dma_spec->args[0]; args 31 drivers/firewire/core-card.c va_list args; \ args 33 drivers/firewire/core-card.c va_start(args, fmt); \ args 35 drivers/firewire/core-card.c vaf.va = &args; \ args 38 drivers/firewire/core-card.c va_end(args); \ args 44 drivers/firewire/ohci.c #define ohci_info(ohci, f, args...) dev_info(ohci->card.device, f, ##args) args 45 drivers/firewire/ohci.c #define ohci_notice(ohci, f, args...) dev_notice(ohci->card.device, f, ##args) args 46 drivers/firewire/ohci.c #define ohci_err(ohci, f, args...) dev_err(ohci->card.device, f, ##args) args 592 drivers/firmware/arm_scmi/perf.c return clkspec.args[0]; args 660 drivers/firmware/arm_scpi.c return clkspec.args[0]; args 42 drivers/firmware/efi/runtime-wrappers.c #define efi_call_virt(f, args...) \ args 43 drivers/firmware/efi/runtime-wrappers.c efi_call_virt_pointer(efi.systab->runtime, f, args) args 44 drivers/firmware/efi/runtime-wrappers.c #define __efi_call_virt(f, args...) \ args 45 drivers/firmware/efi/runtime-wrappers.c __efi_call_virt_pointer(efi.systab->runtime, f, args) args 254 drivers/firmware/imx/imx-scu.c struct of_phandle_args args; args 264 drivers/firmware/imx/imx-scu.c "#mbox-cells", 0, &args); args 268 drivers/firmware/imx/imx-scu.c sc_ipc->fast_ipc = of_device_is_compatible(args.np, "fsl,imx8-mu-scu"); args 222 drivers/firmware/imx/scu-pd.c if (sc_pd->rsrc == spec->args[0]) { args 52 drivers/firmware/qcom_scm-64.c u64 args[MAX_QCOM_SCM_ARGS]; args 82 drivers/firmware/qcom_scm-64.c u64 cmd, x5 = desc->args[FIRST_EXT_ARG_IDX]; args 96 drivers/firmware/qcom_scm-64.c __le32 *args = args_virt; args 99 drivers/firmware/qcom_scm-64.c args[i] = cpu_to_le32(desc->args[i + args 102 drivers/firmware/qcom_scm-64.c __le64 *args = args_virt; args 105 drivers/firmware/qcom_scm-64.c args[i] = cpu_to_le64(desc->args[i + args 130 drivers/firmware/qcom_scm-64.c arm_smccc_smc_quirk(cmd, desc->arginfo, desc->args[0], args 131 drivers/firmware/qcom_scm-64.c desc->args[1], desc->args[2], x5, args 206 drivers/firmware/qcom_scm-64.c desc.args[0] = QCOM_SCM_FNID(svc_id, cmd_id) | args 225 drivers/firmware/qcom_scm-64.c desc.args[0] = req[0].addr; args 226 drivers/firmware/qcom_scm-64.c desc.args[1] = req[0].val; args 227 drivers/firmware/qcom_scm-64.c desc.args[2] = req[1].addr; args 228 drivers/firmware/qcom_scm-64.c desc.args[3] = req[1].val; args 229 drivers/firmware/qcom_scm-64.c desc.args[4] = req[2].addr; args 230 drivers/firmware/qcom_scm-64.c desc.args[5] = req[2].val; args 231 drivers/firmware/qcom_scm-64.c desc.args[6] = req[3].addr; args 232 drivers/firmware/qcom_scm-64.c desc.args[7] = req[3].val; args 233 drivers/firmware/qcom_scm-64.c desc.args[8] = req[4].addr; args 234 drivers/firmware/qcom_scm-64.c desc.args[9] = req[4].val; args 269 drivers/firmware/qcom_scm-64.c desc.args[0] = peripheral; args 286 drivers/firmware/qcom_scm-64.c desc.args[0] = peripheral; args 287 drivers/firmware/qcom_scm-64.c desc.args[1] = metadata_phys; args 303 drivers/firmware/qcom_scm-64.c desc.args[0] = peripheral; args 304 drivers/firmware/qcom_scm-64.c desc.args[1] = addr; args 305 drivers/firmware/qcom_scm-64.c desc.args[2] = size; args 320 drivers/firmware/qcom_scm-64.c desc.args[0] = peripheral; args 336 drivers/firmware/qcom_scm-64.c desc.args[0] = peripheral; args 351 drivers/firmware/qcom_scm-64.c desc.args[0] = reset; args 352 drivers/firmware/qcom_scm-64.c desc.args[1] = 0; args 367 drivers/firmware/qcom_scm-64.c desc.args[0] = state; args 368 drivers/firmware/qcom_scm-64.c desc.args[1] = id; args 385 drivers/firmware/qcom_scm-64.c desc.args[0] = mem_region; args 386 drivers/firmware/qcom_scm-64.c desc.args[1] = mem_sz; args 387 drivers/firmware/qcom_scm-64.c desc.args[2] = src; args 388 drivers/firmware/qcom_scm-64.c desc.args[3] = src_sz; args 389 drivers/firmware/qcom_scm-64.c desc.args[4] = dest; args 390 drivers/firmware/qcom_scm-64.c desc.args[5] = dest_sz; args 391 drivers/firmware/qcom_scm-64.c desc.args[6] = 0; args 410 drivers/firmware/qcom_scm-64.c desc.args[0] = device_id; args 411 drivers/firmware/qcom_scm-64.c desc.args[1] = spare; args 427 drivers/firmware/qcom_scm-64.c desc.args[0] = spare; args 446 drivers/firmware/qcom_scm-64.c desc.args[0] = addr; args 447 drivers/firmware/qcom_scm-64.c desc.args[1] = size; args 448 drivers/firmware/qcom_scm-64.c desc.args[2] = spare; args 467 drivers/firmware/qcom_scm-64.c desc.args[0] = QCOM_SCM_SET_DLOAD_MODE; args 468 drivers/firmware/qcom_scm-64.c desc.args[1] = enable ? QCOM_SCM_SET_DLOAD_MODE : 0; args 482 drivers/firmware/qcom_scm-64.c desc.args[0] = addr; args 498 drivers/firmware/qcom_scm-64.c desc.args[0] = addr; args 499 drivers/firmware/qcom_scm-64.c desc.args[1] = val; args 251 drivers/firmware/turris-mox-rwtm.c msg.args[0] = 1; args 252 drivers/firmware/turris-mox-rwtm.c msg.args[1] = rwtm->buf_phys; args 253 drivers/firmware/turris-mox-rwtm.c msg.args[2] = (max + 3) & ~3; args 433 drivers/gpio/gpio-brcmstb.c offset = gpiospec->args[0] - (gc->base - priv->gpio_base); args 440 drivers/gpio/gpio-brcmstb.c gpiospec->args[0]); args 444 drivers/gpio/gpio-brcmstb.c *flags = gpiospec->args[1]; args 495 drivers/gpio/gpio-lpc32xx.c u32 bank = gpiospec->args[0]; args 501 drivers/gpio/gpio-lpc32xx.c *flags = gpiospec->args[2]; args 502 drivers/gpio/gpio-lpc32xx.c return gpiospec->args[1]; args 197 drivers/gpio/gpio-mt7621.c int gpio = spec->args[0]; args 204 drivers/gpio/gpio-mt7621.c *flags = spec->args[1]; args 336 drivers/gpio/gpio-pxa.c if (gpiospec->args[0] > pxa_last_gpio) args 340 drivers/gpio/gpio-pxa.c *flags = gpiospec->args[1]; args 342 drivers/gpio/gpio-pxa.c return gpiospec->args[0]; args 411 drivers/gpio/gpio-rcar.c struct of_phandle_args args; args 418 drivers/gpio/gpio-rcar.c ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0, &args); args 419 drivers/gpio/gpio-rcar.c *npins = ret == 0 ? args.args[2] : RCAR_MAX_GPIO_PER_BANK; args 220 drivers/gpio/gpio-tegra186.c port = spec->args[0] / 8; args 221 drivers/gpio/gpio-tegra186.c pin = spec->args[0] % 8; args 232 drivers/gpio/gpio-tegra186.c *flags = spec->args[1]; args 497 drivers/gpio/gpiolib-acpi.c struct fwnode_reference_args *args, args 509 drivers/gpio/gpiolib-acpi.c args->fwnode = acpi_fwnode_handle(adev); args 510 drivers/gpio/gpiolib-acpi.c args->args[0] = par->crs_entry_index; args 511 drivers/gpio/gpiolib-acpi.c args->args[1] = par->line_index; args 512 drivers/gpio/gpiolib-acpi.c args->args[2] = par->active_low; args 513 drivers/gpio/gpiolib-acpi.c args->nargs = 3; args 711 drivers/gpio/gpiolib-acpi.c struct fwnode_reference_args args; args 715 drivers/gpio/gpiolib-acpi.c memset(&args, 0, sizeof(args)); args 717 drivers/gpio/gpiolib-acpi.c &args); args 724 drivers/gpio/gpiolib-acpi.c if (!acpi_get_driver_gpio_data(adev, propname, index, &args, args 732 drivers/gpio/gpiolib-acpi.c if (!to_acpi_device_node(args.fwnode)) args 734 drivers/gpio/gpiolib-acpi.c if (args.nargs != 3) args 737 drivers/gpio/gpiolib-acpi.c lookup->index = args.args[0]; args 738 drivers/gpio/gpiolib-acpi.c lookup->pin_index = args.args[1]; args 739 drivers/gpio/gpiolib-acpi.c lookup->active_low = !!args.args[2]; args 741 drivers/gpio/gpiolib-acpi.c lookup->info.adev = to_acpi_device_node(args.fwnode); args 589 drivers/gpio/gpiolib-of.c &gpiospec.args[i]); args 688 drivers/gpio/gpiolib-of.c if (gpiospec->args[0] >= gc->ngpio) args 692 drivers/gpio/gpiolib-of.c *flags = gpiospec->args[1]; args 694 drivers/gpio/gpiolib-of.c return gpiospec->args[0]; args 820 drivers/gpio/gpiolib-of.c if (pinspec.args[2]) { args 834 drivers/gpio/gpiolib-of.c pinspec.args[0], args 835 drivers/gpio/gpiolib-of.c pinspec.args[1], args 836 drivers/gpio/gpiolib-of.c pinspec.args[2]); args 841 drivers/gpio/gpiolib-of.c if (pinspec.args[1]) { args 866 drivers/gpio/gpiolib-of.c pinspec.args[0], name); args 1002 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c union get_clock_dividers args; args 1006 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c memset(&args, 0, sizeof(args)); args 1019 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v3.ulClockParams = cpu_to_le32((clock_type << 24) | clock); args 1021 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1023 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->post_div = args.v3.ucPostDiv; args 1024 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->enable_post_div = (args.v3.ucCntlFlag & args 1026 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->enable_dithen = (args.v3.ucCntlFlag & args 1028 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->whole_fb_div = le16_to_cpu(args.v3.ulFbDiv.usFbDiv); args 1029 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->frac_fb_div = le16_to_cpu(args.v3.ulFbDiv.usFbDivFrac); args 1030 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->ref_div = args.v3.ucRefDiv; args 1031 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->vco_mode = (args.v3.ucCntlFlag & args 1037 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v5.ulClockParams = cpu_to_le32((clock_type << 24) | clock); args 1039 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v5.ucInputFlag = ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN; args 1041 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1043 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->post_div = args.v5.ucPostDiv; args 1044 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->enable_post_div = (args.v5.ucCntlFlag & args 1046 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->enable_dithen = (args.v5.ucCntlFlag & args 1048 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->whole_fb_div = le16_to_cpu(args.v5.ulFbDiv.usFbDiv); args 1049 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->frac_fb_div = le16_to_cpu(args.v5.ulFbDiv.usFbDivFrac); args 1050 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->ref_div = args.v5.ucRefDiv; args 1051 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->vco_mode = (args.v5.ucCntlFlag & args 1057 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v4.ulClock = cpu_to_le32(clock); /* 10 khz */ args 1059 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1061 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->post_divider = dividers->post_div = args.v4.ucPostDiv; args 1062 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->real_clock = le32_to_cpu(args.v4.ulClock); args 1067 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v6_in.ulClock.ulComputeClockFlag = clock_type; args 1068 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v6_in.ulClock.ulClockFreq = cpu_to_le32(clock); /* 10 khz */ args 1070 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1072 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->whole_fb_div = le16_to_cpu(args.v6_out.ulFbDiv.usFbDiv); args 1073 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->frac_fb_div = le16_to_cpu(args.v6_out.ulFbDiv.usFbDivFrac); args 1074 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->ref_div = args.v6_out.ucPllRefDiv; args 1075 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->post_div = args.v6_out.ucPllPostDiv; args 1076 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->flags = args.v6_out.ucPllCntlFlag; args 1077 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->real_clock = le32_to_cpu(args.v6_out.ulClock.ulClock); args 1078 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c dividers->post_divider = args.v6_out.ulClock.ucPostDiv; args 1091 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c COMPUTE_MEMORY_CLOCK_PARAM_PARAMETERS_V2_1 args; args 1095 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c memset(&args, 0, sizeof(args)); args 1106 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.ulClock = cpu_to_le32(clock); /* 10 khz */ args 1107 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.ucInputFlag = 0; args 1109 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.ucInputFlag |= MPLL_INPUT_FLAG_STROBE_MODE_EN; args 1111 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1113 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c mpll_param->clkfrac = le16_to_cpu(args.ulFbDiv.usFbDivFrac); args 1114 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c mpll_param->clkf = le16_to_cpu(args.ulFbDiv.usFbDiv); args 1115 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c mpll_param->post_div = args.ucPostDiv; args 1116 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c mpll_param->dll_speed = args.ucDllSpeed; args 1117 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c mpll_param->bwcntl = args.ucBWCntl; args 1119 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c (args.ucPllCntlFlag & MPLL_CNTL_FLAG_VCO_MODE_MASK); args 1121 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c (args.ucPllCntlFlag & MPLL_CNTL_FLAG_BYPASS_DQ_PLL) ? 1 : 0; args 1123 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c (args.ucPllCntlFlag & MPLL_CNTL_FLAG_QDR_ENABLE) ? 1 : 0; args 1125 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c (args.ucPllCntlFlag & MPLL_CNTL_FLAG_AD_HALF_RATE) ? 1 : 0; args 1140 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c SET_ENGINE_CLOCK_PS_ALLOCATION args; args 1144 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c memset(&args, 0, sizeof(args)); args 1149 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.ulTargetEngineClock = cpu_to_le32(tmp); args 1151 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.sReserved.ulClock = cpu_to_le32(mem_clock & SET_CLOCK_FREQ_MASK); args 1153 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1192 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c union set_voltage args; args 1203 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v2.ucVoltageType = SET_VOLTAGE_GET_MAX_VOLTAGE; args 1204 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v2.ucVoltageMode = 0; args 1205 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v2.usVoltageLevel = 0; args 1207 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1209 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *voltage = le16_to_cpu(args.v2.usVoltageLevel); args 1212 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v3.ucVoltageType = voltage_type; args 1213 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v3.ucVoltageMode = ATOM_GET_VOLTAGE_LEVEL; args 1214 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v3.usVoltageLevel = cpu_to_le16(voltage_id); args 1216 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1218 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *voltage = le16_to_cpu(args.v3.usVoltageLevel); args 1238 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c union set_voltage args; args 1248 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v3.ucVoltageType = 0; args 1249 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v3.ucVoltageMode = ATOM_GET_LEAKAGE_ID; args 1250 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.v3.usVoltageLevel = 0; args 1252 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1254 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *leakage_id = le16_to_cpu(args.v3.usVoltageLevel); args 1362 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c union get_voltage_info args; args 1373 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.in.ucVoltageType = VOLTAGE_TYPE_VDDC; args 1374 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.in.ucVoltageMode = ATOM_GET_VOLTAGE_EVV_VOLTAGE; args 1375 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.in.usVoltageLevel = cpu_to_le16(virtual_voltage_id); args 1376 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c args.in.ulSCLKFreq = args 1379 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1381 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *voltage = le16_to_cpu(args.evv_out.usVoltageLevel); args 270 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c union drm_amdgpu_bo_list *args = data; args 271 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c uint32_t handle = args->in.list_handle; args 276 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c r = amdgpu_bo_create_list_entry_array(&args->in, &info); args 280 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c switch (args->in.operation) { args 282 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c r = amdgpu_bo_list_create(adev, filp, info, args->in.bo_number, args 303 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c r = amdgpu_bo_list_create(adev, filp, info, args->in.bo_number, args 325 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c memset(args, 0, sizeof(*args)); args 326 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c args->out.list_handle = handle; args 405 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c union drm_amdgpu_ctx *args = data; args 410 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c id = args->in.ctx_id; args 411 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c priority = amdgpu_to_sched_priority(args->in.priority); args 418 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c switch (args->in.op) { args 421 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c args->out.alloc.ctx_id = id; args 427 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c r = amdgpu_ctx_query(adev, fpriv, id, &args->out); args 430 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c r = amdgpu_ctx_query2(adev, fpriv, id, &args->out); args 215 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c union drm_amdgpu_gem_create *args = data; args 216 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c uint64_t flags = args->in.domain_flags; args 217 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c uint64_t size = args->in.bo_size; args 234 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->in.domains & ~AMDGPU_GEM_DOMAIN_MASK) args 238 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->in.domains & (AMDGPU_GEM_DOMAIN_GDS | args 258 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_gem_object_create(adev, size, args->in.alignment, args 259 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c (u32)(0xffffffff & args->in.domains), args 278 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c memset(args, 0, sizeof(*args)); args 279 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->out.handle = handle; args 288 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct drm_amdgpu_gem_userptr *args = data; args 294 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->addr = untagged_addr(args->addr); args 296 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (offset_in_page(args->addr | args->size)) args 300 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->flags & ~(AMDGPU_GEM_USERPTR_READONLY | args 305 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (!(args->flags & AMDGPU_GEM_USERPTR_READONLY) && args 306 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c !(args->flags & AMDGPU_GEM_USERPTR_REGISTER)) { args 313 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_gem_object_create(adev, args->size, 0, AMDGPU_GEM_DOMAIN_CPU, args 321 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_ttm_tt_set_userptr(bo->tbo.ttm, args->addr, args->flags); args 325 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->flags & AMDGPU_GEM_USERPTR_REGISTER) { args 326 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_mn_register(bo, args->addr); args 331 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->flags & AMDGPU_GEM_USERPTR_VALIDATE) { args 351 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->handle = handle; args 354 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->flags & AMDGPU_GEM_USERPTR_VALIDATE) args 388 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c union drm_amdgpu_gem_mmap *args = data; args 389 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c uint32_t handle = args->in.handle; args 390 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c memset(args, 0, sizeof(*args)); args 391 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c return amdgpu_mode_dumb_mmap(filp, dev, handle, &args->out.addr_ptr); args 425 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c union drm_amdgpu_gem_wait_idle *args = data; args 428 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c uint32_t handle = args->in.handle; args 429 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c unsigned long timeout = amdgpu_gem_timeout(args->in.timeout); args 446 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c memset(args, 0, sizeof(*args)); args 447 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->out.status = (ret == 0); args 458 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct drm_amdgpu_gem_metadata *args = data; args 463 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c DRM_DEBUG("%d \n", args->handle); args 464 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 473 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->op == AMDGPU_GEM_METADATA_OP_GET_METADATA) { args 474 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_bo_get_tiling_flags(robj, &args->data.tiling_info); args 475 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_bo_get_metadata(robj, args->data.data, args 476 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c sizeof(args->data.data), args 477 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c &args->data.data_size_bytes, args 478 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c &args->data.flags); args 479 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c } else if (args->op == AMDGPU_GEM_METADATA_OP_SET_METADATA) { args 480 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->data.data_size_bytes > sizeof(args->data.data)) { args 484 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_bo_set_tiling_flags(robj, args->data.tiling_info); args 486 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_bo_set_metadata(robj, args->data.data, args 487 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->data.data_size_bytes, args 488 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->data.flags); args 546 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct drm_amdgpu_gem_va *args = data; args 559 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->va_address < AMDGPU_VA_RESERVED_SIZE) { args 562 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->va_address, AMDGPU_VA_RESERVED_SIZE); args 566 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (args->va_address >= AMDGPU_GMC_HOLE_START && args 567 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->va_address < AMDGPU_GMC_HOLE_END) { args 570 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->va_address, AMDGPU_GMC_HOLE_START, args 575 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->va_address &= AMDGPU_GMC_HOLE_MASK; args 577 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if ((args->flags & ~valid_flags) && (args->flags & ~prt_flags)) { args 579 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->flags); args 583 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c switch (args->operation) { args 591 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->operation); args 597 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if ((args->operation != AMDGPU_VA_OP_CLEAR) && args 598 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c !(args->flags & AMDGPU_VM_PAGE_PRT)) { args 599 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 626 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c } else if (args->operation != AMDGPU_VA_OP_CLEAR) { args 632 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c switch (args->operation) { args 634 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c va_flags = amdgpu_gmc_get_pte_flags(adev, args->flags); args 635 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_vm_bo_map(adev, bo_va, args->va_address, args 636 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->offset_in_bo, args->map_size, args 640 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_vm_bo_unmap(adev, bo_va, args->va_address); args 645 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->va_address, args 646 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->map_size); args 649 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c va_flags = amdgpu_gmc_get_pte_flags(adev, args->flags); args 650 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_vm_bo_replace_map(adev, bo_va, args->va_address, args 651 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->offset_in_bo, args->map_size, args 657 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (!r && !(args->flags & AMDGPU_VM_DELAY_UPDATE) && !amdgpu_vm_debug) args 659 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->operation); args 673 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct drm_amdgpu_gem_op *args = data; args 679 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 689 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c switch (args->op) { args 692 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c void __user *out = u64_to_user_ptr(args->value); args 704 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c if (robj->prime_shared_count && (args->value & AMDGPU_GEM_DOMAIN_VRAM)) { args 723 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM | args 747 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct drm_mode_create_dumb *args) args 765 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->pitch = amdgpu_align_pitch(adev, args->width, args 766 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c DIV_ROUND_UP(args->bpp, 8), 0); args 767 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->size = (u64)args->pitch * args->height; args 768 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->size = ALIGN(args->size, PAGE_SIZE); args 771 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_gem_object_create(adev, args->size, 0, domain, flags, args 782 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c args->handle = handle; args 55 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h struct drm_mode_create_dumb *args); args 117 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c union drm_amdgpu_sched *args = data; args 122 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c priority = amdgpu_to_sched_priority(args->in.priority); args 126 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c switch (args->in.op) { args 129 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c args->in.fd, args 134 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c args->in.fd, args 135 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c args->in.ctx_id, args 139 drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c DRM_ERROR("Invalid sched op specified: %d\n", args->in.op); args 3067 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c union drm_amdgpu_vm *args = data; args 3072 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c switch (args->in.op) { args 46 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c SET_CRTC_OVERSCAN_PS_ALLOCATION args; args 50 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 52 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucCRTC = amdgpu_crtc->crtc_id; args 56 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); args 57 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); args 58 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); args 59 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); args 66 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); args 67 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); args 69 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); args 70 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); args 75 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanRight = cpu_to_le16(amdgpu_crtc->h_border); args 76 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanLeft = cpu_to_le16(amdgpu_crtc->h_border); args 77 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanBottom = cpu_to_le16(amdgpu_crtc->v_border); args 78 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usOverscanTop = cpu_to_le16(amdgpu_crtc->v_border); args 81 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 89 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c ENABLE_SCALER_PS_ALLOCATION args; args 92 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 94 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucScaler = amdgpu_crtc->crtc_id; args 98 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucEnable = ATOM_SCALER_EXPANSION; args 101 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucEnable = ATOM_SCALER_CENTER; args 104 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucEnable = ATOM_SCALER_EXPANSION; args 107 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucEnable = ATOM_SCALER_DISABLE; args 110 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 120 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c ENABLE_CRTC_PS_ALLOCATION args; args 122 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 124 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucCRTC = amdgpu_crtc->crtc_id; args 125 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucEnable = lock; args 127 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 136 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c ENABLE_CRTC_PS_ALLOCATION args; args 138 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 140 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucCRTC = amdgpu_crtc->crtc_id; args 141 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucEnable = state; args 143 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 152 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c BLANK_CRTC_PS_ALLOCATION args; args 154 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 156 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucCRTC = amdgpu_crtc->crtc_id; args 157 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucBlanking = state; args 159 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 168 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c ENABLE_DISP_POWER_GATING_PS_ALLOCATION args; args 170 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 172 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucDispPipeId = amdgpu_crtc->crtc_id; args 173 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucEnable = state; args 175 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 181 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c ENABLE_DISP_POWER_GATING_PS_ALLOCATION args; args 183 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 185 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucEnable = ATOM_INIT; args 187 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 196 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c SET_CRTC_USING_DTD_TIMING_PARAMETERS args; args 200 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 201 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usH_Size = cpu_to_le16(mode->crtc_hdisplay - (amdgpu_crtc->h_border * 2)); args 202 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usH_Blanking_Time = args 204 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usV_Size = cpu_to_le16(mode->crtc_vdisplay - (amdgpu_crtc->v_border * 2)); args 205 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usV_Blanking_Time = args 207 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usH_SyncOffset = args 209 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usH_SyncWidth = args 211 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usV_SyncOffset = args 213 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.usV_SyncWidth = args 215 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucH_Border = amdgpu_crtc->h_border; args 216 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucV_Border = amdgpu_crtc->v_border; args 229 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.susModeMiscInfo.usAccess = cpu_to_le16(misc); args 230 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.ucCRTC = amdgpu_crtc->crtc_id; args 232 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 249 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c union atom_enable_ss args; args 276 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 278 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.usSpreadSpectrumAmountFrac = cpu_to_le16(0); args 279 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucSpreadSpectrumType = ss->type & ATOM_SS_CENTRE_SPREAD_MODE_MASK; args 282 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucSpreadSpectrumType |= ATOM_PPLL_SS_TYPE_V3_P1PLL; args 285 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucSpreadSpectrumType |= ATOM_PPLL_SS_TYPE_V3_P2PLL; args 288 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucSpreadSpectrumType |= ATOM_PPLL_SS_TYPE_V3_DCPLL; args 293 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); args 294 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.usSpreadSpectrumStep = cpu_to_le16(ss->step); args 295 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucEnable = enable; args 297 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 320 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c union adjust_pixel_clock args; args 384 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 391 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.usPixelClock = cpu_to_le16(clock / 10); args 392 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.ucTransmitterID = amdgpu_encoder->encoder_id; args 393 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.ucEncodeMode = encoder_mode; args 395 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.ucConfig |= args 399 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c index, (uint32_t *)&args); args 400 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c adjusted_clock = le16_to_cpu(args.v1.usPixelClock) * 10; args 403 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.usPixelClock = cpu_to_le16(clock / 10); args 404 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.ucTransmitterID = amdgpu_encoder->encoder_id; args 405 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.ucEncodeMode = encoder_mode; args 406 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.ucDispPllConfig = 0; args 408 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.ucDispPllConfig |= args 411 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.ucDispPllConfig |= args 414 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.usPixelClock = cpu_to_le16(dp_clock / 10); args 418 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.ucDispPllConfig |= args 421 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.ucDispPllConfig |= args 426 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.ucExtTransmitterID = args 429 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.sInput.ucExtTransmitterID = 0; args 432 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c index, (uint32_t *)&args); args 433 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c adjusted_clock = le32_to_cpu(args.v3.sOutput.ulDispPllFreq) * 10; args 434 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c if (args.v3.sOutput.ucRefDiv) { args 437 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_crtc->pll_reference_div = args.v3.sOutput.ucRefDiv; args 439 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c if (args.v3.sOutput.ucPostDiv) { args 442 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_crtc->pll_post_div = args.v3.sOutput.ucPostDiv; args 476 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c union set_pixel_clock args; args 478 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 492 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucCRTC = ATOM_CRTC_INVALID; args 493 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.usPixelClock = cpu_to_le16(dispclk); args 494 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucPpll = ATOM_DCPLL; args 500 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ulDispEngClkFreq = cpu_to_le32(dispclk); args 505 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucPpll = ATOM_PPLL0; args 507 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucPpll = ATOM_EXT_PLL1; args 518 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 531 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c union set_dce_clock args; args 534 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 545 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2_1.asParam.ulDCEClkFreq = cpu_to_le32(freq); /* 10kHz units */ args 546 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2_1.asParam.ucDCEClkType = clk_type; args 547 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2_1.asParam.ucDCEClkSrc = clk_src; args 548 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 549 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c ret_freq = le32_to_cpu(args.v2_1.asParam.ulDCEClkFreq) * 10; args 594 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c union set_pixel_clock args; args 596 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c memset(&args, 0, sizeof(args)); args 608 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.usPixelClock = cpu_to_le16(clock / 10); args 609 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.usRefDiv = cpu_to_le16(ref_div); args 610 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.usFbDiv = cpu_to_le16(fb_div); args 611 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.ucFracFbDiv = frac_fb_div; args 612 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.ucPostDiv = post_div; args 613 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.ucPpll = pll_id; args 614 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.ucCRTC = crtc_id; args 615 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v1.ucRefDivSrc = 1; args 618 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2.usPixelClock = cpu_to_le16(clock / 10); args 619 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2.usRefDiv = cpu_to_le16(ref_div); args 620 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2.usFbDiv = cpu_to_le16(fb_div); args 621 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2.ucFracFbDiv = frac_fb_div; args 622 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2.ucPostDiv = post_div; args 623 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2.ucPpll = pll_id; args 624 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2.ucCRTC = crtc_id; args 625 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v2.ucRefDivSrc = 1; args 628 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.usPixelClock = cpu_to_le16(clock / 10); args 629 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.usRefDiv = cpu_to_le16(ref_div); args 630 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.usFbDiv = cpu_to_le16(fb_div); args 631 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucFracFbDiv = frac_fb_div; args 632 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucPostDiv = post_div; args 633 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucPpll = pll_id; args 635 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucMiscInfo = PIXEL_CLOCK_MISC_CRTC_SEL_CRTC2; args 637 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucMiscInfo = PIXEL_CLOCK_MISC_CRTC_SEL_CRTC1; args 639 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucMiscInfo |= PIXEL_CLOCK_MISC_REF_DIV_SRC; args 640 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucTransmitterId = encoder_id; args 641 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v3.ucEncoderMode = encoder_mode; args 644 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucCRTC = crtc_id; args 645 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.usPixelClock = cpu_to_le16(clock / 10); args 646 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucRefDiv = ref_div; args 647 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.usFbDiv = cpu_to_le16(fb_div); args 648 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ulFbDivDecFrac = cpu_to_le32(frac_fb_div * 100000); args 649 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucPostDiv = post_div; args 650 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucMiscInfo = 0; /* HDMI depth, etc. */ args 653 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_REF_DIV_SRC; args 658 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_HDMI_24BPP; args 662 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_HDMI_32BPP; args 666 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_HDMI_30BPP; args 670 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucTransmitterID = encoder_id; args 671 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucEncoderMode = encoder_mode; args 672 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v5.ucPpll = pll_id; args 675 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ulDispEngClkFreq = cpu_to_le32(crtc_id << 24 | clock / 10); args 676 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucRefDiv = ref_div; args 677 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.usFbDiv = cpu_to_le16(fb_div); args 678 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ulFbDivDecFrac = cpu_to_le32(frac_fb_div * 100000); args 679 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucPostDiv = post_div; args 680 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucMiscInfo = 0; /* HDMI depth, etc. */ args 684 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_REF_DIV_SRC; args 689 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_HDMI_24BPP; args 692 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6; args 695 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6; args 698 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_HDMI_48BPP; args 702 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucTransmitterID = encoder_id; args 703 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucEncoderMode = encoder_mode; args 704 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v6.ucPpll = pll_id; args 707 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ulPixelClock = cpu_to_le32(clock * 10); /* 100 hz units */ args 708 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucMiscInfo = 0; args 711 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucMiscInfo |= PIXEL_CLOCK_V7_MISC_DVI_DUALLINK_EN; args 712 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucCRTC = crtc_id; args 717 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucDeepColorRatio = PIXEL_CLOCK_V7_DEEPCOLOR_RATIO_DIS; args 720 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucDeepColorRatio = PIXEL_CLOCK_V7_DEEPCOLOR_RATIO_5_4; args 723 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucDeepColorRatio = PIXEL_CLOCK_V7_DEEPCOLOR_RATIO_3_2; args 726 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucDeepColorRatio = PIXEL_CLOCK_V7_DEEPCOLOR_RATIO_2_1; args 730 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucTransmitterID = encoder_id; args 731 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucEncoderMode = encoder_mode; args 732 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c args.v7.ucPpll = pll_id; args 744 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 64 drivers/gpu/drm/amd/amdgpu/atombios_dp.c union aux_channel_transaction args; args 70 drivers/gpu/drm/amd/amdgpu/atombios_dp.c memset(&args, 0, sizeof(args)); args 78 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.v2.lpAuxRequest = cpu_to_le16((u16)(0 + 4)); args 79 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.v2.lpDataOut = cpu_to_le16((u16)(16 + 4)); args 80 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.v2.ucDataOutLen = 0; args 81 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.v2.ucChannelID = chan->rec.i2c_id; args 82 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.v2.ucDelay = delay / 10; args 83 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.v2.ucHPD_ID = chan->rec.hpd; args 85 drivers/gpu/drm/amd/amdgpu/atombios_dp.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 87 drivers/gpu/drm/amd/amdgpu/atombios_dp.c *ack = args.v2.ucReplyStatus; args 90 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (args.v2.ucReplyStatus == 1) { args 96 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (args.v2.ucReplyStatus == 2) { args 103 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (args.v2.ucReplyStatus == 3) { args 109 drivers/gpu/drm/amd/amdgpu/atombios_dp.c recv_bytes = args.v1.ucDataOutLen; args 297 drivers/gpu/drm/amd/amdgpu/atombios_dp.c DP_ENCODER_SERVICE_PARAMETERS args; args 300 drivers/gpu/drm/amd/amdgpu/atombios_dp.c memset(&args, 0, sizeof(args)); args 301 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.ucLinkClock = dp_clock / 10; args 302 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.ucConfig = ucconfig; args 303 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.ucAction = action; args 304 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.ucLaneNum = lane_num; args 305 drivers/gpu/drm/amd/amdgpu/atombios_dp.c args.ucStatus = 0; args 307 drivers/gpu/drm/amd/amdgpu/atombios_dp.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 308 drivers/gpu/drm/amd/amdgpu/atombios_dp.c return args.ucStatus; args 324 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c DAC_ENCODER_CONTROL_PS_ALLOCATION args; args 327 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c memset(&args, 0, sizeof(args)); args 340 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.ucAction = action; args 341 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.ucDacStandard = ATOM_DAC1_PS2; args 342 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 344 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 387 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c union dvo_encoder_control args; args 391 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c memset(&args, 0, sizeof(args)); args 401 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.ext_tmds.sXTmdsEncoder.ucEnable = action; args 404 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.ext_tmds.sXTmdsEncoder.ucMisc |= PANEL_ENCODER_MISC_DUAL; args 406 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.ext_tmds.sXTmdsEncoder.ucMisc |= ATOM_PANEL_MISC_888RGB; args 410 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo.sDVOEncoder.ucAction = action; args 411 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 413 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; args 416 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; args 420 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo_v3.ucAction = action; args 421 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo_v3.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 422 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo_v3.ucDVOConfig = 0; /* XXX */ args 426 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo_v4.ucAction = action; args 427 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo_v4.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 428 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo_v4.ucDVOConfig = 0; /* XXX */ args 429 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.dvo_v4.ucBitPerColor = amdgpu_atombios_encoder_get_bpc(encoder); args 441 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 580 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c union dig_encoder_control args; args 601 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c memset(&args, 0, sizeof(args)); args 610 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucAction = action; args 611 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 613 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucPanelMode = panel_mode; args 615 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucEncoderMode = amdgpu_atombios_encoder_get_encoder_mode(encoder); args 617 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v1.ucEncoderMode)) args 618 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucLaneNum = dp_lane_count; args 620 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucLaneNum = 8; args 622 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucLaneNum = 4; args 624 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v1.ucEncoderMode) && (dp_clock == 270000)) args 625 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_DPLINKRATE_2_70GHZ; args 628 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig = ATOM_ENCODER_CONFIG_V2_TRANSMITTER1; args 632 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig = ATOM_ENCODER_CONFIG_V2_TRANSMITTER2; args 635 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig = ATOM_ENCODER_CONFIG_V2_TRANSMITTER3; args 639 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_LINKB; args 641 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_LINKA; args 645 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucAction = action; args 646 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 648 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucPanelMode = panel_mode; args 650 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderMode = amdgpu_atombios_encoder_get_encoder_mode(encoder); args 652 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v3.ucEncoderMode)) args 653 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucLaneNum = dp_lane_count; args 655 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucLaneNum = 8; args 657 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucLaneNum = 4; args 659 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v3.ucEncoderMode) && (dp_clock == 270000)) args 660 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V3_DPLINKRATE_2_70GHZ; args 661 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.ucDigSel = dig->dig_encoder; args 662 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucBitPerColor = amdgpu_atombios_encoder_get_bpc(encoder); args 665 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucAction = action; args 666 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 668 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucPanelMode = panel_mode; args 670 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucEncoderMode = amdgpu_atombios_encoder_get_encoder_mode(encoder); args 672 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v4.ucEncoderMode)) args 673 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucLaneNum = dp_lane_count; args 675 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucLaneNum = 8; args 677 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucLaneNum = 4; args 679 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v4.ucEncoderMode)) { args 681 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V4_DPLINKRATE_5_40GHZ; args 683 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V4_DPLINKRATE_3_24GHZ; args 685 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V4_DPLINKRATE_2_70GHZ; args 687 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V4_DPLINKRATE_1_62GHZ; args 689 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.ucDigSel = dig->dig_encoder; args 690 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucBitPerColor = amdgpu_atombios_encoder_get_bpc(encoder); args 692 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucHPD_ID = 0; args 694 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucHPD_ID = hpd_id + 1; args 699 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asDPPanelModeParam.ucAction = action; args 700 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asDPPanelModeParam.ucPanelMode = panel_mode; args 701 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asDPPanelModeParam.ucDigId = dig->dig_encoder; args 704 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asStreamParam.ucAction = action; args 705 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asStreamParam.ucDigId = dig->dig_encoder; args 706 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asStreamParam.ucDigMode = args 708 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v5.asStreamParam.ucDigMode)) args 709 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asStreamParam.ucLaneNum = dp_lane_count; args 712 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asStreamParam.ucLaneNum = 8; args 714 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asStreamParam.ucLaneNum = 4; args 715 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asStreamParam.ulPixelClock = args 717 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asStreamParam.ucBitPerColor = args 719 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asStreamParam.ucLinkRateIn270Mhz = dp_clock / 27000; args 729 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asCmdParam.ucAction = action; args 730 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asCmdParam.ucDigId = dig->dig_encoder; args 747 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 769 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c union dig_transmitter_control args; args 814 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c memset(&args, 0, sizeof(args)); args 838 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucAction = action; args 840 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.usInitInfo = cpu_to_le16(connector_object_id); args 842 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.asMode.ucLaneSel = lane_num; args 843 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.asMode.ucLaneSet = lane_set; args 846 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(dp_clock / 10); args 848 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16((amdgpu_encoder->pixel_clock / 2) / 10); args 850 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 853 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig = ATOM_TRANSMITTER_CONFIG_CLKSRC_PPLL; args 856 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_DIG2_ENCODER; args 858 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_DIG1_ENCODER; args 865 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_0_3; args 867 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_4_7; args 869 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_8_11; args 871 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_12_15; args 874 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_0_7; args 876 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_8_15; args 881 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LINKB; args 883 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LINKA; args 886 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_COHERENT; args 889 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_COHERENT; args 891 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_8LANE_LINK; args 895 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucAction = action; args 897 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.usInitInfo = cpu_to_le16(connector_object_id); args 899 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.asMode.ucLaneSel = lane_num; args 900 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.asMode.ucLaneSet = lane_set; args 903 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16(dp_clock / 10); args 905 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16((amdgpu_encoder->pixel_clock / 2) / 10); args 907 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 910 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.acConfig.ucEncoderSel = dig_encoder; args 912 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.acConfig.ucLinkSel = 1; args 916 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.acConfig.ucTransmitterSel = 0; args 919 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.acConfig.ucTransmitterSel = 1; args 922 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.acConfig.ucTransmitterSel = 2; args 927 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.acConfig.fCoherentMode = 1; args 928 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.acConfig.fDPConnector = 1; args 931 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.acConfig.fCoherentMode = 1; args 933 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.acConfig.fDualLinkConnector = 1; args 937 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucAction = action; args 939 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.usInitInfo = cpu_to_le16(connector_object_id); args 941 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.asMode.ucLaneSel = lane_num; args 942 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.asMode.ucLaneSet = lane_set; args 945 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16(dp_clock / 10); args 947 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16((amdgpu_encoder->pixel_clock / 2) / 10); args 949 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 953 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucLaneNum = dp_lane_count; args 955 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucLaneNum = 8; args 957 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucLaneNum = 4; args 960 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.ucLinkSel = 1; args 962 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.ucEncoderSel = 1; args 970 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.ucRefClkSource = 2; /* external src */ args 972 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.ucRefClkSource = pll_id; args 976 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.ucTransmitterSel = 0; args 979 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.ucTransmitterSel = 1; args 982 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.ucTransmitterSel = 2; args 987 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.fCoherentMode = 1; /* DP requires coherent */ args 990 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.fCoherentMode = 1; args 992 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.acConfig.fDualLinkConnector = 1; args 996 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucAction = action; args 998 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.usInitInfo = cpu_to_le16(connector_object_id); args 1000 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.asMode.ucLaneSel = lane_num; args 1001 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.asMode.ucLaneSet = lane_set; args 1004 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16(dp_clock / 10); args 1006 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16((amdgpu_encoder->pixel_clock / 2) / 10); args 1008 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 1012 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucLaneNum = dp_lane_count; args 1014 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucLaneNum = 8; args 1016 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.ucLaneNum = 4; args 1019 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.ucLinkSel = 1; args 1021 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.ucEncoderSel = 1; args 1030 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.ucRefClkSource = ENCODER_REFCLK_SRC_EXTCLK; args 1032 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.ucRefClkSource = ENCODER_REFCLK_SRC_DCPLL; args 1034 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.ucRefClkSource = pll_id; args 1038 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.ucTransmitterSel = 0; args 1041 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.ucTransmitterSel = 1; args 1044 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.ucTransmitterSel = 2; args 1049 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.fCoherentMode = 1; /* DP requires coherent */ args 1052 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.fCoherentMode = 1; args 1054 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v4.acConfig.fDualLinkConnector = 1; args 1058 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucAction = action; args 1060 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.usSymClock = cpu_to_le16(dp_clock / 10); args 1062 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.usSymClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 1067 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYB; args 1069 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYA; args 1073 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYD; args 1075 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYC; args 1079 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYF; args 1081 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYE; args 1084 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYG; args 1088 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucLaneNum = dp_lane_count; args 1090 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucLaneNum = 8; args 1092 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucLaneNum = 4; args 1093 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucConnObjId = connector_object_id; args 1094 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucDigMode = amdgpu_atombios_encoder_get_encoder_mode(encoder); args 1097 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asConfig.ucPhyClkSrcId = ENCODER_REFCLK_SRC_EXTCLK; args 1099 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asConfig.ucPhyClkSrcId = pll_id; args 1102 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asConfig.ucCoherentMode = 1; /* DP requires coherent */ args 1105 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asConfig.ucCoherentMode = 1; args 1108 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asConfig.ucHPDSel = 0; args 1110 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.asConfig.ucHPDSel = hpd_id + 1; args 1111 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucDigEncoderSel = 1 << dig_encoder; args 1112 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v5.ucDPLaneSet = lane_set; args 1115 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucAction = action; args 1117 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ulSymClock = cpu_to_le32(dp_clock / 10); args 1119 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ulSymClock = cpu_to_le32(amdgpu_encoder->pixel_clock / 10); args 1124 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucPhyId = ATOM_PHY_ID_UNIPHYB; args 1126 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucPhyId = ATOM_PHY_ID_UNIPHYA; args 1130 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucPhyId = ATOM_PHY_ID_UNIPHYD; args 1132 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucPhyId = ATOM_PHY_ID_UNIPHYC; args 1136 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucPhyId = ATOM_PHY_ID_UNIPHYF; args 1138 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucPhyId = ATOM_PHY_ID_UNIPHYE; args 1141 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucPhyId = ATOM_PHY_ID_UNIPHYG; args 1145 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucLaneNum = dp_lane_count; args 1147 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucLaneNum = 8; args 1149 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucLaneNum = 4; args 1150 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucConnObjId = connector_object_id; args 1152 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucDPLaneSet = lane_set; args 1154 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucDigMode = amdgpu_atombios_encoder_get_encoder_mode(encoder); args 1157 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucHPDSel = 0; args 1159 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucHPDSel = hpd_id + 1; args 1160 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v6.ucDigEncoderSel = 1 << dig_encoder; args 1172 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1182 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c union dig_transmitter_control args; args 1196 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1198 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucAction = action; args 1200 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1231 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c union external_encoder_control args; args 1256 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1269 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.sDigEncoder.ucAction = action; args 1270 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.sDigEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 1271 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.sDigEncoder.ucEncoderMode = args 1274 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v1.sDigEncoder.ucEncoderMode)) { args 1276 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.sDigEncoder.ucConfig |= ATOM_ENCODER_CONFIG_DPLINKRATE_2_70GHZ; args 1277 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.sDigEncoder.ucLaneNum = dp_lane_count; args 1279 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.sDigEncoder.ucLaneNum = 8; args 1281 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.sDigEncoder.ucLaneNum = 4; args 1284 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucAction = action; args 1286 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.usConnectorId = cpu_to_le16(connector_object_id); args 1288 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); args 1289 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucEncoderMode = args 1292 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v3.sExtEncoder.ucEncoderMode)) { args 1294 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_DPLINKRATE_2_70GHZ; args 1296 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_DPLINKRATE_5_40GHZ; args 1297 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucLaneNum = dp_lane_count; args 1299 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucLaneNum = 8; args 1301 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucLaneNum = 4; args 1304 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_ENCODER1; args 1307 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_ENCODER2; args 1310 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_ENCODER3; args 1313 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.sExtEncoder.ucBitPerColor = amdgpu_atombios_encoder_get_bpc(encoder); args 1324 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1472 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c union crtc_source_param args; args 1477 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1487 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucCRTC = amdgpu_crtc->crtc_id; args 1491 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_DFP1_INDEX; args 1496 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_LCD1_INDEX; args 1498 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_DFP3_INDEX; args 1503 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_DFP2_INDEX; args 1508 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_TV1_INDEX; args 1510 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_CV_INDEX; args 1512 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_CRT1_INDEX; args 1517 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_TV1_INDEX; args 1519 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_CV_INDEX; args 1521 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_CRT2_INDEX; args 1526 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucCRTC = amdgpu_crtc->crtc_id; args 1531 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_LVDS; args 1533 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_CRT; args 1535 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = amdgpu_atombios_encoder_get_encoder_mode(encoder); args 1537 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_LVDS; args 1539 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = amdgpu_atombios_encoder_get_encoder_mode(encoder); args 1550 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG1_ENCODER_ID; args 1553 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG2_ENCODER_ID; args 1556 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG3_ENCODER_ID; args 1559 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG4_ENCODER_ID; args 1562 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG5_ENCODER_ID; args 1565 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG6_ENCODER_ID; args 1568 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG7_ENCODER_ID; args 1573 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DVO_ENCODER_ID; args 1577 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1579 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1581 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DAC1_ENCODER_ID; args 1585 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1587 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1589 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DAC2_ENCODER_ID; args 1594 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucCRTC = amdgpu_crtc->crtc_id; args 1599 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_LVDS; args 1601 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_CRT; args 1603 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = amdgpu_atombios_encoder_get_encoder_mode(encoder); args 1605 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_LVDS; args 1607 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v2.ucEncodeMode = amdgpu_atombios_encoder_get_encoder_mode(encoder); args 1609 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucDstBpc = amdgpu_atombios_encoder_get_bpc(encoder); args 1619 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DIG1_ENCODER_ID; args 1622 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DIG2_ENCODER_ID; args 1625 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DIG3_ENCODER_ID; args 1628 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DIG4_ENCODER_ID; args 1631 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DIG5_ENCODER_ID; args 1634 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DIG6_ENCODER_ID; args 1637 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DIG7_ENCODER_ID; args 1642 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DVO_ENCODER_ID; args 1646 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1648 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1650 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DAC1_ENCODER_ID; args 1654 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1656 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1658 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.v3.ucEncoderID = ASIC_INT_DAC2_ENCODER_ID; args 1669 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 1711 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c DAC_LOAD_DETECTION_PS_ALLOCATION args; args 1715 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1720 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.sDacload.ucMisc = 0; args 1724 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.sDacload.ucDacType = ATOM_DAC_A; args 1726 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.sDacload.ucDacType = ATOM_DAC_B; args 1729 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.sDacload.usDeviceID = cpu_to_le16(ATOM_DEVICE_CRT1_SUPPORT); args 1731 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.sDacload.usDeviceID = cpu_to_le16(ATOM_DEVICE_CRT2_SUPPORT); args 1733 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.sDacload.usDeviceID = cpu_to_le16(ATOM_DEVICE_CV_SUPPORT); args 1735 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.sDacload.ucMisc = DAC_LOAD_MISC_YPrPb; args 1737 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.sDacload.usDeviceID = cpu_to_le16(ATOM_DEVICE_TV1_SUPPORT); args 1739 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c args.sDacload.ucMisc = DAC_LOAD_MISC_YPrPb; args 1742 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 44 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c PROCESS_I2C_CHANNEL_TRANSACTION_PS_ALLOCATION args; args 50 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c memset(&args, 0, sizeof(args)); args 63 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucRegIndex = 0; args 65 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucRegIndex = buf[0]; args 77 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.lpI2CDataOut = cpu_to_le16(out); args 84 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucRegIndex = 0; args 85 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.lpI2CDataOut = 0; args 88 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucFlag = flags; args 89 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucI2CSpeed = TARGET_HW_I2C_CLOCK; args 90 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucTransBytes = num; args 91 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucSlaveAddr = slave_addr << 1; args 92 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucLineNumber = chan->rec.i2c_id; args 94 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 97 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c if (args.ucStatus != HW_ASSISTED_I2C_STATUS_SUCCESS) { args 169 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c PROCESS_I2C_CHANNEL_TRANSACTION_PS_ALLOCATION args; args 172 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucRegIndex = offset; args 173 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.lpI2CDataOut = data; args 174 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucFlag = 1; args 175 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucI2CSpeed = TARGET_HW_I2C_CLOCK; args 176 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucTransBytes = 1; args 177 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucSlaveAddr = slave_addr; args 178 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c args.ucLineNumber = line_number; args 180 drivers/gpu/drm/amd/amdgpu/atombios_i2c.c amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); args 139 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_get_version_args *args = data; args 141 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->major_version = KFD_IOCTL_MAJOR_VERSION; args 142 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->minor_version = KFD_IOCTL_MINOR_VERSION; args 148 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_create_queue_args *args) args 150 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->queue_percentage > KFD_MAX_QUEUE_PERCENTAGE) { args 155 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->queue_priority > KFD_MAX_QUEUE_PRIORITY) { args 160 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if ((args->ring_base_address) && args 161 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (!access_ok((const void __user *) args->ring_base_address, args 167 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (!is_power_of_2(args->ring_size) && (args->ring_size != 0)) { args 172 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (!access_ok((const void __user *) args->read_pointer_address, args 178 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (!access_ok((const void __user *) args->write_pointer_address, args 184 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->eop_buffer_address && args 185 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c !access_ok((const void __user *) args->eop_buffer_address, args 191 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->ctx_save_restore_address && args 192 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c !access_ok((const void __user *) args->ctx_save_restore_address, args 199 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->queue_percent = args->queue_percentage; args 200 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->priority = args->queue_priority; args 201 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->queue_address = args->ring_base_address; args 202 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->queue_size = args->ring_size; args 203 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->read_ptr = (uint32_t *) args->read_pointer_address; args 204 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->write_ptr = (uint32_t *) args->write_pointer_address; args 205 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->eop_ring_buffer_address = args->eop_buffer_address; args 206 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->eop_ring_buffer_size = args->eop_buffer_size; args 208 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->ctx_save_restore_address; args 209 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->ctx_save_restore_area_size = args->ctx_save_restore_size; args 210 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->ctl_stack_size = args->ctl_stack_size; args 211 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->queue_type == KFD_IOC_QUEUE_TYPE_COMPUTE || args 212 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->queue_type == KFD_IOC_QUEUE_TYPE_COMPUTE_AQL) args 214 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c else if (args->queue_type == KFD_IOC_QUEUE_TYPE_SDMA) args 216 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c else if (args->queue_type == KFD_IOC_QUEUE_TYPE_SDMA_XGMI) args 221 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->queue_type == KFD_IOC_QUEUE_TYPE_COMPUTE_AQL) args 227 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->queue_percent, args->queue_percentage); args 230 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->priority, args->queue_priority); args 233 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->queue_address, args->ring_base_address); args 236 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->queue_size, args->ring_size); args 255 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_create_queue_args *args = data; args 266 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c err = set_queue_properties_from_user(&q_properties, args); args 270 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c pr_debug("Looking for gpu id 0x%x\n", args->gpu_id); args 271 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 273 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c pr_debug("Could not find gpu id 0x%x\n", args->gpu_id); args 293 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->queue_id = queue_id; args 297 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->doorbell_offset = KFD_MMAP_TYPE_DOORBELL; args 298 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->doorbell_offset |= KFD_MMAP_GPU_ID(args->gpu_id); args 299 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->doorbell_offset <<= PAGE_SHIFT; args 306 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->doorbell_offset |= q_properties.doorbell_off; args 310 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c pr_debug("Queue id %d was created successfully\n", args->queue_id); args 313 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->ring_base_address); args 316 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->read_pointer_address); args 319 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->write_pointer_address); args 333 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_destroy_queue_args *args = data; args 336 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->queue_id, args 341 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c retval = pqm_destroy_queue(&p->pqm, args->queue_id); args 351 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_update_queue_args *args = data; args 354 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->queue_percentage > KFD_MAX_QUEUE_PERCENTAGE) { args 359 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->queue_priority > KFD_MAX_QUEUE_PRIORITY) { args 364 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if ((args->ring_base_address) && args 365 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (!access_ok((const void __user *) args->ring_base_address, args 371 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (!is_power_of_2(args->ring_size) && (args->ring_size != 0)) { args 376 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c properties.queue_address = args->ring_base_address; args 377 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c properties.queue_size = args->ring_size; args 378 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c properties.queue_percent = args->queue_percentage; args 379 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c properties.priority = args->queue_priority; args 382 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->queue_id, p->pasid); args 386 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c retval = pqm_update_queue(&p->pqm, args->queue_id, &properties); args 398 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_set_cu_mask_args *args = data; args 400 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c uint32_t __user *cu_mask_ptr = (uint32_t __user *)args->cu_mask_ptr; args 401 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c size_t cu_mask_size = sizeof(uint32_t) * (args->num_cu_mask / 32); args 403 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if ((args->num_cu_mask % 32) != 0) { args 405 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_cu_mask); args 409 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c properties.cu_mask_count = args->num_cu_mask; args 438 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c retval = pqm_set_cu_mask(&p->pqm, args->queue_id, &properties); args 451 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_get_queue_wave_state_args *args = data; args 456 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c r = pqm_get_wave_state(&p->pqm, args->queue_id, args 457 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (void __user *)args->ctl_stack_address, args 458 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c &args->ctl_stack_used_size, args 459 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c &args->save_area_used_size); args 469 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_set_memory_policy_args *args = data; args 475 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->default_policy != KFD_IOC_CACHE_POLICY_COHERENT args 476 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c && args->default_policy != KFD_IOC_CACHE_POLICY_NONCOHERENT) { args 480 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->alternate_policy != KFD_IOC_CACHE_POLICY_COHERENT args 481 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c && args->alternate_policy != KFD_IOC_CACHE_POLICY_NONCOHERENT) { args 485 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 497 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c default_policy = (args->default_policy == KFD_IOC_CACHE_POLICY_COHERENT) args 501 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (args->alternate_policy == KFD_IOC_CACHE_POLICY_COHERENT) args 508 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (void __user *)args->alternate_aperture_base, args 509 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->alternate_aperture_size)) args 521 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_set_trap_handler_args *args = data; args 526 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 540 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->tba_addr, args 541 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->tma_addr)) args 553 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_dbg_register_args *args = data; args 560 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 607 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_dbg_unregister_args *args = data; args 611 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 645 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_dbg_address_watch_args *args = data; args 656 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 665 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c cmd_from_user = (void __user *) args->content_ptr; args 669 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if ((args->buf_size_in_bytes > MAX_ALLOWED_AW_BUFF_SIZE) || args 670 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (args->buf_size_in_bytes <= sizeof(*args) + sizeof(int) * 2) || args 676 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->buf_size_in_bytes - sizeof(*args)); args 697 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args_idx >= args->buf_size_in_bytes - sizeof(*args)) { args 721 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args_idx >= args->buf_size_in_bytes - sizeof(args)) { args 745 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_dbg_wave_control_args *args = data; args 757 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c computed_buff_size = sizeof(*args) + args 764 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 774 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->buf_size_in_bytes != computed_buff_size) { args 776 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->buf_size_in_bytes, computed_buff_size); args 780 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c cmd_from_user = (void __user *) args->content_ptr; args 788 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->buf_size_in_bytes - sizeof(*args)); args 829 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_get_clock_counters_args *args = data; args 832 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 835 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->gpu_clock_counter = amdgpu_amdkfd_get_gpu_clock_counter(dev->kgd); args 838 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->gpu_clock_counter = 0; args 841 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->cpu_clock_counter = ktime_get_raw_ns(); args 842 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->system_clock_counter = ktime_get_boottime_ns(); args 845 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->system_clock_freq = 1000000000; args 854 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_get_process_apertures_args *args = data; args 860 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_of_nodes = 0; args 870 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c &args->process_apertures[args->num_of_nodes]; args 880 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c "node id %u\n", args->num_of_nodes); args 896 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_of_nodes++; args 899 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c } while (pdd && (args->num_of_nodes < NUM_OF_SUPPORTED_GPUS)); args 910 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_get_process_apertures_new_args *args = data; args 918 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->num_of_nodes == 0) { args 930 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_of_nodes++; args 942 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_of_nodes), GFP_KERNEL); args 949 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_of_nodes = 0; args 982 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c } while (pdd && (nodes < args->num_of_nodes)); args 985 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_of_nodes = nodes; args 987 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (void __user *)args->kfd_process_device_apertures_ptr, args 1001 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_create_event_args *args = data; args 1008 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->event_page_offset) { args 1019 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c kfd = kfd_device_by_id(GET_GPU_ID(args->event_page_offset)); args 1033 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c GET_IDR_HANDLE(args->event_page_offset)); args 1036 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->event_page_offset); args 1056 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c err = kfd_event_create(filp, p, args->event_type, args 1057 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->auto_reset != 0, args->node_id, args 1058 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c &args->event_id, &args->event_trigger_data, args 1059 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c &args->event_page_offset, args 1060 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c &args->event_slot_index); args 1072 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_destroy_event_args *args = data; args 1074 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c return kfd_event_destroy(p, args->event_id); args 1080 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_set_event_args *args = data; args 1082 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c return kfd_set_event(p, args->event_id); args 1088 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_reset_event_args *args = data; args 1090 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c return kfd_reset_event(p, args->event_id); args 1096 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_wait_events_args *args = data; args 1099 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c err = kfd_wait_on_events(p, args->num_events, args 1100 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (void __user *)args->events_ptr, args 1101 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (args->wait_for_all != 0), args 1102 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->timeout, &args->wait_result); args 1109 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_set_scratch_backing_va_args *args = data; args 1114 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 1126 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c pdd->qpd.sh_hidden_private_base = args->va_addr; args 1133 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev->kgd, args->va_addr, pdd->qpd.vmid); args 1145 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_get_tile_config_args *args = data; args 1150 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 1156 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->gb_addr_config = config.gb_addr_config; args 1157 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_banks = config.num_banks; args 1158 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_ranks = config.num_ranks; args 1160 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->num_tile_configs > config.num_tile_configs) args 1161 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_tile_configs = config.num_tile_configs; args 1162 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c err = copy_to_user((void __user *)args->tile_config_ptr, args 1164 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_tile_configs * sizeof(uint32_t)); args 1166 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_tile_configs = 0; args 1170 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->num_macro_tile_configs > config.num_macro_tile_configs) args 1171 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_macro_tile_configs = args 1173 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c err = copy_to_user((void __user *)args->macro_tile_config_ptr, args 1175 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_macro_tile_configs * sizeof(uint32_t)); args 1177 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->num_macro_tile_configs = 0; args 1187 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_acquire_vm_args *args = data; args 1193 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 1197 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c drm_file = fget(args->drm_fd); args 1250 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_alloc_memory_of_gpu_args *args = data; args 1256 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c uint64_t offset = args->mmap_offset; args 1257 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c uint32_t flags = args->flags; args 1259 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->size == 0) args 1262 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 1274 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->size != kfd_doorbell_process_slice(dev)) args 1278 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->size != PAGE_SIZE) args 1294 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev->kgd, args->va_addr, args->size, args 1309 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); args 1310 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->mmap_offset = offset; args 1316 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->mmap_offset = KFD_MMAP_TYPE_MMIO | KFD_MMAP_GPU_ID(args->gpu_id); args 1317 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->mmap_offset <<= PAGE_SHIFT; args 1332 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_free_memory_of_gpu_args *args = data; args 1338 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(GET_GPU_ID(args->handle)); args 1352 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c pdd, GET_IDR_HANDLE(args->handle)); args 1366 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c pdd, GET_IDR_HANDLE(args->handle)); args 1376 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_map_memory_to_gpu_args *args = data; args 1384 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(GET_GPU_ID(args->handle)); args 1388 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (!args->n_devices) { args 1392 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->n_success > args->n_devices) { args 1397 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), args 1403 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (void __user *)args->device_ids_array_ptr, args 1404 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->n_devices * sizeof(*devices_arr)); args 1419 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c GET_IDR_HANDLE(args->handle)); args 1425 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c for (i = args->n_success; i < args->n_devices; i++) { args 1443 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c i, args->n_devices); args 1446 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->n_success = i+1; args 1458 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c for (i = 0; i < args->n_devices; i++) { args 1486 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_unmap_memory_from_gpu_args *args = data; args 1493 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(GET_GPU_ID(args->handle)); args 1497 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (!args->n_devices) { args 1501 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->n_success > args->n_devices) { args 1506 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), args 1512 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c (void __user *)args->device_ids_array_ptr, args 1513 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->n_devices * sizeof(*devices_arr)); args 1528 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c GET_IDR_HANDLE(args->handle)); args 1534 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c for (i = args->n_success; i < args->n_devices; i++) { args 1550 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c i, args->n_devices); args 1553 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->n_success = i+1; args 1573 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_get_dmabuf_info_args *args = data; args 1588 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (args->metadata_ptr) { args 1589 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c metadata_buffer = kzalloc(args->metadata_size, GFP_KERNEL); args 1595 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c r = amdgpu_amdkfd_get_dmabuf_info(dev->kgd, args->dmabuf_fd, args 1596 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c &dma_buf_kgd, &args->size, args 1597 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c metadata_buffer, args->metadata_size, args 1598 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c &args->metadata_size, &flags); args 1608 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->gpu_id = dev->id; args 1609 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->flags = flags; args 1613 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c r = copy_to_user((void __user *)args->metadata_ptr, args 1614 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c metadata_buffer, args->metadata_size); args 1628 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c struct kfd_ioctl_import_dmabuf_args *args = data; args 1637 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dev = kfd_device_by_id(args->gpu_id); args 1641 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c dmabuf = dma_buf_get(args->dmabuf_fd); args 1654 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->va_addr, pdd->vm, args 1668 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->handle = MAKE_HANDLE(args->gpu_id, idr_handle); args 356 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c va_list args; args 365 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c vaf.va = &args; args 367 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c va_start(args, msg); args 369 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c va_end(args); args 375 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c va_start(args, msg); args 376 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c n = vsnprintf(NULL, 0, msg, args); args 377 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c va_end(args); args 401 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c va_start(args, msg); args 406 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c args); args 407 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c va_end(args); args 99 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c void *args, args 103 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c hcd->handler_arg = args; args 53 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c va_list args; args 54 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c va_start(args, fmt); args 56 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c ret_vsnprintf = vsnprintf(pBuf, bufSize, fmt, args); args 58 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer_debug.c va_end(args); args 334 drivers/gpu/drm/amd/display/dc/dm_services.h #define dm_log_to_buffer(buffer, size, fmt, args)\ args 335 drivers/gpu/drm/amd/display/dc/dm_services.h vsnprintf(buffer, size, fmt, args) args 335 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct translate_from_linear_space_args *args) args 339 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (dc_fixpt_le(one, args->arg)) args 342 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (dc_fixpt_le(args->arg, dc_fixpt_neg(args->a0))) { args 343 drivers/gpu/drm/amd/display/modules/color/color_gamma.c scratch_1 = dc_fixpt_add(one, args->a3); args 345 drivers/gpu/drm/amd/display/modules/color/color_gamma.c dc_fixpt_neg(args->arg), args 346 drivers/gpu/drm/amd/display/modules/color/color_gamma.c dc_fixpt_recip(args->gamma)); args 348 drivers/gpu/drm/amd/display/modules/color/color_gamma.c scratch_1 = dc_fixpt_sub(args->a2, scratch_1); args 351 drivers/gpu/drm/amd/display/modules/color/color_gamma.c } else if (dc_fixpt_le(args->a0, args->arg)) { args 354 drivers/gpu/drm/amd/display/modules/color/color_gamma.c dc_fixpt_recip(args->gamma)); args 356 drivers/gpu/drm/amd/display/modules/color/color_gamma.c scratch_1 = dc_fixpt_add(one, args->a3); args 358 drivers/gpu/drm/amd/display/modules/color/color_gamma.c scratch_2 = dc_fixpt_pow(args->arg, args 359 drivers/gpu/drm/amd/display/modules/color/color_gamma.c dc_fixpt_recip(args->gamma)); args 368 drivers/gpu/drm/amd/display/modules/color/color_gamma.c scratch_1 = dc_fixpt_sub(scratch_1, args->a2); args 373 drivers/gpu/drm/amd/display/modules/color/color_gamma.c return dc_fixpt_mul(args->arg, args->a1); args 28 drivers/gpu/drm/arm/display/komeda/komeda_kms.c struct drm_mode_create_dumb *args) args 31 drivers/gpu/drm/arm/display/komeda/komeda_kms.c u32 pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 33 drivers/gpu/drm/arm/display/komeda/komeda_kms.c args->pitch = ALIGN(pitch, mdev->chip.bus_width); args 35 drivers/gpu/drm/arm/display/komeda/komeda_kms.c return drm_gem_cma_dumb_create_internal(file, dev, args); args 210 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c va_list args; args 212 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c va_start(args, name_fmt); args 213 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c vsnprintf(c->name, sizeof(c->name), name_fmt, args); args 214 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c va_end(args); args 461 drivers/gpu/drm/arm/malidp_drv.c struct drm_mode_create_dumb *args) args 467 drivers/gpu/drm/arm/malidp_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), alignment); args 469 drivers/gpu/drm/arm/malidp_drv.c return drm_gem_cma_dumb_create_internal(file_priv, drm, args); args 232 drivers/gpu/drm/armada/armada_gem.c struct drm_mode_create_dumb *args) args 239 drivers/gpu/drm/armada/armada_gem.c args->pitch = armada_pitch(args->width, args->bpp); args 240 drivers/gpu/drm/armada/armada_gem.c args->size = size = args->pitch * args->height; args 254 drivers/gpu/drm/armada/armada_gem.c args->handle = handle; args 267 drivers/gpu/drm/armada/armada_gem.c struct drm_armada_gem_create *args = data; args 273 drivers/gpu/drm/armada/armada_gem.c if (args->size == 0) args 276 drivers/gpu/drm/armada/armada_gem.c size = args->size; args 286 drivers/gpu/drm/armada/armada_gem.c args->handle = handle; args 299 drivers/gpu/drm/armada/armada_gem.c struct drm_armada_gem_mmap *args = data; args 303 drivers/gpu/drm/armada/armada_gem.c dobj = armada_gem_object_lookup(file, args->handle); args 312 drivers/gpu/drm/armada/armada_gem.c addr = vm_mmap(dobj->obj.filp, 0, args->size, PROT_READ | PROT_WRITE, args 313 drivers/gpu/drm/armada/armada_gem.c MAP_SHARED, args->offset); args 318 drivers/gpu/drm/armada/armada_gem.c args->addr = addr; args 326 drivers/gpu/drm/armada/armada_gem.c struct drm_armada_gem_pwrite *args = data; args 332 drivers/gpu/drm/armada/armada_gem.c args->handle, args->offset, args->size, args->ptr); args 334 drivers/gpu/drm/armada/armada_gem.c if (args->size == 0) args 337 drivers/gpu/drm/armada/armada_gem.c ptr = (char __user *)(uintptr_t)args->ptr; args 339 drivers/gpu/drm/armada/armada_gem.c if (!access_ok(ptr, args->size)) args 342 drivers/gpu/drm/armada/armada_gem.c ret = fault_in_pages_readable(ptr, args->size); args 346 drivers/gpu/drm/armada/armada_gem.c dobj = armada_gem_object_lookup(file, args->handle); args 354 drivers/gpu/drm/armada/armada_gem.c if (args->offset > dobj->obj.size || args 355 drivers/gpu/drm/armada/armada_gem.c args->size > dobj->obj.size - args->offset) { args 361 drivers/gpu/drm/armada/armada_gem.c if (copy_from_user(dobj->addr + args->offset, ptr, args->size)) { args 185 drivers/gpu/drm/cirrus/cirrus_drv.h struct drm_mode_create_dumb *args); args 96 drivers/gpu/drm/drm_crtc_internal.h struct drm_mode_create_dumb *args, args 59 drivers/gpu/drm/drm_dumb_buffers.c struct drm_mode_create_dumb *args, args 66 drivers/gpu/drm/drm_dumb_buffers.c if (!args->width || !args->height || !args->bpp) args 70 drivers/gpu/drm/drm_dumb_buffers.c if (args->bpp > U32_MAX - 8) args 72 drivers/gpu/drm/drm_dumb_buffers.c cpp = DIV_ROUND_UP(args->bpp, 8); args 73 drivers/gpu/drm/drm_dumb_buffers.c if (cpp > U32_MAX / args->width) args 75 drivers/gpu/drm/drm_dumb_buffers.c stride = cpp * args->width; args 76 drivers/gpu/drm/drm_dumb_buffers.c if (args->height > U32_MAX / stride) args 80 drivers/gpu/drm/drm_dumb_buffers.c size = args->height * stride; args 90 drivers/gpu/drm/drm_dumb_buffers.c args->handle = 0; args 91 drivers/gpu/drm/drm_dumb_buffers.c args->pitch = 0; args 92 drivers/gpu/drm/drm_dumb_buffers.c args->size = 0; args 94 drivers/gpu/drm/drm_dumb_buffers.c return dev->driver->dumb_create(file_priv, dev, args); args 120 drivers/gpu/drm/drm_dumb_buffers.c struct drm_mode_map_dumb *args = data; args 127 drivers/gpu/drm/drm_dumb_buffers.c args->handle, args 128 drivers/gpu/drm/drm_dumb_buffers.c &args->offset); args 130 drivers/gpu/drm/drm_dumb_buffers.c return drm_gem_dumb_map_offset(file_priv, dev, args->handle, args 131 drivers/gpu/drm/drm_dumb_buffers.c &args->offset); args 149 drivers/gpu/drm/drm_dumb_buffers.c struct drm_mode_destroy_dumb *args = data; args 151 drivers/gpu/drm/drm_dumb_buffers.c return drm_mode_destroy_dumb(dev, args->handle, file_priv); args 807 drivers/gpu/drm/drm_gem.c struct drm_gem_close *args = data; args 813 drivers/gpu/drm/drm_gem.c ret = drm_gem_handle_delete(file_priv, args->handle); args 833 drivers/gpu/drm/drm_gem.c struct drm_gem_flink *args = data; args 840 drivers/gpu/drm/drm_gem.c obj = drm_gem_object_lookup(file_priv, args->handle); args 859 drivers/gpu/drm/drm_gem.c args->name = (uint64_t) obj->name; args 883 drivers/gpu/drm/drm_gem.c struct drm_gem_open *args = data; args 892 drivers/gpu/drm/drm_gem.c obj = idr_find(&dev->object_name_idr, (int) args->name); args 906 drivers/gpu/drm/drm_gem.c args->handle = handle; args 907 drivers/gpu/drm/drm_gem.c args->size = obj->size; args 213 drivers/gpu/drm/drm_gem_cma_helper.c struct drm_mode_create_dumb *args) args 215 drivers/gpu/drm/drm_gem_cma_helper.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 218 drivers/gpu/drm/drm_gem_cma_helper.c if (args->pitch < min_pitch) args 219 drivers/gpu/drm/drm_gem_cma_helper.c args->pitch = min_pitch; args 221 drivers/gpu/drm/drm_gem_cma_helper.c if (args->size < args->pitch * args->height) args 222 drivers/gpu/drm/drm_gem_cma_helper.c args->size = args->pitch * args->height; args 224 drivers/gpu/drm/drm_gem_cma_helper.c cma_obj = drm_gem_cma_create_with_handle(file_priv, drm, args->size, args 225 drivers/gpu/drm/drm_gem_cma_helper.c &args->handle); args 250 drivers/gpu/drm/drm_gem_cma_helper.c struct drm_mode_create_dumb *args) args 254 drivers/gpu/drm/drm_gem_cma_helper.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 255 drivers/gpu/drm/drm_gem_cma_helper.c args->size = args->pitch * args->height; args 257 drivers/gpu/drm/drm_gem_cma_helper.c cma_obj = drm_gem_cma_create_with_handle(file_priv, drm, args->size, args 258 drivers/gpu/drm/drm_gem_cma_helper.c &args->handle); args 449 drivers/gpu/drm/drm_gem_shmem_helper.c struct drm_mode_create_dumb *args) args 451 drivers/gpu/drm/drm_gem_shmem_helper.c u32 min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 454 drivers/gpu/drm/drm_gem_shmem_helper.c if (!args->pitch || !args->size) { args 455 drivers/gpu/drm/drm_gem_shmem_helper.c args->pitch = min_pitch; args 456 drivers/gpu/drm/drm_gem_shmem_helper.c args->size = args->pitch * args->height; args 459 drivers/gpu/drm/drm_gem_shmem_helper.c if (args->pitch < min_pitch) args 460 drivers/gpu/drm/drm_gem_shmem_helper.c args->pitch = min_pitch; args 461 drivers/gpu/drm/drm_gem_shmem_helper.c if (args->size < args->pitch * args->height) args 462 drivers/gpu/drm/drm_gem_shmem_helper.c args->size = args->pitch * args->height; args 465 drivers/gpu/drm/drm_gem_shmem_helper.c shmem = drm_gem_shmem_create_with_handle(file, dev, args->size, &args->handle); args 368 drivers/gpu/drm/drm_gem_vram_helper.c struct drm_mode_create_dumb *args) args 375 drivers/gpu/drm/drm_gem_vram_helper.c pitch = args->width * ((args->bpp + 7) / 8); args 376 drivers/gpu/drm/drm_gem_vram_helper.c size = pitch * args->height; args 392 drivers/gpu/drm/drm_gem_vram_helper.c args->pitch = pitch; args 393 drivers/gpu/drm/drm_gem_vram_helper.c args->size = size; args 394 drivers/gpu/drm/drm_gem_vram_helper.c args->handle = handle; args 504 drivers/gpu/drm/drm_gem_vram_helper.c struct drm_mode_create_dumb *args) args 510 drivers/gpu/drm/drm_gem_vram_helper.c false, args); args 364 drivers/gpu/drm/drm_prime.c struct drm_prime_handle *args = data; args 370 drivers/gpu/drm/drm_prime.c args->fd, &args->handle); args 512 drivers/gpu/drm/drm_prime.c struct drm_prime_handle *args = data; args 518 drivers/gpu/drm/drm_prime.c if (args->flags & ~(DRM_CLOEXEC | DRM_RDWR)) args 522 drivers/gpu/drm/drm_prime.c args->handle, args->flags, &args->fd); args 174 drivers/gpu/drm/drm_print.c va_list args; args 176 drivers/gpu/drm/drm_print.c va_start(args, f); args 177 drivers/gpu/drm/drm_print.c drm_vprintf(p, f, &args); args 178 drivers/gpu/drm/drm_print.c va_end(args); args 186 drivers/gpu/drm/drm_print.c va_list args; args 188 drivers/gpu/drm/drm_print.c va_start(args, format); args 190 drivers/gpu/drm/drm_print.c vaf.va = &args; args 199 drivers/gpu/drm/drm_print.c va_end(args); args 207 drivers/gpu/drm/drm_print.c va_list args; args 212 drivers/gpu/drm/drm_print.c va_start(args, format); args 214 drivers/gpu/drm/drm_print.c vaf.va = &args; args 223 drivers/gpu/drm/drm_print.c va_end(args); args 230 drivers/gpu/drm/drm_print.c va_list args; args 235 drivers/gpu/drm/drm_print.c va_start(args, format); args 237 drivers/gpu/drm/drm_print.c vaf.va = &args; args 242 drivers/gpu/drm/drm_print.c va_end(args); args 249 drivers/gpu/drm/drm_print.c va_list args; args 251 drivers/gpu/drm/drm_print.c va_start(args, format); args 253 drivers/gpu/drm/drm_print.c vaf.va = &args; args 258 drivers/gpu/drm/drm_print.c va_end(args); args 687 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_create *args = data; args 693 drivers/gpu/drm/drm_syncobj.c if (args->flags & ~DRM_SYNCOBJ_CREATE_SIGNALED) args 697 drivers/gpu/drm/drm_syncobj.c &args->handle, args->flags); args 704 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_destroy *args = data; args 710 drivers/gpu/drm/drm_syncobj.c if (args->pad) args 712 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_destroy(file_private, args->handle); args 719 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_handle *args = data; args 724 drivers/gpu/drm/drm_syncobj.c if (args->pad) args 727 drivers/gpu/drm/drm_syncobj.c if (args->flags != 0 && args 728 drivers/gpu/drm/drm_syncobj.c args->flags != DRM_SYNCOBJ_HANDLE_TO_FD_FLAGS_EXPORT_SYNC_FILE) args 731 drivers/gpu/drm/drm_syncobj.c if (args->flags & DRM_SYNCOBJ_HANDLE_TO_FD_FLAGS_EXPORT_SYNC_FILE) args 732 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_export_sync_file(file_private, args->handle, args 733 drivers/gpu/drm/drm_syncobj.c &args->fd); args 735 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_handle_to_fd(file_private, args->handle, args 736 drivers/gpu/drm/drm_syncobj.c &args->fd); args 743 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_handle *args = data; args 748 drivers/gpu/drm/drm_syncobj.c if (args->pad) args 751 drivers/gpu/drm/drm_syncobj.c if (args->flags != 0 && args 752 drivers/gpu/drm/drm_syncobj.c args->flags != DRM_SYNCOBJ_FD_TO_HANDLE_FLAGS_IMPORT_SYNC_FILE) args 755 drivers/gpu/drm/drm_syncobj.c if (args->flags & DRM_SYNCOBJ_FD_TO_HANDLE_FLAGS_IMPORT_SYNC_FILE) args 757 drivers/gpu/drm/drm_syncobj.c args->fd, args 758 drivers/gpu/drm/drm_syncobj.c args->handle); args 760 drivers/gpu/drm/drm_syncobj.c return drm_syncobj_fd_to_handle(file_private, args->fd, args 761 drivers/gpu/drm/drm_syncobj.c &args->handle); args 765 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_transfer *args) args 772 drivers/gpu/drm/drm_syncobj.c timeline_syncobj = drm_syncobj_find(file_private, args->dst_handle); args 776 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_find_fence(file_private, args->src_handle, args 777 drivers/gpu/drm/drm_syncobj.c args->src_point, args->flags, args 786 drivers/gpu/drm/drm_syncobj.c drm_syncobj_add_point(timeline_syncobj, chain, fence, args->dst_point); args 797 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_transfer *args) args 803 drivers/gpu/drm/drm_syncobj.c binary_syncobj = drm_syncobj_find(file_private, args->dst_handle); args 806 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_find_fence(file_private, args->src_handle, args 807 drivers/gpu/drm/drm_syncobj.c args->src_point, args->flags, &fence); args 821 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_transfer *args = data; args 827 drivers/gpu/drm/drm_syncobj.c if (args->pad) args 830 drivers/gpu/drm/drm_syncobj.c if (args->dst_point) args 831 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_transfer_to_timeline(file_private, args); args 833 drivers/gpu/drm/drm_syncobj.c ret = drm_syncobj_transfer_to_binary(file_private, args); args 1138 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_wait *args = data; args 1145 drivers/gpu/drm/drm_syncobj.c if (args->flags & ~(DRM_SYNCOBJ_WAIT_FLAGS_WAIT_ALL | args 1149 drivers/gpu/drm/drm_syncobj.c if (args->count_handles == 0) args 1153 drivers/gpu/drm/drm_syncobj.c u64_to_user_ptr(args->handles), args 1154 drivers/gpu/drm/drm_syncobj.c args->count_handles, args 1160 drivers/gpu/drm/drm_syncobj.c args, NULL, syncobjs, false); args 1162 drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_free(syncobjs, args->count_handles); args 1171 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_timeline_wait *args = data; args 1178 drivers/gpu/drm/drm_syncobj.c if (args->flags & ~(DRM_SYNCOBJ_WAIT_FLAGS_WAIT_ALL | args 1183 drivers/gpu/drm/drm_syncobj.c if (args->count_handles == 0) args 1187 drivers/gpu/drm/drm_syncobj.c u64_to_user_ptr(args->handles), args 1188 drivers/gpu/drm/drm_syncobj.c args->count_handles, args 1194 drivers/gpu/drm/drm_syncobj.c NULL, args, syncobjs, true); args 1196 drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_free(syncobjs, args->count_handles); args 1206 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_array *args = data; args 1214 drivers/gpu/drm/drm_syncobj.c if (args->pad != 0) args 1217 drivers/gpu/drm/drm_syncobj.c if (args->count_handles == 0) args 1221 drivers/gpu/drm/drm_syncobj.c u64_to_user_ptr(args->handles), args 1222 drivers/gpu/drm/drm_syncobj.c args->count_handles, args 1227 drivers/gpu/drm/drm_syncobj.c for (i = 0; i < args->count_handles; i++) args 1230 drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_free(syncobjs, args->count_handles); args 1239 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_array *args = data; args 1247 drivers/gpu/drm/drm_syncobj.c if (args->pad != 0) args 1250 drivers/gpu/drm/drm_syncobj.c if (args->count_handles == 0) args 1254 drivers/gpu/drm/drm_syncobj.c u64_to_user_ptr(args->handles), args 1255 drivers/gpu/drm/drm_syncobj.c args->count_handles, args 1260 drivers/gpu/drm/drm_syncobj.c for (i = 0; i < args->count_handles; i++) args 1263 drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_free(syncobjs, args->count_handles); args 1272 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_timeline_array *args = data; args 1282 drivers/gpu/drm/drm_syncobj.c if (args->pad != 0) args 1285 drivers/gpu/drm/drm_syncobj.c if (args->count_handles == 0) args 1289 drivers/gpu/drm/drm_syncobj.c u64_to_user_ptr(args->handles), args 1290 drivers/gpu/drm/drm_syncobj.c args->count_handles, args 1295 drivers/gpu/drm/drm_syncobj.c points = kmalloc_array(args->count_handles, sizeof(*points), args 1301 drivers/gpu/drm/drm_syncobj.c if (!u64_to_user_ptr(args->points)) { args 1302 drivers/gpu/drm/drm_syncobj.c memset(points, 0, args->count_handles * sizeof(uint64_t)); args 1303 drivers/gpu/drm/drm_syncobj.c } else if (copy_from_user(points, u64_to_user_ptr(args->points), args 1304 drivers/gpu/drm/drm_syncobj.c sizeof(uint64_t) * args->count_handles)) { args 1309 drivers/gpu/drm/drm_syncobj.c chains = kmalloc_array(args->count_handles, sizeof(void *), GFP_KERNEL); args 1314 drivers/gpu/drm/drm_syncobj.c for (i = 0; i < args->count_handles; i++) { args 1324 drivers/gpu/drm/drm_syncobj.c for (i = 0; i < args->count_handles; i++) { args 1336 drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_free(syncobjs, args->count_handles); args 1344 drivers/gpu/drm/drm_syncobj.c struct drm_syncobj_timeline_array *args = data; args 1346 drivers/gpu/drm/drm_syncobj.c uint64_t __user *points = u64_to_user_ptr(args->points); args 1353 drivers/gpu/drm/drm_syncobj.c if (args->pad != 0) args 1356 drivers/gpu/drm/drm_syncobj.c if (args->count_handles == 0) args 1360 drivers/gpu/drm/drm_syncobj.c u64_to_user_ptr(args->handles), args 1361 drivers/gpu/drm/drm_syncobj.c args->count_handles, args 1366 drivers/gpu/drm/drm_syncobj.c for (i = 0; i < args->count_handles; i++) { args 1398 drivers/gpu/drm/drm_syncobj.c drm_syncobj_array_free(syncobjs, args->count_handles); args 259 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_param *args = data; args 262 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) args 265 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; args 269 drivers/gpu/drm/etnaviv/etnaviv_drv.c return etnaviv_gpu_get_param(gpu, args->param, &args->value); args 275 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_gem_new *args = data; args 277 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->flags & ~(ETNA_BO_CACHED | ETNA_BO_WC | ETNA_BO_UNCACHED | args 281 drivers/gpu/drm/etnaviv/etnaviv_drv.c return etnaviv_gem_new_handle(dev, file, args->size, args 282 drivers/gpu/drm/etnaviv/etnaviv_drv.c args->flags, &args->handle); args 293 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_gem_cpu_prep *args = data; args 297 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->op & ~(ETNA_PREP_READ | ETNA_PREP_WRITE | ETNA_PREP_NOSYNC)) args 300 drivers/gpu/drm/etnaviv/etnaviv_drv.c obj = drm_gem_object_lookup(file, args->handle); args 304 drivers/gpu/drm/etnaviv/etnaviv_drv.c ret = etnaviv_gem_cpu_prep(obj, args->op, &TS(args->timeout)); args 314 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_gem_cpu_fini *args = data; args 318 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->flags) args 321 drivers/gpu/drm/etnaviv/etnaviv_drv.c obj = drm_gem_object_lookup(file, args->handle); args 335 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_gem_info *args = data; args 339 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pad) args 342 drivers/gpu/drm/etnaviv/etnaviv_drv.c obj = drm_gem_object_lookup(file, args->handle); args 346 drivers/gpu/drm/etnaviv/etnaviv_drv.c ret = etnaviv_gem_mmap_offset(obj, &args->offset); args 355 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_wait_fence *args = data; args 357 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct timespec *timeout = &TS(args->timeout); args 360 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->flags & ~(ETNA_WAIT_NONBLOCK)) args 363 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) args 366 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; args 370 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->flags & ETNA_WAIT_NONBLOCK) args 373 drivers/gpu/drm/etnaviv/etnaviv_drv.c return etnaviv_gpu_wait_fence_interruptible(gpu, args->fence, args 380 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_gem_userptr *args = data; args 382 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->flags & ~(ETNA_USERPTR_READ|ETNA_USERPTR_WRITE) || args 383 drivers/gpu/drm/etnaviv/etnaviv_drv.c args->flags == 0) args 386 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (offset_in_page(args->user_ptr | args->user_size) || args 387 drivers/gpu/drm/etnaviv/etnaviv_drv.c (uintptr_t)args->user_ptr != args->user_ptr || args 388 drivers/gpu/drm/etnaviv/etnaviv_drv.c (u32)args->user_size != args->user_size || args 389 drivers/gpu/drm/etnaviv/etnaviv_drv.c args->user_ptr & ~PAGE_MASK) args 392 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (!access_ok((void __user *)(unsigned long)args->user_ptr, args 393 drivers/gpu/drm/etnaviv/etnaviv_drv.c args->user_size)) args 396 drivers/gpu/drm/etnaviv/etnaviv_drv.c return etnaviv_gem_new_userptr(dev, file, args->user_ptr, args 397 drivers/gpu/drm/etnaviv/etnaviv_drv.c args->user_size, args->flags, args 398 drivers/gpu/drm/etnaviv/etnaviv_drv.c &args->handle); args 405 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_gem_wait *args = data; args 406 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct timespec *timeout = &TS(args->timeout); args 411 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->flags & ~(ETNA_WAIT_NONBLOCK)) args 414 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) args 417 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; args 421 drivers/gpu/drm/etnaviv/etnaviv_drv.c obj = drm_gem_object_lookup(file, args->handle); args 425 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->flags & ETNA_WAIT_NONBLOCK) args 439 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_pm_domain *args = data; args 442 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) args 445 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; args 449 drivers/gpu/drm/etnaviv/etnaviv_drv.c return etnaviv_pm_query_dom(gpu, args); args 456 drivers/gpu/drm/etnaviv/etnaviv_drv.c struct drm_etnaviv_pm_signal *args = data; args 459 drivers/gpu/drm/etnaviv/etnaviv_drv.c if (args->pipe >= ETNA_MAX_PIPES) args 462 drivers/gpu/drm/etnaviv/etnaviv_drv.c gpu = priv->gpu[args->pipe]; args 466 drivers/gpu/drm/etnaviv/etnaviv_drv.c return etnaviv_pm_query_sig(gpu, args); args 431 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c struct drm_etnaviv_gem_submit *args = data; args 443 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (args->pipe >= ETNA_MAX_PIPES) args 446 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c gpu = priv->gpu[args->pipe]; args 450 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (args->stream_size % 4) { args 452 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c args->stream_size); args 456 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (args->exec_state != ETNA_PIPE_3D && args 457 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c args->exec_state != ETNA_PIPE_2D && args 458 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c args->exec_state != ETNA_PIPE_VG) { args 459 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c DRM_ERROR("invalid exec_state: 0x%x\n", args->exec_state); args 463 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (args->flags & ~ETNA_SUBMIT_FLAGS) { args 464 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c DRM_ERROR("invalid flags: 0x%x\n", args->flags); args 468 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if ((args->flags & ETNA_SUBMIT_SOFTPIN) && args 478 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c bos = kvmalloc_array(args->nr_bos, sizeof(*bos), GFP_KERNEL); args 479 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c relocs = kvmalloc_array(args->nr_relocs, sizeof(*relocs), GFP_KERNEL); args 480 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c pmrs = kvmalloc_array(args->nr_pmrs, sizeof(*pmrs), GFP_KERNEL); args 481 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c stream = kvmalloc_array(1, args->stream_size, GFP_KERNEL); args 487 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = copy_from_user(bos, u64_to_user_ptr(args->bos), args 488 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c args->nr_bos * sizeof(*bos)); args 494 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = copy_from_user(relocs, u64_to_user_ptr(args->relocs), args 495 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c args->nr_relocs * sizeof(*relocs)); args 501 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = copy_from_user(pmrs, u64_to_user_ptr(args->pmrs), args 502 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c args->nr_pmrs * sizeof(*pmrs)); args 508 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = copy_from_user(stream, u64_to_user_ptr(args->stream), args 509 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c args->stream_size); args 515 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (args->flags & ETNA_SUBMIT_FENCE_FD_OUT) { args 525 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c submit = submit_create(dev, gpu, args->nr_bos, args->nr_pmrs); args 532 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ALIGN(args->stream_size, 8) + 8); args 539 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c submit->exec_state = args->exec_state; args 540 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c submit->flags = args->flags; args 542 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = submit_lookup_objects(submit, file, bos, args->nr_bos); args 547 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c !etnaviv_cmd_validate_one(gpu, stream, args->stream_size / 4, args 548 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c relocs, args->nr_relocs)) { args 553 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (args->flags & ETNA_SUBMIT_FENCE_FD_IN) { args 554 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c submit->in_fence = sync_file_get_fence(args->fence_fd); args 565 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = submit_reloc(submit, stream, args->stream_size / 4, args 566 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c relocs, args->nr_relocs); args 570 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = submit_perfmon_validate(submit, args->exec_state, pmrs); args 574 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c memcpy(submit->cmdbuf.vaddr, stream, args->stream_size); args 584 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c ret = etnaviv_sched_push_job(&ctx->sched_entity[args->pipe], submit); args 590 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c if (args->flags & ETNA_SUBMIT_FENCE_FD_OUT) { args 605 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c args->fence_fd = out_fence_fd; args 606 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c args->fence = submit->out_fence_id; args 253 drivers/gpu/drm/exynos/exynos_drm_gem.c struct drm_exynos_gem_create *args = data; args 257 drivers/gpu/drm/exynos/exynos_drm_gem.c exynos_gem = exynos_drm_gem_create(dev, args->flags, args->size); args 262 drivers/gpu/drm/exynos/exynos_drm_gem.c &args->handle); args 274 drivers/gpu/drm/exynos/exynos_drm_gem.c struct drm_exynos_gem_map *args = data; args 276 drivers/gpu/drm/exynos/exynos_drm_gem.c return drm_gem_dumb_map_offset(file_priv, dev, args->handle, args 277 drivers/gpu/drm/exynos/exynos_drm_gem.c &args->offset); args 322 drivers/gpu/drm/exynos/exynos_drm_gem.c struct drm_exynos_gem_info *args = data; args 325 drivers/gpu/drm/exynos/exynos_drm_gem.c obj = drm_gem_object_lookup(file_priv, args->handle); args 333 drivers/gpu/drm/exynos/exynos_drm_gem.c args->flags = exynos_gem->flags; args 334 drivers/gpu/drm/exynos/exynos_drm_gem.c args->size = exynos_gem->size; args 348 drivers/gpu/drm/exynos/exynos_drm_gem.c struct drm_mode_create_dumb *args) args 360 drivers/gpu/drm/exynos/exynos_drm_gem.c args->pitch = args->width * ((args->bpp + 7) / 8); args 361 drivers/gpu/drm/exynos/exynos_drm_gem.c args->size = args->pitch * args->height; args 368 drivers/gpu/drm/exynos/exynos_drm_gem.c exynos_gem = exynos_drm_gem_create(dev, flags, args->size); args 375 drivers/gpu/drm/exynos/exynos_drm_gem.c &args->handle); args 102 drivers/gpu/drm/exynos/exynos_drm_gem.h struct drm_mode_create_dumb *args); args 101 drivers/gpu/drm/gma500/gem.c struct drm_mode_create_dumb *args) args 103 drivers/gpu/drm/gma500/gem.c args->pitch = ALIGN(args->width * ((args->bpp + 7) / 8), 64); args 104 drivers/gpu/drm/gma500/gem.c args->size = args->pitch * args->height; args 105 drivers/gpu/drm/gma500/gem.c return psb_gem_create(file, dev, args->size, &args->handle, 0, args 740 drivers/gpu/drm/gma500/psb_drv.h struct drm_mode_create_dumb *args); args 402 drivers/gpu/drm/gma500/psb_intel_sdvo.c const void *args, int args_len) args 409 drivers/gpu/drm/gma500/psb_intel_sdvo.c DRM_DEBUG_KMS("%02X ", ((u8 *)args)[i]); args 436 drivers/gpu/drm/gma500/psb_intel_sdvo.c const void *args, int args_len) args 447 drivers/gpu/drm/gma500/psb_intel_sdvo.c psb_intel_sdvo_debug_write(psb_intel_sdvo, cmd, args, args_len); args 455 drivers/gpu/drm/gma500/psb_intel_sdvo.c buf[2*i + 1] = ((u8*)args)[i]; args 694 drivers/gpu/drm/gma500/psb_intel_sdvo.c struct psb_intel_sdvo_preferred_input_timing_args args; args 696 drivers/gpu/drm/gma500/psb_intel_sdvo.c memset(&args, 0, sizeof(args)); args 697 drivers/gpu/drm/gma500/psb_intel_sdvo.c args.clock = clock; args 698 drivers/gpu/drm/gma500/psb_intel_sdvo.c args.width = width; args 699 drivers/gpu/drm/gma500/psb_intel_sdvo.c args.height = height; args 700 drivers/gpu/drm/gma500/psb_intel_sdvo.c args.interlace = 0; args 705 drivers/gpu/drm/gma500/psb_intel_sdvo.c args.scaled = 1; args 709 drivers/gpu/drm/gma500/psb_intel_sdvo.c &args, sizeof(args)); args 72 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h struct drm_mode_create_dumb *args); args 74 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c struct drm_mode_create_dumb *args) args 80 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c args->pitch = ALIGN(args->width * DIV_ROUND_UP(args->bpp, 8), 16); args 81 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c args->size = args->pitch * args->height; args 83 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c ret = hibmc_gem_create(dev, args->size, false, args 97 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c args->handle = handle; args 12506 drivers/gpu/drm/i915/display/intel_display.c va_list args; args 12508 drivers/gpu/drm/i915/display/intel_display.c va_start(args, format); args 12510 drivers/gpu/drm/i915/display/intel_display.c vaf.va = &args; args 12517 drivers/gpu/drm/i915/display/intel_display.c va_end(args); args 496 drivers/gpu/drm/i915/display/intel_dpio_phy.c va_list args; args 503 drivers/gpu/drm/i915/display/intel_dpio_phy.c va_start(args, reg_fmt); args 505 drivers/gpu/drm/i915/display/intel_dpio_phy.c vaf.va = &args; args 512 drivers/gpu/drm/i915/display/intel_dpio_phy.c va_end(args); args 413 drivers/gpu/drm/i915/display/intel_sdvo.c const void *args, int args_len) args 420 drivers/gpu/drm/i915/display/intel_sdvo.c #define BUF_PRINT(args...) \ args 421 drivers/gpu/drm/i915/display/intel_sdvo.c pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) args 425 drivers/gpu/drm/i915/display/intel_sdvo.c BUF_PRINT("%02X ", ((u8 *)args)[i]); args 462 drivers/gpu/drm/i915/display/intel_sdvo.c const void *args, int args_len, args 480 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_debug_write(intel_sdvo, cmd, args, args_len); args 488 drivers/gpu/drm/i915/display/intel_sdvo.c buf[2*i + 1] = ((u8*)args)[i]; args 531 drivers/gpu/drm/i915/display/intel_sdvo.c const void *args, int args_len) args 533 drivers/gpu/drm/i915/display/intel_sdvo.c return __intel_sdvo_write_cmd(intel_sdvo, cmd, args, args_len, true); args 583 drivers/gpu/drm/i915/display/intel_sdvo.c #define BUF_PRINT(args...) \ args 584 drivers/gpu/drm/i915/display/intel_sdvo.c pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) args 788 drivers/gpu/drm/i915/display/intel_sdvo.c struct intel_sdvo_preferred_input_timing_args args; args 790 drivers/gpu/drm/i915/display/intel_sdvo.c memset(&args, 0, sizeof(args)); args 791 drivers/gpu/drm/i915/display/intel_sdvo.c args.clock = clock; args 792 drivers/gpu/drm/i915/display/intel_sdvo.c args.width = width; args 793 drivers/gpu/drm/i915/display/intel_sdvo.c args.height = height; args 794 drivers/gpu/drm/i915/display/intel_sdvo.c args.interlace = 0; args 802 drivers/gpu/drm/i915/display/intel_sdvo.c args.scaled = 1; args 807 drivers/gpu/drm/i915/display/intel_sdvo.c &args, sizeof(args)); args 83 drivers/gpu/drm/i915/gem/i915_gem_busy.c struct drm_i915_gem_busy *args = data; args 91 drivers/gpu/drm/i915/gem/i915_gem_busy.c obj = i915_gem_object_lookup_rcu(file, args->handle); args 116 drivers/gpu/drm/i915/gem/i915_gem_busy.c args->busy = args 128 drivers/gpu/drm/i915/gem/i915_gem_busy.c args->busy |= busy_check_reader(fence); args 132 drivers/gpu/drm/i915/gem/i915_gem_busy.c if (args->busy && read_seqcount_retry(&obj->base.resv->seq, seq)) args 768 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_vm_control *args = data; args 776 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->flags) args 785 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->extensions) { args 786 drivers/gpu/drm/i915/gem/i915_gem_context.c err = i915_user_extensions(u64_to_user_ptr(args->extensions), args 805 drivers/gpu/drm/i915/gem/i915_gem_context.c args->vm_id = err; args 819 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_vm_control *args = data; args 824 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->flags) args 827 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->extensions) args 830 drivers/gpu/drm/i915/gem/i915_gem_context.c id = args->vm_id; args 936 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_param *args) args 963 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = 0; args 964 drivers/gpu/drm/i915/gem/i915_gem_context.c args->value = ret; args 1045 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_param *args) args 1050 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size) args 1056 drivers/gpu/drm/i915/gem/i915_gem_context.c if (upper_32_bits(args->value)) args 1063 drivers/gpu/drm/i915/gem/i915_gem_context.c vm = idr_find(&file_priv->vm_idr, args->value); args 1303 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_param *args) args 1312 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size < sizeof(user_sseu)) args 1318 drivers/gpu/drm/i915/gem/i915_gem_context.c if (copy_from_user(&user_sseu, u64_to_user_ptr(args->value), args 1350 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = sizeof(user_sseu); args 1544 drivers/gpu/drm/i915/gem/i915_gem_context.c const struct drm_i915_gem_context_param *args) args 1547 drivers/gpu/drm/i915/gem/i915_gem_context.c u64_to_user_ptr(args->value); args 1553 drivers/gpu/drm/i915/gem/i915_gem_context.c if (!args->size) { /* switch back to legacy user_ring_map */ args 1565 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size < sizeof(*user) || args 1566 drivers/gpu/drm/i915/gem/i915_gem_context.c !IS_ALIGNED(args->size, sizeof(*user->engines))) { args 1568 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size); args 1576 drivers/gpu/drm/i915/gem/i915_gem_context.c num_engines = (args->size - sizeof(*user)) / sizeof(*user->engines); args 1633 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size) args 1669 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_param *args) args 1685 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = 0; args 1696 drivers/gpu/drm/i915/gem/i915_gem_context.c if (overflows_type(size, args->size)) { args 1701 drivers/gpu/drm/i915/gem/i915_gem_context.c if (!args->size) { args 1702 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = size; args 1706 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size < size) { args 1711 drivers/gpu/drm/i915/gem/i915_gem_context.c user = u64_to_user_ptr(args->value); args 1739 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = size; args 1748 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_param *args) args 1752 drivers/gpu/drm/i915/gem/i915_gem_context.c switch (args->param) { args 1754 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size) args 1756 drivers/gpu/drm/i915/gem/i915_gem_context.c else if (args->value) args 1763 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size) args 1765 drivers/gpu/drm/i915/gem/i915_gem_context.c else if (args->value) args 1772 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size) args 1774 drivers/gpu/drm/i915/gem/i915_gem_context.c else if (!capable(CAP_SYS_ADMIN) && !args->value) args 1776 drivers/gpu/drm/i915/gem/i915_gem_context.c else if (args->value) args 1783 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size) args 1785 drivers/gpu/drm/i915/gem/i915_gem_context.c else if (args->value) args 1793 drivers/gpu/drm/i915/gem/i915_gem_context.c s64 priority = args->value; args 1795 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size) args 1812 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = set_sseu(ctx, args); args 1816 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = set_ppgtt(fpriv, ctx, args); args 1820 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = set_engines(ctx, args); args 2080 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_create_ext *args = data; args 2087 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->flags & I915_CONTEXT_CREATE_FLAGS_UNKNOWN) args 2105 drivers/gpu/drm/i915/gem/i915_gem_context.c ext_data.ctx = i915_gem_create_context(i915, args->flags); args 2110 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->flags & I915_CONTEXT_CREATE_FLAGS_USE_EXTENSIONS) { args 2111 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = i915_user_extensions(u64_to_user_ptr(args->extensions), args 2123 drivers/gpu/drm/i915/gem/i915_gem_context.c args->ctx_id = ret; args 2124 drivers/gpu/drm/i915/gem/i915_gem_context.c DRM_DEBUG("HW context %d created\n", args->ctx_id); args 2136 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_destroy *args = data; args 2140 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->pad != 0) args 2143 drivers/gpu/drm/i915/gem/i915_gem_context.c if (!args->ctx_id) args 2149 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx = idr_remove(&file_priv->context_idr, args->ctx_id); args 2159 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_param *args) args 2166 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->size == 0) args 2168 drivers/gpu/drm/i915/gem/i915_gem_context.c else if (args->size < sizeof(user_sseu)) args 2171 drivers/gpu/drm/i915/gem/i915_gem_context.c if (copy_from_user(&user_sseu, u64_to_user_ptr(args->value), args 2203 drivers/gpu/drm/i915/gem/i915_gem_context.c if (copy_to_user(u64_to_user_ptr(args->value), &user_sseu, args 2208 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = sizeof(user_sseu); args 2217 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_param *args = data; args 2221 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx = i915_gem_context_lookup(file_priv, args->ctx_id); args 2225 drivers/gpu/drm/i915/gem/i915_gem_context.c switch (args->param) { args 2227 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = 0; args 2228 drivers/gpu/drm/i915/gem/i915_gem_context.c args->value = test_bit(UCONTEXT_NO_ZEROMAP, &ctx->user_flags); args 2232 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = 0; args 2234 drivers/gpu/drm/i915/gem/i915_gem_context.c args->value = ctx->vm->total; args 2236 drivers/gpu/drm/i915/gem/i915_gem_context.c args->value = to_i915(dev)->ggtt.alias->vm.total; args 2238 drivers/gpu/drm/i915/gem/i915_gem_context.c args->value = to_i915(dev)->ggtt.vm.total; args 2242 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = 0; args 2243 drivers/gpu/drm/i915/gem/i915_gem_context.c args->value = i915_gem_context_no_error_capture(ctx); args 2247 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = 0; args 2248 drivers/gpu/drm/i915/gem/i915_gem_context.c args->value = i915_gem_context_is_bannable(ctx); args 2252 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = 0; args 2253 drivers/gpu/drm/i915/gem/i915_gem_context.c args->value = i915_gem_context_is_recoverable(ctx); args 2257 drivers/gpu/drm/i915/gem/i915_gem_context.c args->size = 0; args 2258 drivers/gpu/drm/i915/gem/i915_gem_context.c args->value = ctx->sched.priority >> I915_USER_PRIORITY_SHIFT; args 2262 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = get_sseu(ctx, args); args 2266 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = get_ppgtt(file_priv, ctx, args); args 2270 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = get_engines(ctx, args); args 2287 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_gem_context_param *args = data; args 2291 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx = i915_gem_context_lookup(file_priv, args->ctx_id); args 2295 drivers/gpu/drm/i915/gem/i915_gem_context.c ret = ctx_setparam(file_priv, ctx, args); args 2305 drivers/gpu/drm/i915/gem/i915_gem_context.c struct drm_i915_reset_stats *args = data; args 2309 drivers/gpu/drm/i915/gem/i915_gem_context.c if (args->flags || args->pad) args 2314 drivers/gpu/drm/i915/gem/i915_gem_context.c ctx = __i915_gem_context_lookup_rcu(file->driver_priv, args->ctx_id); args 2326 drivers/gpu/drm/i915/gem/i915_gem_context.c args->reset_count = i915_reset_count(&dev_priv->gpu_error); args 2328 drivers/gpu/drm/i915/gem/i915_gem_context.c args->reset_count = 0; args 2330 drivers/gpu/drm/i915/gem/i915_gem_context.c args->batch_active = atomic_read(&ctx->guilty_count); args 2331 drivers/gpu/drm/i915/gem/i915_gem_context.c args->batch_pending = atomic_read(&ctx->active_count); args 308 drivers/gpu/drm/i915/gem/i915_gem_domain.c struct drm_i915_gem_caching *args = data; args 313 drivers/gpu/drm/i915/gem/i915_gem_domain.c obj = i915_gem_object_lookup_rcu(file, args->handle); args 322 drivers/gpu/drm/i915/gem/i915_gem_domain.c args->caching = I915_CACHING_CACHED; args 326 drivers/gpu/drm/i915/gem/i915_gem_domain.c args->caching = I915_CACHING_DISPLAY; args 330 drivers/gpu/drm/i915/gem/i915_gem_domain.c args->caching = I915_CACHING_NONE; args 342 drivers/gpu/drm/i915/gem/i915_gem_domain.c struct drm_i915_gem_caching *args = data; args 347 drivers/gpu/drm/i915/gem/i915_gem_domain.c switch (args->caching) { args 370 drivers/gpu/drm/i915/gem/i915_gem_domain.c obj = i915_gem_object_lookup(file, args->handle); args 584 drivers/gpu/drm/i915/gem/i915_gem_domain.c struct drm_i915_gem_set_domain *args = data; args 586 drivers/gpu/drm/i915/gem/i915_gem_domain.c u32 read_domains = args->read_domains; args 587 drivers/gpu/drm/i915/gem/i915_gem_domain.c u32 write_domain = args->write_domain; args 604 drivers/gpu/drm/i915/gem/i915_gem_domain.c obj = i915_gem_object_lookup(file, args->handle); args 219 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c struct drm_i915_gem_execbuffer2 *args; /** ioctl parameters */ args 301 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb->args->batch_len); args 306 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (!(eb->args->flags & I915_EXEC_HANDLE_LUT)) { args 500 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (!(eb->args->flags & __EXEC_VALIDATED)) { args 549 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb->args->flags |= __EXEC_HAS_RELOC; args 617 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb->args->flags |= __EXEC_HAS_RELOC; args 716 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (eb->args->flags & I915_EXEC_BATCH_FIRST) args 726 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c ctx = i915_gem_context_lookup(eb->file->driver_priv, eb->args->rsvd1); args 818 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb->args->flags |= __EXEC_VALIDATED; args 1792 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (eb->args->flags & __EXEC_HAS_RELOC) { args 2079 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (eb->args->flags & I915_EXEC_GEN7_SOL_RESET) { args 2285 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c struct drm_i915_gem_execbuffer2 *args) args 2288 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c unsigned int user_ring_id = args->flags & I915_EXEC_RING_MASK; args 2291 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c (args->flags & I915_EXEC_BSD_MASK)) { args 2293 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c "bsd dispatch flags: %d\n", (int)(args->flags)); args 2298 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c unsigned int bsd_idx = args->flags & I915_EXEC_BSD_MASK; args 2326 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c struct drm_i915_gem_execbuffer2 *args) args 2333 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c idx = args->flags & I915_EXEC_RING_MASK; args 2335 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c idx = eb_select_legacy_ring(eb, file, args); args 2356 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c get_fence_array(struct drm_i915_gem_execbuffer2 *args, args 2359 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c const unsigned long nfences = args->num_cliprects; args 2365 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (!(args->flags & I915_EXEC_FENCE_ARRAY)) args 2375 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c user = u64_to_user_ptr(args->cliprects_ptr); args 2419 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c put_fence_array(struct drm_i915_gem_execbuffer2 *args, args 2423 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c __free_fence_array(fences, args->num_cliprects); args 2430 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c const unsigned int nfences = eb->args->num_cliprects; args 2460 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c const unsigned int nfences = eb->args->num_cliprects; args 2479 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c struct drm_i915_gem_execbuffer2 *args, args 2497 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb.args = args; args 2498 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (DBG_FORCE_RELOC || !(args->flags & I915_EXEC_NO_RELOC)) args 2499 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c args->flags |= __EXEC_HAS_RELOC; args 2502 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb.vma = (struct i915_vma **)(exec + args->buffer_count + 1); args 2504 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb.flags = (unsigned int *)(eb.vma + args->buffer_count + 1); args 2509 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb.buffer_count = args->buffer_count; args 2510 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb.batch_start_offset = args->batch_start_offset; args 2511 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c eb.batch_len = args->batch_len; args 2514 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (args->flags & I915_EXEC_SECURE) { args 2527 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (args->flags & I915_EXEC_IS_PINNED) args 2530 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (args->flags & I915_EXEC_FENCE_IN) { args 2531 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c in_fence = sync_file_get_fence(lower_32_bits(args->rsvd2)); args 2536 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (args->flags & I915_EXEC_FENCE_SUBMIT) { args 2542 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec_fence = sync_file_get_fence(lower_32_bits(args->rsvd2)); args 2549 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (args->flags & I915_EXEC_FENCE_OUT) { args 2567 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c err = eb_pin_engine(&eb, file, args); args 2584 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c args->flags &= ~__EXEC_HAS_RELOC; args 2699 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c args->rsvd2 &= GENMASK_ULL(31, 0); /* keep in-fence */ args 2700 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c args->rsvd2 |= (u64)out_fence_fd << 32; args 2760 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c struct drm_i915_gem_execbuffer *args = data; args 2764 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c const size_t count = args->buffer_count; args 2773 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec2.buffers_ptr = args->buffers_ptr; args 2774 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec2.buffer_count = args->buffer_count; args 2775 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec2.batch_start_offset = args->batch_start_offset; args 2776 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec2.batch_len = args->batch_len; args 2777 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec2.DR1 = args->DR1; args 2778 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec2.DR4 = args->DR4; args 2779 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec2.num_cliprects = args->num_cliprects; args 2780 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec2.cliprects_ptr = args->cliprects_ptr; args 2794 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c args->buffer_count); args 2800 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c u64_to_user_ptr(args->buffers_ptr), args 2804 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c args->buffer_count, err); args 2810 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c for (i = 0; i < args->buffer_count; i++) { args 2825 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c u64_to_user_ptr(args->buffers_ptr); args 2828 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c for (i = 0; i < args->buffer_count; i++) { args 2851 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c struct drm_i915_gem_execbuffer2 *args = data; args 2854 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c const size_t count = args->buffer_count; args 2862 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (!i915_gem_check_execbuffer(args)) args 2874 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c u64_to_user_ptr(args->buffers_ptr), args 2881 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (args->flags & I915_EXEC_FENCE_ARRAY) { args 2882 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c fences = get_fence_array(args, file); args 2889 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c err = i915_gem_do_execbuffer(dev, file, args, exec2_list, fences); args 2897 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (args->flags & __EXEC_HAS_RELOC) { args 2899 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c u64_to_user_ptr(args->buffers_ptr); args 2913 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c for (i = 0; i < args->buffer_count; i++) { args 2928 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c args->flags &= ~__I915_EXEC_UNKNOWN_FLAGS; args 2929 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c put_fence_array(args, fences); args 54 drivers/gpu/drm/i915/gem/i915_gem_mman.c struct drm_i915_gem_mmap *args = data; args 58 drivers/gpu/drm/i915/gem/i915_gem_mman.c if (args->flags & ~(I915_MMAP_WC)) args 61 drivers/gpu/drm/i915/gem/i915_gem_mman.c if (args->flags & I915_MMAP_WC && !boot_cpu_has(X86_FEATURE_PAT)) args 64 drivers/gpu/drm/i915/gem/i915_gem_mman.c obj = i915_gem_object_lookup(file, args->handle); args 76 drivers/gpu/drm/i915/gem/i915_gem_mman.c if (range_overflows(args->offset, args->size, (u64)obj->base.size)) { args 81 drivers/gpu/drm/i915/gem/i915_gem_mman.c addr = vm_mmap(obj->base.filp, 0, args->size, args 83 drivers/gpu/drm/i915/gem/i915_gem_mman.c args->offset); args 87 drivers/gpu/drm/i915/gem/i915_gem_mman.c if (args->flags & I915_MMAP_WC) { args 96 drivers/gpu/drm/i915/gem/i915_gem_mman.c if (vma && __vma_matches(vma, obj->base.filp, addr, args->size)) args 107 drivers/gpu/drm/i915/gem/i915_gem_mman.c args->addr_ptr = (u64)addr; args 512 drivers/gpu/drm/i915/gem/i915_gem_mman.c struct drm_i915_gem_mmap_gtt *args = data; args 514 drivers/gpu/drm/i915/gem/i915_gem_mman.c return i915_gem_mmap_gtt(file, dev, args->handle, &args->offset); args 316 drivers/gpu/drm/i915/gem/i915_gem_tiling.c struct drm_i915_gem_set_tiling *args = data; args 320 drivers/gpu/drm/i915/gem/i915_gem_tiling.c obj = i915_gem_object_lookup(file, args->handle); args 333 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (!i915_tiling_ok(obj, args->tiling_mode, args->stride)) { args 338 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (args->tiling_mode == I915_TILING_NONE) { args 339 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = I915_BIT_6_SWIZZLE_NONE; args 340 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->stride = 0; args 342 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (args->tiling_mode == I915_TILING_X) args 343 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = to_i915(dev)->mm.bit_6_swizzle_x; args 345 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = to_i915(dev)->mm.bit_6_swizzle_y; args 354 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (args->swizzle_mode == I915_BIT_6_SWIZZLE_9_17) args 355 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = I915_BIT_6_SWIZZLE_9; args 356 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (args->swizzle_mode == I915_BIT_6_SWIZZLE_9_10_17) args 357 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = I915_BIT_6_SWIZZLE_9_10; args 360 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (args->swizzle_mode == I915_BIT_6_SWIZZLE_UNKNOWN) { args 361 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->tiling_mode = I915_TILING_NONE; args 362 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = I915_BIT_6_SWIZZLE_NONE; args 363 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->stride = 0; args 371 drivers/gpu/drm/i915/gem/i915_gem_tiling.c err = i915_gem_object_set_tiling(obj, args->tiling_mode, args->stride); args 375 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->stride = i915_gem_object_get_stride(obj); args 376 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->tiling_mode = i915_gem_object_get_tiling(obj); args 400 drivers/gpu/drm/i915/gem/i915_gem_tiling.c struct drm_i915_gem_get_tiling *args = data; args 406 drivers/gpu/drm/i915/gem/i915_gem_tiling.c obj = i915_gem_object_lookup_rcu(file, args->handle); args 408 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->tiling_mode = args 416 drivers/gpu/drm/i915/gem/i915_gem_tiling.c switch (args->tiling_mode) { args 418 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = dev_priv->mm.bit_6_swizzle_x; args 421 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = dev_priv->mm.bit_6_swizzle_y; args 425 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = I915_BIT_6_SWIZZLE_NONE; args 431 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->phys_swizzle_mode = I915_BIT_6_SWIZZLE_UNKNOWN; args 433 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->phys_swizzle_mode = args->swizzle_mode; args 434 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (args->swizzle_mode == I915_BIT_6_SWIZZLE_9_17) args 435 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = I915_BIT_6_SWIZZLE_9; args 436 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (args->swizzle_mode == I915_BIT_6_SWIZZLE_9_10_17) args 437 drivers/gpu/drm/i915/gem/i915_gem_tiling.c args->swizzle_mode = I915_BIT_6_SWIZZLE_9_10; args 783 drivers/gpu/drm/i915/gem/i915_gem_userptr.c struct drm_i915_gem_userptr *args = data; args 795 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (args->flags & ~(I915_USERPTR_READ_ONLY | args 799 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (!args->user_size) args 802 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (offset_in_page(args->user_ptr | args->user_size)) args 805 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (!access_ok((char __user *)(unsigned long)args->user_ptr, args->user_size)) args 808 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (args->flags & I915_USERPTR_READ_ONLY) { args 824 drivers/gpu/drm/i915/gem/i915_gem_userptr.c drm_gem_private_object_init(dev, &obj->base, args->user_size); args 830 drivers/gpu/drm/i915/gem/i915_gem_userptr.c obj->userptr.ptr = args->user_ptr; args 831 drivers/gpu/drm/i915/gem/i915_gem_userptr.c if (args->flags & I915_USERPTR_READ_ONLY) args 840 drivers/gpu/drm/i915/gem/i915_gem_userptr.c ret = i915_gem_userptr_init__mmu_notifier(obj, args->flags); args 849 drivers/gpu/drm/i915/gem/i915_gem_userptr.c args->handle = handle; args 232 drivers/gpu/drm/i915/gem/i915_gem_wait.c struct drm_i915_gem_wait *args = data; args 237 drivers/gpu/drm/i915/gem/i915_gem_wait.c if (args->flags != 0) args 240 drivers/gpu/drm/i915/gem/i915_gem_wait.c obj = i915_gem_object_lookup(file, args->bo_handle); args 250 drivers/gpu/drm/i915/gem/i915_gem_wait.c to_wait_timeout(args->timeout_ns)); args 252 drivers/gpu/drm/i915/gem/i915_gem_wait.c if (args->timeout_ns > 0) { args 253 drivers/gpu/drm/i915/gem/i915_gem_wait.c args->timeout_ns -= ktime_to_ns(ktime_sub(ktime_get(), start)); args 254 drivers/gpu/drm/i915/gem/i915_gem_wait.c if (args->timeout_ns < 0) args 255 drivers/gpu/drm/i915/gem/i915_gem_wait.c args->timeout_ns = 0; args 264 drivers/gpu/drm/i915/gem/i915_gem_wait.c if (ret == -ETIME && !nsecs_to_jiffies(args->timeout_ns)) args 265 drivers/gpu/drm/i915/gem/i915_gem_wait.c args->timeout_ns = 0; args 268 drivers/gpu/drm/i915/gem/i915_gem_wait.c if (ret == -ETIME && args->timeout_ns) args 1136 drivers/gpu/drm/i915/gt/intel_reset.c va_list args; args 1138 drivers/gpu/drm/i915/gt/intel_reset.c va_start(args, fmt); args 1139 drivers/gpu/drm/i915/gt/intel_reset.c vscnprintf(error_msg, sizeof(error_msg), fmt, args); args 1140 drivers/gpu/drm/i915/gt/intel_reset.c va_end(args); args 111 drivers/gpu/drm/i915/gt/uc/selftest_guc.c static int igt_guc_clients(void *args) args 113 drivers/gpu/drm/i915/gt/uc/selftest_guc.c struct drm_i915_private *dev_priv = args; args 27 drivers/gpu/drm/i915/gvt/debug.h #define gvt_err(fmt, args...) \ args 28 drivers/gpu/drm/i915/gvt/debug.h pr_err("gvt: "fmt, ##args) args 30 drivers/gpu/drm/i915/gvt/debug.h #define gvt_vgpu_err(fmt, args...) \ args 33 drivers/gpu/drm/i915/gvt/debug.h pr_err("gvt: "fmt, ##args); \ args 35 drivers/gpu/drm/i915/gvt/debug.h pr_err("gvt: vgpu %d: "fmt, vgpu->id, ##args);\ args 38 drivers/gpu/drm/i915/gvt/debug.h #define gvt_dbg_core(fmt, args...) \ args 39 drivers/gpu/drm/i915/gvt/debug.h pr_debug("gvt: core: "fmt, ##args) args 41 drivers/gpu/drm/i915/gvt/debug.h #define gvt_dbg_irq(fmt, args...) \ args 42 drivers/gpu/drm/i915/gvt/debug.h pr_debug("gvt: irq: "fmt, ##args) args 44 drivers/gpu/drm/i915/gvt/debug.h #define gvt_dbg_mm(fmt, args...) \ args 45 drivers/gpu/drm/i915/gvt/debug.h pr_debug("gvt: mm: "fmt, ##args) args 47 drivers/gpu/drm/i915/gvt/debug.h #define gvt_dbg_mmio(fmt, args...) \ args 48 drivers/gpu/drm/i915/gvt/debug.h pr_debug("gvt: mmio: "fmt, ##args) args 50 drivers/gpu/drm/i915/gvt/debug.h #define gvt_dbg_dpy(fmt, args...) \ args 51 drivers/gpu/drm/i915/gvt/debug.h pr_debug("gvt: dpy: "fmt, ##args) args 53 drivers/gpu/drm/i915/gvt/debug.h #define gvt_dbg_el(fmt, args...) \ args 54 drivers/gpu/drm/i915/gvt/debug.h pr_debug("gvt: el: "fmt, ##args) args 56 drivers/gpu/drm/i915/gvt/debug.h #define gvt_dbg_sched(fmt, args...) \ args 57 drivers/gpu/drm/i915/gvt/debug.h pr_debug("gvt: sched: "fmt, ##args) args 59 drivers/gpu/drm/i915/gvt/debug.h #define gvt_dbg_render(fmt, args...) \ args 60 drivers/gpu/drm/i915/gvt/debug.h pr_debug("gvt: render: "fmt, ##args) args 62 drivers/gpu/drm/i915/gvt/debug.h #define gvt_dbg_cmd(fmt, args...) \ args 63 drivers/gpu/drm/i915/gvt/debug.h pr_debug("gvt: cmd: "fmt, ##args) args 361 drivers/gpu/drm/i915/gvt/dmabuf.c int intel_vgpu_query_plane(struct intel_vgpu *vgpu, void *args) args 364 drivers/gpu/drm/i915/gvt/dmabuf.c struct vfio_device_gfx_plane_info *gfx_plane_info = args; args 63 drivers/gpu/drm/i915/gvt/dmabuf.h int intel_vgpu_query_plane(struct intel_vgpu *vgpu, void *args); args 42 drivers/gpu/drm/i915/gvt/gtt.c #define gvt_vdbg_mm(fmt, args...) gvt_dbg_mm(fmt, ##args) args 44 drivers/gpu/drm/i915/gvt/gtt.c #define gvt_vdbg_mm(fmt, args...) args 2316 drivers/gpu/drm/i915/i915_drv.h struct drm_mode_create_dumb *args); args 86 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_gem_get_aperture *args = data; args 99 drivers/gpu/drm/i915/i915_gem.c args->aper_size = ggtt->vm.total; args 100 drivers/gpu/drm/i915/i915_gem.c args->aper_available_size = args->aper_size - pinned; args 136 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_gem_pwrite *args, args 139 drivers/gpu/drm/i915/i915_gem.c void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset; args 140 drivers/gpu/drm/i915/i915_gem.c char __user *user_data = u64_to_user_ptr(args->data_ptr); args 148 drivers/gpu/drm/i915/i915_gem.c if (copy_from_user(vaddr, user_data, args->size)) args 151 drivers/gpu/drm/i915/i915_gem.c drm_clflush_virt_range(vaddr, args->size); args 192 drivers/gpu/drm/i915/i915_gem.c struct drm_mode_create_dumb *args) args 194 drivers/gpu/drm/i915/i915_gem.c int cpp = DIV_ROUND_UP(args->bpp, 8); args 212 drivers/gpu/drm/i915/i915_gem.c args->pitch = ALIGN(args->width * cpp, 64); args 215 drivers/gpu/drm/i915/i915_gem.c if (args->pitch > intel_plane_fb_max_stride(to_i915(dev), format, args 217 drivers/gpu/drm/i915/i915_gem.c args->pitch = ALIGN(args->pitch, 4096); args 219 drivers/gpu/drm/i915/i915_gem.c args->size = args->pitch * args->height; args 221 drivers/gpu/drm/i915/i915_gem.c &args->size, &args->handle); args 235 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_gem_create *args = data; args 240 drivers/gpu/drm/i915/i915_gem.c &args->size, &args->handle); args 264 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_gem_pread *args) args 282 drivers/gpu/drm/i915/i915_gem.c remain = args->size; args 283 drivers/gpu/drm/i915/i915_gem.c user_data = u64_to_user_ptr(args->data_ptr); args 284 drivers/gpu/drm/i915/i915_gem.c offset = offset_in_page(args->offset); args 285 drivers/gpu/drm/i915/i915_gem.c for (idx = args->offset >> PAGE_SHIFT; remain; idx++) { args 329 drivers/gpu/drm/i915/i915_gem.c const struct drm_i915_gem_pread *args) args 381 drivers/gpu/drm/i915/i915_gem.c user_data = u64_to_user_ptr(args->data_ptr); args 382 drivers/gpu/drm/i915/i915_gem.c remain = args->size; args 383 drivers/gpu/drm/i915/i915_gem.c offset = args->offset; args 443 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_gem_pread *args = data; args 447 drivers/gpu/drm/i915/i915_gem.c if (args->size == 0) args 450 drivers/gpu/drm/i915/i915_gem.c if (!access_ok(u64_to_user_ptr(args->data_ptr), args 451 drivers/gpu/drm/i915/i915_gem.c args->size)) args 454 drivers/gpu/drm/i915/i915_gem.c obj = i915_gem_object_lookup(file, args->handle); args 459 drivers/gpu/drm/i915/i915_gem.c if (range_overflows_t(u64, args->offset, args->size, obj->base.size)) { args 464 drivers/gpu/drm/i915/i915_gem.c trace_i915_gem_object_pread(obj, args->offset, args->size); args 476 drivers/gpu/drm/i915/i915_gem.c ret = i915_gem_shmem_pread(obj, args); args 478 drivers/gpu/drm/i915/i915_gem.c ret = i915_gem_gtt_pread(obj, args); args 521 drivers/gpu/drm/i915/i915_gem.c const struct drm_i915_gem_pwrite *args) args 593 drivers/gpu/drm/i915/i915_gem.c user_data = u64_to_user_ptr(args->data_ptr); args 594 drivers/gpu/drm/i915/i915_gem.c offset = args->offset; args 595 drivers/gpu/drm/i915/i915_gem.c remain = args->size; args 681 drivers/gpu/drm/i915/i915_gem.c const struct drm_i915_gem_pwrite *args) args 708 drivers/gpu/drm/i915/i915_gem.c user_data = u64_to_user_ptr(args->data_ptr); args 709 drivers/gpu/drm/i915/i915_gem.c remain = args->size; args 710 drivers/gpu/drm/i915/i915_gem.c offset = offset_in_page(args->offset); args 711 drivers/gpu/drm/i915/i915_gem.c for (idx = args->offset >> PAGE_SHIFT; remain; idx++) { args 744 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_gem_pwrite *args = data; args 748 drivers/gpu/drm/i915/i915_gem.c if (args->size == 0) args 751 drivers/gpu/drm/i915/i915_gem.c if (!access_ok(u64_to_user_ptr(args->data_ptr), args->size)) args 754 drivers/gpu/drm/i915/i915_gem.c obj = i915_gem_object_lookup(file, args->handle); args 759 drivers/gpu/drm/i915/i915_gem.c if (range_overflows_t(u64, args->offset, args->size, obj->base.size)) { args 770 drivers/gpu/drm/i915/i915_gem.c trace_i915_gem_object_pwrite(obj, args->offset, args->size); args 774 drivers/gpu/drm/i915/i915_gem.c ret = obj->ops->pwrite(obj, args); args 802 drivers/gpu/drm/i915/i915_gem.c ret = i915_gem_gtt_pwrite_fast(obj, args); args 806 drivers/gpu/drm/i915/i915_gem.c ret = i915_gem_shmem_pwrite(obj, args); args 808 drivers/gpu/drm/i915/i915_gem.c ret = i915_gem_phys_pwrite(obj, args, file); args 827 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_gem_sw_finish *args = data; args 830 drivers/gpu/drm/i915/i915_gem.c obj = i915_gem_object_lookup(file, args->handle); args 1067 drivers/gpu/drm/i915/i915_gem.c struct drm_i915_gem_madvise *args = data; args 1071 drivers/gpu/drm/i915/i915_gem.c switch (args->madv) { args 1079 drivers/gpu/drm/i915/i915_gem.c obj = i915_gem_object_lookup(file_priv, args->handle); args 1095 drivers/gpu/drm/i915/i915_gem.c if (args->madv == I915_MADV_WILLNEED) { args 1103 drivers/gpu/drm/i915/i915_gem.c obj->mm.madv = args->madv; args 1128 drivers/gpu/drm/i915/i915_gem.c args->retained = obj->mm.madv != __I915_MADV_PURGED; args 115 drivers/gpu/drm/i915/i915_gpu_error.c const char *fmt, va_list args) args 123 drivers/gpu/drm/i915/i915_gpu_error.c va_copy(ap, args); args 135 drivers/gpu/drm/i915/i915_gpu_error.c len = vscnprintf(e->buf + e->bytes, e->size - e->bytes, fmt, args); args 552 drivers/gpu/drm/i915/i915_gpu_error.c va_list args; args 554 drivers/gpu/drm/i915/i915_gpu_error.c va_start(args, f); args 555 drivers/gpu/drm/i915/i915_gpu_error.c i915_error_vprintf(e, f, args); args 556 drivers/gpu/drm/i915/i915_gpu_error.c va_end(args); args 3317 drivers/gpu/drm/i915/i915_perf.c struct drm_i915_perf_oa_config *args = data; args 3336 drivers/gpu/drm/i915/i915_perf.c if ((!args->mux_regs_ptr || !args->n_mux_regs) && args 3337 drivers/gpu/drm/i915/i915_perf.c (!args->boolean_regs_ptr || !args->n_boolean_regs) && args 3338 drivers/gpu/drm/i915/i915_perf.c (!args->flex_regs_ptr || !args->n_flex_regs)) { args 3351 drivers/gpu/drm/i915/i915_perf.c if (!uuid_is_valid(args->uuid)) { args 3360 drivers/gpu/drm/i915/i915_perf.c memcpy(oa_config->uuid, args->uuid, sizeof(args->uuid)); args 3362 drivers/gpu/drm/i915/i915_perf.c oa_config->mux_regs_len = args->n_mux_regs; args 3366 drivers/gpu/drm/i915/i915_perf.c u64_to_user_ptr(args->mux_regs_ptr), args 3367 drivers/gpu/drm/i915/i915_perf.c args->n_mux_regs); args 3375 drivers/gpu/drm/i915/i915_perf.c oa_config->b_counter_regs_len = args->n_boolean_regs; args 3379 drivers/gpu/drm/i915/i915_perf.c u64_to_user_ptr(args->boolean_regs_ptr), args 3380 drivers/gpu/drm/i915/i915_perf.c args->n_boolean_regs); args 3389 drivers/gpu/drm/i915/i915_perf.c if (args->n_flex_regs != 0) { args 3394 drivers/gpu/drm/i915/i915_perf.c oa_config->flex_regs_len = args->n_flex_regs; args 3398 drivers/gpu/drm/i915/i915_perf.c u64_to_user_ptr(args->flex_regs_ptr), args 3399 drivers/gpu/drm/i915/i915_perf.c args->n_flex_regs); args 154 drivers/gpu/drm/i915/i915_query.c struct drm_i915_query *args = data; args 156 drivers/gpu/drm/i915/i915_query.c u64_to_user_ptr(args->items_ptr); args 159 drivers/gpu/drm/i915/i915_query.c if (args->flags != 0) args 162 drivers/gpu/drm/i915/i915_query.c for (i = 0; i < args->num_items; i++, user_item_ptr++) { args 23 drivers/gpu/drm/i915/i915_utils.c va_list args; args 28 drivers/gpu/drm/i915/i915_utils.c va_start(args, fmt); args 31 drivers/gpu/drm/i915/i915_utils.c vaf.va = &args; args 39 drivers/gpu/drm/i915/i915_utils.c va_end(args); args 25 drivers/gpu/drm/lima/lima_drv.c struct drm_lima_get_param *args = data; args 28 drivers/gpu/drm/lima/lima_drv.c if (args->pad) args 31 drivers/gpu/drm/lima/lima_drv.c switch (args->param) { args 35 drivers/gpu/drm/lima/lima_drv.c args->value = DRM_LIMA_PARAM_GPU_ID_MALI400; args 38 drivers/gpu/drm/lima/lima_drv.c args->value = DRM_LIMA_PARAM_GPU_ID_MALI450; args 41 drivers/gpu/drm/lima/lima_drv.c args->value = DRM_LIMA_PARAM_GPU_ID_UNKNOWN; args 47 drivers/gpu/drm/lima/lima_drv.c args->value = ldev->pipe[lima_pipe_pp].num_processor; args 51 drivers/gpu/drm/lima/lima_drv.c args->value = ldev->gp_version; args 55 drivers/gpu/drm/lima/lima_drv.c args->value = ldev->pp_version; args 67 drivers/gpu/drm/lima/lima_drv.c struct drm_lima_gem_create *args = data; args 69 drivers/gpu/drm/lima/lima_drv.c if (args->pad) args 72 drivers/gpu/drm/lima/lima_drv.c if (args->flags) args 75 drivers/gpu/drm/lima/lima_drv.c if (args->size == 0) args 78 drivers/gpu/drm/lima/lima_drv.c return lima_gem_create_handle(dev, file, args->size, args->flags, &args->handle); args 83 drivers/gpu/drm/lima/lima_drv.c struct drm_lima_gem_info *args = data; args 85 drivers/gpu/drm/lima/lima_drv.c return lima_gem_get_info(file, args->handle, &args->va, &args->offset); args 90 drivers/gpu/drm/lima/lima_drv.c struct drm_lima_gem_submit *args = data; args 101 drivers/gpu/drm/lima/lima_drv.c if (args->pipe >= lima_pipe_num || args->nr_bos == 0) args 104 drivers/gpu/drm/lima/lima_drv.c if (args->flags & ~(LIMA_SUBMIT_FLAG_EXPLICIT_FENCE)) args 107 drivers/gpu/drm/lima/lima_drv.c pipe = ldev->pipe + args->pipe; args 108 drivers/gpu/drm/lima/lima_drv.c if (args->frame_size != pipe->frame_size) args 111 drivers/gpu/drm/lima/lima_drv.c bos = kvcalloc(args->nr_bos, sizeof(*submit.bos) + sizeof(*submit.lbos), GFP_KERNEL); args 115 drivers/gpu/drm/lima/lima_drv.c size = args->nr_bos * sizeof(*submit.bos); args 116 drivers/gpu/drm/lima/lima_drv.c if (copy_from_user(bos, u64_to_user_ptr(args->bos), size)) { args 128 drivers/gpu/drm/lima/lima_drv.c if (copy_from_user(task->frame, u64_to_user_ptr(args->frame), args->frame_size)) { args 137 drivers/gpu/drm/lima/lima_drv.c ctx = lima_ctx_get(&priv->ctx_mgr, args->ctx); args 143 drivers/gpu/drm/lima/lima_drv.c submit.pipe = args->pipe; args 146 drivers/gpu/drm/lima/lima_drv.c submit.nr_bos = args->nr_bos; args 149 drivers/gpu/drm/lima/lima_drv.c submit.flags = args->flags; args 150 drivers/gpu/drm/lima/lima_drv.c submit.in_sync[0] = args->in_sync[0]; args 151 drivers/gpu/drm/lima/lima_drv.c submit.in_sync[1] = args->in_sync[1]; args 152 drivers/gpu/drm/lima/lima_drv.c submit.out_sync = args->out_sync; args 167 drivers/gpu/drm/lima/lima_drv.c struct drm_lima_gem_wait *args = data; args 169 drivers/gpu/drm/lima/lima_drv.c if (args->op & ~(LIMA_GEM_WAIT_READ|LIMA_GEM_WAIT_WRITE)) args 172 drivers/gpu/drm/lima/lima_drv.c return lima_gem_wait(file, args->handle, args->op, args->timeout_ns); args 177 drivers/gpu/drm/lima/lima_drv.c struct drm_lima_ctx_create *args = data; args 181 drivers/gpu/drm/lima/lima_drv.c if (args->_pad) args 184 drivers/gpu/drm/lima/lima_drv.c return lima_ctx_create(ldev, &priv->ctx_mgr, &args->id); args 189 drivers/gpu/drm/lima/lima_drv.c struct drm_lima_ctx_create *args = data; args 192 drivers/gpu/drm/lima/lima_drv.c if (args->_pad) args 195 drivers/gpu/drm/lima/lima_drv.c return lima_ctx_free(&priv->ctx_mgr, args->id); args 99 drivers/gpu/drm/mediatek/mtk_drm_gem.c struct drm_mode_create_dumb *args) args 104 drivers/gpu/drm/mediatek/mtk_drm_gem.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 105 drivers/gpu/drm/mediatek/mtk_drm_gem.c args->size = args->pitch * args->height; args 107 drivers/gpu/drm/mediatek/mtk_drm_gem.c mtk_gem = mtk_drm_gem_create(dev, args->size, false); args 115 drivers/gpu/drm/mediatek/mtk_drm_gem.c ret = drm_gem_handle_create(file_priv, &mtk_gem->base, &args->handle); args 41 drivers/gpu/drm/mediatek/mtk_drm_gem.h struct drm_mode_create_dumb *args); args 77 drivers/gpu/drm/meson/meson_drv.c struct drm_mode_create_dumb *args) args 82 drivers/gpu/drm/meson/meson_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), SZ_64); args 83 drivers/gpu/drm/meson/meson_drv.c args->size = PAGE_ALIGN(args->pitch * args->height); args 85 drivers/gpu/drm/meson/meson_drv.c return drm_gem_cma_dumb_create_internal(file, dev, args); args 74 drivers/gpu/drm/mgag200/mgag200_drv.c struct drm_mode_create_dumb *args) args 93 drivers/gpu/drm/mgag200/mgag200_drv.c pg_align, false, args); args 11 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h #define DEV_DBG(fmt, args...) pr_debug(fmt, ##args) args 12 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h #define DEV_INFO(fmt, args...) pr_info(fmt, ##args) args 13 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h #define DEV_WARN(fmt, args...) pr_warn(fmt, ##args) args 14 drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.h #define DEV_ERR(fmt, args...) pr_err(fmt, ##args) args 699 drivers/gpu/drm/msm/msm_drv.c struct drm_msm_param *args = data; args 705 drivers/gpu/drm/msm/msm_drv.c if (args->pipe != MSM_PIPE_3D0) args 713 drivers/gpu/drm/msm/msm_drv.c return gpu->funcs->get_param(gpu, args->param, &args->value); args 719 drivers/gpu/drm/msm/msm_drv.c struct drm_msm_gem_new *args = data; args 721 drivers/gpu/drm/msm/msm_drv.c if (args->flags & ~MSM_BO_FLAGS) { args 722 drivers/gpu/drm/msm/msm_drv.c DRM_ERROR("invalid flags: %08x\n", args->flags); args 726 drivers/gpu/drm/msm/msm_drv.c return msm_gem_new_handle(dev, file, args->size, args 727 drivers/gpu/drm/msm/msm_drv.c args->flags, &args->handle, NULL); args 738 drivers/gpu/drm/msm/msm_drv.c struct drm_msm_gem_cpu_prep *args = data; args 740 drivers/gpu/drm/msm/msm_drv.c ktime_t timeout = to_ktime(args->timeout); args 743 drivers/gpu/drm/msm/msm_drv.c if (args->op & ~MSM_PREP_FLAGS) { args 744 drivers/gpu/drm/msm/msm_drv.c DRM_ERROR("invalid op: %08x\n", args->op); args 748 drivers/gpu/drm/msm/msm_drv.c obj = drm_gem_object_lookup(file, args->handle); args 752 drivers/gpu/drm/msm/msm_drv.c ret = msm_gem_cpu_prep(obj, args->op, &timeout); args 762 drivers/gpu/drm/msm/msm_drv.c struct drm_msm_gem_cpu_fini *args = data; args 766 drivers/gpu/drm/msm/msm_drv.c obj = drm_gem_object_lookup(file, args->handle); args 795 drivers/gpu/drm/msm/msm_drv.c struct drm_msm_gem_info *args = data; args 800 drivers/gpu/drm/msm/msm_drv.c if (args->pad) args 803 drivers/gpu/drm/msm/msm_drv.c switch (args->info) { args 807 drivers/gpu/drm/msm/msm_drv.c if (args->len) args 817 drivers/gpu/drm/msm/msm_drv.c obj = drm_gem_object_lookup(file, args->handle); args 823 drivers/gpu/drm/msm/msm_drv.c switch (args->info) { args 825 drivers/gpu/drm/msm/msm_drv.c args->value = msm_gem_mmap_offset(obj); args 828 drivers/gpu/drm/msm/msm_drv.c ret = msm_ioctl_gem_info_iova(dev, obj, &args->value); args 832 drivers/gpu/drm/msm/msm_drv.c if (args->len >= sizeof(msm_obj->name)) { args 836 drivers/gpu/drm/msm/msm_drv.c if (copy_from_user(msm_obj->name, u64_to_user_ptr(args->value), args 837 drivers/gpu/drm/msm/msm_drv.c args->len)) { args 842 drivers/gpu/drm/msm/msm_drv.c msm_obj->name[args->len] = '\0'; args 843 drivers/gpu/drm/msm/msm_drv.c for (i = 0; i < args->len; i++) { args 851 drivers/gpu/drm/msm/msm_drv.c if (args->value && (args->len < strlen(msm_obj->name))) { args 855 drivers/gpu/drm/msm/msm_drv.c args->len = strlen(msm_obj->name); args 856 drivers/gpu/drm/msm/msm_drv.c if (args->value) { args 857 drivers/gpu/drm/msm/msm_drv.c if (copy_to_user(u64_to_user_ptr(args->value), args 858 drivers/gpu/drm/msm/msm_drv.c msm_obj->name, args->len)) args 873 drivers/gpu/drm/msm/msm_drv.c struct drm_msm_wait_fence *args = data; args 874 drivers/gpu/drm/msm/msm_drv.c ktime_t timeout = to_ktime(args->timeout); args 879 drivers/gpu/drm/msm/msm_drv.c if (args->pad) { args 880 drivers/gpu/drm/msm/msm_drv.c DRM_ERROR("invalid pad: %08x\n", args->pad); args 887 drivers/gpu/drm/msm/msm_drv.c queue = msm_submitqueue_get(file->driver_priv, args->queueid); args 891 drivers/gpu/drm/msm/msm_drv.c ret = msm_wait_fence(gpu->rb[queue->prio]->fctx, args->fence, &timeout, args 901 drivers/gpu/drm/msm/msm_drv.c struct drm_msm_gem_madvise *args = data; args 905 drivers/gpu/drm/msm/msm_drv.c switch (args->madv) { args 917 drivers/gpu/drm/msm/msm_drv.c obj = drm_gem_object_lookup(file, args->handle); args 923 drivers/gpu/drm/msm/msm_drv.c ret = msm_gem_madvise(obj, args->madv); args 925 drivers/gpu/drm/msm/msm_drv.c args->retained = ret; args 940 drivers/gpu/drm/msm/msm_drv.c struct drm_msm_submitqueue *args = data; args 942 drivers/gpu/drm/msm/msm_drv.c if (args->flags & ~MSM_SUBMITQUEUE_FLAGS) args 945 drivers/gpu/drm/msm/msm_drv.c return msm_submitqueue_create(dev, file->driver_priv, args->prio, args 946 drivers/gpu/drm/msm/msm_drv.c args->flags, &args->id); args 285 drivers/gpu/drm/msm/msm_drv.h struct drm_mode_create_dumb *args); args 420 drivers/gpu/drm/msm/msm_drv.h struct drm_msm_submitqueue_query *args); args 523 drivers/gpu/drm/msm/msm_gem.c struct drm_mode_create_dumb *args) args 525 drivers/gpu/drm/msm/msm_gem.c args->pitch = align_pitch(args->width, args->bpp); args 526 drivers/gpu/drm/msm/msm_gem.c args->size = PAGE_ALIGN(args->pitch * args->height); args 527 drivers/gpu/drm/msm/msm_gem.c return msm_gem_new_handle(dev, file, args->size, args 528 drivers/gpu/drm/msm/msm_gem.c MSM_BO_SCANOUT | MSM_BO_WC, &args->handle, "dumb"); args 73 drivers/gpu/drm/msm/msm_gem_submit.c struct drm_msm_gem_submit *args, struct drm_file *file) args 78 drivers/gpu/drm/msm/msm_gem_submit.c for (i = 0; i < args->nr_bos; i++) { args 81 drivers/gpu/drm/msm/msm_gem_submit.c u64_to_user_ptr(args->bos + (i * sizeof(submit_bo))); args 113 drivers/gpu/drm/msm/msm_gem_submit.c for (i = 0; i < args->nr_bos; i++) { args 402 drivers/gpu/drm/msm/msm_gem_submit.c struct drm_msm_gem_submit *args = data; args 419 drivers/gpu/drm/msm/msm_gem_submit.c if (MSM_PIPE_ID(args->flags) != MSM_PIPE_3D0) args 422 drivers/gpu/drm/msm/msm_gem_submit.c if (MSM_PIPE_FLAGS(args->flags) & ~MSM_SUBMIT_FLAGS) args 425 drivers/gpu/drm/msm/msm_gem_submit.c if (args->flags & MSM_SUBMIT_SUDO) { args 431 drivers/gpu/drm/msm/msm_gem_submit.c queue = msm_submitqueue_get(ctx, args->queueid); args 440 drivers/gpu/drm/msm/msm_gem_submit.c args->nr_bos, args->nr_cmds); args 442 drivers/gpu/drm/msm/msm_gem_submit.c if (args->flags & MSM_SUBMIT_FENCE_FD_IN) { args 445 drivers/gpu/drm/msm/msm_gem_submit.c in_fence = sync_file_get_fence(args->fence_fd); args 467 drivers/gpu/drm/msm/msm_gem_submit.c if (args->flags & MSM_SUBMIT_FENCE_FD_OUT) { args 475 drivers/gpu/drm/msm/msm_gem_submit.c submit = submit_create(dev, gpu, ctx->aspace, queue, args->nr_bos, args 476 drivers/gpu/drm/msm/msm_gem_submit.c args->nr_cmds); args 485 drivers/gpu/drm/msm/msm_gem_submit.c if (args->flags & MSM_SUBMIT_SUDO) args 488 drivers/gpu/drm/msm/msm_gem_submit.c ret = submit_lookup_objects(submit, args, file); args 496 drivers/gpu/drm/msm/msm_gem_submit.c ret = submit_fence_sync(submit, !!(args->flags & MSM_SUBMIT_NO_IMPLICIT)); args 504 drivers/gpu/drm/msm/msm_gem_submit.c for (i = 0; i < args->nr_cmds; i++) { args 507 drivers/gpu/drm/msm/msm_gem_submit.c u64_to_user_ptr(args->cmds + (i * sizeof(submit_cmd))); args 572 drivers/gpu/drm/msm/msm_gem_submit.c if (args->flags & MSM_SUBMIT_FENCE_FD_OUT) { args 582 drivers/gpu/drm/msm/msm_gem_submit.c args->fence = submit->fence->seqno; args 584 drivers/gpu/drm/msm/msm_gem_submit.c if (args->flags & MSM_SUBMIT_FENCE_FD_OUT) { args 586 drivers/gpu/drm/msm/msm_gem_submit.c args->fence_fd = out_fence_fd; args 360 drivers/gpu/drm/msm/msm_rd.c va_list args; args 362 drivers/gpu/drm/msm/msm_rd.c va_start(args, fmt); args 363 drivers/gpu/drm/msm/msm_rd.c n = vscnprintf(msg, sizeof(msg), fmt, args); args 364 drivers/gpu/drm/msm/msm_rd.c va_end(args); args 117 drivers/gpu/drm/msm/msm_submitqueue.c struct drm_msm_submitqueue_query *args) args 119 drivers/gpu/drm/msm/msm_submitqueue.c size_t size = min_t(size_t, args->len, sizeof(queue->faults)); args 123 drivers/gpu/drm/msm/msm_submitqueue.c if (!args->len) { args 124 drivers/gpu/drm/msm/msm_submitqueue.c args->len = sizeof(queue->faults); args 129 drivers/gpu/drm/msm/msm_submitqueue.c args->len = size; args 131 drivers/gpu/drm/msm/msm_submitqueue.c ret = copy_to_user(u64_to_user_ptr(args->data), &queue->faults, size); args 137 drivers/gpu/drm/msm/msm_submitqueue.c struct drm_msm_submitqueue_query *args) args 142 drivers/gpu/drm/msm/msm_submitqueue.c if (args->pad) args 145 drivers/gpu/drm/msm/msm_submitqueue.c queue = msm_submitqueue_get(ctx, args->id); args 149 drivers/gpu/drm/msm/msm_submitqueue.c if (args->param == MSM_SUBMITQUEUE_PARAM_FAULTS) args 150 drivers/gpu/drm/msm/msm_submitqueue.c ret = msm_submitqueue_query_faults(queue, args); args 262 drivers/gpu/drm/nouveau/dispnv50/base507c.c struct nv50_disp_base_channel_dma_v0 args = { args 276 drivers/gpu/drm/nouveau/dispnv50/base507c.c &oclass, head, &args, sizeof(args), args 91 drivers/gpu/drm/nouveau/dispnv50/core507d.c struct nv50_disp_core_channel_dma_v0 args = {}; args 101 drivers/gpu/drm/nouveau/dispnv50/core507d.c &oclass, 0, &args, sizeof(args), args 113 drivers/gpu/drm/nouveau/dispnv50/curs507a.c struct nv50_disp_cursor_v0 args = { args 126 drivers/gpu/drm/nouveau/dispnv50/curs507a.c ret = nvif_object_init(&disp->disp->object, 0, oclass, &args, args 127 drivers/gpu/drm/nouveau/dispnv50/curs507a.c sizeof(args), &wndw->wimm.base.user); args 139 drivers/gpu/drm/nouveau/dispnv50/disp.c struct nv50_disp_core_channel_dma_v0 *args = data; args 163 drivers/gpu/drm/nouveau/dispnv50/disp.c args->pushbuf = nvif_handle(&dmac->push.object); args 265 drivers/gpu/drm/nouveau/dispnv50/disp.c } args = { args 272 drivers/gpu/drm/nouveau/dispnv50/disp.c nvif_mthd(&disp->disp->object, 0, &args, sizeof(args)); args 285 drivers/gpu/drm/nouveau/dispnv50/disp.c } args = { args 293 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = nvif_mthd(&disp->disp->object, 0, &args, sizeof(args)); args 299 drivers/gpu/drm/nouveau/dispnv50/disp.c nv_encoder->or = args.info.or; args 300 drivers/gpu/drm/nouveau/dispnv50/disp.c nv_encoder->link = args.info.link; args 410 drivers/gpu/drm/nouveau/dispnv50/disp.c } args = { args 418 drivers/gpu/drm/nouveau/dispnv50/disp.c args.load.data = nouveau_drm(encoder->dev)->vbios.dactestval; args 419 drivers/gpu/drm/nouveau/dispnv50/disp.c if (args.load.data == 0) args 420 drivers/gpu/drm/nouveau/dispnv50/disp.c args.load.data = 340; args 422 drivers/gpu/drm/nouveau/dispnv50/disp.c ret = nvif_mthd(&disp->disp->object, 0, &args, sizeof(args)); args 423 drivers/gpu/drm/nouveau/dispnv50/disp.c if (ret || !args.load.load) args 490 drivers/gpu/drm/nouveau/dispnv50/disp.c } args = { args 498 drivers/gpu/drm/nouveau/dispnv50/disp.c nvif_mthd(&disp->disp->object, 0, &args, sizeof(args)); args 514 drivers/gpu/drm/nouveau/dispnv50/disp.c } args = { args 526 drivers/gpu/drm/nouveau/dispnv50/disp.c memcpy(args.data, nv_connector->base.eld, sizeof(args.data)); args 528 drivers/gpu/drm/nouveau/dispnv50/disp.c nvif_mthd(&disp->disp->object, 0, &args, args 529 drivers/gpu/drm/nouveau/dispnv50/disp.c sizeof(args.base) + drm_eld_size(args.data)); args 543 drivers/gpu/drm/nouveau/dispnv50/disp.c } args = { args 551 drivers/gpu/drm/nouveau/dispnv50/disp.c nvif_mthd(&disp->disp->object, 0, &args, sizeof(args)); args 565 drivers/gpu/drm/nouveau/dispnv50/disp.c } args = { args 594 drivers/gpu/drm/nouveau/dispnv50/disp.c args.pwr.avi_infoframe_length args 595 drivers/gpu/drm/nouveau/dispnv50/disp.c = hdmi_infoframe_pack(&avi_frame, args.infoframes, 17); args 602 drivers/gpu/drm/nouveau/dispnv50/disp.c args.pwr.vendor_infoframe_length args 604 drivers/gpu/drm/nouveau/dispnv50/disp.c args.infoframes args 605 drivers/gpu/drm/nouveau/dispnv50/disp.c + args.pwr.avi_infoframe_length, args 610 drivers/gpu/drm/nouveau/dispnv50/disp.c max_ac_packet -= args.pwr.rekey; args 612 drivers/gpu/drm/nouveau/dispnv50/disp.c args.pwr.max_ac_packet = max_ac_packet / 32; args 620 drivers/gpu/drm/nouveau/dispnv50/disp.c args.pwr.scdc = args 624 drivers/gpu/drm/nouveau/dispnv50/disp.c size = sizeof(args.base) args 625 drivers/gpu/drm/nouveau/dispnv50/disp.c + sizeof(args.pwr) args 626 drivers/gpu/drm/nouveau/dispnv50/disp.c + args.pwr.avi_infoframe_length args 627 drivers/gpu/drm/nouveau/dispnv50/disp.c + args.pwr.vendor_infoframe_length; args 628 drivers/gpu/drm/nouveau/dispnv50/disp.c nvif_mthd(&disp->disp->object, 0, &args, size); args 742 drivers/gpu/drm/nouveau/dispnv50/disp.c } args = { args 756 drivers/gpu/drm/nouveau/dispnv50/disp.c args.vcpi.start_slot = payload->start_slot; args 757 drivers/gpu/drm/nouveau/dispnv50/disp.c args.vcpi.num_slots = payload->num_slots; args 758 drivers/gpu/drm/nouveau/dispnv50/disp.c args.vcpi.pbn = mstc->port->vcpi.pbn; args 759 drivers/gpu/drm/nouveau/dispnv50/disp.c args.vcpi.aligned_pbn = mstc->port->vcpi.aligned_pbn; args 765 drivers/gpu/drm/nouveau/dispnv50/disp.c args.vcpi.start_slot, args.vcpi.num_slots, args 766 drivers/gpu/drm/nouveau/dispnv50/disp.c args.vcpi.pbn, args.vcpi.aligned_pbn); args 768 drivers/gpu/drm/nouveau/dispnv50/disp.c nvif_mthd(&drm->display->disp.object, 0, &args, sizeof(args)); args 1241 drivers/gpu/drm/nouveau/dispnv50/disp.c } args = { args 1270 drivers/gpu/drm/nouveau/dispnv50/disp.c return nvif_mthd(disp, 0, &args, sizeof(args)); args 30 drivers/gpu/drm/nouveau/dispnv50/oimm507b.c struct nv50_disp_overlay_v0 args = { args 36 drivers/gpu/drm/nouveau/dispnv50/oimm507b.c ret = nvif_object_init(&disp->disp->object, 0, oclass, &args, args 37 drivers/gpu/drm/nouveau/dispnv50/oimm507b.c sizeof(args), &wndw->wimm.base.user); args 173 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c struct nv50_disp_overlay_channel_dma_v0 args = { args 188 drivers/gpu/drm/nouveau/dispnv50/ovly507e.c &oclass, 0, &args, sizeof(args), args 63 drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c struct nvc37b_window_imm_channel_dma_v0 args = { args 71 drivers/gpu/drm/nouveau/dispnv50/wimmc37b.c &oclass, 0, &args, sizeof(args), 0, args 55 drivers/gpu/drm/nouveau/dispnv50/wndw.c } args = {}; args 56 drivers/gpu/drm/nouveau/dispnv50/wndw.c u32 argc = sizeof(args.base); args 68 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.base.target = NV_DMA_V0_TARGET_VRAM; args 69 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.base.access = NV_DMA_V0_ACCESS_RDWR; args 70 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.base.start = 0; args 71 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.base.limit = drm->client.device.info.ram_user - 1; args 74 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.nv50.part = NV50_DMA_V0_PART_256; args 75 drivers/gpu/drm/nouveau/dispnv50/wndw.c argc += sizeof(args.nv50); args 78 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.nv50.part = NV50_DMA_V0_PART_256; args 79 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.nv50.kind = kind; args 80 drivers/gpu/drm/nouveau/dispnv50/wndw.c argc += sizeof(args.nv50); args 83 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.gf100.kind = kind; args 84 drivers/gpu/drm/nouveau/dispnv50/wndw.c argc += sizeof(args.gf100); args 86 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.gf119.page = GF119_DMA_V0_PAGE_LP; args 87 drivers/gpu/drm/nouveau/dispnv50/wndw.c args.gf119.kind = kind; args 88 drivers/gpu/drm/nouveau/dispnv50/wndw.c argc += sizeof(args.gf119); args 92 drivers/gpu/drm/nouveau/dispnv50/wndw.c &args, argc, &ctxdma->object); args 280 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c struct nvc37e_window_channel_dma_v0 args = { args 295 drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c &oclass, 0, &args, sizeof(args), args 48 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nv_device_v0 args = { args 59 drivers/gpu/drm/nouveau/nouveau_abi16.c &args, sizeof(args), args 372 drivers/gpu/drm/nouveau/nouveau_abi16.c } *args = data; args 377 drivers/gpu/drm/nouveau/nouveau_abi16.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 378 drivers/gpu/drm/nouveau/nouveau_abi16.c switch (args->v0.type) { args 392 drivers/gpu/drm/nouveau/nouveau_abi16.c if (args->v0.token != ~0ULL) { args 393 drivers/gpu/drm/nouveau/nouveau_abi16.c if (!(chan = nouveau_abi16_chan(abi16, args->v0.token))) args 395 drivers/gpu/drm/nouveau/nouveau_abi16.c args->v0.object = nvif_handle(&chan->chan->user); args 396 drivers/gpu/drm/nouveau/nouveau_abi16.c args->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; args 400 drivers/gpu/drm/nouveau/nouveau_abi16.c args->v0.object = nvif_handle(&abi16->device.object); args 401 drivers/gpu/drm/nouveau/nouveau_abi16.c args->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; args 524 drivers/gpu/drm/nouveau/nouveau_abi16.c struct nv_dma_v0 args = {}; args 550 drivers/gpu/drm/nouveau/nouveau_abi16.c args.start = ntfy->node->offset; args 551 drivers/gpu/drm/nouveau/nouveau_abi16.c args.limit = ntfy->node->offset + ntfy->node->length - 1; args 553 drivers/gpu/drm/nouveau/nouveau_abi16.c args.target = NV_DMA_V0_TARGET_VM; args 554 drivers/gpu/drm/nouveau/nouveau_abi16.c args.access = NV_DMA_V0_ACCESS_VM; args 555 drivers/gpu/drm/nouveau/nouveau_abi16.c args.start += chan->ntfy_vma->addr; args 556 drivers/gpu/drm/nouveau/nouveau_abi16.c args.limit += chan->ntfy_vma->addr; args 559 drivers/gpu/drm/nouveau/nouveau_abi16.c args.target = NV_DMA_V0_TARGET_AGP; args 560 drivers/gpu/drm/nouveau/nouveau_abi16.c args.access = NV_DMA_V0_ACCESS_RDWR; args 561 drivers/gpu/drm/nouveau/nouveau_abi16.c args.start += drm->agp.base + chan->ntfy->bo.offset; args 562 drivers/gpu/drm/nouveau/nouveau_abi16.c args.limit += drm->agp.base + chan->ntfy->bo.offset; args 564 drivers/gpu/drm/nouveau/nouveau_abi16.c args.target = NV_DMA_V0_TARGET_VM; args 565 drivers/gpu/drm/nouveau/nouveau_abi16.c args.access = NV_DMA_V0_ACCESS_RDWR; args 566 drivers/gpu/drm/nouveau/nouveau_abi16.c args.start += chan->ntfy->bo.offset; args 567 drivers/gpu/drm/nouveau/nouveau_abi16.c args.limit += chan->ntfy->bo.offset; args 573 drivers/gpu/drm/nouveau/nouveau_abi16.c NV_DMA_IN_MEMORY, &args, sizeof(args), args 1476 drivers/gpu/drm/nouveau/nouveau_bo.c } args; args 1483 drivers/gpu/drm/nouveau/nouveau_bo.c args.nv50.version = 0; args 1484 drivers/gpu/drm/nouveau/nouveau_bo.c args.nv50.ro = 0; args 1485 drivers/gpu/drm/nouveau/nouveau_bo.c args.nv50.kind = mem->kind; args 1486 drivers/gpu/drm/nouveau/nouveau_bo.c args.nv50.comp = mem->comp; args 1487 drivers/gpu/drm/nouveau/nouveau_bo.c argc = sizeof(args.nv50); args 1490 drivers/gpu/drm/nouveau/nouveau_bo.c args.gf100.version = 0; args 1491 drivers/gpu/drm/nouveau/nouveau_bo.c args.gf100.ro = 0; args 1492 drivers/gpu/drm/nouveau/nouveau_bo.c args.gf100.kind = mem->kind; args 1493 drivers/gpu/drm/nouveau/nouveau_bo.c argc = sizeof(args.gf100); args 1501 drivers/gpu/drm/nouveau/nouveau_bo.c &args, argc, args 127 drivers/gpu/drm/nouveau/nouveau_chan.c struct nv_dma_v0 args = {}; args 178 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_VM; args 179 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_VM; args 180 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = 0; args 181 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = chan->vmm->vmm.limit - 1; args 189 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_PCI; args 190 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_RDWR; args 191 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = nvxx_device(device)->func-> args 193 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = args.start + device->info.ram_user - 1; args 195 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_VRAM; args 196 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_RDWR; args 197 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = 0; args 198 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = device->info.ram_user - 1; args 202 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_AGP; args 203 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_RDWR; args 204 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = chan->drm->agp.base; args 205 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = chan->drm->agp.base + args 208 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_VM; args 209 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_RDWR; args 210 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = 0; args 211 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = chan->vmm->vmm.limit - 1; args 216 drivers/gpu/drm/nouveau/nouveau_chan.c &args, sizeof(args), &chan->push.ctxdma); args 245 drivers/gpu/drm/nouveau/nouveau_chan.c } args; args 259 drivers/gpu/drm/nouveau/nouveau_chan.c args.volta.version = 0; args 260 drivers/gpu/drm/nouveau/nouveau_chan.c args.volta.ilength = 0x02000; args 261 drivers/gpu/drm/nouveau/nouveau_chan.c args.volta.ioffset = 0x10000 + chan->push.addr; args 262 drivers/gpu/drm/nouveau/nouveau_chan.c args.volta.runlist = runlist; args 263 drivers/gpu/drm/nouveau/nouveau_chan.c args.volta.vmm = nvif_handle(&chan->vmm->vmm.object); args 264 drivers/gpu/drm/nouveau/nouveau_chan.c args.volta.priv = priv; args 265 drivers/gpu/drm/nouveau/nouveau_chan.c size = sizeof(args.volta); args 268 drivers/gpu/drm/nouveau/nouveau_chan.c args.kepler.version = 0; args 269 drivers/gpu/drm/nouveau/nouveau_chan.c args.kepler.ilength = 0x02000; args 270 drivers/gpu/drm/nouveau/nouveau_chan.c args.kepler.ioffset = 0x10000 + chan->push.addr; args 271 drivers/gpu/drm/nouveau/nouveau_chan.c args.kepler.runlist = runlist; args 272 drivers/gpu/drm/nouveau/nouveau_chan.c args.kepler.vmm = nvif_handle(&chan->vmm->vmm.object); args 273 drivers/gpu/drm/nouveau/nouveau_chan.c args.kepler.priv = priv; args 274 drivers/gpu/drm/nouveau/nouveau_chan.c size = sizeof(args.kepler); args 277 drivers/gpu/drm/nouveau/nouveau_chan.c args.fermi.version = 0; args 278 drivers/gpu/drm/nouveau/nouveau_chan.c args.fermi.ilength = 0x02000; args 279 drivers/gpu/drm/nouveau/nouveau_chan.c args.fermi.ioffset = 0x10000 + chan->push.addr; args 280 drivers/gpu/drm/nouveau/nouveau_chan.c args.fermi.vmm = nvif_handle(&chan->vmm->vmm.object); args 281 drivers/gpu/drm/nouveau/nouveau_chan.c size = sizeof(args.fermi); args 283 drivers/gpu/drm/nouveau/nouveau_chan.c args.nv50.version = 0; args 284 drivers/gpu/drm/nouveau/nouveau_chan.c args.nv50.ilength = 0x02000; args 285 drivers/gpu/drm/nouveau/nouveau_chan.c args.nv50.ioffset = 0x10000 + chan->push.addr; args 286 drivers/gpu/drm/nouveau/nouveau_chan.c args.nv50.pushbuf = nvif_handle(&chan->push.ctxdma); args 287 drivers/gpu/drm/nouveau/nouveau_chan.c args.nv50.vmm = nvif_handle(&chan->vmm->vmm.object); args 288 drivers/gpu/drm/nouveau/nouveau_chan.c size = sizeof(args.nv50); args 292 drivers/gpu/drm/nouveau/nouveau_chan.c &args, size, &chan->user); args 295 drivers/gpu/drm/nouveau/nouveau_chan.c chan->chid = args.volta.chid; args 296 drivers/gpu/drm/nouveau/nouveau_chan.c chan->inst = args.volta.inst; args 297 drivers/gpu/drm/nouveau/nouveau_chan.c chan->token = args.volta.token; args 300 drivers/gpu/drm/nouveau/nouveau_chan.c chan->chid = args.kepler.chid; args 301 drivers/gpu/drm/nouveau/nouveau_chan.c chan->inst = args.kepler.inst; args 304 drivers/gpu/drm/nouveau/nouveau_chan.c chan->chid = args.fermi.chid; args 306 drivers/gpu/drm/nouveau/nouveau_chan.c chan->chid = args.nv50.chid; args 326 drivers/gpu/drm/nouveau/nouveau_chan.c struct nv03_channel_dma_v0 args; args 337 drivers/gpu/drm/nouveau/nouveau_chan.c args.version = 0; args 338 drivers/gpu/drm/nouveau/nouveau_chan.c args.pushbuf = nvif_handle(&chan->push.ctxdma); args 339 drivers/gpu/drm/nouveau/nouveau_chan.c args.offset = chan->push.addr; args 343 drivers/gpu/drm/nouveau/nouveau_chan.c &args, sizeof(args), &chan->user); args 345 drivers/gpu/drm/nouveau/nouveau_chan.c chan->chid = args.chid; args 359 drivers/gpu/drm/nouveau/nouveau_chan.c struct nv_dma_v0 args = {}; args 380 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_VM; args 381 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_VM; args 382 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = 0; args 383 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = chan->vmm->vmm.limit - 1; args 385 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_VRAM; args 386 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_RDWR; args 387 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = 0; args 388 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = device->info.ram_user - 1; args 392 drivers/gpu/drm/nouveau/nouveau_chan.c &args, sizeof(args), &chan->vram); args 397 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_VM; args 398 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_VM; args 399 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = 0; args 400 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = chan->vmm->vmm.limit - 1; args 403 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_AGP; args 404 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_RDWR; args 405 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = chan->drm->agp.base; args 406 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = chan->drm->agp.base + args 409 drivers/gpu/drm/nouveau/nouveau_chan.c args.target = NV_DMA_V0_TARGET_VM; args 410 drivers/gpu/drm/nouveau/nouveau_chan.c args.access = NV_DMA_V0_ACCESS_RDWR; args 411 drivers/gpu/drm/nouveau/nouveau_chan.c args.start = 0; args 412 drivers/gpu/drm/nouveau/nouveau_chan.c args.limit = chan->vmm->vmm.limit - 1; args 416 drivers/gpu/drm/nouveau/nouveau_chan.c &args, sizeof(args), &chan->gart); args 519 drivers/gpu/drm/nouveau/nouveau_chan.c } args = { args 521 drivers/gpu/drm/nouveau/nouveau_chan.c .m.count = sizeof(args.v) / sizeof(args.v.channels), args 527 drivers/gpu/drm/nouveau/nouveau_chan.c ret = nvif_object_mthd(device, NV_DEVICE_V0_INFO, &args, sizeof(args)); args 528 drivers/gpu/drm/nouveau/nouveau_chan.c if (ret || args.v.channels.mthd == NV_DEVICE_INFO_INVALID) args 531 drivers/gpu/drm/nouveau/nouveau_chan.c drm->chan.nr = args.v.channels.data; args 146 drivers/gpu/drm/nouveau/nouveau_debugfs.c struct nvif_control_pstate_user_v0 args = { .pwrsrc = -EINVAL }; args 163 drivers/gpu/drm/nouveau/nouveau_debugfs.c args.pwrsrc = 0; args 167 drivers/gpu/drm/nouveau/nouveau_debugfs.c args.pwrsrc = 1; args 172 drivers/gpu/drm/nouveau/nouveau_debugfs.c args.ustate = NVIF_CONTROL_PSTATE_USER_V0_STATE_UNKNOWN; args 175 drivers/gpu/drm/nouveau/nouveau_debugfs.c args.ustate = NVIF_CONTROL_PSTATE_USER_V0_STATE_PERFMON; args 180 drivers/gpu/drm/nouveau/nouveau_debugfs.c args.ustate = value; args 186 drivers/gpu/drm/nouveau/nouveau_debugfs.c ret = nvif_mthd(ctrl, NVIF_CONTROL_PSTATE_USER, &args, sizeof(args)); args 107 drivers/gpu/drm/nouveau/nouveau_display.c } args = { args 117 drivers/gpu/drm/nouveau/nouveau_display.c ret = nvif_mthd(&disp->disp.object, 0, &args, sizeof(args)); args 121 drivers/gpu/drm/nouveau/nouveau_display.c if (args.scan.vline) { args 129 drivers/gpu/drm/nouveau/nouveau_display.c *hpos = args.scan.hline; args 130 drivers/gpu/drm/nouveau/nouveau_display.c *vpos = calc(args.scan.vblanks, args.scan.vblanke, args 131 drivers/gpu/drm/nouveau/nouveau_display.c args.scan.vtotal, args.scan.vline); args 132 drivers/gpu/drm/nouveau/nouveau_display.c if (stime) *stime = ns_to_ktime(args.scan.time[0]); args 133 drivers/gpu/drm/nouveau/nouveau_display.c if (etime) *etime = ns_to_ktime(args.scan.time[1]); args 644 drivers/gpu/drm/nouveau/nouveau_display.c struct drm_mode_create_dumb *args) args 651 drivers/gpu/drm/nouveau/nouveau_display.c args->pitch = roundup(args->width * (args->bpp / 8), 256); args 652 drivers/gpu/drm/nouveau/nouveau_display.c args->size = args->pitch * args->height; args 653 drivers/gpu/drm/nouveau/nouveau_display.c args->size = roundup(args->size, PAGE_SIZE); args 661 drivers/gpu/drm/nouveau/nouveau_display.c ret = nouveau_gem_new(cli, args->size, 0, domain, 0, 0, &bo); args 665 drivers/gpu/drm/nouveau/nouveau_display.c ret = drm_gem_handle_create(file_priv, &bo->bo.base, &args->handle); args 71 drivers/gpu/drm/nouveau/nouveau_display.h struct drm_mode_create_dumb *args); args 132 drivers/gpu/drm/nouveau/nouveau_dmem.c struct vm_fault *vmf, struct migrate_vma *args, args 138 drivers/gpu/drm/nouveau/nouveau_dmem.c spage = migrate_pfn_to_page(args->src[0]); args 139 drivers/gpu/drm/nouveau/nouveau_dmem.c if (!spage || !(args->src[0] & MIGRATE_PFN_MIGRATE)) args 155 drivers/gpu/drm/nouveau/nouveau_dmem.c args->dst[0] = migrate_pfn(page_to_pfn(dpage)) | MIGRATE_PFN_LOCKED; args 173 drivers/gpu/drm/nouveau/nouveau_dmem.c struct migrate_vma args = { args 186 drivers/gpu/drm/nouveau/nouveau_dmem.c if (migrate_vma_setup(&args) < 0) args 188 drivers/gpu/drm/nouveau/nouveau_dmem.c if (!args.cpages) args 191 drivers/gpu/drm/nouveau/nouveau_dmem.c ret = nouveau_dmem_fault_copy_one(drm, vmf, &args, &dma_addr); args 196 drivers/gpu/drm/nouveau/nouveau_dmem.c migrate_vma_pages(&args); args 200 drivers/gpu/drm/nouveau/nouveau_dmem.c migrate_vma_finalize(&args); args 594 drivers/gpu/drm/nouveau/nouveau_dmem.c struct migrate_vma *args, dma_addr_t *dma_addrs) args 597 drivers/gpu/drm/nouveau/nouveau_dmem.c unsigned long addr = args->start, nr_dma = 0, i; args 599 drivers/gpu/drm/nouveau/nouveau_dmem.c for (i = 0; addr < args->end; i++) { args 600 drivers/gpu/drm/nouveau/nouveau_dmem.c args->dst[i] = nouveau_dmem_migrate_copy_one(drm, args->src[i], args 602 drivers/gpu/drm/nouveau/nouveau_dmem.c if (args->dst[i]) args 608 drivers/gpu/drm/nouveau/nouveau_dmem.c migrate_vma_pages(args); args 619 drivers/gpu/drm/nouveau/nouveau_dmem.c migrate_vma_finalize(args); args 631 drivers/gpu/drm/nouveau/nouveau_dmem.c struct migrate_vma args = { args 638 drivers/gpu/drm/nouveau/nouveau_dmem.c args.src = kcalloc(max, sizeof(*args.src), GFP_KERNEL); args 639 drivers/gpu/drm/nouveau/nouveau_dmem.c if (!args.src) args 641 drivers/gpu/drm/nouveau/nouveau_dmem.c args.dst = kcalloc(max, sizeof(*args.dst), GFP_KERNEL); args 642 drivers/gpu/drm/nouveau/nouveau_dmem.c if (!args.dst) args 651 drivers/gpu/drm/nouveau/nouveau_dmem.c args.end = start + (c << PAGE_SHIFT); args 652 drivers/gpu/drm/nouveau/nouveau_dmem.c ret = migrate_vma_setup(&args); args 656 drivers/gpu/drm/nouveau/nouveau_dmem.c if (args.cpages) args 657 drivers/gpu/drm/nouveau/nouveau_dmem.c nouveau_dmem_migrate_chunk(drm, &args, dma_addrs); args 658 drivers/gpu/drm/nouveau/nouveau_dmem.c args.start = args.end; args 665 drivers/gpu/drm/nouveau/nouveau_dmem.c kfree(args.dst); args 667 drivers/gpu/drm/nouveau/nouveau_dmem.c kfree(args.src); args 42 drivers/gpu/drm/nouveau/nouveau_mem.c } args; args 51 drivers/gpu/drm/nouveau/nouveau_mem.c args.nv50.version = 0; args 52 drivers/gpu/drm/nouveau/nouveau_mem.c args.nv50.ro = 0; args 53 drivers/gpu/drm/nouveau/nouveau_mem.c args.nv50.priv = 0; args 54 drivers/gpu/drm/nouveau/nouveau_mem.c args.nv50.kind = mem->kind; args 55 drivers/gpu/drm/nouveau/nouveau_mem.c args.nv50.comp = mem->comp; args 56 drivers/gpu/drm/nouveau/nouveau_mem.c argc = sizeof(args.nv50); args 61 drivers/gpu/drm/nouveau/nouveau_mem.c args.gf100.version = 0; args 63 drivers/gpu/drm/nouveau/nouveau_mem.c args.gf100.vol = 0; args 65 drivers/gpu/drm/nouveau/nouveau_mem.c args.gf100.vol = 1; args 66 drivers/gpu/drm/nouveau/nouveau_mem.c args.gf100.ro = 0; args 67 drivers/gpu/drm/nouveau/nouveau_mem.c args.gf100.priv = 0; args 68 drivers/gpu/drm/nouveau/nouveau_mem.c args.gf100.kind = mem->kind; args 69 drivers/gpu/drm/nouveau/nouveau_mem.c argc = sizeof(args.gf100); args 78 drivers/gpu/drm/nouveau/nouveau_mem.c ret = nvif_vmm_map(vmm, vma->addr, mem->mem.size, &args, argc, args 101 drivers/gpu/drm/nouveau/nouveau_mem.c struct nvif_mem_ram_v0 args = {}; args 119 drivers/gpu/drm/nouveau/nouveau_mem.c if (tt->ttm.sg) args.sgl = tt->ttm.sg->sgl; args 120 drivers/gpu/drm/nouveau/nouveau_mem.c else args.dma = tt->dma_address; args 126 drivers/gpu/drm/nouveau/nouveau_mem.c &args, sizeof(args), &mem->mem); args 79 drivers/gpu/drm/nouveau/nouveau_nvif.c } *args = header; args 82 drivers/gpu/drm/nouveau/nouveau_nvif.c if (length == sizeof(args->v0) && args->v0.version == 0) { args 83 drivers/gpu/drm/nouveau/nouveau_nvif.c route = args->v0.route; args 113 drivers/gpu/drm/nouveau/nouveau_svm.c struct drm_nouveau_svm_bind *args = data; args 118 drivers/gpu/drm/nouveau/nouveau_svm.c args->va_start &= PAGE_MASK; args 119 drivers/gpu/drm/nouveau/nouveau_svm.c args->va_end &= PAGE_MASK; args 122 drivers/gpu/drm/nouveau/nouveau_svm.c if (args->reserved0 || args->reserved1) args 124 drivers/gpu/drm/nouveau/nouveau_svm.c if (args->header & (~NOUVEAU_SVM_BIND_VALID_MASK)) args 126 drivers/gpu/drm/nouveau/nouveau_svm.c if (args->va_start >= args->va_end) args 128 drivers/gpu/drm/nouveau/nouveau_svm.c if (!args->npages) args 131 drivers/gpu/drm/nouveau/nouveau_svm.c cmd = args->header >> NOUVEAU_SVM_BIND_COMMAND_SHIFT; args 140 drivers/gpu/drm/nouveau/nouveau_svm.c priority = args->header >> NOUVEAU_SVM_BIND_PRIORITY_SHIFT; args 144 drivers/gpu/drm/nouveau/nouveau_svm.c target = args->header >> NOUVEAU_SVM_BIND_TARGET_SHIFT; args 158 drivers/gpu/drm/nouveau/nouveau_svm.c if (args->stride) args 161 drivers/gpu/drm/nouveau/nouveau_svm.c size = ((unsigned long)args->npages) << PAGE_SHIFT; args 162 drivers/gpu/drm/nouveau/nouveau_svm.c if ((args->va_start + size) <= args->va_start) args 164 drivers/gpu/drm/nouveau/nouveau_svm.c if ((args->va_start + size) > args->va_end) args 181 drivers/gpu/drm/nouveau/nouveau_svm.c for (addr = args->va_start, end = args->va_start + size; addr < end;) { args 201 drivers/gpu/drm/nouveau/nouveau_svm.c args->result = 0; args 314 drivers/gpu/drm/nouveau/nouveau_svm.c struct drm_nouveau_svm_init *args = data; args 321 drivers/gpu/drm/nouveau/nouveau_svm.c svmm->unmanaged.start = args->unmanaged_addr; args 322 drivers/gpu/drm/nouveau/nouveau_svm.c svmm->unmanaged.limit = args->unmanaged_addr + args->unmanaged_size; args 339 drivers/gpu/drm/nouveau/nouveau_svm.c args->unmanaged_addr, args->unmanaged_size, args 539 drivers/gpu/drm/nouveau/nouveau_svm.c } args; args 589 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.i.version = 0; args 590 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.i.type = NVIF_IOCTL_V0_MTHD; args 591 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.m.version = 0; args 592 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.m.method = NVIF_VMM_V0_PFNMAP; args 593 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.version = 0; args 607 drivers/gpu/drm/nouveau/nouveau_svm.c limit = start + (ARRAY_SIZE(args.phys) << PAGE_SHIFT); args 641 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.page = PAGE_SHIFT; args 642 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.addr = start; args 650 drivers/gpu/drm/nouveau/nouveau_svm.c args.phys[pi++] = NVIF_VMM_PFNMAP_V0_V | args 653 drivers/gpu/drm/nouveau/nouveau_svm.c args.phys[pi++] = NVIF_VMM_PFNMAP_V0_V; args 655 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.size = pi << PAGE_SHIFT; args 681 drivers/gpu/drm/nouveau/nouveau_svm.c args.phys[pi++] = NVIF_VMM_PFNMAP_V0_NONE; args 685 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.addr, args 686 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.addr + args.i.p.size, fn - fi); args 689 drivers/gpu/drm/nouveau/nouveau_svm.c range.start = args.i.p.addr; args 690 drivers/gpu/drm/nouveau/nouveau_svm.c range.end = args.i.p.addr + args.i.p.size; args 691 drivers/gpu/drm/nouveau/nouveau_svm.c range.pfns = args.phys; args 708 drivers/gpu/drm/nouveau/nouveau_svm.c &args, sizeof(args.i) + args 709 drivers/gpu/drm/nouveau/nouveau_svm.c pi * sizeof(args.phys[0]), args 783 drivers/gpu/drm/nouveau/nouveau_svm.c struct nvif_clb069_v0 args = {}; args 788 drivers/gpu/drm/nouveau/nouveau_svm.c ret = nvif_object_init(device, 0, oclass, &args, sizeof(args), args 796 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->entries = args.entries; args 797 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->getaddr = args.get; args 798 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->putaddr = args.put; args 128 drivers/gpu/drm/nouveau/nouveau_usif.c } *args = data; args 135 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 136 drivers/gpu/drm/nouveau/nouveau_usif.c if (usif_notify_find(f, args->v0.index)) args 156 drivers/gpu/drm/nouveau/nouveau_usif.c ntfy->handle = args->v0.index; args 173 drivers/gpu/drm/nouveau/nouveau_usif.c } *args = data; args 177 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 178 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ntfy = usif_notify_find(f, args->v0.index))) args 196 drivers/gpu/drm/nouveau/nouveau_usif.c } *args = data; args 200 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 201 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ntfy = usif_notify_find(f, args->v0.index))) args 233 drivers/gpu/drm/nouveau/nouveau_usif.c } *args = data; args 237 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 238 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ntfy = usif_notify_find(f, args->v0.index))) args 270 drivers/gpu/drm/nouveau/nouveau_usif.c } *args = data; args 278 drivers/gpu/drm/nouveau/nouveau_usif.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 279 drivers/gpu/drm/nouveau/nouveau_usif.c object->route = args->v0.route; args 280 drivers/gpu/drm/nouveau/nouveau_usif.c object->token = args->v0.token; args 281 drivers/gpu/drm/nouveau/nouveau_usif.c args->v0.route = NVDRM_OBJECT_USIF; args 282 drivers/gpu/drm/nouveau/nouveau_usif.c args->v0.token = (unsigned long)(void *)object; args 284 drivers/gpu/drm/nouveau/nouveau_usif.c args->v0.token = object->token; args 285 drivers/gpu/drm/nouveau/nouveau_usif.c args->v0.route = object->route; args 62 drivers/gpu/drm/nouveau/nv04_fence.c struct nv04_nvsw_get_ref_v0 args = {}; args 64 drivers/gpu/drm/nouveau/nv04_fence.c &args, sizeof(args))); args 65 drivers/gpu/drm/nouveau/nv04_fence.c return args.ref; args 65 drivers/gpu/drm/nouveau/nvif/client.c struct nvif_client_v0 args = { .device = device }; args 72 drivers/gpu/drm/nouveau/nvif/client.c strncpy(args.name, name, sizeof(args.name)); args 74 drivers/gpu/drm/nouveau/nvif/client.c 0, NVIF_CLASS_CLIENT, &args, sizeof(args), args 30 drivers/gpu/drm/nouveau/nvif/device.c struct nv_device_time_v0 args = {}; args 32 drivers/gpu/drm/nouveau/nvif/device.c &args, sizeof(args)); args 34 drivers/gpu/drm/nouveau/nvif/device.c return args.time; args 50 drivers/gpu/drm/nouveau/nvif/mem.c struct nvif_mem_v0 *args; args 58 drivers/gpu/drm/nouveau/nvif/mem.c if (sizeof(*args) + argc > sizeof(stack)) { args 59 drivers/gpu/drm/nouveau/nvif/mem.c if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL))) args 62 drivers/gpu/drm/nouveau/nvif/mem.c args = (void *)stack; args 64 drivers/gpu/drm/nouveau/nvif/mem.c args->version = 0; args 65 drivers/gpu/drm/nouveau/nvif/mem.c args->type = type; args 66 drivers/gpu/drm/nouveau/nvif/mem.c args->page = page; args 67 drivers/gpu/drm/nouveau/nvif/mem.c args->size = size; args 68 drivers/gpu/drm/nouveau/nvif/mem.c memcpy(args->data, argv, argc); args 70 drivers/gpu/drm/nouveau/nvif/mem.c ret = nvif_object_init(&mmu->object, 0, oclass, args, args 71 drivers/gpu/drm/nouveau/nvif/mem.c sizeof(*args) + argc, &mem->object); args 74 drivers/gpu/drm/nouveau/nvif/mem.c mem->page = args->page; args 75 drivers/gpu/drm/nouveau/nvif/mem.c mem->addr = args->addr; args 76 drivers/gpu/drm/nouveau/nvif/mem.c mem->size = args->size; args 79 drivers/gpu/drm/nouveau/nvif/mem.c if (args != (void *)stack) args 80 drivers/gpu/drm/nouveau/nvif/mem.c kfree(args); args 45 drivers/gpu/drm/nouveau/nvif/mmu.c struct nvif_mmu_v0 args; args 48 drivers/gpu/drm/nouveau/nvif/mmu.c args.version = 0; args 53 drivers/gpu/drm/nouveau/nvif/mmu.c ret = nvif_object_init(parent, 0, oclass, &args, sizeof(args), args 58 drivers/gpu/drm/nouveau/nvif/mmu.c mmu->dmabits = args.dmabits; args 59 drivers/gpu/drm/nouveau/nvif/mmu.c mmu->heap_nr = args.heap_nr; args 60 drivers/gpu/drm/nouveau/nvif/mmu.c mmu->type_nr = args.type_nr; args 61 drivers/gpu/drm/nouveau/nvif/mmu.c mmu->kind_nr = args.kind_nr; args 81 drivers/gpu/drm/nouveau/nvif/mmu.c struct nvif_mmu_heap_v0 args = { .index = i }; args 84 drivers/gpu/drm/nouveau/nvif/mmu.c &args, sizeof(args)); args 88 drivers/gpu/drm/nouveau/nvif/mmu.c mmu->heap[i].size = args.size; args 92 drivers/gpu/drm/nouveau/nvif/mmu.c struct nvif_mmu_type_v0 args = { .index = i }; args 95 drivers/gpu/drm/nouveau/nvif/mmu.c &args, sizeof(args)); args 100 drivers/gpu/drm/nouveau/nvif/mmu.c if (args.vram) mmu->type[i].type |= NVIF_MEM_VRAM; args 101 drivers/gpu/drm/nouveau/nvif/mmu.c if (args.host) mmu->type[i].type |= NVIF_MEM_HOST; args 102 drivers/gpu/drm/nouveau/nvif/mmu.c if (args.comp) mmu->type[i].type |= NVIF_MEM_COMP; args 103 drivers/gpu/drm/nouveau/nvif/mmu.c if (args.disp) mmu->type[i].type |= NVIF_MEM_DISP; args 104 drivers/gpu/drm/nouveau/nvif/mmu.c if (args.kind ) mmu->type[i].type |= NVIF_MEM_KIND; args 105 drivers/gpu/drm/nouveau/nvif/mmu.c if (args.mappable) mmu->type[i].type |= NVIF_MEM_MAPPABLE; args 106 drivers/gpu/drm/nouveau/nvif/mmu.c if (args.coherent) mmu->type[i].type |= NVIF_MEM_COHERENT; args 107 drivers/gpu/drm/nouveau/nvif/mmu.c if (args.uncached) mmu->type[i].type |= NVIF_MEM_UNCACHED; args 108 drivers/gpu/drm/nouveau/nvif/mmu.c mmu->type[i].heap = args.heap; args 39 drivers/gpu/drm/nouveau/nvif/notify.c } args = { args 47 drivers/gpu/drm/nouveau/nvif/notify.c return nvif_object_ioctl(object, &args, sizeof(args), NULL); args 70 drivers/gpu/drm/nouveau/nvif/notify.c } args = { args 78 drivers/gpu/drm/nouveau/nvif/notify.c return nvif_object_ioctl(object, &args, sizeof(args), NULL); args 117 drivers/gpu/drm/nouveau/nvif/notify.c } *args = header; args 120 drivers/gpu/drm/nouveau/nvif/notify.c if (length == sizeof(args->v0) && args->v0.version == 0) { args 121 drivers/gpu/drm/nouveau/nvif/notify.c if (WARN_ON(args->v0.route)) args 123 drivers/gpu/drm/nouveau/nvif/notify.c notify = (void *)(unsigned long)args->v0.token; args 151 drivers/gpu/drm/nouveau/nvif/notify.c } args = { args 157 drivers/gpu/drm/nouveau/nvif/notify.c ret = nvif_object_ioctl(object, &args, sizeof(args), NULL); args 173 drivers/gpu/drm/nouveau/nvif/notify.c } *args; args 190 drivers/gpu/drm/nouveau/nvif/notify.c if (!(args = kmalloc(sizeof(*args) + size, GFP_KERNEL))) args 192 drivers/gpu/drm/nouveau/nvif/notify.c args->ioctl.version = 0; args 193 drivers/gpu/drm/nouveau/nvif/notify.c args->ioctl.type = NVIF_IOCTL_V0_NTFY_NEW; args 194 drivers/gpu/drm/nouveau/nvif/notify.c args->ntfy.version = 0; args 195 drivers/gpu/drm/nouveau/nvif/notify.c args->ntfy.event = event; args 196 drivers/gpu/drm/nouveau/nvif/notify.c args->req.version = 0; args 197 drivers/gpu/drm/nouveau/nvif/notify.c args->req.reply = notify->size; args 198 drivers/gpu/drm/nouveau/nvif/notify.c args->req.route = 0; args 199 drivers/gpu/drm/nouveau/nvif/notify.c args->req.token = (unsigned long)(void *)notify; args 201 drivers/gpu/drm/nouveau/nvif/notify.c memcpy(args->req.data, data, size); args 202 drivers/gpu/drm/nouveau/nvif/notify.c ret = nvif_object_ioctl(object, args, sizeof(*args) + size, NULL); args 203 drivers/gpu/drm/nouveau/nvif/notify.c notify->index = args->ntfy.index; args 204 drivers/gpu/drm/nouveau/nvif/notify.c kfree(args); args 36 drivers/gpu/drm/nouveau/nvif/object.c } *args = data; args 38 drivers/gpu/drm/nouveau/nvif/object.c if (size >= sizeof(*args) && args->v0.version == 0) { args 40 drivers/gpu/drm/nouveau/nvif/object.c args->v0.object = nvif_handle(object); args 42 drivers/gpu/drm/nouveau/nvif/object.c args->v0.object = 0; args 43 drivers/gpu/drm/nouveau/nvif/object.c args->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; args 64 drivers/gpu/drm/nouveau/nvif/object.c } *args = NULL; args 69 drivers/gpu/drm/nouveau/nvif/object.c size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); args 70 drivers/gpu/drm/nouveau/nvif/object.c if (!(args = kmalloc(size, GFP_KERNEL))) args 72 drivers/gpu/drm/nouveau/nvif/object.c args->ioctl.version = 0; args 73 drivers/gpu/drm/nouveau/nvif/object.c args->ioctl.type = NVIF_IOCTL_V0_SCLASS; args 74 drivers/gpu/drm/nouveau/nvif/object.c args->sclass.version = 0; args 75 drivers/gpu/drm/nouveau/nvif/object.c args->sclass.count = cnt; args 77 drivers/gpu/drm/nouveau/nvif/object.c ret = nvif_object_ioctl(object, args, size, NULL); args 78 drivers/gpu/drm/nouveau/nvif/object.c if (ret == 0 && args->sclass.count <= cnt) args 80 drivers/gpu/drm/nouveau/nvif/object.c cnt = args->sclass.count; args 81 drivers/gpu/drm/nouveau/nvif/object.c kfree(args); args 86 drivers/gpu/drm/nouveau/nvif/object.c *psclass = kcalloc(args->sclass.count, sizeof(**psclass), GFP_KERNEL); args 88 drivers/gpu/drm/nouveau/nvif/object.c for (i = 0; i < args->sclass.count; i++) { args 89 drivers/gpu/drm/nouveau/nvif/object.c (*psclass)[i].oclass = args->sclass.oclass[i].oclass; args 90 drivers/gpu/drm/nouveau/nvif/object.c (*psclass)[i].minver = args->sclass.oclass[i].minver; args 91 drivers/gpu/drm/nouveau/nvif/object.c (*psclass)[i].maxver = args->sclass.oclass[i].maxver; args 93 drivers/gpu/drm/nouveau/nvif/object.c ret = args->sclass.count; args 98 drivers/gpu/drm/nouveau/nvif/object.c kfree(args); args 108 drivers/gpu/drm/nouveau/nvif/object.c } args = { args 113 drivers/gpu/drm/nouveau/nvif/object.c int ret = nvif_object_ioctl(object, &args, sizeof(args), NULL); args 118 drivers/gpu/drm/nouveau/nvif/object.c return args.rd.data; args 127 drivers/gpu/drm/nouveau/nvif/object.c } args = { args 133 drivers/gpu/drm/nouveau/nvif/object.c int ret = nvif_object_ioctl(object, &args, sizeof(args), NULL); args 145 drivers/gpu/drm/nouveau/nvif/object.c } *args; args 149 drivers/gpu/drm/nouveau/nvif/object.c if (sizeof(*args) + size > sizeof(stack)) { args 150 drivers/gpu/drm/nouveau/nvif/object.c if (!(args = kmalloc(sizeof(*args) + size, GFP_KERNEL))) args 153 drivers/gpu/drm/nouveau/nvif/object.c args = (void *)stack; args 155 drivers/gpu/drm/nouveau/nvif/object.c args->ioctl.version = 0; args 156 drivers/gpu/drm/nouveau/nvif/object.c args->ioctl.type = NVIF_IOCTL_V0_MTHD; args 157 drivers/gpu/drm/nouveau/nvif/object.c args->mthd.version = 0; args 158 drivers/gpu/drm/nouveau/nvif/object.c args->mthd.method = mthd; args 160 drivers/gpu/drm/nouveau/nvif/object.c memcpy(args->mthd.data, data, size); args 161 drivers/gpu/drm/nouveau/nvif/object.c ret = nvif_object_ioctl(object, args, sizeof(*args) + size, NULL); args 162 drivers/gpu/drm/nouveau/nvif/object.c memcpy(data, args->mthd.data, size); args 163 drivers/gpu/drm/nouveau/nvif/object.c if (args != (void *)stack) args 164 drivers/gpu/drm/nouveau/nvif/object.c kfree(args); args 174 drivers/gpu/drm/nouveau/nvif/object.c } args = { args 178 drivers/gpu/drm/nouveau/nvif/object.c nvif_object_ioctl(object, &args, sizeof(args), NULL); args 188 drivers/gpu/drm/nouveau/nvif/object.c } *args; args 189 drivers/gpu/drm/nouveau/nvif/object.c u32 argn = sizeof(*args) + argc; args 192 drivers/gpu/drm/nouveau/nvif/object.c if (!(args = kzalloc(argn, GFP_KERNEL))) args 194 drivers/gpu/drm/nouveau/nvif/object.c args->ioctl.type = NVIF_IOCTL_V0_MAP; args 195 drivers/gpu/drm/nouveau/nvif/object.c memcpy(args->map.data, argv, argc); args 197 drivers/gpu/drm/nouveau/nvif/object.c ret = nvif_object_ioctl(object, args, argn, NULL); args 198 drivers/gpu/drm/nouveau/nvif/object.c *handle = args->map.handle; args 199 drivers/gpu/drm/nouveau/nvif/object.c *length = args->map.length; args 200 drivers/gpu/drm/nouveau/nvif/object.c maptype = args->map.type; args 201 drivers/gpu/drm/nouveau/nvif/object.c kfree(args); args 250 drivers/gpu/drm/nouveau/nvif/object.c } args = { args 258 drivers/gpu/drm/nouveau/nvif/object.c nvif_object_ioctl(object, &args, sizeof(args), NULL); args 269 drivers/gpu/drm/nouveau/nvif/object.c } *args; args 279 drivers/gpu/drm/nouveau/nvif/object.c if (!(args = kmalloc(sizeof(*args) + size, GFP_KERNEL))) { args 284 drivers/gpu/drm/nouveau/nvif/object.c args->ioctl.version = 0; args 285 drivers/gpu/drm/nouveau/nvif/object.c args->ioctl.type = NVIF_IOCTL_V0_NEW; args 286 drivers/gpu/drm/nouveau/nvif/object.c args->new.version = 0; args 287 drivers/gpu/drm/nouveau/nvif/object.c args->new.route = parent->client->route; args 288 drivers/gpu/drm/nouveau/nvif/object.c args->new.token = nvif_handle(object); args 289 drivers/gpu/drm/nouveau/nvif/object.c args->new.object = nvif_handle(object); args 290 drivers/gpu/drm/nouveau/nvif/object.c args->new.handle = handle; args 291 drivers/gpu/drm/nouveau/nvif/object.c args->new.oclass = oclass; args 293 drivers/gpu/drm/nouveau/nvif/object.c memcpy(args->new.data, data, size); args 294 drivers/gpu/drm/nouveau/nvif/object.c ret = nvif_object_ioctl(parent, args, sizeof(*args) + size, args 296 drivers/gpu/drm/nouveau/nvif/object.c memcpy(data, args->new.data, size); args 297 drivers/gpu/drm/nouveau/nvif/object.c kfree(args); args 39 drivers/gpu/drm/nouveau/nvif/vmm.c struct nvif_vmm_map_v0 *args; args 43 drivers/gpu/drm/nouveau/nvif/vmm.c if (sizeof(*args) + argc > sizeof(stack)) { args 44 drivers/gpu/drm/nouveau/nvif/vmm.c if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL))) args 47 drivers/gpu/drm/nouveau/nvif/vmm.c args = (void *)stack; args 50 drivers/gpu/drm/nouveau/nvif/vmm.c args->version = 0; args 51 drivers/gpu/drm/nouveau/nvif/vmm.c args->addr = addr; args 52 drivers/gpu/drm/nouveau/nvif/vmm.c args->size = size; args 53 drivers/gpu/drm/nouveau/nvif/vmm.c args->memory = nvif_handle(&mem->object); args 54 drivers/gpu/drm/nouveau/nvif/vmm.c args->offset = offset; args 55 drivers/gpu/drm/nouveau/nvif/vmm.c memcpy(args->data, argv, argc); args 58 drivers/gpu/drm/nouveau/nvif/vmm.c args, sizeof(*args) + argc); args 59 drivers/gpu/drm/nouveau/nvif/vmm.c if (args != (void *)stack) args 60 drivers/gpu/drm/nouveau/nvif/vmm.c kfree(args); args 80 drivers/gpu/drm/nouveau/nvif/vmm.c struct nvif_vmm_get_v0 args; args 83 drivers/gpu/drm/nouveau/nvif/vmm.c args.version = vma->size = 0; args 84 drivers/gpu/drm/nouveau/nvif/vmm.c args.sparse = sparse; args 85 drivers/gpu/drm/nouveau/nvif/vmm.c args.page = page; args 86 drivers/gpu/drm/nouveau/nvif/vmm.c args.align = align; args 87 drivers/gpu/drm/nouveau/nvif/vmm.c args.size = size; args 90 drivers/gpu/drm/nouveau/nvif/vmm.c case ADDR: args.type = NVIF_VMM_GET_V0_ADDR; break; args 91 drivers/gpu/drm/nouveau/nvif/vmm.c case PTES: args.type = NVIF_VMM_GET_V0_PTES; break; args 92 drivers/gpu/drm/nouveau/nvif/vmm.c case LAZY: args.type = NVIF_VMM_GET_V0_LAZY; break; args 99 drivers/gpu/drm/nouveau/nvif/vmm.c &args, sizeof(args)); args 101 drivers/gpu/drm/nouveau/nvif/vmm.c vma->addr = args.addr; args 102 drivers/gpu/drm/nouveau/nvif/vmm.c vma->size = args.size; args 118 drivers/gpu/drm/nouveau/nvif/vmm.c struct nvif_vmm_v0 *args; args 119 drivers/gpu/drm/nouveau/nvif/vmm.c u32 argn = sizeof(*args) + argc; args 125 drivers/gpu/drm/nouveau/nvif/vmm.c if (!(args = kmalloc(argn, GFP_KERNEL))) args 127 drivers/gpu/drm/nouveau/nvif/vmm.c args->version = 0; args 128 drivers/gpu/drm/nouveau/nvif/vmm.c args->managed = managed; args 129 drivers/gpu/drm/nouveau/nvif/vmm.c args->addr = addr; args 130 drivers/gpu/drm/nouveau/nvif/vmm.c args->size = size; args 131 drivers/gpu/drm/nouveau/nvif/vmm.c memcpy(args->data, argv, argc); args 133 drivers/gpu/drm/nouveau/nvif/vmm.c ret = nvif_object_init(&mmu->object, 0, oclass, args, argn, args 138 drivers/gpu/drm/nouveau/nvif/vmm.c vmm->start = args->addr; args 139 drivers/gpu/drm/nouveau/nvif/vmm.c vmm->limit = args->size; args 141 drivers/gpu/drm/nouveau/nvif/vmm.c vmm->page_nr = args->page_nr; args 150 drivers/gpu/drm/nouveau/nvif/vmm.c struct nvif_vmm_page_v0 args = { .index = i }; args 153 drivers/gpu/drm/nouveau/nvif/vmm.c &args, sizeof(args)); args 157 drivers/gpu/drm/nouveau/nvif/vmm.c vmm->page[i].shift = args.shift; args 158 drivers/gpu/drm/nouveau/nvif/vmm.c vmm->page[i].sparse = args.sparse; args 159 drivers/gpu/drm/nouveau/nvif/vmm.c vmm->page[i].vram = args.vram; args 160 drivers/gpu/drm/nouveau/nvif/vmm.c vmm->page[i].host = args.host; args 161 drivers/gpu/drm/nouveau/nvif/vmm.c vmm->page[i].comp = args.comp; args 167 drivers/gpu/drm/nouveau/nvif/vmm.c kfree(args); args 40 drivers/gpu/drm/nouveau/nvkm/core/client.c } *args = argv; args 44 drivers/gpu/drm/nouveau/nvkm/core/client.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))){ args 45 drivers/gpu/drm/nouveau/nvkm/core/client.c args->v0.name[sizeof(args->v0.name) - 1] = 0; args 46 drivers/gpu/drm/nouveau/nvkm/core/client.c ret = nvkm_client_new(args->v0.name, args->v0.device, NULL, args 196 drivers/gpu/drm/nouveau/nvkm/core/client.c } *args = data; args 200 drivers/gpu/drm/nouveau/nvkm/core/client.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 202 drivers/gpu/drm/nouveau/nvkm/core/client.c args->v0.version, args->v0.count); args 203 drivers/gpu/drm/nouveau/nvkm/core/client.c if (size == sizeof(args->v0.device[0]) * args->v0.count) { args 204 drivers/gpu/drm/nouveau/nvkm/core/client.c ret = nvkm_device_list(args->v0.device, args->v0.count); args 206 drivers/gpu/drm/nouveau/nvkm/core/client.c args->v0.count = ret; args 37 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 41 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 42 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvif_ioctl(object, "nop vers %lld\n", args->v0.version); args 43 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version = NVIF_VERSION_LATEST; args 55 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 60 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 62 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.count); args 63 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (size != args->v0.count * sizeof(args->v0.oclass[0])) args 68 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (i < args->v0.count) { args 69 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.oclass[i].oclass = oclass.base.oclass; args 70 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.oclass[i].minver = oclass.base.minver; args 71 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.oclass[i].maxver = oclass.base.maxver; args 76 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.count = i; args 88 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 94 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 97 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.handle, args->v0.oclass, args 98 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.route, args->v0.token, args->v0.object); args 109 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c oclass.handle = args->v0.handle; args 110 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c oclass.route = args->v0.route; args 111 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c oclass.token = args->v0.token; args 112 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c oclass.object = args->v0.object; args 118 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } while (oclass.base.oclass != args->v0.oclass); args 151 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 155 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unvers(ret, &data, &size, args->none))) { args 170 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 174 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 176 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.method); args 177 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_object_mthd(object, args->v0.method, data, size); args 190 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 199 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 201 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.size, args->v0.addr); args 202 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c switch (args->v0.size) { args 204 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_object_rd08(object, args->v0.addr, &v.b08); args 205 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.data = v.b08; args 208 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_object_rd16(object, args->v0.addr, &v.b16); args 209 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.data = v.b16; args 212 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_object_rd32(object, args->v0.addr, &v.b32); args 213 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.data = v.b32; args 230 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 234 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 237 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.size, args->v0.addr, args 238 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.data); args 242 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c switch (args->v0.size) { args 243 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c case 1: return nvkm_object_wr08(object, args->v0.addr, args->v0.data); args 244 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c case 2: return nvkm_object_wr16(object, args->v0.addr, args->v0.data); args 245 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c case 4: return nvkm_object_wr32(object, args->v0.addr, args->v0.data); args 259 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 264 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 265 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c nvif_ioctl(object, "map vers %d\n", args->v0.version); args 267 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c &args->v0.handle, args 268 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c &args->v0.length); args 270 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.type = NVIF_IOCTL_MAP_V0_IO; args 272 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.type = NVIF_IOCTL_MAP_V0_VA; args 284 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 288 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unvers(ret, &data, &size, args->none))) { args 302 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 307 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 309 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.event); args 310 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_object_ntfy(object, args->v0.event, &event); args 314 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.index = ret; args 329 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 333 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 335 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.index); args 336 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_client_notify_del(client, args->v0.index); args 348 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 352 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 354 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.index); args 355 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_client_notify_get(client, args->v0.index); args 367 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 371 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 373 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.index); args 374 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_client_notify_put(client, args->v0.index); args 435 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c } *args = data; args 441 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 444 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.version, args->v0.type, args->v0.object, args 445 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c args->v0.owner); args 446 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c ret = nvkm_ioctl_path(client, args->v0.object, args->v0.type, args 447 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c data, size, args->v0.owner, args 448 drivers/gpu/drm/nouveau/nvkm/core/ioctl.c &args->v0.route, &args->v0.token); args 39 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c } *args = data; args 44 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 46 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.version); args 51 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.count = clk->state_nr; args 52 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.ustate_ac = clk->ustate_ac; args 53 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.ustate_dc = clk->ustate_dc; args 54 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.pwrsrc = clk->pwrsrc; args 55 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.pstate = clk->pstate; args 57 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.count = 0; args 58 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.ustate_ac = NVIF_CONTROL_PSTATE_INFO_V0_USTATE_DISABLE; args 59 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.ustate_dc = NVIF_CONTROL_PSTATE_INFO_V0_USTATE_DISABLE; args 60 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.pwrsrc = -ENOSYS; args 61 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.pstate = NVIF_CONTROL_PSTATE_INFO_V0_PSTATE_UNKNOWN; args 72 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c } *args = data; args 82 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 85 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.version, args->v0.state, args->v0.index); args 88 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (args->v0.state < NVIF_CONTROL_PSTATE_ATTR_V0_STATE_CURRENT) args 90 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (args->v0.state >= clk->state_nr) args 97 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (domain->mname && ++j == args->v0.index) args 105 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (args->v0.state != NVIF_CONTROL_PSTATE_ATTR_V0_STATE_CURRENT) { args 107 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (i++ == args->v0.state) args 118 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.state = pstate->pstate; args 124 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c snprintf(args->v0.name, sizeof(args->v0.name), "%s", domain->mname); args 125 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c snprintf(args->v0.unit, sizeof(args->v0.unit), "MHz"); args 126 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.min = lo / domain->mdiv; args 127 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.max = hi / domain->mdiv; args 129 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.index = 0; args 132 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.index = ++j; args 145 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c } *args = data; args 150 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 153 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c args->v0.version, args->v0.ustate, args->v0.pwrsrc); args 159 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c if (args->v0.pwrsrc >= 0) { args 160 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c ret |= nvkm_clk_ustate(clk, args->v0.ustate, args->v0.pwrsrc); args 162 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c ret |= nvkm_clk_ustate(clk, args->v0.ustate, 0); args 163 drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c ret |= nvkm_clk_ustate(clk, args->v0.ustate, 1); args 62 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c struct nv_device_info_v1_data *args) args 64 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (args->mthd & NV_DEVICE_INFO_UNIT) { args 65 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (nvkm_udevice_info_subdev(device, args->mthd, &args->data)) args 66 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->mthd = NV_DEVICE_INFO_INVALID; args 70 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c switch (args->mthd) { args 72 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c for (_i = (B), args->data = 0ULL; _i <= (C); _i++) { \ args 74 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->data |= BIT_ULL(_i); \ args 97 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->mthd = NV_DEVICE_INFO_INVALID; args 112 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c } *args = data; args 116 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (!(ret = nvif_unpack(ret, &data, &size, args->v1, 1, 1, true))) { args 118 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v1.version, args->v1.count); args 119 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (args->v1.count * sizeof(args->v1.data[0]) == size) { args 120 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c for (i = 0; i < args->v1.count; i++) args 121 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c nvkm_udevice_info_v1(device, &args->v1.data[i]); args 126 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 127 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c nvif_ioctl(object, "device info vers %d\n", args->v0.version); args 142 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.platform = NV_DEVICE_INFO_V0_IGP; args 147 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.platform = NV_DEVICE_INFO_V0_PCI; args 150 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.platform = NV_DEVICE_INFO_V0_AGP; args 153 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.platform = NV_DEVICE_INFO_V0_PCIE; args 156 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.platform = NV_DEVICE_INFO_V0_SOC; args 166 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_04: args->v0.family = NV_DEVICE_INFO_V0_TNT; break; args 168 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_11: args->v0.family = NV_DEVICE_INFO_V0_CELSIUS; break; args 169 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_20: args->v0.family = NV_DEVICE_INFO_V0_KELVIN; break; args 170 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_30: args->v0.family = NV_DEVICE_INFO_V0_RANKINE; break; args 171 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_40: args->v0.family = NV_DEVICE_INFO_V0_CURIE; break; args 172 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_50: args->v0.family = NV_DEVICE_INFO_V0_TESLA; break; args 173 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_C0: args->v0.family = NV_DEVICE_INFO_V0_FERMI; break; args 174 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case NV_E0: args->v0.family = NV_DEVICE_INFO_V0_KEPLER; break; args 175 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case GM100: args->v0.family = NV_DEVICE_INFO_V0_MAXWELL; break; args 176 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case GP100: args->v0.family = NV_DEVICE_INFO_V0_PASCAL; break; args 177 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case GV100: args->v0.family = NV_DEVICE_INFO_V0_VOLTA; break; args 178 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c case TU100: args->v0.family = NV_DEVICE_INFO_V0_TURING; break; args 180 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.family = 0; args 184 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.chipset = device->chipset; args 185 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.revision = device->chiprev; args 187 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.ram_size = args->v0.ram_user = fb->ram->size; args 189 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.ram_size = args->v0.ram_user = 0; args 190 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (imem && args->v0.ram_size > 0) args 191 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.ram_user = args->v0.ram_user - imem->reserved; args 193 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c strncpy(args->v0.chip, device->chip->name, sizeof(args->v0.chip)); args 194 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c strncpy(args->v0.name, device->name, sizeof(args->v0.name)); args 205 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c } *args = data; args 209 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 210 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c nvif_ioctl(object, "device time vers %d\n", args->v0.version); args 211 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.time = nvkm_timer_read(device->timer); args 414 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c } *args = data; args 422 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 424 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c args->v0.version, args->v0.device); args 440 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c if (args->v0.device != ~0) args 441 drivers/gpu/drm/nouveau/nvkm/engine/device/user.c udev->device = nvkm_device_find(args->v0.device); args 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c } *args = argv; args 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c args->v0.version, args->v0.pushbuf, args->v0.head); args 51 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c if (!nvkm_head_find(&disp->base, args->v0.head)) args 53 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c push = args->v0.pushbuf; args 54 drivers/gpu/drm/nouveau/nvkm/engine/disp/basenv50.c head = args->v0.head; args 140 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c } *args = data; args 143 drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.c if (!(ret = nvif_unvers(ret, &data, &size, args->none))) { args 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c } *args = argv; args 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c args->v0.version, args->v0.pushbuf); args 51 drivers/gpu/drm/nouveau/nvkm/engine/disp/corenv50.c push = args->v0.pushbuf; args 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c } *args = argv; args 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c args->v0.version, args->v0.head); args 48 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c if (!nvkm_head_find(&disp->base, args->v0.head)) args 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/cursnv50.c head = args->v0.head; args 48 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c } *args = data; args 52 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 54 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.version); args 57 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.vtotal = head->arm.vtotal; args 58 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.vblanks = head->arm.vblanks; args 59 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.vblanke = head->arm.vblanke; args 60 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.htotal = head->arm.htotal; args 61 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.hblanks = head->arm.hblanks; args 62 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.hblanke = head->arm.hblanke; args 68 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c if (!args->v0.vtotal || !args->v0.htotal) args 71 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.time[0] = ktime_to_ns(ktime_get()); args 72 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c head->func->rgpos(head, &args->v0.hline, &args->v0.vline); args 73 drivers/gpu/drm/nouveau/nvkm/engine/disp/head.c args->v0.time[1] = ktime_to_ns(ktime_get()); args 40 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c } *args = argv; args 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c args->v0.version, args->v0.head); args 48 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c if (!nvkm_head_find(&disp->base, args->v0.head)) args 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/oimmnv50.c head = args->v0.head; args 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c } *args = argv; args 47 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c args->v0.version, args->v0.pushbuf, args->v0.head); args 51 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c if (!nvkm_head_find(&disp->base, args->v0.head)) args 53 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c push = args->v0.pushbuf; args 54 drivers/gpu/drm/nouveau/nvkm/engine/disp/ovlynv50.c head = args->v0.head; args 45 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c } *args = data; args 50 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 52 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c args->v0.version, args->v0.method, args->v0.head); args 53 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c mthd = args->v0.method; args 54 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv04.c id = args->v0.head; args 42 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c } *args = data; args 54 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 56 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.version, args->v0.method, args->v0.head); args 57 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c mthd = args->v0.method; args 58 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c hidx = args->v0.head; args 60 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v1, 1, 1, true))) { args 63 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v1.version, args->v1.method, args 64 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v1.hasht, args->v1.hashm); args 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c mthd = args->v1.method; args 66 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c type = args->v1.hasht; args 67 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c mask = args->v1.hashm; args 99 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c } *args = data; args 101 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 104 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.or = outp->ior->id; args 105 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.link = outp->ior->asy.link; args 117 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c } *args = data; args 119 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 120 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (args->v0.data & 0xfff00000) args 125 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c ret = outp->ior->func->sense(outp->ior, args->v0.data); args 129 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.load = ret; args 138 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c } *args = data; args 143 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 145 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.version); args 154 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (size && args->v0.data[0]) { args 171 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c } *args = data; args 177 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 180 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.version, args->v0.state, args 181 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.max_ac_packet, args->v0.rekey, args 182 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.scdc); args 183 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (args->v0.max_ac_packet > 0x1f || args->v0.rekey > 0x7f) args 185 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if ((args->v0.avi_infoframe_length args 186 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c + args->v0.vendor_infoframe_length) > size) args 189 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if ((args->v0.avi_infoframe_length args 190 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c + args->v0.vendor_infoframe_length) < size) args 193 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c avi_size = args->v0.avi_infoframe_length; args 195 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c vendor_size = args->v0.vendor_infoframe_length; args 202 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c outp->ior->func->hdmi.ctrl(outp->ior, hidx, args->v0.state, args 203 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.max_ac_packet, args 204 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.rekey, avi, avi_size, args 209 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c outp->ior, hidx, args->v0.scdc); args 217 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c } *args = data; args 220 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 223 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.version, args->v0.script); args 224 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c disp->sor.lvdsconf = args->v0.script; args 234 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c } *args = data; args 237 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 239 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.version, args->v0.state); args 240 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c dp->lt.mst = !!args->v0.state; args 249 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c } *args = data; args 252 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 255 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.version, args->v0.start_slot, args 256 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.num_slots, args->v0.pbn, args 257 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.aligned_pbn); args 261 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.start_slot, args 262 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.num_slots, args 263 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.pbn, args 264 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c args->v0.aligned_pbn); args 55 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c } *args = argv; args 61 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 64 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c args->v0.version, args->v0.pushbuf, args->v0.index); args 65 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c if (!(disp->wndw.mask & BIT(args->v0.index))) args 67 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c push = args->v0.pushbuf; args 68 drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.c wndw = args->v0.index; args 157 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c } *args = argv; args 163 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 166 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c args->v0.version, args->v0.pushbuf, args->v0.index); args 167 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c if (!(disp->wndw.mask & BIT(args->v0.index))) args 169 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c push = args->v0.pushbuf; args 170 drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.c wndw = args->v0.index; args 74 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c } *args = *pdata; args 89 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { args 92 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c args->v0.version, args->v0.target, args->v0.access, args 93 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c args->v0.start, args->v0.limit); args 94 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c dmaobj->target = args->v0.target; args 95 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c dmaobj->access = args->v0.access; args 96 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c dmaobj->start = args->v0.start; args 97 drivers/gpu/drm/nouveau/nvkm/engine/dma/user.c dmaobj->limit = args->v0.limit; args 75 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf100.c } *args; args 91 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf100.c args = data; args 94 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf100.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 97 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf100.c args->v0.version, args->v0.priv, args->v0.kind); args 98 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf100.c kind = args->v0.kind; args 99 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf100.c user = args->v0.priv; args 73 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf119.c } *args; args 89 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf119.c args = data; args 92 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf119.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 95 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf119.c args->v0.version, args->v0.page, args->v0.kind); args 96 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf119.c kind = args->v0.kind; args 97 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergf119.c page = args->v0.page; args 72 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergv100.c } *args; args 88 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergv100.c args = data; args 91 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergv100.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 94 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergv100.c args->v0.version, args->v0.page, args->v0.kind); args 95 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergv100.c kind = args->v0.kind != 0; args 96 drivers/gpu/drm/nouveau/nvkm/engine/dma/usergv100.c page = args->v0.page != 0; args 75 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c } *args; args 91 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c args = data; args 94 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 96 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c "comp %d kind %02x\n", args->v0.version, args 97 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c args->v0.priv, args->v0.part, args->v0.comp, args 98 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c args->v0.kind); args 99 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c user = args->v0.priv; args 100 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c part = args->v0.part; args 101 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c comp = args->v0.comp; args 102 drivers/gpu/drm/nouveau/nvkm/engine/dma/usernv50.c kind = args->v0.kind; args 40 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c } *args = data; args 46 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 49 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c args->v0.version, args->v0.vmm, args->v0.pushbuf, args 50 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c args->v0.offset); args 51 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c if (!args->v0.pushbuf) args 60 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c ret = g84_fifo_chan_ctor(fifo, args->v0.vmm, args->v0.pushbuf, args 65 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c args->v0.chid = chan->base.chid; args 68 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c nvkm_wo32(chan->ramfc, 0x08, lower_32_bits(args->v0.offset)); args 69 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c nvkm_wo32(chan->ramfc, 0x0c, upper_32_bits(args->v0.offset)); args 70 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c nvkm_wo32(chan->ramfc, 0x10, lower_32_bits(args->v0.offset)); args 71 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmag84.c nvkm_wo32(chan->ramfc, 0x14, upper_32_bits(args->v0.offset)); args 171 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c } *args = data; args 179 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 181 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c "offset %08x\n", args->v0.version, args 182 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c args->v0.pushbuf, args->v0.offset); args 183 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c if (!args->v0.pushbuf) args 193 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c 0x1000, 0x1000, false, 0, args->v0.pushbuf, args 202 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c args->v0.chid = chan->base.chid; args 206 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c nvkm_wo32(imem->ramfc, chan->ramfc + 0x00, args->v0.offset); args 207 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.c nvkm_wo32(imem->ramfc, chan->ramfc + 0x04, args->v0.offset); args 42 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c } *args = data; args 50 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 52 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c "offset %08x\n", args->v0.version, args 53 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c args->v0.pushbuf, args->v0.offset); args 54 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c if (!args->v0.pushbuf) args 64 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c 0x1000, 0x1000, false, 0, args->v0.pushbuf, args 73 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c args->v0.chid = chan->base.chid; args 77 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c nvkm_wo32(imem->ramfc, chan->ramfc + 0x00, args->v0.offset); args 78 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv10.c nvkm_wo32(imem->ramfc, chan->ramfc + 0x04, args->v0.offset); args 42 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c } *args = data; args 50 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 52 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c "offset %08x\n", args->v0.version, args 53 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c args->v0.pushbuf, args->v0.offset); args 54 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c if (!args->v0.pushbuf) args 64 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c 0x1000, 0x1000, false, 0, args->v0.pushbuf, args 74 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c args->v0.chid = chan->base.chid; args 78 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c nvkm_wo32(imem->ramfc, chan->ramfc + 0x00, args->v0.offset); args 79 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv17.c nvkm_wo32(imem->ramfc, chan->ramfc + 0x04, args->v0.offset); args 189 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c } *args = data; args 197 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 199 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c "offset %08x\n", args->v0.version, args 200 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c args->v0.pushbuf, args->v0.offset); args 201 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c if (!args->v0.pushbuf) args 211 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c 0x1000, 0x1000, false, 0, args->v0.pushbuf, args 221 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c args->v0.chid = chan->base.chid; args 225 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c nvkm_wo32(imem->ramfc, chan->ramfc + 0x00, args->v0.offset); args 226 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv40.c nvkm_wo32(imem->ramfc, chan->ramfc + 0x04, args->v0.offset); args 40 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c } *args = data; args 46 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 49 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c args->v0.version, args->v0.vmm, args->v0.pushbuf, args 50 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c args->v0.offset); args 51 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c if (!args->v0.pushbuf) args 60 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c ret = nv50_fifo_chan_ctor(fifo, args->v0.vmm, args->v0.pushbuf, args 65 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c args->v0.chid = chan->base.chid; args 68 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c nvkm_wo32(chan->ramfc, 0x08, lower_32_bits(args->v0.offset)); args 69 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c nvkm_wo32(chan->ramfc, 0x0c, upper_32_bits(args->v0.offset)); args 70 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c nvkm_wo32(chan->ramfc, 0x10, lower_32_bits(args->v0.offset)); args 71 drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv50.c nvkm_wo32(chan->ramfc, 0x14, upper_32_bits(args->v0.offset)); args 40 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c } *args = data; args 47 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 51 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c args->v0.version, args->v0.vmm, args->v0.pushbuf, args 52 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c args->v0.ioffset, args->v0.ilength); args 53 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c if (!args->v0.pushbuf) args 62 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c ret = g84_fifo_chan_ctor(fifo, args->v0.vmm, args->v0.pushbuf, args 67 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c args->v0.chid = chan->base.chid; args 68 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c ioffset = args->v0.ioffset; args 69 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifog84.c ilength = order_base_2(args->v0.ilength / 8); args 219 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c } *args = data; args 227 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 230 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c args->v0.version, args->v0.vmm, args->v0.ioffset, args 231 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c args->v0.ilength); args 232 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c if (!args->v0.vmm) args 245 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c 0x1000, 0x1000, true, args->v0.vmm, 0, args 258 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c args->v0.chid = chan->base.chid; args 263 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c ioffset = args->v0.ioffset; args 264 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c ilength = order_base_2(args->v0.ilength / 8); args 336 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c } *args = data; args 340 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 344 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c args->v0.version, args->v0.vmm, args->v0.ioffset, args 345 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c args->v0.ilength, args->v0.runlist, args->v0.priv); args 346 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c if (args->v0.priv && !oclass->client->super) args 349 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c &args->v0.runlist, args 350 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c &args->v0.chid, args 351 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c args->v0.vmm, args 352 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c args->v0.ioffset, args 353 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c args->v0.ilength, args 354 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c &args->v0.inst, args 355 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c args->v0.priv, args 230 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c } *args = data; args 234 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 238 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c args->v0.version, args->v0.vmm, args->v0.ioffset, args 239 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c args->v0.ilength, args->v0.runlist, args->v0.priv); args 240 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c if (args->v0.priv && !oclass->client->super) args 243 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c &args->v0.runlist, args 244 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c &args->v0.chid, args 245 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c args->v0.vmm, args 246 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c args->v0.ioffset, args 247 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c args->v0.ilength, args 248 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c &args->v0.inst, args 249 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c args->v0.priv, args 250 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.c &args->v0.token, args 40 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c } *args = data; args 47 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 51 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c args->v0.version, args->v0.vmm, args->v0.pushbuf, args 52 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c args->v0.ioffset, args->v0.ilength); args 53 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c if (!args->v0.pushbuf) args 62 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c ret = nv50_fifo_chan_ctor(fifo, args->v0.vmm, args->v0.pushbuf, args 67 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c args->v0.chid = chan->base.chid; args 68 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c ioffset = args->v0.ioffset; args 69 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifonv50.c ilength = order_base_2(args->v0.ilength / 8); args 58 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c } *args = data; args 62 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 66 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c args->v0.version, args->v0.vmm, args->v0.ioffset, args 67 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c args->v0.ilength, args->v0.runlist, args->v0.priv); args 68 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c if (args->v0.priv && !oclass->client->super) args 71 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c &args->v0.runlist, args 72 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c &args->v0.chid, args 73 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c args->v0.vmm, args 74 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c args->v0.ioffset, args 75 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c args->v0.ilength, args 76 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c &args->v0.inst, args 77 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c args->v0.priv, args 78 drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifotu102.c &args->v0.token, args 166 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c } *args = data; args 169 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 170 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c switch (args->v0.format) { args 190 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c ret = gf100_gr_zbc_color_get(gr, args->v0.format, args 191 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c args->v0.ds, args 192 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c args->v0.l2); args 194 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c args->v0.index = ret; args 212 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c } *args = data; args 215 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 216 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c switch (args->v0.format) { args 218 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c ret = gf100_gr_zbc_depth_get(gr, args->v0.format, args 219 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c args->v0.ds, args 220 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c args->v0.l2); args 386 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c struct gf100_vmm_map_v0 args = { .priv = 1 }; args 411 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c chan->mmio_vma, &args, sizeof(args)); args 429 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c args.priv = data->priv; args 432 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c chan->data[i].vma, &args, sizeof(args)); args 212 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c } *args = data; args 218 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (!(ret = nvif_unvers(ret, &data, &size, args->none))) { args 242 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c } *args = data; args 248 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (!(ret = nvif_unvers(ret, &data, &size, args->none))) { args 266 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c } *args = data; args 272 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 273 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvif_ioctl(object, "perfdom read vers %d\n", args->v0.version); args 287 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.ctr[i] = dom->ctr[i]->ctr; args 288 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.clk = dom->clk; args 372 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c } *args = data; args 382 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 384 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.version, args->v0.domain, args->v0.mode); args 388 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c for (c = 0; c < ARRAY_SIZE(args->v0.ctr); c++) { args 392 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c for (s = 0; s < ARRAY_SIZE(args->v0.ctr[c].signal); s++) { args 393 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c sig[s] = nvkm_perfsig_find(pm, args->v0.domain, args 394 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.ctr[c].signal[s], args 396 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (args->v0.ctr[c].signal[s] && !sig[s]) args 400 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c src[s][m] = args->v0.ctr[c].source[s][m]; args 407 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c ret = nvkm_perfctr_new(sdom, c, args->v0.domain, sig, src, args 408 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.ctr[c].logic_op, &ctr[c]); args 424 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom->mode = args->v0.mode; args 439 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c } *args = data; args 447 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 449 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.version, args->v0.iter); args 450 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c di = (args->v0.iter & 0xff) - 1; args 463 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.id = di; args 464 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.signal_nr = nvkm_perfdom_count_perfsig(dom); args 465 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c strncpy(args->v0.name, dom->name, sizeof(args->v0.name) - 1); args 469 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.counter_nr = 4; args 473 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.iter = ++di; args 477 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.iter = 0xff; args 487 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c } *args = data; args 498 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 501 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.version, args->v0.domain, args->v0.iter); args 502 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c si = (args->v0.iter & 0xffff) - 1; args 506 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c dom = nvkm_perfdom_find(pm, args->v0.domain); args 513 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c snprintf(args->v0.name, sizeof(args->v0.name), args 516 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c strncpy(args->v0.name, sig->name, args 517 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c sizeof(args->v0.name) - 1); args 520 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.signal = si; args 521 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.source_nr = nvkm_perfsig_count_perfsrc(sig); args 526 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.iter = ++si; args 531 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.iter = 0xffff; args 541 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c } *args = data; args 551 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 554 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.version, args->v0.domain, args->v0.signal, args 555 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.iter); args 556 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c si = (args->v0.iter & 0xff) - 1; args 560 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c sig = nvkm_perfsig_find(pm, args->v0.domain, args->v0.signal, &dom); args 573 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.source = sig->source[si]; args 574 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.mask = src->mask; args 575 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c strncpy(args->v0.name, src->name, sizeof(args->v0.name) - 1); args 579 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.iter = ++si; args 583 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.iter = 0xff; args 49 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv04.c } *args = data; args 52 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv04.c if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { args 53 drivers/gpu/drm/nouveau/nvkm/engine/sw/nv04.c args->v0.ref = atomic_read(&chan->ref); args 111 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c } *args = buf; args 113 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0137c63d.c args->secure_mode = 1; args 83 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c } *args = buf; args 85 drivers/gpu/drm/nouveau/nvkm/falcon/msgqueue_0148cdec.c args->secure_mode = false; args 41 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c #define bioslog(lvl, fmt, args...) do { \ args 44 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c '0' + (init->nested - 1) : ' ', ##args); \ args 46 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c #define cont(fmt, args...) do { \ args 48 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c printk(fmt, ##args); \ args 50 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c #define trace(fmt, args...) bioslog(TRACE, fmt, ##args) args 51 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c #define warn(fmt, args...) bioslog(WARN, fmt, ##args) args 52 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c #define error(fmt, args...) bioslog(ERROR, fmt, ##args) args 125 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c u32 exec, args; args 135 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c ret = pmu_load(init, 0x04, post, &exec, &args); args 143 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c u32 pmu = pmu_args(init, args + 0x08, 0x08); args 151 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/gm200.c u32 pmu = pmu_args(init, args + 0x08, 0x10); args 91 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c } *args = argv; args 96 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 97 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c args->v0.entries = buffer->entries; args 98 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c args->v0.get = buffer->get; args 99 drivers/gpu/drm/nouveau/nvkm/subdev/fault/user.c args->v0.put = buffer->put; args 151 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c } *args = argv; args 172 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 173 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c if (args->v0.dma) { args 175 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c mem->dma = args->v0.dma; args 178 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c mem->sgl = args->v0.sgl; args 186 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/mem.c if ( (ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 41 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c } *args = argv; args 46 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 47 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c uvmm.ro = args->v0.ro; args 48 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c uvmm.kind = args->v0.kind; args 50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 75 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c } *args = argv; args 79 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 80 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c contig = args->v0.contig; args 82 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memgf100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 36 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c } *args = argv; args 41 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) args 56 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c } *args = argv; args 59 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv04.c if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) args 41 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c } *args = argv; args 47 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 48 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c uvmm.ro = args->v0.ro; args 49 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c uvmm.kind = args->v0.kind; args 50 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c uvmm.comp = args->v0.comp; args 52 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 72 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c } *args = argv; args 76 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 77 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c type = args->v0.bankswz ? 0x02 : 0x01; args 78 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c contig = args->v0.contig; args 80 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/memnv50.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 149 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c } *args = argv; args 155 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { args 156 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c type = args->v0.type; args 157 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c page = args->v0.page; args 158 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c size = args->v0.size; args 188 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c args->v0.page = nvkm_memory_page(umem->memory); args 189 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c args->v0.addr = nvkm_memory_addr(umem->memory); args 190 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/umem.c args->v0.size = nvkm_memory_size(umem->memory); args 62 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c } *args = argv; args 66 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 67 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if ((index = args->v0.index) >= mmu->heap_nr) args 69 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.size = mmu->heap[index].size; args 82 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c } *args = argv; args 86 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 87 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if ((index = args->v0.index) >= mmu->type_nr) args 90 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.heap = mmu->type[index].heap; args 91 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.vram = !!(type & NVKM_MEM_VRAM); args 92 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.host = !!(type & NVKM_MEM_HOST); args 93 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.comp = !!(type & NVKM_MEM_COMP); args 94 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.disp = !!(type & NVKM_MEM_DISP); args 95 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.kind = !!(type & NVKM_MEM_KIND); args 96 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.mappable = !!(type & NVKM_MEM_MAPPABLE); args 97 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.coherent = !!(type & NVKM_MEM_COHERENT); args 98 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.uncached = !!(type & NVKM_MEM_UNCACHED); args 111 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c } *args = argv; args 118 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { args 119 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (argc != args->v0.count * sizeof(*args->v0.data)) args 121 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (args->v0.count > count) args 123 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c memcpy(args->v0.data, kind, args->v0.count); args 156 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c } *args = argv; args 164 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 165 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.dmabits = mmu->dma_bits; args 166 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.heap_nr = mmu->heap_nr; args 167 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.type_nr = mmu->type_nr; args 168 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ummu.c args->v0.kind_nr = kinds; args 51 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; args 56 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 57 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c addr = args->v0.addr; args 58 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c size = args->v0.size; args 80 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; args 86 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { args 87 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c page = args->v0.page; args 88 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c addr = args->v0.addr; args 89 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c size = args->v0.size; args 90 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c phys = args->v0.phys; args 91 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (argc != (size >> page) * sizeof(args->v0.phys[0])) args 114 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; args 120 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 121 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c addr = args->v0.addr; args 157 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; args 164 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { args 165 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c addr = args->v0.addr; args 166 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c size = args->v0.size; args 167 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c handle = args->v0.memory; args 168 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c offset = args->v0.offset; args 236 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; args 242 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 243 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c addr = args->v0.addr; args 248 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c vma = nvkm_vmm_node_search(vmm, args->v0.addr); args 274 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; args 282 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 283 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c getref = args->v0.type == NVIF_VMM_GET_V0_PTES; args 284 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c mapref = args->v0.type == NVIF_VMM_GET_V0_ADDR; args 285 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c sparse = args->v0.sparse; args 286 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c page = args->v0.page; args 287 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c align = args->v0.align; args 288 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c size = args->v0.size; args 299 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.addr = vma->addr; args 309 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; args 317 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 318 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if ((index = args->v0.index) >= nr) args 321 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.shift = page[index].shift; args 322 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.sparse = !!(type & NVKM_VMM_PAGE_SPARSE); args 323 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.vram = !!(type & NVKM_VMM_PAGE_VRAM); args 324 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.host = !!(type & NVKM_VMM_PAGE_HOST); args 325 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.comp = !!(type & NVKM_VMM_PAGE_COMP); args 379 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c } *args = argv; args 386 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, more))) { args 387 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c managed = args->v0.managed != 0; args 388 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c addr = args->v0.addr; args 389 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c size = args->v0.size; args 413 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.page_nr = 0; args 415 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.page_nr++; args 416 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.addr = uvmm->vmm->start; args 417 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c args->v0.size = uvmm->vmm->limit; args 1292 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c struct nvkm_vmm_map args; args 1293 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c args.page = page; args 1294 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c args.pfn = &pfn[pi]; args 1298 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c size, &args, page-> args 1301 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c nvkm_vmm_ptes_map(vmm, page, addr, size, &args, args 247 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c } *args = argv; args 257 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 258 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c vol = !!args->v0.vol; args 259 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c ro = !!args->v0.ro; args 260 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c priv = !!args->v0.priv; args 261 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c kind = args->v0.kind; args 263 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgf100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 152 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c } *args = argv; args 155 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 156 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c switch (args->v0.bigpage) { args 163 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgm200.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 320 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c } *args = argv; args 330 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 331 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c vol = !!args->v0.vol; args 332 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c ro = !!args->v0.ro; args 333 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c priv = !!args->v0.priv; args 334 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c kind = args->v0.kind; args 336 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 396 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c } *args = argv; args 400 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if ((ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) args 406 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c aper = (args->v0.inst >> 8) & 3; args 407 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c args->v0.inst >>= 12; args 408 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c args->v0.inst |= aper << 28; args 409 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c args->v0.inst |= 0x80000000; args 412 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if ((inst = nvkm_gr_ctxsw_inst(device)) == args->v0.inst) { args 415 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c (args->v0.hub << 20) | args 416 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c (args->v0.gpc << 15) | args 417 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c (args->v0.client << 9)); args 430 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c } *args = argv; args 433 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 516 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c } *args = argv; args 520 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 521 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c replay = args->v0.fault_replay != 0; args 523 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 85 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c } *args = argv; args 87 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c if ((ret = nvif_unvers(ret, &argv, &argc, args->vn))) args 109 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c } *args = argv; args 117 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv04.c return nvif_unvers(-ENOSYS, &argv, &argc, args->vn); args 234 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c } *args = argv; args 245 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { args 246 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c ro = !!args->v0.ro; args 247 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c priv = !!args->v0.priv; args 248 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c kind = args->v0.kind & 0x7f; args 249 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c comp = args->v0.comp & 0x03; args 251 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmnv50.c if (!(ret = nvif_unvers(ret, &argv, &argc, args->vn))) { args 135 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c struct acpi_buffer args = { sizeof(mxmi_args), mxmi_args }; args 140 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c status = wmi_evaluate_method(WMI_WMMX_GUID, 0, 0, &args, &retn); args 165 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c struct acpi_buffer args = { sizeof(mxms_args), mxms_args }; args 181 drivers/gpu/drm/nouveau/nvkm/subdev/mxm/base.c status = wmi_evaluate_method(WMI_WMMX_GUID, 0, 0, &args, &retn); args 421 drivers/gpu/drm/omapdrm/omap_drv.c struct drm_omap_param *args = data; args 423 drivers/gpu/drm/omapdrm/omap_drv.c DBG("%p: param=%llu", dev, args->param); args 425 drivers/gpu/drm/omapdrm/omap_drv.c switch (args->param) { args 427 drivers/gpu/drm/omapdrm/omap_drv.c args->value = priv->omaprev; args 430 drivers/gpu/drm/omapdrm/omap_drv.c DBG("unknown parameter %lld", args->param); args 442 drivers/gpu/drm/omapdrm/omap_drv.c struct drm_omap_gem_new *args = data; args 443 drivers/gpu/drm/omapdrm/omap_drv.c u32 flags = args->flags & OMAP_BO_USER_MASK; args 446 drivers/gpu/drm/omapdrm/omap_drv.c args->size.bytes, flags); args 448 drivers/gpu/drm/omapdrm/omap_drv.c return omap_gem_new_handle(dev, file_priv, args->size, flags, args 449 drivers/gpu/drm/omapdrm/omap_drv.c &args->handle); args 455 drivers/gpu/drm/omapdrm/omap_drv.c struct drm_omap_gem_info *args = data; args 459 drivers/gpu/drm/omapdrm/omap_drv.c VERB("%p:%p: handle=%d", dev, file_priv, args->handle); args 461 drivers/gpu/drm/omapdrm/omap_drv.c obj = drm_gem_object_lookup(file_priv, args->handle); args 465 drivers/gpu/drm/omapdrm/omap_drv.c args->size = omap_gem_mmap_size(obj); args 466 drivers/gpu/drm/omapdrm/omap_drv.c args->offset = omap_gem_mmap_offset(obj); args 592 drivers/gpu/drm/omapdrm/omap_gem.c struct drm_mode_create_dumb *args) args 596 drivers/gpu/drm/omapdrm/omap_gem.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 598 drivers/gpu/drm/omapdrm/omap_gem.c args->size = PAGE_ALIGN(args->pitch * args->height); args 601 drivers/gpu/drm/omapdrm/omap_gem.c .bytes = args->size, args 605 drivers/gpu/drm/omapdrm/omap_gem.c OMAP_BO_SCANOUT | OMAP_BO_WC, &args->handle); args 58 drivers/gpu/drm/omapdrm/omap_gem.h struct drm_mode_create_dumb *args); args 83 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_panfrost_create_bo *args = data; args 86 drivers/gpu/drm/panfrost/panfrost_drv.c if (!args->size || args->pad || args 87 drivers/gpu/drm/panfrost/panfrost_drv.c (args->flags & ~(PANFROST_BO_NOEXEC | PANFROST_BO_HEAP))) args 91 drivers/gpu/drm/panfrost/panfrost_drv.c if ((args->flags & PANFROST_BO_HEAP) && args 92 drivers/gpu/drm/panfrost/panfrost_drv.c !(args->flags & PANFROST_BO_NOEXEC)) args 95 drivers/gpu/drm/panfrost/panfrost_drv.c bo = panfrost_gem_create_with_handle(file, dev, args->size, args->flags, args 96 drivers/gpu/drm/panfrost/panfrost_drv.c &args->handle); args 106 drivers/gpu/drm/panfrost/panfrost_drv.c args->offset = mapping->mmnode.start << PAGE_SHIFT; args 128 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_panfrost_submit *args, args 136 drivers/gpu/drm/panfrost/panfrost_drv.c job->bo_count = args->bo_handle_count; args 148 drivers/gpu/drm/panfrost/panfrost_drv.c (void __user *)(uintptr_t)args->bo_handles, args 192 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_panfrost_submit *args, args 199 drivers/gpu/drm/panfrost/panfrost_drv.c job->in_fence_count = args->in_sync_count; args 220 drivers/gpu/drm/panfrost/panfrost_drv.c (void __user *)(uintptr_t)args->in_syncs, args 243 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_panfrost_submit *args = data; args 248 drivers/gpu/drm/panfrost/panfrost_drv.c if (!args->jc) args 251 drivers/gpu/drm/panfrost/panfrost_drv.c if (args->requirements && args->requirements != PANFROST_JD_REQ_FS) args 254 drivers/gpu/drm/panfrost/panfrost_drv.c if (args->out_sync > 0) { args 255 drivers/gpu/drm/panfrost/panfrost_drv.c sync_out = drm_syncobj_find(file, args->out_sync); args 269 drivers/gpu/drm/panfrost/panfrost_drv.c job->jc = args->jc; args 270 drivers/gpu/drm/panfrost/panfrost_drv.c job->requirements = args->requirements; args 274 drivers/gpu/drm/panfrost/panfrost_drv.c ret = panfrost_copy_in_sync(dev, file, args, job); args 278 drivers/gpu/drm/panfrost/panfrost_drv.c ret = panfrost_lookup_bos(dev, file, args, job); args 304 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_panfrost_wait_bo *args = data; args 306 drivers/gpu/drm/panfrost/panfrost_drv.c unsigned long timeout = drm_timeout_abs_to_jiffies(args->timeout_ns); args 308 drivers/gpu/drm/panfrost/panfrost_drv.c if (args->pad) args 311 drivers/gpu/drm/panfrost/panfrost_drv.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 328 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_panfrost_mmap_bo *args = data; args 332 drivers/gpu/drm/panfrost/panfrost_drv.c if (args->flags != 0) { args 333 drivers/gpu/drm/panfrost/panfrost_drv.c DRM_INFO("unknown mmap_bo flags: %d\n", args->flags); args 337 drivers/gpu/drm/panfrost/panfrost_drv.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 339 drivers/gpu/drm/panfrost/panfrost_drv.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 351 drivers/gpu/drm/panfrost/panfrost_drv.c args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); args 362 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_panfrost_get_bo_offset *args = data; args 367 drivers/gpu/drm/panfrost/panfrost_drv.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 369 drivers/gpu/drm/panfrost/panfrost_drv.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 380 drivers/gpu/drm/panfrost/panfrost_drv.c args->offset = mapping->mmnode.start << PAGE_SHIFT; args 389 drivers/gpu/drm/panfrost/panfrost_drv.c struct drm_panfrost_madvise *args = data; args 395 drivers/gpu/drm/panfrost/panfrost_drv.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 397 drivers/gpu/drm/panfrost/panfrost_drv.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 405 drivers/gpu/drm/panfrost/panfrost_drv.c if (args->madv == PANFROST_MADV_DONTNEED) { args 427 drivers/gpu/drm/panfrost/panfrost_drv.c args->retained = drm_gem_shmem_madvise(gem_obj, args->madv); args 429 drivers/gpu/drm/panfrost/panfrost_drv.c if (args->retained) { args 430 drivers/gpu/drm/panfrost/panfrost_drv.c if (args->madv == PANFROST_MADV_DONTNEED) args 433 drivers/gpu/drm/panfrost/panfrost_drv.c else if (args->madv == PANFROST_MADV_WILLNEED) args 349 drivers/gpu/drm/qxl/qxl_drv.h struct drm_mode_create_dumb *args); args 33 drivers/gpu/drm/qxl/qxl_dumb.c struct drm_mode_create_dumb *args) args 42 drivers/gpu/drm/qxl/qxl_dumb.c pitch = args->width * ((args->bpp + 1) / 8); args 43 drivers/gpu/drm/qxl/qxl_dumb.c args->size = pitch * args->height; args 44 drivers/gpu/drm/qxl/qxl_dumb.c args->size = ALIGN(args->size, PAGE_SIZE); args 46 drivers/gpu/drm/qxl/qxl_dumb.c switch (args->bpp) { args 57 drivers/gpu/drm/qxl/qxl_dumb.c surf.width = args->width; args 58 drivers/gpu/drm/qxl/qxl_dumb.c surf.height = args->height; args 63 drivers/gpu/drm/qxl/qxl_dumb.c args->size, &surf, &qobj, args 68 drivers/gpu/drm/qxl/qxl_dumb.c args->pitch = pitch; args 69 drivers/gpu/drm/qxl/qxl_dumb.c args->handle = handle; args 45 drivers/gpu/drm/radeon/atombios_crtc.c SET_CRTC_OVERSCAN_PS_ALLOCATION args; args 49 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 51 drivers/gpu/drm/radeon/atombios_crtc.c args.ucCRTC = radeon_crtc->crtc_id; args 55 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); args 56 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); args 57 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); args 58 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); args 65 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); args 66 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); args 68 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); args 69 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); args 74 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanRight = cpu_to_le16(radeon_crtc->h_border); args 75 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanLeft = cpu_to_le16(radeon_crtc->h_border); args 76 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanBottom = cpu_to_le16(radeon_crtc->v_border); args 77 drivers/gpu/drm/radeon/atombios_crtc.c args.usOverscanTop = cpu_to_le16(radeon_crtc->v_border); args 80 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 88 drivers/gpu/drm/radeon/atombios_crtc.c ENABLE_SCALER_PS_ALLOCATION args; args 105 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 107 drivers/gpu/drm/radeon/atombios_crtc.c args.ucScaler = radeon_crtc->crtc_id; args 113 drivers/gpu/drm/radeon/atombios_crtc.c args.ucTVStandard = ATOM_TV_NTSC; args 116 drivers/gpu/drm/radeon/atombios_crtc.c args.ucTVStandard = ATOM_TV_PAL; args 119 drivers/gpu/drm/radeon/atombios_crtc.c args.ucTVStandard = ATOM_TV_PALM; args 122 drivers/gpu/drm/radeon/atombios_crtc.c args.ucTVStandard = ATOM_TV_PAL60; args 125 drivers/gpu/drm/radeon/atombios_crtc.c args.ucTVStandard = ATOM_TV_NTSCJ; args 128 drivers/gpu/drm/radeon/atombios_crtc.c args.ucTVStandard = ATOM_TV_PAL; /* ??? */ args 131 drivers/gpu/drm/radeon/atombios_crtc.c args.ucTVStandard = ATOM_TV_SECAM; args 134 drivers/gpu/drm/radeon/atombios_crtc.c args.ucTVStandard = ATOM_TV_PALCN; args 137 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = SCALER_ENABLE_MULTITAP_MODE; args 139 drivers/gpu/drm/radeon/atombios_crtc.c args.ucTVStandard = ATOM_TV_CV; args 140 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = SCALER_ENABLE_MULTITAP_MODE; args 144 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = ATOM_SCALER_EXPANSION; args 147 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = ATOM_SCALER_CENTER; args 150 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = ATOM_SCALER_EXPANSION; args 154 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = ATOM_SCALER_DISABLE; args 156 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = ATOM_SCALER_CENTER; args 160 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 174 drivers/gpu/drm/radeon/atombios_crtc.c ENABLE_CRTC_PS_ALLOCATION args; args 176 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 178 drivers/gpu/drm/radeon/atombios_crtc.c args.ucCRTC = radeon_crtc->crtc_id; args 179 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = lock; args 181 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 190 drivers/gpu/drm/radeon/atombios_crtc.c ENABLE_CRTC_PS_ALLOCATION args; args 192 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 194 drivers/gpu/drm/radeon/atombios_crtc.c args.ucCRTC = radeon_crtc->crtc_id; args 195 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = state; args 197 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 206 drivers/gpu/drm/radeon/atombios_crtc.c ENABLE_CRTC_PS_ALLOCATION args; args 208 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 210 drivers/gpu/drm/radeon/atombios_crtc.c args.ucCRTC = radeon_crtc->crtc_id; args 211 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = state; args 213 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 232 drivers/gpu/drm/radeon/atombios_crtc.c BLANK_CRTC_PS_ALLOCATION args; args 235 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 242 drivers/gpu/drm/radeon/atombios_crtc.c args.ucCRTC = radeon_crtc->crtc_id; args 243 drivers/gpu/drm/radeon/atombios_crtc.c args.ucBlanking = state; args 245 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 258 drivers/gpu/drm/radeon/atombios_crtc.c ENABLE_DISP_POWER_GATING_PARAMETERS_V2_1 args; args 260 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 262 drivers/gpu/drm/radeon/atombios_crtc.c args.ucDispPipeId = radeon_crtc->crtc_id; args 263 drivers/gpu/drm/radeon/atombios_crtc.c args.ucEnable = state; args 265 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 309 drivers/gpu/drm/radeon/atombios_crtc.c SET_CRTC_USING_DTD_TIMING_PARAMETERS args; args 313 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 314 drivers/gpu/drm/radeon/atombios_crtc.c args.usH_Size = cpu_to_le16(mode->crtc_hdisplay - (radeon_crtc->h_border * 2)); args 315 drivers/gpu/drm/radeon/atombios_crtc.c args.usH_Blanking_Time = args 317 drivers/gpu/drm/radeon/atombios_crtc.c args.usV_Size = cpu_to_le16(mode->crtc_vdisplay - (radeon_crtc->v_border * 2)); args 318 drivers/gpu/drm/radeon/atombios_crtc.c args.usV_Blanking_Time = args 320 drivers/gpu/drm/radeon/atombios_crtc.c args.usH_SyncOffset = args 322 drivers/gpu/drm/radeon/atombios_crtc.c args.usH_SyncWidth = args 324 drivers/gpu/drm/radeon/atombios_crtc.c args.usV_SyncOffset = args 326 drivers/gpu/drm/radeon/atombios_crtc.c args.usV_SyncWidth = args 328 drivers/gpu/drm/radeon/atombios_crtc.c args.ucH_Border = radeon_crtc->h_border; args 329 drivers/gpu/drm/radeon/atombios_crtc.c args.ucV_Border = radeon_crtc->v_border; args 344 drivers/gpu/drm/radeon/atombios_crtc.c args.susModeMiscInfo.usAccess = cpu_to_le16(misc); args 345 drivers/gpu/drm/radeon/atombios_crtc.c args.ucCRTC = radeon_crtc->crtc_id; args 347 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 356 drivers/gpu/drm/radeon/atombios_crtc.c SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION args; args 360 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 361 drivers/gpu/drm/radeon/atombios_crtc.c args.usH_Total = cpu_to_le16(mode->crtc_htotal); args 362 drivers/gpu/drm/radeon/atombios_crtc.c args.usH_Disp = cpu_to_le16(mode->crtc_hdisplay); args 363 drivers/gpu/drm/radeon/atombios_crtc.c args.usH_SyncStart = cpu_to_le16(mode->crtc_hsync_start); args 364 drivers/gpu/drm/radeon/atombios_crtc.c args.usH_SyncWidth = args 366 drivers/gpu/drm/radeon/atombios_crtc.c args.usV_Total = cpu_to_le16(mode->crtc_vtotal); args 367 drivers/gpu/drm/radeon/atombios_crtc.c args.usV_Disp = cpu_to_le16(mode->crtc_vdisplay); args 368 drivers/gpu/drm/radeon/atombios_crtc.c args.usV_SyncStart = cpu_to_le16(mode->crtc_vsync_start); args 369 drivers/gpu/drm/radeon/atombios_crtc.c args.usV_SyncWidth = args 372 drivers/gpu/drm/radeon/atombios_crtc.c args.ucOverscanRight = radeon_crtc->h_border; args 373 drivers/gpu/drm/radeon/atombios_crtc.c args.ucOverscanLeft = radeon_crtc->h_border; args 374 drivers/gpu/drm/radeon/atombios_crtc.c args.ucOverscanBottom = radeon_crtc->v_border; args 375 drivers/gpu/drm/radeon/atombios_crtc.c args.ucOverscanTop = radeon_crtc->v_border; args 390 drivers/gpu/drm/radeon/atombios_crtc.c args.susModeMiscInfo.usAccess = cpu_to_le16(misc); args 391 drivers/gpu/drm/radeon/atombios_crtc.c args.ucCRTC = radeon_crtc->crtc_id; args 393 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 452 drivers/gpu/drm/radeon/atombios_crtc.c union atom_enable_ss args; args 479 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 482 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.usSpreadSpectrumAmountFrac = cpu_to_le16(0); args 483 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucSpreadSpectrumType = ss->type & ATOM_SS_CENTRE_SPREAD_MODE_MASK; args 486 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucSpreadSpectrumType |= ATOM_PPLL_SS_TYPE_V3_P1PLL; args 489 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucSpreadSpectrumType |= ATOM_PPLL_SS_TYPE_V3_P2PLL; args 492 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucSpreadSpectrumType |= ATOM_PPLL_SS_TYPE_V3_DCPLL; args 497 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); args 498 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.usSpreadSpectrumStep = cpu_to_le16(ss->step); args 499 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucEnable = enable; args 501 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.usSpreadSpectrumPercentage = cpu_to_le16(ss->percentage); args 502 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucSpreadSpectrumType = ss->type & ATOM_SS_CENTRE_SPREAD_MODE_MASK; args 505 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucSpreadSpectrumType |= ATOM_PPLL_SS_TYPE_V2_P1PLL; args 508 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucSpreadSpectrumType |= ATOM_PPLL_SS_TYPE_V2_P2PLL; args 511 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucSpreadSpectrumType |= ATOM_PPLL_SS_TYPE_V2_DCPLL; args 516 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.usSpreadSpectrumAmount = cpu_to_le16(ss->amount); args 517 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.usSpreadSpectrumStep = cpu_to_le16(ss->step); args 518 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucEnable = enable; args 520 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.usSpreadSpectrumPercentage = cpu_to_le16(ss->percentage); args 521 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucSpreadSpectrumType = ss->type & ATOM_SS_CENTRE_SPREAD_MODE_MASK; args 522 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucSpreadSpectrumStep = ss->step; args 523 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucSpreadSpectrumDelay = ss->delay; args 524 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucSpreadSpectrumRange = ss->range; args 525 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucPpll = pll_id; args 526 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucEnable = enable; args 533 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss_2.usSpreadSpectrumPercentage = cpu_to_le16(ss->percentage); args 534 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss_2.ucSpreadSpectrumType = ss->type & ATOM_SS_CENTRE_SPREAD_MODE_MASK; args 535 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss_2.ucSpreadSpectrumStep = ss->step; args 536 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss_2.ucSpreadSpectrumDelay = ss->delay; args 537 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss_2.ucSpreadSpectrumRange = ss->range; args 538 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss_2.ucEnable = enable; args 544 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss.usSpreadSpectrumPercentage = cpu_to_le16(ss->percentage); args 545 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss.ucSpreadSpectrumType = ss->type & ATOM_SS_CENTRE_SPREAD_MODE_MASK; args 546 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss.ucSpreadSpectrumStepSize_Delay = (ss->step & 3) << 2; args 547 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss.ucSpreadSpectrumStepSize_Delay |= (ss->delay & 7) << 4; args 548 drivers/gpu/drm/radeon/atombios_crtc.c args.lvds_ss.ucEnable = enable; args 550 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 679 drivers/gpu/drm/radeon/atombios_crtc.c union adjust_pixel_clock args; args 688 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 695 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.usPixelClock = cpu_to_le16(clock / 10); args 696 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucTransmitterID = radeon_encoder->encoder_id; args 697 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucEncodeMode = encoder_mode; args 699 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucConfig |= args 703 drivers/gpu/drm/radeon/atombios_crtc.c index, (uint32_t *)&args); args 704 drivers/gpu/drm/radeon/atombios_crtc.c adjusted_clock = le16_to_cpu(args.v1.usPixelClock) * 10; args 707 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.usPixelClock = cpu_to_le16(clock / 10); args 708 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucTransmitterID = radeon_encoder->encoder_id; args 709 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucEncodeMode = encoder_mode; args 710 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucDispPllConfig = 0; args 712 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucDispPllConfig |= args 715 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucDispPllConfig |= args 718 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.usPixelClock = cpu_to_le16(dp_clock / 10); args 722 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucDispPllConfig |= args 725 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucDispPllConfig |= args 730 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucExtTransmitterID = args 733 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.sInput.ucExtTransmitterID = 0; args 736 drivers/gpu/drm/radeon/atombios_crtc.c index, (uint32_t *)&args); args 737 drivers/gpu/drm/radeon/atombios_crtc.c adjusted_clock = le32_to_cpu(args.v3.sOutput.ulDispPllFreq) * 10; args 738 drivers/gpu/drm/radeon/atombios_crtc.c if (args.v3.sOutput.ucRefDiv) { args 741 drivers/gpu/drm/radeon/atombios_crtc.c radeon_crtc->pll_reference_div = args.v3.sOutput.ucRefDiv; args 743 drivers/gpu/drm/radeon/atombios_crtc.c if (args.v3.sOutput.ucPostDiv) { args 746 drivers/gpu/drm/radeon/atombios_crtc.c radeon_crtc->pll_post_div = args.v3.sOutput.ucPostDiv; args 779 drivers/gpu/drm/radeon/atombios_crtc.c union set_pixel_clock args; args 781 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 795 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucCRTC = ATOM_CRTC_INVALID; args 796 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.usPixelClock = cpu_to_le16(dispclk); args 797 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucPpll = ATOM_DCPLL; args 803 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ulDispEngClkFreq = cpu_to_le32(dispclk); args 805 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucPpll = ATOM_EXT_PLL1; args 807 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucPpll = ATOM_PPLL0; args 809 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucPpll = ATOM_DCPLL; args 820 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 841 drivers/gpu/drm/radeon/atombios_crtc.c union set_pixel_clock args; args 843 drivers/gpu/drm/radeon/atombios_crtc.c memset(&args, 0, sizeof(args)); args 855 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.usPixelClock = cpu_to_le16(clock / 10); args 856 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.usRefDiv = cpu_to_le16(ref_div); args 857 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.usFbDiv = cpu_to_le16(fb_div); args 858 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucFracFbDiv = frac_fb_div; args 859 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucPostDiv = post_div; args 860 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucPpll = pll_id; args 861 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucCRTC = crtc_id; args 862 drivers/gpu/drm/radeon/atombios_crtc.c args.v1.ucRefDivSrc = 1; args 865 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.usPixelClock = cpu_to_le16(clock / 10); args 866 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.usRefDiv = cpu_to_le16(ref_div); args 867 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.usFbDiv = cpu_to_le16(fb_div); args 868 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucFracFbDiv = frac_fb_div; args 869 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucPostDiv = post_div; args 870 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucPpll = pll_id; args 871 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucCRTC = crtc_id; args 872 drivers/gpu/drm/radeon/atombios_crtc.c args.v2.ucRefDivSrc = 1; args 875 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.usPixelClock = cpu_to_le16(clock / 10); args 876 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.usRefDiv = cpu_to_le16(ref_div); args 877 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.usFbDiv = cpu_to_le16(fb_div); args 878 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucFracFbDiv = frac_fb_div; args 879 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucPostDiv = post_div; args 880 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucPpll = pll_id; args 882 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucMiscInfo = PIXEL_CLOCK_MISC_CRTC_SEL_CRTC2; args 884 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucMiscInfo = PIXEL_CLOCK_MISC_CRTC_SEL_CRTC1; args 886 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucMiscInfo |= PIXEL_CLOCK_MISC_REF_DIV_SRC; args 887 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucTransmitterId = encoder_id; args 888 drivers/gpu/drm/radeon/atombios_crtc.c args.v3.ucEncoderMode = encoder_mode; args 891 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucCRTC = crtc_id; args 892 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.usPixelClock = cpu_to_le16(clock / 10); args 893 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucRefDiv = ref_div; args 894 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.usFbDiv = cpu_to_le16(fb_div); args 895 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ulFbDivDecFrac = cpu_to_le32(frac_fb_div * 100000); args 896 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucPostDiv = post_div; args 897 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucMiscInfo = 0; /* HDMI depth, etc. */ args 899 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_REF_DIV_SRC; args 904 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_HDMI_24BPP; args 908 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_HDMI_32BPP; args 912 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucMiscInfo |= PIXEL_CLOCK_V5_MISC_HDMI_30BPP; args 916 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucTransmitterID = encoder_id; args 917 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucEncoderMode = encoder_mode; args 918 drivers/gpu/drm/radeon/atombios_crtc.c args.v5.ucPpll = pll_id; args 921 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ulDispEngClkFreq = cpu_to_le32(crtc_id << 24 | clock / 10); args 922 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucRefDiv = ref_div; args 923 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.usFbDiv = cpu_to_le16(fb_div); args 924 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ulFbDivDecFrac = cpu_to_le32(frac_fb_div * 100000); args 925 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucPostDiv = post_div; args 926 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucMiscInfo = 0; /* HDMI depth, etc. */ args 928 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_REF_DIV_SRC; args 933 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_HDMI_24BPP; args 936 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_HDMI_30BPP_V6; args 939 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_HDMI_36BPP_V6; args 942 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucMiscInfo |= PIXEL_CLOCK_V6_MISC_HDMI_48BPP; args 946 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucTransmitterID = encoder_id; args 947 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucEncoderMode = encoder_mode; args 948 drivers/gpu/drm/radeon/atombios_crtc.c args.v6.ucPpll = pll_id; args 960 drivers/gpu/drm/radeon/atombios_crtc.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 92 drivers/gpu/drm/radeon/atombios_dp.c union aux_channel_transaction args; args 98 drivers/gpu/drm/radeon/atombios_dp.c memset(&args, 0, sizeof(args)); args 107 drivers/gpu/drm/radeon/atombios_dp.c args.v1.lpAuxRequest = cpu_to_le16((u16)(0 + 4)); args 108 drivers/gpu/drm/radeon/atombios_dp.c args.v1.lpDataOut = cpu_to_le16((u16)(16 + 4)); args 109 drivers/gpu/drm/radeon/atombios_dp.c args.v1.ucDataOutLen = 0; args 110 drivers/gpu/drm/radeon/atombios_dp.c args.v1.ucChannelID = chan->rec.i2c_id; args 111 drivers/gpu/drm/radeon/atombios_dp.c args.v1.ucDelay = delay / 10; args 113 drivers/gpu/drm/radeon/atombios_dp.c args.v2.ucHPD_ID = chan->rec.hpd; args 115 drivers/gpu/drm/radeon/atombios_dp.c atom_execute_table_scratch_unlocked(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 117 drivers/gpu/drm/radeon/atombios_dp.c *ack = args.v1.ucReplyStatus; args 120 drivers/gpu/drm/radeon/atombios_dp.c if (args.v1.ucReplyStatus == 1) { args 127 drivers/gpu/drm/radeon/atombios_dp.c if (args.v1.ucReplyStatus == 2) { args 134 drivers/gpu/drm/radeon/atombios_dp.c if (args.v1.ucReplyStatus == 3) { args 140 drivers/gpu/drm/radeon/atombios_dp.c recv_bytes = args.v1.ucDataOutLen; args 346 drivers/gpu/drm/radeon/atombios_dp.c DP_ENCODER_SERVICE_PARAMETERS args; args 349 drivers/gpu/drm/radeon/atombios_dp.c memset(&args, 0, sizeof(args)); args 350 drivers/gpu/drm/radeon/atombios_dp.c args.ucLinkClock = dp_clock / 10; args 351 drivers/gpu/drm/radeon/atombios_dp.c args.ucConfig = ucconfig; args 352 drivers/gpu/drm/radeon/atombios_dp.c args.ucAction = action; args 353 drivers/gpu/drm/radeon/atombios_dp.c args.ucLaneNum = lane_num; args 354 drivers/gpu/drm/radeon/atombios_dp.c args.ucStatus = 0; args 356 drivers/gpu/drm/radeon/atombios_dp.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 357 drivers/gpu/drm/radeon/atombios_dp.c return args.ucStatus; args 99 drivers/gpu/drm/radeon/atombios_encoders.c DISPLAY_DEVICE_OUTPUT_CONTROL_PS_ALLOCATION args; args 116 drivers/gpu/drm/radeon/atombios_encoders.c args.ucAction = ATOM_LCD_BLOFF; args 117 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 119 drivers/gpu/drm/radeon/atombios_encoders.c args.ucAction = ATOM_LCD_BL_BRIGHTNESS_CONTROL; args 120 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 121 drivers/gpu/drm/radeon/atombios_encoders.c args.ucAction = ATOM_LCD_BLON; args 122 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 357 drivers/gpu/drm/radeon/atombios_encoders.c DAC_ENCODER_CONTROL_PS_ALLOCATION args; args 361 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 374 drivers/gpu/drm/radeon/atombios_encoders.c args.ucAction = action; args 377 drivers/gpu/drm/radeon/atombios_encoders.c args.ucDacStandard = ATOM_DAC1_PS2; args 379 drivers/gpu/drm/radeon/atombios_encoders.c args.ucDacStandard = ATOM_DAC1_CV; args 387 drivers/gpu/drm/radeon/atombios_encoders.c args.ucDacStandard = ATOM_DAC1_PAL; args 393 drivers/gpu/drm/radeon/atombios_encoders.c args.ucDacStandard = ATOM_DAC1_NTSC; args 397 drivers/gpu/drm/radeon/atombios_encoders.c args.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 399 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 409 drivers/gpu/drm/radeon/atombios_encoders.c TV_ENCODER_CONTROL_PS_ALLOCATION args; args 413 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 417 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucAction = action; args 420 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_CV; args 424 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_NTSC; args 427 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_PAL; args 430 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_PALM; args 433 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_PAL60; args 436 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_NTSCJ; args 439 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_PAL; /* ??? */ args 442 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_SECAM; args 445 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_PALCN; args 448 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.ucTvStandard = ATOM_TV_NTSC; args 453 drivers/gpu/drm/radeon/atombios_encoders.c args.sTVEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 455 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 498 drivers/gpu/drm/radeon/atombios_encoders.c union dvo_encoder_control args; args 502 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 516 drivers/gpu/drm/radeon/atombios_encoders.c args.ext_tmds.sXTmdsEncoder.ucEnable = action; args 519 drivers/gpu/drm/radeon/atombios_encoders.c args.ext_tmds.sXTmdsEncoder.ucMisc |= PANEL_ENCODER_MISC_DUAL; args 521 drivers/gpu/drm/radeon/atombios_encoders.c args.ext_tmds.sXTmdsEncoder.ucMisc |= ATOM_PANEL_MISC_888RGB; args 525 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo.sDVOEncoder.ucAction = action; args 526 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 528 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo.sDVOEncoder.ucDeviceType = ATOM_DEVICE_DFP1_INDEX; args 531 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo.sDVOEncoder.usDevAttr.sDigAttrib.ucAttribute |= PANEL_ENCODER_MISC_DUAL; args 535 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo_v3.ucAction = action; args 536 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo_v3.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 537 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo_v3.ucDVOConfig = 0; /* XXX */ args 541 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo_v4.ucAction = action; args 542 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo_v4.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 543 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo_v4.ucDVOConfig = 0; /* XXX */ args 544 drivers/gpu/drm/radeon/atombios_encoders.c args.dvo_v4.ucBitPerColor = radeon_atom_get_bpc(encoder); args 556 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 571 drivers/gpu/drm/radeon/atombios_encoders.c union lvds_encoder_control args; args 582 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 608 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucMisc = 0; args 609 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucAction = action; args 611 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucMisc |= PANEL_ENCODER_MISC_HDMI_TYPE; args 612 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 615 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucMisc |= PANEL_ENCODER_MISC_DUAL; args 617 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucMisc |= ATOM_PANEL_MISC_888RGB; args 620 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucMisc |= PANEL_ENCODER_MISC_TMDS_LINKB; args 622 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucMisc |= PANEL_ENCODER_MISC_DUAL; args 624 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucMisc |= ATOM_PANEL_MISC_888RGB; args 629 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucMisc = 0; args 630 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucAction = action; args 633 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucMisc |= PANEL_ENCODER_MISC_COHERENT; args 636 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucMisc |= PANEL_ENCODER_MISC_HDMI_TYPE; args 637 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 638 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucTruncate = 0; args 639 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucSpatial = 0; args 640 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucTemporal = 0; args 641 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucFRC = 0; args 644 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucMisc |= PANEL_ENCODER_MISC_DUAL; args 646 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucSpatial = PANEL_ENCODER_SPATIAL_DITHER_EN; args 648 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucSpatial |= PANEL_ENCODER_SPATIAL_DITHER_DEPTH; args 651 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucTemporal = PANEL_ENCODER_TEMPORAL_DITHER_EN; args 653 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucTemporal |= PANEL_ENCODER_TEMPORAL_DITHER_DEPTH; args 655 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucTemporal |= PANEL_ENCODER_TEMPORAL_LEVEL_4; args 659 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucMisc |= PANEL_ENCODER_MISC_TMDS_LINKB; args 661 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucMisc |= PANEL_ENCODER_MISC_DUAL; args 674 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 853 drivers/gpu/drm/radeon/atombios_encoders.c union dig_encoder_control args; args 874 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 892 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucAction = action; args 893 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 895 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucPanelMode = panel_mode; args 897 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucEncoderMode = atombios_get_encoder_mode(encoder); args 899 drivers/gpu/drm/radeon/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v1.ucEncoderMode)) args 900 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucLaneNum = dp_lane_count; args 902 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucLaneNum = 8; args 904 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucLaneNum = 4; args 908 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig = ATOM_ENCODER_CONFIG_V2_TRANSMITTER1; args 912 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig = ATOM_ENCODER_CONFIG_V2_TRANSMITTER2; args 915 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig = ATOM_ENCODER_CONFIG_V2_TRANSMITTER3; args 919 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_LINKB; args 921 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_LINKA; args 923 drivers/gpu/drm/radeon/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v1.ucEncoderMode) && (dp_clock == 270000)) args 924 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_DPLINKRATE_2_70GHZ; args 929 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucAction = action; args 930 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 932 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucPanelMode = panel_mode; args 934 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucEncoderMode = atombios_get_encoder_mode(encoder); args 936 drivers/gpu/drm/radeon/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v3.ucEncoderMode)) args 937 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucLaneNum = dp_lane_count; args 939 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucLaneNum = 8; args 941 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucLaneNum = 4; args 943 drivers/gpu/drm/radeon/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v3.ucEncoderMode) && (dp_clock == 270000)) args 944 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V3_DPLINKRATE_2_70GHZ; args 946 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.ucDigSel = enc_override; args 948 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.ucDigSel = dig->dig_encoder; args 949 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucBitPerColor = radeon_atom_get_bpc(encoder); args 952 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucAction = action; args 953 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 955 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucPanelMode = panel_mode; args 957 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucEncoderMode = atombios_get_encoder_mode(encoder); args 959 drivers/gpu/drm/radeon/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v4.ucEncoderMode)) args 960 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucLaneNum = dp_lane_count; args 962 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucLaneNum = 8; args 964 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucLaneNum = 4; args 966 drivers/gpu/drm/radeon/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v4.ucEncoderMode)) { args 968 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V4_DPLINKRATE_5_40GHZ; args 970 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V4_DPLINKRATE_3_24GHZ; args 972 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V4_DPLINKRATE_2_70GHZ; args 974 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_ENCODER_CONFIG_V4_DPLINKRATE_1_62GHZ; args 978 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucDigSel = enc_override; args 980 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucDigSel = dig->dig_encoder; args 981 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucBitPerColor = radeon_atom_get_bpc(encoder); args 983 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucHPD_ID = 0; args 985 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucHPD_ID = hpd_id + 1; args 997 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1023 drivers/gpu/drm/radeon/atombios_encoders.c union dig_transmitter_control args; args 1069 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1093 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucAction = action; args 1095 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usInitInfo = cpu_to_le16(connector_object_id); args 1097 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.asMode.ucLaneSel = lane_num; args 1098 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.asMode.ucLaneSet = lane_set; args 1101 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(dp_clock / 10); args 1103 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); args 1105 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 1108 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig = ATOM_TRANSMITTER_CONFIG_CLKSRC_PPLL; args 1111 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_DIG2_ENCODER; args 1113 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_DIG1_ENCODER; args 1120 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_0_3; args 1122 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_4_7; args 1124 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_8_11; args 1126 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_12_15; args 1129 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_0_7; args 1131 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LANE_8_15; args 1136 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LINKB; args 1138 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_LINKA; args 1141 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_COHERENT; args 1144 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_COHERENT; args 1146 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucConfig |= ATOM_TRANSMITTER_CONFIG_8LANE_LINK; args 1150 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucAction = action; args 1152 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.usInitInfo = cpu_to_le16(connector_object_id); args 1154 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.asMode.ucLaneSel = lane_num; args 1155 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.asMode.ucLaneSet = lane_set; args 1158 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16(dp_clock / 10); args 1160 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); args 1162 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 1165 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.acConfig.ucEncoderSel = dig_encoder; args 1167 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.acConfig.ucLinkSel = 1; args 1171 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.acConfig.ucTransmitterSel = 0; args 1174 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.acConfig.ucTransmitterSel = 1; args 1177 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.acConfig.ucTransmitterSel = 2; args 1182 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.acConfig.fCoherentMode = 1; args 1183 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.acConfig.fDPConnector = 1; args 1186 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.acConfig.fCoherentMode = 1; args 1188 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.acConfig.fDualLinkConnector = 1; args 1192 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucAction = action; args 1194 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.usInitInfo = cpu_to_le16(connector_object_id); args 1196 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.asMode.ucLaneSel = lane_num; args 1197 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.asMode.ucLaneSet = lane_set; args 1200 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16(dp_clock / 10); args 1202 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); args 1204 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 1208 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucLaneNum = dp_lane_count; args 1210 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucLaneNum = 8; args 1212 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.ucLaneNum = 4; args 1215 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.ucLinkSel = 1; args 1217 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.ucEncoderSel = 1; args 1225 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.ucRefClkSource = 2; /* external src */ args 1227 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.ucRefClkSource = pll_id; args 1231 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.ucTransmitterSel = 0; args 1234 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.ucTransmitterSel = 1; args 1237 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.ucTransmitterSel = 2; args 1242 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.fCoherentMode = 1; /* DP requires coherent */ args 1245 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.fCoherentMode = 1; args 1247 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.acConfig.fDualLinkConnector = 1; args 1251 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucAction = action; args 1253 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.usInitInfo = cpu_to_le16(connector_object_id); args 1255 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.asMode.ucLaneSel = lane_num; args 1256 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.asMode.ucLaneSet = lane_set; args 1259 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16(dp_clock / 10); args 1261 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16((radeon_encoder->pixel_clock / 2) / 10); args 1263 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 1267 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucLaneNum = dp_lane_count; args 1269 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucLaneNum = 8; args 1271 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.ucLaneNum = 4; args 1274 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucLinkSel = 1; args 1276 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucEncoderSel = 1; args 1285 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucRefClkSource = ENCODER_REFCLK_SRC_EXTCLK; args 1287 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucRefClkSource = ENCODER_REFCLK_SRC_DCPLL; args 1289 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucRefClkSource = pll_id; args 1293 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucTransmitterSel = 0; args 1296 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucTransmitterSel = 1; args 1299 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.ucTransmitterSel = 2; args 1304 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.fCoherentMode = 1; /* DP requires coherent */ args 1307 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.fCoherentMode = 1; args 1309 drivers/gpu/drm/radeon/atombios_encoders.c args.v4.acConfig.fDualLinkConnector = 1; args 1313 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucAction = action; args 1315 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.usSymClock = cpu_to_le16(dp_clock / 10); args 1317 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.usSymClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 1322 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYB; args 1324 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYA; args 1328 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYD; args 1330 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYC; args 1334 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYF; args 1336 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYE; args 1339 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucPhyId = ATOM_PHY_ID_UNIPHYG; args 1343 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucLaneNum = dp_lane_count; args 1345 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucLaneNum = 8; args 1347 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucLaneNum = 4; args 1348 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucConnObjId = connector_object_id; args 1349 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucDigMode = atombios_get_encoder_mode(encoder); args 1352 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.asConfig.ucPhyClkSrcId = ENCODER_REFCLK_SRC_EXTCLK; args 1354 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.asConfig.ucPhyClkSrcId = pll_id; args 1357 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.asConfig.ucCoherentMode = 1; /* DP requires coherent */ args 1360 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.asConfig.ucCoherentMode = 1; args 1363 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.asConfig.ucHPDSel = 0; args 1365 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.asConfig.ucHPDSel = hpd_id + 1; args 1366 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucDigEncoderSel = (fe != -1) ? (1 << fe) : (1 << dig_encoder); args 1367 drivers/gpu/drm/radeon/atombios_encoders.c args.v5.ucDPLaneSet = lane_set; args 1379 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1394 drivers/gpu/drm/radeon/atombios_encoders.c union dig_transmitter_control args; args 1411 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1413 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucAction = action; args 1415 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1446 drivers/gpu/drm/radeon/atombios_encoders.c union external_encoder_control args; args 1471 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1484 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.sDigEncoder.ucAction = action; args 1485 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.sDigEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 1486 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.sDigEncoder.ucEncoderMode = atombios_get_encoder_mode(encoder); args 1488 drivers/gpu/drm/radeon/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v1.sDigEncoder.ucEncoderMode)) { args 1490 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.sDigEncoder.ucConfig |= ATOM_ENCODER_CONFIG_DPLINKRATE_2_70GHZ; args 1491 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.sDigEncoder.ucLaneNum = dp_lane_count; args 1493 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.sDigEncoder.ucLaneNum = 8; args 1495 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.sDigEncoder.ucLaneNum = 4; args 1498 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucAction = action; args 1500 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.usConnectorId = cpu_to_le16(connector_object_id); args 1502 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); args 1503 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucEncoderMode = atombios_get_encoder_mode(encoder); args 1505 drivers/gpu/drm/radeon/atombios_encoders.c if (ENCODER_MODE_IS_DP(args.v3.sExtEncoder.ucEncoderMode)) { args 1507 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_DPLINKRATE_2_70GHZ; args 1509 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_DPLINKRATE_5_40GHZ; args 1510 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucLaneNum = dp_lane_count; args 1512 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucLaneNum = 8; args 1514 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucLaneNum = 4; args 1517 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_ENCODER1; args 1520 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_ENCODER2; args 1523 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucConfig |= EXTERNAL_ENCODER_CONFIG_V3_ENCODER3; args 1526 drivers/gpu/drm/radeon/atombios_encoders.c args.v3.sExtEncoder.ucBitPerColor = radeon_atom_get_bpc(encoder); args 1537 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1547 drivers/gpu/drm/radeon/atombios_encoders.c ENABLE_YUV_PS_ALLOCATION args; args 1551 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1569 drivers/gpu/drm/radeon/atombios_encoders.c args.ucEnable = ATOM_ENABLE; args 1570 drivers/gpu/drm/radeon/atombios_encoders.c args.ucCRTC = radeon_crtc->crtc_id; args 1572 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1583 drivers/gpu/drm/radeon/atombios_encoders.c DISPLAY_DEVICE_OUTPUT_CONTROL_PS_ALLOCATION args; args 1586 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1631 drivers/gpu/drm/radeon/atombios_encoders.c args.ucAction = ATOM_ENABLE; args 1636 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1639 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1646 drivers/gpu/drm/radeon/atombios_encoders.c args.ucAction = ATOM_LCD_BLON; args 1647 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1654 drivers/gpu/drm/radeon/atombios_encoders.c args.ucAction = ATOM_DISABLE; args 1655 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1657 drivers/gpu/drm/radeon/atombios_encoders.c args.ucAction = ATOM_LCD_BLOFF; args 1658 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 1870 drivers/gpu/drm/radeon/atombios_encoders.c union crtc_source_param args; args 1875 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 1886 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucCRTC = radeon_crtc->crtc_id; args 1889 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucCRTC = radeon_crtc->crtc_id; args 1891 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucCRTC = radeon_crtc->crtc_id << 2; args 1897 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_DFP1_INDEX; args 1902 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_LCD1_INDEX; args 1904 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_DFP3_INDEX; args 1909 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_DFP2_INDEX; args 1914 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_TV1_INDEX; args 1916 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_CV_INDEX; args 1918 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_CRT1_INDEX; args 1923 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_TV1_INDEX; args 1925 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_CV_INDEX; args 1927 drivers/gpu/drm/radeon/atombios_encoders.c args.v1.ucDevice = ATOM_DEVICE_CRT2_INDEX; args 1932 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucCRTC = radeon_crtc->crtc_id; args 1937 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_LVDS; args 1939 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_CRT; args 1941 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncodeMode = atombios_get_encoder_mode(encoder); args 1943 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_LVDS; args 1945 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncodeMode = atombios_get_encoder_mode(encoder); args 1956 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG1_ENCODER_ID; args 1959 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG2_ENCODER_ID; args 1962 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG3_ENCODER_ID; args 1965 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG4_ENCODER_ID; args 1968 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG5_ENCODER_ID; args 1971 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG6_ENCODER_ID; args 1974 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG7_ENCODER_ID; args 1979 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DVO_ENCODER_ID; args 1983 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1985 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1987 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DAC1_ENCODER_ID; args 1991 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1993 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_TV_ENCODER_ID; args 1995 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DAC2_ENCODER_ID; args 2006 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 2020 drivers/gpu/drm/radeon/atombios_encoders.c union crtc_source_param args; args 2022 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 2030 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucCRTC = radeon_crtc->crtc_id; args 2031 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncodeMode = ATOM_ENCODER_MODE_DP_MST; args 2035 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG1_ENCODER_ID; args 2038 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG2_ENCODER_ID; args 2041 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG3_ENCODER_ID; args 2044 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG4_ENCODER_ID; args 2047 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG5_ENCODER_ID; args 2050 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG6_ENCODER_ID; args 2053 drivers/gpu/drm/radeon/atombios_encoders.c args.v2.ucEncoderID = ASIC_INT_DIG7_ENCODER_ID; args 2056 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 2349 drivers/gpu/drm/radeon/atombios_encoders.c DAC_LOAD_DETECTION_PS_ALLOCATION args; args 2353 drivers/gpu/drm/radeon/atombios_encoders.c memset(&args, 0, sizeof(args)); args 2358 drivers/gpu/drm/radeon/atombios_encoders.c args.sDacload.ucMisc = 0; args 2362 drivers/gpu/drm/radeon/atombios_encoders.c args.sDacload.ucDacType = ATOM_DAC_A; args 2364 drivers/gpu/drm/radeon/atombios_encoders.c args.sDacload.ucDacType = ATOM_DAC_B; args 2367 drivers/gpu/drm/radeon/atombios_encoders.c args.sDacload.usDeviceID = cpu_to_le16(ATOM_DEVICE_CRT1_SUPPORT); args 2369 drivers/gpu/drm/radeon/atombios_encoders.c args.sDacload.usDeviceID = cpu_to_le16(ATOM_DEVICE_CRT2_SUPPORT); args 2371 drivers/gpu/drm/radeon/atombios_encoders.c args.sDacload.usDeviceID = cpu_to_le16(ATOM_DEVICE_CV_SUPPORT); args 2373 drivers/gpu/drm/radeon/atombios_encoders.c args.sDacload.ucMisc = DAC_LOAD_MISC_YPrPb; args 2375 drivers/gpu/drm/radeon/atombios_encoders.c args.sDacload.usDeviceID = cpu_to_le16(ATOM_DEVICE_TV1_SUPPORT); args 2377 drivers/gpu/drm/radeon/atombios_encoders.c args.sDacload.ucMisc = DAC_LOAD_MISC_YPrPb; args 2380 drivers/gpu/drm/radeon/atombios_encoders.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 42 drivers/gpu/drm/radeon/atombios_i2c.c PROCESS_I2C_CHANNEL_TRANSACTION_PS_ALLOCATION args; args 48 drivers/gpu/drm/radeon/atombios_i2c.c memset(&args, 0, sizeof(args)); args 62 drivers/gpu/drm/radeon/atombios_i2c.c args.ucRegIndex = 0; args 64 drivers/gpu/drm/radeon/atombios_i2c.c args.ucRegIndex = buf[0]; args 69 drivers/gpu/drm/radeon/atombios_i2c.c args.lpI2CDataOut = cpu_to_le16(out); args 76 drivers/gpu/drm/radeon/atombios_i2c.c args.ucRegIndex = 0; args 77 drivers/gpu/drm/radeon/atombios_i2c.c args.lpI2CDataOut = 0; args 80 drivers/gpu/drm/radeon/atombios_i2c.c args.ucFlag = flags; args 81 drivers/gpu/drm/radeon/atombios_i2c.c args.ucI2CSpeed = TARGET_HW_I2C_CLOCK; args 82 drivers/gpu/drm/radeon/atombios_i2c.c args.ucTransBytes = num; args 83 drivers/gpu/drm/radeon/atombios_i2c.c args.ucSlaveAddr = slave_addr << 1; args 84 drivers/gpu/drm/radeon/atombios_i2c.c args.ucLineNumber = chan->rec.i2c_id; args 86 drivers/gpu/drm/radeon/atombios_i2c.c atom_execute_table_scratch_unlocked(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 89 drivers/gpu/drm/radeon/atombios_i2c.c if (args.ucStatus != HW_ASSISTED_I2C_STATUS_SUCCESS) { args 584 drivers/gpu/drm/radeon/radeon.h struct drm_mode_create_dumb *args); args 2843 drivers/gpu/drm/radeon/radeon_atombios.c union get_clock_dividers args; args 2847 drivers/gpu/drm/radeon/radeon_atombios.c memset(&args, 0, sizeof(args)); args 2856 drivers/gpu/drm/radeon/radeon_atombios.c args.v1.ucAction = clock_type; args 2857 drivers/gpu/drm/radeon/radeon_atombios.c args.v1.ulClock = cpu_to_le32(clock); /* 10 khz */ args 2859 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 2861 drivers/gpu/drm/radeon/radeon_atombios.c dividers->post_div = args.v1.ucPostDiv; args 2862 drivers/gpu/drm/radeon/radeon_atombios.c dividers->fb_div = args.v1.ucFbDiv; args 2870 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ucAction = clock_type; args 2871 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ulClock = cpu_to_le32(clock); /* 10 khz */ args 2873 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 2875 drivers/gpu/drm/radeon/radeon_atombios.c dividers->post_div = args.v2.ucPostDiv; args 2876 drivers/gpu/drm/radeon/radeon_atombios.c dividers->fb_div = le16_to_cpu(args.v2.usFbDiv); args 2877 drivers/gpu/drm/radeon/radeon_atombios.c dividers->ref_div = args.v2.ucAction; args 2879 drivers/gpu/drm/radeon/radeon_atombios.c dividers->enable_post_div = (le32_to_cpu(args.v2.ulClock) & (1 << 24)) ? args 2881 drivers/gpu/drm/radeon/radeon_atombios.c dividers->vco_mode = (le32_to_cpu(args.v2.ulClock) & (1 << 25)) ? 1 : 0; args 2886 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.ulClockParams = cpu_to_le32((clock_type << 24) | clock); args 2888 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 2890 drivers/gpu/drm/radeon/radeon_atombios.c dividers->post_div = args.v3.ucPostDiv; args 2891 drivers/gpu/drm/radeon/radeon_atombios.c dividers->enable_post_div = (args.v3.ucCntlFlag & args 2893 drivers/gpu/drm/radeon/radeon_atombios.c dividers->enable_dithen = (args.v3.ucCntlFlag & args 2895 drivers/gpu/drm/radeon/radeon_atombios.c dividers->whole_fb_div = le16_to_cpu(args.v3.ulFbDiv.usFbDiv); args 2896 drivers/gpu/drm/radeon/radeon_atombios.c dividers->frac_fb_div = le16_to_cpu(args.v3.ulFbDiv.usFbDivFrac); args 2897 drivers/gpu/drm/radeon/radeon_atombios.c dividers->ref_div = args.v3.ucRefDiv; args 2898 drivers/gpu/drm/radeon/radeon_atombios.c dividers->vco_mode = (args.v3.ucCntlFlag & args 2904 drivers/gpu/drm/radeon/radeon_atombios.c args.v5.ulClockParams = cpu_to_le32((clock_type << 24) | clock); args 2906 drivers/gpu/drm/radeon/radeon_atombios.c args.v5.ucInputFlag = ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN; args 2908 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 2910 drivers/gpu/drm/radeon/radeon_atombios.c dividers->post_div = args.v5.ucPostDiv; args 2911 drivers/gpu/drm/radeon/radeon_atombios.c dividers->enable_post_div = (args.v5.ucCntlFlag & args 2913 drivers/gpu/drm/radeon/radeon_atombios.c dividers->enable_dithen = (args.v5.ucCntlFlag & args 2915 drivers/gpu/drm/radeon/radeon_atombios.c dividers->whole_fb_div = le16_to_cpu(args.v5.ulFbDiv.usFbDiv); args 2916 drivers/gpu/drm/radeon/radeon_atombios.c dividers->frac_fb_div = le16_to_cpu(args.v5.ulFbDiv.usFbDivFrac); args 2917 drivers/gpu/drm/radeon/radeon_atombios.c dividers->ref_div = args.v5.ucRefDiv; args 2918 drivers/gpu/drm/radeon/radeon_atombios.c dividers->vco_mode = (args.v5.ucCntlFlag & args 2925 drivers/gpu/drm/radeon/radeon_atombios.c args.v4.ulClock = cpu_to_le32(clock); /* 10 khz */ args 2927 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 2929 drivers/gpu/drm/radeon/radeon_atombios.c dividers->post_divider = dividers->post_div = args.v4.ucPostDiv; args 2930 drivers/gpu/drm/radeon/radeon_atombios.c dividers->real_clock = le32_to_cpu(args.v4.ulClock); args 2935 drivers/gpu/drm/radeon/radeon_atombios.c args.v6_in.ulClock.ulComputeClockFlag = clock_type; args 2936 drivers/gpu/drm/radeon/radeon_atombios.c args.v6_in.ulClock.ulClockFreq = cpu_to_le32(clock); /* 10 khz */ args 2938 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 2940 drivers/gpu/drm/radeon/radeon_atombios.c dividers->whole_fb_div = le16_to_cpu(args.v6_out.ulFbDiv.usFbDiv); args 2941 drivers/gpu/drm/radeon/radeon_atombios.c dividers->frac_fb_div = le16_to_cpu(args.v6_out.ulFbDiv.usFbDivFrac); args 2942 drivers/gpu/drm/radeon/radeon_atombios.c dividers->ref_div = args.v6_out.ucPllRefDiv; args 2943 drivers/gpu/drm/radeon/radeon_atombios.c dividers->post_div = args.v6_out.ucPllPostDiv; args 2944 drivers/gpu/drm/radeon/radeon_atombios.c dividers->flags = args.v6_out.ucPllCntlFlag; args 2945 drivers/gpu/drm/radeon/radeon_atombios.c dividers->real_clock = le32_to_cpu(args.v6_out.ulClock.ulClock); args 2946 drivers/gpu/drm/radeon/radeon_atombios.c dividers->post_divider = args.v6_out.ulClock.ucPostDiv; args 2959 drivers/gpu/drm/radeon/radeon_atombios.c COMPUTE_MEMORY_CLOCK_PARAM_PARAMETERS_V2_1 args; args 2963 drivers/gpu/drm/radeon/radeon_atombios.c memset(&args, 0, sizeof(args)); args 2974 drivers/gpu/drm/radeon/radeon_atombios.c args.ulClock = cpu_to_le32(clock); /* 10 khz */ args 2975 drivers/gpu/drm/radeon/radeon_atombios.c args.ucInputFlag = 0; args 2977 drivers/gpu/drm/radeon/radeon_atombios.c args.ucInputFlag |= MPLL_INPUT_FLAG_STROBE_MODE_EN; args 2979 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 2981 drivers/gpu/drm/radeon/radeon_atombios.c mpll_param->clkfrac = le16_to_cpu(args.ulFbDiv.usFbDivFrac); args 2982 drivers/gpu/drm/radeon/radeon_atombios.c mpll_param->clkf = le16_to_cpu(args.ulFbDiv.usFbDiv); args 2983 drivers/gpu/drm/radeon/radeon_atombios.c mpll_param->post_div = args.ucPostDiv; args 2984 drivers/gpu/drm/radeon/radeon_atombios.c mpll_param->dll_speed = args.ucDllSpeed; args 2985 drivers/gpu/drm/radeon/radeon_atombios.c mpll_param->bwcntl = args.ucBWCntl; args 2987 drivers/gpu/drm/radeon/radeon_atombios.c (args.ucPllCntlFlag & MPLL_CNTL_FLAG_VCO_MODE_MASK); args 2989 drivers/gpu/drm/radeon/radeon_atombios.c (args.ucPllCntlFlag & MPLL_CNTL_FLAG_BYPASS_DQ_PLL) ? 1 : 0; args 2991 drivers/gpu/drm/radeon/radeon_atombios.c (args.ucPllCntlFlag & MPLL_CNTL_FLAG_QDR_ENABLE) ? 1 : 0; args 2993 drivers/gpu/drm/radeon/radeon_atombios.c (args.ucPllCntlFlag & MPLL_CNTL_FLAG_AD_HALF_RATE) ? 1 : 0; args 3007 drivers/gpu/drm/radeon/radeon_atombios.c DYNAMIC_CLOCK_GATING_PS_ALLOCATION args; args 3010 drivers/gpu/drm/radeon/radeon_atombios.c args.ucEnable = enable; args 3012 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3017 drivers/gpu/drm/radeon/radeon_atombios.c GET_ENGINE_CLOCK_PS_ALLOCATION args; args 3020 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3021 drivers/gpu/drm/radeon/radeon_atombios.c return le32_to_cpu(args.ulReturnEngineClock); args 3026 drivers/gpu/drm/radeon/radeon_atombios.c GET_MEMORY_CLOCK_PS_ALLOCATION args; args 3029 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3030 drivers/gpu/drm/radeon/radeon_atombios.c return le32_to_cpu(args.ulReturnMemoryClock); args 3036 drivers/gpu/drm/radeon/radeon_atombios.c SET_ENGINE_CLOCK_PS_ALLOCATION args; args 3039 drivers/gpu/drm/radeon/radeon_atombios.c args.ulTargetEngineClock = cpu_to_le32(eng_clock); /* 10 khz */ args 3041 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3047 drivers/gpu/drm/radeon/radeon_atombios.c SET_MEMORY_CLOCK_PS_ALLOCATION args; args 3053 drivers/gpu/drm/radeon/radeon_atombios.c args.ulTargetMemoryClock = cpu_to_le32(mem_clock); /* 10 khz */ args 3055 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3061 drivers/gpu/drm/radeon/radeon_atombios.c SET_ENGINE_CLOCK_PS_ALLOCATION args; args 3065 drivers/gpu/drm/radeon/radeon_atombios.c memset(&args, 0, sizeof(args)); args 3070 drivers/gpu/drm/radeon/radeon_atombios.c args.ulTargetEngineClock = cpu_to_le32(tmp); args 3072 drivers/gpu/drm/radeon/radeon_atombios.c args.sReserved.ulClock = cpu_to_le32(mem_clock & SET_CLOCK_FREQ_MASK); args 3074 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3080 drivers/gpu/drm/radeon/radeon_atombios.c u32 args; args 3083 drivers/gpu/drm/radeon/radeon_atombios.c args = cpu_to_le32(mem_clock); /* 10 khz */ args 3085 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3091 drivers/gpu/drm/radeon/radeon_atombios.c SET_MEMORY_CLOCK_PS_ALLOCATION args; args 3095 drivers/gpu/drm/radeon/radeon_atombios.c args.ulTargetMemoryClock = cpu_to_le32(tmp); /* 10 khz */ args 3097 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3109 drivers/gpu/drm/radeon/radeon_atombios.c union set_voltage args; args 3122 drivers/gpu/drm/radeon/radeon_atombios.c args.v1.ucVoltageType = voltage_type; args 3123 drivers/gpu/drm/radeon/radeon_atombios.c args.v1.ucVoltageMode = SET_ASIC_VOLTAGE_MODE_ALL_SOURCE; args 3124 drivers/gpu/drm/radeon/radeon_atombios.c args.v1.ucVoltageIndex = volt_index; args 3127 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ucVoltageType = voltage_type; args 3128 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ucVoltageMode = SET_ASIC_VOLTAGE_MODE_SET_VOLTAGE; args 3129 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.usVoltageLevel = cpu_to_le16(voltage_level); args 3132 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.ucVoltageType = voltage_type; args 3133 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.ucVoltageMode = ATOM_SET_VOLTAGE; args 3134 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.usVoltageLevel = cpu_to_le16(voltage_level); args 3141 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3147 drivers/gpu/drm/radeon/radeon_atombios.c union set_voltage args; args 3158 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ucVoltageType = SET_VOLTAGE_GET_MAX_VOLTAGE; args 3159 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ucVoltageMode = 0; args 3160 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.usVoltageLevel = 0; args 3162 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3164 drivers/gpu/drm/radeon/radeon_atombios.c *voltage = le16_to_cpu(args.v2.usVoltageLevel); args 3167 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.ucVoltageType = voltage_type; args 3168 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.ucVoltageMode = ATOM_GET_VOLTAGE_LEVEL; args 3169 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.usVoltageLevel = cpu_to_le16(voltage_id); args 3171 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3173 drivers/gpu/drm/radeon/radeon_atombios.c *voltage = le16_to_cpu(args.v3.usVoltageLevel); args 3193 drivers/gpu/drm/radeon/radeon_atombios.c union set_voltage args; args 3203 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.ucVoltageType = 0; args 3204 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.ucVoltageMode = ATOM_GET_LEAKAGE_ID; args 3205 drivers/gpu/drm/radeon/radeon_atombios.c args.v3.usVoltageLevel = 0; args 3207 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3209 drivers/gpu/drm/radeon/radeon_atombios.c *leakage_id = le16_to_cpu(args.v3.usVoltageLevel); args 3317 drivers/gpu/drm/radeon/radeon_atombios.c union get_voltage_info args; args 3328 drivers/gpu/drm/radeon/radeon_atombios.c args.in.ucVoltageType = VOLTAGE_TYPE_VDDC; args 3329 drivers/gpu/drm/radeon/radeon_atombios.c args.in.ucVoltageMode = ATOM_GET_VOLTAGE_EVV_VOLTAGE; args 3330 drivers/gpu/drm/radeon/radeon_atombios.c args.in.usVoltageLevel = cpu_to_le16(virtual_voltage_id); args 3331 drivers/gpu/drm/radeon/radeon_atombios.c args.in.ulSCLKFreq = args 3334 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3336 drivers/gpu/drm/radeon/radeon_atombios.c *voltage = le16_to_cpu(args.evv_out.usVoltageLevel); args 3345 drivers/gpu/drm/radeon/radeon_atombios.c union set_voltage args; args 3356 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ucVoltageType = voltage_type; args 3357 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ucVoltageMode = SET_ASIC_VOLTAGE_MODE_GET_GPIOMASK; args 3358 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.usVoltageLevel = cpu_to_le16(voltage_level); args 3360 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3362 drivers/gpu/drm/radeon/radeon_atombios.c *gpio_mask = le32_to_cpu(*(u32 *)&args.v2); args 3364 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ucVoltageType = voltage_type; args 3365 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.ucVoltageMode = SET_ASIC_VOLTAGE_MODE_GET_GPIOVAL; args 3366 drivers/gpu/drm/radeon/radeon_atombios.c args.v2.usVoltageLevel = cpu_to_le16(voltage_level); args 3368 drivers/gpu/drm/radeon/radeon_atombios.c atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); args 3370 drivers/gpu/drm/radeon/radeon_atombios.c *gpio_value = le32_to_cpu(*(u32 *)&args.v2); args 150 drivers/gpu/drm/radeon/radeon_drv.c struct drm_mode_create_dumb *args); args 225 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_info *args = data; args 230 drivers/gpu/drm/radeon/radeon_gem.c args->vram_size = (u64)man->size << PAGE_SHIFT; args 231 drivers/gpu/drm/radeon/radeon_gem.c args->vram_visible = rdev->mc.visible_vram_size; args 232 drivers/gpu/drm/radeon/radeon_gem.c args->vram_visible -= rdev->vram_pin_size; args 233 drivers/gpu/drm/radeon/radeon_gem.c args->gart_size = rdev->mc.gtt_size; args 234 drivers/gpu/drm/radeon/radeon_gem.c args->gart_size -= rdev->gart_pin_size; args 259 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_create *args = data; args 266 drivers/gpu/drm/radeon/radeon_gem.c args->size = roundup(args->size, PAGE_SIZE); args 267 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_gem_object_create(rdev, args->size, args->alignment, args 268 drivers/gpu/drm/radeon/radeon_gem.c args->initial_domain, args->flags, args 283 drivers/gpu/drm/radeon/radeon_gem.c args->handle = handle; args 293 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_userptr *args = data; args 299 drivers/gpu/drm/radeon/radeon_gem.c args->addr = untagged_addr(args->addr); args 301 drivers/gpu/drm/radeon/radeon_gem.c if (offset_in_page(args->addr | args->size)) args 305 drivers/gpu/drm/radeon/radeon_gem.c if (args->flags & ~(RADEON_GEM_USERPTR_READONLY | args 310 drivers/gpu/drm/radeon/radeon_gem.c if (args->flags & RADEON_GEM_USERPTR_READONLY) { args 315 drivers/gpu/drm/radeon/radeon_gem.c } else if (!(args->flags & RADEON_GEM_USERPTR_ANONONLY) || args 316 drivers/gpu/drm/radeon/radeon_gem.c !(args->flags & RADEON_GEM_USERPTR_REGISTER)) { args 326 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_gem_object_create(rdev, args->size, 0, args 333 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_ttm_tt_set_userptr(bo->tbo.ttm, args->addr, args->flags); args 337 drivers/gpu/drm/radeon/radeon_gem.c if (args->flags & RADEON_GEM_USERPTR_REGISTER) { args 338 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_mn_register(bo, args->addr); args 343 drivers/gpu/drm/radeon/radeon_gem.c if (args->flags & RADEON_GEM_USERPTR_VALIDATE) { args 365 drivers/gpu/drm/radeon/radeon_gem.c args->handle = handle; args 385 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_set_domain *args = data; args 395 drivers/gpu/drm/radeon/radeon_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 402 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); args 434 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_mmap *args = data; args 436 drivers/gpu/drm/radeon/radeon_gem.c return radeon_mode_dumb_mmap(filp, dev, args->handle, &args->addr_ptr); args 442 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_busy *args = data; args 448 drivers/gpu/drm/radeon/radeon_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 461 drivers/gpu/drm/radeon/radeon_gem.c args->domain = radeon_mem_type_to_domain(cur_placement); args 470 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_wait_idle *args = data; args 477 drivers/gpu/drm/radeon/radeon_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 502 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_set_tiling *args = data; args 507 drivers/gpu/drm/radeon/radeon_gem.c DRM_DEBUG("%d \n", args->handle); args 508 drivers/gpu/drm/radeon/radeon_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 512 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_bo_set_tiling_flags(robj, args->tiling_flags, args->pitch); args 520 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_get_tiling *args = data; args 526 drivers/gpu/drm/radeon/radeon_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 533 drivers/gpu/drm/radeon/radeon_gem.c radeon_bo_get_tiling_flags(rbo, &args->tiling_flags, &args->pitch); args 605 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_va *args = data; args 615 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_ERROR; args 624 drivers/gpu/drm/radeon/radeon_gem.c if (args->vm_id) { args 625 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_ERROR; args 629 drivers/gpu/drm/radeon/radeon_gem.c if (args->offset < RADEON_VA_RESERVED_SIZE) { args 632 drivers/gpu/drm/radeon/radeon_gem.c (unsigned long)args->offset, args 634 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_ERROR; args 643 drivers/gpu/drm/radeon/radeon_gem.c if ((args->flags & invalid_flags)) { args 645 drivers/gpu/drm/radeon/radeon_gem.c args->flags, invalid_flags); args 646 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_ERROR; args 650 drivers/gpu/drm/radeon/radeon_gem.c switch (args->operation) { args 656 drivers/gpu/drm/radeon/radeon_gem.c args->operation); args 657 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_ERROR; args 661 drivers/gpu/drm/radeon/radeon_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 663 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_ERROR; args 669 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_ERROR; args 675 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_ERROR; args 681 drivers/gpu/drm/radeon/radeon_gem.c switch (args->operation) { args 684 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_VA_EXIST; args 685 drivers/gpu/drm/radeon/radeon_gem.c args->offset = bo_va->it.start * RADEON_GPU_PAGE_SIZE; args 689 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_vm_bo_set_addr(rdev, bo_va, args->offset, args->flags); args 699 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_OK; args 701 drivers/gpu/drm/radeon/radeon_gem.c args->operation = RADEON_VA_RESULT_ERROR; args 711 drivers/gpu/drm/radeon/radeon_gem.c struct drm_radeon_gem_op *args = data; args 716 drivers/gpu/drm/radeon/radeon_gem.c gobj = drm_gem_object_lookup(filp, args->handle); args 730 drivers/gpu/drm/radeon/radeon_gem.c switch (args->op) { args 732 drivers/gpu/drm/radeon/radeon_gem.c args->value = robj->initial_domain; args 735 drivers/gpu/drm/radeon/radeon_gem.c robj->initial_domain = args->value & (RADEON_GEM_DOMAIN_VRAM | args 751 drivers/gpu/drm/radeon/radeon_gem.c struct drm_mode_create_dumb *args) args 758 drivers/gpu/drm/radeon/radeon_gem.c args->pitch = radeon_align_pitch(rdev, args->width, args 759 drivers/gpu/drm/radeon/radeon_gem.c DIV_ROUND_UP(args->bpp, 8), 0); args 760 drivers/gpu/drm/radeon/radeon_gem.c args->size = args->pitch * args->height; args 761 drivers/gpu/drm/radeon/radeon_gem.c args->size = ALIGN(args->size, PAGE_SIZE); args 763 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_gem_object_create(rdev, args->size, 0, args 775 drivers/gpu/drm/radeon/radeon_gem.c args->handle = handle; args 286 drivers/gpu/drm/rcar-du/rcar_du_kms.c struct drm_mode_create_dumb *args) args 289 drivers/gpu/drm/rcar-du/rcar_du_kms.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 299 drivers/gpu/drm/rcar-du/rcar_du_kms.c align = 16 * args->bpp / 8; args 301 drivers/gpu/drm/rcar-du/rcar_du_kms.c args->pitch = roundup(min_pitch, align); args 303 drivers/gpu/drm/rcar-du/rcar_du_kms.c return drm_gem_cma_dumb_create_internal(file, dev, args); args 545 drivers/gpu/drm/rcar-du/rcar_du_kms.c struct of_phandle_args args; args 568 drivers/gpu/drm/rcar-du/rcar_du_kms.c &args); args 577 drivers/gpu/drm/rcar-du/rcar_du_kms.c if (vsps[j].np == args.np) args 582 drivers/gpu/drm/rcar-du/rcar_du_kms.c of_node_put(args.np); args 584 drivers/gpu/drm/rcar-du/rcar_du_kms.c vsps[vsps_count++].np = args.np; args 590 drivers/gpu/drm/rcar-du/rcar_du_kms.c rcdu->crtcs[i].vsp_pipe = cells >= 1 ? args.args[0] : 0; args 34 drivers/gpu/drm/rcar-du/rcar_du_kms.h struct drm_mode_create_dumb *args); args 145 drivers/gpu/drm/rcar-du/rcar_du_of.c value[i + 1] = cpu_to_be32(clk->args[i]); args 413 drivers/gpu/drm/rockchip/rockchip_drm_gem.c struct drm_mode_create_dumb *args) args 416 drivers/gpu/drm/rockchip/rockchip_drm_gem.c int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 421 drivers/gpu/drm/rockchip/rockchip_drm_gem.c args->pitch = ALIGN(min_pitch, 64); args 422 drivers/gpu/drm/rockchip/rockchip_drm_gem.c args->size = args->pitch * args->height; args 424 drivers/gpu/drm/rockchip/rockchip_drm_gem.c rk_obj = rockchip_gem_create_with_handle(file_priv, dev, args->size, args 425 drivers/gpu/drm/rockchip/rockchip_drm_gem.c &args->handle); args 52 drivers/gpu/drm/rockchip/rockchip_drm_gem.h struct drm_mode_create_dumb *args); args 40 drivers/gpu/drm/stm/drv.c struct drm_mode_create_dumb *args) args 42 drivers/gpu/drm/stm/drv.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 48 drivers/gpu/drm/stm/drv.c args->pitch = roundup(min_pitch, 128); args 49 drivers/gpu/drm/stm/drv.c args->height = roundup(args->height, 4); args 51 drivers/gpu/drm/stm/drv.c return drm_gem_cma_dumb_create_internal(file, dev, args); args 33 drivers/gpu/drm/sun4i/sun4i_drv.c struct drm_mode_create_dumb *args) args 36 drivers/gpu/drm/sun4i/sun4i_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), 2); args 38 drivers/gpu/drm/sun4i/sun4i_drv.c return drm_gem_cma_dumb_create_internal(file_priv, drm, args); args 326 drivers/gpu/drm/tegra/drm.c struct drm_tegra_submit *args, struct drm_device *drm, args 330 drivers/gpu/drm/tegra/drm.c unsigned int num_cmdbufs = args->num_cmdbufs; args 331 drivers/gpu/drm/tegra/drm.c unsigned int num_relocs = args->num_relocs; args 343 drivers/gpu/drm/tegra/drm.c user_cmdbufs = u64_to_user_ptr(args->cmdbufs); args 344 drivers/gpu/drm/tegra/drm.c user_relocs = u64_to_user_ptr(args->relocs); args 345 drivers/gpu/drm/tegra/drm.c user_syncpt = u64_to_user_ptr(args->syncpts); args 348 drivers/gpu/drm/tegra/drm.c if (args->num_syncpts != 1) args 352 drivers/gpu/drm/tegra/drm.c if (args->num_waitchks != 0) args 355 drivers/gpu/drm/tegra/drm.c job = host1x_job_alloc(context->channel, args->num_cmdbufs, args 356 drivers/gpu/drm/tegra/drm.c args->num_relocs); args 360 drivers/gpu/drm/tegra/drm.c job->num_relocs = args->num_relocs; args 478 drivers/gpu/drm/tegra/drm.c if (args->timeout && args->timeout < 10000) args 479 drivers/gpu/drm/tegra/drm.c job->timeout = args->timeout; args 491 drivers/gpu/drm/tegra/drm.c args->fence = job->syncpt_end; args 509 drivers/gpu/drm/tegra/drm.c struct drm_tegra_gem_create *args = data; args 512 drivers/gpu/drm/tegra/drm.c bo = tegra_bo_create_with_handle(file, drm, args->size, args->flags, args 513 drivers/gpu/drm/tegra/drm.c &args->handle); args 523 drivers/gpu/drm/tegra/drm.c struct drm_tegra_gem_mmap *args = data; args 527 drivers/gpu/drm/tegra/drm.c gem = drm_gem_object_lookup(file, args->handle); args 533 drivers/gpu/drm/tegra/drm.c args->offset = drm_vma_node_offset_addr(&bo->gem.vma_node); args 544 drivers/gpu/drm/tegra/drm.c struct drm_tegra_syncpt_read *args = data; args 547 drivers/gpu/drm/tegra/drm.c sp = host1x_syncpt_get(host, args->id); args 551 drivers/gpu/drm/tegra/drm.c args->value = host1x_syncpt_read_min(sp); args 559 drivers/gpu/drm/tegra/drm.c struct drm_tegra_syncpt_incr *args = data; args 562 drivers/gpu/drm/tegra/drm.c sp = host1x_syncpt_get(host1x, args->id); args 573 drivers/gpu/drm/tegra/drm.c struct drm_tegra_syncpt_wait *args = data; args 576 drivers/gpu/drm/tegra/drm.c sp = host1x_syncpt_get(host1x, args->id); args 580 drivers/gpu/drm/tegra/drm.c return host1x_syncpt_wait(sp, args->thresh, args 581 drivers/gpu/drm/tegra/drm.c msecs_to_jiffies(args->timeout), args 582 drivers/gpu/drm/tegra/drm.c &args->value); args 612 drivers/gpu/drm/tegra/drm.c struct drm_tegra_open_channel *args = data; args 624 drivers/gpu/drm/tegra/drm.c if (client->base.class == args->client) { args 629 drivers/gpu/drm/tegra/drm.c args->context = context->id; args 644 drivers/gpu/drm/tegra/drm.c struct drm_tegra_close_channel *args = data; args 650 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); args 668 drivers/gpu/drm/tegra/drm.c struct drm_tegra_get_syncpt *args = data; args 675 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); args 681 drivers/gpu/drm/tegra/drm.c if (args->index >= context->client->base.num_syncpts) { args 686 drivers/gpu/drm/tegra/drm.c syncpt = context->client->base.syncpts[args->index]; args 687 drivers/gpu/drm/tegra/drm.c args->id = host1x_syncpt_id(syncpt); args 698 drivers/gpu/drm/tegra/drm.c struct drm_tegra_submit *args = data; args 704 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); args 710 drivers/gpu/drm/tegra/drm.c err = context->client->ops->submit(context, args, drm, file); args 721 drivers/gpu/drm/tegra/drm.c struct drm_tegra_get_syncpt_base *args = data; args 729 drivers/gpu/drm/tegra/drm.c context = idr_find(&fpriv->contexts, args->context); args 735 drivers/gpu/drm/tegra/drm.c if (args->syncpt >= context->client->base.num_syncpts) { args 740 drivers/gpu/drm/tegra/drm.c syncpt = context->client->base.syncpts[args->syncpt]; args 748 drivers/gpu/drm/tegra/drm.c args->id = host1x_syncpt_base_id(base); args 758 drivers/gpu/drm/tegra/drm.c struct drm_tegra_gem_set_tiling *args = data; args 764 drivers/gpu/drm/tegra/drm.c switch (args->mode) { args 768 drivers/gpu/drm/tegra/drm.c if (args->value != 0) args 776 drivers/gpu/drm/tegra/drm.c if (args->value != 0) args 784 drivers/gpu/drm/tegra/drm.c if (args->value > 5) args 787 drivers/gpu/drm/tegra/drm.c value = args->value; args 794 drivers/gpu/drm/tegra/drm.c gem = drm_gem_object_lookup(file, args->handle); args 811 drivers/gpu/drm/tegra/drm.c struct drm_tegra_gem_get_tiling *args = data; args 816 drivers/gpu/drm/tegra/drm.c gem = drm_gem_object_lookup(file, args->handle); args 824 drivers/gpu/drm/tegra/drm.c args->mode = DRM_TEGRA_GEM_TILING_MODE_PITCH; args 825 drivers/gpu/drm/tegra/drm.c args->value = 0; args 829 drivers/gpu/drm/tegra/drm.c args->mode = DRM_TEGRA_GEM_TILING_MODE_TILED; args 830 drivers/gpu/drm/tegra/drm.c args->value = 0; args 834 drivers/gpu/drm/tegra/drm.c args->mode = DRM_TEGRA_GEM_TILING_MODE_BLOCK; args 835 drivers/gpu/drm/tegra/drm.c args->value = bo->tiling.value; args 851 drivers/gpu/drm/tegra/drm.c struct drm_tegra_gem_set_flags *args = data; args 855 drivers/gpu/drm/tegra/drm.c if (args->flags & ~DRM_TEGRA_GEM_FLAGS) args 858 drivers/gpu/drm/tegra/drm.c gem = drm_gem_object_lookup(file, args->handle); args 865 drivers/gpu/drm/tegra/drm.c if (args->flags & DRM_TEGRA_GEM_BOTTOM_UP) args 876 drivers/gpu/drm/tegra/drm.c struct drm_tegra_gem_get_flags *args = data; args 880 drivers/gpu/drm/tegra/drm.c gem = drm_gem_object_lookup(file, args->handle); args 885 drivers/gpu/drm/tegra/drm.c args->flags = 0; args 888 drivers/gpu/drm/tegra/drm.c args->flags |= DRM_TEGRA_GEM_BOTTOM_UP; args 76 drivers/gpu/drm/tegra/drm.h struct drm_tegra_submit *args, struct drm_device *drm, args 81 drivers/gpu/drm/tegra/drm.h struct drm_tegra_submit *args, struct drm_device *drm, args 408 drivers/gpu/drm/tegra/gem.c struct drm_mode_create_dumb *args) args 410 drivers/gpu/drm/tegra/gem.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 414 drivers/gpu/drm/tegra/gem.c args->pitch = round_up(min_pitch, tegra->pitch_align); args 415 drivers/gpu/drm/tegra/gem.c args->size = args->pitch * args->height; args 417 drivers/gpu/drm/tegra/gem.c bo = tegra_bo_create_with_handle(file, drm, args->size, 0, args 418 drivers/gpu/drm/tegra/gem.c &args->handle); args 65 drivers/gpu/drm/tegra/gem.h struct drm_mode_create_dumb *args); args 126 drivers/gpu/drm/tve200/tve200_drm.h struct drm_mode_create_dumb *args); args 128 drivers/gpu/drm/udl/udl_drv.h struct drm_mode_create_dumb *args); args 79 drivers/gpu/drm/udl/udl_gem.c struct drm_mode_create_dumb *args) args 81 drivers/gpu/drm/udl/udl_gem.c args->pitch = args->width * DIV_ROUND_UP(args->bpp, 8); args 82 drivers/gpu/drm/udl/udl_gem.c args->size = args->pitch * args->height; args 84 drivers/gpu/drm/udl/udl_gem.c args->size, &args->handle); args 172 drivers/gpu/drm/v3d/v3d_bo.c struct drm_v3d_create_bo *args = data; args 176 drivers/gpu/drm/v3d/v3d_bo.c if (args->flags != 0) { args 177 drivers/gpu/drm/v3d/v3d_bo.c DRM_INFO("unknown create_bo flags: %d\n", args->flags); args 181 drivers/gpu/drm/v3d/v3d_bo.c bo = v3d_bo_create(dev, file_priv, PAGE_ALIGN(args->size)); args 185 drivers/gpu/drm/v3d/v3d_bo.c args->offset = bo->node.start << PAGE_SHIFT; args 187 drivers/gpu/drm/v3d/v3d_bo.c ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle); args 196 drivers/gpu/drm/v3d/v3d_bo.c struct drm_v3d_mmap_bo *args = data; args 199 drivers/gpu/drm/v3d/v3d_bo.c if (args->flags != 0) { args 200 drivers/gpu/drm/v3d/v3d_bo.c DRM_INFO("unknown mmap_bo flags: %d\n", args->flags); args 204 drivers/gpu/drm/v3d/v3d_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 206 drivers/gpu/drm/v3d/v3d_bo.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 210 drivers/gpu/drm/v3d/v3d_bo.c args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); args 219 drivers/gpu/drm/v3d/v3d_bo.c struct drm_v3d_get_bo_offset *args = data; args 223 drivers/gpu/drm/v3d/v3d_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 225 drivers/gpu/drm/v3d/v3d_bo.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 230 drivers/gpu/drm/v3d/v3d_bo.c args->offset = bo->node.start << PAGE_SHIFT; args 80 drivers/gpu/drm/v3d/v3d_drv.c struct drm_v3d_get_param *args = data; args 92 drivers/gpu/drm/v3d/v3d_drv.c if (args->pad != 0) args 99 drivers/gpu/drm/v3d/v3d_drv.c if (args->param < ARRAY_SIZE(reg_map) && args 100 drivers/gpu/drm/v3d/v3d_drv.c (reg_map[args->param] || args 101 drivers/gpu/drm/v3d/v3d_drv.c args->param == DRM_V3D_PARAM_V3D_CORE0_IDENT0)) { args 102 drivers/gpu/drm/v3d/v3d_drv.c u32 offset = reg_map[args->param]; args 104 drivers/gpu/drm/v3d/v3d_drv.c if (args->value != 0) args 110 drivers/gpu/drm/v3d/v3d_drv.c if (args->param >= DRM_V3D_PARAM_V3D_CORE0_IDENT0 && args 111 drivers/gpu/drm/v3d/v3d_drv.c args->param <= DRM_V3D_PARAM_V3D_CORE0_IDENT2) { args 112 drivers/gpu/drm/v3d/v3d_drv.c args->value = V3D_CORE_READ(0, offset); args 114 drivers/gpu/drm/v3d/v3d_drv.c args->value = V3D_READ(offset); args 122 drivers/gpu/drm/v3d/v3d_drv.c switch (args->param) { args 124 drivers/gpu/drm/v3d/v3d_drv.c args->value = 1; args 127 drivers/gpu/drm/v3d/v3d_drv.c args->value = v3d_has_csd(v3d); args 130 drivers/gpu/drm/v3d/v3d_drv.c DRM_DEBUG("Unknown parameter %d\n", args->param); args 245 drivers/gpu/drm/v3d/v3d_drv.h struct drm_v3d_submit_tfu args; args 253 drivers/gpu/drm/v3d/v3d_drv.h struct drm_v3d_submit_csd args; args 403 drivers/gpu/drm/v3d/v3d_gem.c struct drm_v3d_wait_bo *args = data; args 407 drivers/gpu/drm/v3d/v3d_gem.c nsecs_to_jiffies_timeout(args->timeout_ns); args 409 drivers/gpu/drm/v3d/v3d_gem.c if (args->pad != 0) args 412 drivers/gpu/drm/v3d/v3d_gem.c ret = drm_gem_dma_resv_wait(file_priv, args->handle, args 419 drivers/gpu/drm/v3d/v3d_gem.c if (delta_ns < args->timeout_ns) args 420 drivers/gpu/drm/v3d/v3d_gem.c args->timeout_ns -= delta_ns; args 422 drivers/gpu/drm/v3d/v3d_gem.c args->timeout_ns = 0; args 425 drivers/gpu/drm/v3d/v3d_gem.c if (ret == -ETIME && args->timeout_ns) args 530 drivers/gpu/drm/v3d/v3d_gem.c struct drm_v3d_submit_cl *args = data; args 536 drivers/gpu/drm/v3d/v3d_gem.c trace_v3d_submit_cl_ioctl(&v3d->drm, args->rcl_start, args->rcl_end); args 538 drivers/gpu/drm/v3d/v3d_gem.c if (args->pad != 0) { args 539 drivers/gpu/drm/v3d/v3d_gem.c DRM_INFO("pad must be zero: %d\n", args->pad); args 547 drivers/gpu/drm/v3d/v3d_gem.c render->start = args->rcl_start; args 548 drivers/gpu/drm/v3d/v3d_gem.c render->end = args->rcl_end; args 552 drivers/gpu/drm/v3d/v3d_gem.c v3d_render_job_free, args->in_sync_rcl); args 558 drivers/gpu/drm/v3d/v3d_gem.c if (args->bcl_start != args->bcl_end) { args 566 drivers/gpu/drm/v3d/v3d_gem.c v3d_job_free, args->in_sync_bcl); args 573 drivers/gpu/drm/v3d/v3d_gem.c bin->start = args->bcl_start; args 574 drivers/gpu/drm/v3d/v3d_gem.c bin->end = args->bcl_end; args 575 drivers/gpu/drm/v3d/v3d_gem.c bin->qma = args->qma; args 576 drivers/gpu/drm/v3d/v3d_gem.c bin->qms = args->qms; args 577 drivers/gpu/drm/v3d/v3d_gem.c bin->qts = args->qts; args 582 drivers/gpu/drm/v3d/v3d_gem.c args->bo_handles, args->bo_handle_count); args 610 drivers/gpu/drm/v3d/v3d_gem.c args->out_sync, args 646 drivers/gpu/drm/v3d/v3d_gem.c struct drm_v3d_submit_tfu *args = data; args 651 drivers/gpu/drm/v3d/v3d_gem.c trace_v3d_submit_tfu_ioctl(&v3d->drm, args->iia); args 658 drivers/gpu/drm/v3d/v3d_gem.c v3d_job_free, args->in_sync); args 664 drivers/gpu/drm/v3d/v3d_gem.c job->base.bo = kcalloc(ARRAY_SIZE(args->bo_handles), args 671 drivers/gpu/drm/v3d/v3d_gem.c job->args = *args; args 675 drivers/gpu/drm/v3d/v3d_gem.c job->base.bo_count < ARRAY_SIZE(args->bo_handles); args 679 drivers/gpu/drm/v3d/v3d_gem.c if (!args->bo_handles[job->base.bo_count]) args 683 drivers/gpu/drm/v3d/v3d_gem.c args->bo_handles[job->base.bo_count]); args 687 drivers/gpu/drm/v3d/v3d_gem.c args->bo_handles[job->base.bo_count]); args 709 drivers/gpu/drm/v3d/v3d_gem.c args->out_sync, args 741 drivers/gpu/drm/v3d/v3d_gem.c struct drm_v3d_submit_csd *args = data; args 747 drivers/gpu/drm/v3d/v3d_gem.c trace_v3d_submit_csd_ioctl(&v3d->drm, args->cfg[5], args->cfg[6]); args 759 drivers/gpu/drm/v3d/v3d_gem.c v3d_job_free, args->in_sync); args 779 drivers/gpu/drm/v3d/v3d_gem.c job->args = *args; args 782 drivers/gpu/drm/v3d/v3d_gem.c args->bo_handles, args->bo_handle_count); args 808 drivers/gpu/drm/v3d/v3d_gem.c args->out_sync, args 202 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_IIA, job->args.iia); args 203 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_IIS, job->args.iis); args 204 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_ICA, job->args.ica); args 205 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_IUA, job->args.iua); args 206 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_IOA, job->args.ioa); args 207 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_IOS, job->args.ios); args 208 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_COEF0, job->args.coef[0]); args 209 drivers/gpu/drm/v3d/v3d_sched.c if (job->args.coef[0] & V3D_TFU_COEF0_USECOEF) { args 210 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_COEF1, job->args.coef[1]); args 211 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_COEF2, job->args.coef[2]); args 212 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_COEF3, job->args.coef[3]); args 215 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_ICFG, job->args.icfg | V3D_TFU_ICFG_IOC); args 244 drivers/gpu/drm/v3d/v3d_sched.c V3D_CORE_WRITE(0, V3D_CSD_QUEUED_CFG0 + 4 * i, job->args.cfg[i]); args 246 drivers/gpu/drm/v3d/v3d_sched.c V3D_CORE_WRITE(0, V3D_CSD_QUEUED_CFG0, job->args.cfg[0]); args 474 drivers/gpu/drm/vc4/vc4_bo.c struct drm_mode_create_dumb *args) args 476 drivers/gpu/drm/vc4/vc4_bo.c int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 480 drivers/gpu/drm/vc4/vc4_bo.c if (args->pitch < min_pitch) args 481 drivers/gpu/drm/vc4/vc4_bo.c args->pitch = min_pitch; args 483 drivers/gpu/drm/vc4/vc4_bo.c if (args->size < args->pitch * args->height) args 484 drivers/gpu/drm/vc4/vc4_bo.c args->size = args->pitch * args->height; args 486 drivers/gpu/drm/vc4/vc4_bo.c bo = vc4_bo_create(dev, args->size, false, VC4_BO_TYPE_DUMB); args 492 drivers/gpu/drm/vc4/vc4_bo.c ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle); args 816 drivers/gpu/drm/vc4/vc4_bo.c struct drm_vc4_create_bo *args = data; args 830 drivers/gpu/drm/vc4/vc4_bo.c bo = vc4_bo_create(dev, args->size, false, VC4_BO_TYPE_V3D); args 836 drivers/gpu/drm/vc4/vc4_bo.c ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle); args 845 drivers/gpu/drm/vc4/vc4_bo.c struct drm_vc4_mmap_bo *args = data; args 848 drivers/gpu/drm/vc4/vc4_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 850 drivers/gpu/drm/vc4/vc4_bo.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 855 drivers/gpu/drm/vc4/vc4_bo.c args->offset = drm_vma_node_offset_addr(&gem_obj->vma_node); args 865 drivers/gpu/drm/vc4/vc4_bo.c struct drm_vc4_create_shader_bo *args = data; args 871 drivers/gpu/drm/vc4/vc4_bo.c if (args->size == 0) args 874 drivers/gpu/drm/vc4/vc4_bo.c if (args->size % sizeof(u64) != 0) args 877 drivers/gpu/drm/vc4/vc4_bo.c if (args->flags != 0) { args 878 drivers/gpu/drm/vc4/vc4_bo.c DRM_INFO("Unknown flags set: 0x%08x\n", args->flags); args 882 drivers/gpu/drm/vc4/vc4_bo.c if (args->pad != 0) { args 883 drivers/gpu/drm/vc4/vc4_bo.c DRM_INFO("Pad set: 0x%08x\n", args->pad); args 891 drivers/gpu/drm/vc4/vc4_bo.c bo = vc4_bo_create(dev, args->size, true, VC4_BO_TYPE_V3D_SHADER); args 898 drivers/gpu/drm/vc4/vc4_bo.c (void __user *)(uintptr_t)args->data, args 899 drivers/gpu/drm/vc4/vc4_bo.c args->size)) { args 906 drivers/gpu/drm/vc4/vc4_bo.c memset(bo->base.vaddr + args->size, 0, args 907 drivers/gpu/drm/vc4/vc4_bo.c bo->base.base.size - args->size); args 918 drivers/gpu/drm/vc4/vc4_bo.c ret = drm_gem_handle_create(file_priv, &bo->base.base, &args->handle); args 941 drivers/gpu/drm/vc4/vc4_bo.c struct drm_vc4_set_tiling *args = data; args 946 drivers/gpu/drm/vc4/vc4_bo.c if (args->flags != 0) args 949 drivers/gpu/drm/vc4/vc4_bo.c switch (args->modifier) { args 960 drivers/gpu/drm/vc4/vc4_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 962 drivers/gpu/drm/vc4/vc4_bo.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 984 drivers/gpu/drm/vc4/vc4_bo.c struct drm_vc4_get_tiling *args = data; args 988 drivers/gpu/drm/vc4/vc4_bo.c if (args->flags != 0 || args->modifier != 0) args 991 drivers/gpu/drm/vc4/vc4_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 993 drivers/gpu/drm/vc4/vc4_bo.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 999 drivers/gpu/drm/vc4/vc4_bo.c args->modifier = DRM_FORMAT_MOD_BROADCOM_VC4_T_TILED; args 1001 drivers/gpu/drm/vc4/vc4_bo.c args->modifier = DRM_FORMAT_MOD_NONE; args 1067 drivers/gpu/drm/vc4/vc4_bo.c struct drm_vc4_label_bo *args = data; args 1072 drivers/gpu/drm/vc4/vc4_bo.c if (!args->len) args 1075 drivers/gpu/drm/vc4/vc4_bo.c name = strndup_user(u64_to_user_ptr(args->name), args->len + 1); args 1079 drivers/gpu/drm/vc4/vc4_bo.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 1081 drivers/gpu/drm/vc4/vc4_bo.c DRM_ERROR("Failed to look up GEM BO %d\n", args->handle); args 71 drivers/gpu/drm/vc4/vc4_drv.c struct drm_vc4_get_param *args = data; args 74 drivers/gpu/drm/vc4/vc4_drv.c if (args->pad != 0) args 80 drivers/gpu/drm/vc4/vc4_drv.c switch (args->param) { args 85 drivers/gpu/drm/vc4/vc4_drv.c args->value = V3D_READ(V3D_IDENT0); args 92 drivers/gpu/drm/vc4/vc4_drv.c args->value = V3D_READ(V3D_IDENT1); args 99 drivers/gpu/drm/vc4/vc4_drv.c args->value = V3D_READ(V3D_IDENT2); args 108 drivers/gpu/drm/vc4/vc4_drv.c args->value = true; args 111 drivers/gpu/drm/vc4/vc4_drv.c DRM_DEBUG("Unknown parameter %d\n", args->param); args 500 drivers/gpu/drm/vc4/vc4_drv.h struct drm_vc4_submit_cl *args; args 714 drivers/gpu/drm/vc4/vc4_drv.h struct drm_mode_create_dumb *args); args 732 drivers/gpu/drm/vc4/vc4_gem.c struct drm_vc4_submit_cl *args = exec->args; args 737 drivers/gpu/drm/vc4/vc4_gem.c exec->bo_count = args->bo_handle_count; args 762 drivers/gpu/drm/vc4/vc4_gem.c if (copy_from_user(handles, u64_to_user_ptr(args->bo_handles), args 824 drivers/gpu/drm/vc4/vc4_gem.c struct drm_vc4_submit_cl *args = exec->args; args 830 drivers/gpu/drm/vc4/vc4_gem.c uint32_t shader_rec_offset = roundup(bin_offset + args->bin_cl_size, args 832 drivers/gpu/drm/vc4/vc4_gem.c uint32_t uniforms_offset = shader_rec_offset + args->shader_rec_size; args 833 drivers/gpu/drm/vc4/vc4_gem.c uint32_t exec_size = uniforms_offset + args->uniforms_size; args 835 drivers/gpu/drm/vc4/vc4_gem.c args->shader_rec_count); args 838 drivers/gpu/drm/vc4/vc4_gem.c if (shader_rec_offset < args->bin_cl_size || args 841 drivers/gpu/drm/vc4/vc4_gem.c args->shader_rec_count >= (UINT_MAX / args 867 drivers/gpu/drm/vc4/vc4_gem.c exec->shader_state_size = args->shader_rec_count; args 870 drivers/gpu/drm/vc4/vc4_gem.c u64_to_user_ptr(args->bin_cl), args 871 drivers/gpu/drm/vc4/vc4_gem.c args->bin_cl_size)) { args 877 drivers/gpu/drm/vc4/vc4_gem.c u64_to_user_ptr(args->shader_rec), args 878 drivers/gpu/drm/vc4/vc4_gem.c args->shader_rec_size)) { args 884 drivers/gpu/drm/vc4/vc4_gem.c u64_to_user_ptr(args->uniforms), args 885 drivers/gpu/drm/vc4/vc4_gem.c args->uniforms_size)) { args 907 drivers/gpu/drm/vc4/vc4_gem.c exec->shader_rec_size = args->shader_rec_size; args 911 drivers/gpu/drm/vc4/vc4_gem.c exec->uniforms_size = args->uniforms_size; args 1083 drivers/gpu/drm/vc4/vc4_gem.c struct drm_vc4_wait_seqno *args = data; args 1085 drivers/gpu/drm/vc4/vc4_gem.c return vc4_wait_for_seqno_ioctl_helper(dev, args->seqno, args 1086 drivers/gpu/drm/vc4/vc4_gem.c &args->timeout_ns); args 1094 drivers/gpu/drm/vc4/vc4_gem.c struct drm_vc4_wait_bo *args = data; args 1098 drivers/gpu/drm/vc4/vc4_gem.c if (args->pad != 0) args 1101 drivers/gpu/drm/vc4/vc4_gem.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 1103 drivers/gpu/drm/vc4/vc4_gem.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 1109 drivers/gpu/drm/vc4/vc4_gem.c &args->timeout_ns); args 1133 drivers/gpu/drm/vc4/vc4_gem.c struct drm_vc4_submit_cl *args = data; args 1145 drivers/gpu/drm/vc4/vc4_gem.c if ((args->flags & ~(VC4_SUBMIT_CL_USE_CLEAR_COLOR | args 1149 drivers/gpu/drm/vc4/vc4_gem.c DRM_DEBUG("Unknown flags: 0x%02x\n", args->flags); args 1153 drivers/gpu/drm/vc4/vc4_gem.c if (args->pad2 != 0) { args 1154 drivers/gpu/drm/vc4/vc4_gem.c DRM_DEBUG("Invalid pad: 0x%08x\n", args->pad2); args 1170 drivers/gpu/drm/vc4/vc4_gem.c exec->args = args; args 1177 drivers/gpu/drm/vc4/vc4_gem.c if (args->perfmonid) { args 1179 drivers/gpu/drm/vc4/vc4_gem.c args->perfmonid); args 1186 drivers/gpu/drm/vc4/vc4_gem.c if (args->in_sync) { args 1187 drivers/gpu/drm/vc4/vc4_gem.c ret = drm_syncobj_find_fence(file_priv, args->in_sync, args 1209 drivers/gpu/drm/vc4/vc4_gem.c if (exec->args->bin_cl_size != 0) { args 1226 drivers/gpu/drm/vc4/vc4_gem.c if (args->out_sync) { args 1227 drivers/gpu/drm/vc4/vc4_gem.c out_sync = drm_syncobj_find(file_priv, args->out_sync); args 1243 drivers/gpu/drm/vc4/vc4_gem.c exec->args = NULL; args 1257 drivers/gpu/drm/vc4/vc4_gem.c args->seqno = vc4->emit_seqno; args 1316 drivers/gpu/drm/vc4/vc4_gem.c struct drm_vc4_gem_madvise *args = data; args 1321 drivers/gpu/drm/vc4/vc4_gem.c switch (args->madv) { args 1329 drivers/gpu/drm/vc4/vc4_gem.c if (args->pad != 0) args 1332 drivers/gpu/drm/vc4/vc4_gem.c gem_obj = drm_gem_object_lookup(file_priv, args->handle); args 1334 drivers/gpu/drm/vc4/vc4_gem.c DRM_DEBUG("Failed to look up GEM BO %d\n", args->handle); args 1358 drivers/gpu/drm/vc4/vc4_gem.c if (args->madv == VC4_MADV_DONTNEED && bo->madv == VC4_MADV_WILLNEED && args 1365 drivers/gpu/drm/vc4/vc4_gem.c } else if (args->madv == VC4_MADV_WILLNEED && args 1375 drivers/gpu/drm/vc4/vc4_gem.c args->retained = bo->madv != __VC4_MADV_PURGED; args 1379 drivers/gpu/drm/vc4/vc4_gem.c bo->madv = args->madv; args 105 drivers/gpu/drm/vc4/vc4_render_cl.c (DIV_ROUND_UP(exec->args->width, 32) * y + x); args 127 drivers/gpu/drm/vc4/vc4_render_cl.c struct drm_vc4_submit_cl *args = exec->args; args 128 drivers/gpu/drm/vc4/vc4_render_cl.c bool has_bin = args->bin_cl_size != 0; args 135 drivers/gpu/drm/vc4/vc4_render_cl.c if (args->color_read.flags & args 140 drivers/gpu/drm/vc4/vc4_render_cl.c &args->color_read, x, y) | args 144 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->color_read.bits); args 146 drivers/gpu/drm/vc4/vc4_render_cl.c args->color_read.offset); args 157 drivers/gpu/drm/vc4/vc4_render_cl.c if (args->zs_read.flags & args 162 drivers/gpu/drm/vc4/vc4_render_cl.c &args->zs_read, x, y) | args 166 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->zs_read.bits); args 168 drivers/gpu/drm/vc4/vc4_render_cl.c args->zs_read.offset); args 202 drivers/gpu/drm/vc4/vc4_render_cl.c &args->msaa_color_write, x, y) | args 220 drivers/gpu/drm/vc4/vc4_render_cl.c &args->msaa_zs_write, x, y) | args 231 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->zs_write.bits | args 235 drivers/gpu/drm/vc4/vc4_render_cl.c (setup->zs_write->paddr + args->zs_write.offset) | args 256 drivers/gpu/drm/vc4/vc4_render_cl.c struct drm_vc4_submit_cl *args = exec->args; args 257 drivers/gpu/drm/vc4/vc4_render_cl.c bool has_bin = args->bin_cl_size != 0; args 258 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t min_x_tile = args->min_x_tile; args 259 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t min_y_tile = args->min_y_tile; args 260 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t max_x_tile = args->max_x_tile; args 261 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t max_y_tile = args->max_y_tile; args 269 drivers/gpu/drm/vc4/vc4_render_cl.c if (args->flags & VC4_SUBMIT_CL_FIXED_RCL_ORDER) { args 270 drivers/gpu/drm/vc4/vc4_render_cl.c if (!(args->flags & VC4_SUBMIT_CL_RCL_ORDER_INCREASING_X)) args 272 drivers/gpu/drm/vc4/vc4_render_cl.c if (!(args->flags & VC4_SUBMIT_CL_RCL_ORDER_INCREASING_Y)) args 279 drivers/gpu/drm/vc4/vc4_render_cl.c if (args->flags & VC4_SUBMIT_CL_USE_CLEAR_COLOR) { args 286 drivers/gpu/drm/vc4/vc4_render_cl.c if (args->color_read.flags & args 299 drivers/gpu/drm/vc4/vc4_render_cl.c if (args->zs_read.flags & args 342 drivers/gpu/drm/vc4/vc4_render_cl.c if (args->flags & VC4_SUBMIT_CL_USE_CLEAR_COLOR) { args 344 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u32(setup, args->clear_color[0]); args 345 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u32(setup, args->clear_color[1]); args 346 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u32(setup, args->clear_z); args 347 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u8(setup, args->clear_s); args 359 drivers/gpu/drm/vc4/vc4_render_cl.c args->color_write.offset) : args 361 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->width); args 362 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->height); args 363 drivers/gpu/drm/vc4/vc4_render_cl.c rcl_u16(setup, args->color_write.bits); args 387 drivers/gpu/drm/vc4/vc4_render_cl.c struct drm_vc4_submit_cl *args = exec->args; args 388 drivers/gpu/drm/vc4/vc4_render_cl.c u32 render_tiles_stride = DIV_ROUND_UP(exec->args->width, 32); args 397 drivers/gpu/drm/vc4/vc4_render_cl.c render_tiles_stride * args->max_y_tile + args->max_x_tile) { args 400 drivers/gpu/drm/vc4/vc4_render_cl.c args->max_x_tile, args->max_y_tile, args 465 drivers/gpu/drm/vc4/vc4_render_cl.c if (surf == &exec->args->zs_write) { args 526 drivers/gpu/drm/vc4/vc4_render_cl.c exec->args->width, exec->args->height, cpp)) { args 587 drivers/gpu/drm/vc4/vc4_render_cl.c exec->args->width, exec->args->height, cpp)) { args 597 drivers/gpu/drm/vc4/vc4_render_cl.c struct drm_vc4_submit_cl *args = exec->args; args 598 drivers/gpu/drm/vc4/vc4_render_cl.c bool has_bin = args->bin_cl_size != 0; args 601 drivers/gpu/drm/vc4/vc4_render_cl.c if (args->min_x_tile > args->max_x_tile || args 602 drivers/gpu/drm/vc4/vc4_render_cl.c args->min_y_tile > args->max_y_tile) { args 604 drivers/gpu/drm/vc4/vc4_render_cl.c args->min_x_tile, args->min_y_tile, args 605 drivers/gpu/drm/vc4/vc4_render_cl.c args->max_x_tile, args->max_y_tile); args 610 drivers/gpu/drm/vc4/vc4_render_cl.c (args->max_x_tile > exec->bin_tiles_x || args 611 drivers/gpu/drm/vc4/vc4_render_cl.c args->max_y_tile > exec->bin_tiles_y)) { args 614 drivers/gpu/drm/vc4/vc4_render_cl.c args->max_x_tile, args->max_y_tile, args 621 drivers/gpu/drm/vc4/vc4_render_cl.c &args->color_write); args 625 drivers/gpu/drm/vc4/vc4_render_cl.c ret = vc4_rcl_surface_setup(exec, &setup.color_read, &args->color_read, args 630 drivers/gpu/drm/vc4/vc4_render_cl.c ret = vc4_rcl_surface_setup(exec, &setup.zs_read, &args->zs_read, args 635 drivers/gpu/drm/vc4/vc4_render_cl.c ret = vc4_rcl_surface_setup(exec, &setup.zs_write, &args->zs_write, args 641 drivers/gpu/drm/vc4/vc4_render_cl.c &args->msaa_color_write); args 646 drivers/gpu/drm/vc4/vc4_render_cl.c &args->msaa_zs_write); args 216 drivers/gpu/drm/vc4/vc4_validate.c if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 1)) { args 245 drivers/gpu/drm/vc4/vc4_validate.c if (!validate_bin_pos(exec, untrusted, exec->args->bin_cl_size - 2)) { args 485 drivers/gpu/drm/vc4/vc4_validate.c uint32_t len = exec->args->bin_cl_size; args 208 drivers/gpu/drm/vgem/vgem_drv.c struct drm_mode_create_dumb *args) args 213 drivers/gpu/drm/vgem/vgem_drv.c pitch = args->width * DIV_ROUND_UP(args->bpp, 8); args 214 drivers/gpu/drm/vgem/vgem_drv.c size = args->height * pitch; args 218 drivers/gpu/drm/vgem/vgem_drv.c gem_object = vgem_gem_create(dev, file, &args->handle, size); args 222 drivers/gpu/drm/vgem/vgem_drv.c args->size = gem_object->size; args 223 drivers/gpu/drm/vgem/vgem_drv.c args->pitch = pitch; args 227 drivers/gpu/drm/vgem/vgem_drv.c DRM_DEBUG("Created object of size %llu\n", args->size); args 249 drivers/gpu/drm/virtio/virtgpu_drv.h struct drm_mode_create_dumb *args); args 86 drivers/gpu/drm/virtio/virtgpu_gem.c struct drm_mode_create_dumb *args) args 93 drivers/gpu/drm/virtio/virtgpu_gem.c if (args->bpp != 32) args 96 drivers/gpu/drm/virtio/virtgpu_gem.c pitch = args->width * 4; args 97 drivers/gpu/drm/virtio/virtgpu_gem.c args->size = pitch * args->height; args 98 drivers/gpu/drm/virtio/virtgpu_gem.c args->size = ALIGN(args->size, PAGE_SIZE); args 101 drivers/gpu/drm/virtio/virtgpu_gem.c params.width = args->width; args 102 drivers/gpu/drm/virtio/virtgpu_gem.c params.height = args->height; args 103 drivers/gpu/drm/virtio/virtgpu_gem.c params.size = args->size; args 106 drivers/gpu/drm/virtio/virtgpu_gem.c &args->handle); args 110 drivers/gpu/drm/virtio/virtgpu_gem.c args->pitch = pitch; args 362 drivers/gpu/drm/virtio/virtgpu_ioctl.c struct drm_virtgpu_3d_transfer_from_host *args = data; args 368 drivers/gpu/drm/virtio/virtgpu_ioctl.c u32 offset = args->offset; args 374 drivers/gpu/drm/virtio/virtgpu_ioctl.c gobj = drm_gem_object_lookup(file, args->bo_handle); args 388 drivers/gpu/drm/virtio/virtgpu_ioctl.c convert_to_hw_box(&box, &args->box); args 397 drivers/gpu/drm/virtio/virtgpu_ioctl.c vfpriv->ctx_id, offset, args->level, args 415 drivers/gpu/drm/virtio/virtgpu_ioctl.c struct drm_virtgpu_3d_transfer_to_host *args = data; args 422 drivers/gpu/drm/virtio/virtgpu_ioctl.c u32 offset = args->offset; args 424 drivers/gpu/drm/virtio/virtgpu_ioctl.c gobj = drm_gem_object_lookup(file, args->bo_handle); args 438 drivers/gpu/drm/virtio/virtgpu_ioctl.c convert_to_hw_box(&box, &args->box); args 452 drivers/gpu/drm/virtio/virtgpu_ioctl.c args->level, &box, fence); args 468 drivers/gpu/drm/virtio/virtgpu_ioctl.c struct drm_virtgpu_3d_wait *args = data; args 474 drivers/gpu/drm/virtio/virtgpu_ioctl.c gobj = drm_gem_object_lookup(file, args->handle); args 480 drivers/gpu/drm/virtio/virtgpu_ioctl.c if (args->flags & VIRTGPU_WAIT_NOWAIT) args 492 drivers/gpu/drm/virtio/virtgpu_ioctl.c struct drm_virtgpu_get_caps *args = data; args 504 drivers/gpu/drm/virtio/virtgpu_ioctl.c if (args->size == 0) args 509 drivers/gpu/drm/virtio/virtgpu_ioctl.c if (vgdev->capsets[i].id == args->cap_set_id) { args 510 drivers/gpu/drm/virtio/virtgpu_ioctl.c if (vgdev->capsets[i].max_version >= args->cap_set_ver) { args 524 drivers/gpu/drm/virtio/virtgpu_ioctl.c size = min(args->size, host_caps_size); args 527 drivers/gpu/drm/virtio/virtgpu_ioctl.c if (cache_ent->id == args->cap_set_id && args 528 drivers/gpu/drm/virtio/virtgpu_ioctl.c cache_ent->version == args->cap_set_ver) { args 536 drivers/gpu/drm/virtio/virtgpu_ioctl.c virtio_gpu_cmd_get_capset(vgdev, found_valid, args->cap_set_ver, args 550 drivers/gpu/drm/virtio/virtgpu_ioctl.c if (copy_to_user(u64_to_user_ptr(args->addr), ptr, size)) args 127 drivers/gpu/drm/vkms/vkms_drv.h struct drm_mode_create_dumb *args); args 121 drivers/gpu/drm/vkms/vkms_gem.c struct drm_mode_create_dumb *args) args 126 drivers/gpu/drm/vkms/vkms_gem.c if (!args || !dev || !file) args 129 drivers/gpu/drm/vkms/vkms_gem.c pitch = args->width * DIV_ROUND_UP(args->bpp, 8); args 130 drivers/gpu/drm/vkms/vkms_gem.c size = pitch * args->height; args 135 drivers/gpu/drm/vkms/vkms_gem.c gem_obj = vkms_gem_create(dev, file, &args->handle, size); args 139 drivers/gpu/drm/vkms/vkms_gem.c args->size = gem_obj->size; args 140 drivers/gpu/drm/vkms/vkms_gem.c args->pitch = pitch; args 1032 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c struct drm_mode_create_dumb *args) args 1038 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c args->pitch = args->width * ((args->bpp + 7) / 8); args 1039 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c args->size = args->pitch * args->height; args 1046 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c args->size, false, &args->handle, args 1107 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h struct drm_mode_create_dumb *args); args 384 drivers/gpu/drm/xen/xen_drm_front.c struct drm_mode_create_dumb *args) args 399 drivers/gpu/drm/xen/xen_drm_front.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); args 400 drivers/gpu/drm/xen/xen_drm_front.c args->size = args->pitch * args->height; args 402 drivers/gpu/drm/xen/xen_drm_front.c obj = xen_drm_front_gem_create(dev, args->size); args 410 drivers/gpu/drm/xen/xen_drm_front.c args->width, args->height, args->bpp, args 411 drivers/gpu/drm/xen/xen_drm_front.c args->size, args 417 drivers/gpu/drm/xen/xen_drm_front.c ret = drm_gem_handle_create(filp, obj, &args->handle); args 323 drivers/gpu/drm/zte/zx_tvenc.c pwrctrl->reg = out_args.args[0]; args 324 drivers/gpu/drm/zte/zx_tvenc.c pwrctrl->mask = out_args.args[1]; args 212 drivers/gpu/drm/zte/zx_vga.c pwrctrl->reg = out_args.args[0]; args 213 drivers/gpu/drm/zte/zx_vga.c pwrctrl->mask = out_args.args[1]; args 27 drivers/gpu/host1x/debug.c va_list args; args 30 drivers/gpu/host1x/debug.c va_start(args, fmt); args 31 drivers/gpu/host1x/debug.c len = vsnprintf(o->buf, sizeof(o->buf), fmt, args); args 32 drivers/gpu/host1x/debug.c va_end(args); args 39 drivers/gpu/host1x/debug.c va_list args; args 42 drivers/gpu/host1x/debug.c va_start(args, fmt); args 43 drivers/gpu/host1x/debug.c len = vsnprintf(o->buf, sizeof(o->buf), fmt, args); args 44 drivers/gpu/host1x/debug.c va_end(args); args 213 drivers/gpu/host1x/mipi.c struct of_phandle_args args; args 218 drivers/gpu/host1x/mipi.c &args); args 228 drivers/gpu/host1x/mipi.c dev->pdev = of_find_device_by_node(args.np); args 240 drivers/gpu/host1x/mipi.c of_node_put(args.np); args 242 drivers/gpu/host1x/mipi.c dev->pads = args.args[0]; args 252 drivers/gpu/host1x/mipi.c of_node_put(args.np); args 212 drivers/hid/hid-steam.c va_list args; args 214 drivers/hid/hid-steam.c va_start(args, steam); args 216 drivers/hid/hid-steam.c reg = va_arg(args, int); args 219 drivers/hid/hid-steam.c val = va_arg(args, int); args 225 drivers/hid/hid-steam.c va_end(args); args 212 drivers/hid/i2c-hid/i2c-hid-core.c u8 reportType, u8 *args, int args_len, args 238 drivers/hid/i2c-hid/i2c-hid-core.c memcpy(cmd->data + length, args, args_len); args 296 drivers/hid/i2c-hid/i2c-hid-core.c u8 args[3]; args 304 drivers/hid/i2c-hid/i2c-hid-core.c args[args_len++] = reportID; args 308 drivers/hid/i2c-hid/i2c-hid-core.c args[args_len++] = readRegister & 0xFF; args 309 drivers/hid/i2c-hid/i2c-hid-core.c args[args_len++] = readRegister >> 8; args 312 drivers/hid/i2c-hid/i2c-hid-core.c reportType, args, args_len, buf_recv, data_len); args 335 drivers/hid/i2c-hid/i2c-hid-core.c u8 *args = ihid->argsbuf; args 361 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = reportID; args 370 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = dataRegister & 0xFF; args 371 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = dataRegister >> 8; args 374 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = outputRegister & 0xFF; args 375 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = outputRegister >> 8; args 379 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = size & 0xFF; args 380 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = size >> 8; args 383 drivers/hid/i2c-hid/i2c-hid-core.c args[index++] = reportID; args 385 drivers/hid/i2c-hid/i2c-hid-core.c memcpy(&args[index], buf, data_len); args 388 drivers/hid/i2c-hid/i2c-hid-core.c reportType, args, args_len, NULL, 0); args 55 drivers/hid/intel-ish-hid/ipc/pci-ish.c va_list args; args 58 drivers/hid/intel-ish-hid/ipc/pci-ish.c va_start(args, format); args 59 drivers/hid/intel-ish-hid/ipc/pci-ish.c vsnprintf(tmp_buf, sizeof(tmp_buf), format, args); args 60 drivers/hid/intel-ish-hid/ipc/pci-ish.c va_end(args); args 65 drivers/hv/vmbus_drv.c void *args) args 85 drivers/hv/vmbus_drv.c void *args) args 87 drivers/hv/vmbus_drv.c struct die_args *die = (struct die_args *)args; args 146 drivers/hwmon/acpi_power_meter.c struct acpi_object_list args = { 1, &arg0 }; args 163 drivers/hwmon/acpi_power_meter.c &args, &data); args 217 drivers/hwmon/acpi_power_meter.c struct acpi_object_list args = { 1, &arg0 }; args 234 drivers/hwmon/acpi_power_meter.c &args, &data); args 258 drivers/hwmon/acpi_power_meter.c struct acpi_object_list args = { 2, arg_objs }; args 271 drivers/hwmon/acpi_power_meter.c &args, &data); args 797 drivers/hwmon/asc7621.c #define VAA(args...) {args} args 81 drivers/hwmon/pwm-fan.c period = ctx->pwm->args.period; args 333 drivers/hwmon/pwm-fan.c state.duty_cycle = ctx->pwm->args.period - 1; args 397 drivers/hwmon/pwm-fan.c struct pwm_args args; args 400 drivers/hwmon/pwm-fan.c pwm_get_args(ctx->pwm, &args); args 403 drivers/hwmon/pwm-fan.c ret = pwm_config(ctx->pwm, 0, args.period); args 322 drivers/hwspinlock/hwspinlock_core.c return hwlock_spec->args[0]; args 341 drivers/hwspinlock/hwspinlock_core.c struct of_phandle_args args; args 349 drivers/hwspinlock/hwspinlock_core.c &args); args 353 drivers/hwspinlock/hwspinlock_core.c if (!of_device_is_available(args.np)) { args 370 drivers/hwspinlock/hwspinlock_core.c if (hwlock->bank->dev->of_node == args.np) { args 379 drivers/hwspinlock/hwspinlock_core.c id = of_hwspin_lock_simple_xlate(&args); args 387 drivers/hwspinlock/hwspinlock_core.c of_node_put(args.np); args 23 drivers/i2c/algos/i2c-algo-bit.c #define bit_dbg(level, dev, format, args...) \ args 26 drivers/i2c/algos/i2c-algo-bit.c dev_dbg(dev, format, ##args); \ args 29 drivers/i2c/algos/i2c-algo-bit.c #define bit_dbg(level, dev, format, args...) \ args 17 drivers/i2c/algos/i2c-algo-pca.c #define DEB1(fmt, args...) do { if (i2c_debug >= 1) \ args 18 drivers/i2c/algos/i2c-algo-pca.c printk(KERN_DEBUG fmt, ## args); } while (0) args 19 drivers/i2c/algos/i2c-algo-pca.c #define DEB2(fmt, args...) do { if (i2c_debug >= 2) \ args 20 drivers/i2c/algos/i2c-algo-pca.c printk(KERN_DEBUG fmt, ## args); } while (0) args 21 drivers/i2c/algos/i2c-algo-pca.c #define DEB3(fmt, args...) do { if (i2c_debug >= 3) \ args 22 drivers/i2c/algos/i2c-algo-pca.c printk(KERN_DEBUG fmt, ## args); } while (0) args 350 drivers/i2c/busses/i2c-tegra.c static void tegra_i2c_dma_complete(void *args) args 352 drivers/i2c/busses/i2c-tegra.c struct tegra_i2c_dev *i2c_dev = args; args 49 drivers/ide/ide-acpi.c #define DEBPRINT(fmt, args...) \ args 50 drivers/ide/ide-acpi.c printk(KERN_DEBUG "%s: " fmt, __func__, ## args) args 52 drivers/ide/ide-acpi.c #define DEBPRINT(fmt, args...) do {} while (0) args 20 drivers/ide/ide-atapi.c #define debug_log(fmt, args...) \ args 21 drivers/ide/ide-atapi.c printk(KERN_INFO "ide: " fmt, ## args) args 23 drivers/ide/ide-atapi.c #define debug_log(fmt, args...) do {} while (0) args 15 drivers/ide/ide-cd.h #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args) args 17 drivers/ide/ide-cd.h #define ide_debug_log(lvl, fmt, args...) do {} while (0) args 12 drivers/ide/ide-gd.h #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args) args 14 drivers/ide/ide-gd.h #define ide_debug_log(lvl, fmt, args...) do {} while (0) args 122 drivers/ide/ide-ioctls.c u8 args[4], xfer_rate = 0; args 138 drivers/ide/ide-ioctls.c if (copy_from_user(args, (void __user *)arg, 4)) args 142 drivers/ide/ide-ioctls.c tf->feature = args[2]; args 143 drivers/ide/ide-ioctls.c if (args[0] == ATA_CMD_SMART) { args 144 drivers/ide/ide-ioctls.c tf->nsect = args[3]; args 145 drivers/ide/ide-ioctls.c tf->lbal = args[1]; args 151 drivers/ide/ide-ioctls.c tf->nsect = args[1]; args 155 drivers/ide/ide-ioctls.c tf->command = args[0]; args 156 drivers/ide/ide-ioctls.c cmd.protocol = args[3] ? ATA_PROT_PIO : ATA_PROT_NODATA; args 158 drivers/ide/ide-ioctls.c if (args[3]) { args 160 drivers/ide/ide-ioctls.c bufsize = SECTOR_SIZE * args[3]; args 178 drivers/ide/ide-ioctls.c err = ide_raw_taskfile(drive, &cmd, buf, args[3]); args 180 drivers/ide/ide-ioctls.c args[0] = tf->status; args 181 drivers/ide/ide-ioctls.c args[1] = tf->error; args 182 drivers/ide/ide-ioctls.c args[2] = tf->nsect; args 184 drivers/ide/ide-ioctls.c if (copy_to_user((void __user *)arg, &args, 4)) args 198 drivers/ide/ide-ioctls.c u8 args[7]; args 201 drivers/ide/ide-ioctls.c if (copy_from_user(args, p, 7)) args 205 drivers/ide/ide-ioctls.c memcpy(&cmd.tf.feature, &args[1], 6); args 206 drivers/ide/ide-ioctls.c cmd.tf.command = args[0]; args 212 drivers/ide/ide-ioctls.c args[0] = cmd.tf.command; args 213 drivers/ide/ide-ioctls.c memcpy(&args[1], &cmd.tf.feature, 6); args 215 drivers/ide/ide-ioctls.c if (copy_to_user(p, args, 7)) args 53 drivers/ide/ide-tape.c #define ide_debug_log(lvl, fmt, args...) __ide_debug_log(lvl, fmt, ## args) args 55 drivers/ide/ide-tape.c #define ide_debug_log(lvl, fmt, args...) do {} while (0) args 34 drivers/ide/pdc202xx_new.c #define DBG(fmt, args...) printk("%s: " fmt, __func__, ## args) args 36 drivers/ide/pdc202xx_new.c #define DBG(fmt, args...) args 486 drivers/iio/adc/at91-sama5d2_adc.c return at91_adc_chan_xlate(indio_dev, iiospec->args[0]); args 713 drivers/iio/adc/qcom-pm8xxx-xoadc.c pre_scale_mux = (u8)iiospec->args[0]; args 714 drivers/iio/adc/qcom-pm8xxx-xoadc.c amux_channel = (u8)iiospec->args[1]; args 374 drivers/iio/adc/qcom-spmi-adc5.c if (adc->chan_props[i].channel == iiospec->args[0]) args 492 drivers/iio/adc/qcom-spmi-vadc.c if (vadc->iio_chans[i].channel == iiospec->args[0]) args 1292 drivers/iio/adc/stm32-adc.c if (indio_dev->channels[i].channel == iiospec->args[0]) args 114 drivers/iio/inkern.c if (iiospec->args[0] >= indio_dev->num_channels) { args 116 drivers/iio/inkern.c iiospec->args[0]); args 120 drivers/iio/inkern.c return iiospec->args[0]; args 218 drivers/infiniband/core/device.c va_list args; args 220 drivers/infiniband/core/device.c va_start(args, format); args 223 drivers/infiniband/core/device.c vaf.va = &args; args 227 drivers/infiniband/core/device.c va_end(args); args 235 drivers/infiniband/core/device.c va_list args; \ args 237 drivers/infiniband/core/device.c va_start(args, fmt); \ args 240 drivers/infiniband/core/device.c vaf.va = &args; \ args 244 drivers/infiniband/core/device.c va_end(args); \ args 901 drivers/infiniband/core/nldev.c int start = cb->args[0]; args 920 drivers/infiniband/core/nldev.c out: cb->args[0] = idx; args 992 drivers/infiniband/core/nldev.c int start = cb->args[0]; args 1041 drivers/infiniband/core/nldev.c cb->args[0] = idx; args 1094 drivers/infiniband/core/nldev.c int start = cb->args[0]; args 1113 drivers/infiniband/core/nldev.c cb->args[0] = idx; args 1280 drivers/infiniband/core/nldev.c int start = cb->args[0]; args 1378 drivers/infiniband/core/nldev.c cb->args[0] = idx; args 101 drivers/infiniband/hw/hfi1/trace_dbg.h va_list args; \ args 103 drivers/infiniband/hw/hfi1/trace_dbg.h va_start(args, fmt); \ args 104 drivers/infiniband/hw/hfi1/trace_dbg.h vaf.va = &args; \ args 106 drivers/infiniband/hw/hfi1/trace_dbg.h va_end(args); \ args 1486 drivers/infiniband/hw/hns/hns_roce_hw_v1.c struct fwnode_reference_args args; args 1489 drivers/infiniband/hw/hns/hns_roce_hw_v1.c "dsaf-handle", 0, &args); args 1494 drivers/infiniband/hw/hns/hns_roce_hw_v1.c fwnode = args.fwnode; args 4569 drivers/infiniband/hw/hns/hns_roce_hw_v1.c struct fwnode_reference_args args; args 4573 drivers/infiniband/hw/hns/hns_roce_hw_v1.c i, &args); args 4576 drivers/infiniband/hw/hns/hns_roce_hw_v1.c pdev = hns_roce_find_pdev(args.fwnode); args 130 drivers/infiniband/hw/i40iw/i40iw.h #define i40iw_pr_err(fmt, args ...) pr_err("%s: "fmt, __func__, ## args) args 132 drivers/infiniband/hw/i40iw/i40iw.h #define i40iw_pr_info(fmt, args ...) pr_info("%s: " fmt, __func__, ## args) args 134 drivers/infiniband/hw/i40iw/i40iw.h #define i40iw_pr_warn(fmt, args ...) pr_warn("%s: " fmt, __func__, ## args) args 46 drivers/infiniband/hw/usnic/usnic_log.h #define usnic_printk(lvl, args...) \ args 50 drivers/infiniband/hw/usnic/usnic_log.h printk(args); \ args 53 drivers/infiniband/hw/usnic/usnic_log.h #define usnic_dbg(args...) \ args 56 drivers/infiniband/hw/usnic/usnic_log.h usnic_printk(KERN_INFO, args); \ args 60 drivers/infiniband/hw/usnic/usnic_log.h #define usnic_info(args...) \ args 63 drivers/infiniband/hw/usnic/usnic_log.h usnic_printk(KERN_INFO, args); \ args 67 drivers/infiniband/hw/usnic/usnic_log.h #define usnic_err(args...) \ args 70 drivers/infiniband/hw/usnic/usnic_log.h usnic_printk(KERN_ERR, args); \ args 3496 drivers/infiniband/ulp/srp/ib_srp.c substring_t args[MAX_OPT_ARGS]; args 3513 drivers/infiniband/ulp/srp/ib_srp.c token = match_token(p, srp_opt_tokens, args); args 3518 drivers/infiniband/ulp/srp/ib_srp.c p = match_strdup(args); args 3534 drivers/infiniband/ulp/srp/ib_srp.c p = match_strdup(args); args 3550 drivers/infiniband/ulp/srp/ib_srp.c p = match_strdup(args); args 3568 drivers/infiniband/ulp/srp/ib_srp.c if (match_hex(args, &token)) { args 3576 drivers/infiniband/ulp/srp/ib_srp.c p = match_strdup(args); args 3592 drivers/infiniband/ulp/srp/ib_srp.c p = match_strdup(args); args 3609 drivers/infiniband/ulp/srp/ib_srp.c p = match_strdup(args); args 3628 drivers/infiniband/ulp/srp/ib_srp.c if (match_int(args, &token)) { args 3636 drivers/infiniband/ulp/srp/ib_srp.c if (match_int(args, &token) || token < 1) { args 3648 drivers/infiniband/ulp/srp/ib_srp.c if (match_int(args, &token) || token < 1) { args 3657 drivers/infiniband/ulp/srp/ib_srp.c if (match_int(args, &token) || token < 1) { args 3666 drivers/infiniband/ulp/srp/ib_srp.c if (match_hex(args, &token)) { args 3681 drivers/infiniband/ulp/srp/ib_srp.c p = match_strdup(args); args 3697 drivers/infiniband/ulp/srp/ib_srp.c if (match_int(args, &token) || token < 1 || token > 255) { args 3706 drivers/infiniband/ulp/srp/ib_srp.c if (match_int(args, &token)) { args 3714 drivers/infiniband/ulp/srp/ib_srp.c if (match_int(args, &token) || token < 1 || args 3724 drivers/infiniband/ulp/srp/ib_srp.c if (match_int(args, &token) || token < 0) { args 3732 drivers/infiniband/ulp/srp/ib_srp.c if (match_int(args, &token) || token < 2 || token > 7) { args 513 drivers/input/gameport/gameport.c va_list args; args 515 drivers/input/gameport/gameport.c va_start(args, fmt); args 516 drivers/input/gameport/gameport.c vsnprintf(gameport->phys, sizeof(gameport->phys), fmt, args); args 517 drivers/input/gameport/gameport.c va_end(args); args 30 drivers/input/joystick/db9.c int args[2]; args 37 drivers/input/joystick/db9.c module_param_array_named(dev, db9_cfg[0].args, int, &db9_cfg[0].nargs, 0); args 39 drivers/input/joystick/db9.c module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0); args 41 drivers/input/joystick/db9.c module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0); args 558 drivers/input/joystick/db9.c db9_cfg[port_idx].args[DB9_ARG_PARPORT] < 0) args 561 drivers/input/joystick/db9.c if (db9_cfg[port_idx].args[DB9_ARG_PARPORT] == pp->number) args 570 drivers/input/joystick/db9.c mode = db9_cfg[port_idx].args[DB9_ARG_MODE]; args 688 drivers/input/joystick/db9.c if (db9_cfg[i].nargs == 0 || db9_cfg[i].args[DB9_ARG_PARPORT] < 0) args 36 drivers/input/joystick/gamecon.c int args[GC_MAX_DEVICES + 1]; args 42 drivers/input/joystick/gamecon.c module_param_array_named(map, gc_cfg[0].args, int, &gc_cfg[0].nargs, 0); args 44 drivers/input/joystick/gamecon.c module_param_array_named(map2, gc_cfg[1].args, int, &gc_cfg[1].nargs, 0); args 46 drivers/input/joystick/gamecon.c module_param_array_named(map3, gc_cfg[2].args, int, &gc_cfg[2].nargs, 0); args 931 drivers/input/joystick/gamecon.c if (gc_cfg[port_idx].nargs == 0 || gc_cfg[port_idx].args[0] < 0) args 934 drivers/input/joystick/gamecon.c if (gc_cfg[port_idx].args[0] == pp->number) args 942 drivers/input/joystick/gamecon.c pads = gc_cfg[port_idx].args + 1; args 1030 drivers/input/joystick/gamecon.c if (gc_cfg[i].nargs == 0 || gc_cfg[i].args[0] < 0) args 32 drivers/input/joystick/turbografx.c int args[TGFX_MAX_DEVICES + 1]; args 38 drivers/input/joystick/turbografx.c module_param_array_named(map, tgfx_cfg[0].args, int, &tgfx_cfg[0].nargs, 0); args 40 drivers/input/joystick/turbografx.c module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0); args 42 drivers/input/joystick/turbografx.c module_param_array_named(map3, tgfx_cfg[2].args, int, &tgfx_cfg[2].nargs, 0); args 155 drivers/input/joystick/turbografx.c tgfx_cfg[port_idx].args[0] < 0) args 157 drivers/input/joystick/turbografx.c if (tgfx_cfg[port_idx].args[0] == pp->number) args 165 drivers/input/joystick/turbografx.c n_buttons = tgfx_cfg[port_idx].args + 1; args 289 drivers/input/joystick/turbografx.c if (tgfx_cfg[i].nargs == 0 || tgfx_cfg[i].args[0] < 0) args 277 drivers/input/keyboard/tegra-kbc.c static irqreturn_t tegra_kbc_isr(int irq, void *args) args 279 drivers/input/keyboard/tegra-kbc.c struct tegra_kbc *kbc = args; args 27 drivers/input/rmi4/rmi_bus.c va_list args; args 30 drivers/input/rmi4/rmi_bus.c va_start(args, fmt); args 33 drivers/input/rmi4/rmi_bus.c vaf.va = &args; args 37 drivers/input/rmi4/rmi_bus.c va_end(args); args 74 drivers/input/serio/i8042.h #define filter_dbg(filter, data, format, args...) \ args 80 drivers/input/serio/i8042.h dbg("%02x " format, data, ##args); \ args 82 drivers/input/serio/i8042.h dbg("** " format, ##args); \ args 92 drivers/input/serio/i8042.h #define filter_dbg(filter, data, format, args...) do { } while (0) args 261 drivers/interconnect/core.c unsigned int idx = spec->args[0]; args 2694 drivers/iommu/arm-smmu-v3.c static int arm_smmu_of_xlate(struct device *dev, struct of_phandle_args *args) args 2696 drivers/iommu/arm-smmu-v3.c return iommu_fwspec_add_ids(dev, args->args, 1); args 1515 drivers/iommu/arm-smmu.c static int arm_smmu_of_xlate(struct device *dev, struct of_phandle_args *args) args 1519 drivers/iommu/arm-smmu.c if (args->args_count > 0) args 1520 drivers/iommu/arm-smmu.c fwid |= FIELD_PREP(SMR_ID, args->args[0]); args 1522 drivers/iommu/arm-smmu.c if (args->args_count > 1) args 1523 drivers/iommu/arm-smmu.c fwid |= FIELD_PREP(SMR_MASK, args->args[1]); args 1524 drivers/iommu/arm-smmu.c else if (!of_property_read_u32(args->np, "stream-match-mask", &mask)) args 770 drivers/iommu/ipmmu-vmsa.c struct of_phandle_args *args) args 775 drivers/iommu/ipmmu-vmsa.c ipmmu_pdev = of_find_device_by_node(args->np); args 839 drivers/iommu/ipmmu-vmsa.c iommu_fwspec_add_ids(dev, spec->args, 1); args 627 drivers/iommu/msm_iommu.c if (master->mids[sid] == spec->args[0]) { args 633 drivers/iommu/msm_iommu.c master->mids[master->num_mids++] = spec->args[0]; args 550 drivers/iommu/mtk_iommu.c static int mtk_iommu_of_xlate(struct device *dev, struct of_phandle_args *args) args 555 drivers/iommu/mtk_iommu.c if (args->args_count != 1) { args 557 drivers/iommu/mtk_iommu.c args->args_count); args 563 drivers/iommu/mtk_iommu.c m4updev = of_find_device_by_node(args->np); args 570 drivers/iommu/mtk_iommu.c return iommu_fwspec_add_ids(dev, args->args, 1); args 366 drivers/iommu/mtk_iommu_v1.c struct of_phandle_args *args) args 375 drivers/iommu/mtk_iommu_v1.c if (args->args_count != 1) { args 377 drivers/iommu/mtk_iommu_v1.c args->args_count); args 382 drivers/iommu/mtk_iommu_v1.c ret = iommu_fwspec_init(dev, &args->np->fwnode, &mtk_iommu_ops); args 392 drivers/iommu/mtk_iommu_v1.c m4updev = of_find_device_by_node(args->np); args 399 drivers/iommu/mtk_iommu_v1.c ret = iommu_fwspec_add_ids(dev, args->args, 1); args 431 drivers/iommu/mtk_iommu_v1.c int count = of_phandle_iterator_args(&it, iommu_spec.args, args 593 drivers/iommu/mtk_iommu_v1.c int count = of_phandle_iterator_args(&it, larb_spec.args, args 125 drivers/iommu/of_iommu.c &iommu_spec.np, iommu_spec.args); args 142 drivers/iommu/of_iommu.c iommu_spec.args); args 559 drivers/iommu/qcom_iommu.c static int qcom_iommu_of_xlate(struct device *dev, struct of_phandle_args *args) args 564 drivers/iommu/qcom_iommu.c unsigned asid = args->args[0]; args 566 drivers/iommu/qcom_iommu.c if (args->args_count != 1) { args 569 drivers/iommu/qcom_iommu.c args->np->full_name, args->args_count); args 573 drivers/iommu/qcom_iommu.c iommu_pdev = of_find_device_by_node(args->np); args 1103 drivers/iommu/rockchip-iommu.c struct of_phandle_args *args) args 1112 drivers/iommu/rockchip-iommu.c iommu_dev = of_find_device_by_node(args->np); args 271 drivers/iommu/tegra-gart.c struct of_phandle_args *args) args 466 drivers/iommu/tegra-smmu.c struct of_phandle_args args; args 471 drivers/iommu/tegra-smmu.c &args)) { args 472 drivers/iommu/tegra-smmu.c unsigned int swgroup = args.args[0]; args 474 drivers/iommu/tegra-smmu.c if (args.np != smmu->dev->of_node) { args 475 drivers/iommu/tegra-smmu.c of_node_put(args.np); args 479 drivers/iommu/tegra-smmu.c of_node_put(args.np); args 500 drivers/iommu/tegra-smmu.c struct of_phandle_args args; args 504 drivers/iommu/tegra-smmu.c &args)) { args 505 drivers/iommu/tegra-smmu.c unsigned int swgroup = args.args[0]; args 507 drivers/iommu/tegra-smmu.c if (args.np != smmu->dev->of_node) { args 508 drivers/iommu/tegra-smmu.c of_node_put(args.np); args 512 drivers/iommu/tegra-smmu.c of_node_put(args.np); args 734 drivers/iommu/tegra-smmu.c struct of_phandle_args *args) args 745 drivers/iommu/tegra-smmu.c err = ops->of_xlate(dev, args); args 760 drivers/iommu/tegra-smmu.c struct of_phandle_args args; args 765 drivers/iommu/tegra-smmu.c &args) == 0) { args 766 drivers/iommu/tegra-smmu.c smmu = tegra_smmu_find(args.np); args 768 drivers/iommu/tegra-smmu.c err = tegra_smmu_configure(smmu, dev, &args); args 769 drivers/iommu/tegra-smmu.c of_node_put(args.np); args 786 drivers/iommu/tegra-smmu.c of_node_put(args.np); args 880 drivers/iommu/tegra-smmu.c struct of_phandle_args *args) args 882 drivers/iommu/tegra-smmu.c u32 id = args->args[0]; args 950 drivers/iommu/virtio-iommu.c static int viommu_of_xlate(struct device *dev, struct of_phandle_args *args) args 952 drivers/iommu/virtio-iommu.c return iommu_fwspec_add_ids(dev, args->args, 1); args 147 drivers/irqchip/irq-alpine-msi.c unsigned int nr_irqs, void *args) args 230 drivers/irqchip/irq-armada-370-xp.c unsigned int nr_irqs, void *args) args 66 drivers/irqchip/irq-ath79-cpu.c struct of_phandle_args args; args 77 drivers/irqchip/irq-ath79-cpu.c i, &args); args 81 drivers/irqchip/irq-ath79-cpu.c irq_wb_chan[irq] = args.args[0]; args 177 drivers/irqchip/irq-gic-v2m.c unsigned int nr_irqs, void *args) args 179 drivers/irqchip/irq-gic-v2m.c msi_alloc_info_t *info = args; args 24 drivers/irqchip/irq-gic-v3-its-platform-msi.c struct of_phandle_args args; args 28 drivers/irqchip/irq-gic-v3-its-platform-msi.c index, &args); args 29 drivers/irqchip/irq-gic-v3-its-platform-msi.c if (args.np == irq_domain_get_of_node(domain)) { args 30 drivers/irqchip/irq-gic-v3-its-platform-msi.c if (WARN_ON(args.args_count != 1)) args 32 drivers/irqchip/irq-gic-v3-its-platform-msi.c *dev_id = args.args[0]; args 2579 drivers/irqchip/irq-gic-v3-its.c unsigned int nr_irqs, void *args) args 2581 drivers/irqchip/irq-gic-v3-its.c msi_alloc_info_t *info = args; args 3079 drivers/irqchip/irq-gic-v3-its.c unsigned int nr_irqs, void *args) args 3081 drivers/irqchip/irq-gic-v3-its.c struct its_vm *vm = args; args 85 drivers/irqchip/irq-gic-v3-mbi.c unsigned int nr_irqs, void *args) args 87 drivers/irqchip/irq-gic-v3-mbi.c msi_alloc_info_t *info = args; args 139 drivers/irqchip/irq-ls-scfg-msi.c void *args) args 141 drivers/irqchip/irq-ls-scfg-msi.c msi_alloc_info_t *info = args; args 198 drivers/irqchip/irq-mbigen.c void *args) args 200 drivers/irqchip/irq-mbigen.c struct irq_fwspec *fwspec = args; args 81 drivers/irqchip/irq-mvebu-gicp.c unsigned int nr_irqs, void *args) args 197 drivers/irqchip/irq-mvebu-icu.c unsigned int nr_irqs, void *args) args 201 drivers/irqchip/irq-mvebu-icu.c struct irq_fwspec *fwspec = args; args 79 drivers/irqchip/irq-mvebu-odmi.c unsigned int nr_irqs, void *args) args 250 drivers/irqchip/irq-mvebu-sei.c void *args) args 120 drivers/irqchip/irq-renesas-rza1.c spec.param[i] = priv->map[hwirq].args[i]; args 182 drivers/irqchip/irq-renesas-rza1.c priv->map[i].args[j] = be32_to_cpup(imap++); args 256 drivers/irqchip/irq-sifive-plic.c if (parent.args[0] != IRQ_S_EXT) args 19 drivers/isdn/mISDN/dsp_hwec.c static struct mISDN_dsp_element_arg args[] = { args 29 drivers/isdn/mISDN/dsp_hwec.c .num_args = ARRAY_SIZE(args), args 30 drivers/isdn/mISDN/dsp_hwec.c .args = args, args 49 drivers/isdn/mISDN/dsp_pipeline.c elem->args[i].name, args 50 drivers/isdn/mISDN/dsp_pipeline.c elem->args[i].def ? "Default: " : "", args 51 drivers/isdn/mISDN/dsp_pipeline.c elem->args[i].def ? elem->args[i].def : "", args 52 drivers/isdn/mISDN/dsp_pipeline.c elem->args[i].def ? "\n" : "", args 53 drivers/isdn/mISDN/dsp_pipeline.c elem->args[i].desc); args 59 drivers/isdn/mISDN/dsp_pipeline.c __ATTR(args, 0444, attr_show_args, NULL), args 222 drivers/isdn/mISDN/dsp_pipeline.c char *dup, *tok, *name, *args; args 240 drivers/isdn/mISDN/dsp_pipeline.c args = strsep(&tok, ")"); args 241 drivers/isdn/mISDN/dsp_pipeline.c if (args && !*args) args 242 drivers/isdn/mISDN/dsp_pipeline.c args = NULL; args 263 drivers/isdn/mISDN/dsp_pipeline.c struct dsp, pipeline), args); args 267 drivers/isdn/mISDN/dsp_pipeline.c pipeline_entry->p = elem->new(args); args 274 drivers/isdn/mISDN/dsp_pipeline.c __func__, name, args ? args 275 drivers/isdn/mISDN/dsp_pipeline.c " with args " : "", args ? args 276 drivers/isdn/mISDN/dsp_pipeline.c args : ""); args 20 drivers/leds/led-class-flash.c #define call_flash_op(fled_cdev, op, args...) \ args 22 drivers/leds/led-class-flash.c (fled_cdev->ops->op(fled_cdev, args)) : \ args 47 drivers/leds/leds-blinkm.c u8 args[7]; /* set of args for transmission */ args 357 drivers/leds/leds-blinkm.c data->args[0] = data->next_red; args 358 drivers/leds/leds-blinkm.c data->args[1] = data->next_green; args 359 drivers/leds/leds-blinkm.c data->args[2] = data->next_blue; args 360 drivers/leds/leds-blinkm.c blinkm_write(client, cmd, data->args); args 361 drivers/leds/leds-blinkm.c data->red = data->args[0]; args 362 drivers/leds/leds-blinkm.c data->green = data->args[1]; args 363 drivers/leds/leds-blinkm.c data->blue = data->args[2]; args 367 drivers/leds/leds-blinkm.c data->args[0] = data->next_hue; args 368 drivers/leds/leds-blinkm.c data->args[1] = data->next_saturation; args 369 drivers/leds/leds-blinkm.c data->args[2] = data->next_brightness; args 370 drivers/leds/leds-blinkm.c blinkm_write(client, cmd, data->args); args 376 drivers/leds/leds-blinkm.c data->args[0] = data->script_id; args 377 drivers/leds/leds-blinkm.c data->args[1] = data->script_repeats; args 378 drivers/leds/leds-blinkm.c data->args[2] = data->script_startline; args 379 drivers/leds/leds-blinkm.c blinkm_write(client, cmd, data->args); args 385 drivers/leds/leds-blinkm.c data->args[0] = data->red; args 386 drivers/leds/leds-blinkm.c data->args[1] = data->green; args 387 drivers/leds/leds-blinkm.c data->args[2] = data->blue; args 389 drivers/leds/leds-blinkm.c blinkm_read(client, cmd, data->args); args 390 drivers/leds/leds-blinkm.c data->red = data->args[0]; args 391 drivers/leds/leds-blinkm.c data->green = data->args[1]; args 392 drivers/leds/leds-blinkm.c data->blue = data->args[2]; args 395 drivers/leds/leds-blinkm.c data->args[0] = data->i2c_addr; args 397 drivers/leds/leds-blinkm.c blinkm_read(client, cmd, data->args); args 398 drivers/leds/leds-blinkm.c data->i2c_addr = data->args[0]; args 57 drivers/macintosh/smu.c #define DPRINTK(fmt, args...) do { printk(KERN_DEBUG fmt , ##args); } while (0) args 59 drivers/macintosh/smu.c #define DPRINTK(fmt, args...) do { } while (0) args 47 drivers/macintosh/windfarm_core.c #define DBG(args...) printk(args) args 49 drivers/macintosh/windfarm_core.c #define DBG(args...) do { } while(0) args 28 drivers/macintosh/windfarm_fcu_controls.c #define DBG(args...) printk(args) args 30 drivers/macintosh/windfarm_fcu_controls.c #define DBG(args...) do { } while(0) args 31 drivers/macintosh/windfarm_lm75_sensor.c #define DBG(args...) printk(args) args 33 drivers/macintosh/windfarm_lm75_sensor.c #define DBG(args...) do { } while(0) args 29 drivers/macintosh/windfarm_lm87_sensor.c #define DBG(args...) printk(args) args 31 drivers/macintosh/windfarm_lm87_sensor.c #define DBG(args...) do { } while(0) args 20 drivers/macintosh/windfarm_pid.c #define DBG(args...) printk(args) args 22 drivers/macintosh/windfarm_pid.c #define DBG(args...) do { } while(0) args 27 drivers/macintosh/windfarm_pm112.c #define DBG(args...) printk(args) args 29 drivers/macintosh/windfarm_pm112.c #define DBG(args...) do { } while(0) args 33 drivers/macintosh/windfarm_pm112.c #define DBG_LOTS(args...) printk(args) args 35 drivers/macintosh/windfarm_pm112.c #define DBG_LOTS(args...) do { } while(0) args 27 drivers/macintosh/windfarm_pm72.c #define DBG(args...) printk(args) args 29 drivers/macintosh/windfarm_pm72.c #define DBG(args...) do { } while(0) args 33 drivers/macintosh/windfarm_pm72.c #define DBG_LOTS(args...) printk(args) args 35 drivers/macintosh/windfarm_pm72.c #define DBG_LOTS(args...) do { } while(0) args 119 drivers/macintosh/windfarm_pm81.c #define DBG(args...) printk(args) args 121 drivers/macintosh/windfarm_pm81.c #define DBG(args...) do { } while(0) args 54 drivers/macintosh/windfarm_pm91.c #define DBG(args...) printk(args) args 56 drivers/macintosh/windfarm_pm91.c #define DBG(args...) do { } while(0) args 27 drivers/macintosh/windfarm_rm31.c #define DBG(args...) printk(args) args 29 drivers/macintosh/windfarm_rm31.c #define DBG(args...) do { } while(0) args 33 drivers/macintosh/windfarm_rm31.c #define DBG_LOTS(args...) printk(args) args 35 drivers/macintosh/windfarm_rm31.c #define DBG_LOTS(args...) do { } while(0) args 30 drivers/macintosh/windfarm_smu_controls.c #define DBG(args...) printk(args) args 32 drivers/macintosh/windfarm_smu_controls.c #define DBG(args...) do { } while(0) args 30 drivers/macintosh/windfarm_smu_sensors.c #define DBG(args...) printk(args) args 32 drivers/macintosh/windfarm_smu_sensors.c #define DBG(args...) do { } while(0) args 97 drivers/mailbox/armada-37xx-rwtm-mailbox.c writel(msg->args[i], mbox->base + RWTM_MBOX_PARAM(i)); args 1464 drivers/mailbox/bcm-flexrm-mailbox.c if (pa->args[0] >= cntlr->num_chans) args 1467 drivers/mailbox/bcm-flexrm-mailbox.c if (pa->args[1] > MSI_COUNT_MASK) args 1470 drivers/mailbox/bcm-flexrm-mailbox.c if (pa->args[2] > MSI_TIMER_VAL_MASK) args 1473 drivers/mailbox/bcm-flexrm-mailbox.c chan = &cntlr->chans[pa->args[0]]; args 1475 drivers/mailbox/bcm-flexrm-mailbox.c ring->msi_count_threshold = pa->args[1]; args 1476 drivers/mailbox/bcm-flexrm-mailbox.c ring->msi_timer_val = pa->args[2]; args 217 drivers/mailbox/hi3660-mailbox.c unsigned int ch = spec->args[0]; args 225 drivers/mailbox/hi3660-mailbox.c mchan->dst_irq = spec->args[1]; args 226 drivers/mailbox/hi3660-mailbox.c mchan->ack_irq = spec->args[2]; args 228 drivers/mailbox/hi6220-mailbox.c unsigned int i = spec->args[0]; args 229 drivers/mailbox/hi6220-mailbox.c unsigned int dst_irq = spec->args[1]; args 230 drivers/mailbox/hi6220-mailbox.c unsigned int ack_irq = spec->args[2]; args 255 drivers/mailbox/imx-mailbox.c type = sp->args[0]; /* channel type */ args 256 drivers/mailbox/imx-mailbox.c idx = sp->args[1]; /* index */ args 328 drivers/mailbox/mailbox-sti.c unsigned int instance = spec->args[0]; args 329 drivers/mailbox/mailbox-sti.c unsigned int channel = spec->args[1]; args 462 drivers/mailbox/mailbox.c int ind = sp->args[0]; args 444 drivers/mailbox/mtk-cmdq-mailbox.c int ind = sp->args[0]; args 451 drivers/mailbox/mtk-cmdq-mailbox.c thread->priority = sp->args[1]; args 452 drivers/mailbox/mtk-cmdq-mailbox.c thread->atomic_exec = (sp->args[2] != 0); args 675 drivers/mailbox/omap-mailbox.c phandle phandle = sp->args[0]; args 494 drivers/mailbox/tegra-hsp.c const struct of_phandle_args *args) args 497 drivers/mailbox/tegra-hsp.c unsigned int type = args->args[0], master = args->args[1]; args 533 drivers/mailbox/tegra-hsp.c const struct of_phandle_args *args) args 536 drivers/mailbox/tegra-hsp.c unsigned int type = args->args[0], index; args 539 drivers/mailbox/tegra-hsp.c index = args->args[1] & TEGRA_HSP_SM_MASK; args 547 drivers/mailbox/tegra-hsp.c if ((args->args[1] & TEGRA_HSP_SM_FLAG_TX) == 0) args 543 drivers/mailbox/ti-msgmgr.c req_pid = p->args[0]; args 545 drivers/mailbox/ti-msgmgr.c req_qid = p->args[0]; args 546 drivers/mailbox/ti-msgmgr.c req_pid = p->args[1]; args 411 drivers/mailbox/zynqmp-ipi-mailbox.c chan_type = p->args[0]; args 68 drivers/md/bcache/bset.c va_list args; args 104 drivers/md/bcache/bset.c va_start(args, fmt); args 105 drivers/md/bcache/bset.c vprintk(fmt, args); args 106 drivers/md/bcache/bset.c va_end(args); args 1532 drivers/md/bcache/super.c va_list args; args 1548 drivers/md/bcache/super.c va_start(args, fmt); args 1549 drivers/md/bcache/super.c vprintk(fmt, args); args 1550 drivers/md/bcache/super.c va_end(args); args 1562 drivers/md/dm-clone-target.c const struct dm_arg args = { args 1572 drivers/md/dm-clone-target.c r = dm_read_arg_group(&args, as, &argc, &ti->error); args 1601 drivers/md/dm-clone-target.c const struct dm_arg args = { args 1615 drivers/md/dm-clone-target.c r = dm_read_arg_group(&args, as, &argc, &ti->error); args 329 drivers/md/dm-integrity.c va_list args; args 330 drivers/md/dm-integrity.c va_start(args, msg); args 331 drivers/md/dm-integrity.c vprintk(msg, args); args 332 drivers/md/dm-integrity.c va_end(args); args 112 drivers/md/dm-target.c static int io_err_ctr(struct dm_target *tt, unsigned int argc, char **args) args 682 drivers/md/dm-verity-target.c unsigned args = 0; args 710 drivers/md/dm-verity-target.c args++; args 712 drivers/md/dm-verity-target.c args += DM_VERITY_OPTS_FEC; args 714 drivers/md/dm-verity-target.c args++; args 716 drivers/md/dm-verity-target.c args++; args 718 drivers/md/dm-verity-target.c args += DM_VERITY_ROOT_HASH_VERIFICATION_OPTS; args 719 drivers/md/dm-verity-target.c if (!args) args 721 drivers/md/dm-verity-target.c DMEMIT(" %u", args); args 149 drivers/md/dm-zoned.h #define dmz_dev_info(dev, format, args...) \ args 150 drivers/md/dm-zoned.h DMINFO("(%s): " format, (dev)->name, ## args) args 152 drivers/md/dm-zoned.h #define dmz_dev_err(dev, format, args...) \ args 153 drivers/md/dm-zoned.h DMERR("(%s): " format, (dev)->name, ## args) args 155 drivers/md/dm-zoned.h #define dmz_dev_warn(dev, format, args...) \ args 156 drivers/md/dm-zoned.h DMWARN("(%s): " format, (dev)->name, ## args) args 158 drivers/md/dm-zoned.h #define dmz_dev_debug(dev, format, args...) \ args 159 drivers/md/dm-zoned.h DMDEBUG("(%s): " format, (dev)->name, ## args) args 48 drivers/md/raid1.c #define raid1_log(md, fmt, args...) \ args 49 drivers/md/raid1.c do { if ((md)->queue) blk_add_trace_msg((md)->queue, "raid1 " fmt, ##args); } while (0) args 77 drivers/md/raid10.c #define raid10_log(md, fmt, args...) \ args 78 drivers/md/raid10.c do { if ((md)->queue) blk_add_trace_msg((md)->queue, "raid10 " fmt, ##args); } while (0) args 82 drivers/media/cec/cec-pin-error-inj.c u8 *args; args 151 drivers/media/cec/cec-pin-error-inj.c args = pin->error_inj_args[CEC_ERROR_INJ_OP_ANY]; args 155 drivers/media/cec/cec-pin-error-inj.c args = pin->error_inj_args[op]; args 234 drivers/media/cec/cec-pin-error-inj.c args[arg_idx] = pos; args 17 drivers/media/common/b2c2/flexcop.h #define dprintk(level,args...) \ args 18 drivers/media/common/b2c2/flexcop.h do { if ((b2c2_flexcop_debug & level)) printk(args); } while (0) args 20 drivers/media/common/b2c2/flexcop.h #define dprintk(level,args...) args 23 drivers/media/common/b2c2/flexcop.h #define deb_info(args...) dprintk(0x01, args) args 24 drivers/media/common/b2c2/flexcop.h #define deb_tuner(args...) dprintk(0x02, args) args 25 drivers/media/common/b2c2/flexcop.h #define deb_i2c(args...) dprintk(0x04, args) args 26 drivers/media/common/b2c2/flexcop.h #define deb_ts(args...) dprintk(0x08, args) args 27 drivers/media/common/b2c2/flexcop.h #define deb_sram(args...) dprintk(0x10, args) args 28 drivers/media/common/b2c2/flexcop.h #define deb_rdump(args...) dprintk(0x20, args) args 29 drivers/media/common/b2c2/flexcop.h #define deb_i2c_dump(args...) dprintk(0x40, args) args 1008 drivers/media/common/cx2341x.c u32 cmd, int args, ...) args 1014 drivers/media/common/cx2341x.c va_start(vargs, args); args 1016 drivers/media/common/cx2341x.c for (i = 0; i < args; i++) args 1019 drivers/media/common/cx2341x.c return func(priv, cmd, args, 0, data); args 1301 drivers/media/common/cx2341x.c u32 cmd, int args, ...) args 1307 drivers/media/common/cx2341x.c va_start(vargs, args); args 1309 drivers/media/common/cx2341x.c for (i = 0; i < args; i++) args 1312 drivers/media/common/cx2341x.c return hdl->func(hdl->priv, cmd, args, 0, data); args 58 drivers/media/common/videobuf2/videobuf2-core.c #define call_memop(vb, op, args...) \ args 64 drivers/media/common/videobuf2/videobuf2-core.c err = _q->mem_ops->op ? _q->mem_ops->op(args) : 0; \ args 70 drivers/media/common/videobuf2/videobuf2-core.c #define call_ptr_memop(vb, op, args...) \ args 76 drivers/media/common/videobuf2/videobuf2-core.c ptr = _q->mem_ops->op ? _q->mem_ops->op(args) : NULL; \ args 82 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_memop(vb, op, args...) \ args 88 drivers/media/common/videobuf2/videobuf2-core.c _q->mem_ops->op(args); \ args 96 drivers/media/common/videobuf2/videobuf2-core.c #define call_qop(q, op, args...) \ args 101 drivers/media/common/videobuf2/videobuf2-core.c err = (q)->ops->op ? (q)->ops->op(args) : 0; \ args 107 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_qop(q, op, args...) \ args 111 drivers/media/common/videobuf2/videobuf2-core.c (q)->ops->op(args); \ args 115 drivers/media/common/videobuf2/videobuf2-core.c #define log_vb_qop(vb, op, args...) \ args 120 drivers/media/common/videobuf2/videobuf2-core.c #define call_vb_qop(vb, op, args...) \ args 126 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->ops->op(args) : 0; \ args 132 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_vb_qop(vb, op, args...) \ args 136 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->ops->op(args); \ args 142 drivers/media/common/videobuf2/videobuf2-core.c #define call_memop(vb, op, args...) \ args 144 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->mem_ops->op(args) : 0) args 146 drivers/media/common/videobuf2/videobuf2-core.c #define call_ptr_memop(vb, op, args...) \ args 148 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->mem_ops->op(args) : NULL) args 150 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_memop(vb, op, args...) \ args 153 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->mem_ops->op(args); \ args 156 drivers/media/common/videobuf2/videobuf2-core.c #define call_qop(q, op, args...) \ args 157 drivers/media/common/videobuf2/videobuf2-core.c ((q)->ops->op ? (q)->ops->op(args) : 0) args 159 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_qop(q, op, args...) \ args 162 drivers/media/common/videobuf2/videobuf2-core.c (q)->ops->op(args); \ args 165 drivers/media/common/videobuf2/videobuf2-core.c #define call_vb_qop(vb, op, args...) \ args 166 drivers/media/common/videobuf2/videobuf2-core.c ((vb)->vb2_queue->ops->op ? (vb)->vb2_queue->ops->op(args) : 0) args 168 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_vb_qop(vb, op, args...) \ args 171 drivers/media/common/videobuf2/videobuf2-core.c (vb)->vb2_queue->ops->op(args); \ args 176 drivers/media/common/videobuf2/videobuf2-core.c #define call_bufop(q, op, args...) \ args 180 drivers/media/common/videobuf2/videobuf2-core.c ret = q->buf_ops->op(args); \ args 184 drivers/media/common/videobuf2/videobuf2-core.c #define call_void_bufop(q, op, args...) \ args 187 drivers/media/common/videobuf2/videobuf2-core.c q->buf_ops->op(args); \ args 15 drivers/media/dvb-frontends/atbm8830.c #define dprintk(args...) \ args 18 drivers/media/dvb-frontends/atbm8830.c printk(KERN_DEBUG "atbm8830: " args); \ args 76 drivers/media/dvb-frontends/bcm3510.c #define deb_info(args...) dprintk(0x01,args) args 77 drivers/media/dvb-frontends/bcm3510.c #define deb_i2c(args...) dprintk(0x02,args) args 78 drivers/media/dvb-frontends/bcm3510.c #define deb_hab(args...) dprintk(0x04,args) args 31 drivers/media/dvb-frontends/cx22700.c #define dprintk(args...) \ args 33 drivers/media/dvb-frontends/cx22700.c if (debug) printk(KERN_DEBUG "cx22700: " args); \ args 35 drivers/media/dvb-frontends/cx24110.c #define dprintk(args...) \ args 37 drivers/media/dvb-frontends/cx24110.c if (debug) printk(KERN_DEBUG "cx24110: " args); \ args 20 drivers/media/dvb-frontends/cx24113.c #define cx_info(args...) do { printk(KERN_INFO "CX24113: " args); } while (0) args 21 drivers/media/dvb-frontends/cx24113.c #define cx_err(args...) do { printk(KERN_ERR "CX24113: " args); } while (0) args 23 drivers/media/dvb-frontends/cx24113.c #define dprintk(args...) \ args 27 drivers/media/dvb-frontends/cx24113.c printk(args); \ args 39 drivers/media/dvb-frontends/cx24116.c #define dprintk(args...) \ args 42 drivers/media/dvb-frontends/cx24116.c printk(KERN_INFO "cx24116: " args); \ args 170 drivers/media/dvb-frontends/cx24116.c u8 args[CX24116_ARGLEN]; args 531 drivers/media/dvb-frontends/cx24116.c dprintk("%s: 0x%02x == 0x%02x\n", __func__, i, cmd->args[i]); args 532 drivers/media/dvb-frontends/cx24116.c cx24116_writereg(state, i, cmd->args[i]); args 613 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_SET_VCO; args 614 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = 0x05; args 615 drivers/media/dvb-frontends/cx24116.c cmd.args[0x02] = 0xdc; args 616 drivers/media/dvb-frontends/cx24116.c cmd.args[0x03] = 0xda; args 617 drivers/media/dvb-frontends/cx24116.c cmd.args[0x04] = 0xae; args 618 drivers/media/dvb-frontends/cx24116.c cmd.args[0x05] = 0xaa; args 619 drivers/media/dvb-frontends/cx24116.c cmd.args[0x06] = 0x04; args 620 drivers/media/dvb-frontends/cx24116.c cmd.args[0x07] = 0x9d; args 621 drivers/media/dvb-frontends/cx24116.c cmd.args[0x08] = 0xfc; args 622 drivers/media/dvb-frontends/cx24116.c cmd.args[0x09] = 0x06; args 631 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_TUNERINIT; args 632 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = 0x00; args 633 drivers/media/dvb-frontends/cx24116.c cmd.args[0x02] = 0x00; args 642 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_MPEGCONFIG; args 643 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = 0x01; args 644 drivers/media/dvb-frontends/cx24116.c cmd.args[0x02] = 0x75; args 645 drivers/media/dvb-frontends/cx24116.c cmd.args[0x03] = 0x00; args 647 drivers/media/dvb-frontends/cx24116.c cmd.args[0x04] = state->config->mpg_clk_pos_pol; args 649 drivers/media/dvb-frontends/cx24116.c cmd.args[0x04] = 0x02; args 650 drivers/media/dvb-frontends/cx24116.c cmd.args[0x05] = 0x00; args 657 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_UPDFWVERS; args 660 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = i; args 721 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_GETAGC; args 850 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_LNBDCLEVEL; args 851 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = (voltage == SEC_VOLTAGE_18 ? 0x01 : 0x00); args 881 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_SET_TONE; args 882 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = 0x00; args 883 drivers/media/dvb-frontends/cx24116.c cmd.args[0x02] = 0x00; args 888 drivers/media/dvb-frontends/cx24116.c cmd.args[0x03] = 0x01; args 892 drivers/media/dvb-frontends/cx24116.c cmd.args[0x03] = 0x00; args 911 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_LNBCONFIG; args 912 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = 0x00; args 913 drivers/media/dvb-frontends/cx24116.c cmd.args[0x02] = 0x10; args 914 drivers/media/dvb-frontends/cx24116.c cmd.args[0x03] = 0x00; args 915 drivers/media/dvb-frontends/cx24116.c cmd.args[0x04] = 0x8f; args 916 drivers/media/dvb-frontends/cx24116.c cmd.args[0x05] = 0x28; args 917 drivers/media/dvb-frontends/cx24116.c cmd.args[0x06] = (toneburst == CX24116_DISEQC_TONEOFF) ? 0x00 : 0x01; args 918 drivers/media/dvb-frontends/cx24116.c cmd.args[0x07] = 0x01; args 925 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[0x00] = CMD_LNBSEND; args 928 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_BURST] = CX24116_DISEQC_MINI_A; args 931 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_ARG2_2] = 0x02; args 932 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_ARG3_0] = 0x00; args 934 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_ARG4_0] = 0x00; args 937 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_MSGLEN] = 0x00; args 969 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_MSGOFS + i] = d->msg[i]; args 972 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_MSGLEN] = d->msg_len; args 976 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_MSGLEN]; args 985 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_BURST] = 0; args 1007 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_BURST] = args 1011 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_BURST]); args 1036 drivers/media/dvb-frontends/cx24116.c msleep((state->dsec_cmd.args[CX24116_DISEQC_MSGLEN] << 4) + args 1053 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_BURST] = args 1056 drivers/media/dvb-frontends/cx24116.c state->dsec_cmd.args[CX24116_DISEQC_BURST] = args 1091 drivers/media/dvb-frontends/cx24116.c msleep((state->dsec_cmd.args[CX24116_DISEQC_MSGLEN] << 4) + 60); args 1157 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_TUNERSLEEP; args 1158 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = 0; args 1184 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_TUNERSLEEP; args 1185 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = 1; args 1330 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_BANDWIDTH; args 1331 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = 0x01; args 1338 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_TUNEREQUEST; args 1341 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = (state->dcur.frequency & 0xff0000) >> 16; args 1342 drivers/media/dvb-frontends/cx24116.c cmd.args[0x02] = (state->dcur.frequency & 0x00ff00) >> 8; args 1343 drivers/media/dvb-frontends/cx24116.c cmd.args[0x03] = (state->dcur.frequency & 0x0000ff); args 1346 drivers/media/dvb-frontends/cx24116.c cmd.args[0x04] = ((state->dcur.symbol_rate / 1000) & 0xff00) >> 8; args 1347 drivers/media/dvb-frontends/cx24116.c cmd.args[0x05] = ((state->dcur.symbol_rate / 1000) & 0x00ff); args 1350 drivers/media/dvb-frontends/cx24116.c cmd.args[0x06] = state->dcur.inversion_val; args 1353 drivers/media/dvb-frontends/cx24116.c cmd.args[0x07] = state->dcur.fec_val | state->dcur.pilot_val; args 1355 drivers/media/dvb-frontends/cx24116.c cmd.args[0x08] = CX24116_SEARCH_RANGE_KHZ >> 8; args 1356 drivers/media/dvb-frontends/cx24116.c cmd.args[0x09] = CX24116_SEARCH_RANGE_KHZ & 0xff; args 1357 drivers/media/dvb-frontends/cx24116.c cmd.args[0x0a] = 0x00; args 1358 drivers/media/dvb-frontends/cx24116.c cmd.args[0x0b] = 0x00; args 1359 drivers/media/dvb-frontends/cx24116.c cmd.args[0x0c] = state->dcur.rolloff_val; args 1360 drivers/media/dvb-frontends/cx24116.c cmd.args[0x0d] = state->dcur.fec_mask; args 1363 drivers/media/dvb-frontends/cx24116.c cmd.args[0x0e] = 0x04; args 1364 drivers/media/dvb-frontends/cx24116.c cmd.args[0x0f] = 0x00; args 1365 drivers/media/dvb-frontends/cx24116.c cmd.args[0x10] = 0x01; args 1366 drivers/media/dvb-frontends/cx24116.c cmd.args[0x11] = 0x77; args 1367 drivers/media/dvb-frontends/cx24116.c cmd.args[0x12] = 0x36; args 1371 drivers/media/dvb-frontends/cx24116.c cmd.args[0x0e] = 0x06; args 1372 drivers/media/dvb-frontends/cx24116.c cmd.args[0x0f] = 0x00; args 1373 drivers/media/dvb-frontends/cx24116.c cmd.args[0x10] = 0x00; args 1374 drivers/media/dvb-frontends/cx24116.c cmd.args[0x11] = 0xFA; args 1375 drivers/media/dvb-frontends/cx24116.c cmd.args[0x12] = 0x24; args 1417 drivers/media/dvb-frontends/cx24116.c cmd.args[0x07] ^= CX24116_PILOT_ON; args 1421 drivers/media/dvb-frontends/cx24116.c cmd.args[0x00] = CMD_BANDWIDTH; args 1422 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = 0x00; args 181 drivers/media/dvb-frontends/cx24117.c u8 args[CX24117_ARGLEN]; args 290 drivers/media/dvb-frontends/cx24117.c memcpy(&buf[1], cmd->args, cmd->len); args 633 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_DEMODINIT; args 634 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = 0x00; args 635 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 0x01; args 636 drivers/media/dvb-frontends/cx24117.c cmd.args[3] = 0x00; args 643 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_SET_VCOFREQ; args 644 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = 0x06; args 645 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 0x2b; args 646 drivers/media/dvb-frontends/cx24117.c cmd.args[3] = 0xd8; args 647 drivers/media/dvb-frontends/cx24117.c cmd.args[4] = 0xa5; args 648 drivers/media/dvb-frontends/cx24117.c cmd.args[5] = 0xee; args 649 drivers/media/dvb-frontends/cx24117.c cmd.args[6] = 0x03; args 650 drivers/media/dvb-frontends/cx24117.c cmd.args[7] = 0x9d; args 651 drivers/media/dvb-frontends/cx24117.c cmd.args[8] = 0xfc; args 652 drivers/media/dvb-frontends/cx24117.c cmd.args[9] = 0x06; args 653 drivers/media/dvb-frontends/cx24117.c cmd.args[10] = 0x02; args 654 drivers/media/dvb-frontends/cx24117.c cmd.args[11] = 0x9d; args 655 drivers/media/dvb-frontends/cx24117.c cmd.args[12] = 0xfc; args 662 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_TUNERINIT; args 663 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = 0x00; args 664 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 0x01; args 665 drivers/media/dvb-frontends/cx24117.c cmd.args[3] = 0x00; args 666 drivers/media/dvb-frontends/cx24117.c cmd.args[4] = 0x00; args 667 drivers/media/dvb-frontends/cx24117.c cmd.args[5] = 0x01; args 668 drivers/media/dvb-frontends/cx24117.c cmd.args[6] = 0x01; args 669 drivers/media/dvb-frontends/cx24117.c cmd.args[7] = 0x01; args 670 drivers/media/dvb-frontends/cx24117.c cmd.args[8] = 0x00; args 671 drivers/media/dvb-frontends/cx24117.c cmd.args[9] = 0x05; args 672 drivers/media/dvb-frontends/cx24117.c cmd.args[10] = 0x02; args 673 drivers/media/dvb-frontends/cx24117.c cmd.args[11] = 0x02; args 674 drivers/media/dvb-frontends/cx24117.c cmd.args[12] = 0x00; args 681 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_GLOBAL_MPEGCFG; args 682 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = 0x00; args 683 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 0x00; args 684 drivers/media/dvb-frontends/cx24117.c cmd.args[3] = 0x00; args 685 drivers/media/dvb-frontends/cx24117.c cmd.args[4] = 0x01; args 686 drivers/media/dvb-frontends/cx24117.c cmd.args[5] = 0x00; args 694 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_MPEGCFG; args 695 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = (u8) i; args 696 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 0x00; args 697 drivers/media/dvb-frontends/cx24117.c cmd.args[3] = 0x05; args 698 drivers/media/dvb-frontends/cx24117.c cmd.args[4] = 0x00; args 699 drivers/media/dvb-frontends/cx24117.c cmd.args[5] = 0x00; args 700 drivers/media/dvb-frontends/cx24117.c cmd.args[6] = 0x55; args 701 drivers/media/dvb-frontends/cx24117.c cmd.args[7] = 0x00; args 713 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_FWVERSION; args 716 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = i; args 793 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_GET_AGCACC; args 794 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = (u8) state->demod; args 913 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_SET_GPIOOUT; args 914 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = reg; /* mask */ args 920 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = reg; args 933 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_LNBDCLEVEL; args 934 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = state->demod ? 0 : 1; args 935 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = (voltage == SEC_VOLTAGE_18 ? 0x01 : 0x00); args 943 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = 0x00; args 974 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_LNBPCBCONFIG; args 975 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = (state->demod ? 0 : 1); args 976 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 0x00; args 977 drivers/media/dvb-frontends/cx24117.c cmd.args[3] = 0x00; args 981 drivers/media/dvb-frontends/cx24117.c cmd.args[4] = 0x01; args 984 drivers/media/dvb-frontends/cx24117.c cmd.args[4] = 0x00; args 999 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[0] = CMD_LNBSEND; args 1002 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_DEMOD] = state->demod ? 0 : 1; args 1005 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_BURST] = CX24117_DISEQC_MINI_A; args 1008 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_ARG3_2] = 0x02; args 1009 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_ARG4_0] = 0x00; args 1012 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_ARG5_0] = 0x00; args 1015 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_MSGLEN] = 0x00; args 1043 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_MSGOFS + i] = d->msg[i]; args 1046 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_MSGLEN] = d->msg_len; args 1050 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_MSGLEN]; args 1071 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_BURST] = args 1076 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_BURST]); args 1100 drivers/media/dvb-frontends/cx24117.c msleep((state->dsec_cmd.args[CX24117_DISEQC_MSGLEN] << 4) + 60); args 1116 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_BURST] = args 1119 drivers/media/dvb-frontends/cx24117.c state->dsec_cmd.args[CX24117_DISEQC_BURST] = args 1229 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_SET_SLEEPMODE; args 1230 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = (state->demod ? 1 : 0); args 1231 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 0; args 1242 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_BERCTRL; args 1243 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = (state->demod ? 1 : 0); args 1244 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 0x10; args 1245 drivers/media/dvb-frontends/cx24117.c cmd.args[3] = 0x10; args 1252 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_ENABLERSCORR; args 1253 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = (state->demod ? 1 : 0); args 1254 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = CX24117_OCC; args 1262 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_SET_GPIODIR; args 1263 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = 0x30; args 1264 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 0x30; args 1286 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_SET_SLEEPMODE; args 1287 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = (state->demod ? 1 : 0); args 1288 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = 1; args 1436 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_TUNEREQUEST; args 1439 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = state->demod; args 1442 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = (state->dcur.frequency & 0xff0000) >> 16; args 1443 drivers/media/dvb-frontends/cx24117.c cmd.args[3] = (state->dcur.frequency & 0x00ff00) >> 8; args 1444 drivers/media/dvb-frontends/cx24117.c cmd.args[4] = (state->dcur.frequency & 0x0000ff); args 1447 drivers/media/dvb-frontends/cx24117.c cmd.args[5] = ((state->dcur.symbol_rate / 1000) & 0xff00) >> 8; args 1448 drivers/media/dvb-frontends/cx24117.c cmd.args[6] = ((state->dcur.symbol_rate / 1000) & 0x00ff); args 1451 drivers/media/dvb-frontends/cx24117.c cmd.args[7] = state->dcur.inversion_val; args 1454 drivers/media/dvb-frontends/cx24117.c cmd.args[8] = state->dcur.fec_val | state->dcur.pilot_val; args 1456 drivers/media/dvb-frontends/cx24117.c cmd.args[9] = CX24117_SEARCH_RANGE_KHZ >> 8; args 1457 drivers/media/dvb-frontends/cx24117.c cmd.args[10] = CX24117_SEARCH_RANGE_KHZ & 0xff; args 1459 drivers/media/dvb-frontends/cx24117.c cmd.args[11] = state->dcur.rolloff_val; args 1460 drivers/media/dvb-frontends/cx24117.c cmd.args[12] = state->dcur.fec_mask; args 1473 drivers/media/dvb-frontends/cx24117.c cmd.args[13] = reg_ratediv; args 1474 drivers/media/dvb-frontends/cx24117.c cmd.args[14] = reg_clkdiv; args 1481 drivers/media/dvb-frontends/cx24117.c cmd.args[15] = CX24117_PNE; args 1525 drivers/media/dvb-frontends/cx24117.c cmd.args[11]--; args 1566 drivers/media/dvb-frontends/cx24117.c cmd.args[0] = CMD_GETCTLACC; args 1567 drivers/media/dvb-frontends/cx24117.c cmd.args[1] = (u8) state->demod; args 106 drivers/media/dvb-frontends/cx24120.c #define info(args...) pr_info("cx24120: " args) args 107 drivers/media/dvb-frontends/cx24120.c #define err(args...) pr_err("cx24120: ### ERROR: " args) args 32 drivers/media/dvb-frontends/cx24123.c #define info(args...) do { printk(KERN_INFO "CX24123: " args); } while (0) args 33 drivers/media/dvb-frontends/cx24123.c #define err(args...) do { printk(KERN_ERR "CX24123: " args); } while (0) args 35 drivers/media/dvb-frontends/cx24123.c #define dprintk(args...) \ args 39 drivers/media/dvb-frontends/cx24123.c printk(args); \ args 43 drivers/media/dvb-frontends/dib3000mb.c #define deb_info(args...) dprintk(0x01, args) args 44 drivers/media/dvb-frontends/dib3000mb.c #define deb_i2c(args...) dprintk(0x02, args) args 45 drivers/media/dvb-frontends/dib3000mb.c #define deb_srch(args...) dprintk(0x04, args) args 46 drivers/media/dvb-frontends/dib3000mb.c #define deb_info(args...) dprintk(0x01, args) args 47 drivers/media/dvb-frontends/dib3000mb.c #define deb_xfer(args...) dprintk(0x02, args) args 48 drivers/media/dvb-frontends/dib3000mb.c #define deb_setf(args...) dprintk(0x04, args) args 49 drivers/media/dvb-frontends/dib3000mb.c #define deb_getf(args...) dprintk(0x08, args) args 23 drivers/media/dvb-frontends/ds3000.c #define dprintk(args...) \ args 26 drivers/media/dvb-frontends/ds3000.c printk(args); \ args 27 drivers/media/dvb-frontends/itd1000.c #define itd_dbg(args...) do { \ args 29 drivers/media/dvb-frontends/itd1000.c printk(KERN_DEBUG "ITD1000: " args);\ args 33 drivers/media/dvb-frontends/itd1000.c #define itd_warn(args...) do { \ args 34 drivers/media/dvb-frontends/itd1000.c printk(KERN_WARNING "ITD1000: " args); \ args 37 drivers/media/dvb-frontends/itd1000.c #define itd_info(args...) do { \ args 38 drivers/media/dvb-frontends/itd1000.c printk(KERN_INFO "ITD1000: " args); \ args 16 drivers/media/dvb-frontends/ix2505v.c #define dprintk(level, args...) do { \ args 18 drivers/media/dvb-frontends/ix2505v.c printk(KERN_DEBUG "ix2505v: " args); \ args 21 drivers/media/dvb-frontends/ix2505v.c #define deb_info(args...) dprintk(0x01, args) args 22 drivers/media/dvb-frontends/ix2505v.c #define deb_i2c(args...) dprintk(0x02, args) args 29 drivers/media/dvb-frontends/l64781.c #define dprintk(args...) \ args 31 drivers/media/dvb-frontends/l64781.c if (debug) printk(KERN_DEBUG "l64781: " args); \ args 51 drivers/media/dvb-frontends/lgs8gl5.c #define dprintk(args...) \ args 54 drivers/media/dvb-frontends/lgs8gl5.c printk(KERN_DEBUG "lgs8gl5: " args); \ args 20 drivers/media/dvb-frontends/lgs8gxx.c #define dprintk(args...) \ args 23 drivers/media/dvb-frontends/lgs8gxx.c printk(KERN_DEBUG "lgs8gxx: " args); \ args 42 drivers/media/dvb-frontends/m88rs2000.c #define dprintk(level, args...) do { \ args 44 drivers/media/dvb-frontends/m88rs2000.c printk(KERN_DEBUG "m88rs2000-fe: " args); \ args 47 drivers/media/dvb-frontends/m88rs2000.c #define deb_info(args...) dprintk(0x01, args) args 41 drivers/media/dvb-frontends/mt312.c #define dprintk(args...) \ args 44 drivers/media/dvb-frontends/mt312.c printk(KERN_DEBUG "mt312: " args); \ args 39 drivers/media/dvb-frontends/mt352.c #define dprintk(args...) \ args 41 drivers/media/dvb-frontends/mt352.c if (debug) printk(KERN_DEBUG "mt352: " args); \ args 56 drivers/media/dvb-frontends/nxt200x.c #define dprintk(args...) do { if (debug) pr_debug(args); } while (0) args 35 drivers/media/dvb-frontends/or51132.c #define dprintk(args...) \ args 37 drivers/media/dvb-frontends/or51132.c if (debug) printk(KERN_DEBUG "or51132: " args); \ args 34 drivers/media/dvb-frontends/or51211.c #define dprintk(args...) \ args 35 drivers/media/dvb-frontends/or51211.c do { if (debug) pr_debug(args); } while (0) args 27 drivers/media/dvb-frontends/s921.c #define rc(args...) do { \ args 28 drivers/media/dvb-frontends/s921.c printk(KERN_ERR "s921: " args); \ args 31 drivers/media/dvb-frontends/s921.c #define dprintk(args...) \ args 35 drivers/media/dvb-frontends/s921.c printk(args); \ args 16 drivers/media/dvb-frontends/si2168.c memcpy(cmd->args, buf, wlen); args 32 drivers/media/dvb-frontends/si2168.c ret = i2c_master_send(client, cmd->args, cmd->wlen); args 46 drivers/media/dvb-frontends/si2168.c ret = i2c_master_recv(client, cmd->args, cmd->rlen); args 55 drivers/media/dvb-frontends/si2168.c if ((cmd->args[0] >> 7) & 0x01) args 64 drivers/media/dvb-frontends/si2168.c if ((cmd->args[0] >> 6) & 0x01) { args 69 drivers/media/dvb-frontends/si2168.c if (!((cmd->args[0] >> 7) & 0x01)) { args 102 drivers/media/dvb-frontends/si2168.c cmd.args[4] = SI2168_TS_CLK_MANUAL; args 104 drivers/media/dvb-frontends/si2168.c cmd.args[4] |= dev->ts_mode; args 106 drivers/media/dvb-frontends/si2168.c cmd.args[4] |= SI2168_TS_TRISTATE; args 108 drivers/media/dvb-frontends/si2168.c cmd.args[4] |= 0x40; args 149 drivers/media/dvb-frontends/si2168.c switch ((cmd.args[2] >> 1) & 0x03) { args 164 drivers/media/dvb-frontends/si2168.c c->cnr.stat[0].svalue = cmd.args[3] * 1000 / 4; args 171 drivers/media/dvb-frontends/si2168.c *status, cmd.rlen, cmd.args); args 184 drivers/media/dvb-frontends/si2168.c utmp = clamp(8 - cmd.args[1], 0, 8); args 188 drivers/media/dvb-frontends/si2168.c utmp1 = cmd.args[2] * utmp1; args 193 drivers/media/dvb-frontends/si2168.c utmp1, utmp2, cmd.args[2], cmd.args[1]); args 211 drivers/media/dvb-frontends/si2168.c utmp1 = cmd.args[2] << 8 | cmd.args[1] << 0; args 310 drivers/media/dvb-frontends/si2168.c cmd.args[0] = 0x52; args 311 drivers/media/dvb-frontends/si2168.c cmd.args[1] = c->stream_id & 0xff; args 312 drivers/media/dvb-frontends/si2168.c cmd.args[2] = c->stream_id == NO_STREAM_ID_FILTER ? 0 : 1; args 346 drivers/media/dvb-frontends/si2168.c cmd.args[4] = delivery_system | bandwidth; args 348 drivers/media/dvb-frontends/si2168.c cmd.args[5] |= 1; args 356 drivers/media/dvb-frontends/si2168.c cmd.args[4] = ((c->symbol_rate / 1000) >> 0) & 0xff; args 357 drivers/media/dvb-frontends/si2168.c cmd.args[5] = ((c->symbol_rate / 1000) >> 8) & 0xff; args 369 drivers/media/dvb-frontends/si2168.c cmd.args[5] |= dev->ts_clock_inv ? 0x00 : 0x10; args 375 drivers/media/dvb-frontends/si2168.c cmd.args[5] |= dev->ts_clock_inv ? 0x00 : 0x10; args 518 drivers/media/dvb-frontends/si2168.c dev->version = (cmd.args[9] + '@') << 24 | (cmd.args[6] - '0') << 16 | args 519 drivers/media/dvb-frontends/si2168.c (cmd.args[7] - '0') << 8 | (cmd.args[8]) << 0; args 704 drivers/media/dvb-frontends/si2168.c dev->chip_id = cmd.args[1] << 24 | cmd.args[2] << 16 | args 705 drivers/media/dvb-frontends/si2168.c cmd.args[3] << 8 | cmd.args[4] << 0; args 722 drivers/media/dvb-frontends/si2168.c cmd.args[2], cmd.args[1], cmd.args[3], cmd.args[4]); args 727 drivers/media/dvb-frontends/si2168.c dev->version = (cmd.args[1]) << 24 | (cmd.args[3] - '0') << 16 | args 728 drivers/media/dvb-frontends/si2168.c (cmd.args[4] - '0') << 8 | (cmd.args[5]) << 0; args 48 drivers/media/dvb-frontends/si2168_priv.h u8 args[SI2168_ARGLEN]; args 103 drivers/media/dvb-frontends/si21xx.c #define dprintk(args...) \ args 106 drivers/media/dvb-frontends/si21xx.c printk(KERN_DEBUG "si21xx: " args); \ args 42 drivers/media/dvb-frontends/sp8870.c #define dprintk(args...) \ args 44 drivers/media/dvb-frontends/sp8870.c if (debug) printk(KERN_DEBUG "sp8870: " args); \ args 35 drivers/media/dvb-frontends/sp887x.c #define dprintk(args...) \ args 37 drivers/media/dvb-frontends/sp887x.c if (debug) printk(KERN_DEBUG "sp887x: " args); \ args 18 drivers/media/dvb-frontends/stb6000.c #define dprintk(args...) \ args 21 drivers/media/dvb-frontends/stb6000.c printk(KERN_DEBUG "stb6000: " args); \ args 44 drivers/media/dvb-frontends/stv0288.c #define dprintk(args...) \ args 47 drivers/media/dvb-frontends/stv0288.c printk(KERN_DEBUG "stv0288: " args); \ args 64 drivers/media/dvb-frontends/stv0299.c #define dprintk(args...) \ args 66 drivers/media/dvb-frontends/stv0299.c if (debug) printk(KERN_DEBUG "stv0299: " args); \ args 34 drivers/media/dvb-frontends/stv0367.c #define dprintk(args...) \ args 37 drivers/media/dvb-frontends/stv0367.c printk(KERN_DEBUG args); \ args 34 drivers/media/dvb-frontends/stv0900_priv.h #define dprintk(args...) \ args 37 drivers/media/dvb-frontends/stv0900_priv.h printk(KERN_DEBUG args); \ args 34 drivers/media/dvb-frontends/stv6110.c #define dprintk(args...) \ args 37 drivers/media/dvb-frontends/stv6110.c printk(KERN_DEBUG args); \ args 30 drivers/media/dvb-frontends/tda1004x.c #define dprintk(args...) \ args 32 drivers/media/dvb-frontends/tda1004x.c if (debug) printk(KERN_DEBUG "tda1004x: " args); \ args 54 drivers/media/dvb-frontends/tda10071.c ret = regmap_bulk_write(dev->regmap, 0x00, cmd->args, cmd->len); args 117 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_LNB_PCB_CONFIG; args 118 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 119 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = 0x00; args 120 drivers/media/dvb-frontends/tda10071.c cmd.args[3] = 0x00; args 121 drivers/media/dvb-frontends/tda10071.c cmd.args[4] = tone; args 165 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_LNB_SET_DC_LEVEL; args 166 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 167 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = voltage; args 220 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_LNB_SEND_DISEQC; args 221 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 222 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = 0; args 223 drivers/media/dvb-frontends/tda10071.c cmd.args[3] = 0; args 224 drivers/media/dvb-frontends/tda10071.c cmd.args[4] = 2; args 225 drivers/media/dvb-frontends/tda10071.c cmd.args[5] = 0; args 226 drivers/media/dvb-frontends/tda10071.c cmd.args[6] = diseqc_cmd->msg_len; args 227 drivers/media/dvb-frontends/tda10071.c memcpy(&cmd.args[7], diseqc_cmd->msg, diseqc_cmd->msg_len); args 281 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_LNB_UPDATE_REPLY; args 282 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 349 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_LNB_SEND_TONEBURST; args 350 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 351 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = burst; args 396 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_GET_AGCACC; args 397 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 460 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_BER_UPDATE_COUNTERS; args 461 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 462 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = delivery_system; args 663 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_CHANGE_CHANNEL; args 664 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 665 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = mode; args 666 drivers/media/dvb-frontends/tda10071.c cmd.args[3] = (c->frequency >> 16) & 0xff; args 667 drivers/media/dvb-frontends/tda10071.c cmd.args[4] = (c->frequency >> 8) & 0xff; args 668 drivers/media/dvb-frontends/tda10071.c cmd.args[5] = (c->frequency >> 0) & 0xff; args 669 drivers/media/dvb-frontends/tda10071.c cmd.args[6] = ((c->symbol_rate / 1000) >> 8) & 0xff; args 670 drivers/media/dvb-frontends/tda10071.c cmd.args[7] = ((c->symbol_rate / 1000) >> 0) & 0xff; args 671 drivers/media/dvb-frontends/tda10071.c cmd.args[8] = ((tda10071_ops.info.frequency_tolerance_hz / 1000) >> 8) & 0xff; args 672 drivers/media/dvb-frontends/tda10071.c cmd.args[9] = ((tda10071_ops.info.frequency_tolerance_hz / 1000) >> 0) & 0xff; args 673 drivers/media/dvb-frontends/tda10071.c cmd.args[10] = rolloff; args 674 drivers/media/dvb-frontends/tda10071.c cmd.args[11] = inversion; args 675 drivers/media/dvb-frontends/tda10071.c cmd.args[12] = pilot; args 676 drivers/media/dvb-frontends/tda10071.c cmd.args[13] = 0x00; args 677 drivers/media/dvb-frontends/tda10071.c cmd.args[14] = 0x00; args 828 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_SET_SLEEP_MODE; args 829 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 830 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = 0; args 921 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_GET_FW_VERSION; args 940 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_DEMOD_INIT; args 941 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = ((dev->clk / 1000) >> 8) & 0xff; args 942 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = ((dev->clk / 1000) >> 0) & 0xff; args 943 drivers/media/dvb-frontends/tda10071.c cmd.args[3] = buf[0]; args 944 drivers/media/dvb-frontends/tda10071.c cmd.args[4] = buf[1]; args 945 drivers/media/dvb-frontends/tda10071.c cmd.args[5] = dev->pll_multiplier; args 946 drivers/media/dvb-frontends/tda10071.c cmd.args[6] = dev->spec_inv; args 947 drivers/media/dvb-frontends/tda10071.c cmd.args[7] = 0x00; args 958 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_TUNER_INIT; args 959 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0x00; args 960 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = 0x00; args 961 drivers/media/dvb-frontends/tda10071.c cmd.args[3] = 0x00; args 962 drivers/media/dvb-frontends/tda10071.c cmd.args[4] = 0x00; args 963 drivers/media/dvb-frontends/tda10071.c cmd.args[5] = tmp; args 964 drivers/media/dvb-frontends/tda10071.c cmd.args[6] = 0x00; args 965 drivers/media/dvb-frontends/tda10071.c cmd.args[7] = 0x03; args 966 drivers/media/dvb-frontends/tda10071.c cmd.args[8] = 0x02; args 967 drivers/media/dvb-frontends/tda10071.c cmd.args[9] = 0x02; args 968 drivers/media/dvb-frontends/tda10071.c cmd.args[10] = 0x00; args 969 drivers/media/dvb-frontends/tda10071.c cmd.args[11] = 0x00; args 970 drivers/media/dvb-frontends/tda10071.c cmd.args[12] = 0x00; args 971 drivers/media/dvb-frontends/tda10071.c cmd.args[13] = 0x00; args 972 drivers/media/dvb-frontends/tda10071.c cmd.args[14] = 0x00; args 978 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_MPEG_CONFIG; args 979 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 980 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = dev->ts_mode; args 981 drivers/media/dvb-frontends/tda10071.c cmd.args[3] = 0x00; args 982 drivers/media/dvb-frontends/tda10071.c cmd.args[4] = 0x04; args 983 drivers/media/dvb-frontends/tda10071.c cmd.args[5] = 0x00; args 993 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_LNB_CONFIG; args 994 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 995 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = 150; args 996 drivers/media/dvb-frontends/tda10071.c cmd.args[3] = 3; args 997 drivers/media/dvb-frontends/tda10071.c cmd.args[4] = 22; args 998 drivers/media/dvb-frontends/tda10071.c cmd.args[5] = 1; args 999 drivers/media/dvb-frontends/tda10071.c cmd.args[6] = 1; args 1000 drivers/media/dvb-frontends/tda10071.c cmd.args[7] = 30; args 1001 drivers/media/dvb-frontends/tda10071.c cmd.args[8] = 30; args 1002 drivers/media/dvb-frontends/tda10071.c cmd.args[9] = 30; args 1003 drivers/media/dvb-frontends/tda10071.c cmd.args[10] = 30; args 1009 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_BER_CONTROL; args 1010 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 1011 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = 14; args 1012 drivers/media/dvb-frontends/tda10071.c cmd.args[3] = 14; args 1061 drivers/media/dvb-frontends/tda10071.c cmd.args[0] = CMD_SET_SLEEP_MODE; args 1062 drivers/media/dvb-frontends/tda10071.c cmd.args[1] = 0; args 1063 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = 1; args 101 drivers/media/dvb-frontends/tda10071_priv.h u8 args[TDA10071_ARGLEN]; args 34 drivers/media/dvb-frontends/tda10086.c #define dprintk(args...) \ args 36 drivers/media/dvb-frontends/tda10086.c if (debug) printk(KERN_DEBUG "tda10086: " args); \ args 33 drivers/media/dvb-frontends/tda8083.c #define dprintk(args...) \ args 35 drivers/media/dvb-frontends/tda8083.c if (debug) printk(KERN_DEBUG "tda8083: " args); \ args 18 drivers/media/dvb-frontends/tda826x.c #define dprintk(args...) \ args 20 drivers/media/dvb-frontends/tda826x.c if (debug) printk(KERN_DEBUG "tda826x: " args); \ args 26 drivers/media/dvb-frontends/zl10036.c #define dprintk(level, args...) \ args 27 drivers/media/dvb-frontends/zl10036.c do { if (zl10036_debug & level) printk(KERN_DEBUG "zl10036: " args); \ args 30 drivers/media/dvb-frontends/zl10036.c #define deb_info(args...) dprintk(0x01, args) args 31 drivers/media/dvb-frontends/zl10036.c #define deb_i2c(args...) dprintk(0x02, args) args 22 drivers/media/dvb-frontends/zl10039.c #define dprintk(args...) \ args 25 drivers/media/dvb-frontends/zl10039.c printk(KERN_DEBUG args); \ args 32 drivers/media/dvb-frontends/zl10353.c #define dprintk(args...) \ args 34 drivers/media/dvb-frontends/zl10353.c if (debug) printk(KERN_DEBUG "zl10353: " args); \ args 21 drivers/media/pci/b2c2/flexcop-pci.c #define dprintk(level,args...) \ args 22 drivers/media/pci/b2c2/flexcop-pci.c do { if ((debug & level)) printk(args); } while (0) args 25 drivers/media/pci/b2c2/flexcop-pci.c #define dprintk(level,args...) args 29 drivers/media/pci/b2c2/flexcop-pci.c #define deb_info(args...) dprintk(0x01, args) args 30 drivers/media/pci/b2c2/flexcop-pci.c #define deb_reg(args...) dprintk(0x02, args) args 31 drivers/media/pci/b2c2/flexcop-pci.c #define deb_ts(args...) dprintk(0x04, args) args 32 drivers/media/pci/b2c2/flexcop-pci.c #define deb_irq(args...) dprintk(0x08, args) args 33 drivers/media/pci/b2c2/flexcop-pci.c #define deb_chk(args...) dprintk(0x10, args) args 365 drivers/media/pci/bt8xx/bttv.h #define bttv_call_all(btv, o, f, args...) \ args 366 drivers/media/pci/bt8xx/bttv.h v4l2_device_call_all(&btv->c.v4l2_dev, 0, o, f, ##args) args 368 drivers/media/pci/bt8xx/bttv.h #define bttv_call_all_err(btv, o, f, args...) \ args 369 drivers/media/pci/bt8xx/bttv.h v4l2_device_call_until_err(&btv->c.v4l2_dev, 0, o, f, ##args) args 40 drivers/media/pci/cx18/cx18-alsa.h #define CX18_ALSA_DEBUG(x, type, fmt, args...) \ args 44 drivers/media/pci/cx18/cx18-alsa.h v4l2_dev->name , ## args); \ args 47 drivers/media/pci/cx18/cx18-alsa.h #define CX18_ALSA_DEBUG_WARN(fmt, args...) \ args 48 drivers/media/pci/cx18/cx18-alsa.h CX18_ALSA_DEBUG(CX18_ALSA_DBGFLG_WARN, "warning", fmt , ## args) args 50 drivers/media/pci/cx18/cx18-alsa.h #define CX18_ALSA_DEBUG_INFO(fmt, args...) \ args 51 drivers/media/pci/cx18/cx18-alsa.h CX18_ALSA_DEBUG(CX18_ALSA_DBGFLG_INFO, "info", fmt , ## args) args 53 drivers/media/pci/cx18/cx18-alsa.h #define CX18_ALSA_ERR(fmt, args...) \ args 54 drivers/media/pci/cx18/cx18-alsa.h printk(KERN_ERR "%s-alsa: " fmt, v4l2_dev->name , ## args) args 56 drivers/media/pci/cx18/cx18-alsa.h #define CX18_ALSA_WARN(fmt, args...) \ args 57 drivers/media/pci/cx18/cx18-alsa.h printk(KERN_WARNING "%s-alsa: " fmt, v4l2_dev->name , ## args) args 59 drivers/media/pci/cx18/cx18-alsa.h #define CX18_ALSA_INFO(fmt, args...) \ args 60 drivers/media/pci/cx18/cx18-alsa.h printk(KERN_INFO "%s-alsa: " fmt, v4l2_dev->name , ## args) args 159 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG(x, type, fmt, args...) \ args 162 drivers/media/pci/cx18/cx18-driver.h v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ args 164 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_WARN(fmt, args...) CX18_DEBUG(CX18_DBGFLG_WARN, "warning", fmt , ## args) args 165 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_INFO(fmt, args...) CX18_DEBUG(CX18_DBGFLG_INFO, "info", fmt , ## args) args 166 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_API(fmt, args...) CX18_DEBUG(CX18_DBGFLG_API, "api", fmt , ## args) args 167 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_DMA(fmt, args...) CX18_DEBUG(CX18_DBGFLG_DMA, "dma", fmt , ## args) args 168 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_IOCTL(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IOCTL, "ioctl", fmt , ## args) args 169 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_FILE(fmt, args...) CX18_DEBUG(CX18_DBGFLG_FILE, "file", fmt , ## args) args 170 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_I2C(fmt, args...) CX18_DEBUG(CX18_DBGFLG_I2C, "i2c", fmt , ## args) args 171 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_IRQ(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IRQ, "irq", fmt , ## args) args 173 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HIGH_VOL(x, type, fmt, args...) \ args 176 drivers/media/pci/cx18/cx18-driver.h v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ args 178 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_WARN(fmt, args...) CX18_DEBUG_HIGH_VOL(CX18_DBGFLG_WARN, "warning", fmt , ## args) args 179 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_INFO(fmt, args...) CX18_DEBUG_HIGH_VOL(CX18_DBGFLG_INFO, "info", fmt , ## args) args 180 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_API(fmt, args...) CX18_DEBUG_HIGH_VOL(CX18_DBGFLG_API, "api", fmt , ## args) args 181 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_DMA(fmt, args...) CX18_DEBUG_HIGH_VOL(CX18_DBGFLG_DMA, "dma", fmt , ## args) args 182 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_IOCTL(fmt, args...) CX18_DEBUG_HIGH_VOL(CX18_DBGFLG_IOCTL, "ioctl", fmt , ## args) args 183 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_FILE(fmt, args...) CX18_DEBUG_HIGH_VOL(CX18_DBGFLG_FILE, "file", fmt , ## args) args 184 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_I2C(fmt, args...) CX18_DEBUG_HIGH_VOL(CX18_DBGFLG_I2C, "i2c", fmt , ## args) args 185 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_IRQ(fmt, args...) CX18_DEBUG_HIGH_VOL(CX18_DBGFLG_IRQ, "irq", fmt , ## args) args 188 drivers/media/pci/cx18/cx18-driver.h #define CX18_ERR(fmt, args...) v4l2_err(&cx->v4l2_dev, fmt , ## args) args 189 drivers/media/pci/cx18/cx18-driver.h #define CX18_WARN(fmt, args...) v4l2_warn(&cx->v4l2_dev, fmt , ## args) args 190 drivers/media/pci/cx18/cx18-driver.h #define CX18_INFO(fmt, args...) v4l2_info(&cx->v4l2_dev, fmt , ## args) args 193 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_DEV(x, dev, type, fmt, args...) \ args 196 drivers/media/pci/cx18/cx18-driver.h v4l2_info(dev, " " type ": " fmt , ## args); \ args 198 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_WARN_DEV(dev, fmt, args...) \ args 199 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_DEV(CX18_DBGFLG_WARN, dev, "warning", fmt , ## args) args 200 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_INFO_DEV(dev, fmt, args...) \ args 201 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_DEV(CX18_DBGFLG_INFO, dev, "info", fmt , ## args) args 202 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_API_DEV(dev, fmt, args...) \ args 203 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_DEV(CX18_DBGFLG_API, dev, "api", fmt , ## args) args 204 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_DMA_DEV(dev, fmt, args...) \ args 205 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_DEV(CX18_DBGFLG_DMA, dev, "dma", fmt , ## args) args 206 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_IOCTL_DEV(dev, fmt, args...) \ args 207 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_DEV(CX18_DBGFLG_IOCTL, dev, "ioctl", fmt , ## args) args 208 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_FILE_DEV(dev, fmt, args...) \ args 209 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_DEV(CX18_DBGFLG_FILE, dev, "file", fmt , ## args) args 210 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_I2C_DEV(dev, fmt, args...) \ args 211 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_DEV(CX18_DBGFLG_I2C, dev, "i2c", fmt , ## args) args 212 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_IRQ_DEV(dev, fmt, args...) \ args 213 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_DEV(CX18_DBGFLG_IRQ, dev, "irq", fmt , ## args) args 215 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HIGH_VOL_DEV(x, dev, type, fmt, args...) \ args 218 drivers/media/pci/cx18/cx18-driver.h v4l2_info(dev, " " type ": " fmt , ## args); \ args 220 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_WARN_DEV(dev, fmt, args...) \ args 221 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_HIGH_VOL_DEV(CX18_DBGFLG_WARN, dev, "warning", fmt , ## args) args 222 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_INFO_DEV(dev, fmt, args...) \ args 223 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_HIGH_VOL_DEV(CX18_DBGFLG_INFO, dev, "info", fmt , ## args) args 224 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_API_DEV(dev, fmt, args...) \ args 225 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_HIGH_VOL_DEV(CX18_DBGFLG_API, dev, "api", fmt , ## args) args 226 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_DMA_DEV(dev, fmt, args...) \ args 227 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_HIGH_VOL_DEV(CX18_DBGFLG_DMA, dev, "dma", fmt , ## args) args 228 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_IOCTL_DEV(dev, fmt, args...) \ args 229 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_HIGH_VOL_DEV(CX18_DBGFLG_IOCTL, dev, "ioctl", fmt , ## args) args 230 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_FILE_DEV(dev, fmt, args...) \ args 231 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_HIGH_VOL_DEV(CX18_DBGFLG_FILE, dev, "file", fmt , ## args) args 232 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_I2C_DEV(dev, fmt, args...) \ args 233 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_HIGH_VOL_DEV(CX18_DBGFLG_I2C, dev, "i2c", fmt , ## args) args 234 drivers/media/pci/cx18/cx18-driver.h #define CX18_DEBUG_HI_IRQ_DEV(dev, fmt, args...) \ args 235 drivers/media/pci/cx18/cx18-driver.h CX18_DEBUG_HIGH_VOL_DEV(CX18_DBGFLG_IRQ, dev, "irq", fmt , ## args) args 237 drivers/media/pci/cx18/cx18-driver.h #define CX18_ERR_DEV(dev, fmt, args...) v4l2_err(dev, fmt , ## args) args 238 drivers/media/pci/cx18/cx18-driver.h #define CX18_WARN_DEV(dev, fmt, args...) v4l2_warn(dev, fmt , ## args) args 239 drivers/media/pci/cx18/cx18-driver.h #define CX18_INFO_DEV(dev, fmt, args...) v4l2_info(dev, fmt , ## args) args 695 drivers/media/pci/cx18/cx18-driver.h #define cx18_call_hw(cx, hw, o, f, args...) \ args 696 drivers/media/pci/cx18/cx18-driver.h v4l2_device_mask_call_all(&(cx)->v4l2_dev, hw, o, f, ##args) args 698 drivers/media/pci/cx18/cx18-driver.h #define cx18_call_all(cx, o, f, args...) cx18_call_hw(cx, 0, o, f , ##args) args 703 drivers/media/pci/cx18/cx18-driver.h #define cx18_call_hw_err(cx, hw, o, f, args...) \ args 704 drivers/media/pci/cx18/cx18-driver.h v4l2_device_mask_call_until_err(&(cx)->v4l2_dev, hw, o, f, ##args) args 706 drivers/media/pci/cx18/cx18-driver.h #define cx18_call_all_err(cx, o, f, args...) \ args 707 drivers/media/pci/cx18/cx18-driver.h cx18_call_hw_err(cx, 0, o, f , ##args) args 114 drivers/media/pci/cx18/cx18-mailbox.c u32arr2hex(mb->args, MAX_MB_ARGUMENTS, argstr)); args 240 drivers/media/pci/cx18/cx18-mailbox.c handle = mb->args[0]; args 251 drivers/media/pci/cx18/cx18-mailbox.c mdl_ack_count = mb->args[2]; args 328 drivers/media/pci/cx18/cx18-mailbox.c CX18_DEBUG_INFO("%x %s\n", order->mb.args[0], str); args 423 drivers/media/pci/cx18/cx18-mailbox.c handle = mb->args[0]; args 424 drivers/media/pci/cx18/cx18-mailbox.c mdl_ack_offset = mb->args[1]; args 425 drivers/media/pci/cx18/cx18-mailbox.c mdl_ack_count = mb->args[2]; args 450 drivers/media/pci/cx18/cx18-mailbox.c str_offset = order->mb.args[1]; args 580 drivers/media/pci/cx18/cx18-mailbox.c static int cx18_api_call(struct cx18 *cx, u32 cmd, int args, u32 data[]) args 602 drivers/media/pci/cx18/cx18-mailbox.c u32arr2hex(data, args, argstr)); args 606 drivers/media/pci/cx18/cx18-mailbox.c u32arr2hex(data, args, argstr)); args 656 drivers/media/pci/cx18/cx18-mailbox.c for (i = 0; i < args; i++) args 657 drivers/media/pci/cx18/cx18-mailbox.c cx18_writel(cx, data[i], &mb->args[i]); args 710 drivers/media/pci/cx18/cx18-mailbox.c data[i] = cx18_readl(cx, &mb->args[i]); args 728 drivers/media/pci/cx18/cx18-mailbox.c int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]) args 730 drivers/media/pci/cx18/cx18-mailbox.c return cx18_api_call(cx, cmd, args, data); args 814 drivers/media/pci/cx18/cx18-mailbox.c u32 cmd, int args, ...) args 819 drivers/media/pci/cx18/cx18-mailbox.c va_start(ap, args); args 820 drivers/media/pci/cx18/cx18-mailbox.c for (i = 0; i < args; i++) args 823 drivers/media/pci/cx18/cx18-mailbox.c return cx18_api(cx, cmd, args, data); args 826 drivers/media/pci/cx18/cx18-mailbox.c int cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...) args 836 drivers/media/pci/cx18/cx18-mailbox.c if (args > MAX_MB_ARGUMENTS) { args 838 drivers/media/pci/cx18/cx18-mailbox.c args = MAX_MB_ARGUMENTS; args 840 drivers/media/pci/cx18/cx18-mailbox.c va_start(ap, args); args 841 drivers/media/pci/cx18/cx18-mailbox.c for (i = 0; i < args; i++) args 844 drivers/media/pci/cx18/cx18-mailbox.c return cx18_api(cx, cmd, args, data); args 56 drivers/media/pci/cx18/cx18-mailbox.h u32 args[MAX_MB_ARGUMENTS]; args 70 drivers/media/pci/cx18/cx18-mailbox.h int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]); args 72 drivers/media/pci/cx18/cx18-mailbox.h int args, ...); args 73 drivers/media/pci/cx18/cx18-mailbox.h int cx18_vapi(struct cx18 *cx, u32 cmd, int args, ...); args 80 drivers/media/pci/cx23885/altera-ci.c #define ci_dbg_print(fmt, args...) \ args 84 drivers/media/pci/cx23885/altera-ci.c __func__, ##args); \ args 87 drivers/media/pci/cx23885/altera-ci.c #define pid_dbg_print(fmt, args...) \ args 91 drivers/media/pci/cx23885/altera-ci.c __func__, ##args); \ args 58 drivers/media/pci/cx23885/cimax2.c #define ci_dbg_print(fmt, args...) \ args 62 drivers/media/pci/cx23885/cimax2.c __func__, ##args); \ args 453 drivers/media/pci/cx23885/cx23885.h #define call_all(dev, o, f, args...) \ args 454 drivers/media/pci/cx23885/cx23885.h v4l2_device_call_all(&dev->v4l2_dev, 0, o, f, ##args) args 459 drivers/media/pci/cx23885/cx23885.h #define call_hw(dev, grpid, o, f, args...) \ args 460 drivers/media/pci/cx23885/cx23885.h v4l2_device_call_all(&dev->v4l2_dev, grpid, o, f, ##args) args 364 drivers/media/pci/cx25821/cx25821.h #define CX25821_ERR(fmt, args...) \ args 365 drivers/media/pci/cx25821/cx25821.h pr_err("(%d): " fmt, dev->board, ##args) args 366 drivers/media/pci/cx25821/cx25821.h #define CX25821_WARN(fmt, args...) \ args 367 drivers/media/pci/cx25821/cx25821.h pr_warn("(%d): " fmt, dev->board, ##args) args 368 drivers/media/pci/cx25821/cx25821.h #define CX25821_INFO(fmt, args...) \ args 369 drivers/media/pci/cx25821/cx25821.h pr_info("(%d): " fmt, dev->board, ##args) args 416 drivers/media/pci/cx88/cx88.h #define call_hw(core, grpid, o, f, args...) \ args 422 drivers/media/pci/cx88/cx88.h grpid, o, f, ##args); \ args 428 drivers/media/pci/cx88/cx88.h #define call_all(core, o, f, args...) call_hw(core, 0, o, f, ##args) args 41 drivers/media/pci/ivtv/ivtv-alsa.h #define IVTV_ALSA_DEBUG(x, type, fmt, args...) \ args 45 drivers/media/pci/ivtv/ivtv-alsa.h v4l2_dev->name , ## args); \ args 48 drivers/media/pci/ivtv/ivtv-alsa.h #define IVTV_ALSA_DEBUG_WARN(fmt, args...) \ args 49 drivers/media/pci/ivtv/ivtv-alsa.h IVTV_ALSA_DEBUG(IVTV_ALSA_DBGFLG_WARN, "warning", fmt , ## args) args 51 drivers/media/pci/ivtv/ivtv-alsa.h #define IVTV_ALSA_DEBUG_INFO(fmt, args...) \ args 52 drivers/media/pci/ivtv/ivtv-alsa.h IVTV_ALSA_DEBUG(IVTV_ALSA_DBGFLG_INFO, "info", fmt , ## args) args 54 drivers/media/pci/ivtv/ivtv-alsa.h #define IVTV_ALSA_ERR(fmt, args...) \ args 55 drivers/media/pci/ivtv/ivtv-alsa.h pr_err("%s-alsa: " fmt, v4l2_dev->name , ## args) args 57 drivers/media/pci/ivtv/ivtv-alsa.h #define IVTV_ALSA_WARN(fmt, args...) \ args 58 drivers/media/pci/ivtv/ivtv-alsa.h pr_warn("%s-alsa: " fmt, v4l2_dev->name , ## args) args 60 drivers/media/pci/ivtv/ivtv-alsa.h #define IVTV_ALSA_INFO(fmt, args...) \ args 61 drivers/media/pci/ivtv/ivtv-alsa.h pr_info("%s-alsa: " fmt, v4l2_dev->name , ## args) args 143 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG(x, type, fmt, args...) \ args 146 drivers/media/pci/ivtv/ivtv-driver.h v4l2_info(&itv->v4l2_dev, " " type ": " fmt , ##args); \ args 148 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_WARN(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_WARN, "warn", fmt , ## args) args 149 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_INFO(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_INFO, "info", fmt , ## args) args 150 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_MB(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_MB, "mb", fmt , ## args) args 151 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_DMA(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_DMA, "dma", fmt , ## args) args 152 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_IOCTL(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_IOCTL, "ioctl", fmt , ## args) args 153 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_FILE(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_FILE, "file", fmt , ## args) args 154 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_I2C(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_I2C, "i2c", fmt , ## args) args 155 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_IRQ(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_IRQ, "irq", fmt , ## args) args 156 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_DEC(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_DEC, "dec", fmt , ## args) args 157 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_YUV(fmt, args...) IVTV_DEBUG(IVTV_DBGFLG_YUV, "yuv", fmt , ## args) args 159 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HIGH_VOL(x, type, fmt, args...) \ args 162 drivers/media/pci/ivtv/ivtv-driver.h v4l2_info(&itv->v4l2_dev, " " type ": " fmt , ##args); \ args 164 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_WARN(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_WARN, "warn", fmt , ## args) args 165 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_INFO(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_INFO, "info", fmt , ## args) args 166 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_MB(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_MB, "mb", fmt , ## args) args 167 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_DMA(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_DMA, "dma", fmt , ## args) args 168 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_IOCTL(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_IOCTL, "ioctl", fmt , ## args) args 169 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_FILE(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_FILE, "file", fmt , ## args) args 170 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_I2C(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_I2C, "i2c", fmt , ## args) args 171 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_IRQ(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_IRQ, "irq", fmt , ## args) args 172 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_DEC(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_DEC, "dec", fmt , ## args) args 173 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_DEBUG_HI_YUV(fmt, args...) IVTV_DEBUG_HIGH_VOL(IVTV_DBGFLG_YUV, "yuv", fmt , ## args) args 176 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_ERR(fmt, args...) v4l2_err(&itv->v4l2_dev, fmt , ## args) args 177 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_WARN(fmt, args...) v4l2_warn(&itv->v4l2_dev, fmt , ## args) args 178 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_INFO(fmt, args...) v4l2_info(&itv->v4l2_dev, fmt , ## args) args 831 drivers/media/pci/ivtv/ivtv-driver.h #define ivtv_call_hw(itv, hw, o, f, args...) \ args 832 drivers/media/pci/ivtv/ivtv-driver.h v4l2_device_mask_call_all(&(itv)->v4l2_dev, hw, o, f, ##args) args 834 drivers/media/pci/ivtv/ivtv-driver.h #define ivtv_call_all(itv, o, f, args...) ivtv_call_hw(itv, 0, o, f , ##args) args 839 drivers/media/pci/ivtv/ivtv-driver.h #define ivtv_call_hw_err(itv, hw, o, f, args...) \ args 840 drivers/media/pci/ivtv/ivtv-driver.h v4l2_device_mask_call_until_err(&(itv)->v4l2_dev, hw, o, f, ##args) args 842 drivers/media/pci/ivtv/ivtv-driver.h #define ivtv_call_all_err(itv, o, f, args...) ivtv_call_hw_err(itv, 0, o, f , ##args) args 1642 drivers/media/pci/ivtv/ivtv-ioctl.c struct ivtv_dma_frame *args = arg; args 1647 drivers/media/pci/ivtv/ivtv-ioctl.c if (args->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) args 1649 drivers/media/pci/ivtv/ivtv-ioctl.c if (itv->output_mode == OUT_UDMA_YUV && args->y_source == NULL) args 1660 drivers/media/pci/ivtv/ivtv-ioctl.c if (args->y_source == NULL) args 1662 drivers/media/pci/ivtv/ivtv-ioctl.c return ivtv_yuv_prep_frame(itv, args); args 175 drivers/media/pci/ivtv/ivtv-mailbox.c static void write_mailbox(volatile struct ivtv_mailbox __iomem *mbox, int cmd, int args, u32 data[]) args 200 drivers/media/pci/ivtv/ivtv-mailbox.c static int ivtv_api_call(struct ivtv *itv, int cmd, int args, u32 data[]) args 213 drivers/media/pci/ivtv/ivtv-mailbox.c if (args < 0 || args > CX2341X_MBOX_MAX_DATA || args 215 drivers/media/pci/ivtv/ivtv-mailbox.c IVTV_ERR("Invalid MB call: cmd = 0x%02x, args = %d\n", cmd, args); args 227 drivers/media/pci/ivtv/ivtv-mailbox.c for (i = args; i < CX2341X_MBOX_MAX_DATA; i++) args 248 drivers/media/pci/ivtv/ivtv-mailbox.c write_mailbox(&mbdata->mbox[mb], cmd, args, data); args 270 drivers/media/pci/ivtv/ivtv-mailbox.c write_mailbox(mbox, cmd, args, data); args 315 drivers/media/pci/ivtv/ivtv-mailbox.c int ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]) args 317 drivers/media/pci/ivtv/ivtv-mailbox.c int res = ivtv_api_call(itv, cmd, args, data); args 322 drivers/media/pci/ivtv/ivtv-mailbox.c return (res == -EBUSY) ? ivtv_api_call(itv, cmd, args, data) : res; args 330 drivers/media/pci/ivtv/ivtv-mailbox.c int ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...) args 335 drivers/media/pci/ivtv/ivtv-mailbox.c va_start(ap, args); args 336 drivers/media/pci/ivtv/ivtv-mailbox.c for (i = 0; i < args; i++) { args 340 drivers/media/pci/ivtv/ivtv-mailbox.c return ivtv_api(itv, cmd, args, data); args 343 drivers/media/pci/ivtv/ivtv-mailbox.c int ivtv_vapi(struct ivtv *itv, int cmd, int args, ...) args 349 drivers/media/pci/ivtv/ivtv-mailbox.c va_start(ap, args); args 350 drivers/media/pci/ivtv/ivtv-mailbox.c for (i = 0; i < args; i++) { args 354 drivers/media/pci/ivtv/ivtv-mailbox.c return ivtv_api(itv, cmd, args, data); args 17 drivers/media/pci/ivtv/ivtv-mailbox.h int ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]); args 18 drivers/media/pci/ivtv/ivtv-mailbox.h int ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...); args 19 drivers/media/pci/ivtv/ivtv-mailbox.h int ivtv_vapi(struct ivtv *itv, int cmd, int args, ...); args 26 drivers/media/pci/ivtv/ivtv-yuv.c struct ivtv_dma_frame *args) args 62 drivers/media/pci/ivtv/ivtv-yuv.c ivtv_udma_get_page_info (&y_dma, (unsigned long)args->y_source, 720 * y_decode_height); args 63 drivers/media/pci/ivtv/ivtv-yuv.c ivtv_udma_get_page_info (&uv_dma, (unsigned long)args->uv_source, 360 * uv_decode_height); args 965 drivers/media/pci/ivtv/ivtv-yuv.c static void ivtv_yuv_setup_frame(struct ivtv *itv, struct ivtv_dma_frame *args) args 978 drivers/media/pci/ivtv/ivtv-yuv.c nf->src_x = args->src.left; args 979 drivers/media/pci/ivtv/ivtv-yuv.c nf->src_y = args->src.top; args 980 drivers/media/pci/ivtv/ivtv-yuv.c nf->src_w = args->src.width; args 981 drivers/media/pci/ivtv/ivtv-yuv.c nf->src_h = args->src.height; args 982 drivers/media/pci/ivtv/ivtv-yuv.c nf->dst_x = args->dst.left; args 983 drivers/media/pci/ivtv/ivtv-yuv.c nf->dst_y = args->dst.top; args 984 drivers/media/pci/ivtv/ivtv-yuv.c nf->dst_w = args->dst.width; args 985 drivers/media/pci/ivtv/ivtv-yuv.c nf->dst_h = args->dst.height; args 986 drivers/media/pci/ivtv/ivtv-yuv.c nf->tru_x = args->dst.left; args 987 drivers/media/pci/ivtv/ivtv-yuv.c nf->tru_w = args->src_width; args 988 drivers/media/pci/ivtv/ivtv-yuv.c nf->tru_h = args->src_height; args 1064 drivers/media/pci/ivtv/ivtv-yuv.c static int ivtv_yuv_udma_frame(struct ivtv *itv, struct ivtv_dma_frame *args) args 1072 drivers/media/pci/ivtv/ivtv-yuv.c if ((rc = ivtv_yuv_prep_user_dma(itv, &itv->udma, args)) != 0) { args 1156 drivers/media/pci/ivtv/ivtv-yuv.c int ivtv_yuv_prep_frame(struct ivtv *itv, struct ivtv_dma_frame *args) args 1162 drivers/media/pci/ivtv/ivtv-yuv.c ivtv_yuv_setup_frame(itv, args); args 1167 drivers/media/pci/ivtv/ivtv-yuv.c res = ivtv_yuv_udma_frame(itv, args); args 28 drivers/media/pci/ivtv/ivtv-yuv.h int ivtv_yuv_prep_frame(struct ivtv *itv, struct ivtv_dma_frame *args); args 114 drivers/media/pci/ivtv/ivtvfb.c #define IVTVFB_DEBUG(x, type, fmt, args...) \ args 117 drivers/media/pci/ivtv/ivtvfb.c printk(KERN_INFO "ivtvfb%d " type ": " fmt, itv->instance , ## args); \ args 119 drivers/media/pci/ivtv/ivtvfb.c #define IVTVFB_DEBUG_WARN(fmt, args...) IVTVFB_DEBUG(IVTVFB_DBGFLG_WARN, "warning", fmt , ## args) args 120 drivers/media/pci/ivtv/ivtvfb.c #define IVTVFB_DEBUG_INFO(fmt, args...) IVTVFB_DEBUG(IVTVFB_DBGFLG_INFO, "info", fmt , ## args) args 123 drivers/media/pci/ivtv/ivtvfb.c #define IVTVFB_ERR(fmt, args...) printk(KERN_ERR "ivtvfb%d: " fmt, itv->instance , ## args) args 124 drivers/media/pci/ivtv/ivtvfb.c #define IVTVFB_WARN(fmt, args...) printk(KERN_WARNING "ivtvfb%d: " fmt, itv->instance , ## args) args 125 drivers/media/pci/ivtv/ivtvfb.c #define IVTVFB_INFO(fmt, args...) printk(KERN_INFO "ivtvfb%d: " fmt, itv->instance , ## args) args 482 drivers/media/pci/ivtv/ivtvfb.c struct ivtvfb_dma_frame args; args 485 drivers/media/pci/ivtv/ivtvfb.c if (copy_from_user(&args, (void __user *)arg, sizeof(args))) args 488 drivers/media/pci/ivtv/ivtvfb.c return ivtvfb_prep_frame(itv, cmd, args.source, args.dest_offset, args.count); args 715 drivers/media/pci/saa7134/saa7134.h #define saa_call_all(dev, o, f, args...) do { \ args 718 drivers/media/pci/saa7134/saa7134.h v4l2_device_call_all(&(dev)->v4l2_dev, 0, o, f , ##args); \ args 723 drivers/media/pci/saa7134/saa7134.h #define saa_call_empress(dev, o, f, args...) ({ \ args 728 drivers/media/pci/saa7134/saa7134.h GRP_EMPRESS, o, f , ##args); \ args 162 drivers/media/pci/saa7146/mxb.c #define saa7111a_call(mxb, o, f, args...) \ args 163 drivers/media/pci/saa7146/mxb.c v4l2_subdev_call(mxb->saa7111a, o, f, ##args) args 164 drivers/media/pci/saa7146/mxb.c #define tda9840_call(mxb, o, f, args...) \ args 165 drivers/media/pci/saa7146/mxb.c v4l2_subdev_call(mxb->tda9840, o, f, ##args) args 166 drivers/media/pci/saa7146/mxb.c #define tea6415c_call(mxb, o, f, args...) \ args 167 drivers/media/pci/saa7146/mxb.c v4l2_subdev_call(mxb->tea6415c, o, f, ##args) args 168 drivers/media/pci/saa7146/mxb.c #define tuner_call(mxb, o, f, args...) \ args 169 drivers/media/pci/saa7146/mxb.c v4l2_subdev_call(mxb->tuner, o, f, ##args) args 170 drivers/media/pci/saa7146/mxb.c #define call_all(dev, o, f, args...) \ args 171 drivers/media/pci/saa7146/mxb.c v4l2_device_call_until_err(&dev->v4l2_dev, 0, o, f, ##args) args 479 drivers/media/pci/ttpci/av7110_hw.c va_list args; args 496 drivers/media/pci/ttpci/av7110_hw.c va_start(args, num); args 498 drivers/media/pci/ttpci/av7110_hw.c buf[i + 2] = va_arg(args, u32); args 499 drivers/media/pci/ttpci/av7110_hw.c va_end(args); args 871 drivers/media/platform/exynos4-is/fimc-core.c u32 args[FIMC_PIX_LIMITS_MAX]; args 886 drivers/media/platform/exynos4-is/fimc-core.c args, FIMC_PIX_LIMITS_MAX); args 892 drivers/media/platform/exynos4-is/fimc-core.c lim->scaler_en_w = args[0]; args 893 drivers/media/platform/exynos4-is/fimc-core.c lim->scaler_dis_w = args[1]; args 894 drivers/media/platform/exynos4-is/fimc-core.c lim->out_rot_en_w = args[2]; args 895 drivers/media/platform/exynos4-is/fimc-core.c lim->out_rot_dis_w = args[3]; args 899 drivers/media/platform/exynos4-is/fimc-core.c args, 2); args 900 drivers/media/platform/exynos4-is/fimc-core.c v->min_inp_pixsize = ret ? FIMC_DEF_MIN_SIZE : args[0]; args 901 drivers/media/platform/exynos4-is/fimc-core.c v->min_out_pixsize = ret ? FIMC_DEF_MIN_SIZE : args[1]; args 903 drivers/media/platform/exynos4-is/fimc-core.c args, 2); args 904 drivers/media/platform/exynos4-is/fimc-core.c v->min_vsize_align = ret ? FIMC_DEF_HEIGHT_ALIGN : args[0]; args 905 drivers/media/platform/exynos4-is/fimc-core.c v->hor_offs_align = ret ? FIMC_DEF_HOR_OFFS_ALIGN : args[1]; args 907 drivers/media/platform/exynos4-is/fimc-core.c ret = of_property_read_u32(node, "samsung,rotators", &args[1]); args 908 drivers/media/platform/exynos4-is/fimc-core.c v->has_inp_rot = ret ? 1 : args[1] & 0x01; args 909 drivers/media/platform/exynos4-is/fimc-core.c v->has_out_rot = ret ? 1 : args[1] & 0x10; args 29 drivers/media/platform/exynos4-is/fimc-core.h #define dbg(fmt, args...) \ args 30 drivers/media/platform/exynos4-is/fimc-core.h pr_debug("%s:%d: " fmt "\n", __func__, __LINE__, ##args) args 97 drivers/media/platform/exynos4-is/fimc-is-regs.c is->i2h_cmd.args[i] = mcuctl_read(is, args 100 drivers/media/platform/exynos4-is/fimc-is-regs.c is->i2h_cmd.args[i] = 0; args 454 drivers/media/platform/exynos4-is/fimc-is.c pr_debug("ISP FW version: %#x\n", is->i2h_cmd.args[0]); args 486 drivers/media/platform/exynos4-is/fimc-is.c is->fd_header.count = is->i2h_cmd.args[0]; args 487 drivers/media/platform/exynos4-is/fimc-is.c is->fd_header.index = is->i2h_cmd.args[1]; args 495 drivers/media/platform/exynos4-is/fimc-is.c pr_debug("AA_DONE - %d, %d, %d\n", is->i2h_cmd.args[0], args 496 drivers/media/platform/exynos4-is/fimc-is.c is->i2h_cmd.args[1], is->i2h_cmd.args[2]); args 500 drivers/media/platform/exynos4-is/fimc-is.c pr_debug("ISR_DONE: args[0]: %#x\n", is->i2h_cmd.args[0]); args 502 drivers/media/platform/exynos4-is/fimc-is.c switch (is->i2h_cmd.args[0]) { args 506 drivers/media/platform/exynos4-is/fimc-is.c is->isp.cac_margin_x = is->i2h_cmd.args[1]; args 507 drivers/media/platform/exynos4-is/fimc-is.c is->isp.cac_margin_y = is->i2h_cmd.args[2]; args 541 drivers/media/platform/exynos4-is/fimc-is.c is->i2h_cmd.args[2], is->i2h_cmd.args[1]); args 558 drivers/media/platform/exynos4-is/fimc-is.c is->setfile.base = is->i2h_cmd.args[1]; args 569 drivers/media/platform/exynos4-is/fimc-is.c pr_err("ISR_NDONE: %d: %#x, %s\n", is->i2h_cmd.args[0], args 570 drivers/media/platform/exynos4-is/fimc-is.c is->i2h_cmd.args[1], args 571 drivers/media/platform/exynos4-is/fimc-is.c fimc_is_strerr(is->i2h_cmd.args[1])); args 573 drivers/media/platform/exynos4-is/fimc-is.c if (is->i2h_cmd.args[1] & IS_ERROR_TIME_OUT_FLAG) args 576 drivers/media/platform/exynos4-is/fimc-is.c switch (is->i2h_cmd.args[1]) { args 581 drivers/media/platform/exynos4-is/fimc-is.c switch (is->i2h_cmd.args[0]) { args 202 drivers/media/platform/exynos4-is/fimc-is.h u32 args[FIMC_IS_I2H_MAX_ARGS]; args 244 drivers/media/platform/exynos4-is/fimc-isp-video.c buf_index = (is->i2h_cmd.args[1] - 1) % video->buf_count; args 87 drivers/media/platform/exynos4-is/fimc-isp.c is->i2h_cmd.args[0] = mcuctl_read(is, MCUCTL_REG_ISSR(20)); args 88 drivers/media/platform/exynos4-is/fimc-isp.c is->i2h_cmd.args[1] = mcuctl_read(is, MCUCTL_REG_ISSR(21)); args 895 drivers/media/platform/fsl-viu.c #define decoder_call(viu, o, f, args...) \ args 896 drivers/media/platform/fsl-viu.c v4l2_subdev_call(viu->decoder, o, f, ##args) args 94 drivers/media/platform/marvell-ccic/mcam-core.c #define sensor_call(cam, o, f, args...) \ args 95 drivers/media/platform/marvell-ccic/mcam-core.c v4l2_subdev_call(cam->sensor, o, f, ##args) args 228 drivers/media/platform/mtk-mdp/mtk_mdp_core.h #define mtk_mdp_dbg(level, fmt, args...) \ args 232 drivers/media/platform/mtk-mdp/mtk_mdp_core.h level, __func__, __LINE__, ##args); \ args 235 drivers/media/platform/mtk-mdp/mtk_mdp_core.h #define mtk_mdp_err(fmt, args...) \ args 237 drivers/media/platform/mtk-mdp/mtk_mdp_core.h ##args) args 245 drivers/media/platform/mtk-mdp/mtk_mdp_core.h #define mtk_mdp_dbg(level, fmt, args...) {} args 246 drivers/media/platform/mtk-mdp/mtk_mdp_core.h #define mtk_mdp_err(fmt, args...) args 32 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h #define mtk_v4l2_err(fmt, args...) \ args 34 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h ##args) args 36 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h #define mtk_vcodec_err(h, fmt, args...) \ args 38 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h ((struct mtk_vcodec_ctx *)h->ctx)->id, __func__, ##args) args 43 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h #define mtk_v4l2_debug(level, fmt, args...) \ args 47 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h level, __func__, __LINE__, ##args); \ args 53 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h #define mtk_vcodec_debug(h, fmt, args...) \ args 58 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h __func__, ##args); \ args 66 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h #define mtk_v4l2_debug(level, fmt, args...) {} args 70 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h #define mtk_vcodec_debug(h, fmt, args...) {} args 288 drivers/media/platform/omap3isp/isp.c unsigned int idx = clkspec->args[0]; args 176 drivers/media/platform/pxa_camera.c #define sensor_call(cam, o, f, args...) \ args 177 drivers/media/platform/pxa_camera.c v4l2_subdev_call(cam->sensor, o, f, ##args) args 22 drivers/media/platform/s5p-mfc/s5p_mfc_cmd.h struct s5p_mfc_cmd_args *args); args 17 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c struct s5p_mfc_cmd_args *args) args 31 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c mfc_write(dev, args->arg[0], S5P_FIMV_HOST2RISC_ARG1); args 32 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c mfc_write(dev, args->arg[1], S5P_FIMV_HOST2RISC_ARG2); args 33 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c mfc_write(dev, args->arg[2], S5P_FIMV_HOST2RISC_ARG3); args 34 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c mfc_write(dev, args->arg[3], S5P_FIMV_HOST2RISC_ARG4); args 18 drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c struct s5p_mfc_cmd_args *args) args 536 drivers/media/platform/s5p-mfc/s5p_mfc_common.h #define call_cop(c, op, args...) \ args 538 drivers/media/platform/s5p-mfc/s5p_mfc_common.h ((c)->c_ops->op(args)) : 0) args 747 drivers/media/platform/s5p-mfc/s5p_mfc_common.h #define s5p_mfc_hw_call(f, op, args...) \ args 748 drivers/media/platform/s5p-mfc/s5p_mfc_common.h ((f && f->op) ? f->op(args) : (typeof(f->op(args)))(-ENODEV)) args 20 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h #define mfc_debug(level, fmt, args...) \ args 24 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h __func__, __LINE__, ##args); \ args 27 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h #define mfc_debug(level, fmt, args...) args 33 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h #define mfc_err(fmt, args...) \ args 36 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h __func__, __LINE__, ##args); \ args 39 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h #define mfc_err_limited(fmt, args...) \ args 42 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h __func__, __LINE__, ##args); \ args 45 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h #define mfc_info(fmt, args...) \ args 48 drivers/media/platform/s5p-mfc/s5p_mfc_debug.h __func__, __LINE__, ##args); \ args 31 drivers/media/platform/sti/delta/delta-v4l2.c #define call_dec_op(dec, op, args...)\ args 32 drivers/media/platform/sti/delta/delta-v4l2.c ((dec && (dec)->op) ? (dec)->op(args) : 0) args 128 drivers/media/platform/via-camera.c #define sensor_call(cam, optype, func, args...) \ args 129 drivers/media/platform/via-camera.c v4l2_subdev_call(cam->sensor, optype, func, ##args) args 386 drivers/media/radio/radio-si476x.c struct si476x_rsq_status_args args = { args 441 drivers/media/radio/radio-si476x.c &args, &report); args 517 drivers/media/radio/radio-si476x.c struct si476x_tune_freq_args args = { args 528 drivers/media/radio/radio-si476x.c args.freq = v4l2_to_si476x(radio->core, args 530 drivers/media/radio/radio-si476x.c retval = radio->ops->tune_freq(radio->core, &args); args 533 drivers/media/radio/radio-si476x.c args.freq = v4l2_to_si476x(radio->core, args 535 drivers/media/radio/radio-si476x.c retval = radio->ops->tune_freq(radio->core, &args); args 662 drivers/media/radio/radio-si476x.c struct si476x_rsq_status_args args = { args 670 drivers/media/radio/radio-si476x.c err = radio->ops->rsq_status(radio->core, &args, &report); args 688 drivers/media/radio/radio-si476x.c struct si476x_tune_freq_args args; args 720 drivers/media/radio/radio-si476x.c args.zifsr = false; args 721 drivers/media/radio/radio-si476x.c args.hd = false; args 722 drivers/media/radio/radio-si476x.c args.injside = SI476X_INJSIDE_AUTO; args 723 drivers/media/radio/radio-si476x.c args.freq = v4l2_to_si476x(radio->core, freq); args 724 drivers/media/radio/radio-si476x.c args.tunemode = SI476X_TM_VALIDATED_NORMAL_TUNE; args 725 drivers/media/radio/radio-si476x.c args.smoothmetrics = SI476X_SM_INITIALIZE_AUDIO; args 726 drivers/media/radio/radio-si476x.c args.antcap = 0; args 728 drivers/media/radio/radio-si476x.c err = radio->ops->tune_freq(radio->core, &args); args 1283 drivers/media/radio/radio-si476x.c struct si476x_rsq_status_args args = { args 1293 drivers/media/radio/radio-si476x.c err = radio->ops->rsq_status(radio->core, &args, &report); args 1318 drivers/media/radio/radio-si476x.c struct si476x_rsq_status_args args = { args 1328 drivers/media/radio/radio-si476x.c err = radio->ops->rsq_status(radio->core, &args, &report); args 76 drivers/media/radio/radio-trust.c va_list args; args 78 drivers/media/radio/radio-trust.c va_start(args, n); args 89 drivers/media/radio/radio-trust.c val = va_arg(args, unsigned); args 116 drivers/media/radio/radio-trust.c va_end(args); args 194 drivers/media/radio/si4713/si4713.c const u8 args[], const int argn, args 207 drivers/media/radio/si4713/si4713.c memcpy(data1 + 1, args, argn); args 267 drivers/media/radio/si4713/si4713.c const u8 args[SI4713_GET_PROP_NARGS] = { args 274 drivers/media/radio/si4713/si4713.c args, ARRAY_SIZE(args), val, args 306 drivers/media/radio/si4713/si4713.c const u8 args[SI4713_SET_PROP_NARGS] = { args 315 drivers/media/radio/si4713/si4713.c args, ARRAY_SIZE(args), args 349 drivers/media/radio/si4713/si4713.c u8 args[SI4713_PWUP_NARGS] = { args 379 drivers/media/radio/si4713/si4713.c args[0] |= SI4713_PWUP_CTSIEN; args 382 drivers/media/radio/si4713/si4713.c args, ARRAY_SIZE(args), args 547 drivers/media/radio/si4713/si4713.c const u8 args[SI4713_TXFREQ_NARGS] = { args 554 drivers/media/radio/si4713/si4713.c args, ARRAY_SIZE(args), val, args 568 drivers/media/radio/si4713/si4713.c return compose_u16(args[1], args[2]); args 593 drivers/media/radio/si4713/si4713.c u8 args[SI4713_TXPWR_NARGS] = { args 602 drivers/media/radio/si4713/si4713.c args[2] = power = SI4713_MIN_POWER; args 605 drivers/media/radio/si4713/si4713.c args, ARRAY_SIZE(args), val, args 641 drivers/media/radio/si4713/si4713.c const u8 args[SI4713_TXMEA_NARGS] = { args 654 drivers/media/radio/si4713/si4713.c args, ARRAY_SIZE(args), val, args 690 drivers/media/radio/si4713/si4713.c const u8 args[SI4713_TXSTATUS_NARGS] = { args 695 drivers/media/radio/si4713/si4713.c args, ARRAY_SIZE(args), val, args 730 drivers/media/radio/si4713/si4713.c const u8 args[SI4713_RDSBUFF_NARGS] = { args 741 drivers/media/radio/si4713/si4713.c args, ARRAY_SIZE(args), val, args 768 drivers/media/radio/si4713/si4713.c const u8 args[SI4713_RDSPS_NARGS] = { args 777 drivers/media/radio/si4713/si4713.c args, ARRAY_SIZE(args), val, args 22 drivers/media/tuners/max2165.c #define dprintk(args...) \ args 25 drivers/media/tuners/max2165.c printk(KERN_DEBUG "max2165: " args); \ args 25 drivers/media/tuners/mt2060.c #define dprintk(args...) do { if (debug) {printk(KERN_DEBUG "MT2060: " args); printk("\n"); }} while (0) args 45 drivers/media/tuners/mt2266.c #define dprintk(args...) do { if (debug) {printk(KERN_DEBUG "MT2266: " args); printk("\n"); }} while (0) args 23 drivers/media/tuners/si2157.c ret = i2c_master_send(client, cmd->args, cmd->wlen); args 37 drivers/media/tuners/si2157.c ret = i2c_master_recv(client, cmd->args, cmd->rlen); args 46 drivers/media/tuners/si2157.c if ((cmd->args[0] >> 7) & 0x01) args 54 drivers/media/tuners/si2157.c if (!((cmd->args[0] >> 7) & 0x01)) { args 83 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x15\x00\x06\x07", 4); args 90 drivers/media/tuners/si2157.c uitmp = cmd.args[2] << 0 | cmd.args[3] << 8; args 98 drivers/media/tuners/si2157.c memcpy(cmd.args, "\xc0\x05\x01\x00\x00\x0b\x00\x00\x01", 9); args 101 drivers/media/tuners/si2157.c memcpy(cmd.args, "\xc0\x00\x0d\x0e\x00\x01\x01\x01\x01\x03", 10); args 104 drivers/media/tuners/si2157.c memcpy(cmd.args, "\xc0\x00\x0c\x00\x00\x01\x01\x01\x01\x01\x01\x02\x00\x00\x01", 15); args 114 drivers/media/tuners/si2157.c memcpy(cmd.args, "\xc0\x08\x01\x02\x00\x00\x01", 7); args 122 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x02", 1); args 129 drivers/media/tuners/si2157.c chip_id = cmd.args[1] << 24 | cmd.args[2] << 16 | cmd.args[3] << 8 | args 130 drivers/media/tuners/si2157.c cmd.args[4] << 0; args 158 drivers/media/tuners/si2157.c cmd.args[2], cmd.args[1], args 159 drivers/media/tuners/si2157.c cmd.args[3], cmd.args[4]); args 165 drivers/media/tuners/si2157.c cmd.args[2], cmd.args[1], cmd.args[3], cmd.args[4]); args 196 drivers/media/tuners/si2157.c memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len); args 211 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x01\x01", 2); args 219 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x11", 1); args 227 drivers/media/tuners/si2157.c cmd.args[6], cmd.args[7], cmd.args[8]); args 259 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x16\x00", 2); args 321 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x14\x00\x03\x07\x00\x00", 6); args 322 drivers/media/tuners/si2157.c cmd.args[4] = delivery_system | bandwidth; args 324 drivers/media/tuners/si2157.c cmd.args[5] = 0x01; args 332 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x14\x00\x02\x07\x00\x01", 6); args 334 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x14\x00\x02\x07\x00\x00", 6); args 335 drivers/media/tuners/si2157.c cmd.args[4] = dev->if_port; args 344 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x14\x00\x06\x07", 4); args 345 drivers/media/tuners/si2157.c cmd.args[4] = (if_frequency / 1000) & 0xff; args 346 drivers/media/tuners/si2157.c cmd.args[5] = ((if_frequency / 1000) >> 8) & 0xff; args 357 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x41\x00\x00\x00\x00\x00\x00\x00", 8); args 358 drivers/media/tuners/si2157.c cmd.args[4] = (c->frequency >> 0) & 0xff; args 359 drivers/media/tuners/si2157.c cmd.args[5] = (c->frequency >> 8) & 0xff; args 360 drivers/media/tuners/si2157.c cmd.args[6] = (c->frequency >> 16) & 0xff; args 361 drivers/media/tuners/si2157.c cmd.args[7] = (c->frequency >> 24) & 0xff; args 407 drivers/media/tuners/si2157.c memcpy(cmd.args, "\x42\x00", 2); args 415 drivers/media/tuners/si2157.c c->strength.stat[0].svalue = (s8) cmd.args[3] * 1000; args 49 drivers/media/tuners/si2157_priv.h u8 args[SI2157_ARGLEN]; args 709 drivers/media/tuners/tda18271-common.c va_list args; args 711 drivers/media/tuners/tda18271-common.c va_start(args, fmt); args 714 drivers/media/tuners/tda18271-common.c vaf.va = &args; args 725 drivers/media/tuners/tda18271-common.c va_end(args); args 20 drivers/media/tuners/tda827x.c #define dprintk(args...) \ args 22 drivers/media/tuners/tda827x.c if (debug) printk(KERN_DEBUG "tda827x: " args); \ args 115 drivers/media/usb/as102/as10x_cmd.c preq->body.set_tune.req.args.freq = (__force __u32)cpu_to_le32(ptune->freq); args 116 drivers/media/usb/as102/as10x_cmd.c preq->body.set_tune.req.args.bandwidth = ptune->bandwidth; args 117 drivers/media/usb/as102/as10x_cmd.c preq->body.set_tune.req.args.hier_select = ptune->hier_select; args 118 drivers/media/usb/as102/as10x_cmd.c preq->body.set_tune.req.args.modulation = ptune->modulation; args 119 drivers/media/usb/as102/as10x_cmd.c preq->body.set_tune.req.args.hierarchy = ptune->hierarchy; args 120 drivers/media/usb/as102/as10x_cmd.c preq->body.set_tune.req.args.interleaving_mode = args 122 drivers/media/usb/as102/as10x_cmd.c preq->body.set_tune.req.args.code_rate = ptune->code_rate; args 123 drivers/media/usb/as102/as10x_cmd.c preq->body.set_tune.req.args.guard_interval = ptune->guard_interval; args 124 drivers/media/usb/as102/as10x_cmd.c preq->body.set_tune.req.args.transmission_mode = args 118 drivers/media/usb/as102/as10x_cmd.h struct as10x_tune_args args; args 18 drivers/media/usb/b2c2/flexcop-usb.c #define dprintk(level,args...) \ args 19 drivers/media/usb/b2c2/flexcop-usb.c do { if ((debug & level)) printk(args); } while (0) args 30 drivers/media/usb/b2c2/flexcop-usb.c #define dprintk(level, args...) args 40 drivers/media/usb/b2c2/flexcop-usb.c #define deb_info(args...) dprintk(0x01, args) args 41 drivers/media/usb/b2c2/flexcop-usb.c #define deb_ts(args...) dprintk(0x02, args) args 42 drivers/media/usb/b2c2/flexcop-usb.c #define deb_ctrl(args...) dprintk(0x04, args) args 43 drivers/media/usb/b2c2/flexcop-usb.c #define deb_i2c(args...) dprintk(0x08, args) args 44 drivers/media/usb/b2c2/flexcop-usb.c #define deb_v8(args...) dprintk(0x10, args) args 461 drivers/media/usb/cpia2/cpia2.h #define ALOG(lev, fmt, args...) printk(lev "%s:%d %s(): " fmt, __FILE__, __LINE__, __func__, ## args) args 462 drivers/media/usb/cpia2/cpia2.h #define LOG(fmt, args...) ALOG(KERN_INFO, fmt, ## args) args 463 drivers/media/usb/cpia2/cpia2.h #define ERR(fmt, args...) ALOG(KERN_ERR, fmt, ## args) args 464 drivers/media/usb/cpia2/cpia2.h #define DBG(fmt, args...) ALOG(KERN_DEBUG, fmt, ## args) args 466 drivers/media/usb/cpia2/cpia2.h #define ALOG(fmt,args...) printk(fmt,##args) args 467 drivers/media/usb/cpia2/cpia2.h #define LOG(fmt,args...) ALOG(KERN_INFO "cpia2: "fmt,##args) args 468 drivers/media/usb/cpia2/cpia2.h #define ERR(fmt,args...) ALOG(KERN_ERR "cpia2: "fmt,##args) args 469 drivers/media/usb/cpia2/cpia2.h #define DBG(fmn,args...) do {} while(0) args 472 drivers/media/usb/cpia2/cpia2.h #define KINFO(fmt, args...) printk(KERN_INFO fmt,##args) args 30 drivers/media/usb/cx231xx/cx231xx-i2c.c #define dprintk1(lvl, fmt, args...) \ args 33 drivers/media/usb/cx231xx/cx231xx-i2c.c printk(fmt, ##args); \ args 37 drivers/media/usb/cx231xx/cx231xx-i2c.c #define dprintk2(lvl, fmt, args...) \ args 41 drivers/media/usb/cx231xx/cx231xx-i2c.c dev->name, __func__ , ##args); \ args 731 drivers/media/usb/cx231xx/cx231xx.h #define cx25840_call(cx231xx, o, f, args...) \ args 732 drivers/media/usb/cx231xx/cx231xx.h v4l2_subdev_call(cx231xx->sd_cx25840, o, f, ##args) args 733 drivers/media/usb/cx231xx/cx231xx.h #define tuner_call(cx231xx, o, f, args...) \ args 734 drivers/media/usb/cx231xx/cx231xx.h v4l2_subdev_call(cx231xx->sd_tuner, o, f, ##args) args 735 drivers/media/usb/cx231xx/cx231xx.h #define call_all(dev, o, f, args...) \ args 736 drivers/media/usb/cx231xx/cx231xx.h v4l2_device_call_until_err(&dev->v4l2_dev, 0, o, f, ##args) args 195 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c #define dvb_usbv2_remote_init(args...) 0 args 196 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c #define dvb_usbv2_remote_exit(args...) args 82 drivers/media/usb/dvb-usb-v2/lmedm04.c #define lme_debug(var, level, args...) do { \ args 84 drivers/media/usb/dvb-usb-v2/lmedm04.c pr_debug(DVB_USB_LOG_PREFIX": " args); \ args 86 drivers/media/usb/dvb-usb-v2/lmedm04.c #define deb_info(level, args...) lme_debug(dvb_usb_lme2510_debug, level, args) args 89 drivers/media/usb/dvb-usb-v2/lmedm04.c #define info(args...) pr_info(DVB_USB_LOG_PREFIX": "args) args 21 drivers/media/usb/dvb-usb/a800.c #define deb_rc(args...) dprintk(debug,0x01,args) args 21 drivers/media/usb/dvb-usb/af9005-remote.c #define deb_decode(args...) dprintk(dvb_usb_af9005_remote_debug,0x01,args) args 18 drivers/media/usb/dvb-usb/af9005.h #define deb_info(args...) dprintk(dvb_usb_af9005_debug,0x01,args) args 19 drivers/media/usb/dvb-usb/af9005.h #define deb_xfer(args...) dprintk(dvb_usb_af9005_debug,0x02,args) args 20 drivers/media/usb/dvb-usb/af9005.h #define deb_rc(args...) dprintk(dvb_usb_af9005_debug,0x04,args) args 21 drivers/media/usb/dvb-usb/af9005.h #define deb_reg(args...) dprintk(dvb_usb_af9005_debug,0x08,args) args 22 drivers/media/usb/dvb-usb/af9005.h #define deb_i2c(args...) dprintk(dvb_usb_af9005_debug,0x10,args) args 23 drivers/media/usb/dvb-usb/af9005.h #define deb_fw(args...) dprintk(dvb_usb_af9005_debug,0x20,args) args 10 drivers/media/usb/dvb-usb/az6027.h #define deb_info(args...) dprintk(dvb_usb_az6027_debug, 0x01, args) args 11 drivers/media/usb/dvb-usb/az6027.h #define deb_xfer(args...) dprintk(dvb_usb_az6027_debug, 0x02, args) args 12 drivers/media/usb/dvb-usb/az6027.h #define deb_rc(args...) dprintk(dvb_usb_az6027_debug, 0x04, args) args 13 drivers/media/usb/dvb-usb/az6027.h #define deb_fe(args...) dprintk(dvb_usb_az6027_debug, 0x08, args) args 28 drivers/media/usb/dvb-usb/cinergyT2.h #define deb_info(args...) dprintk(dvb_usb_cinergyt2_debug, 0x001, args) args 29 drivers/media/usb/dvb-usb/cinergyT2.h #define deb_xfer(args...) dprintk(dvb_usb_cinergyt2_debug, 0x002, args) args 30 drivers/media/usb/dvb-usb/cinergyT2.h #define deb_pll(args...) dprintk(dvb_usb_cinergyt2_debug, 0x004, args) args 31 drivers/media/usb/dvb-usb/cinergyT2.h #define deb_ts(args...) dprintk(dvb_usb_cinergyt2_debug, 0x008, args) args 32 drivers/media/usb/dvb-usb/cinergyT2.h #define deb_err(args...) dprintk(dvb_usb_cinergyt2_debug, 0x010, args) args 33 drivers/media/usb/dvb-usb/cinergyT2.h #define deb_rc(args...) dprintk(dvb_usb_cinergyt2_debug, 0x020, args) args 34 drivers/media/usb/dvb-usb/cinergyT2.h #define deb_fw(args...) dprintk(dvb_usb_cinergyt2_debug, 0x040, args) args 35 drivers/media/usb/dvb-usb/cinergyT2.h #define deb_mem(args...) dprintk(dvb_usb_cinergyt2_debug, 0x080, args) args 36 drivers/media/usb/dvb-usb/cinergyT2.h #define deb_uxfer(args...) dprintk(dvb_usb_cinergyt2_debug, 0x100, args) args 57 drivers/media/usb/dvb-usb/cxusb.c #define deb_info(args...) dprintk(dvb_usb_cxusb_debug, CXUSB_DBG_MISC, args) args 58 drivers/media/usb/dvb-usb/cxusb.c #define deb_i2c(args...) dprintk(dvb_usb_cxusb_debug, CXUSB_DBG_I2C, args) args 15 drivers/media/usb/dvb-usb/dib0700.h #define deb_info(args...) dprintk(dvb_usb_dib0700_debug,0x01,args) args 16 drivers/media/usb/dvb-usb/dib0700.h #define deb_fw(args...) dprintk(dvb_usb_dib0700_debug,0x02,args) args 17 drivers/media/usb/dvb-usb/dib0700.h #define deb_fwdata(args...) dprintk(dvb_usb_dib0700_debug,0x04,args) args 18 drivers/media/usb/dvb-usb/dib0700.h #define deb_data(args...) dprintk(dvb_usb_dib0700_debug,0x08,args) args 19 drivers/media/usb/dvb-usb/dibusb-common.c #define deb_info(args...) dprintk(debug,0x01,args) args 23 drivers/media/usb/dvb-usb/digitv.c #define deb_rc(args...) dprintk(dvb_usb_digitv_debug,0x01,args) args 17 drivers/media/usb/dvb-usb/dtt200u.h #define deb_info(args...) dprintk(dvb_usb_dtt200u_debug,0x01,args) args 18 drivers/media/usb/dvb-usb/dtt200u.h #define deb_xfer(args...) dprintk(dvb_usb_dtt200u_debug,0x02,args) args 18 drivers/media/usb/dvb-usb/dvb-usb-common.h #define deb_info(args...) dprintk(dvb_usb_debug,0x001,args) args 19 drivers/media/usb/dvb-usb/dvb-usb-common.h #define deb_xfer(args...) dprintk(dvb_usb_debug,0x002,args) args 20 drivers/media/usb/dvb-usb/dvb-usb-common.h #define deb_pll(args...) dprintk(dvb_usb_debug,0x004,args) args 21 drivers/media/usb/dvb-usb/dvb-usb-common.h #define deb_ts(args...) dprintk(dvb_usb_debug,0x008,args) args 22 drivers/media/usb/dvb-usb/dvb-usb-common.h #define deb_err(args...) dprintk(dvb_usb_debug,0x010,args) args 23 drivers/media/usb/dvb-usb/dvb-usb-common.h #define deb_rc(args...) dprintk(dvb_usb_debug,0x020,args) args 24 drivers/media/usb/dvb-usb/dvb-usb-common.h #define deb_fw(args...) dprintk(dvb_usb_debug,0x040,args) args 25 drivers/media/usb/dvb-usb/dvb-usb-common.h #define deb_mem(args...) dprintk(dvb_usb_debug,0x080,args) args 26 drivers/media/usb/dvb-usb/dvb-usb-common.h #define deb_uxfer(args...) dprintk(dvb_usb_debug,0x100,args) args 31 drivers/media/usb/dvb-usb/dvb-usb.h #define dprintk(var,level,args...) \ args 32 drivers/media/usb/dvb-usb/dvb-usb.h do { if ((var & level)) { printk(args); } } while (0) args 41 drivers/media/usb/dvb-usb/dvb-usb.h #define dprintk(args...) args 8 drivers/media/usb/dvb-usb/dw2102.h #define deb_xfer(args...) dprintk(dvb_usb_dw2102_debug, 0x02, args) args 9 drivers/media/usb/dvb-usb/dw2102.h #define deb_rc(args...) dprintk(dvb_usb_dw2102_debug, 0x04, args) args 21 drivers/media/usb/dvb-usb/gp8psk.h #define deb_info(args...) dprintk(dvb_usb_gp8psk_debug,0x01,args) args 22 drivers/media/usb/dvb-usb/gp8psk.h #define deb_xfer(args...) dprintk(dvb_usb_gp8psk_debug,0x02,args) args 23 drivers/media/usb/dvb-usb/gp8psk.h #define deb_rc(args...) dprintk(dvb_usb_gp8psk_debug,0x04,args) args 8 drivers/media/usb/dvb-usb/m920x.h #define deb(args...) dprintk(dvb_usb_m920x_debug,0x01,args) args 17 drivers/media/usb/dvb-usb/nova-t-usb2.c #define deb_rc(args...) dprintk(debug,0x01,args) args 18 drivers/media/usb/dvb-usb/nova-t-usb2.c #define deb_ee(args...) dprintk(debug,0x02,args) args 63 drivers/media/usb/dvb-usb/technisat-usb2.c #define deb_info(args...) dprintk(debug, 0x01, args) args 64 drivers/media/usb/dvb-usb/technisat-usb2.c #define deb_eeprom(args...) dprintk(debug, 0x02, args) args 65 drivers/media/usb/dvb-usb/technisat-usb2.c #define deb_i2c(args...) dprintk(debug, 0x04, args) args 66 drivers/media/usb/dvb-usb/technisat-usb2.c #define deb_rc(args...) dprintk(debug, 0x08, args) args 38 drivers/media/usb/dvb-usb/ttusb2.c #define deb_info(args...) dprintk(dvb_usb_ttusb2_debug,0x01,args) args 9 drivers/media/usb/dvb-usb/vp702x.h #define deb_info(args...) dprintk(dvb_usb_vp702x_debug,0x01,args) args 10 drivers/media/usb/dvb-usb/vp702x.h #define deb_xfer(args...) dprintk(dvb_usb_vp702x_debug,0x02,args) args 11 drivers/media/usb/dvb-usb/vp702x.h #define deb_rc(args...) dprintk(dvb_usb_vp702x_debug,0x04,args) args 12 drivers/media/usb/dvb-usb/vp702x.h #define deb_fe(args...) dprintk(dvb_usb_vp702x_debug,0x08,args) args 21 drivers/media/usb/dvb-usb/vp7045.c #define deb_info(args...) dprintk(dvb_usb_vp7045_debug,0x01,args) args 22 drivers/media/usb/dvb-usb/vp7045.c #define deb_xfer(args...) dprintk(dvb_usb_vp7045_debug,0x02,args) args 23 drivers/media/usb/dvb-usb/vp7045.c #define deb_rc(args...) dprintk(dvb_usb_vp7045_debug,0x04,args) args 29 drivers/media/usb/go7007/go7007-v4l2.c #define call_all(dev, o, f, args...) \ args 30 drivers/media/usb/go7007/go7007-v4l2.c v4l2_device_call_until_err(dev, 0, o, f, ##args) args 295 drivers/media/usb/pvrusb2/pvrusb2-encoder.c int args, ...) args 301 drivers/media/usb/pvrusb2/pvrusb2-encoder.c if (args > ARRAY_SIZE(data)) { args 305 drivers/media/usb/pvrusb2/pvrusb2-encoder.c args, (long unsigned) ARRAY_SIZE(data)); args 309 drivers/media/usb/pvrusb2/pvrusb2-encoder.c va_start(vl, args); args 310 drivers/media/usb/pvrusb2/pvrusb2-encoder.c for (idx = 0; idx < args; idx++) { args 315 drivers/media/usb/pvrusb2/pvrusb2-encoder.c return pvr2_encoder_cmd(hdw,cmd,args,0,data); args 3821 drivers/media/usb/pvrusb2/pvrusb2-hdw.c unsigned int args = 0; args 3824 drivers/media/usb/pvrusb2/pvrusb2-hdw.c args = (cmdcode >> 8) & 0xffu; args 3825 drivers/media/usb/pvrusb2/pvrusb2-hdw.c args = (args > 2) ? 2 : args; args 3826 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (args) { args 3827 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cnt += args; args 3829 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (args > 1) { args 3853 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (args) { args 3858 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (args > 1) { args 56 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_MODULE(fmt, args...) PWC_DEBUG(MODULE, fmt, ##args) args 57 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_PROBE(fmt, args...) PWC_DEBUG(PROBE, fmt, ##args) args 58 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_OPEN(fmt, args...) PWC_DEBUG(OPEN, fmt, ##args) args 59 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_READ(fmt, args...) PWC_DEBUG(READ, fmt, ##args) args 60 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_MEMORY(fmt, args...) PWC_DEBUG(MEMORY, fmt, ##args) args 61 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_FLOW(fmt, args...) PWC_DEBUG(FLOW, fmt, ##args) args 62 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_SIZE(fmt, args...) PWC_DEBUG(SIZE, fmt, ##args) args 63 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_IOCTL(fmt, args...) PWC_DEBUG(IOCTL, fmt, ##args) args 64 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG_TRACE(fmt, args...) PWC_DEBUG(TRACE, fmt, ##args) args 71 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG(level, fmt, args...) do {\ args 73 drivers/media/usb/pwc/pwc.h printk(KERN_DEBUG PFX fmt, ##args); \ args 76 drivers/media/usb/pwc/pwc.h #define PWC_ERROR(fmt, args...) printk(KERN_ERR PFX fmt, ##args) args 77 drivers/media/usb/pwc/pwc.h #define PWC_WARNING(fmt, args...) printk(KERN_WARNING PFX fmt, ##args) args 78 drivers/media/usb/pwc/pwc.h #define PWC_INFO(fmt, args...) printk(KERN_INFO PFX fmt, ##args) args 79 drivers/media/usb/pwc/pwc.h #define PWC_TRACE(fmt, args...) PWC_DEBUG(TRACE, fmt, ##args) args 83 drivers/media/usb/pwc/pwc.h #define PWC_ERROR(fmt, args...) printk(KERN_ERR PFX fmt, ##args) args 84 drivers/media/usb/pwc/pwc.h #define PWC_WARNING(fmt, args...) printk(KERN_WARNING PFX fmt, ##args) args 85 drivers/media/usb/pwc/pwc.h #define PWC_INFO(fmt, args...) printk(KERN_INFO PFX fmt, ##args) args 86 drivers/media/usb/pwc/pwc.h #define PWC_TRACE(fmt, args...) do { } while(0) args 87 drivers/media/usb/pwc/pwc.h #define PWC_DEBUG(level, fmt, args...) do { } while(0) args 24 drivers/media/usb/stk1160/stk1160-i2c.c #define dprintk_i2c(fmt, args...) \ args 27 drivers/media/usb/stk1160/stk1160-i2c.c printk(KERN_DEBUG fmt, ##args); \ args 54 drivers/media/usb/stk1160/stk1160.h #define stk1160_dbg(fmt, args...) \ args 55 drivers/media/usb/stk1160/stk1160.h printk(KERN_DEBUG "stk1160: " fmt, ## args) args 57 drivers/media/usb/stk1160/stk1160.h #define stk1160_dbg(fmt, args...) args 60 drivers/media/usb/stk1160/stk1160.h #define stk1160_info(fmt, args...) \ args 61 drivers/media/usb/stk1160/stk1160.h pr_info("stk1160: " fmt, ## args) args 63 drivers/media/usb/stk1160/stk1160.h #define stk1160_warn(fmt, args...) \ args 64 drivers/media/usb/stk1160/stk1160.h pr_warn("stk1160: " fmt, ## args) args 66 drivers/media/usb/stk1160/stk1160.h #define stk1160_err(fmt, args...) \ args 67 drivers/media/usb/stk1160/stk1160.h pr_err("stk1160: " fmt, ## args) args 27 drivers/media/usb/tm6000/tm6000-i2c.c #define i2c_dprintk(lvl, fmt, args...) if (i2c_debug >= lvl) do { \ args 29 drivers/media/usb/tm6000/tm6000-i2c.c dev->name, __func__, ##args); } while (0) args 61 drivers/media/usb/usbvision/usbvision-core.c #define PDEBUG(level, fmt, args...) { \ args 64 drivers/media/usb/usbvision/usbvision-core.c __func__, __LINE__ , ## args); \ args 67 drivers/media/usb/usbvision/usbvision-core.c #define PDEBUG(level, fmt, args...) do {} while (0) args 32 drivers/media/usb/usbvision/usbvision-i2c.c #define PDEBUG(level, fmt, args...) { \ args 35 drivers/media/usb/usbvision/usbvision-i2c.c __func__, __LINE__ , ## args); \ args 68 drivers/media/usb/usbvision/usbvision-video.c #define PDEBUG(level, fmt, args...) { \ args 71 drivers/media/usb/usbvision/usbvision-video.c __func__, __LINE__ , ## args); \ args 74 drivers/media/usb/usbvision/usbvision-video.c #define PDEBUG(level, fmt, args...) do {} while (0) args 454 drivers/media/usb/usbvision/usbvision.h #define call_all(usbvision, o, f, args...) \ args 455 drivers/media/usb/usbvision/usbvision.h v4l2_device_call_all(&usbvision->v4l2_dev, 0, o, f, ##args) args 51 drivers/media/usb/zr364xx/zr364xx.c #define DBG(fmt, args...) \ args 54 drivers/media/usb/zr364xx/zr364xx.c printk(KERN_INFO KBUILD_MODNAME " " fmt, ##args); \ args 62 drivers/media/usb/zr364xx/zr364xx.c #define _DBG(fmt, args...) args 748 drivers/media/v4l2-core/v4l2-fwnode.c struct fwnode_reference_args args; args 755 drivers/media/v4l2-core/v4l2-fwnode.c index, &args)); args 757 drivers/media/v4l2-core/v4l2-fwnode.c fwnode_handle_put(args.fwnode); args 771 drivers/media/v4l2-core/v4l2-fwnode.c 0, index, &args); args 776 drivers/media/v4l2-core/v4l2-fwnode.c args.fwnode, args 778 drivers/media/v4l2-core/v4l2-fwnode.c fwnode_handle_put(args.fwnode); args 958 drivers/media/v4l2-core/v4l2-fwnode.c u64 *args = fwnode_args.args; args 987 drivers/media/v4l2-core/v4l2-fwnode.c if (val == *args) args 1000 drivers/media/v4l2-core/v4l2-fwnode.c args++; args 259 drivers/mfd/si476x-cmd.c const u8 args[], args 281 drivers/mfd/si476x-cmd.c memcpy(&data[1], args, argn); args 350 drivers/mfd/si476x-cmd.c struct si476x_rsq_status_args args = { args 360 drivers/mfd/si476x-cmd.c err = si476x_core_cmd_fm_rsq_status(core, &args, NULL); args 363 drivers/mfd/si476x-cmd.c err = si476x_core_cmd_am_rsq_status(core, &args, NULL); args 374 drivers/mfd/si476x-cmd.c const uint8_t args[], size_t argn, args 381 drivers/mfd/si476x-cmd.c err = si476x_core_send_command(core, cmd, args, argn, resp, respn, args 439 drivers/mfd/si476x-cmd.c const u8 args[CMD_SET_PROPERTY_NARGS] = { args 448 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 466 drivers/mfd/si476x-cmd.c const u8 args[CMD_GET_PROPERTY_NARGS] = { args 473 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 527 drivers/mfd/si476x-cmd.c const u8 args[CMD_DIG_AUDIO_PIN_CFG_NARGS] = { args 535 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 576 drivers/mfd/si476x-cmd.c const u8 args[CMD_ZIF_PIN_CFG_NARGS] = { args 584 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 633 drivers/mfd/si476x-cmd.c const u8 args[CMD_IC_LINK_GPO_CTL_PIN_CFG_NARGS] = { args 641 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 664 drivers/mfd/si476x-cmd.c const u8 args[CMD_ANA_AUDIO_PIN_CFG_NARGS] = { args 669 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 699 drivers/mfd/si476x-cmd.c const u8 args[CMD_INTB_PIN_CFG_NARGS] = { args 705 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 715 drivers/mfd/si476x-cmd.c const u8 args[CMD_INTB_PIN_CFG_NARGS] = { args 721 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 749 drivers/mfd/si476x-cmd.c const u8 args[CMD_AM_RSQ_STATUS_NARGS] = { args 755 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 797 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_ACF_STATUS_NARGS] = { args 805 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 833 drivers/mfd/si476x-cmd.c const u8 args[CMD_AM_ACF_STATUS_NARGS] = { args 841 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 880 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_SEEK_START_NARGS] = { args 885 drivers/mfd/si476x-cmd.c args, sizeof(args), args 910 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_RDS_STATUS_NARGS] = { args 915 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 974 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_RDS_BLOCKCOUNT_NARGS] = { args 982 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 1000 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_PHASE_DIVERSITY_NARGS] = { args 1005 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 1054 drivers/mfd/si476x-cmd.c const u8 args[CMD_AM_SEEK_START_NARGS] = { args 1059 drivers/mfd/si476x-cmd.c args, sizeof(args), args 1072 drivers/mfd/si476x-cmd.c const u8 args[CMD_POWER_UP_A10_NARGS] = { args 1084 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 1095 drivers/mfd/si476x-cmd.c const u8 args[CMD_POWER_UP_A20_NARGS] = { args 1106 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 1126 drivers/mfd/si476x-cmd.c const u8 args[CMD_POWER_DOWN_A20_NARGS] = { args 1130 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 1141 drivers/mfd/si476x-cmd.c const u8 args[CMD_AM_TUNE_FREQ_NARGS] = { args 1147 drivers/mfd/si476x-cmd.c return si476x_cmd_tune_seek_freq(core, CMD_AM_TUNE_FREQ, args, args 1148 drivers/mfd/si476x-cmd.c sizeof(args), args 1157 drivers/mfd/si476x-cmd.c const u8 args[CMD_AM_TUNE_FREQ_NARGS] = { args 1164 drivers/mfd/si476x-cmd.c args, sizeof(args), args 1174 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_RSQ_STATUS_A10_NARGS] = { args 1180 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 1227 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_RSQ_STATUS_A30_NARGS] = { args 1234 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 1282 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_RSQ_STATUS_A30_NARGS] = { args 1289 drivers/mfd/si476x-cmd.c args, ARRAY_SIZE(args), args 1342 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_TUNE_FREQ_A10_NARGS] = { args 1352 drivers/mfd/si476x-cmd.c args, sizeof(args), args 1360 drivers/mfd/si476x-cmd.c const u8 args[CMD_FM_TUNE_FREQ_A20_NARGS] = { args 1368 drivers/mfd/si476x-cmd.c args, sizeof(args), args 1476 drivers/mfd/si476x-cmd.c struct si476x_power_up_args *args) args 1480 drivers/mfd/si476x-cmd.c return si476x_cmds_vtable[core->revision].power_up(core, args); args 1485 drivers/mfd/si476x-cmd.c struct si476x_power_down_args *args) args 1489 drivers/mfd/si476x-cmd.c return si476x_cmds_vtable[core->revision].power_down(core, args); args 1494 drivers/mfd/si476x-cmd.c struct si476x_tune_freq_args *args) args 1498 drivers/mfd/si476x-cmd.c return si476x_cmds_vtable[core->revision].fm_tune_freq(core, args); args 1503 drivers/mfd/si476x-cmd.c struct si476x_tune_freq_args *args) args 1507 drivers/mfd/si476x-cmd.c return si476x_cmds_vtable[core->revision].am_tune_freq(core, args); args 1512 drivers/mfd/si476x-cmd.c struct si476x_rsq_status_args *args, args 1518 drivers/mfd/si476x-cmd.c return si476x_cmds_vtable[core->revision].fm_rsq_status(core, args, args 231 drivers/mfd/si476x-i2c.c struct si476x_power_down_args args = { args 234 drivers/mfd/si476x-i2c.c err = si476x_core_cmd_power_down(core, &args); args 30 drivers/misc/altera-stapl/altera.c #define dprintk(args...) \ args 32 drivers/misc/altera-stapl/altera.c printk(KERN_DEBUG args); \ args 232 drivers/misc/altera-stapl/altera.c u32 args[3]; args 519 drivers/misc/altera-stapl/altera.c args[i] = get_unaligned_be32(&p[pc]); args 984 drivers/misc/altera-stapl/altera.c stack[stack_ptr++] = (s32) args[0]; args 987 drivers/misc/altera-stapl/altera.c stack[stack_ptr++] = vars[args[0]]; args 990 drivers/misc/altera-stapl/altera.c pc = args[0] + code_sect; args 996 drivers/misc/altera-stapl/altera.c pc = args[0] + code_sect; args 1012 drivers/misc/altera-stapl/altera.c s32 iterator = vars[args[0]]; args 1024 drivers/misc/altera-stapl/altera.c vars[args[0]] = iterator + step; args 1039 drivers/misc/altera-stapl/altera.c &p[str_table + args[0]], args 1047 drivers/misc/altera-stapl/altera.c status = altera_goto_jstate(astate, args[0]); args 1054 drivers/misc/altera-stapl/altera.c status = altera_goto_jstate(astate, args[0]); args 1061 drivers/misc/altera-stapl/altera.c status = altera_set_irstop(&astate->js, args[0]); args 1068 drivers/misc/altera-stapl/altera.c status = altera_set_drstop(&astate->js, args[0]); args 1077 drivers/misc/altera-stapl/altera.c index = (args[0]) + 1; args 1089 drivers/misc/altera-stapl/altera.c index = (args[0]) + 1; args 1102 drivers/misc/altera-stapl/altera.c vars[args[0]] = stack[--stack_ptr]; args 1114 drivers/misc/altera-stapl/altera.c variable_id = args[0]; args 1177 drivers/misc/altera-stapl/altera.c variable_id = args[0]; args 1299 drivers/misc/altera-stapl/altera.c pc = args[0] + code_sect; args 1335 drivers/misc/altera-stapl/altera.c charptr_tmp = (u8 *)vars[args[0]]; args 1396 drivers/misc/altera-stapl/altera.c charptr_tmp = (u8 *)vars[args[0]]; args 1419 drivers/misc/altera-stapl/altera.c charptr_tmp = (u8 *)vars[args[0]]; args 1442 drivers/misc/altera-stapl/altera.c charptr_tmp = (u8 *)vars[args[0]]; args 1466 drivers/misc/altera-stapl/altera.c charptr_tmp = (u8 *)vars[args[0]]; args 1478 drivers/misc/altera-stapl/altera.c name = &p[str_table + args[0]]; args 1491 drivers/misc/altera-stapl/altera.c variable_id = args[0]; args 1518 drivers/misc/altera-stapl/altera.c variable_id = args[0]; args 1564 drivers/misc/altera-stapl/altera.c variable_id = args[0]; args 1630 drivers/misc/altera-stapl/altera.c name = &p[str_table + args[0]]; args 1760 drivers/misc/altera-stapl/altera.c variable_id = args[1]; args 1803 drivers/misc/altera-stapl/altera.c charptr_tmp = (u8 *)vars[args[1]]; args 1804 drivers/misc/altera-stapl/altera.c charptr_tmp2 = (u8 *)vars[args[0]]; args 1807 drivers/misc/altera-stapl/altera.c if ((attrs[args[1]] & 0x1c) != 0x08) { args 1881 drivers/misc/altera-stapl/altera.c variable_id = args[1]; args 1927 drivers/misc/altera-stapl/altera.c charptr_tmp = (u8 *)vars[args[0]]; args 1928 drivers/misc/altera-stapl/altera.c charptr_tmp2 = (u8 *)vars[args[1]]; args 1941 drivers/misc/altera-stapl/altera.c if ((attrs[args[1]] & 0x1c) != 0x08) { args 1980 drivers/misc/altera-stapl/altera.c args[0]); args 1987 drivers/misc/altera-stapl/altera.c args[0]); args 1989 drivers/misc/altera-stapl/altera.c if ((status == 0) && (args[1] != args[0])) args 1991 drivers/misc/altera-stapl/altera.c args[1]); args 2010 drivers/misc/altera-stapl/altera.c u8 *source1 = (u8 *)vars[args[0]]; args 2011 drivers/misc/altera-stapl/altera.c u8 *source2 = (u8 *)vars[args[1]]; args 2012 drivers/misc/altera-stapl/altera.c u8 *mask = (u8 *)vars[args[2]]; args 269 drivers/misc/eeprom/idt_89hpesx.c #define idt_smb_safe(ops, args...) ({ \ args 273 drivers/misc/eeprom/idt_89hpesx.c __sts = i2c_smbus_ ## ops ## _data(args); \ args 167 drivers/misc/fastrpc.c struct fastrpc_invoke_args *args; args 379 drivers/misc/fastrpc.c ctx->olaps[i].start = ctx->args[i].ptr; args 380 drivers/misc/fastrpc.c ctx->olaps[i].end = ctx->olaps[i].start + ctx->args[i].length; args 411 drivers/misc/fastrpc.c struct fastrpc_invoke_args *args) args 442 drivers/misc/fastrpc.c ctx->args = args; args 700 drivers/misc/fastrpc.c if (ctx->args[i].fd == 0 || ctx->args[i].fd == -1) { args 719 drivers/misc/fastrpc.c if (ctx->args[i].reserved) args 722 drivers/misc/fastrpc.c if (ctx->args[i].fd == 0 || ctx->args[i].fd == -1 || args 723 drivers/misc/fastrpc.c ctx->args[i].length == 0) args 726 drivers/misc/fastrpc.c err = fastrpc_map_create(ctx->fl, ctx->args[i].fd, args 727 drivers/misc/fastrpc.c ctx->args[i].length, &ctx->maps[i]); args 746 drivers/misc/fastrpc.c uintptr_t args; args 767 drivers/misc/fastrpc.c args = (uintptr_t)ctx->buf->virt + metalen; args 775 drivers/misc/fastrpc.c len = ctx->args[i].length; args 788 drivers/misc/fastrpc.c rpra[i].pv = (u64) ctx->args[i].ptr; args 791 drivers/misc/fastrpc.c vma = find_vma(current->mm, ctx->args[i].ptr); args 793 drivers/misc/fastrpc.c pages[i].addr += ctx->args[i].ptr - args 796 drivers/misc/fastrpc.c pg_start = (ctx->args[i].ptr & PAGE_MASK) >> PAGE_SHIFT; args 797 drivers/misc/fastrpc.c pg_end = ((ctx->args[i].ptr + len - 1) & PAGE_MASK) >> args 804 drivers/misc/fastrpc.c rlen -= ALIGN(args, FASTRPC_ALIGN) - args; args 805 drivers/misc/fastrpc.c args = ALIGN(args, FASTRPC_ALIGN); args 813 drivers/misc/fastrpc.c rpra[i].pv = args - ctx->olaps[oix].offset; args 819 drivers/misc/fastrpc.c pg_start = (args & PAGE_MASK) >> PAGE_SHIFT; args 820 drivers/misc/fastrpc.c pg_end = ((args + len - 1) & PAGE_MASK) >> PAGE_SHIFT; args 822 drivers/misc/fastrpc.c args = args + mlen; args 828 drivers/misc/fastrpc.c void *src = (void *)(uintptr_t)ctx->args[i].ptr; args 843 drivers/misc/fastrpc.c rpra[i].pv = (u64) ctx->args[i].ptr; args 844 drivers/misc/fastrpc.c rpra[i].len = ctx->args[i].length; args 845 drivers/misc/fastrpc.c list[i].num = ctx->args[i].length ? 1 : 0; args 868 drivers/misc/fastrpc.c void *dst = (void *)(uintptr_t)ctx->args[i].ptr; args 909 drivers/misc/fastrpc.c struct fastrpc_invoke_args *args) args 920 drivers/misc/fastrpc.c ctx = fastrpc_context_alloc(fl, kernel, sc, args); args 973 drivers/misc/fastrpc.c struct fastrpc_invoke_args *args; args 989 drivers/misc/fastrpc.c args = kcalloc(FASTRPC_CREATE_PROCESS_NARGS, sizeof(*args), GFP_KERNEL); args 990 drivers/misc/fastrpc.c if (!args) args 1025 drivers/misc/fastrpc.c args[0].ptr = (u64)(uintptr_t)&inbuf; args 1026 drivers/misc/fastrpc.c args[0].length = sizeof(inbuf); args 1027 drivers/misc/fastrpc.c args[0].fd = -1; args 1029 drivers/misc/fastrpc.c args[1].ptr = (u64)(uintptr_t)current->comm; args 1030 drivers/misc/fastrpc.c args[1].length = inbuf.namelen; args 1031 drivers/misc/fastrpc.c args[1].fd = -1; args 1033 drivers/misc/fastrpc.c args[2].ptr = (u64) init.file; args 1034 drivers/misc/fastrpc.c args[2].length = inbuf.filelen; args 1035 drivers/misc/fastrpc.c args[2].fd = init.filefd; args 1040 drivers/misc/fastrpc.c args[3].ptr = (u64)(uintptr_t) pages; args 1041 drivers/misc/fastrpc.c args[3].length = 1 * sizeof(*pages); args 1042 drivers/misc/fastrpc.c args[3].fd = -1; args 1044 drivers/misc/fastrpc.c args[4].ptr = (u64)(uintptr_t)&inbuf.attrs; args 1045 drivers/misc/fastrpc.c args[4].length = sizeof(inbuf.attrs); args 1046 drivers/misc/fastrpc.c args[4].fd = -1; args 1048 drivers/misc/fastrpc.c args[5].ptr = (u64)(uintptr_t) &inbuf.siglen; args 1049 drivers/misc/fastrpc.c args[5].length = sizeof(inbuf.siglen); args 1050 drivers/misc/fastrpc.c args[5].fd = -1; args 1057 drivers/misc/fastrpc.c sc, args); args 1061 drivers/misc/fastrpc.c kfree(args); args 1076 drivers/misc/fastrpc.c kfree(args); args 1113 drivers/misc/fastrpc.c struct fastrpc_invoke_args args[1]; args 1118 drivers/misc/fastrpc.c args[0].ptr = (u64)(uintptr_t) &tgid; args 1119 drivers/misc/fastrpc.c args[0].length = sizeof(tgid); args 1120 drivers/misc/fastrpc.c args[0].fd = -1; args 1121 drivers/misc/fastrpc.c args[0].reserved = 0; args 1125 drivers/misc/fastrpc.c sc, &args[0]); args 1243 drivers/misc/fastrpc.c struct fastrpc_invoke_args args[1]; args 1247 drivers/misc/fastrpc.c args[0].ptr = (u64)(uintptr_t) &tgid; args 1248 drivers/misc/fastrpc.c args[0].length = sizeof(tgid); args 1249 drivers/misc/fastrpc.c args[0].fd = -1; args 1250 drivers/misc/fastrpc.c args[0].reserved = 0; args 1255 drivers/misc/fastrpc.c sc, &args[0]); args 1260 drivers/misc/fastrpc.c struct fastrpc_invoke_args *args = NULL; args 1271 drivers/misc/fastrpc.c args = kcalloc(nscalars, sizeof(*args), GFP_KERNEL); args 1272 drivers/misc/fastrpc.c if (!args) args 1275 drivers/misc/fastrpc.c if (copy_from_user(args, (void __user *)(uintptr_t)inv.args, args 1276 drivers/misc/fastrpc.c nscalars * sizeof(*args))) { args 1277 drivers/misc/fastrpc.c kfree(args); args 1282 drivers/misc/fastrpc.c err = fastrpc_internal_invoke(fl, false, inv.handle, inv.sc, args); args 1283 drivers/misc/fastrpc.c kfree(args); args 212 drivers/misc/habanalabs/command_buffer.c union hl_cb_args *args = data; args 224 drivers/misc/habanalabs/command_buffer.c switch (args->in.op) { args 226 drivers/misc/habanalabs/command_buffer.c rc = hl_cb_create(hdev, &hpriv->cb_mgr, args->in.cb_size, args 228 drivers/misc/habanalabs/command_buffer.c memset(args, 0, sizeof(*args)); args 229 drivers/misc/habanalabs/command_buffer.c args->out.cb_handle = handle; args 233 drivers/misc/habanalabs/command_buffer.c args->in.cb_handle); args 613 drivers/misc/habanalabs/command_submission.c union hl_cs_args *args = data; args 631 drivers/misc/habanalabs/command_submission.c if (do_ctx_switch || (args->in.cs_flags & HL_CS_FLAGS_FORCE_RESTORE)) { args 634 drivers/misc/habanalabs/command_submission.c chunks = (void __user *)(uintptr_t)args->in.chunks_restore; args 635 drivers/misc/habanalabs/command_submission.c num_chunks = args->in.num_chunks_restore; args 710 drivers/misc/habanalabs/command_submission.c chunks = (void __user *)(uintptr_t)args->in.chunks_execute; args 711 drivers/misc/habanalabs/command_submission.c num_chunks = args->in.num_chunks_execute; args 725 drivers/misc/habanalabs/command_submission.c memset(args, 0, sizeof(*args)); args 726 drivers/misc/habanalabs/command_submission.c args->out.status = rc; args 727 drivers/misc/habanalabs/command_submission.c args->out.seq = cs_seq; args 771 drivers/misc/habanalabs/command_submission.c union hl_wait_cs_args *args = data; args 772 drivers/misc/habanalabs/command_submission.c u64 seq = args->in.seq; args 775 drivers/misc/habanalabs/command_submission.c rc = _hl_cs_wait_ioctl(hdev, hpriv->ctx, args->in.timeout_us, seq); args 777 drivers/misc/habanalabs/command_submission.c memset(args, 0, sizeof(*args)); args 784 drivers/misc/habanalabs/command_submission.c args->out.status = HL_WAIT_CS_STATUS_INTERRUPTED; args 787 drivers/misc/habanalabs/command_submission.c args->out.status = HL_WAIT_CS_STATUS_TIMEDOUT; args 789 drivers/misc/habanalabs/command_submission.c args->out.status = HL_WAIT_CS_STATUS_ABORTED; args 795 drivers/misc/habanalabs/command_submission.c args->out.status = HL_WAIT_CS_STATUS_BUSY; args 797 drivers/misc/habanalabs/command_submission.c args->out.status = HL_WAIT_CS_STATUS_COMPLETED; args 26 drivers/misc/habanalabs/habanalabs_ioctl.c static int device_status_info(struct hl_device *hdev, struct hl_info_args *args) args 29 drivers/misc/habanalabs/habanalabs_ioctl.c u32 size = args->return_size; args 30 drivers/misc/habanalabs/habanalabs_ioctl.c void __user *out = (void __user *) (uintptr_t) args->return_pointer; args 41 drivers/misc/habanalabs/habanalabs_ioctl.c static int hw_ip_info(struct hl_device *hdev, struct hl_info_args *args) args 44 drivers/misc/habanalabs/habanalabs_ioctl.c u32 size = args->return_size; args 45 drivers/misc/habanalabs/habanalabs_ioctl.c void __user *out = (void __user *) (uintptr_t) args->return_pointer; args 79 drivers/misc/habanalabs/habanalabs_ioctl.c struct hl_info_args *args) args 81 drivers/misc/habanalabs/habanalabs_ioctl.c u32 size, max_size = args->return_size; args 82 drivers/misc/habanalabs/habanalabs_ioctl.c void __user *out = (void __user *) (uintptr_t) args->return_pointer; args 93 drivers/misc/habanalabs/habanalabs_ioctl.c static int dram_usage_info(struct hl_fpriv *hpriv, struct hl_info_args *args) args 97 drivers/misc/habanalabs/habanalabs_ioctl.c u32 max_size = args->return_size; args 98 drivers/misc/habanalabs/habanalabs_ioctl.c void __user *out = (void __user *) (uintptr_t) args->return_pointer; args 117 drivers/misc/habanalabs/habanalabs_ioctl.c static int hw_idle(struct hl_device *hdev, struct hl_info_args *args) args 120 drivers/misc/habanalabs/habanalabs_ioctl.c u32 max_size = args->return_size; args 121 drivers/misc/habanalabs/habanalabs_ioctl.c void __user *out = (void __user *) (uintptr_t) args->return_pointer; args 133 drivers/misc/habanalabs/habanalabs_ioctl.c static int debug_coresight(struct hl_device *hdev, struct hl_debug_args *args) args 143 drivers/misc/habanalabs/habanalabs_ioctl.c params->reg_idx = args->reg_idx; args 144 drivers/misc/habanalabs/habanalabs_ioctl.c params->enable = args->enable; args 145 drivers/misc/habanalabs/habanalabs_ioctl.c params->op = args->op; args 147 drivers/misc/habanalabs/habanalabs_ioctl.c if (args->input_ptr && args->input_size) { args 148 drivers/misc/habanalabs/habanalabs_ioctl.c input = kzalloc(hl_debug_struct_size[args->op], GFP_KERNEL); args 154 drivers/misc/habanalabs/habanalabs_ioctl.c if (copy_from_user(input, u64_to_user_ptr(args->input_ptr), args 155 drivers/misc/habanalabs/habanalabs_ioctl.c args->input_size)) { args 164 drivers/misc/habanalabs/habanalabs_ioctl.c if (args->output_ptr && args->output_size) { args 165 drivers/misc/habanalabs/habanalabs_ioctl.c output = kzalloc(args->output_size, GFP_KERNEL); args 172 drivers/misc/habanalabs/habanalabs_ioctl.c params->output_size = args->output_size; args 183 drivers/misc/habanalabs/habanalabs_ioctl.c if (copy_to_user((void __user *) (uintptr_t) args->output_ptr, args 185 drivers/misc/habanalabs/habanalabs_ioctl.c args->output_size)) { args 201 drivers/misc/habanalabs/habanalabs_ioctl.c static int device_utilization(struct hl_device *hdev, struct hl_info_args *args) args 204 drivers/misc/habanalabs/habanalabs_ioctl.c u32 max_size = args->return_size; args 205 drivers/misc/habanalabs/habanalabs_ioctl.c void __user *out = (void __user *) (uintptr_t) args->return_pointer; args 210 drivers/misc/habanalabs/habanalabs_ioctl.c if ((args->period_ms < 100) || (args->period_ms > 1000) || args 211 drivers/misc/habanalabs/habanalabs_ioctl.c (args->period_ms % 100)) { args 214 drivers/misc/habanalabs/habanalabs_ioctl.c args->period_ms); args 218 drivers/misc/habanalabs/habanalabs_ioctl.c device_util.utilization = hl_device_utilization(hdev, args->period_ms); args 227 drivers/misc/habanalabs/habanalabs_ioctl.c struct hl_info_args *args = data; args 235 drivers/misc/habanalabs/habanalabs_ioctl.c switch (args->op) { args 237 drivers/misc/habanalabs/habanalabs_ioctl.c return hw_ip_info(hdev, args); args 240 drivers/misc/habanalabs/habanalabs_ioctl.c return device_status_info(hdev, args); args 253 drivers/misc/habanalabs/habanalabs_ioctl.c switch (args->op) { args 255 drivers/misc/habanalabs/habanalabs_ioctl.c rc = hw_events_info(hdev, false, args); args 259 drivers/misc/habanalabs/habanalabs_ioctl.c rc = dram_usage_info(hpriv, args); args 263 drivers/misc/habanalabs/habanalabs_ioctl.c rc = hw_idle(hdev, args); args 267 drivers/misc/habanalabs/habanalabs_ioctl.c rc = device_utilization(hdev, args); args 271 drivers/misc/habanalabs/habanalabs_ioctl.c rc = hw_events_info(hdev, true, args); args 275 drivers/misc/habanalabs/habanalabs_ioctl.c dev_err(dev, "Invalid request %d\n", args->op); args 295 drivers/misc/habanalabs/habanalabs_ioctl.c struct hl_debug_args *args = data; args 306 drivers/misc/habanalabs/habanalabs_ioctl.c switch (args->op) { args 319 drivers/misc/habanalabs/habanalabs_ioctl.c args->input_size = args 320 drivers/misc/habanalabs/habanalabs_ioctl.c min(args->input_size, hl_debug_struct_size[args->op]); args 321 drivers/misc/habanalabs/habanalabs_ioctl.c rc = debug_coresight(hdev, args); args 324 drivers/misc/habanalabs/habanalabs_ioctl.c rc = hl_device_set_debug_mode(hdev, (bool) args->enable); args 327 drivers/misc/habanalabs/habanalabs_ioctl.c dev_err(hdev->dev, "Invalid request %d\n", args->op); args 53 drivers/misc/habanalabs/memory.c static int alloc_device_memory(struct hl_ctx *ctx, struct hl_mem_in *args, args 67 drivers/misc/habanalabs/memory.c num_pgs = (args->alloc.mem_size + (page_size - 1)) >> page_shift; args 70 drivers/misc/habanalabs/memory.c contiguous = args->flags & HL_MEM_CONTIGUOUS; args 93 drivers/misc/habanalabs/memory.c phys_pg_pack->flags = args->flags; args 175 drivers/misc/habanalabs/memory.c struct hl_mem_in *args, struct hl_userptr **p_userptr) args 186 drivers/misc/habanalabs/memory.c rc = hl_pin_host_memory(hdev, args->map_host.host_virt_addr, args 187 drivers/misc/habanalabs/memory.c args->map_host.mem_size, userptr); args 786 drivers/misc/habanalabs/memory.c static int get_paddr_from_handle(struct hl_ctx *ctx, struct hl_mem_in *args, args 794 drivers/misc/habanalabs/memory.c handle = lower_32_bits(args->map_device.handle); args 824 drivers/misc/habanalabs/memory.c static int map_device_va(struct hl_ctx *ctx, struct hl_mem_in *args, args 836 drivers/misc/habanalabs/memory.c bool is_userptr = args->flags & HL_MEM_USERPTR; args 842 drivers/misc/habanalabs/memory.c rc = get_userptr_from_host_va(hdev, args, &userptr); args 853 drivers/misc/habanalabs/memory.c args->map_host.host_virt_addr); args 858 drivers/misc/habanalabs/memory.c hint_addr = args->map_host.hint_addr; args 860 drivers/misc/habanalabs/memory.c handle = lower_32_bits(args->map_device.handle); args 878 drivers/misc/habanalabs/memory.c hint_addr = args->map_device.hint_addr; args 1093 drivers/misc/habanalabs/memory.c static int mem_ioctl_no_mmu(struct hl_fpriv *hpriv, union hl_mem_args *args) args 1101 drivers/misc/habanalabs/memory.c switch (args->in.op) { args 1103 drivers/misc/habanalabs/memory.c if (args->in.alloc.mem_size == 0) { args 1113 drivers/misc/habanalabs/memory.c args->in.flags |= HL_MEM_CONTIGUOUS; args 1114 drivers/misc/habanalabs/memory.c rc = alloc_device_memory(ctx, &args->in, &handle); args 1116 drivers/misc/habanalabs/memory.c memset(args, 0, sizeof(*args)); args 1117 drivers/misc/habanalabs/memory.c args->out.handle = (__u64) handle; args 1121 drivers/misc/habanalabs/memory.c rc = free_device_memory(ctx, args->in.free.handle); args 1125 drivers/misc/habanalabs/memory.c if (args->in.flags & HL_MEM_USERPTR) { args 1126 drivers/misc/habanalabs/memory.c device_addr = args->in.map_host.host_virt_addr; args 1129 drivers/misc/habanalabs/memory.c rc = get_paddr_from_handle(ctx, &args->in, args 1133 drivers/misc/habanalabs/memory.c memset(args, 0, sizeof(*args)); args 1134 drivers/misc/habanalabs/memory.c args->out.device_virt_addr = device_addr; args 1153 drivers/misc/habanalabs/memory.c union hl_mem_args *args = data; args 1168 drivers/misc/habanalabs/memory.c return mem_ioctl_no_mmu(hpriv, args); args 1170 drivers/misc/habanalabs/memory.c switch (args->in.op) { args 1178 drivers/misc/habanalabs/memory.c if (args->in.alloc.mem_size == 0) { args 1184 drivers/misc/habanalabs/memory.c rc = alloc_device_memory(ctx, &args->in, &handle); args 1186 drivers/misc/habanalabs/memory.c memset(args, 0, sizeof(*args)); args 1187 drivers/misc/habanalabs/memory.c args->out.handle = (__u64) handle; args 1191 drivers/misc/habanalabs/memory.c rc = free_device_memory(ctx, args->in.free.handle); args 1195 drivers/misc/habanalabs/memory.c rc = map_device_va(ctx, &args->in, &device_addr); args 1197 drivers/misc/habanalabs/memory.c memset(args, 0, sizeof(*args)); args 1198 drivers/misc/habanalabs/memory.c args->out.device_virt_addr = device_addr; args 1202 drivers/misc/habanalabs/memory.c rc = unmap_device_va(ctx, args->in.unmap.device_virt_addr, args 202 drivers/misc/ocxl/file.c unsigned long args) args 225 drivers/misc/ocxl/file.c (struct ocxl_ioctl_attach __user *) args); args 232 drivers/misc/ocxl/file.c rc = copy_to_user((u64 __user *) args, &irq_offset, args 242 drivers/misc/ocxl/file.c rc = copy_from_user(&irq_offset, (u64 __user *) args, args 251 drivers/misc/ocxl/file.c rc = copy_from_user(&irq_fd, (u64 __user *) args, args 266 drivers/misc/ocxl/file.c (struct ocxl_ioctl_metadata __user *) args); args 272 drivers/misc/ocxl/file.c (struct ocxl_ioctl_p9_wait __user *) args); args 278 drivers/misc/ocxl/file.c (struct ocxl_ioctl_features __user *) args); args 288 drivers/misc/ocxl/file.c unsigned long args) args 290 drivers/misc/ocxl/file.c return afu_ioctl(file, cmd, args); args 187 drivers/misc/sgi-xp/xpc_channel.c struct xpc_openclose_args *args = args 211 drivers/misc/sgi-xp/xpc_channel.c "from partid=%d, channel=%d\n", args->reason, args 268 drivers/misc/sgi-xp/xpc_channel.c reason = args->reason; args 320 drivers/misc/sgi-xp/xpc_channel.c "channel=%d\n", args->entry_size, args->local_nentries, args 342 drivers/misc/sgi-xp/xpc_channel.c if (args->entry_size == 0 || args->local_nentries == 0) { args 348 drivers/misc/sgi-xp/xpc_channel.c ch->remote_nentries = args->local_nentries; args 351 drivers/misc/sgi-xp/xpc_channel.c if (args->entry_size != ch->entry_size) { args 357 drivers/misc/sgi-xp/xpc_channel.c ch->entry_size = args->entry_size; args 373 drivers/misc/sgi-xp/xpc_channel.c args->local_msgqueue_pa, args->local_nentries, args 374 drivers/misc/sgi-xp/xpc_channel.c args->remote_nentries, ch->partid, ch->number); args 395 drivers/misc/sgi-xp/xpc_channel.c DBUG_ON(args->local_msgqueue_pa == 0); args 396 drivers/misc/sgi-xp/xpc_channel.c DBUG_ON(args->local_nentries == 0); args 397 drivers/misc/sgi-xp/xpc_channel.c DBUG_ON(args->remote_nentries == 0); args 400 drivers/misc/sgi-xp/xpc_channel.c args->local_msgqueue_pa); args 407 drivers/misc/sgi-xp/xpc_channel.c if (args->local_nentries < ch->remote_nentries) { args 411 drivers/misc/sgi-xp/xpc_channel.c args->local_nentries, ch->remote_nentries, args 414 drivers/misc/sgi-xp/xpc_channel.c ch->remote_nentries = args->local_nentries; args 416 drivers/misc/sgi-xp/xpc_channel.c if (args->remote_nentries < ch->local_nentries) { args 420 drivers/misc/sgi-xp/xpc_channel.c args->remote_nentries, ch->local_nentries, args 423 drivers/misc/sgi-xp/xpc_channel.c ch->local_nentries = args->remote_nentries; args 681 drivers/misc/sgi-xp/xpc_main.c xpc_kthread_start(void *args) args 683 drivers/misc/sgi-xp/xpc_main.c short partid = XPC_UNPACK_ARG1(args); args 684 drivers/misc/sgi-xp/xpc_main.c u16 ch_number = XPC_UNPACK_ARG2(args); args 776 drivers/misc/sgi-xp/xpc_main.c u64 args = XPC_PACK_ARGS(ch->partid, ch->number); args 807 drivers/misc/sgi-xp/xpc_main.c kthread = kthread_run(xpc_kthread_start, (void *)args, args 430 drivers/misc/sgi-xp/xpc_uv.c struct xpc_openclose_args *args; args 496 drivers/misc/sgi-xp/xpc_uv.c args = &part->remote_openclose_args[msg->ch_number]; args 497 drivers/misc/sgi-xp/xpc_uv.c args->reason = msg->reason; args 532 drivers/misc/sgi-xp/xpc_uv.c args = &part->remote_openclose_args[msg->ch_number]; args 533 drivers/misc/sgi-xp/xpc_uv.c args->entry_size = msg->entry_size; args 534 drivers/misc/sgi-xp/xpc_uv.c args->local_nentries = msg->local_nentries; args 551 drivers/misc/sgi-xp/xpc_uv.c args = &part->remote_openclose_args[msg->ch_number]; args 552 drivers/misc/sgi-xp/xpc_uv.c args->remote_nentries = msg->remote_nentries; args 553 drivers/misc/sgi-xp/xpc_uv.c args->local_nentries = msg->local_nentries; args 554 drivers/misc/sgi-xp/xpc_uv.c args->local_msgqueue_pa = msg->notify_gru_mq_desc_gpa; args 16 drivers/mmc/core/bus.h #define MMC_DEV_ATTR(name, fmt, args...) \ args 20 drivers/mmc/core/bus.h return sprintf(buf, fmt, args); \ args 57 drivers/mmc/host/au1xmmc.c #define DBG(fmt, idx, args...) \ args 58 drivers/mmc/host/au1xmmc.c pr_debug("au1xmmc(%d): DEBUG: " fmt, idx, ##args) args 60 drivers/mmc/host/au1xmmc.c #define DBG(fmt, idx, args...) do {} while (0) args 113 drivers/mmc/host/mmci_qcom_dml.c return dma_spec.args[0]; args 135 drivers/mmc/host/s3cmci.c #define dbg(host, channels, args...) \ args 138 drivers/mmc/host/s3cmci.c dev_err(&host->pdev->dev, args); \ args 140 drivers/mmc/host/s3cmci.c dev_info(&host->pdev->dev, args); \ args 142 drivers/mmc/host/s3cmci.c dev_dbg(&host->pdev->dev, args); \ args 198 drivers/mtd/devices/phram.c #define parse_err(fmt, args...) do { \ args 199 drivers/mtd/devices/phram.c pr_err(fmt , ## args); \ args 52 drivers/mtd/devices/slram.c #define T(fmt, args...) printk(KERN_DEBUG fmt, ## args) args 53 drivers/mtd/devices/slram.c #define E(fmt, args...) printk(KERN_NOTICE fmt, ## args) args 98 drivers/mtd/nand/raw/cafe_nand.c #define cafe_dev_dbg(dev, args...) do { if (debug) dev_dbg(dev, ##args); } while(0) args 172 drivers/mtd/nand/raw/nandsim.c #define NS_LOG(args...) \ args 173 drivers/mtd/nand/raw/nandsim.c do { if (log) pr_debug(" log: " args); } while(0) args 174 drivers/mtd/nand/raw/nandsim.c #define NS_DBG(args...) \ args 175 drivers/mtd/nand/raw/nandsim.c do { if (dbg) pr_debug(" debug: " args); } while(0) args 176 drivers/mtd/nand/raw/nandsim.c #define NS_WARN(args...) \ args 177 drivers/mtd/nand/raw/nandsim.c do { pr_warn(" warning: " args); } while(0) args 178 drivers/mtd/nand/raw/nandsim.c #define NS_ERR(args...) \ args 179 drivers/mtd/nand/raw/nandsim.c do { pr_err(" error: " args); } while(0) args 180 drivers/mtd/nand/raw/nandsim.c #define NS_INFO(args...) \ args 181 drivers/mtd/nand/raw/nandsim.c do { pr_info(" " args); } while(0) args 148 drivers/mtd/ubi/misc.c va_list args; args 150 drivers/mtd/ubi/misc.c va_start(args, fmt); args 153 drivers/mtd/ubi/misc.c vaf.va = &args; args 157 drivers/mtd/ubi/misc.c va_end(args); args 164 drivers/mtd/ubi/misc.c va_list args; args 166 drivers/mtd/ubi/misc.c va_start(args, fmt); args 169 drivers/mtd/ubi/misc.c vaf.va = &args; args 174 drivers/mtd/ubi/misc.c va_end(args); args 181 drivers/mtd/ubi/misc.c va_list args; args 183 drivers/mtd/ubi/misc.c va_start(args, fmt); args 186 drivers/mtd/ubi/misc.c vaf.va = &args; args 190 drivers/mtd/ubi/misc.c va_end(args); args 428 drivers/mux/core.c struct of_phandle_args args; args 446 drivers/mux/core.c index, &args); args 453 drivers/mux/core.c mux_chip = of_find_mux_chip_by_node(args.np); args 454 drivers/mux/core.c of_node_put(args.np); args 458 drivers/mux/core.c if (args.args_count > 1 || args 459 drivers/mux/core.c (!args.args_count && (mux_chip->controllers > 1))) { args 461 drivers/mux/core.c np, args.np); args 467 drivers/mux/core.c if (args.args_count) args 468 drivers/mux/core.c controller = args.args[0]; args 472 drivers/mux/core.c np, controller, args.np); args 171 drivers/net/can/usb/peak_usb/pcan_usb.c u8 args[PCAN_USB_CMD_ARGS_LEN] = { args 175 drivers/net/can/usb/peak_usb/pcan_usb.c return pcan_usb_send_cmd(dev, 9, 2, args); args 180 drivers/net/can/usb/peak_usb/pcan_usb.c u8 args[PCAN_USB_CMD_ARGS_LEN] = { args 184 drivers/net/can/usb/peak_usb/pcan_usb.c return pcan_usb_send_cmd(dev, 3, 2, args); args 189 drivers/net/can/usb/peak_usb/pcan_usb.c u8 args[PCAN_USB_CMD_ARGS_LEN] = { args 193 drivers/net/can/usb/peak_usb/pcan_usb.c return pcan_usb_send_cmd(dev, 3, 3, args); args 198 drivers/net/can/usb/peak_usb/pcan_usb.c u8 args[PCAN_USB_CMD_ARGS_LEN] = { args 202 drivers/net/can/usb/peak_usb/pcan_usb.c return pcan_usb_send_cmd(dev, 10, 2, args); args 211 drivers/net/can/usb/peak_usb/pcan_usb.c u8 args[PCAN_USB_CMD_ARGS_LEN]; args 223 drivers/net/can/usb/peak_usb/pcan_usb.c args[0] = btr1; args 224 drivers/net/can/usb/peak_usb/pcan_usb.c args[1] = btr0; args 226 drivers/net/can/usb/peak_usb/pcan_usb.c return pcan_usb_send_cmd(dev, 1, 2, args); args 307 drivers/net/can/usb/peak_usb/pcan_usb.c u8 args[PCAN_USB_CMD_ARGS_LEN]; args 310 drivers/net/can/usb/peak_usb/pcan_usb.c err = pcan_usb_wait_rsp(dev, 6, 1, args); args 316 drivers/net/can/usb/peak_usb/pcan_usb.c memcpy(&tmp32, args, 4); args 328 drivers/net/can/usb/peak_usb/pcan_usb.c u8 args[PCAN_USB_CMD_ARGS_LEN]; args 331 drivers/net/can/usb/peak_usb/pcan_usb.c err = pcan_usb_wait_rsp(dev, 4, 1, args); args 335 drivers/net/can/usb/peak_usb/pcan_usb.c *device_id = args[0]; args 827 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c struct fwnode_reference_args args; args 833 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c &args); args 834 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c if (ACPI_FAILURE(status) || !is_acpi_device_node(args.fwnode)) { args 839 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c return to_acpi_device_node(args.fwnode); args 57 drivers/net/ethernet/apple/bmac.c #define XXDEBUG(args) args 250 drivers/net/ethernet/cisco/enic/vnic_dev.c writeq(vdev->args[i], &devcmd->args[i]); args 272 drivers/net/ethernet/cisco/enic/vnic_dev.c err = (int)readq(&devcmd->args[0]); args 286 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[i] = readq(&devcmd->args[i]); args 327 drivers/net/ethernet/cisco/enic/vnic_dev.c dc2c->cmd_ring[posted].args[i] = vdev->args[i]; args 361 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[i] = result->results[i]; args 422 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[0] = (u64)vdev->devcmd2->results_ring.base_addr | args 424 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[1] = DEVCMD2_RING_SIZE; args 462 drivers/net/ethernet/cisco/enic/vnic_dev.c memset(vdev->args, 0, sizeof(vdev->args)); args 464 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[0] = vdev->proxy_index; args 465 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[1] = cmd; args 466 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[2] = *a0; args 467 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[3] = *a1; args 473 drivers/net/ethernet/cisco/enic/vnic_dev.c status = (u32)vdev->args[0]; args 475 drivers/net/ethernet/cisco/enic/vnic_dev.c err = (int)vdev->args[1]; args 483 drivers/net/ethernet/cisco/enic/vnic_dev.c *a0 = vdev->args[1]; args 484 drivers/net/ethernet/cisco/enic/vnic_dev.c *a1 = vdev->args[2]; args 494 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[0] = *a0; args 495 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->args[1] = *a1; args 499 drivers/net/ethernet/cisco/enic/vnic_dev.c *a0 = vdev->args[0]; args 500 drivers/net/ethernet/cisco/enic/vnic_dev.c *a1 = vdev->args[1]; args 520 drivers/net/ethernet/cisco/enic/vnic_dev.c memset(vdev->args, 0, sizeof(vdev->args)); args 958 drivers/net/ethernet/cisco/enic/vnic_dev.c memset(vdev->args, 0, sizeof(vdev->args)); args 969 drivers/net/ethernet/cisco/enic/vnic_dev.c (!err && !(vdev->args[0] && vdev->args[1] && vdev->args[2]))) { args 976 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->intr_coal_timer_info.mul = (u32) vdev->args[0]; args 977 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->intr_coal_timer_info.div = (u32) vdev->args[1]; args 978 drivers/net/ethernet/cisco/enic/vnic_dev.c vdev->intr_coal_timer_info.max_usec = (u32) vdev->args[2]; args 108 drivers/net/ethernet/cisco/enic/vnic_dev.h u64 args[VNIC_DEVCMD_NARGS]; args 679 drivers/net/ethernet/cisco/enic/vnic_devcmd.h u64 args[VNIC_DEVCMD_NARGS]; /* RW cmd args (little-endian) */ args 689 drivers/net/ethernet/cisco/enic/vnic_devcmd.h u64 args[VNIC_DEVCMD2_NARGS]; args 594 drivers/net/ethernet/dec/tulip/de4x5.c static char *args = DE4X5_PARM; args 596 drivers/net/ethernet/dec/tulip/de4x5.c static char *args; args 1021 drivers/net/ethernet/dec/tulip/de4x5.c module_param(args, charp, 0); args 1026 drivers/net/ethernet/dec/tulip/de4x5.c MODULE_PARM_DESC(args, "de4x5 full duplex and media type settings; see de4x5.c for details"); args 5188 drivers/net/ethernet/dec/tulip/de4x5.c if (args == NULL) return; args 5190 drivers/net/ethernet/dec/tulip/de4x5.c if ((p = strstr(args, dev->name))) { args 60 drivers/net/ethernet/freescale/ucc_geth.c #define ugeth_vdbg(fmt, args...) do { } while (0) args 941 drivers/net/ethernet/hisilicon/hip04_eth.c priv->port = arg.args[0]; args 942 drivers/net/ethernet/hisilicon/hip04_eth.c priv->chan = arg.args[1] * RX_DESC_NUM; args 943 drivers/net/ethernet/hisilicon/hip04_eth.c priv->group = arg.args[2]; args 732 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct fwnode_reference_args args; args 743 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_cb->fw_port, "mdio-node", 0, &args); args 746 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c if (!is_acpi_device_node(args.fwnode)) args 754 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c pdev = hns_dsaf_find_platform_device(args.fwnode); args 912 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c mac_cb->cpld_ctrl_reg = cpld_args.args[0]; args 2293 drivers/net/ethernet/hisilicon/hns/hns_enet.c struct fwnode_reference_args args; args 2304 drivers/net/ethernet/hisilicon/hns/hns_enet.c "ae-handle", 0, &args); args 2309 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (!is_acpi_device_node(args.fwnode)) { args 2313 drivers/net/ethernet/hisilicon/hns/hns_enet.c priv->fwnode = args.fwnode; args 474 drivers/net/ethernet/hisilicon/hns_mdio.c (u16)reg_args.args[0]; args 476 drivers/net/ethernet/hisilicon/hns_mdio.c (u16)reg_args.args[0] + 4; args 478 drivers/net/ethernet/hisilicon/hns_mdio.c (u16)reg_args.args[1]; args 480 drivers/net/ethernet/hisilicon/hns_mdio.c (u16)reg_args.args[1] + 4; args 482 drivers/net/ethernet/hisilicon/hns_mdio.c (u16)reg_args.args[2]; args 484 drivers/net/ethernet/hisilicon/hns_mdio.c (u16)reg_args.args[3]; args 144 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c va_list args; args 146 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c va_start(args, size); args 147 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c vsnprintf(*p, ETH_GSTRING_LEN, stats[i].stat_string, args); args 149 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c va_end(args); args 205 drivers/net/ethernet/intel/i40e/i40e_ethtool.c va_list args; args 207 drivers/net/ethernet/intel/i40e/i40e_ethtool.c va_start(args, size); args 208 drivers/net/ethernet/intel/i40e/i40e_ethtool.c vsnprintf(*p, ETH_GSTRING_LEN, stats[i].stat_string, args); args 210 drivers/net/ethernet/intel/i40e/i40e_ethtool.c va_end(args); args 48 drivers/net/ethernet/intel/i40e/i40e_trace.h #define i40e_trace(trace_name, args...) I40E_TRACE_NAME(trace_name)(args) args 196 drivers/net/ethernet/intel/iavf/iavf_ethtool.c va_list args; args 198 drivers/net/ethernet/intel/iavf/iavf_ethtool.c va_start(args, size); args 199 drivers/net/ethernet/intel/iavf/iavf_ethtool.c vsnprintf(*p, ETH_GSTRING_LEN, stats[i].stat_string, args); args 201 drivers/net/ethernet/intel/iavf/iavf_ethtool.c va_end(args); args 48 drivers/net/ethernet/intel/iavf/iavf_trace.h #define iavf_trace(trace_name, args...) IAVF_TRACE_NAME(trace_name)(args) args 31 drivers/net/ethernet/intel/ice/ice_osdep.h #define ice_debug(hw, type, fmt, args...) \ args 32 drivers/net/ethernet/intel/ice/ice_osdep.h dev_dbg(ice_hw_to_dev(hw), fmt, ##args) args 39 drivers/net/ethernet/intel/ice/ice_osdep.h #define ice_debug(hw, type, fmt, args...) \ args 42 drivers/net/ethernet/intel/ice/ice_osdep.h dev_info(ice_hw_to_dev(hw), fmt, ##args); \ args 33 drivers/net/ethernet/jme.h #define tx_dbg(priv, fmt, args...) \ args 34 drivers/net/ethernet/jme.h printk(KERN_DEBUG "%s: " fmt, (priv)->dev->name, ##args) args 36 drivers/net/ethernet/jme.h #define tx_dbg(priv, fmt, args...) \ args 39 drivers/net/ethernet/jme.h printk(KERN_DEBUG "%s: " fmt, (priv)->dev->name, ##args); \ args 84 drivers/net/ethernet/mellanox/mlx4/en_main.c va_list args; args 87 drivers/net/ethernet/mellanox/mlx4/en_main.c va_start(args, format); args 90 drivers/net/ethernet/mellanox/mlx4/en_main.c vaf.va = &args; args 98 drivers/net/ethernet/mellanox/mlx4/en_main.c va_end(args); args 819 drivers/net/ethernet/mscc/ocelot.c if (dump->idx < dump->cb->args[2]) args 68 drivers/net/ethernet/neterion/s2io.h #define DBG_PRINT(dbg_level, fmt, args...) do { \ args 70 drivers/net/ethernet/neterion/s2io.h pr_info(fmt, ##args); \ args 110 drivers/net/ethernet/netronome/nfp/flower/cmsg.h #define nfp_flower_cmsg_warn(app, fmt, args...) \ args 113 drivers/net/ethernet/netronome/nfp/flower/cmsg.h nfp_warn((app)->cpp, fmt, ## args); \ args 27 drivers/net/ethernet/netronome/nfp/nfp_net.h #define nn_pr(nn, lvl, fmt, args...) \ args 32 drivers/net/ethernet/netronome/nfp/nfp_net.h netdev_printk(lvl, __nn->dp.netdev, fmt, ## args); \ args 34 drivers/net/ethernet/netronome/nfp/nfp_net.h dev_printk(lvl, __nn->dp.dev, "ctrl: " fmt, ## args); \ args 37 drivers/net/ethernet/netronome/nfp/nfp_net.h #define nn_err(nn, fmt, args...) nn_pr(nn, KERN_ERR, fmt, ## args) args 38 drivers/net/ethernet/netronome/nfp/nfp_net.h #define nn_warn(nn, fmt, args...) nn_pr(nn, KERN_WARNING, fmt, ## args) args 39 drivers/net/ethernet/netronome/nfp/nfp_net.h #define nn_info(nn, fmt, args...) nn_pr(nn, KERN_INFO, fmt, ## args) args 40 drivers/net/ethernet/netronome/nfp/nfp_net.h #define nn_dbg(nn, fmt, args...) nn_pr(nn, KERN_DEBUG, fmt, ## args) args 42 drivers/net/ethernet/netronome/nfp/nfp_net.h #define nn_dp_warn(dp, fmt, args...) \ args 48 drivers/net/ethernet/netronome/nfp/nfp_net.h netdev_warn(__dp->netdev, fmt, ## args); \ args 50 drivers/net/ethernet/netronome/nfp/nfp_net.h dev_warn(__dp->dev, fmt, ## args); \ args 414 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c va_list args; args 416 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c va_start(args, fmt); args 417 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c vsnprintf(data, ETH_GSTRING_LEN, fmt, args); args 418 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c va_end(args); args 21 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_err(cpp, fmt, args...) \ args 22 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_err(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) args 23 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_warn(cpp, fmt, args...) \ args 24 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_warn(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) args 25 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_info(cpp, fmt, args...) \ args 26 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_info(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) args 27 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_dbg(cpp, fmt, args...) \ args 28 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h dev_dbg(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) args 29 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h #define nfp_printk(level, cpp, fmt, args...) \ args 31 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h NFP_SUBSYS ": " fmt, ## args) args 1285 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c #define NFP_EXPL_OP(func, expl, args...) \ args 1291 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c err = cpp->op->func(expl, ##args); \ args 1295 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c #define NFP_EXPL_OP_NR(func, expl, args...) \ args 1300 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c cpp->op->func(expl, ##args); \ args 2922 drivers/net/ethernet/qlogic/qed/qed_hsi.h union init_write_args args; args 239 drivers/net/ethernet/qlogic/qed/qed_init_ops.c u32 dmae_array_offset = le32_to_cpu(cmd->args.array_offset); args 313 drivers/net/ethernet/qlogic/qed/qed_init_ops.c union init_write_args *arg = &p_cmd->args; args 326 drivers/net/ethernet/qlogic/qed/qed_init_ops.c data = le32_to_cpu(p_cmd->args.inline_val); args 330 drivers/net/ethernet/qlogic/qed/qed_init_ops.c data = le32_to_cpu(p_cmd->args.zeros_count); args 193 drivers/net/ethernet/qlogic/qede/qede.h u32 args[QEDE_DUMP_MAX_ARGS]; args 509 drivers/net/ethernet/qlogic/qede/qede.h void (*func)(struct qede_dev *edev, struct qede_reload_args *args); args 561 drivers/net/ethernet/qlogic/qede/qede.h struct qede_reload_args *args, bool is_locked); args 1052 drivers/net/ethernet/qlogic/qede/qede_ethtool.c struct qede_reload_args *args) args 1054 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->ndev->mtu = args->u.mtu; args 1061 drivers/net/ethernet/qlogic/qede/qede_ethtool.c struct qede_reload_args args; args 1070 drivers/net/ethernet/qlogic/qede/qede_ethtool.c args.u.mtu = new_mtu; args 1071 drivers/net/ethernet/qlogic/qede/qede_ethtool.c args.func = &qede_update_mtu; args 1072 drivers/net/ethernet/qlogic/qede/qede_ethtool.c qede_reload(edev, &args, false); args 2000 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->dump_info.args[edev->dump_info.num_args] = val->flag; args 2029 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->dump_info.args[0]); args 2068 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->dump_info.args[0], args 2069 drivers/net/ethernet/qlogic/qede/qede_ethtool.c edev->dump_info.args[1]); args 2084 drivers/net/ethernet/qlogic/qede/qede_ethtool.c memset(edev->dump_info.args, 0, sizeof(edev->dump_info.args)); args 932 drivers/net/ethernet/qlogic/qede/qede_filter.c struct qede_reload_args *args) args 934 drivers/net/ethernet/qlogic/qede/qede_filter.c edev->ndev->features = args->u.features; args 959 drivers/net/ethernet/qlogic/qede/qede_filter.c struct qede_reload_args args; args 961 drivers/net/ethernet/qlogic/qede/qede_filter.c args.u.features = features; args 962 drivers/net/ethernet/qlogic/qede/qede_filter.c args.func = &qede_set_features_reload; args 970 drivers/net/ethernet/qlogic/qede/qede_filter.c args.func(edev, &args); args 972 drivers/net/ethernet/qlogic/qede/qede_filter.c qede_reload(edev, &args, true); args 1093 drivers/net/ethernet/qlogic/qede/qede_filter.c struct qede_reload_args *args) args 1097 drivers/net/ethernet/qlogic/qede/qede_filter.c old = xchg(&edev->xdp_prog, args->u.new_prog); args 1104 drivers/net/ethernet/qlogic/qede/qede_filter.c struct qede_reload_args args; args 1107 drivers/net/ethernet/qlogic/qede/qede_filter.c args.func = &qede_xdp_reload_func; args 1108 drivers/net/ethernet/qlogic/qede/qede_filter.c args.u.new_prog = prog; args 1109 drivers/net/ethernet/qlogic/qede/qede_filter.c qede_reload(edev, &args, false); args 2335 drivers/net/ethernet/qlogic/qede/qede_main.c struct qede_reload_args *args, bool is_locked) args 2346 drivers/net/ethernet/qlogic/qede/qede_main.c if (args) args 2347 drivers/net/ethernet/qlogic/qede/qede_main.c args->func(edev, args); args 2352 drivers/net/ethernet/qlogic/qede/qede_main.c } else if (args) { args 2353 drivers/net/ethernet/qlogic/qede/qede_main.c args->func(edev, args); args 40 drivers/net/ethernet/sgi/meth.c #define DPRINTK(str,args...) printk(KERN_DEBUG "meth: %s: " str, __func__ , ## args) args 43 drivers/net/ethernet/sgi/meth.c #define DPRINTK(str,args...) args 97 drivers/net/ethernet/smsc/smc911x.c #define DBG(n, dev, args...) \ args 100 drivers/net/ethernet/smsc/smc911x.c netdev_dbg(dev, args); \ args 103 drivers/net/ethernet/smsc/smc911x.c #define PRINTK(dev, args...) netdev_info(dev, args) args 105 drivers/net/ethernet/smsc/smc911x.c #define DBG(n, dev, args...) do { } while (0) args 106 drivers/net/ethernet/smsc/smc911x.c #define PRINTK(dev, args...) netdev_dbg(dev, args) args 40 drivers/net/ethernet/smsc/smsc911x.h #define SMSC_WARN(pdata, nlevel, fmt, args...) \ args 42 drivers/net/ethernet/smsc/smsc911x.h "%s: " fmt "\n", __func__, ##args) args 44 drivers/net/ethernet/smsc/smsc911x.h #define SMSC_WARN(pdata, nlevel, fmt, args...) \ args 45 drivers/net/ethernet/smsc/smsc911x.h no_printk(fmt "\n", ##args) args 49 drivers/net/ethernet/smsc/smsc911x.h #define SMSC_TRACE(pdata, nlevel, fmt, args...) \ args 50 drivers/net/ethernet/smsc/smsc911x.h netif_info(pdata, nlevel, pdata->dev, fmt "\n", ##args) args 52 drivers/net/ethernet/smsc/smsc911x.h #define SMSC_TRACE(pdata, nlevel, fmt, args...) \ args 53 drivers/net/ethernet/smsc/smsc911x.h no_printk(fmt "\n", ##args) args 1557 drivers/net/ethernet/socionext/sni_ave.c struct of_phandle_args args; args 1669 drivers/net/ethernet/socionext/sni_ave.c 1, 0, &args); args 1674 drivers/net/ethernet/socionext/sni_ave.c priv->regmap = syscon_node_to_regmap(args.np); args 1675 drivers/net/ethernet/socionext/sni_ave.c of_node_put(args.np); args 1681 drivers/net/ethernet/socionext/sni_ave.c ret = priv->data->get_pinmode(priv, phy_mode, args.args[0]); args 654 drivers/net/ethernet/synopsys/dwc-xlgmac.h #define XLGMAC_PR(fmt, args...) \ args 655 drivers/net/ethernet/synopsys/dwc-xlgmac.h pr_alert("[%s,%d]:" fmt, __func__, __LINE__, ## args) args 530 drivers/net/ethernet/tehuti/tehuti.h #define DBG2(fmt, args...) \ args 531 drivers/net/ethernet/tehuti/tehuti.h pr_err("%s:%-5d: " fmt, __func__, __LINE__, ## args) args 542 drivers/net/ethernet/tehuti/tehuti.h #define RET(args...) \ args 545 drivers/net/ethernet/tehuti/tehuti.h return args; \ args 548 drivers/net/ethernet/tehuti/tehuti.h #define DBG(fmt, args...) \ args 549 drivers/net/ethernet/tehuti/tehuti.h pr_err("%s:%-5d: " fmt, __func__, __LINE__, ## args) args 552 drivers/net/ethernet/tehuti/tehuti.h #define RET(args...) return args args 553 drivers/net/ethernet/tehuti/tehuti.h #define DBG(fmt, args...) \ args 556 drivers/net/ethernet/tehuti/tehuti.h pr_err(fmt, ##args); \ args 43 drivers/net/ethernet/ti/tlan.h #define TLAN_DBG(lvl, format, args...) \ args 46 drivers/net/ethernet/ti/tlan.h printk(KERN_DEBUG "TLAN: " format, ##args); \ args 1310 drivers/net/ethernet/via/via-velocity.h #define VELOCITY_DBG(p,args...) printk(p, ##args) args 1316 drivers/net/ethernet/via/via-velocity.h #define VELOCITY_PRT(l, p, args...) do {if (l<=msglevel) printk( p ,##args);} while (0) args 1698 drivers/net/fddi/defxx.h #define DBG_printk(args...) printk(args) args 1700 drivers/net/fddi/defxx.h #define DBG_printk(args...) args 52 drivers/net/fddi/skfp/h/osdef1st.h #define printf(s,args...) printk(KERN_INFO s, ## args) args 1251 drivers/net/gtp.c struct gtp_dev *last_gtp = (struct gtp_dev *)cb->args[2], *gtp; args 1252 drivers/net/gtp.c int i, j, bucket = cb->args[0], skip = cb->args[1]; args 1259 drivers/net/gtp.c if (cb->args[4]) args 1279 drivers/net/gtp.c cb->args[0] = i; args 1280 drivers/net/gtp.c cb->args[1] = j; args 1281 drivers/net/gtp.c cb->args[2] = (unsigned long)gtp; args 1290 drivers/net/gtp.c cb->args[4] = 1; args 334 drivers/net/ieee802154/mac802154_hwsim.c int idx = cb->args[0]; args 355 drivers/net/ieee802154/mac802154_hwsim.c cb->args[0] = idx; args 2606 drivers/net/macsec.c dev_idx = cb->args[0]; args 2631 drivers/net/macsec.c cb->args[0] = d; args 1909 drivers/net/phy/sfp.c struct fwnode_reference_args args; args 1913 drivers/net/phy/sfp.c ret = acpi_node_get_property_reference(fw, "i2c-bus", 0, &args); args 1914 drivers/net/phy/sfp.c if (ret || !is_acpi_device_node(args.fwnode)) { args 1919 drivers/net/phy/sfp.c acpi_handle = ACPI_HANDLE_FWNODE(args.fwnode); args 84 drivers/net/tun.c #define tun_debug(level, tun, fmt, args...) \ args 87 drivers/net/tun.c netdev_printk(level, tun->dev, fmt, ##args); \ args 89 drivers/net/tun.c #define DBG1(level, fmt, args...) \ args 92 drivers/net/tun.c printk(level fmt, ##args); \ args 95 drivers/net/tun.c #define tun_debug(level, tun, fmt, args...) \ args 98 drivers/net/tun.c netdev_printk(level, tun->dev, fmt, ##args); \ args 100 drivers/net/tun.c #define DBG1(level, fmt, args...) \ args 103 drivers/net/tun.c printk(level fmt, ##args); \ args 1232 drivers/net/vxlan.c if (*idx < cb->args[2]) args 514 drivers/net/wan/farsync.c #define dbg(F, fmt, args...) \ args 517 drivers/net/wan/farsync.c printk(KERN_DEBUG pr_fmt(fmt), ##args); \ args 520 drivers/net/wan/farsync.c #define dbg(F, fmt, args...) \ args 523 drivers/net/wan/farsync.c printk(KERN_DEBUG pr_fmt(fmt), ##args); \ args 1196 drivers/net/wimax/i2400m/control.c size_t args) args 1207 drivers/net/wimax/i2400m/control.c d_fnstart(3, dev, "(i2400m %p arg %p args %zu)\n", i2400m, arg, args); args 1209 drivers/net/wimax/i2400m/control.c if (args == 0) args 1214 drivers/net/wimax/i2400m/control.c for (argc = 0; argc < args; argc++) { args 1232 drivers/net/wimax/i2400m/control.c for (argc = 0; argc < args; argc++) { args 1259 drivers/net/wimax/i2400m/control.c i2400m, arg, args, result); args 1356 drivers/net/wimax/i2400m/control.c const struct i2400m_tlv_hdr *args[9]; args 1371 drivers/net/wimax/i2400m/control.c args[argc++] = &idle_params.hdr; args 1378 drivers/net/wimax/i2400m/control.c args[argc++] = &idle_timeout.hdr; args 1388 drivers/net/wimax/i2400m/control.c args[argc++] = &df.hdr; args 1398 drivers/net/wimax/i2400m/control.c args[argc++] = &dlhr.hdr; args 1401 drivers/net/wimax/i2400m/control.c result = i2400m_set_init_config(i2400m, args, argc); args 187 drivers/net/wimax/i2400m/rx.c struct i2400m_report_hook_args *args, *args_next; args 199 drivers/net/wimax/i2400m/rx.c list_for_each_entry_safe(args, args_next, &list, list_node) { args 200 drivers/net/wimax/i2400m/rx.c d_printf(2, dev, "processing queued report %p\n", args); args 201 drivers/net/wimax/i2400m/rx.c i2400m_report_hook(i2400m, args->l3l4_hdr, args->size); args 202 drivers/net/wimax/i2400m/rx.c kfree_skb(args->skb_rx); args 203 drivers/net/wimax/i2400m/rx.c list_del(&args->list_node); args 204 drivers/net/wimax/i2400m/rx.c kfree(args); args 217 drivers/net/wimax/i2400m/rx.c struct i2400m_report_hook_args *args, *args_next; args 225 drivers/net/wimax/i2400m/rx.c list_for_each_entry_safe(args, args_next, &list, list_node) { args 226 drivers/net/wimax/i2400m/rx.c d_printf(2, dev, "flushing queued report %p\n", args); args 227 drivers/net/wimax/i2400m/rx.c kfree_skb(args->skb_rx); args 228 drivers/net/wimax/i2400m/rx.c list_del(&args->list_node); args 229 drivers/net/wimax/i2400m/rx.c kfree(args); args 248 drivers/net/wimax/i2400m/rx.c struct i2400m_report_hook_args *args; args 250 drivers/net/wimax/i2400m/rx.c args = kzalloc(sizeof(*args), GFP_NOIO); args 251 drivers/net/wimax/i2400m/rx.c if (args) { args 252 drivers/net/wimax/i2400m/rx.c args->skb_rx = skb_get(skb_rx); args 253 drivers/net/wimax/i2400m/rx.c args->l3l4_hdr = l3l4_hdr; args 254 drivers/net/wimax/i2400m/rx.c args->size = size; args 256 drivers/net/wimax/i2400m/rx.c list_add_tail(&args->list_node, &i2400m->rx_reports); args 258 drivers/net/wimax/i2400m/rx.c d_printf(2, dev, "queued report %p\n", args); args 265 drivers/net/wimax/i2400m/rx.c __func__, __LINE__, sizeof(*args)); args 29 drivers/net/wireless/ath/ath10k/debug.c va_list args; args 31 drivers/net/wireless/ath/ath10k/debug.c va_start(args, fmt); args 32 drivers/net/wireless/ath/ath10k/debug.c vaf.va = &args; args 35 drivers/net/wireless/ath/ath10k/debug.c va_end(args); args 121 drivers/net/wireless/ath/ath10k/debug.c va_list args; args 123 drivers/net/wireless/ath/ath10k/debug.c va_start(args, fmt); args 124 drivers/net/wireless/ath/ath10k/debug.c vaf.va = &args; args 127 drivers/net/wireless/ath/ath10k/debug.c va_end(args); args 136 drivers/net/wireless/ath/ath10k/debug.c va_list args; args 138 drivers/net/wireless/ath/ath10k/debug.c va_start(args, fmt); args 139 drivers/net/wireless/ath/ath10k/debug.c vaf.va = &args; args 143 drivers/net/wireless/ath/ath10k/debug.c va_end(args); args 2671 drivers/net/wireless/ath/ath10k/debug.c va_list args; args 2673 drivers/net/wireless/ath/ath10k/debug.c va_start(args, fmt); args 2676 drivers/net/wireless/ath/ath10k/debug.c vaf.va = &args; args 2683 drivers/net/wireless/ath/ath10k/debug.c va_end(args); args 165 drivers/net/wireless/ath/ath10k/wmi-ops.h const struct wmi_sta_uapsd_auto_trig_arg *args, args 806 drivers/net/wireless/ath/ath10k/wmi-ops.h const struct wmi_sta_uapsd_auto_trig_arg *args, args 815 drivers/net/wireless/ath/ath10k/wmi-ops.h skb = ar->wmi.ops->gen_vdev_sta_uapsd(ar, vdev_id, peer_addr, args, args 2261 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_sta_uapsd_auto_trig_arg *args, args 2299 drivers/net/wireless/ath/ath10k/wmi-tlv.c ptr = ath10k_wmi_tlv_put_uapsd_ac(ar, ptr, &args[i]); args 3189 drivers/net/wireless/ath/ath5k/base.c va_list args; args 3191 drivers/net/wireless/ath/ath5k/base.c va_start(args, fmt); args 3194 drivers/net/wireless/ath/ath5k/base.c vaf.va = &args; args 3202 drivers/net/wireless/ath/ath5k/base.c va_end(args); args 43 drivers/net/wireless/ath/ath6kl/debug.c va_list args; args 45 drivers/net/wireless/ath/ath6kl/debug.c va_start(args, fmt); args 48 drivers/net/wireless/ath/ath6kl/debug.c vaf.va = &args; args 52 drivers/net/wireless/ath/ath6kl/debug.c va_end(args); args 61 drivers/net/wireless/ath/ath6kl/debug.c va_list args; args 63 drivers/net/wireless/ath/ath6kl/debug.c va_start(args, fmt); args 64 drivers/net/wireless/ath/ath6kl/debug.c vaf.va = &args; args 67 drivers/net/wireless/ath/ath6kl/debug.c va_end(args); args 76 drivers/net/wireless/ath/ath6kl/debug.c va_list args; args 78 drivers/net/wireless/ath/ath6kl/debug.c va_start(args, fmt); args 79 drivers/net/wireless/ath/ath6kl/debug.c vaf.va = &args; args 82 drivers/net/wireless/ath/ath6kl/debug.c va_end(args); args 91 drivers/net/wireless/ath/ath6kl/debug.c va_list args; args 93 drivers/net/wireless/ath/ath6kl/debug.c va_start(args, fmt); args 94 drivers/net/wireless/ath/ath6kl/debug.c vaf.va = &args; args 97 drivers/net/wireless/ath/ath6kl/debug.c va_end(args); args 133 drivers/net/wireless/ath/ath6kl/debug.c va_list args; args 135 drivers/net/wireless/ath/ath6kl/debug.c va_start(args, fmt); args 138 drivers/net/wireless/ath/ath6kl/debug.c vaf.va = &args; args 145 drivers/net/wireless/ath/ath6kl/debug.c va_end(args); args 47 drivers/net/wireless/ath/carl9170/debug.c #define ADD(buf, off, max, fmt, args...) \ args 48 drivers/net/wireless/ath/carl9170/debug.c off += snprintf(&buf[off], max - off, fmt, ##args); args 75 drivers/net/wireless/ath/main.c va_list args; args 77 drivers/net/wireless/ath/main.c va_start(args, fmt); args 80 drivers/net/wireless/ath/main.c vaf.va = &args; args 90 drivers/net/wireless/ath/main.c va_end(args); args 24 drivers/net/wireless/ath/wil6210/debug.c va_list args; args 26 drivers/net/wireless/ath/wil6210/debug.c va_start(args, fmt); args 28 drivers/net/wireless/ath/wil6210/debug.c vaf.va = &args; args 31 drivers/net/wireless/ath/wil6210/debug.c va_end(args); args 37 drivers/net/wireless/ath/wil6210/debug.c va_list args; args 42 drivers/net/wireless/ath/wil6210/debug.c va_start(args, fmt); args 44 drivers/net/wireless/ath/wil6210/debug.c vaf.va = &args; args 47 drivers/net/wireless/ath/wil6210/debug.c va_end(args); args 53 drivers/net/wireless/ath/wil6210/debug.c va_list args; args 58 drivers/net/wireless/ath/wil6210/debug.c va_start(args, fmt); args 60 drivers/net/wireless/ath/wil6210/debug.c vaf.va = &args; args 63 drivers/net/wireless/ath/wil6210/debug.c va_end(args); args 69 drivers/net/wireless/ath/wil6210/debug.c va_list args; args 71 drivers/net/wireless/ath/wil6210/debug.c va_start(args, fmt); args 73 drivers/net/wireless/ath/wil6210/debug.c vaf.va = &args; args 76 drivers/net/wireless/ath/wil6210/debug.c va_end(args); args 82 drivers/net/wireless/ath/wil6210/debug.c va_list args; args 84 drivers/net/wireless/ath/wil6210/debug.c va_start(args, fmt); args 86 drivers/net/wireless/ath/wil6210/debug.c vaf.va = &args; args 88 drivers/net/wireless/ath/wil6210/debug.c va_end(args); args 385 drivers/net/wireless/broadcom/b43/main.c va_list args; args 392 drivers/net/wireless/broadcom/b43/main.c va_start(args, fmt); args 395 drivers/net/wireless/broadcom/b43/main.c vaf.va = &args; args 400 drivers/net/wireless/broadcom/b43/main.c va_end(args); args 406 drivers/net/wireless/broadcom/b43/main.c va_list args; args 413 drivers/net/wireless/broadcom/b43/main.c va_start(args, fmt); args 416 drivers/net/wireless/broadcom/b43/main.c vaf.va = &args; args 421 drivers/net/wireless/broadcom/b43/main.c va_end(args); args 427 drivers/net/wireless/broadcom/b43/main.c va_list args; args 434 drivers/net/wireless/broadcom/b43/main.c va_start(args, fmt); args 437 drivers/net/wireless/broadcom/b43/main.c vaf.va = &args; args 442 drivers/net/wireless/broadcom/b43/main.c va_end(args); args 448 drivers/net/wireless/broadcom/b43/main.c va_list args; args 453 drivers/net/wireless/broadcom/b43/main.c va_start(args, fmt); args 456 drivers/net/wireless/broadcom/b43/main.c vaf.va = &args; args 461 drivers/net/wireless/broadcom/b43/main.c va_end(args); args 704 drivers/net/wireless/broadcom/b43/tables_phy_ht.c va_list args; args 711 drivers/net/wireless/broadcom/b43/tables_phy_ht.c va_start(args, num); args 716 drivers/net/wireless/broadcom/b43/tables_phy_ht.c value = va_arg(args, int); args 724 drivers/net/wireless/broadcom/b43/tables_phy_ht.c value = va_arg(args, int); args 732 drivers/net/wireless/broadcom/b43/tables_phy_ht.c value = va_arg(args, int); args 742 drivers/net/wireless/broadcom/b43/tables_phy_ht.c va_end(args); args 169 drivers/net/wireless/broadcom/b43legacy/main.c va_list args; args 174 drivers/net/wireless/broadcom/b43legacy/main.c va_start(args, fmt); args 177 drivers/net/wireless/broadcom/b43legacy/main.c vaf.va = &args; args 182 drivers/net/wireless/broadcom/b43legacy/main.c va_end(args); args 188 drivers/net/wireless/broadcom/b43legacy/main.c va_list args; args 193 drivers/net/wireless/broadcom/b43legacy/main.c va_start(args, fmt); args 196 drivers/net/wireless/broadcom/b43legacy/main.c vaf.va = &args; args 201 drivers/net/wireless/broadcom/b43legacy/main.c va_end(args); args 207 drivers/net/wireless/broadcom/b43legacy/main.c va_list args; args 212 drivers/net/wireless/broadcom/b43legacy/main.c va_start(args, fmt); args 215 drivers/net/wireless/broadcom/b43legacy/main.c vaf.va = &args; args 220 drivers/net/wireless/broadcom/b43legacy/main.c va_end(args); args 227 drivers/net/wireless/broadcom/b43legacy/main.c va_list args; args 229 drivers/net/wireless/broadcom/b43legacy/main.c va_start(args, fmt); args 232 drivers/net/wireless/broadcom/b43legacy/main.c vaf.va = &args; args 237 drivers/net/wireless/broadcom/b43legacy/main.c va_end(args); args 347 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c va_list args; args 349 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c va_start(args, fmt); args 352 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c vaf.va = &args; args 358 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c va_end(args); args 368 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c va_list args; args 370 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c va_start(args, fmt); args 371 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c vaf.va = &args; args 375 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c va_end(args); args 20 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c va_list args; args 22 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c va_start(args, fmt); args 23 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c vaf.va = &args; args 29 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c va_end(args); args 219 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c va_list args; \ args 221 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c va_start(args, fmt); \ args 222 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c vaf.va = &args; \ args 225 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c va_end(args); \ args 240 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c va_list args; args 242 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c va_start(args, fmt); args 243 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c vaf.va = &args; args 249 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c va_end(args); args 247 drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h #define BCMMSG(dev, fmt, args...) \ args 250 drivers/net/wireless/broadcom/brcm80211/brcmsmac/types.h wiphy_err(dev, "%s: " fmt, __func__, ##args); \ args 313 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c va_list args; args 315 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c va_start(args, fmt); args 318 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c vaf.va = &args; args 322 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c va_end(args); args 1272 drivers/net/wireless/cisco/airo.c #define airo_print(type, name, fmt, args...) \ args 1273 drivers/net/wireless/cisco/airo.c printk(type DRV_NAME "(%s): " fmt "\n", name, ##args) args 1275 drivers/net/wireless/cisco/airo.c #define airo_print_info(name, fmt, args...) \ args 1276 drivers/net/wireless/cisco/airo.c airo_print(KERN_INFO, name, fmt, ##args) args 1278 drivers/net/wireless/cisco/airo.c #define airo_print_dbg(name, fmt, args...) \ args 1279 drivers/net/wireless/cisco/airo.c airo_print(KERN_DEBUG, name, fmt, ##args) args 1281 drivers/net/wireless/cisco/airo.c #define airo_print_warn(name, fmt, args...) \ args 1282 drivers/net/wireless/cisco/airo.c airo_print(KERN_WARNING, name, fmt, ##args) args 1284 drivers/net/wireless/cisco/airo.c #define airo_print_err(name, fmt, args...) \ args 1285 drivers/net/wireless/cisco/airo.c airo_print(KERN_ERR, name, fmt, ##args) args 1383 drivers/net/wireless/intel/ipw2x00/ipw2200.h #define IPW_DEBUG(level, fmt, args...) \ args 1386 drivers/net/wireless/intel/ipw2x00/ipw2200.h in_interrupt() ? 'I' : 'U', __func__ , ## args); } while (0) args 1389 drivers/net/wireless/intel/ipw2x00/ipw2200.h #define IPW_LL_DEBUG(level, fmt, args...) \ args 1392 drivers/net/wireless/intel/ipw2x00/ipw2200.h in_interrupt() ? 'I' : 'U', __func__ , ## args); } while (0) args 1394 drivers/net/wireless/intel/ipw2x00/ipw2200.h #define IPW_LL_DEBUG(level, fmt, args...) do {} while (0) args 61 drivers/net/wireless/intel/ipw2x00/libipw.h #define LIBIPW_DEBUG(level, fmt, args...) \ args 64 drivers/net/wireless/intel/ipw2x00/libipw.h in_interrupt() ? 'I' : 'U', __func__ , ## args); } while (0) args 66 drivers/net/wireless/intel/ipw2x00/libipw.h #define LIBIPW_DEBUG(level, fmt, args...) do {} while (0) args 2928 drivers/net/wireless/intel/iwlegacy/common.h #define IL_DBG(level, fmt, args...) \ args 2932 drivers/net/wireless/intel/iwlegacy/common.h in_interrupt() ? 'I' : 'U', __func__ , ##args); \ args 2943 drivers/net/wireless/intel/iwlegacy/common.h #define IL_DBG(level, fmt, args...) args 449 drivers/net/wireless/intel/iwlwifi/dvm/agn.h #define IWL_DEBUG_QUIET_RFKILL(m, fmt, args...) \ args 452 drivers/net/wireless/intel/iwlwifi/dvm/agn.h IWL_ERR(m, fmt, ##args); \ args 456 drivers/net/wireless/intel/iwlwifi/dvm/agn.h fmt, ##args); \ args 459 drivers/net/wireless/intel/iwlwifi/dvm/agn.h #define IWL_DEBUG_QUIET_RFKILL(m, fmt, args...) \ args 462 drivers/net/wireless/intel/iwlwifi/dvm/agn.h IWL_ERR(m, fmt, ##args); \ args 464 drivers/net/wireless/intel/iwlwifi/dvm/agn.h __iwl_err((m)->dev, true, true, fmt, ##args); \ args 72 drivers/net/wireless/intel/iwlwifi/iwl-debug.c va_list args; \ args 74 drivers/net/wireless/intel/iwlwifi/iwl-debug.c va_start(args, fmt); \ args 75 drivers/net/wireless/intel/iwlwifi/iwl-debug.c vaf.va = &args; \ args 78 drivers/net/wireless/intel/iwlwifi/iwl-debug.c va_end(args); \ args 94 drivers/net/wireless/intel/iwlwifi/iwl-debug.c va_list args; args 96 drivers/net/wireless/intel/iwlwifi/iwl-debug.c va_start(args, fmt); args 97 drivers/net/wireless/intel/iwlwifi/iwl-debug.c vaf.va = &args; args 105 drivers/net/wireless/intel/iwlwifi/iwl-debug.c va_end(args); args 117 drivers/net/wireless/intel/iwlwifi/iwl-debug.c va_list args; args 119 drivers/net/wireless/intel/iwlwifi/iwl-debug.c va_start(args, fmt); args 120 drivers/net/wireless/intel/iwlwifi/iwl-debug.c vaf.va = &args; args 128 drivers/net/wireless/intel/iwlwifi/iwl-debug.c va_end(args); args 82 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define __IWL_DEBUG_DEV(dev, level, limit, fmt, args...) \ args 85 drivers/net/wireless/intel/iwlwifi/iwl-debug.h __iwl_dbg(dev, level, limit, __func__, fmt, ##args); \ args 87 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define IWL_DEBUG(m, level, fmt, args...) \ args 88 drivers/net/wireless/intel/iwlwifi/iwl-debug.h __IWL_DEBUG_DEV((m)->dev, level, false, fmt, ##args) args 89 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define IWL_DEBUG_DEV(dev, level, fmt, args...) \ args 90 drivers/net/wireless/intel/iwlwifi/iwl-debug.h __IWL_DEBUG_DEV(dev, level, false, fmt, ##args) args 91 drivers/net/wireless/intel/iwlwifi/iwl-debug.h #define IWL_DEBUG_LIMIT(m, level, fmt, args...) \ args 92 drivers/net/wireless/intel/iwlwifi/iwl-debug.h __IWL_DEBUG_DEV((m)->dev, level, true, fmt, ##args) args 1614 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c u8 args; args 1617 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c args = sscanf(buf, "%i %i", &mvm->dbgfs_prph_reg_addr, &value); args 1619 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (args == 1) args 1623 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (args != 2) args 951 drivers/net/wireless/intersil/hostap/hostap_wlan.h #define PDEBUG(n, args...) \ args 952 drivers/net/wireless/intersil/hostap/hostap_wlan.h do { if ((n) & DEBUG_MASK) printk(KERN_DEBUG args); } while (0) args 953 drivers/net/wireless/intersil/hostap/hostap_wlan.h #define PDEBUG2(n, args...) \ args 954 drivers/net/wireless/intersil/hostap/hostap_wlan.h do { if ((n) & DEBUG_MASK) printk(args); } while (0) args 958 drivers/net/wireless/intersil/hostap/hostap_wlan.h #define PDEBUG(n, args...) args 959 drivers/net/wireless/intersil/hostap/hostap_wlan.h #define PDEBUG2(n, args...) args 172 drivers/net/wireless/intersil/orinoco/orinoco.h #define DEBUG(n, args...) do { \ args 174 drivers/net/wireless/intersil/orinoco/orinoco.h printk(KERN_DEBUG args); \ args 177 drivers/net/wireless/intersil/orinoco/orinoco.h #define DEBUG(n, args...) do { } while (0) args 18 drivers/net/wireless/intersil/prism54/islpci_mgt.h #define K_DEBUG(f, m, args...) do { if(f & m) printk(KERN_DEBUG args); } while(0) args 19 drivers/net/wireless/intersil/prism54/islpci_mgt.h #define DEBUG(f, args...) K_DEBUG(f, pc_debug, args) args 3682 drivers/net/wireless/mac80211_hwsim.c int last_idx = cb->args[0] - 1; args 3710 drivers/net/wireless/mac80211_hwsim.c cb->args[0] = last_idx + 1; args 51 drivers/net/wireless/marvell/libertas/defs.h #define LBS_DEB_LL(grp, grpnam, fmt, args...) \ args 54 drivers/net/wireless/marvell/libertas/defs.h in_interrupt() ? " (INT)" : "", ## args); } while (0) args 56 drivers/net/wireless/marvell/libertas/defs.h #define LBS_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) args 59 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_main(fmt, args...) LBS_DEB_LL(LBS_DEB_MAIN, " main", fmt, ##args) args 60 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_net(fmt, args...) LBS_DEB_LL(LBS_DEB_NET, " net", fmt, ##args) args 61 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_mesh(fmt, args...) LBS_DEB_LL(LBS_DEB_MESH, " mesh", fmt, ##args) args 62 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_wext(fmt, args...) LBS_DEB_LL(LBS_DEB_WEXT, " wext", fmt, ##args) args 63 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_ioctl(fmt, args...) LBS_DEB_LL(LBS_DEB_IOCTL, " ioctl", fmt, ##args) args 64 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_scan(fmt, args...) LBS_DEB_LL(LBS_DEB_SCAN, " scan", fmt, ##args) args 65 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_assoc(fmt, args...) LBS_DEB_LL(LBS_DEB_ASSOC, " assoc", fmt, ##args) args 66 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_join(fmt, args...) LBS_DEB_LL(LBS_DEB_JOIN, " join", fmt, ##args) args 67 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_11d(fmt, args...) LBS_DEB_LL(LBS_DEB_11D, " 11d", fmt, ##args) args 68 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_debugfs(fmt, args...) LBS_DEB_LL(LBS_DEB_DEBUGFS, " debugfs", fmt, ##args) args 69 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_ethtool(fmt, args...) LBS_DEB_LL(LBS_DEB_ETHTOOL, " ethtool", fmt, ##args) args 70 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_host(fmt, args...) LBS_DEB_LL(LBS_DEB_HOST, " host", fmt, ##args) args 71 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_cmd(fmt, args...) LBS_DEB_LL(LBS_DEB_CMD, " cmd", fmt, ##args) args 72 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_rx(fmt, args...) LBS_DEB_LL(LBS_DEB_RX, " rx", fmt, ##args) args 73 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_tx(fmt, args...) LBS_DEB_LL(LBS_DEB_TX, " tx", fmt, ##args) args 74 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_fw(fmt, args...) LBS_DEB_LL(LBS_DEB_FW, " fw", fmt, ##args) args 75 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_usb(fmt, args...) LBS_DEB_LL(LBS_DEB_USB, " usb", fmt, ##args) args 76 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_usbd(dev, fmt, args...) LBS_DEB_LL(LBS_DEB_USB, " usbd", "%s:" fmt, dev_name(dev), ##args) args 77 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_cs(fmt, args...) LBS_DEB_LL(LBS_DEB_CS, " cs", fmt, ##args) args 78 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_thread(fmt, args...) LBS_DEB_LL(LBS_DEB_THREAD, " thread", fmt, ##args) args 79 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_sdio(fmt, args...) LBS_DEB_LL(LBS_DEB_SDIO, " sdio", fmt, ##args) args 80 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_sysfs(fmt, args...) LBS_DEB_LL(LBS_DEB_SYSFS, " sysfs", fmt, ##args) args 81 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_spi(fmt, args...) LBS_DEB_LL(LBS_DEB_SPI, " spi", fmt, ##args) args 82 drivers/net/wireless/marvell/libertas/defs.h #define lbs_deb_cfg80211(fmt, args...) LBS_DEB_LL(LBS_DEB_CFG80211, " cfg80211", fmt, ##args) args 49 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \ args 52 drivers/net/wireless/marvell/libertas_tf/deb_defs.h in_interrupt() ? " (INT)" : "", ## args); } while (0) args 54 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) args 59 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_enter_args(grp, fmt, args...) \ args 60 drivers/net/wireless/marvell/libertas_tf/deb_defs.h LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args); args 63 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_leave_args(grp, fmt, args...) \ args 65 drivers/net/wireless/marvell/libertas_tf/deb_defs.h __func__, ##args); args 66 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_main(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args) args 67 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_net(fmt, args...) LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args) args 68 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_mesh(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args) args 69 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_wext(fmt, args...) LBTF_DEB_LL(LBTF_DEB_WEXT, " wext", fmt, ##args) args 70 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_ioctl(fmt, args...) LBTF_DEB_LL(LBTF_DEB_IOCTL, " ioctl", fmt, ##args) args 71 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_scan(fmt, args...) LBTF_DEB_LL(LBTF_DEB_SCAN, " scan", fmt, ##args) args 72 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_assoc(fmt, args...) LBTF_DEB_LL(LBTF_DEB_ASSOC, " assoc", fmt, ##args) args 73 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_join(fmt, args...) LBTF_DEB_LL(LBTF_DEB_JOIN, " join", fmt, ##args) args 74 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_11d(fmt, args...) LBTF_DEB_LL(LBTF_DEB_11D, " 11d", fmt, ##args) args 75 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_debugfs(fmt, args...) LBTF_DEB_LL(LBTF_DEB_DEBUGFS, " debugfs", fmt, ##args) args 76 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_ethtool(fmt, args...) LBTF_DEB_LL(LBTF_DEB_ETHTOOL, " ethtool", fmt, ##args) args 77 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_host(fmt, args...) LBTF_DEB_LL(LBTF_DEB_HOST, " host", fmt, ##args) args 78 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_cmd(fmt, args...) LBTF_DEB_LL(LBTF_DEB_CMD, " cmd", fmt, ##args) args 79 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_rx(fmt, args...) LBTF_DEB_LL(LBTF_DEB_RX, " rx", fmt, ##args) args 80 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_tx(fmt, args...) LBTF_DEB_LL(LBTF_DEB_TX, " tx", fmt, ##args) args 81 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_fw(fmt, args...) LBTF_DEB_LL(LBTF_DEB_FW, " fw", fmt, ##args) args 82 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_usb(fmt, args...) LBTF_DEB_LL(LBTF_DEB_USB, " usb", fmt, ##args) args 83 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_usbd(dev, fmt, args...) LBTF_DEB_LL(LBTF_DEB_USB, " usbd", "%s:" fmt, dev_name(dev), ##args) args 84 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_cs(fmt, args...) LBTF_DEB_LL(LBTF_DEB_CS, " cs", fmt, ##args) args 85 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_thread(fmt, args...) LBTF_DEB_LL(LBTF_DEB_THREAD, " thread", fmt, ##args) args 86 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_sdio(fmt, args...) LBTF_DEB_LL(LBTF_DEB_SDIO, " thread", fmt, ##args) args 87 drivers/net/wireless/marvell/libertas_tf/deb_defs.h #define lbtf_deb_macops(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MACOPS, " thread", fmt, ##args) args 1759 drivers/net/wireless/marvell/mwifiex/main.c va_list args; args 1764 drivers/net/wireless/marvell/mwifiex/main.c va_start(args, fmt); args 1767 drivers/net/wireless/marvell/mwifiex/main.c vaf.va = &args; args 1774 drivers/net/wireless/marvell/mwifiex/main.c va_end(args); args 17 drivers/net/wireless/realtek/rtlwifi/debug.c va_list args; args 19 drivers/net/wireless/realtek/rtlwifi/debug.c va_start(args, fmt); args 22 drivers/net/wireless/realtek/rtlwifi/debug.c vaf.va = &args; args 26 drivers/net/wireless/realtek/rtlwifi/debug.c va_end(args); args 37 drivers/net/wireless/realtek/rtlwifi/debug.c va_list args; args 39 drivers/net/wireless/realtek/rtlwifi/debug.c va_start(args, fmt); args 42 drivers/net/wireless/realtek/rtlwifi/debug.c vaf.va = &args; args 46 drivers/net/wireless/realtek/rtlwifi/debug.c va_end(args); args 737 drivers/net/wireless/realtek/rtw88/debug.c va_list args; args 739 drivers/net/wireless/realtek/rtw88/debug.c va_start(args, fmt); args 740 drivers/net/wireless/realtek/rtw88/debug.c vaf.va = &args; args 745 drivers/net/wireless/realtek/rtw88/debug.c va_end(args); args 419 drivers/net/wireless/realtek/rtw88/main.h void *args; args 57 drivers/net/wireless/rsi/rsi_91x_main.c va_list args; args 59 drivers/net/wireless/rsi/rsi_91x_main.c va_start(args, fmt); args 62 drivers/net/wireless/rsi/rsi_91x_main.c vaf.va = &args; args 66 drivers/net/wireless/rsi/rsi_91x_main.c va_end(args); args 34 drivers/net/wireless/ti/wlcore/debugfs.c va_list args; args 38 drivers/net/wireless/ti/wlcore/debugfs.c va_start(args, fmt); args 39 drivers/net/wireless/ti/wlcore/debugfs.c res = vscnprintf(buf, sizeof(buf), fmt, args); args 40 drivers/net/wireless/ti/wlcore/debugfs.c va_end(args); args 454 drivers/net/wireless/ti/wlcore/debugfs.c #define DRIVER_STATE_PRINT_GENERIC(x, fmt, args...) \ args 456 drivers/net/wireless/ti/wlcore/debugfs.c #x " = " fmt "\n", args)) args 17 drivers/net/wireless/zydas/zd1211rw/zd_def.h #define dev_printk_f(level, dev, fmt, args...) \ args 18 drivers/net/wireless/zydas/zd1211rw/zd_def.h dev_printk(level, dev, "%s() " fmt, __func__, ##args) args 21 drivers/net/wireless/zydas/zd1211rw/zd_def.h # define dev_dbg_f(dev, fmt, args...) \ args 22 drivers/net/wireless/zydas/zd1211rw/zd_def.h dev_printk_f(KERN_DEBUG, dev, fmt, ## args) args 23 drivers/net/wireless/zydas/zd1211rw/zd_def.h # define dev_dbg_f_limit(dev, fmt, args...) do { \ args 25 drivers/net/wireless/zydas/zd1211rw/zd_def.h dev_printk_f(KERN_DEBUG, dev, fmt, ## args); \ args 27 drivers/net/wireless/zydas/zd1211rw/zd_def.h # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \ args 30 drivers/net/wireless/zydas/zd1211rw/zd_def.h dev_printk_f(KERN_DEBUG, dev, fmt, ## args); \ args 33 drivers/net/wireless/zydas/zd1211rw/zd_def.h # define dev_dbg_f(dev, fmt, args...) do { (void)(dev); } while (0) args 34 drivers/net/wireless/zydas/zd1211rw/zd_def.h # define dev_dbg_f_limit(dev, fmt, args...) do { (void)(dev); } while (0) args 35 drivers/net/wireless/zydas/zd1211rw/zd_def.h # define dev_dbg_f_cond(dev, cond, fmt, args...) do { (void)(dev); } while (0) args 16 drivers/nfc/nfcsim.c #define NFCSIM_ERR(d, fmt, args...) nfc_err(&d->nfc_digital_dev->nfc_dev->dev, \ args 17 drivers/nfc/nfcsim.c "%s: " fmt, __func__, ## args) args 19 drivers/nfc/nfcsim.c #define NFCSIM_DBG(d, fmt, args...) dev_dbg(&d->nfc_digital_dev->nfc_dev->dev, \ args 20 drivers/nfc/nfcsim.c "%s: " fmt, __func__, ## args) args 113 drivers/nfc/s3fwrn5/firmware.c struct s3fwrn5_fw_cmd_enter_updatemode args; args 120 drivers/nfc/s3fwrn5/firmware.c args.hashcode_size = hash_size; args 121 drivers/nfc/s3fwrn5/firmware.c args.signature_size = sig_size; args 124 drivers/nfc/s3fwrn5/firmware.c S3FWRN5_FW_CMD_ENTER_UPDATE_MODE, &args, sizeof(args)); args 185 drivers/nfc/s3fwrn5/firmware.c struct s3fwrn5_fw_cmd_update_sector args; args 192 drivers/nfc/s3fwrn5/firmware.c args.base_address = base_addr; args 195 drivers/nfc/s3fwrn5/firmware.c S3FWRN5_FW_CMD_UPDATE_SECTOR, &args, sizeof(args)); args 488 drivers/nvdimm/security.c int args; args 515 drivers/nvdimm/security.c if (ops[i].args > 1) args 517 drivers/nvdimm/security.c if (rc >= 0 && ops[i].args > 2) args 621 drivers/nvme/host/fabrics.c substring_t args[MAX_OPT_ARGS]; args 648 drivers/nvme/host/fabrics.c token = match_token(p, opt_tokens, args); args 652 drivers/nvme/host/fabrics.c p = match_strdup(args); args 661 drivers/nvme/host/fabrics.c p = match_strdup(args); args 680 drivers/nvme/host/fabrics.c p = match_strdup(args); args 689 drivers/nvme/host/fabrics.c p = match_strdup(args); args 698 drivers/nvme/host/fabrics.c if (match_int(args, &token)) { args 711 drivers/nvme/host/fabrics.c if (match_int(args, &token)) { args 729 drivers/nvme/host/fabrics.c if (match_int(args, &token)) { args 745 drivers/nvme/host/fabrics.c if (match_int(args, &token)) { args 761 drivers/nvme/host/fabrics.c p = match_strdup(args); args 783 drivers/nvme/host/fabrics.c if (match_int(args, &token)) { args 795 drivers/nvme/host/fabrics.c p = match_strdup(args); args 804 drivers/nvme/host/fabrics.c p = match_strdup(args); args 831 drivers/nvme/host/fabrics.c if (match_int(args, &token)) { args 843 drivers/nvme/host/fabrics.c if (match_int(args, &token)) { args 855 drivers/nvme/host/fabrics.c if (match_int(args, &token)) { args 50 drivers/nvme/target/fcloop.c substring_t args[MAX_OPT_ARGS]; args 63 drivers/nvme/target/fcloop.c token = match_token(p, opt_tokens, args); args 67 drivers/nvme/target/fcloop.c if (match_u64(args, &token64)) { args 74 drivers/nvme/target/fcloop.c if (match_u64(args, &token64)) { args 81 drivers/nvme/target/fcloop.c if (match_int(args, &token)) { args 88 drivers/nvme/target/fcloop.c if (match_hex(args, &token)) { args 95 drivers/nvme/target/fcloop.c if (match_u64(args, &token64)) { args 102 drivers/nvme/target/fcloop.c if (match_u64(args, &token64)) { args 125 drivers/nvme/target/fcloop.c substring_t args[MAX_OPT_ARGS]; args 141 drivers/nvme/target/fcloop.c token = match_token(p, opt_tokens, args); args 144 drivers/nvme/target/fcloop.c if (match_u64(args, &token64)) { args 151 drivers/nvme/target/fcloop.c if (match_u64(args, &token64)) { args 682 drivers/of/address.c struct of_phandle_args args; args 691 drivers/of/address.c index, &args); args 695 drivers/of/address.c return of_node_get(args.np); args 1266 drivers/of/base.c void of_print_phandle_args(const char *msg, const struct of_phandle_args *args) args 1269 drivers/of/base.c printk("%s %pOF", msg, args->np); args 1270 drivers/of/base.c for (i = 0; i < args->args_count; i++) { args 1273 drivers/of/base.c pr_cont("%c%08x", delim, args->args[i]); args 1392 drivers/of/base.c uint32_t *args, args 1403 drivers/of/base.c args[i] = be32_to_cpup(it->cur++); args 1434 drivers/of/base.c out_args->args, args 1473 drivers/of/base.c struct of_phandle_args args; args 1479 drivers/of/base.c index, &args)) args 1482 drivers/of/base.c return args.np; args 1627 drivers/of/base.c initial_match_array[i] = cpu_to_be32(out_args->args[i]); args 1696 drivers/of/base.c val |= cpu_to_be32(out_args->args[i]) & pass[i]; args 1699 drivers/of/base.c out_args->args[i] = be32_to_cpu(val); args 155 drivers/of/irq.c initial_match_array[addrsize + i] = cpu_to_be32(out_irq->args[i]); args 254 drivers/of/irq.c out_irq->args[i] = be32_to_cpup(imap - newintsize + i); args 327 drivers/of/irq.c out_irq->args + i); args 332 drivers/of/irq.c pr_debug(" intspec=%d\n", *out_irq->args); args 659 drivers/of/irq.c struct of_phandle_args args; args 664 drivers/of/irq.c index, &args)) { args 665 drivers/of/irq.c d = irq_find_matching_host(args.np, token); args 669 drivers/of/irq.c of_node_put(args.np); args 907 drivers/of/property.c struct fwnode_reference_args *args) args 921 drivers/of/property.c if (!args) args 924 drivers/of/property.c args->nargs = of_args.args_count; args 925 drivers/of/property.c args->fwnode = of_fwnode_handle(of_args.np); args 928 drivers/of/property.c args->args[i] = i < of_args.args_count ? of_args.args[i] : 0; args 367 drivers/of/unittest.c struct of_phandle_args args; args 382 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 384 drivers/of/unittest.c "#phandle-cells", i, &args); args 390 drivers/of/unittest.c passed &= (args.args_count == 1); args 391 drivers/of/unittest.c passed &= (args.args[0] == (i + 1)); args 395 drivers/of/unittest.c passed &= (args.args_count == 2); args 396 drivers/of/unittest.c passed &= (args.args[0] == (i + 1)); args 397 drivers/of/unittest.c passed &= (args.args[1] == 0); args 404 drivers/of/unittest.c passed &= (args.args_count == 3); args 405 drivers/of/unittest.c passed &= (args.args[0] == (i + 1)); args 406 drivers/of/unittest.c passed &= (args.args[1] == 4); args 407 drivers/of/unittest.c passed &= (args.args[2] == 3); args 411 drivers/of/unittest.c passed &= (args.args_count == 2); args 412 drivers/of/unittest.c passed &= (args.args[0] == (i + 1)); args 413 drivers/of/unittest.c passed &= (args.args[1] == 100); args 417 drivers/of/unittest.c passed &= (args.args_count == 0); args 421 drivers/of/unittest.c passed &= (args.args_count == 1); args 422 drivers/of/unittest.c passed &= (args.args[0] == (i + 1)); args 432 drivers/of/unittest.c i, args.np, rc); args 436 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 438 drivers/of/unittest.c "#phandle-cells", 0, &args); args 445 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 447 drivers/of/unittest.c "#phandle-cells-missing", 0, &args); args 454 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 456 drivers/of/unittest.c "#phandle-cells", 0, &args); args 463 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 465 drivers/of/unittest.c "#phandle-cells", 1, &args); args 475 drivers/of/unittest.c struct of_phandle_args args; args 514 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 516 drivers/of/unittest.c "phandle", i, &args); args 522 drivers/of/unittest.c passed &= (args.np == p1); args 523 drivers/of/unittest.c passed &= (args.args_count == 1); args 524 drivers/of/unittest.c passed &= (args.args[0] == 1); args 528 drivers/of/unittest.c passed &= (args.np == p3); args 529 drivers/of/unittest.c passed &= (args.args_count == 3); args 530 drivers/of/unittest.c passed &= (args.args[0] == 2); args 531 drivers/of/unittest.c passed &= (args.args[1] == 5); args 532 drivers/of/unittest.c passed &= (args.args[2] == 3); args 539 drivers/of/unittest.c passed &= (args.np == p0); args 540 drivers/of/unittest.c passed &= (args.args_count == 0); args 544 drivers/of/unittest.c passed &= (args.np == p1); args 545 drivers/of/unittest.c passed &= (args.args_count == 1); args 546 drivers/of/unittest.c passed &= (args.args[0] == 3); args 550 drivers/of/unittest.c passed &= (args.np == p0); args 551 drivers/of/unittest.c passed &= (args.args_count == 0); args 555 drivers/of/unittest.c passed &= (args.np == p2); args 556 drivers/of/unittest.c passed &= (args.args_count == 2); args 557 drivers/of/unittest.c passed &= (args.args[0] == 15); args 558 drivers/of/unittest.c passed &= (args.args[1] == 0x20); args 568 drivers/of/unittest.c i, args.np->full_name, rc); args 572 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 574 drivers/of/unittest.c "phandle", 0, &args); args 578 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 580 drivers/of/unittest.c "phandle-missing", 0, &args); args 584 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 586 drivers/of/unittest.c "phandle", 0, &args); args 590 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 592 drivers/of/unittest.c "phandle", 1, &args); args 789 drivers/of/unittest.c struct of_phandle_args args; args 804 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 805 drivers/of/unittest.c rc = of_irq_parse_one(np, i, &args); args 808 drivers/of/unittest.c passed &= (args.args_count == 1); args 809 drivers/of/unittest.c passed &= (args.args[0] == (i + 1)); args 812 drivers/of/unittest.c i, args.np, rc); args 825 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 826 drivers/of/unittest.c rc = of_irq_parse_one(np, i, &args); args 832 drivers/of/unittest.c passed &= (args.args_count == 1); args 833 drivers/of/unittest.c passed &= (args.args[0] == 9); args 837 drivers/of/unittest.c passed &= (args.args_count == 3); args 838 drivers/of/unittest.c passed &= (args.args[0] == 10); args 839 drivers/of/unittest.c passed &= (args.args[1] == 11); args 840 drivers/of/unittest.c passed &= (args.args[2] == 12); args 844 drivers/of/unittest.c passed &= (args.args_count == 2); args 845 drivers/of/unittest.c passed &= (args.args[0] == 13); args 846 drivers/of/unittest.c passed &= (args.args[1] == 14); args 850 drivers/of/unittest.c passed &= (args.args_count == 2); args 851 drivers/of/unittest.c passed &= (args.args[0] == 15); args 852 drivers/of/unittest.c passed &= (args.args[1] == 16); args 858 drivers/of/unittest.c i, args.np, rc); args 866 drivers/of/unittest.c struct of_phandle_args args; args 881 drivers/of/unittest.c memset(&args, 0, sizeof(args)); args 882 drivers/of/unittest.c rc = of_irq_parse_one(np, i, &args); args 888 drivers/of/unittest.c passed &= (args.args_count == 1); args 889 drivers/of/unittest.c passed &= (args.args[0] == 1); args 893 drivers/of/unittest.c passed &= (args.args_count == 3); args 894 drivers/of/unittest.c passed &= (args.args[0] == 2); args 895 drivers/of/unittest.c passed &= (args.args[1] == 3); args 896 drivers/of/unittest.c passed &= (args.args[2] == 4); args 900 drivers/of/unittest.c passed &= (args.args_count == 2); args 901 drivers/of/unittest.c passed &= (args.args[0] == 5); args 902 drivers/of/unittest.c passed &= (args.args[1] == 6); args 906 drivers/of/unittest.c passed &= (args.args_count == 1); args 907 drivers/of/unittest.c passed &= (args.args[0] == 9); args 911 drivers/of/unittest.c passed &= (args.args_count == 3); args 912 drivers/of/unittest.c passed &= (args.args[0] == 10); args 913 drivers/of/unittest.c passed &= (args.args[1] == 11); args 914 drivers/of/unittest.c passed &= (args.args[2] == 12); args 918 drivers/of/unittest.c passed &= (args.args_count == 2); args 919 drivers/of/unittest.c passed &= (args.args[0] == 13); args 920 drivers/of/unittest.c passed &= (args.args[1] == 14); args 924 drivers/of/unittest.c passed &= (args.args_count == 1); args 925 drivers/of/unittest.c passed &= (args.args[0] == 15); args 932 drivers/of/unittest.c i, args.np, rc); args 39 drivers/parisc/pdc_stable.c #define DPRINTK(fmt, args...) printk(KERN_DEBUG fmt, ## args) args 41 drivers/parisc/pdc_stable.c #define DPRINTK(fmt, args...) args 619 drivers/pci/controller/dwc/pci-dra7xx.c struct of_phandle_args args; args 630 drivers/pci/controller/dwc/pci-dra7xx.c 2, 0, &args); args 636 drivers/pci/controller/dwc/pci-dra7xx.c ret = regmap_update_bits(regmap, args.args[0], args.args[1], args 637 drivers/pci/controller/dwc/pci-dra7xx.c args.args[1]); args 641 drivers/pci/controller/dwc/pci-dra7xx.c of_node_put(args.np); args 208 drivers/pci/controller/dwc/pcie-designware-host.c void *args) args 687 drivers/pci/controller/pci-aardvark.c unsigned int nr_irqs, void *args) args 195 drivers/pci/controller/pci-xgene-msi.c unsigned int nr_irqs, void *args) args 117 drivers/pci/controller/pcie-altera-msi.c unsigned int nr_irqs, void *args) args 243 drivers/pci/controller/pcie-iproc-msi.c void *args) args 436 drivers/pci/controller/pcie-mediatek.c unsigned int nr_irqs, void *args) args 760 drivers/pci/controller/pcie-mobiveil.c unsigned int nr_irqs, void *args) args 136 drivers/pci/controller/pcie-tango.c unsigned int nr_irqs, void *args) args 477 drivers/pci/controller/pcie-xilinx-nwl.c unsigned int nr_irqs, void *args) args 162 drivers/pci/hotplug/acpiphp_ibm.c union acpi_object args[2]; args 163 drivers/pci/hotplug/acpiphp_ibm.c struct acpi_object_list params = { .pointer = args, .count = 2 }; args 179 drivers/pci/hotplug/acpiphp_ibm.c args[0].type = ACPI_TYPE_INTEGER; args 180 drivers/pci/hotplug/acpiphp_ibm.c args[0].integer.value = ibm_slot->slot.slot_id; args 181 drivers/pci/hotplug/acpiphp_ibm.c args[1].type = ACPI_TYPE_INTEGER; args 182 drivers/pci/hotplug/acpiphp_ibm.c args[1].integer.value = (status) ? 1 : 0; args 439 drivers/pci/of.c out_irq->args[0] = pin; args 11 drivers/pcmcia/i82092aa.h #define dprintk(fmt, args...) printk(fmt , ## args) args 15 drivers/pcmcia/i82092aa.h #define dprintk(fmt, args...) do {} while (0) args 65 drivers/pcmcia/soc_common.c va_list args; args 67 drivers/pcmcia/soc_common.c va_start(args, fmt); args 70 drivers/pcmcia/soc_common.c vaf.va = &args; args 74 drivers/pcmcia/soc_common.c va_end(args); args 58 drivers/pcmcia/yenta_socket.c #define debug(x, s, args...) dev_dbg(&s->dev->dev, x, ##args) args 645 drivers/phy/allwinner/phy-sun4i-usb.c struct of_phandle_args *args) args 649 drivers/phy/allwinner/phy-sun4i-usb.c if (args->args[0] >= data->cfg->num_phys) args 652 drivers/phy/allwinner/phy-sun4i-usb.c if (data->cfg->missing_phys & BIT(args->args[0])) args 655 drivers/phy/allwinner/phy-sun4i-usb.c return data->phys[args->args[0]].phy; args 304 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c struct of_phandle_args *args) args 309 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c if (args->args_count < 1) { args 314 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c mode = args->args[0]; args 198 drivers/phy/broadcom/phy-bcm-sr-pcie.c struct of_phandle_args *args) args 207 drivers/phy/broadcom/phy-bcm-sr-pcie.c phy_idx = args->args[0]; args 266 drivers/phy/broadcom/phy-bcm-sr-usb.c struct of_phandle_args *args) args 276 drivers/phy/broadcom/phy-bcm-sr-usb.c phy_idx = args->args[0]; args 124 drivers/phy/broadcom/phy-brcm-usb.c struct of_phandle_args *args) args 132 drivers/phy/broadcom/phy-brcm-usb.c switch (args->args[0]) { args 165 drivers/phy/hisilicon/phy-histb-combphy.c struct of_phandle_args *args) args 170 drivers/phy/hisilicon/phy-histb-combphy.c if (args->args_count < 1) { args 175 drivers/phy/hisilicon/phy-histb-combphy.c mode->select = args->args[0]; args 361 drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c struct of_phandle_args *args) args 366 drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c if (args->args_count != 1) { args 371 drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c mode = args->args[0]; args 64 drivers/phy/marvell/phy-armada375-usb2.c struct of_phandle_args *args) args 78 drivers/phy/marvell/phy-armada375-usb2.c (cluster_phy->phy_provided != args->args[0]))) { args 81 drivers/phy/marvell/phy-armada375-usb2.c if (args->args[0] == PHY_TYPE_USB2) args 87 drivers/phy/marvell/phy-armada375-usb2.c if (args->args[0] == PHY_TYPE_USB2) args 89 drivers/phy/marvell/phy-armada375-usb2.c else if (args->args[0] == PHY_TYPE_USB3) args 97 drivers/phy/marvell/phy-armada375-usb2.c cluster_phy->phy_provided = args->args[0]; args 133 drivers/phy/marvell/phy-armada38x-comphy.c struct of_phandle_args *args) args 139 drivers/phy/marvell/phy-armada38x-comphy.c if (WARN_ON(args->args[0] >= MAX_A38X_PORTS)) args 142 drivers/phy/marvell/phy-armada38x-comphy.c phy = of_phy_simple_xlate(dev, args); args 150 drivers/phy/marvell/phy-armada38x-comphy.c lane->port = args->args[0]; args 157 drivers/phy/marvell/phy-berlin-sata.c struct of_phandle_args *args) args 162 drivers/phy/marvell/phy-berlin-sata.c if (WARN_ON(args->args[0] >= priv->nphys)) args 166 drivers/phy/marvell/phy-berlin-sata.c if (priv->phys[i]->index == args->args[0]) args 245 drivers/phy/marvell/phy-mvebu-a3700-comphy.c struct of_phandle_args *args) args 250 drivers/phy/marvell/phy-mvebu-a3700-comphy.c if (WARN_ON(args->args[0] >= MVEBU_A3700_COMPHY_PORTS)) args 253 drivers/phy/marvell/phy-mvebu-a3700-comphy.c phy = of_phy_simple_xlate(dev, args); args 258 drivers/phy/marvell/phy-mvebu-a3700-comphy.c lane->port = args->args[0]; args 902 drivers/phy/marvell/phy-mvebu-cp110-comphy.c struct of_phandle_args *args) args 907 drivers/phy/marvell/phy-mvebu-cp110-comphy.c if (WARN_ON(args->args[0] >= MVEBU_COMPHY_PORTS)) args 910 drivers/phy/marvell/phy-mvebu-cp110-comphy.c phy = of_phy_simple_xlate(dev, args); args 915 drivers/phy/marvell/phy-mvebu-cp110-comphy.c lane->port = args->args[0]; args 986 drivers/phy/mediatek/phy-mtk-tphy.c struct of_phandle_args *args) args 990 drivers/phy/mediatek/phy-mtk-tphy.c struct device_node *phy_np = args->np; args 993 drivers/phy/mediatek/phy-mtk-tphy.c if (args->args_count != 1) { args 1009 drivers/phy/mediatek/phy-mtk-tphy.c instance->type = args->args[0]; args 441 drivers/phy/mediatek/phy-mtk-xsphy.c struct of_phandle_args *args) args 445 drivers/phy/mediatek/phy-mtk-xsphy.c struct device_node *phy_np = args->np; args 448 drivers/phy/mediatek/phy-mtk-xsphy.c if (args->args_count != 1) { args 464 drivers/phy/mediatek/phy-mtk-xsphy.c inst->type = args->args[0]; args 444 drivers/phy/mscc/phy-ocelot-serdes.c struct of_phandle_args *args) args 449 drivers/phy/mscc/phy-ocelot-serdes.c if (args->args_count != 2) args 452 drivers/phy/mscc/phy-ocelot-serdes.c port = args->args[0]; args 453 drivers/phy/mscc/phy-ocelot-serdes.c idx = args->args[1]; args 502 drivers/phy/phy-core.c struct of_phandle_args args; args 505 drivers/phy/phy-core.c index, &args); args 510 drivers/phy/phy-core.c if (of_device_is_compatible(args.np, "usb-nop-xceiv")) args 514 drivers/phy/phy-core.c phy_provider = of_phy_provider_lookup(args.np); args 520 drivers/phy/phy-core.c if (!of_device_is_available(args.np)) { args 526 drivers/phy/phy-core.c phy = phy_provider->of_xlate(phy_provider->dev, &args); args 533 drivers/phy/phy-core.c of_node_put(args.np); args 620 drivers/phy/phy-core.c *args) args 628 drivers/phy/phy-core.c if (args->np != phy->dev.of_node) args 982 drivers/phy/phy-core.c struct of_phandle_args *args)) args 1044 drivers/phy/phy-core.c struct of_phandle_args *args)) args 1612 drivers/phy/phy-xgene.c struct of_phandle_args *args) args 1616 drivers/phy/phy-xgene.c if (args->args_count <= 0) args 1618 drivers/phy/phy-xgene.c if (args->args[0] < MODE_SATA || args->args[0] >= MODE_MAX) args 1621 drivers/phy/phy-xgene.c ctx->mode = args->args[0]; args 310 drivers/phy/renesas/phy-rcar-gen2.c struct of_phandle_args *args) args 313 drivers/phy/renesas/phy-rcar-gen2.c struct device_node *np = args->np; args 325 drivers/phy/renesas/phy-rcar-gen2.c if (i >= drv->num_channels || args->args[0] >= 2) args 328 drivers/phy/renesas/phy-rcar-gen2.c return drv->channels[i].phys[args->args[0]].phy; args 555 drivers/phy/renesas/phy-rcar-gen3-usb2.c struct of_phandle_args *args) args 559 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (args->args_count == 0) /* For old version dts */ args 561 drivers/phy/renesas/phy-rcar-gen3-usb2.c else if (args->args_count > 1) /* Prevent invalid args count */ args 564 drivers/phy/renesas/phy-rcar-gen3-usb2.c if (args->args[0] >= NUM_OF_PHYS) args 567 drivers/phy/renesas/phy-rcar-gen3-usb2.c return ch->rphys[args->args[0]].phy; args 86 drivers/phy/rockchip/phy-rockchip-pcie.c struct of_phandle_args *args) args 90 drivers/phy/rockchip/phy-rockchip-pcie.c if (args->args_count == 0) args 93 drivers/phy/rockchip/phy-rockchip-pcie.c if (WARN_ON(args->args[0] >= PHY_MAX_LANE_NUM)) args 96 drivers/phy/rockchip/phy-rockchip-pcie.c return rk_phy->phys[args->args[0]].phy; args 278 drivers/phy/samsung/phy-exynos-mipi-video.c struct of_phandle_args *args) args 282 drivers/phy/samsung/phy-exynos-mipi-video.c if (WARN_ON(args->args[0] >= state->num_phys)) args 285 drivers/phy/samsung/phy-exynos-mipi-video.c return state->phys[args->args[0]].phy; args 702 drivers/phy/samsung/phy-exynos5-usbdrd.c struct of_phandle_args *args) args 706 drivers/phy/samsung/phy-exynos5-usbdrd.c if (WARN_ON(args->args[0] >= EXYNOS5_DRDPHYS_NUM)) args 709 drivers/phy/samsung/phy-exynos5-usbdrd.c return phy_drd->phys[args->args[0]].phy; args 92 drivers/phy/samsung/phy-samsung-usb2.c struct of_phandle_args *args) args 100 drivers/phy/samsung/phy-samsung-usb2.c if (WARN_ON(args->args[0] >= drv->cfg->num_phys)) args 103 drivers/phy/samsung/phy-samsung-usb2.c return drv->instances[args->args[0]].phy; args 84 drivers/phy/socionext/phy-uniphier-usb2.c struct of_phandle_args *args) args 88 drivers/phy/socionext/phy-uniphier-usb2.c while (priv && args->np != priv->phy->dev.of_node) args 1099 drivers/phy/st/phy-miphy28lp.c struct of_phandle_args *args) args 1103 drivers/phy/st/phy-miphy28lp.c struct device_node *phynode = args->np; args 1106 drivers/phy/st/phy-miphy28lp.c if (args->args_count != 1) { args 1122 drivers/phy/st/phy-miphy28lp.c miphy_phy->type = args->args[0]; args 185 drivers/phy/st/phy-spear1310-miphy.c struct of_phandle_args *args) args 189 drivers/phy/st/phy-spear1310-miphy.c if (args->args_count < 1) { args 194 drivers/phy/st/phy-spear1310-miphy.c priv->mode = args->args[0]; args 222 drivers/phy/st/phy-spear1340-miphy.c struct of_phandle_args *args) args 226 drivers/phy/st/phy-spear1340-miphy.c if (args->args_count < 1) { args 231 drivers/phy/st/phy-spear1340-miphy.c priv->mode = args->args[0]; args 269 drivers/phy/st/phy-stm32-usbphyc.c struct of_phandle_args *args) args 273 drivers/phy/st/phy-stm32-usbphyc.c struct device_node *phynode = args->np; args 287 drivers/phy/st/phy-stm32-usbphyc.c if (((usbphyc_phy->index == 0) && (args->args_count != 0)) || args 288 drivers/phy/st/phy-stm32-usbphyc.c ((usbphyc_phy->index == 1) && (args->args_count != 1))) { args 297 drivers/phy/st/phy-stm32-usbphyc.c stm32_usbphyc_switch_setup(usbphyc, args->args[0]); args 299 drivers/phy/st/phy-stm32-usbphyc.c if (args->args[0] != usbphyc->switch_setup) { args 25 drivers/phy/tegra/xusb.c struct of_phandle_args *args) args 31 drivers/phy/tegra/xusb.c if (args->args_count != 0) args 38 drivers/phy/tegra/xusb.c if (pad->lanes[i]->dev.of_node == args->np) { args 251 drivers/phy/ti/phy-am654-serdes.c struct of_phandle_args *args) args 257 drivers/phy/ti/phy-am654-serdes.c phy = of_phy_simple_xlate(dev, args); args 265 drivers/phy/ti/phy-am654-serdes.c ret = mux_control_select(am654_phy->control, args->args[1]); args 272 drivers/phy/ti/phy-am654-serdes.c am654_phy->type = args->args[0]; args 122 drivers/phy/ti/phy-da8xx-usb.c struct of_phandle_args *args) args 129 drivers/phy/ti/phy-da8xx-usb.c switch (args->args[0]) { args 200 drivers/phy/ti/phy-gmii-sel.c struct of_phandle_args *args) args 203 drivers/phy/ti/phy-gmii-sel.c int phy_id = args->args[0]; args 205 drivers/phy/ti/phy-gmii-sel.c if (args->args_count < 1) args 210 drivers/phy/ti/phy-gmii-sel.c args->args_count < 2) args 219 drivers/phy/ti/phy-gmii-sel.c priv->if_phys[phy_id].rmii_clock_external = args->args[1]; args 221 drivers/phy/ti/phy-gmii-sel.c priv->if_phys[phy_id].id, args->args[1]); args 393 drivers/pinctrl/devicetree.c out_args->args[i] = be32_to_cpup(list++); args 1921 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c pctrl->gpio_bank[id].pinctrl_id = pinspec.args[0]; args 1922 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c pctrl->gpio_bank[id].gc.base = pinspec.args[1]; args 1923 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c pctrl->gpio_bank[id].gc.ngpio = pinspec.args[2]; args 1207 drivers/pinctrl/pinctrl-oxnas.c id = pinspec.args[1] / PINS_PER_BANK; args 1208 drivers/pinctrl/pinctrl-oxnas.c ngpios = pinspec.args[2]; args 1206 drivers/pinctrl/pinctrl-rza1.c pinctrl_base = of_args.args[1]; args 1221 drivers/pinctrl/pinctrl-rza1.c chip->ngpio = of_args.args[2]; args 1228 drivers/pinctrl/pinctrl-rza1.c range->npins = of_args.args[2]; args 254 drivers/pinctrl/pinctrl-rza2.c if ((of_args.args[0] != 0) || args 255 drivers/pinctrl/pinctrl-rza2.c (of_args.args[1] != 0) || args 256 drivers/pinctrl/pinctrl-rza2.c (of_args.args[2] != priv->npins)) { args 1021 drivers/pinctrl/pinctrl-single.c offset = pinctrl_spec.args[0]; args 1023 drivers/pinctrl/pinctrl-single.c vals[found].val = pinctrl_spec.args[1]; args 1026 drivers/pinctrl/pinctrl-single.c pinctrl_spec.np, offset, pinctrl_spec.args[1]); args 1134 drivers/pinctrl/pinctrl-single.c offset = pinctrl_spec.args[0]; args 1135 drivers/pinctrl/pinctrl-single.c val = pinctrl_spec.args[1]; args 1136 drivers/pinctrl/pinctrl-single.c mask = pinctrl_spec.args[2]; args 1337 drivers/pinctrl/pinctrl-single.c range->offset = gpiospec.args[0]; args 1338 drivers/pinctrl/pinctrl-single.c range->npins = gpiospec.args[1]; args 1339 drivers/pinctrl/pinctrl-single.c range->gpiofunc = gpiospec.args[2]; args 747 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c *flags = gpio_desc->args[1]; args 749 drivers/pinctrl/qcom/pinctrl-spmi-gpio.c return gpio_desc->args[0] - PMIC_GPIO_PHYSICAL_OFFSET; args 620 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c *flags = gpio_desc->args[1]; args 622 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c return gpio_desc->args[0] - PMIC_MPP_PHYSICAL_OFFSET; args 532 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c *flags = gpio_desc->args[1]; args 534 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c return gpio_desc->args[0] - PM8XXX_GPIO_PHYSICAL_OFFSET; args 525 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c *flags = gpio_desc->args[1]; args 527 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c return gpio_desc->args[0] - 1; args 1259 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define SH_PFC_PINS(name, args...) \ args 1260 drivers/pinctrl/sh-pfc/pfc-r8a7778.c static const unsigned int name ##_pins[] = { args } args 1294 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define CAN_PFC_PINS(name, args...) SH_PFC_PINS(name, args) args 1337 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define SCIF_PFC_PIN(name, args...) SH_PFC_PINS(name, args) args 1369 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define HSPI_PFC_PIN(name, args...) SH_PFC_PINS(name, args) args 1406 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define I2C_PFC_PIN(name, args...) SH_PFC_PINS(name, args) args 1432 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define MMC_PFC_PINS(name, args...) SH_PFC_PINS(name, args) args 1536 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define SDHI_PFC_PINS(name, args...) SH_PFC_PINS(name, args) args 1610 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define SSI_PFC_PINS(name, args...) SH_PFC_PINS(name, args) args 1675 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define VIN_PFC_PINS(name, args...) SH_PFC_PINS(name, args) args 265 drivers/pinctrl/sirf/pinctrl-sirf.c if (gpiospec->args[0] > SIRFSOC_GPIO_NO_OF_BANKS * SIRFSOC_GPIO_BANK_SIZE) args 269 drivers/pinctrl/sirf/pinctrl-sirf.c *flags = gpiospec->args[1]; args 271 drivers/pinctrl/sirf/pinctrl-sirf.c return gpiospec->args[0]; args 1151 drivers/pinctrl/stm32/pinctrl-stm32.c struct of_phandle_args args; args 1185 drivers/pinctrl/stm32/pinctrl-stm32.c if (!of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0, &args)) { args 1186 drivers/pinctrl/stm32/pinctrl-stm32.c bank_nr = args.args[1] / STM32_GPIO_PINS_PER_BANK; args 1187 drivers/pinctrl/stm32/pinctrl-stm32.c bank->gpio_chip.base = args.args[1]; args 897 drivers/pinctrl/sunxi/pinctrl-sunxi.c base = PINS_PER_BANK * gpiospec->args[0]; args 898 drivers/pinctrl/sunxi/pinctrl-sunxi.c pin = base + gpiospec->args[1]; args 904 drivers/pinctrl/sunxi/pinctrl-sunxi.c *flags = gpiospec->args[2]; args 685 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c struct of_phandle_args *args) args 688 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c unsigned int index = args->args[0]; args 690 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c if (args->args_count <= 0) args 449 drivers/pinctrl/ti/pinctrl-ti-iodelay.c cfg[pin_index].offset = pinctrl_spec->args[0]; args 450 drivers/pinctrl/ti/pinctrl-ti-iodelay.c cfg[pin_index].a_delay = pinctrl_spec->args[1] & 0xffff; args 451 drivers/pinctrl/ti/pinctrl-ti-iodelay.c cfg[pin_index].g_delay = pinctrl_spec->args[2] & 0xffff; args 206 drivers/platform/chrome/cros_ec_lpc.c struct ec_lpc_host_args args; args 219 drivers/platform/chrome/cros_ec_lpc.c args.flags = EC_HOST_ARGS_FLAG_FROM_HOST; args 220 drivers/platform/chrome/cros_ec_lpc.c args.command_version = msg->version; args 221 drivers/platform/chrome/cros_ec_lpc.c args.data_size = msg->outsize; args 224 drivers/platform/chrome/cros_ec_lpc.c sum = msg->command + args.flags + args.command_version + args.data_size; args 231 drivers/platform/chrome/cros_ec_lpc.c args.checksum = sum; args 232 drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_ops.write(EC_LPC_ADDR_HOST_ARGS, sizeof(args), args 233 drivers/platform/chrome/cros_ec_lpc.c (u8 *)&args); args 252 drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_ops.read(EC_LPC_ADDR_HOST_ARGS, sizeof(args), (u8 *)&args); args 254 drivers/platform/chrome/cros_ec_lpc.c if (args.data_size > msg->insize) { args 257 drivers/platform/chrome/cros_ec_lpc.c args.data_size, msg->insize); args 263 drivers/platform/chrome/cros_ec_lpc.c sum = msg->command + args.flags + args.command_version + args.data_size; args 266 drivers/platform/chrome/cros_ec_lpc.c sum += cros_ec_lpc_ops.read(EC_LPC_ADDR_HOST_PARAM, args.data_size, args 270 drivers/platform/chrome/cros_ec_lpc.c if (args.checksum != sum) { args 273 drivers/platform/chrome/cros_ec_lpc.c args.checksum, sum); args 279 drivers/platform/chrome/cros_ec_lpc.c ret = args.data_size; args 52 drivers/platform/chrome/cros_usbpd_logger.c va_list args; args 55 drivers/platform/chrome/cros_usbpd_logger.c va_start(args, fmt); args 56 drivers/platform/chrome/cros_usbpd_logger.c i = vsnprintf(buf + pos, BUF_SIZE - pos, fmt, args); args 57 drivers/platform/chrome/cros_usbpd_logger.c va_end(args); args 137 drivers/platform/chrome/wilco_ec/telemetry.c } args; args 157 drivers/platform/chrome/wilco_ec/telemetry.c size_t max_size = offsetof(struct wilco_ec_telem_request, args); args 164 drivers/platform/chrome/wilco_ec/telemetry.c max_size += sizeof(rq->args.get_log); args 167 drivers/platform/chrome/wilco_ec/telemetry.c max_size += sizeof(rq->args.get_version); args 170 drivers/platform/chrome/wilco_ec/telemetry.c max_size += sizeof(rq->args.get_fan_info); args 173 drivers/platform/chrome/wilco_ec/telemetry.c max_size += sizeof(rq->args.get_diag_info); args 176 drivers/platform/chrome/wilco_ec/telemetry.c max_size += sizeof(rq->args.get_temp_info); args 179 drivers/platform/chrome/wilco_ec/telemetry.c max_size += sizeof(rq->args.get_temp_read); args 182 drivers/platform/chrome/wilco_ec/telemetry.c max_size += sizeof(rq->args.get_batt_ext_info); args 185 drivers/platform/chrome/wilco_ec/telemetry.c if (rq->args.get_batt_ppid_info.always1 != 1) args 188 drivers/platform/chrome/wilco_ec/telemetry.c max_size += sizeof(rq->args.get_batt_ppid_info); args 211 drivers/platform/olpc/olpc-xo175-ec.c u8 args[EC_MAX_CMD_DATA_LEN]; args 524 drivers/platform/olpc/olpc-xo175-ec.c memcpy(priv->cmd.args, inbuf, inlen); args 577 drivers/platform/olpc/olpc-xo175-ec.c u8 args[2]; args 579 drivers/platform/olpc/olpc-xo175-ec.c args[0] = mask >> 0; args 580 drivers/platform/olpc/olpc-xo175-ec.c args[1] = mask >> 8; args 581 drivers/platform/olpc/olpc-xo175-ec.c return olpc_ec_cmd(CMD_WRITE_EXT_SCI_MASK, args, 2, NULL, 0); args 767 drivers/platform/x86/acer-wmi.c struct wmab_args args; args 769 drivers/platform/x86/acer-wmi.c args.eax = ACER_AMW0_WRITE; args 770 drivers/platform/x86/acer-wmi.c args.ebx = value ? (1<<8) : 0; args 771 drivers/platform/x86/acer-wmi.c args.ecx = args.edx = 0; args 777 drivers/platform/x86/acer-wmi.c args.ebx |= ACER_AMW0_MAILLED_MASK; args 782 drivers/platform/x86/acer-wmi.c args.ebx |= ACER_AMW0_WIRELESS_MASK; args 787 drivers/platform/x86/acer-wmi.c args.ebx |= ACER_AMW0_BLUETOOTH_MASK; args 802 drivers/platform/x86/acer-wmi.c return wmab_execute(&args, NULL); args 807 drivers/platform/x86/acer-wmi.c struct wmab_args args; args 813 drivers/platform/x86/acer-wmi.c args.eax = 0x86; args 814 drivers/platform/x86/acer-wmi.c args.ebx = args.ecx = args.edx = 0; args 816 drivers/platform/x86/acer-wmi.c status = wmab_execute(&args, &out); args 859 drivers/platform/x86/acer-wmi.c struct wmab_args args; args 876 drivers/platform/x86/acer-wmi.c args.eax = ACER_AMW0_WRITE; args 877 drivers/platform/x86/acer-wmi.c args.ecx = args.edx = 0; args 879 drivers/platform/x86/acer-wmi.c args.ebx = 0xa2 << 8; args 880 drivers/platform/x86/acer-wmi.c args.ebx |= ACER_AMW0_WIRELESS_MASK; args 882 drivers/platform/x86/acer-wmi.c status = wmab_execute(&args, &out); args 898 drivers/platform/x86/acer-wmi.c args.ebx = 2 << 8; args 899 drivers/platform/x86/acer-wmi.c args.ebx |= ACER_AMW0_BLUETOOTH_MASK; args 905 drivers/platform/x86/acer-wmi.c status = wmab_execute(&args, &out); args 357 drivers/platform/x86/alienware-wmi.c struct wmax_brightness_args args = { args 361 drivers/platform/x86/alienware-wmi.c input.length = (acpi_size) sizeof(args); args 362 drivers/platform/x86/alienware-wmi.c input.pointer = &args; args 589 drivers/platform/x86/alienware-wmi.c struct wmax_basic_args args; args 591 drivers/platform/x86/alienware-wmi.c args.arg = 1; args 593 drivers/platform/x86/alienware-wmi.c args.arg = 2; args 595 drivers/platform/x86/alienware-wmi.c args.arg = 3; args 596 drivers/platform/x86/alienware-wmi.c pr_debug("alienware-wmi: setting hdmi to %d : %s", args.arg, buf); args 598 drivers/platform/x86/alienware-wmi.c status = alienware_wmax_command(&args, WMAX_METHOD_HDMI_SOURCE, NULL); args 727 drivers/platform/x86/alienware-wmi.c struct wmax_basic_args args; args 730 drivers/platform/x86/alienware-wmi.c args.arg = 0; args 732 drivers/platform/x86/alienware-wmi.c args.arg = 1; args 734 drivers/platform/x86/alienware-wmi.c args.arg = 2; args 735 drivers/platform/x86/alienware-wmi.c pr_debug("alienware-wmi: setting deep sleep to %d : %s", args.arg, buf); args 737 drivers/platform/x86/alienware-wmi.c status = alienware_wmax_command(&args, WMAX_METHOD_DEEP_SLEEP_CONTROL, args 261 drivers/platform/x86/asus-wmi.c struct bios_args args = { args 266 drivers/platform/x86/asus-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; args 299 drivers/platform/x86/asus-wmi.c static int asus_wmi_evaluate_method_agfn(const struct acpi_buffer args) args 310 drivers/platform/x86/asus-wmi.c input.pointer = kmemdup(args.pointer, args.length, GFP_DMA | GFP_KERNEL); args 311 drivers/platform/x86/asus-wmi.c input.length = args.length; args 319 drivers/platform/x86/asus-wmi.c memcpy(args.pointer, input.pointer, args.length); args 1213 drivers/platform/x86/asus-wmi.c struct agfn_fan_args args = { args 1214 drivers/platform/x86/asus-wmi.c .agfn.len = sizeof(args), args 1220 drivers/platform/x86/asus-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; args 1228 drivers/platform/x86/asus-wmi.c if (status || args.agfn.err) args 1232 drivers/platform/x86/asus-wmi.c *speed = args.speed; args 1240 drivers/platform/x86/asus-wmi.c struct agfn_fan_args args = { args 1241 drivers/platform/x86/asus-wmi.c .agfn.len = sizeof(args), args 1247 drivers/platform/x86/asus-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; args 1256 drivers/platform/x86/asus-wmi.c if (status || args.agfn.err) args 2323 drivers/platform/x86/asus-wmi.c struct bios_args args = { args 2327 drivers/platform/x86/asus-wmi.c struct acpi_buffer input = { (acpi_size) sizeof(args), &args }; args 59 drivers/platform/x86/dell-wmi-led.c struct bios_args args = { args 69 drivers/platform/x86/dell-wmi-led.c input.pointer = &args; args 214 drivers/platform/x86/hp-wmi.c struct bios_args args = { args 221 drivers/platform/x86/hp-wmi.c struct acpi_buffer input = { sizeof(struct bios_args), &args }; args 229 drivers/platform/x86/hp-wmi.c if (WARN_ON(insize > sizeof(args.data))) args 231 drivers/platform/x86/hp-wmi.c memcpy(&args.data[0], buffer, insize); args 110 drivers/platform/x86/hp_accel.c struct acpi_object_list args = { 1, &arg0 }; args 116 drivers/platform/x86/hp_accel.c status = acpi_evaluate_integer(dev->handle, "ALRD", &args, &lret); args 136 drivers/platform/x86/hp_accel.c struct acpi_object_list args = { 2, in_obj }; args 143 drivers/platform/x86/hp_accel.c if (acpi_evaluate_integer(dev->handle, "ALWR", &args, &ret) != AE_OK) args 260 drivers/platform/x86/hp_accel.c struct acpi_object_list args = { 1, in_obj }; args 265 drivers/platform/x86/hp_accel.c acpi_evaluate_integer(dev->handle, "ALED", &args, &ret); args 52 drivers/platform/x86/huawei-wmi.c union acpi_object args[3]; args 54 drivers/platform/x86/huawei-wmi.c .pointer = args, args 55 drivers/platform/x86/huawei-wmi.c .count = ARRAY_SIZE(args), args 58 drivers/platform/x86/huawei-wmi.c args[0].type = args[1].type = args[2].type = ACPI_TYPE_INTEGER; args 59 drivers/platform/x86/huawei-wmi.c args[1].integer.value = 0x04; args 62 drivers/platform/x86/huawei-wmi.c args[0].integer.value = 0; args 63 drivers/platform/x86/huawei-wmi.c args[2].integer.value = brightness ? 1 : 0; args 65 drivers/platform/x86/huawei-wmi.c args[0].integer.value = 1; args 66 drivers/platform/x86/huawei-wmi.c args[2].integer.value = brightness ? 0 : 1; args 268 drivers/platform/x86/intel_menlow.c struct acpi_object_list args = { args 285 drivers/platform/x86/intel_menlow.c &args, &temp); args 88 drivers/platform/x86/lg-laptop.c union acpi_object args[1]; args 96 drivers/platform/x86/lg-laptop.c args[0].type = ACPI_TYPE_INTEGER; args 97 drivers/platform/x86/lg-laptop.c args[0].integer.value = arg0; args 106 drivers/platform/x86/lg-laptop.c arg.pointer = args; args 128 drivers/platform/x86/lg-laptop.c union acpi_object args[3]; args 134 drivers/platform/x86/lg-laptop.c args[0].type = ACPI_TYPE_INTEGER; args 135 drivers/platform/x86/lg-laptop.c args[0].integer.value = method; args 136 drivers/platform/x86/lg-laptop.c args[1].type = ACPI_TYPE_INTEGER; args 137 drivers/platform/x86/lg-laptop.c args[1].integer.value = arg1; args 138 drivers/platform/x86/lg-laptop.c args[2].type = ACPI_TYPE_INTEGER; args 139 drivers/platform/x86/lg-laptop.c args[2].integer.value = arg2; args 148 drivers/platform/x86/lg-laptop.c arg.pointer = args; args 161 drivers/platform/x86/lg-laptop.c union acpi_object args[3]; args 171 drivers/platform/x86/lg-laptop.c args[0].type = ACPI_TYPE_INTEGER; args 172 drivers/platform/x86/lg-laptop.c args[0].integer.value = 0; /* ignored */ args 173 drivers/platform/x86/lg-laptop.c args[1].type = ACPI_TYPE_INTEGER; args 174 drivers/platform/x86/lg-laptop.c args[1].integer.value = 1; /* Must be 1 or 2. Does not matter which */ args 175 drivers/platform/x86/lg-laptop.c args[2].type = ACPI_TYPE_BUFFER; args 176 drivers/platform/x86/lg-laptop.c args[2].buffer.length = 32; args 177 drivers/platform/x86/lg-laptop.c args[2].buffer.pointer = buf; args 186 drivers/platform/x86/lg-laptop.c arg.pointer = args; args 26 drivers/platform/x86/mxm-wmi.c u32 args; args 32 drivers/platform/x86/mxm-wmi.c struct mxds_args args = { args 34 drivers/platform/x86/mxm-wmi.c .args = 0, args 37 drivers/platform/x86/mxm-wmi.c struct acpi_buffer input = { (acpi_size)sizeof(args), &args }; args 57 drivers/platform/x86/mxm-wmi.c struct mxds_args args = { args 59 drivers/platform/x86/mxm-wmi.c .args = 0, args 62 drivers/platform/x86/mxm-wmi.c struct acpi_buffer input = { (acpi_size)sizeof(args), &args }; args 38 drivers/pnp/interface.c va_list args; args 43 drivers/pnp/interface.c va_start(args, fmt); args 44 drivers/pnp/interface.c res = vsnprintf(buffer->curr, buffer->len - buffer->size, fmt, args); args 45 drivers/pnp/interface.c va_end(args); args 124 drivers/pwm/core.c of_pwm_xlate_with_flags(struct pwm_chip *pc, const struct of_phandle_args *args) args 133 drivers/pwm/core.c if (args->args_count < 2) args 136 drivers/pwm/core.c if (args->args[0] >= pc->npwm) args 139 drivers/pwm/core.c pwm = pwm_request_from_chip(pc, args->args[0], NULL); args 143 drivers/pwm/core.c pwm->args.period = args->args[1]; args 144 drivers/pwm/core.c pwm->args.polarity = PWM_POLARITY_NORMAL; args 146 drivers/pwm/core.c if (args->args_count > 2 && args->args[2] & PWM_POLARITY_INVERTED) args 147 drivers/pwm/core.c pwm->args.polarity = PWM_POLARITY_INVERSED; args 154 drivers/pwm/core.c of_pwm_simple_xlate(struct pwm_chip *pc, const struct of_phandle_args *args) args 163 drivers/pwm/core.c if (args->args_count != pc->of_pwm_n_cells) args 166 drivers/pwm/core.c if (args->args[0] >= pc->npwm) args 169 drivers/pwm/core.c pwm = pwm_request_from_chip(pc, args->args[0], NULL); args 173 drivers/pwm/core.c pwm->args.period = args->args[1]; args 681 drivers/pwm/core.c struct of_phandle_args args; args 694 drivers/pwm/core.c &args); args 700 drivers/pwm/core.c pc = of_node_to_pwmchip(args.np); args 709 drivers/pwm/core.c pwm = pc->of_xlate(pc, &args); args 736 drivers/pwm/core.c of_node_put(args.np); args 785 drivers/pwm/core.c struct fwnode_reference_args args; args 790 drivers/pwm/core.c memset(&args, 0, sizeof(args)); args 792 drivers/pwm/core.c ret = __acpi_node_get_property_reference(fwnode, "pwms", 0, 3, &args); args 796 drivers/pwm/core.c acpi = to_acpi_device_node(args.fwnode); args 800 drivers/pwm/core.c if (args.nargs < 2) args 807 drivers/pwm/core.c pwm = pwm_request_from_chip(chip, args.args[0], NULL); args 811 drivers/pwm/core.c pwm->args.period = args.args[1]; args 812 drivers/pwm/core.c pwm->args.polarity = PWM_POLARITY_NORMAL; args 814 drivers/pwm/core.c if (args.nargs > 2 && args.args[2] & PWM_POLARITY_INVERTED) args 815 drivers/pwm/core.c pwm->args.polarity = PWM_POLARITY_INVERSED; args 973 drivers/pwm/core.c pwm->args.period = chosen->period; args 974 drivers/pwm/core.c pwm->args.polarity = chosen->polarity; args 46 drivers/pwm/pwm-clps711x.c return DIV_ROUND_CLOSEST(v * 0xf, pwm->args.period); args 58 drivers/pwm/pwm-clps711x.c pwm->args.period = DIV_ROUND_CLOSEST(NSEC_PER_SEC, freq); args 69 drivers/pwm/pwm-clps711x.c if (period_ns != pwm->args.period) args 105 drivers/pwm/pwm-clps711x.c const struct of_phandle_args *args) args 107 drivers/pwm/pwm-clps711x.c if (args->args[0] >= chip->npwm) args 110 drivers/pwm/pwm-clps711x.c return pwm_request_from_chip(chip, args->args[0], NULL); args 134 drivers/pwm/pwm-cros-ec.c cros_ec_pwm_xlate(struct pwm_chip *pc, const struct of_phandle_args *args) args 138 drivers/pwm/pwm-cros-ec.c if (args->args[0] >= pc->npwm) args 141 drivers/pwm/pwm-cros-ec.c pwm = pwm_request_from_chip(pc, args->args[0], NULL); args 146 drivers/pwm/pwm-cros-ec.c pwm->args.period = EC_PWM_MAX_DUTY; args 152 drivers/pwm/pwm-pxa.c pxa_pwm_of_xlate(struct pwm_chip *pc, const struct of_phandle_args *args) args 160 drivers/pwm/pwm-pxa.c pwm->args.period = args->args[0]; args 1244 drivers/remoteproc/qcom_q6v5_mss.c struct of_phandle_args args; args 1259 drivers/remoteproc/qcom_q6v5_mss.c "qcom,halt-regs", 3, 0, &args); args 1265 drivers/remoteproc/qcom_q6v5_mss.c qproc->halt_map = syscon_node_to_regmap(args.np); args 1266 drivers/remoteproc/qcom_q6v5_mss.c of_node_put(args.np); args 1270 drivers/remoteproc/qcom_q6v5_mss.c qproc->halt_q6 = args.args[0]; args 1271 drivers/remoteproc/qcom_q6v5_mss.c qproc->halt_modem = args.args[1]; args 1272 drivers/remoteproc/qcom_q6v5_mss.c qproc->halt_nc = args.args[2]; args 466 drivers/remoteproc/qcom_q6v5_wcss.c struct of_phandle_args args; args 481 drivers/remoteproc/qcom_q6v5_wcss.c "qcom,halt-regs", 3, 0, &args); args 487 drivers/remoteproc/qcom_q6v5_wcss.c wcss->halt_map = syscon_node_to_regmap(args.np); args 488 drivers/remoteproc/qcom_q6v5_wcss.c of_node_put(args.np); args 492 drivers/remoteproc/qcom_q6v5_wcss.c wcss->halt_q6 = args.args[0]; args 493 drivers/remoteproc/qcom_q6v5_wcss.c wcss->halt_wcss = args.args[1]; args 494 drivers/remoteproc/qcom_q6v5_wcss.c wcss->halt_nc = args.args[2]; args 246 drivers/remoteproc/remoteproc_core.c va_list args; args 253 drivers/remoteproc/remoteproc_core.c va_start(args, name); args 254 drivers/remoteproc/remoteproc_core.c vsnprintf(_name, sizeof(_name), name, args); args 255 drivers/remoteproc/remoteproc_core.c va_end(args); args 967 drivers/remoteproc/remoteproc_core.c va_list args; args 982 drivers/remoteproc/remoteproc_core.c va_start(args, name); args 983 drivers/remoteproc/remoteproc_core.c vsnprintf(mem->name, sizeof(mem->name), name, args); args 984 drivers/remoteproc/remoteproc_core.c va_end(args); args 1007 drivers/remoteproc/remoteproc_core.c va_list args; args 1018 drivers/remoteproc/remoteproc_core.c va_start(args, name); args 1019 drivers/remoteproc/remoteproc_core.c vsnprintf(mem->name, sizeof(mem->name), name, args); args 1020 drivers/remoteproc/remoteproc_core.c va_end(args); args 86 drivers/reset/core.c if (reset_spec->args[0] >= rcdev->nr_resets) args 89 drivers/reset/core.c return reset_spec->args[0]; args 606 drivers/reset/core.c struct of_phandle_args args; args 623 drivers/reset/core.c index, &args); args 632 drivers/reset/core.c if (args.np == r->of_node) { args 643 drivers/reset/core.c if (WARN_ON(args.args_count != rcdev->of_reset_n_cells)) { args 648 drivers/reset/core.c rstc_id = rcdev->of_xlate(rcdev, &args); args 659 drivers/reset/core.c of_node_put(args.np); args 70 drivers/reset/hisilicon/reset-hi3660.c offset = reset_spec->args[0]; args 71 drivers/reset/hisilicon/reset-hi3660.c bit = reset_spec->args[1]; args 60 drivers/reset/reset-berlin.c offset = reset_spec->args[0]; args 61 drivers/reset/reset-berlin.c bit = reset_spec->args[1]; args 157 drivers/reset/reset-lantiq.c set = reset_spec->args[0]; args 158 drivers/reset/reset-lantiq.c status = reset_spec->args[1]; args 205 drivers/reset/reset-ti-sci.c control->dev_id = reset_spec->args[0]; args 206 drivers/reset/reset-ti-sci.c control->reset_mask = reset_spec->args[1]; args 342 drivers/rtc/rtc-at91sam9.c struct of_phandle_args args; args 368 drivers/rtc/rtc-at91sam9.c &args); args 372 drivers/rtc/rtc-at91sam9.c rtc->gpbr = syscon_node_to_regmap(args.np); args 373 drivers/rtc/rtc-at91sam9.c rtc->gpbr_offset = args.args[0]; args 36 drivers/s390/cio/chsc_sch.c #define CHSC_MSG(imp, args...) do { \ args 37 drivers/s390/cio/chsc_sch.c debug_sprintf_event(chsc_debug_msg_id, imp , ##args); \ args 16 drivers/s390/cio/cio_debug.h #define CIO_MSG_EVENT(imp, args...) do { \ args 17 drivers/s390/cio/cio_debug.h debug_sprintf_event(cio_debug_msg_id, imp , ##args); \ args 20 drivers/s390/cio/cio_debug.h #define CIO_CRW_EVENT(imp, args...) do { \ args 21 drivers/s390/cio/cio_debug.h debug_sprintf_event(cio_debug_crw_id, imp , ##args); \ args 151 drivers/s390/cio/vfio_ccw_private.h #define VFIO_CCW_MSG_EVENT(imp, args...) \ args 152 drivers/s390/cio/vfio_ccw_private.h debug_sprintf_event(vfio_ccw_debug_msg_id, imp, ##args) args 68 drivers/s390/net/ctcm_dbug.c va_list args; args 72 drivers/s390/net/ctcm_dbug.c va_start(args, fmt); args 73 drivers/s390/net/ctcm_dbug.c vsnprintf(dbf_txt_buf, sizeof(dbf_txt_buf), fmt, args); args 74 drivers/s390/net/ctcm_dbug.c va_end(args); args 5417 drivers/s390/net/qeth_core_main.c va_list args; args 5421 drivers/s390/net/qeth_core_main.c va_start(args, fmt); args 5422 drivers/s390/net/qeth_core_main.c vsnprintf(dbf_txt_buf, sizeof(dbf_txt_buf), fmt, args); args 5423 drivers/s390/net/qeth_core_main.c va_end(args); args 3585 drivers/scsi/BusLogic.c va_list args; args 3588 drivers/scsi/BusLogic.c va_start(args, adapter); args 3589 drivers/scsi/BusLogic.c len = vsprintf(buf, fmt, args); args 3590 drivers/scsi/BusLogic.c va_end(args); args 121 drivers/scsi/BusLogic.h #define blogic_announce(format, args...) \ args 122 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_ANNOUNCE_LEVEL, format, ##args) args 124 drivers/scsi/BusLogic.h #define blogic_info(format, args...) \ args 125 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_INFO_LEVEL, format, ##args) args 127 drivers/scsi/BusLogic.h #define blogic_notice(format, args...) \ args 128 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_NOTICE_LEVEL, format, ##args) args 130 drivers/scsi/BusLogic.h #define blogic_warn(format, args...) \ args 131 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_WARN_LEVEL, format, ##args) args 133 drivers/scsi/BusLogic.h #define blogic_err(format, args...) \ args 134 drivers/scsi/BusLogic.h blogic_msg(BLOGIC_ERR_LEVEL, format, ##args) args 1563 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y STAILQ_INIT(&symbol->info.macroinfo->args); args 1605 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y STAILQ_INSERT_TAIL(&cur_symbol->info.macroinfo->args, marg, links); args 141 drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y STAILQ_FOREACH(marg, ¯o_symbol->info.macroinfo->args, links) { args 111 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h STAILQ_HEAD(macro_arg_list, macro_arg) args; args 114 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h struct macro_arg_list args; args 301 drivers/scsi/arm/fas216.c va_list args; args 306 drivers/scsi/arm/fas216.c va_start(args, fmt); args 307 drivers/scsi/arm/fas216.c fas216_do_log(info, '0' + SCpnt->device->id, fmt, args); args 308 drivers/scsi/arm/fas216.c va_end(args); args 316 drivers/scsi/arm/fas216.c va_list args; args 326 drivers/scsi/arm/fas216.c va_start(args, fmt); args 327 drivers/scsi/arm/fas216.c fas216_do_log(info, target, fmt, args); args 328 drivers/scsi/arm/fas216.c va_end(args); args 335 drivers/scsi/arm/fas216.c va_list args; args 340 drivers/scsi/arm/fas216.c va_start(args, fmt); args 341 drivers/scsi/arm/fas216.c fas216_do_log(info, fas216_target(info), fmt, args); args 342 drivers/scsi/arm/fas216.c va_end(args); args 20 drivers/scsi/bnx2fc/bnx2fc_debug.c va_list args; args 25 drivers/scsi/bnx2fc/bnx2fc_debug.c va_start(args, fmt); args 28 drivers/scsi/bnx2fc/bnx2fc_debug.c vaf.va = &args; args 38 drivers/scsi/bnx2fc/bnx2fc_debug.c va_end(args); args 44 drivers/scsi/bnx2fc/bnx2fc_debug.c va_list args; args 49 drivers/scsi/bnx2fc/bnx2fc_debug.c va_start(args, fmt); args 52 drivers/scsi/bnx2fc/bnx2fc_debug.c vaf.va = &args; args 62 drivers/scsi/bnx2fc/bnx2fc_debug.c va_end(args); args 68 drivers/scsi/bnx2fc/bnx2fc_debug.c va_list args; args 73 drivers/scsi/bnx2fc/bnx2fc_debug.c va_start(args, fmt); args 76 drivers/scsi/bnx2fc/bnx2fc_debug.c vaf.va = &args; args 83 drivers/scsi/bnx2fc/bnx2fc_debug.c va_end(args); args 87 drivers/scsi/dpti.h # define PDEBUG(fmt, args...) printk(KERN_DEBUG "dpti: " fmt, ##args) args 88 drivers/scsi/dpti.h # define PDEBUGV(fmt, args...) printk(KERN_DEBUG "dpti: " fmt, ##args) args 90 drivers/scsi/dpti.h # define PDEBUG(fmt, args...) /* not debugging: nothing */ args 91 drivers/scsi/dpti.h # define PDEBUGV(fmt, args...) /* not debugging: nothing */ args 94 drivers/scsi/dpti.h #define PERROR(fmt, args...) printk(KERN_ERR fmt, ##args) args 95 drivers/scsi/dpti.h #define PWARN(fmt, args...) printk(KERN_WARNING fmt, ##args) args 96 drivers/scsi/dpti.h #define PINFO(fmt, args...) printk(KERN_INFO fmt, ##args) args 97 drivers/scsi/dpti.h #define PCRIT(fmt, args...) printk(KERN_CRIT fmt, ##args) args 119 drivers/scsi/esas2r/esas2r_log.c va_list args) args 155 drivers/scsi/esas2r/esas2r_log.c retval = vsnprintf(buffer, buflen, format, args); args 185 drivers/scsi/esas2r/esas2r_log.c va_list args; args 187 drivers/scsi/esas2r/esas2r_log.c va_start(args, format); args 189 drivers/scsi/esas2r/esas2r_log.c retval = esas2r_log_master(level, NULL, format, args); args 191 drivers/scsi/esas2r/esas2r_log.c va_end(args); args 213 drivers/scsi/esas2r/esas2r_log.c va_list args; args 215 drivers/scsi/esas2r/esas2r_log.c va_start(args, format); args 217 drivers/scsi/esas2r/esas2r_log.c retval = esas2r_log_master(level, dev, format, args); args 219 drivers/scsi/esas2r/esas2r_log.c va_end(args); args 81 drivers/scsi/esas2r/esas2r_log.h #define esas2r_debug(f, args ...) esas2r_log(ESAS2R_LOG_DEBG, f, ## args) args 82 drivers/scsi/esas2r/esas2r_log.h #define esas2r_hdebug(f, args ...) esas2r_log(ESAS2R_LOG_DEBG, f, ## args) args 84 drivers/scsi/esas2r/esas2r_log.h #define esas2r_debug(f, args ...) args 85 drivers/scsi/esas2r/esas2r_log.h #define esas2r_hdebug(f, args ...) args 108 drivers/scsi/esas2r/esas2r_log.h #define esas2r_trace(f, args ...) esas2r_log(ESAS2R_LOG_TRCE, "(%s:%s:%d): " \ args 110 drivers/scsi/esas2r/esas2r_log.h ## args) args 115 drivers/scsi/esas2r/esas2r_log.h #define esas2r_trace(f, args ...) args 44 drivers/scsi/fcoe/fcoe.h #define FCOE_DBG(fmt, args...) \ args 46 drivers/scsi/fcoe/fcoe.h pr_info("fcoe: " fmt, ##args);) args 48 drivers/scsi/fcoe/fcoe.h #define FCOE_NETDEV_DBG(netdev, fmt, args...) \ args 51 drivers/scsi/fcoe/fcoe.h netdev->name, ##args);) args 19 drivers/scsi/fcoe/libfcoe.h #define LIBFCOE_DBG(fmt, args...) \ args 21 drivers/scsi/fcoe/libfcoe.h pr_info("libfcoe: " fmt, ##args);) args 23 drivers/scsi/fcoe/libfcoe.h #define LIBFCOE_FIP_DBG(fip, fmt, args...) \ args 26 drivers/scsi/fcoe/libfcoe.h (fip)->lp->host->host_no, ##args);) args 28 drivers/scsi/fcoe/libfcoe.h #define LIBFCOE_TRANSPORT_DBG(fmt, args...) \ args 30 drivers/scsi/fcoe/libfcoe.h pr_info("%s: " fmt, __func__, ##args);) args 32 drivers/scsi/fcoe/libfcoe.h #define LIBFCOE_SYSFS_DBG(cdev, fmt, args...) \ args 34 drivers/scsi/fcoe/libfcoe.h pr_info("ctlr_%d: " fmt, cdev->id, ##args);) args 146 drivers/scsi/fnic/fnic.h #define FNIC_MAIN_DBG(kern_level, host, fmt, args...) \ args 148 drivers/scsi/fnic/fnic.h shost_printk(kern_level, host, fmt, ##args);) args 150 drivers/scsi/fnic/fnic.h #define FNIC_FCS_DBG(kern_level, host, fmt, args...) \ args 152 drivers/scsi/fnic/fnic.h shost_printk(kern_level, host, fmt, ##args);) args 154 drivers/scsi/fnic/fnic.h #define FNIC_SCSI_DBG(kern_level, host, fmt, args...) \ args 156 drivers/scsi/fnic/fnic.h shost_printk(kern_level, host, fmt, ##args);) args 158 drivers/scsi/fnic/fnic.h #define FNIC_ISR_DBG(kern_level, host, fmt, args...) \ args 160 drivers/scsi/fnic/fnic.h shost_printk(kern_level, host, fmt, ##args);) args 162 drivers/scsi/fnic/fnic.h #define FNIC_MAIN_NOTE(kern_level, host, fmt, args...) \ args 163 drivers/scsi/fnic/fnic.h shost_printk(kern_level, host, fmt, ##args) args 71 drivers/scsi/fnic/vnic_dev.c u64 args[VNIC_DEVCMD_NARGS]; args 271 drivers/scsi/fnic/vnic_dev.c u64 *a0 = &vdev->args[0]; args 272 drivers/scsi/fnic/vnic_dev.c u64 *a1 = &vdev->args[1]; args 281 drivers/scsi/fnic/vnic_dev.c writeq(*a0, &devcmd->args[0]); args 282 drivers/scsi/fnic/vnic_dev.c writeq(*a1, &devcmd->args[1]); args 299 drivers/scsi/fnic/vnic_dev.c err = dev_cmd_err[(int)readq(&devcmd->args[0])]; args 307 drivers/scsi/fnic/vnic_dev.c *a0 = readq(&devcmd->args[0]); args 308 drivers/scsi/fnic/vnic_dev.c *a1 = readq(&devcmd->args[1]); args 363 drivers/scsi/fnic/vnic_dev.c dc2c->cmd_ring[posted].args[i] = vdev->args[i]; args 402 drivers/scsi/fnic/vnic_dev.c vdev->args[i] = result->results[i]; args 470 drivers/scsi/fnic/vnic_dev.c vdev->args[0] = (u64) vdev->devcmd2->results_ring.base_addr | args 472 drivers/scsi/fnic/vnic_dev.c vdev->args[1] = DEVCMD2_RING_SIZE; args 511 drivers/scsi/fnic/vnic_dev.c vdev->args[0] = *a0; args 512 drivers/scsi/fnic/vnic_dev.c vdev->args[1] = *a1; args 516 drivers/scsi/fnic/vnic_dev.c *a0 = vdev->args[0]; args 517 drivers/scsi/fnic/vnic_dev.c *a1 = vdev->args[1]; args 526 drivers/scsi/fnic/vnic_dev.c memset(vdev->args, 0, sizeof(vdev->args)); args 466 drivers/scsi/fnic/vnic_devcmd.h u64 args[VNIC_DEVCMD_NARGS]; /* RW cmd args (little-endian) */ args 487 drivers/scsi/fnic/vnic_devcmd.h u64 args[VNIC_DEVCMD2_NARGS]; args 369 drivers/scsi/hptiop.h #define dprintk(fmt, args...) do { printk(fmt, ##args); } while(0) args 371 drivers/scsi/hptiop.h #define dprintk(fmt, args...) args 30 drivers/scsi/libfc/fc_libfc.h #define FC_LIBFC_DBG(fmt, args...) \ args 32 drivers/scsi/libfc/fc_libfc.h pr_info("libfc: " fmt, ##args)) args 34 drivers/scsi/libfc/fc_libfc.h #define FC_LPORT_DBG(lport, fmt, args...) \ args 38 drivers/scsi/libfc/fc_libfc.h (lport)->port_id, ##args)) args 40 drivers/scsi/libfc/fc_libfc.h #define FC_DISC_DBG(disc, fmt, args...) \ args 44 drivers/scsi/libfc/fc_libfc.h ##args)) args 46 drivers/scsi/libfc/fc_libfc.h #define FC_RPORT_ID_DBG(lport, port_id, fmt, args...) \ args 50 drivers/scsi/libfc/fc_libfc.h (port_id), ##args)) args 52 drivers/scsi/libfc/fc_libfc.h #define FC_RPORT_DBG(rdata, fmt, args...) \ args 53 drivers/scsi/libfc/fc_libfc.h FC_RPORT_ID_DBG((rdata)->local_port, (rdata)->ids.port_id, fmt, ##args) args 55 drivers/scsi/libfc/fc_libfc.h #define FC_FCP_DBG(pkt, fmt, args...) \ args 65 drivers/scsi/libfc/fc_libfc.h (_ep)->oxid, (_ep)->rxid, ##args); \ args 69 drivers/scsi/libfc/fc_libfc.h (pkt)->rport->port_id, ##args); \ args 73 drivers/scsi/libfc/fc_libfc.h #define FC_EXCH_DBG(exch, fmt, args...) \ args 77 drivers/scsi/libfc/fc_libfc.h exch->xid, ##args)) args 79 drivers/scsi/libfc/fc_libfc.h #define FC_SCSI_DBG(lport, fmt, args...) \ args 82 drivers/scsi/libfc/fc_libfc.h (lport)->host->host_no, ##args)) args 355 drivers/scsi/libsas/sas_ata.c va_list args; args 358 drivers/scsi/libsas/sas_ata.c va_start(args, fmt); args 361 drivers/scsi/libsas/sas_ata.c vaf.va = &args; args 366 drivers/scsi/libsas/sas_ata.c va_end(args); args 2194 drivers/scsi/megaraid/megaraid_sas.h } args; args 280 drivers/scsi/nsp32.c # define nsp32_msg(type, args...) nsp32_message ("", 0, (type), args) args 281 drivers/scsi/nsp32.c # define nsp32_dbg(mask, args...) /* */ args 284 drivers/scsi/nsp32.c # define nsp32_msg(type, args...) \ args 285 drivers/scsi/nsp32.c nsp32_message (__func__, __LINE__, (type), args) args 286 drivers/scsi/nsp32.c # define nsp32_dbg(mask, args...) \ args 287 drivers/scsi/nsp32.c nsp32_dmessage(__func__, __LINE__, (mask), args) args 314 drivers/scsi/nsp32.c va_list args; args 317 drivers/scsi/nsp32.c va_start(args, fmt); args 318 drivers/scsi/nsp32.c vsnprintf(buf, sizeof(buf), fmt, args); args 319 drivers/scsi/nsp32.c va_end(args); args 331 drivers/scsi/nsp32.c va_list args; args 334 drivers/scsi/nsp32.c va_start(args, fmt); args 335 drivers/scsi/nsp32.c vsnprintf(buf, sizeof(buf), fmt, args); args 336 drivers/scsi/nsp32.c va_end(args); args 101 drivers/scsi/pcmcia/nsp_cs.c # define nsp_msg(type, args...) nsp_cs_message("", 0, (type), args) args 102 drivers/scsi/pcmcia/nsp_cs.c # define nsp_dbg(mask, args...) /* */ args 105 drivers/scsi/pcmcia/nsp_cs.c # define nsp_msg(type, args...) \ args 106 drivers/scsi/pcmcia/nsp_cs.c nsp_cs_message (__func__, __LINE__, (type), args) args 107 drivers/scsi/pcmcia/nsp_cs.c # define nsp_dbg(mask, args...) \ args 108 drivers/scsi/pcmcia/nsp_cs.c nsp_cs_dmessage(__func__, __LINE__, (mask), args) args 141 drivers/scsi/pcmcia/nsp_cs.c va_list args; args 144 drivers/scsi/pcmcia/nsp_cs.c va_start(args, fmt); args 145 drivers/scsi/pcmcia/nsp_cs.c vsnprintf(buf, sizeof(buf), fmt, args); args 146 drivers/scsi/pcmcia/nsp_cs.c va_end(args); args 158 drivers/scsi/pcmcia/nsp_cs.c va_list args; args 161 drivers/scsi/pcmcia/nsp_cs.c va_start(args, fmt); args 162 drivers/scsi/pcmcia/nsp_cs.c vsnprintf(buf, sizeof(buf), fmt, args); args 163 drivers/scsi/pcmcia/nsp_cs.c va_end(args); args 56 drivers/scsi/scsi_logging.c va_list args; args 71 drivers/scsi/scsi_logging.c va_start(args, fmt); args 72 drivers/scsi/scsi_logging.c off += vscnprintf(logbuf + off, logbuf_len - off, fmt, args); args 73 drivers/scsi/scsi_logging.c va_end(args); args 83 drivers/scsi/scsi_logging.c va_list args; args 96 drivers/scsi/scsi_logging.c va_start(args, fmt); args 97 drivers/scsi/scsi_logging.c off += vscnprintf(logbuf + off, logbuf_len - off, fmt, args); args 98 drivers/scsi/scsi_logging.c va_end(args); args 4537 drivers/scsi/scsi_transport_iscsi.c va_list args; args 4539 drivers/scsi/scsi_transport_iscsi.c va_start(args, fmt); args 4541 drivers/scsi/scsi_transport_iscsi.c vaf.va = &args; args 4543 drivers/scsi/scsi_transport_iscsi.c va_end(args); args 144 drivers/scsi/snic/snic.h #define SNIC_MAIN_DBG(host, fmt, args...) \ args 146 drivers/scsi/snic/snic.h shost_printk(KERN_INFO, host, fmt, ## args);) args 148 drivers/scsi/snic/snic.h #define SNIC_SCSI_DBG(host, fmt, args...) \ args 150 drivers/scsi/snic/snic.h shost_printk(KERN_INFO, host, fmt, ##args);) args 152 drivers/scsi/snic/snic.h #define SNIC_DISC_DBG(host, fmt, args...) \ args 154 drivers/scsi/snic/snic.h shost_printk(KERN_INFO, host, fmt, ##args);) args 156 drivers/scsi/snic/snic.h #define SNIC_ISR_DBG(host, fmt, args...) \ args 158 drivers/scsi/snic/snic.h shost_printk(KERN_INFO, host, fmt, ##args);) args 160 drivers/scsi/snic/snic.h #define SNIC_HOST_ERR(host, fmt, args...) \ args 161 drivers/scsi/snic/snic.h shost_printk(KERN_ERR, host, fmt, ##args) args 163 drivers/scsi/snic/snic.h #define SNIC_HOST_INFO(host, fmt, args...) \ args 164 drivers/scsi/snic/snic.h shost_printk(KERN_INFO, host, fmt, ##args) args 166 drivers/scsi/snic/snic.h #define SNIC_INFO(fmt, args...) \ args 167 drivers/scsi/snic/snic.h pr_info(PFX fmt, ## args) args 169 drivers/scsi/snic/snic.h #define SNIC_DBG(fmt, args...) \ args 170 drivers/scsi/snic/snic.h pr_info(PFX fmt, ## args) args 172 drivers/scsi/snic/snic.h #define SNIC_ERR(fmt, args...) \ args 173 drivers/scsi/snic/snic.h pr_err(PFX fmt, ## args) args 65 drivers/scsi/snic/vnic_dev.c u64 args[VNIC_DEVCMD_NARGS]; args 303 drivers/scsi/snic/vnic_dev.c dc2c->cmd_ring[posted].args[i] = vdev->args[i]; args 343 drivers/scsi/snic/vnic_dev.c vdev->args[i] = result->results[i]; args 408 drivers/scsi/snic/vnic_dev.c vdev->args[0] = (u64) dc2c->results_ring.base_addr | VNIC_PADDR_TARGET; args 409 drivers/scsi/snic/vnic_dev.c vdev->args[1] = DEVCMD2_RING_SIZE; args 452 drivers/scsi/snic/vnic_dev.c memset(vdev->args, 0, sizeof(vdev->args)); args 453 drivers/scsi/snic/vnic_dev.c vdev->args[0] = *a0; args 454 drivers/scsi/snic/vnic_dev.c vdev->args[1] = *a1; args 458 drivers/scsi/snic/vnic_dev.c *a0 = vdev->args[0]; args 459 drivers/scsi/snic/vnic_dev.c *a1 = vdev->args[1]; args 232 drivers/scsi/snic/vnic_devcmd.h u64 args[VNIC_DEVCMD_NARGS]; /* RW cmd args (little-endian) */ args 253 drivers/scsi/snic/vnic_devcmd.h u64 args[VNIC_DEVCMD2_NARGS]; args 65 drivers/scsi/sym53c8xx_2/sym_glue.h #define printf_emerg(args...) printk(KERN_EMERG args) args 66 drivers/scsi/sym53c8xx_2/sym_glue.h #define printf_alert(args...) printk(KERN_ALERT args) args 67 drivers/scsi/sym53c8xx_2/sym_glue.h #define printf_crit(args...) printk(KERN_CRIT args) args 68 drivers/scsi/sym53c8xx_2/sym_glue.h #define printf_err(args...) printk(KERN_ERR args) args 69 drivers/scsi/sym53c8xx_2/sym_glue.h #define printf_warning(args...) printk(KERN_WARNING args) args 70 drivers/scsi/sym53c8xx_2/sym_glue.h #define printf_notice(args...) printk(KERN_NOTICE args) args 71 drivers/scsi/sym53c8xx_2/sym_glue.h #define printf_info(args...) printk(KERN_INFO args) args 72 drivers/scsi/sym53c8xx_2/sym_glue.h #define printf_debug(args...) printk(KERN_DEBUG args) args 73 drivers/scsi/sym53c8xx_2/sym_glue.h #define printf(args...) printk(args) args 240 drivers/scsi/vmw_pvscsi.h u32 args[31]; args 1968 drivers/scsi/wd33c93.c hostdata->args = DEBUG_DEFAULTS; args 2011 drivers/scsi/wd33c93.c hostdata->args = val & DB_MASK; args 2041 drivers/scsi/wd33c93.c printk(" debug_flags=0x%02x\n", hostdata->args); args 2080 drivers/scsi/wd33c93.c hd->args = simple_strtoul(bp+6, &bp, 0) & DB_MASK; args 27 drivers/scsi/wd33c93.h #define DB(f,a) if (hostdata->args & (f)) a; args 239 drivers/scsi/wd33c93.h unsigned int args; /* set from command-line argument */ args 539 drivers/slimbus/qcom-ngd-ctrl.c static void qcom_slim_ngd_tx_msg_dma_cb(void *args) args 541 drivers/slimbus/qcom-ngd-ctrl.c struct qcom_slim_ngd_dma_desc *desc = args; args 614 drivers/slimbus/qcom-ngd-ctrl.c static void qcom_slim_ngd_rx_msgq_cb(void *args) args 616 drivers/slimbus/qcom-ngd-ctrl.c struct qcom_slim_ngd_dma_desc *desc = args; args 409 drivers/soc/dove/pmu.c struct of_phandle_args args; args 434 drivers/soc/dove/pmu.c 0, &args); args 436 drivers/soc/dove/pmu.c if (args.np == pmu->of_node) args 437 drivers/soc/dove/pmu.c domain->rst_mask = BIT(args.args[0]); args 438 drivers/soc/dove/pmu.c of_node_put(args.np); args 93 drivers/soc/qcom/smem_state.c struct of_phandle_args args; args 111 drivers/soc/qcom/smem_state.c &args); args 117 drivers/soc/qcom/smem_state.c if (args.args_count != 1) { args 122 drivers/soc/qcom/smem_state.c state = of_node_to_state(args.np); args 126 drivers/soc/qcom/smem_state.c *bit = args.args[0]; args 129 drivers/soc/qcom/smem_state.c of_node_put(args.np); args 171 drivers/soc/sunxi/sunxi_sram.c struct of_phandle_args args; args 176 drivers/soc/sunxi/sunxi_sram.c &args); args 180 drivers/soc/sunxi/sunxi_sram.c if (!of_device_is_available(args.np)) { args 185 drivers/soc/sunxi/sunxi_sram.c val = args.args[0]; args 187 drivers/soc/sunxi/sunxi_sram.c match = of_match_node(sunxi_sram_dt_ids, args.np); args 213 drivers/soc/sunxi/sunxi_sram.c of_node_put(args.np); args 217 drivers/soc/sunxi/sunxi_sram.c of_node_put(args.np); args 34 drivers/soc/tegra/fuse/fuse-tegra20.c static void apb_dma_complete(void *args) args 36 drivers/soc/tegra/fuse/fuse-tegra20.c struct tegra_fuse *fuse = args; args 319 drivers/soc/tegra/powergate-bpmp.c if (powergate->id == spec->args[0]) { args 388 drivers/soc/ti/knav_dma.c struct of_phandle_args args; args 404 drivers/soc/ti/knav_dma.c 1, index, &args)) { args 409 drivers/soc/ti/knav_dma.c if (args.args[0] < 0) { args 414 drivers/soc/ti/knav_dma.c return args.args[0]; args 1264 drivers/soc/ti/knav_qmss_queue.c mask = (oirq.args[2] & 0x0000ff00) >> 8; args 131 drivers/soc/ti/ti_sci_pm_domains.c idx = pd_args.args[0]; args 149 drivers/soc/ti/ti_sci_pm_domains.c sci_dev_data->exclusive = pd_args.args[1] & 0x1; args 227 drivers/soc/xilinx/zynqmp_pm_domains.c unsigned int i, idx = genpdspec->args[0]; args 466 drivers/spi/spi-tegra114.c static void tegra_spi_dma_complete(void *args) args 468 drivers/spi/spi-tegra114.c struct completion *dma_complete = args; args 426 drivers/spi/spi-tegra20-slink.c static void tegra_slink_dma_complete(void *args) args 428 drivers/spi/spi-tegra20-slink.c struct completion *dma_complete = args; args 85 drivers/staging/board/board.c irq_data.args[0] = 0; args 86 drivers/staging/board/board.c irq_data.args[1] = hwirq - irqc_base; args 91 drivers/staging/board/board.c irq_data.args[2] = IRQ_TYPE_EDGE_FALLING; args 94 drivers/staging/board/board.c irq_data.args[2] = IRQ_TYPE_EDGE_RISING; args 97 drivers/staging/board/board.c irq_data.args[2] = IRQ_TYPE_LEVEL_LOW; args 101 drivers/staging/board/board.c irq_data.args[2] = IRQ_TYPE_LEVEL_HIGH; args 3671 drivers/staging/exfat/exfat_super.c substring_t args[MAX_OPT_ARGS]; args 3697 drivers/staging/exfat/exfat_super.c token = match_token(p, exfat_tokens, args); args 3700 drivers/staging/exfat/exfat_super.c if (match_int(&args[0], &option)) args 3705 drivers/staging/exfat/exfat_super.c if (match_int(&args[0], &option)) args 3712 drivers/staging/exfat/exfat_super.c if (match_octal(&args[0], &option)) args 3720 drivers/staging/exfat/exfat_super.c if (match_octal(&args[0], &option)) args 3725 drivers/staging/exfat/exfat_super.c if (match_int(&args[0], &option)) args 3732 drivers/staging/exfat/exfat_super.c iocharset = match_strdup(&args[0]); args 3738 drivers/staging/exfat/exfat_super.c if (match_int(&args[0], &option)) args 169 drivers/staging/fbtft/fb_agm1264k-fl.c va_list args; args 174 drivers/staging/fbtft/fb_agm1264k-fl.c va_start(args, len); args 176 drivers/staging/fbtft/fb_agm1264k-fl.c buf[i] = (u8)va_arg(args, unsigned int); args 178 drivers/staging/fbtft/fb_agm1264k-fl.c va_end(args); args 183 drivers/staging/fbtft/fb_agm1264k-fl.c va_start(args, len); args 185 drivers/staging/fbtft/fb_agm1264k-fl.c *buf = (u8)va_arg(args, unsigned int); args 188 drivers/staging/fbtft/fb_agm1264k-fl.c va_end(args); args 211 drivers/staging/fbtft/fb_agm1264k-fl.c *buf++ = (u8)va_arg(args, unsigned int); args 214 drivers/staging/fbtft/fb_agm1264k-fl.c va_end(args); args 221 drivers/staging/fbtft/fb_agm1264k-fl.c va_end(args); args 192 drivers/staging/fbtft/fb_ra8875.c va_list args; args 200 drivers/staging/fbtft/fb_ra8875.c va_start(args, len); args 202 drivers/staging/fbtft/fb_ra8875.c buf[i] = (u8)va_arg(args, unsigned int); args 203 drivers/staging/fbtft/fb_ra8875.c va_end(args); args 208 drivers/staging/fbtft/fb_ra8875.c va_start(args, len); args 210 drivers/staging/fbtft/fb_ra8875.c *buf = (u8)va_arg(args, unsigned int); args 213 drivers/staging/fbtft/fb_ra8875.c va_end(args); args 227 drivers/staging/fbtft/fb_ra8875.c *buf++ = (u8)va_arg(args, unsigned int); args 231 drivers/staging/fbtft/fb_ra8875.c va_end(args); args 237 drivers/staging/fbtft/fb_ra8875.c va_end(args); args 144 drivers/staging/fbtft/fb_sh1106.c va_list args; args 147 drivers/staging/fbtft/fb_sh1106.c va_start(args, len); args 150 drivers/staging/fbtft/fb_sh1106.c par->buf[i] = va_arg(args, unsigned int); args 155 drivers/staging/fbtft/fb_sh1106.c va_end(args); args 68 drivers/staging/fbtft/fb_ssd1331.c va_list args; args 73 drivers/staging/fbtft/fb_ssd1331.c va_start(args, len); args 75 drivers/staging/fbtft/fb_ssd1331.c buf[i] = (u8)va_arg(args, unsigned int); args 76 drivers/staging/fbtft/fb_ssd1331.c va_end(args); args 81 drivers/staging/fbtft/fb_ssd1331.c va_start(args, len); args 83 drivers/staging/fbtft/fb_ssd1331.c *buf = (u8)va_arg(args, unsigned int); args 88 drivers/staging/fbtft/fb_ssd1331.c va_end(args); args 98 drivers/staging/fbtft/fb_ssd1331.c *buf++ = (u8)va_arg(args, unsigned int); args 101 drivers/staging/fbtft/fb_ssd1331.c va_end(args); args 109 drivers/staging/fbtft/fb_ssd1331.c va_end(args); args 39 drivers/staging/fbtft/fb_watterott.c va_list args; args 43 drivers/staging/fbtft/fb_watterott.c va_start(args, len); args 45 drivers/staging/fbtft/fb_watterott.c *buf++ = (u8)va_arg(args, unsigned int); args 46 drivers/staging/fbtft/fb_watterott.c va_end(args); args 17 drivers/staging/fbtft/fbtft-bus.c va_list args; \ args 23 drivers/staging/fbtft/fbtft-bus.c va_start(args, len); \ args 25 drivers/staging/fbtft/fbtft-bus.c buf[i] = modifier((data_type)va_arg(args, \ args 28 drivers/staging/fbtft/fbtft-bus.c va_end(args); \ args 34 drivers/staging/fbtft/fbtft-bus.c va_start(args, len); \ args 42 drivers/staging/fbtft/fbtft-bus.c *buf = modifier((data_type)va_arg(args, unsigned int)); \ args 55 drivers/staging/fbtft/fbtft-bus.c *buf++ = modifier((data_type)va_arg(args, \ args 61 drivers/staging/fbtft/fbtft-bus.c va_end(args); \ args 71 drivers/staging/fbtft/fbtft-bus.c va_list args; args 77 drivers/staging/fbtft/fbtft-bus.c va_start(args, len); args 79 drivers/staging/fbtft/fbtft-bus.c *(((u8 *)buf) + i) = (u8)va_arg(args, unsigned int); args 80 drivers/staging/fbtft/fbtft-bus.c va_end(args); args 97 drivers/staging/fbtft/fbtft-bus.c va_start(args, len); args 98 drivers/staging/fbtft/fbtft-bus.c *buf++ = (u8)va_arg(args, unsigned int); args 101 drivers/staging/fbtft/fbtft-bus.c *buf = (u8)va_arg(args, unsigned int); args 104 drivers/staging/fbtft/fbtft-bus.c va_end(args); args 54 drivers/staging/fbtft/fbtft-core.c va_list args; args 59 drivers/staging/fbtft/fbtft-core.c va_start(args, fmt); args 60 drivers/staging/fbtft/fbtft-core.c text_len = vscnprintf(text, sizeof(textbuf), fmt, args); args 61 drivers/staging/fbtft/fbtft-core.c va_end(args); args 568 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (dump->idx < dump->cb->args[2]) args 16 drivers/staging/fwserial/dma_fifo.c #define df_trace(s, args...) pr_debug(s, ##args) args 18 drivers/staging/fwserial/dma_fifo.c #define df_trace(s, args...) args 119 drivers/staging/greybus/gb-camera.h #define gb_camera_call(f, op, args...) \ args 121 drivers/staging/greybus/gb-camera.h (f)->ops->op((f)->priv, ##args) : -ENOIOCTLCMD)) args 72 drivers/staging/isdn/hysdn/hysdn_proclog.c va_list args; args 80 drivers/staging/isdn/hysdn/hysdn_proclog.c va_start(args, fmt); args 81 drivers/staging/isdn/hysdn/hysdn_proclog.c cp += vsprintf(cp, fmt, args); args 82 drivers/staging/isdn/hysdn/hysdn_proclog.c va_end(args); args 308 drivers/staging/media/hantro/hantro.h #define vpu_debug(level, fmt, args...) \ args 312 drivers/staging/media/hantro/hantro.h __func__, __LINE__, ##args); \ args 315 drivers/staging/media/hantro/hantro.h #define vpu_err(fmt, args...) \ args 316 drivers/staging/media/hantro/hantro.h pr_err("%s:%d: " fmt, __func__, __LINE__, ##args) args 428 drivers/staging/most/cdev/cdev.c struct most_channel_config *cfg, char *name, char *args) args 307 drivers/staging/most/net/net.c char *args) args 453 drivers/staging/most/video/video.c char *args) args 297 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c struct of_phandle_args *args) args 301 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c if (args->args_count == 0) args 304 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c if (WARN_ON(args->args[0] >= MAX_PHYS)) args 307 drivers/staging/mt7621-pci-phy/pci-mt7621-phy.c return mt7621_phy->phys[args->args[0]]->phy; args 73 drivers/staging/rtl8188eu/include/odm_debug.h #define RT_PRINTK(fmt, args...) \ args 74 drivers/staging/rtl8188eu/include/odm_debug.h pr_info("%s(): " fmt, __func__, ## args); args 47 drivers/staging/rtl8192e/rtllib_debug.h #define RT_TRACE(component, x, args...) \ args 50 drivers/staging/rtl8192e/rtllib_debug.h printk(KERN_DEBUG DRV_NAME ":" x "\n", ##args);\ args 450 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define IEEE80211_DEBUG(level, fmt, args...) \ args 452 drivers/staging/rtl8192u/ieee80211/ieee80211.h printk(KERN_DEBUG "ieee80211: " fmt, ## args); } while (0) args 470 drivers/staging/rtl8192u/ieee80211/ieee80211.h #define IEEE80211_DEBUG (level, fmt, args...) do {} while (0) args 53 drivers/staging/rtl8192u/r8192U.h #define RT_TRACE(component, x, args...) \ args 56 drivers/staging/rtl8192u/r8192U.h pr_debug("RTL8192U: " x "\n", ##args); \ args 90 drivers/staging/rtl8723bs/hal/odm_debug.h #define RT_PRINTK(fmt, args...)\ args 91 drivers/staging/rtl8723bs/hal/odm_debug.h DbgPrint("%s(): " fmt, __func__, ## args) args 4880 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int get_priv_size(__u16 args) args 4882 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c int num = args & IW_PRIV_SIZE_MASK; args 4883 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c int type = (args & IW_PRIV_TYPE_MASK) >> 12; args 113 drivers/staging/rts5208/rtsx.c #define SPRINTF(args...) \ args 116 drivers/staging/rts5208/rtsx.c pos += sprintf(pos, ## args); \ args 220 drivers/staging/speakup/synth.c va_list args; args 224 drivers/staging/speakup/synth.c va_start(args, fmt); args 225 drivers/staging/speakup/synth.c r = vsnprintf(buf, sizeof(buf), fmt, args); args 226 drivers/staging/speakup/synth.c va_end(args); args 871 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_create_service args; args 876 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_from_user(&args, (const void __user *)arg, args 877 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c sizeof(args))) { args 888 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (args.is_open) { args 902 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c userdata = args.params.userdata; args 903 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args.params.callback = service_callback; args 904 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args.params.userdata = user_service; args 907 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c &args.params, srvstate, args 914 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c user_service->is_vchi = (args.is_vchi != 0); args 925 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (args.is_open) { args 1014 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_queue_message args; args 1016 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_from_user(&args, (const void __user *)arg, args 1017 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c sizeof(args))) { args 1022 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c service = find_service_for_instance(instance, args.handle); args 1024 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if ((service != NULL) && (args.count <= MAX_ELEMENTS)) { args 1028 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_from_user(elements, args.elements, args 1029 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args.count * sizeof(struct vchiq_element)) == 0) args 1031 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c (args.handle, args 1032 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c elements, args.count); args 1042 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_queue_bulk_transfer args; args 1049 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_from_user(&args, (const void __user *)arg, args 1050 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c sizeof(args))) { args 1055 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c service = find_service_for_instance(instance, args.handle); args 1061 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (args.mode == VCHIQ_BULK_MODE_BLOCKING) { args 1069 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args.userdata = &waiter->bulk_waiter; args 1070 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c } else if (args.mode == VCHIQ_BULK_MODE_WAITING) { args 1090 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args.userdata = &waiter->bulk_waiter; args 1093 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c status = vchiq_bulk_transfer(args.handle, args.data, args.size, args 1094 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args.userdata, args.mode, dir); args 1130 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_await_completion args; args 1138 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_from_user(&args, (const void __user *)arg, args 1139 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c sizeof(args))) { args 1168 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c int msgbufcount = args.msgbufcount; args 1171 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c for (ret = 0; ret < args.count; ret++) { args 1202 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (args.msgbufsize < msglen) { args 1206 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c header, args.msgbufsize, args 1222 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c &args.msgbufs[msgbufcount], args 1253 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c (size_t)args.buf + ret * args 1271 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (msgbufcount != args.msgbufcount) { args 1289 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_dequeue_message args; args 1294 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_from_user(&args, (const void __user *)arg, args 1295 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c sizeof(args))) { args 1299 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c service = find_service_for_instance(instance, args.handle); args 1312 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (!args.blocking) { args 1348 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c else if (header->size <= args.bufsize) { args 1350 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if ((args.buf == NULL) || args 1351 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c (copy_to_user((void __user *)args.buf, args 1363 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c header, args.bufsize, header->size); args 1377 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_get_config args; args 1380 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_from_user(&args, (const void __user *)arg, args 1381 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c sizeof(args))) { args 1385 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (args.config_size > sizeof(config)) { args 1391 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_to_user(args.pconfig, &config, args.config_size)) { args 1398 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_set_service_option args; args 1400 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_from_user(&args, (const void __user *)arg, args 1401 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c sizeof(args))) { args 1406 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c service = find_service_for_instance(instance, args.handle); args 1413 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args.handle, args.option, args.value); args 1499 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_create_service __user *args; args 1505 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args = compat_alloc_user_space(sizeof(*args)); args 1506 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (!args) args 1512 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.params.fourcc, &args->params.fourcc) || args 1514 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c &args->params.callback) || args 1516 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c &args->params.userdata) || args 1517 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.params.version, &args->params.version) || args 1519 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c &args->params.version_min) || args 1520 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.is_open, &args->is_open) || args 1521 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.is_vchi, &args->is_vchi) || args 1522 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.handle, &args->handle)) args 1525 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c ret = vchiq_ioctl(file, VCHIQ_IOC_CREATE_SERVICE, (unsigned long)args); args 1530 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (get_user(args32.handle, &args->handle)) args 1560 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_queue_message __user *args; args 1570 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args = compat_alloc_user_space(sizeof(*args) + args 1573 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (!args) args 1576 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.handle, &args->handle) || args 1577 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.count, &args->count) || args 1578 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.elements), &args->elements)) args 1587 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c elements = (struct vchiq_element __user *)(args + 1); args 1602 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(elements, &args->elements)) args 1606 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c return vchiq_ioctl(file, VCHIQ_IOC_QUEUE_MESSAGE, (unsigned long)args); args 1627 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_queue_bulk_transfer __user *args; args 1633 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args = compat_alloc_user_space(sizeof(*args)); args 1634 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (!args) args 1640 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.handle, &args->handle) || args 1641 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.data), &args->data) || args 1642 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.size, &args->size) || args 1643 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.userdata), &args->userdata) || args 1644 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.mode, &args->mode)) args 1652 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c ret = vchiq_ioctl(file, cmd, (unsigned long)args); args 1657 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (get_user(args32.mode, &args->mode)) args 1691 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_await_completion __user *args; args 1703 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args = compat_alloc_user_space(sizeof(*args) + args 1706 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (!args) args 1709 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c completion = (struct vchiq_completion_data __user *)(args + 1); args 1717 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.count, &args->count) || args 1718 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.buf), &args->buf) || args 1719 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.msgbufsize, &args->msgbufsize) || args 1720 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.msgbufcount, &args->msgbufcount) || args 1721 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.msgbufs), &args->msgbufs)) args 1728 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c (unsigned long)args); args 1762 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (copy_to_user(&args->msgbufs, args 1767 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(1U, &args->count) || args 1768 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(completion, &args->buf) || args 1769 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(1U, &args->msgbufcount)) args 1774 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c (unsigned long)args); args 1809 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (get_user(msgbufcount_native, &args->msgbufcount)) args 1841 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_dequeue_message __user *args; args 1844 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args = compat_alloc_user_space(sizeof(*args)); args 1845 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (!args) args 1853 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.handle, &args->handle) || args 1854 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.blocking, &args->blocking) || args 1855 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(args32.bufsize, &args->bufsize) || args 1856 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.buf), &args->buf)) args 1860 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c (unsigned long)args); args 1876 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c struct vchiq_get_config __user *args; args 1879 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c args = compat_alloc_user_space(sizeof(*args)); args 1880 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (!args) args 1888 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c if (put_user(args32.config_size, &args->config_size) || args 1889 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c put_user(compat_ptr(args32.pconfig), &args->pconfig)) args 1892 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c return vchiq_ioctl(file, VCHIQ_IOC_GET_CONFIG, (unsigned long)args); args 231 drivers/target/iscsi/iscsi_target_login.c va_list args; args 236 drivers/target/iscsi/iscsi_target_login.c va_start(args, fmt); args 237 drivers/target/iscsi/iscsi_target_login.c vsnprintf(buf, sizeof buf, fmt, args); args 238 drivers/target/iscsi/iscsi_target_login.c va_end(args); args 1850 drivers/target/target_core_configfs.c substring_t args[MAX_OPT_ARGS]; args 1879 drivers/target/target_core_configfs.c token = match_token(ptr, tokens, args); args 1882 drivers/target/target_core_configfs.c i_fabric = match_strdup(args); args 1889 drivers/target/target_core_configfs.c i_port = match_strdup(args); args 1903 drivers/target/target_core_configfs.c isid = match_strdup(args); args 1917 drivers/target/target_core_configfs.c ret = match_u64(args, &tmp_ll); args 1928 drivers/target/target_core_configfs.c ret = match_int(args, &arg); args 1934 drivers/target/target_core_configfs.c ret = match_int(args, &arg); args 1940 drivers/target/target_core_configfs.c ret = match_int(args, &arg); args 1945 drivers/target/target_core_configfs.c ret = match_int(args, &arg); args 1951 drivers/target/target_core_configfs.c ret = match_u64(args, &tmp_ll); args 1960 drivers/target/target_core_configfs.c t_fabric = match_strdup(args); args 1967 drivers/target/target_core_configfs.c t_port = match_strdup(args); args 1981 drivers/target/target_core_configfs.c ret = match_int(args, &arg); args 1987 drivers/target/target_core_configfs.c ret = match_int(args, &arg); args 1992 drivers/target/target_core_configfs.c ret = match_u64(args, &tmp_ll); args 719 drivers/target/target_core_file.c substring_t args[MAX_OPT_ARGS]; args 732 drivers/target/target_core_file.c token = match_token(ptr, tokens, args); args 735 drivers/target/target_core_file.c if (match_strlcpy(fd_dev->fd_dev_name, &args[0], args 745 drivers/target/target_core_file.c arg_p = match_strdup(&args[0]); args 762 drivers/target/target_core_file.c ret = match_int(args, &arg); args 777 drivers/target/target_core_file.c ret = match_int(args, &arg); args 536 drivers/target/target_core_iblock.c substring_t args[MAX_OPT_ARGS]; args 550 drivers/target/target_core_iblock.c token = match_token(ptr, tokens, args); args 559 drivers/target/target_core_iblock.c if (match_strlcpy(ib_dev->ibd_udev_path, &args[0], args 569 drivers/target/target_core_iblock.c arg_p = match_strdup(&args[0]); args 723 drivers/target/target_core_pscsi.c substring_t args[MAX_OPT_ARGS]; args 736 drivers/target/target_core_pscsi.c token = match_token(ptr, tokens, args); args 747 drivers/target/target_core_pscsi.c ret = match_int(args, &arg); args 756 drivers/target/target_core_pscsi.c ret = match_int(args, &arg); args 766 drivers/target/target_core_pscsi.c ret = match_int(args, &arg); args 776 drivers/target/target_core_pscsi.c ret = match_int(args, &arg); args 547 drivers/target/target_core_rd.c substring_t args[MAX_OPT_ARGS]; args 560 drivers/target/target_core_rd.c token = match_token(ptr, tokens, args); args 563 drivers/target/target_core_rd.c match_int(args, &arg); args 570 drivers/target/target_core_rd.c match_int(args, &arg); args 2158 drivers/target/target_core_user.c substring_t args[MAX_OPT_ARGS]; args 2171 drivers/target/target_core_user.c token = match_token(ptr, tokens, args); args 2174 drivers/target/target_core_user.c if (match_strlcpy(udev->dev_config, &args[0], args 2182 drivers/target/target_core_user.c ret = match_u64(&args[0], &udev->dev_size); args 2188 drivers/target/target_core_user.c ret = tcmu_set_dev_attrib(&args[0], args 2192 drivers/target/target_core_user.c ret = tcmu_set_dev_attrib(&args[0], args 2196 drivers/target/target_core_user.c ret = match_int(&args[0], &udev->nl_reply_supported); args 2202 drivers/target/target_core_user.c ret = tcmu_set_max_blocks_param(udev, &args[0]); args 30 drivers/target/tcm_fc/tfc_sess.c #define TFC_SESS_DBG(lport, fmt, args...) \ args 33 drivers/target/tcm_fc/tfc_sess.c (lport)->port_id, ##args ) args 513 drivers/thermal/of-thermal.c id = sensor_specs.args[0]; args 735 drivers/thermal/of-thermal.c __tcbp[i].min = cooling_spec.args[0]; args 736 drivers/thermal/of-thermal.c __tcbp[i].max = cooling_spec.args[1]; args 83 drivers/tty/n_r3964.c #define TRACE(format, args...) printk("r3964: " format "\n" , ## args) args 86 drivers/tty/n_r3964.c #define TRACE_M(format, args...) printk("r3964: " format "\n" , ## args) args 91 drivers/tty/n_r3964.c #define TRACE_PS(format, args...) printk("r3964: " format "\n" , ## args) args 96 drivers/tty/n_r3964.c #define TRACE_PE(format, args...) printk("r3964: " format "\n" , ## args) args 101 drivers/tty/n_r3964.c #define TRACE_L(format, args...) printk("r3964: " format "\n" , ## args) args 106 drivers/tty/n_r3964.c #define TRACE_Q(format, args...) printk("r3964: " format "\n" , ## args) args 85 drivers/tty/n_tty.c # define n_tty_trace(f, args...) trace_printk(f, ##args) args 87 drivers/tty/n_tty.c # define n_tty_trace(f, args...) args 59 drivers/tty/nozomi.c #define DBG_(lvl, fmt, args...) \ args 63 drivers/tty/nozomi.c __LINE__, __func__, ##args); \ args 66 drivers/tty/nozomi.c #define DBG1(args...) DBG_(0x01, ##args) args 67 drivers/tty/nozomi.c #define DBG2(args...) DBG_(0x02, ##args) args 68 drivers/tty/nozomi.c #define DBG3(args...) DBG_(0x04, ##args) args 69 drivers/tty/nozomi.c #define DBG4(args...) DBG_(0x08, ##args) args 35 drivers/tty/pty.c # define tty_debug_hangup(tty, f, args...) tty_debug(tty, f, ##args) args 37 drivers/tty/pty.c # define tty_debug_hangup(tty, f, args...) do {} while (0) args 426 drivers/tty/serial/msm_serial.c static void msm_complete_tx_dma(void *args) args 428 drivers/tty/serial/msm_serial.c struct msm_port *msm_port = args; args 536 drivers/tty/serial/msm_serial.c static void msm_complete_rx_dma(void *args) args 538 drivers/tty/serial/msm_serial.c struct msm_port *msm_port = args; args 196 drivers/tty/serial/samsung.c static void s3c24xx_serial_tx_dma_complete(void *args) args 198 drivers/tty/serial/samsung.c struct s3c24xx_uart_port *ourport = args; args 444 drivers/tty/serial/samsung.c static void s3c24xx_serial_rx_dma_complete(void *args) args 446 drivers/tty/serial/samsung.c struct s3c24xx_uart_port *ourport = args; args 510 drivers/tty/serial/serial-tegra.c static void tegra_uart_tx_dma_complete(void *args) args 512 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = args; args 713 drivers/tty/serial/serial-tegra.c static void tegra_uart_rx_dma_complete(void *args) args 715 drivers/tty/serial/serial-tegra.c struct tegra_uart_port *tup = args; args 113 drivers/tty/tty_io.c # define tty_debug_hangup(tty, f, args...) tty_debug(tty, f, ##args) args 115 drivers/tty/tty_io.c # define tty_debug_hangup(tty, f, args...) do { } while (0) args 31 drivers/tty/tty_ioctl.c # define tty_debug_wait_until_sent(tty, f, args...) tty_debug(tty, f, ##args) args 33 drivers/tty/tty_ioctl.c # define tty_debug_wait_until_sent(tty, f, args...) do {} while (0) args 26 drivers/tty/tty_ldisc.c #define tty_ldisc_debug(tty, f, args...) tty_debug(tty, f, ##args) args 28 drivers/tty/tty_ldisc.c #define tty_ldisc_debug(tty, f, args...) args 38 drivers/usb/atm/ueagle-atm.c #define uea_dbg(usb_dev, format, args...) \ args 43 drivers/usb/atm/ueagle-atm.c __func__, ##args); \ args 46 drivers/usb/atm/ueagle-atm.c #define uea_vdbg(usb_dev, format, args...) \ args 50 drivers/usb/atm/ueagle-atm.c "[ueagle-atm vdbg] " format, ##args); \ args 59 drivers/usb/atm/ueagle-atm.c #define uea_err(usb_dev, format, args...) \ args 60 drivers/usb/atm/ueagle-atm.c dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args) args 62 drivers/usb/atm/ueagle-atm.c #define uea_warn(usb_dev, format, args...) \ args 63 drivers/usb/atm/ueagle-atm.c dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args) args 65 drivers/usb/atm/ueagle-atm.c #define uea_info(usb_dev, format, args...) \ args 66 drivers/usb/atm/ueagle-atm.c dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##args) args 113 drivers/usb/chipidea/ci_hdrc_imx.c struct of_phandle_args args; args 129 drivers/usb/chipidea/ci_hdrc_imx.c 0, &args); args 136 drivers/usb/chipidea/ci_hdrc_imx.c data->index = args.args[0]; args 138 drivers/usb/chipidea/ci_hdrc_imx.c misc_pdev = of_find_device_by_node(args.np); args 139 drivers/usb/chipidea/ci_hdrc_imx.c of_node_put(args.np); args 144 drivers/usb/chipidea/ci_hdrc_msm.c struct of_phandle_args args; args 149 drivers/usb/chipidea/ci_hdrc_msm.c &args); args 153 drivers/usb/chipidea/ci_hdrc_msm.c regmap = syscon_node_to_regmap(args.np); args 154 drivers/usb/chipidea/ci_hdrc_msm.c of_node_put(args.np); args 158 drivers/usb/chipidea/ci_hdrc_msm.c ret = regmap_write(regmap, args.args[0], args.args[1]); args 162 drivers/usb/chipidea/ci_hdrc_msm.c ci->secondary_phy = !!args.args[1]; args 159 drivers/usb/common/common.c struct of_phandle_args args; args 171 drivers/usb/common/common.c args.np = of_parse_phandle(controller, "phys", args 173 drivers/usb/common/common.c args.args_count = 0; args 177 drivers/usb/common/common.c index, &args); args 182 drivers/usb/common/common.c of_node_put(args.np); args 183 drivers/usb/common/common.c if (args.np == np && (args.args_count == 0 || args 184 drivers/usb/common/common.c args.args[0] == arg0)) args 187 drivers/usb/common/common.c } while (args.np); args 22 drivers/usb/common/usb-otg-fsm.c #define VDBG(fmt, args...) pr_debug("[%s] " fmt, \ args 23 drivers/usb/common/usb-otg-fsm.c __func__, ## args) args 134 drivers/usb/core/ledtrig-usbport.c struct of_phandle_args args; args 167 drivers/usb/core/ledtrig-usbport.c &args); args 174 drivers/usb/core/ledtrig-usbport.c of_node_put(args.np); args 176 drivers/usb/core/ledtrig-usbport.c if (args.np == port_np) args 407 drivers/usb/dwc2/hcd_queue.c va_list args; args 413 drivers/usb/dwc2/hcd_queue.c va_start(args, fmt); args 414 drivers/usb/dwc2/hcd_queue.c i = vsnprintf(*buf, *size, fmt, args); args 415 drivers/usb/dwc2/hcd_queue.c va_end(args); args 18 drivers/usb/gadget/function/storage_common.h #define VLDBG(lun, fmt, args...) do { } while (0) args 21 drivers/usb/gadget/function/storage_common.h #define _LMSG(func, lun, fmt, args...) \ args 25 drivers/usb/gadget/function/storage_common.h (lun)->name, ## args); \ args 27 drivers/usb/gadget/function/storage_common.h func("%s: " fmt, (lun)->name, ## args); \ args 30 drivers/usb/gadget/function/storage_common.h #define LDBG(lun, fmt, args...) _LMSG(pr_debug, lun, fmt, ## args) args 31 drivers/usb/gadget/function/storage_common.h #define LERROR(lun, fmt, args...) _LMSG(pr_err, lun, fmt, ## args) args 32 drivers/usb/gadget/function/storage_common.h #define LWARN(lun, fmt, args...) _LMSG(pr_warn, lun, fmt, ## args) args 33 drivers/usb/gadget/function/storage_common.h #define LINFO(lun, fmt, args...) _LMSG(pr_info, lun, fmt, ## args) args 113 drivers/usb/gadget/function/u_ether.c #define xprintk(d, level, fmt, args...) \ args 114 drivers/usb/gadget/function/u_ether.c printk(level "%s: " fmt , (d)->net->name , ## args) args 118 drivers/usb/gadget/function/u_ether.c #define DBG(dev, fmt, args...) \ args 119 drivers/usb/gadget/function/u_ether.c xprintk(dev , KERN_DEBUG , fmt , ## args) args 121 drivers/usb/gadget/function/u_ether.c #define DBG(dev, fmt, args...) \ args 128 drivers/usb/gadget/function/u_ether.c #define VDBG(dev, fmt, args...) \ args 132 drivers/usb/gadget/function/u_ether.c #define ERROR(dev, fmt, args...) \ args 133 drivers/usb/gadget/function/u_ether.c xprintk(dev , KERN_ERR , fmt , ## args) args 134 drivers/usb/gadget/function/u_ether.c #define INFO(dev, fmt, args...) \ args 135 drivers/usb/gadget/function/u_ether.c xprintk(dev , KERN_INFO , fmt , ## args) args 55 drivers/usb/gadget/function/uvc.h #define uvcg_dbg(f, fmt, args...) \ args 56 drivers/usb/gadget/function/uvc.h dev_dbg(&(f)->config->cdev->gadget->dev, "%s: " fmt, (f)->name, ##args) args 57 drivers/usb/gadget/function/uvc.h #define uvcg_info(f, fmt, args...) \ args 58 drivers/usb/gadget/function/uvc.h dev_info(&(f)->config->cdev->gadget->dev, "%s: " fmt, (f)->name, ##args) args 59 drivers/usb/gadget/function/uvc.h #define uvcg_warn(f, fmt, args...) \ args 60 drivers/usb/gadget/function/uvc.h dev_warn(&(f)->config->cdev->gadget->dev, "%s: " fmt, (f)->name, ##args) args 61 drivers/usb/gadget/function/uvc.h #define uvcg_err(f, fmt, args...) \ args 62 drivers/usb/gadget/function/uvc.h dev_err(&(f)->config->cdev->gadget->dev, "%s: " fmt, (f)->name, ##args) args 238 drivers/usb/gadget/legacy/inode.c #define xprintk(d,level,fmt,args...) \ args 239 drivers/usb/gadget/legacy/inode.c printk(level "%s: " fmt , shortname , ## args) args 242 drivers/usb/gadget/legacy/inode.c #define DBG(dev,fmt,args...) \ args 243 drivers/usb/gadget/legacy/inode.c xprintk(dev , KERN_DEBUG , fmt , ## args) args 245 drivers/usb/gadget/legacy/inode.c #define DBG(dev,fmt,args...) \ args 252 drivers/usb/gadget/legacy/inode.c #define VDEBUG(dev,fmt,args...) \ args 256 drivers/usb/gadget/legacy/inode.c #define ERROR(dev,fmt,args...) \ args 257 drivers/usb/gadget/legacy/inode.c xprintk(dev , KERN_ERR , fmt , ## args) args 258 drivers/usb/gadget/legacy/inode.c #define INFO(dev,fmt,args...) \ args 259 drivers/usb/gadget/legacy/inode.c xprintk(dev , KERN_INFO , fmt , ## args) args 654 drivers/usb/gadget/udc/amd5536udc.h #define DBG(udc , args...) dev_dbg(udc->dev, args) args 659 drivers/usb/gadget/udc/amd5536udc.h #define VDBG(udc , args...) do {} while (0) args 72 drivers/usb/gadget/udc/aspeed-vhub/ep0.c va_list args; args 74 drivers/usb/gadget/udc/aspeed-vhub/ep0.c va_start(args, len); args 78 drivers/usb/gadget/udc/aspeed-vhub/ep0.c buffer[i] = va_arg(args, int); args 79 drivers/usb/gadget/udc/aspeed-vhub/ep0.c va_end(args); args 512 drivers/usb/gadget/udc/fsl_usb2_udc.h #define DBG(fmt, args...) printk(KERN_DEBUG "[%s] " fmt "\n", \ args 513 drivers/usb/gadget/udc/fsl_usb2_udc.h __func__, ## args) args 515 drivers/usb/gadget/udc/fsl_usb2_udc.h #define DBG(fmt, args...) do{}while(0) args 264 drivers/usb/gadget/udc/goku_udc.h #define xprintk(dev,level,fmt,args...) \ args 266 drivers/usb/gadget/udc/goku_udc.h pci_name(dev->pdev) , ## args) args 269 drivers/usb/gadget/udc/goku_udc.h #define DBG(dev,fmt,args...) \ args 270 drivers/usb/gadget/udc/goku_udc.h xprintk(dev , KERN_DEBUG , fmt , ## args) args 272 drivers/usb/gadget/udc/goku_udc.h #define DBG(dev,fmt,args...) \ args 279 drivers/usb/gadget/udc/goku_udc.h #define VDBG(dev,fmt,args...) \ args 283 drivers/usb/gadget/udc/goku_udc.h #define ERROR(dev,fmt,args...) \ args 284 drivers/usb/gadget/udc/goku_udc.h xprintk(dev , KERN_ERR , fmt , ## args) args 285 drivers/usb/gadget/udc/goku_udc.h #define WARNING(dev,fmt,args...) \ args 286 drivers/usb/gadget/udc/goku_udc.h xprintk(dev , KERN_WARNING , fmt , ## args) args 287 drivers/usb/gadget/udc/goku_udc.h #define INFO(dev,fmt,args...) \ args 288 drivers/usb/gadget/udc/goku_udc.h xprintk(dev , KERN_INFO , fmt , ## args) args 314 drivers/usb/gadget/udc/net2280.h #define ep_dbg(ndev, fmt, args...) \ args 315 drivers/usb/gadget/udc/net2280.h dev_dbg((&((ndev)->pdev->dev)), fmt, ##args) args 317 drivers/usb/gadget/udc/net2280.h #define ep_vdbg(ndev, fmt, args...) \ args 318 drivers/usb/gadget/udc/net2280.h dev_vdbg((&((ndev)->pdev->dev)), fmt, ##args) args 320 drivers/usb/gadget/udc/net2280.h #define ep_info(ndev, fmt, args...) \ args 321 drivers/usb/gadget/udc/net2280.h dev_info((&((ndev)->pdev->dev)), fmt, ##args) args 323 drivers/usb/gadget/udc/net2280.h #define ep_warn(ndev, fmt, args...) \ args 324 drivers/usb/gadget/udc/net2280.h dev_warn((&((ndev)->pdev->dev)), fmt, ##args) args 326 drivers/usb/gadget/udc/net2280.h #define ep_err(ndev, fmt, args...) \ args 327 drivers/usb/gadget/udc/net2280.h dev_err((&((ndev)->pdev->dev)), fmt, ##args) args 96 drivers/usb/gadget/udc/s3c2410_udc.c va_list args; args 101 drivers/usb/gadget/udc/s3c2410_udc.c va_start(args, fmt); args 104 drivers/usb/gadget/udc/s3c2410_udc.c vaf.va = &args; args 113 drivers/usb/gadget/udc/s3c2410_udc.c va_end(args); args 859 drivers/usb/host/ehci.h #define ehci_dbg(ehci, fmt, args...) \ args 860 drivers/usb/host/ehci.h dev_dbg(ehci_to_hcd(ehci)->self.controller, fmt, ## args) args 861 drivers/usb/host/ehci.h #define ehci_err(ehci, fmt, args...) \ args 862 drivers/usb/host/ehci.h dev_err(ehci_to_hcd(ehci)->self.controller, fmt, ## args) args 863 drivers/usb/host/ehci.h #define ehci_info(ehci, fmt, args...) \ args 864 drivers/usb/host/ehci.h dev_info(ehci_to_hcd(ehci)->self.controller, fmt, ## args) args 865 drivers/usb/host/ehci.h #define ehci_warn(ehci, fmt, args...) \ args 866 drivers/usb/host/ehci.h dev_warn(ehci_to_hcd(ehci)->self.controller, fmt, ## args) args 451 drivers/usb/host/fhci.h #define fhci_dbg(fhci, fmt, args...) \ args 452 drivers/usb/host/fhci.h dev_dbg(fhci_to_hcd(fhci)->self.controller, fmt, ##args) args 453 drivers/usb/host/fhci.h #define fhci_vdbg(fhci, fmt, args...) \ args 454 drivers/usb/host/fhci.h dev_vdbg(fhci_to_hcd(fhci)->self.controller, fmt, ##args) args 455 drivers/usb/host/fhci.h #define fhci_err(fhci, fmt, args...) \ args 456 drivers/usb/host/fhci.h dev_err(fhci_to_hcd(fhci)->self.controller, fmt, ##args) args 457 drivers/usb/host/fhci.h #define fhci_info(fhci, fmt, args...) \ args 458 drivers/usb/host/fhci.h dev_info(fhci_to_hcd(fhci)->self.controller, fmt, ##args) args 459 drivers/usb/host/fhci.h #define fhci_warn(fhci, fmt, args...) \ args 460 drivers/usb/host/fhci.h dev_warn(fhci_to_hcd(fhci)->self.controller, fmt, ##args) args 81 drivers/usb/host/fotg210-hcd.c #define fotg210_dbg(fotg210, fmt, args...) \ args 82 drivers/usb/host/fotg210-hcd.c dev_dbg(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) args 83 drivers/usb/host/fotg210-hcd.c #define fotg210_err(fotg210, fmt, args...) \ args 84 drivers/usb/host/fotg210-hcd.c dev_err(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) args 85 drivers/usb/host/fotg210-hcd.c #define fotg210_info(fotg210, fmt, args...) \ args 86 drivers/usb/host/fotg210-hcd.c dev_info(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) args 87 drivers/usb/host/fotg210-hcd.c #define fotg210_warn(fotg210, fmt, args...) \ args 88 drivers/usb/host/fotg210-hcd.c dev_warn(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) args 490 drivers/usb/host/ohci.h #define ohci_dbg(ohci, fmt, args...) \ args 491 drivers/usb/host/ohci.h dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) args 492 drivers/usb/host/ohci.h #define ohci_err(ohci, fmt, args...) \ args 493 drivers/usb/host/ohci.h dev_err (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) args 494 drivers/usb/host/ohci.h #define ohci_info(ohci, fmt, args...) \ args 495 drivers/usb/host/ohci.h dev_info (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) args 496 drivers/usb/host/ohci.h #define ohci_warn(ohci, fmt, args...) \ args 497 drivers/usb/host/ohci.h dev_warn (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) args 481 drivers/usb/host/oxu210hp-hcd.c #define oxu_dbg(oxu, fmt, args...) \ args 482 drivers/usb/host/oxu210hp-hcd.c dev_dbg(oxu_to_hcd(oxu)->self.controller , fmt , ## args) args 483 drivers/usb/host/oxu210hp-hcd.c #define oxu_err(oxu, fmt, args...) \ args 484 drivers/usb/host/oxu210hp-hcd.c dev_err(oxu_to_hcd(oxu)->self.controller , fmt , ## args) args 485 drivers/usb/host/oxu210hp-hcd.c #define oxu_info(oxu, fmt, args...) \ args 486 drivers/usb/host/oxu210hp-hcd.c dev_info(oxu_to_hcd(oxu)->self.controller , fmt , ## args) args 512 drivers/usb/host/oxu210hp-hcd.c #define oxu_vdbg(oxu, fmt, args...) /* Nop */ args 38 drivers/usb/host/sl811_cs.c #define INFO(args...) printk(KERN_INFO "sl811_cs: " args) args 26 drivers/usb/host/xhci-dbg.c va_list args; args 28 drivers/usb/host/xhci-dbg.c va_start(args, fmt); args 30 drivers/usb/host/xhci-dbg.c vaf.va = &args; args 33 drivers/usb/host/xhci-dbg.c va_end(args); args 119 drivers/usb/host/xhci-debugfs.c va_list args; args 127 drivers/usb/host/xhci-debugfs.c va_start(args, fmt); args 128 drivers/usb/host/xhci-debugfs.c vsnprintf(rgs->name, sizeof(rgs->name), fmt, args); args 129 drivers/usb/host/xhci-debugfs.c va_end(args); args 317 drivers/usb/host/xhci-mtk.c struct of_phandle_args args; args 326 drivers/usb/host/xhci-mtk.c "mediatek,syscon-wakeup", 2, 0, &args); args 330 drivers/usb/host/xhci-mtk.c mtk->uwk_reg_base = args.args[0]; args 331 drivers/usb/host/xhci-mtk.c mtk->uwk_vers = args.args[1]; args 332 drivers/usb/host/xhci-mtk.c mtk->uwk = syscon_node_to_regmap(args.np); args 333 drivers/usb/host/xhci-mtk.c of_node_put(args.np); args 1935 drivers/usb/host/xhci.h #define xhci_dbg(xhci, fmt, args...) \ args 1936 drivers/usb/host/xhci.h dev_dbg(xhci_to_hcd(xhci)->self.controller , fmt , ## args) args 1937 drivers/usb/host/xhci.h #define xhci_err(xhci, fmt, args...) \ args 1938 drivers/usb/host/xhci.h dev_err(xhci_to_hcd(xhci)->self.controller , fmt , ## args) args 1939 drivers/usb/host/xhci.h #define xhci_warn(xhci, fmt, args...) \ args 1940 drivers/usb/host/xhci.h dev_warn(xhci_to_hcd(xhci)->self.controller , fmt , ## args) args 1941 drivers/usb/host/xhci.h #define xhci_warn_ratelimited(xhci, fmt, args...) \ args 1942 drivers/usb/host/xhci.h dev_warn_ratelimited(xhci_to_hcd(xhci)->self.controller , fmt , ## args) args 1943 drivers/usb/host/xhci.h #define xhci_info(xhci, fmt, args...) \ args 1944 drivers/usb/host/xhci.h dev_info(xhci_to_hcd(xhci)->self.controller , fmt , ## args) args 118 drivers/usb/misc/usbtest.c #define ERROR(tdev, fmt, args...) \ args 119 drivers/usb/misc/usbtest.c dev_err(&(tdev)->intf->dev , fmt , ## args) args 120 drivers/usb/misc/usbtest.c #define WARNING(tdev, fmt, args...) \ args 121 drivers/usb/misc/usbtest.c dev_warn(&(tdev)->intf->dev , fmt , ## args) args 65 drivers/usb/mtu3/mtu3_host.c struct of_phandle_args args; args 74 drivers/usb/mtu3/mtu3_host.c "mediatek,syscon-wakeup", 2, 0, &args); args 78 drivers/usb/mtu3/mtu3_host.c ssusb->uwk_reg_base = args.args[0]; args 79 drivers/usb/mtu3/mtu3_host.c ssusb->uwk_vers = args.args[1]; args 80 drivers/usb/mtu3/mtu3_host.c ssusb->uwk = syscon_node_to_regmap(args.np); args 81 drivers/usb/mtu3/mtu3_host.c of_node_put(args.np); args 16 drivers/usb/mtu3/mtu3_trace.c va_list args; args 18 drivers/usb/mtu3/mtu3_trace.c va_start(args, fmt); args 20 drivers/usb/mtu3/mtu3_trace.c vaf.va = &args; args 22 drivers/usb/mtu3/mtu3_trace.c va_end(args); args 13 drivers/usb/musb/musb_debug.h #define yprintk(facility, format, args...) \ args 15 drivers/usb/musb/musb_debug.h __func__, __LINE__ , ## args); } while (0) args 16 drivers/usb/musb/musb_debug.h #define WARNING(fmt, args...) yprintk(KERN_WARNING, fmt, ## args) args 17 drivers/usb/musb/musb_debug.h #define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args) args 18 drivers/usb/musb/musb_debug.h #define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args) args 16 drivers/usb/musb/musb_trace.c va_list args; args 18 drivers/usb/musb/musb_trace.c va_start(args, fmt); args 20 drivers/usb/musb/musb_trace.c vaf.va = &args; args 24 drivers/usb/musb/musb_trace.c va_end(args); args 35 drivers/usb/phy/phy-fsl-usb.c #define VDBG(fmt, args...) pr_debug("[%s] " fmt, \ args 36 drivers/usb/phy/phy-fsl-usb.c __func__, ## args) args 54 drivers/usb/renesas_usbhs/common.c #define usbhs_platform_call(priv, func, args...)\ args 57 drivers/usb/renesas_usbhs/common.c (priv)->pfunc->func(args)) args 167 drivers/usb/storage/debug.c va_list args; args 169 drivers/usb/storage/debug.c va_start(args, fmt); args 171 drivers/usb/storage/debug.c dev_vprintk_emit(LOGLEVEL_DEBUG, &us->pusb_dev->dev, fmt, args); args 173 drivers/usb/storage/debug.c va_end(args); args 136 drivers/usb/typec/tcpm/fusb302.c va_list args) args 149 drivers/usb/typec/tcpm/fusb302.c vsnprintf(tmpbuffer, sizeof(tmpbuffer), fmt, args); args 184 drivers/usb/typec/tcpm/fusb302.c va_list args; args 186 drivers/usb/typec/tcpm/fusb302.c va_start(args, fmt); args 187 drivers/usb/typec/tcpm/fusb302.c _fusb302_log(chip, fmt, args); args 188 drivers/usb/typec/tcpm/fusb302.c va_end(args); args 422 drivers/usb/typec/tcpm/tcpm.c static void _tcpm_log(struct tcpm_port *port, const char *fmt, va_list args) args 438 drivers/usb/typec/tcpm/tcpm.c vsnprintf(tmpbuffer, sizeof(tmpbuffer), fmt, args); args 472 drivers/usb/typec/tcpm/tcpm.c va_list args; args 480 drivers/usb/typec/tcpm/tcpm.c va_start(args, fmt); args 481 drivers/usb/typec/tcpm/tcpm.c _tcpm_log(port, fmt, args); args 482 drivers/usb/typec/tcpm/tcpm.c va_end(args); args 488 drivers/usb/typec/tcpm/tcpm.c va_list args; args 490 drivers/usb/typec/tcpm/tcpm.c va_start(args, fmt); args 491 drivers/usb/typec/tcpm/tcpm.c _tcpm_log(port, fmt, args); args 492 drivers/usb/typec/tcpm/tcpm.c va_end(args); args 61 drivers/usb/usbip/usbip_common.h #define usbip_dbg_with_flag(flag, fmt, args...) \ args 64 drivers/usb/usbip/usbip_common.h pr_debug(fmt, ##args); \ args 67 drivers/usb/usbip/usbip_common.h #define usbip_dbg_sysfs(fmt, args...) \ args 68 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_sysfs, fmt , ##args) args 69 drivers/usb/usbip/usbip_common.h #define usbip_dbg_xmit(fmt, args...) \ args 70 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_xmit, fmt , ##args) args 71 drivers/usb/usbip/usbip_common.h #define usbip_dbg_urb(fmt, args...) \ args 72 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_urb, fmt , ##args) args 73 drivers/usb/usbip/usbip_common.h #define usbip_dbg_eh(fmt, args...) \ args 74 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_eh, fmt , ##args) args 76 drivers/usb/usbip/usbip_common.h #define usbip_dbg_vhci_rh(fmt, args...) \ args 77 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_vhci_rh, fmt , ##args) args 78 drivers/usb/usbip/usbip_common.h #define usbip_dbg_vhci_hc(fmt, args...) \ args 79 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_vhci_hc, fmt , ##args) args 80 drivers/usb/usbip/usbip_common.h #define usbip_dbg_vhci_rx(fmt, args...) \ args 81 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_vhci_rx, fmt , ##args) args 82 drivers/usb/usbip/usbip_common.h #define usbip_dbg_vhci_tx(fmt, args...) \ args 83 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_vhci_tx, fmt , ##args) args 84 drivers/usb/usbip/usbip_common.h #define usbip_dbg_vhci_sysfs(fmt, args...) \ args 85 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_vhci_sysfs, fmt , ##args) args 87 drivers/usb/usbip/usbip_common.h #define usbip_dbg_stub_cmp(fmt, args...) \ args 88 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_stub_cmp, fmt , ##args) args 89 drivers/usb/usbip/usbip_common.h #define usbip_dbg_stub_rx(fmt, args...) \ args 90 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_stub_rx, fmt , ##args) args 91 drivers/usb/usbip/usbip_common.h #define usbip_dbg_stub_tx(fmt, args...) \ args 92 drivers/usb/usbip/usbip_common.h usbip_dbg_with_flag(usbip_debug_stub_tx, fmt , ##args) args 98 drivers/video/fbdev/amifb.c # define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __func__ , ## args) args 100 drivers/video/fbdev/amifb.c # define DPRINTK(fmt, args...) args 89 drivers/video/fbdev/aty/aty128fb.c #define DBG(fmt, args...) \ args 90 drivers/video/fbdev/aty/aty128fb.c printk(KERN_DEBUG "aty128fb: %s " fmt, __func__, ##args); args 92 drivers/video/fbdev/aty/aty128fb.c #define DBG(fmt, args...) args 127 drivers/video/fbdev/aty/atyfb_base.c #define DPRINTK(fmt, args...) printk(KERN_DEBUG "atyfb: " fmt, ## args) args 129 drivers/video/fbdev/aty/atyfb_base.c #define DPRINTK(fmt, args...) args 132 drivers/video/fbdev/aty/atyfb_base.c #define PRINTKI(fmt, args...) printk(KERN_INFO "atyfb: " fmt, ## args) args 133 drivers/video/fbdev/aty/atyfb_base.c #define PRINTKE(fmt, args...) printk(KERN_ERR "atyfb: " fmt, ## args) args 783 drivers/video/fbdev/broadsheetfb.c u16 args[5]; args 787 drivers/video/fbdev/broadsheetfb.c args[0] = panel_table[par->panel_index].w; args 788 drivers/video/fbdev/broadsheetfb.c args[1] = panel_table[par->panel_index].h; args 789 drivers/video/fbdev/broadsheetfb.c args[2] = panel_table[par->panel_index].sdcfg; args 790 drivers/video/fbdev/broadsheetfb.c args[3] = panel_table[par->panel_index].gdcfg; args 791 drivers/video/fbdev/broadsheetfb.c args[4] = panel_table[par->panel_index].lutfmt; args 792 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_INIT_DSPE_CFG, 5, args); args 795 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_INIT_DSPE_CFG, 5, args); args 797 drivers/video/fbdev/broadsheetfb.c args[0] = panel_table[par->panel_index].fsynclen; args 798 drivers/video/fbdev/broadsheetfb.c args[1] = panel_table[par->panel_index].fendfbegin; args 799 drivers/video/fbdev/broadsheetfb.c args[2] = panel_table[par->panel_index].lsynclen; args 800 drivers/video/fbdev/broadsheetfb.c args[3] = panel_table[par->panel_index].lendlbegin; args 801 drivers/video/fbdev/broadsheetfb.c args[4] = panel_table[par->panel_index].pixclk; args 802 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_INIT_DSPE_TMG, 5, args); args 807 drivers/video/fbdev/broadsheetfb.c args[0] = 0x886; args 808 drivers/video/fbdev/broadsheetfb.c args[1] = 0; args 809 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_RD_WFM_INFO, 2, args); args 819 drivers/video/fbdev/broadsheetfb.c args[0] = (0x3 << 4); args 820 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_LD_IMG, 1, args); args 822 drivers/video/fbdev/broadsheetfb.c args[0] = 0x154; args 823 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_WR_REG, 1, args); args 831 drivers/video/fbdev/broadsheetfb.c args[0] = 0x4300; args 832 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_UPD_FULL, 1, args); args 867 drivers/video/fbdev/broadsheetfb.c u16 args[5]; args 876 drivers/video/fbdev/broadsheetfb.c args[0] = 0x3 << 4; args 877 drivers/video/fbdev/broadsheetfb.c args[1] = 0; args 878 drivers/video/fbdev/broadsheetfb.c args[2] = y1; args 879 drivers/video/fbdev/broadsheetfb.c args[3] = cpu_to_le16(par->info->var.xres); args 880 drivers/video/fbdev/broadsheetfb.c args[4] = y2; args 881 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_LD_IMG_AREA, 5, args); args 883 drivers/video/fbdev/broadsheetfb.c args[0] = 0x154; args 884 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_WR_REG, 1, args); args 892 drivers/video/fbdev/broadsheetfb.c args[0] = 0x4300; args 893 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_UPD_FULL, 1, args); args 906 drivers/video/fbdev/broadsheetfb.c u16 args[5]; args 909 drivers/video/fbdev/broadsheetfb.c args[0] = 0x3 << 4; args 910 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_LD_IMG, 1, args); args 912 drivers/video/fbdev/broadsheetfb.c args[0] = 0x154; args 913 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_WR_REG, 1, args); args 920 drivers/video/fbdev/broadsheetfb.c args[0] = 0x4300; args 921 drivers/video/fbdev/broadsheetfb.c broadsheet_send_cmdargs(par, BS_CMD_UPD_FULL, 1, args); args 41 drivers/video/fbdev/core/cfbimgblt.c #define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt,__func__,## args) args 43 drivers/video/fbdev/core/cfbimgblt.c #define DPRINTK(fmt, args...) args 86 drivers/video/fbdev/core/fbcon.c # define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __func__ , ## args) args 88 drivers/video/fbdev/core/fbcon.c # define DPRINTK(fmt, args...) args 45 drivers/video/fbdev/core/fbmon.c #define DPRINTK(fmt, args...) printk(fmt,## args) args 47 drivers/video/fbdev/core/fbmon.c #define DPRINTK(fmt, args...) args 27 drivers/video/fbdev/core/modedb.c #define DPRINTK(fmt, args...) printk("modedb %s: " fmt, __func__ , ## args) args 29 drivers/video/fbdev/core/modedb.c #define DPRINTK(fmt, args...) args 21 drivers/video/fbdev/core/sysimgblt.c #define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt,__func__,## args) args 23 drivers/video/fbdev/core/sysimgblt.c #define DPRINTK(fmt, args...) args 48 drivers/video/fbdev/hgafb.c #define DPRINTK(args...) printk(KERN_DEBUG __FILE__": " ##args) args 50 drivers/video/fbdev/hgafb.c #define DPRINTK(args...) args 37 drivers/video/fbdev/i810/i810-i2c.c #define DPRINTK(fmt, args...) printk(fmt,## args) args 39 drivers/video/fbdev/i810/i810-i2c.c #define DPRINTK(fmt, args...) args 94 drivers/video/fbdev/intelfb/intelfb.h #define ERR_MSG(fmt, args...) printk(KERN_ERR PFX fmt, ## args) args 95 drivers/video/fbdev/intelfb/intelfb.h #define WRN_MSG(fmt, args...) printk(KERN_WARNING PFX fmt, ## args) args 96 drivers/video/fbdev/intelfb/intelfb.h #define NOT_MSG(fmt, args...) printk(KERN_NOTICE PFX fmt, ## args) args 97 drivers/video/fbdev/intelfb/intelfb.h #define INF_MSG(fmt, args...) printk(KERN_INFO PFX fmt, ## args) args 99 drivers/video/fbdev/intelfb/intelfb.h #define DBG_MSG(fmt, args...) printk(KERN_DEBUG PFX fmt, ## args) args 101 drivers/video/fbdev/intelfb/intelfb.h #define DBG_MSG(fmt, args...) while (0) printk(fmt, ## args) args 327 drivers/video/fbdev/metronomefb.c par->metromem_cmd->args[i] = 1 << 3 /* border update */ args 330 drivers/video/fbdev/metronomefb.c cs += par->metromem_cmd->args[i++]; args 333 drivers/video/fbdev/metronomefb.c memset((u8 *) (par->metromem_cmd->args + i), 0, (32-i)*2); args 352 drivers/video/fbdev/metronomefb.c par->metromem_cmd->args[i] = 1024; args 353 drivers/video/fbdev/metronomefb.c cs += par->metromem_cmd->args[i]; args 357 drivers/video/fbdev/metronomefb.c memset(&par->metromem_cmd->args[i], 0, args 358 drivers/video/fbdev/metronomefb.c (ARRAY_SIZE(par->metromem_cmd->args) - i) * 2); args 377 drivers/video/fbdev/metronomefb.c memcpy(par->metromem_cmd->args, epd_frame_table[par->dt].config, args 380 drivers/video/fbdev/metronomefb.c memset(&par->metromem_cmd->args[4], 0, args 381 drivers/video/fbdev/metronomefb.c (ARRAY_SIZE(par->metromem_cmd->args) - 4) * 2); args 384 drivers/video/fbdev/metronomefb.c par->metromem_cmd->csum += calc_img_cksum(par->metromem_cmd->args, 4); args 404 drivers/video/fbdev/metronomefb.c par->metromem_cmd->args[i] = 0; args 405 drivers/video/fbdev/metronomefb.c cs += par->metromem_cmd->args[i++]; args 408 drivers/video/fbdev/metronomefb.c memset((u8 *) (par->metromem_cmd->args + i), 0, (32-i)*2); args 46 drivers/video/fbdev/s1d13xxxfb.c #define dbg(fmt, args...) do { printk(KERN_INFO fmt, ## args); } while(0) args 48 drivers/video/fbdev/s1d13xxxfb.c #define dbg(fmt, args...) do { } while (0) args 55 drivers/video/fbdev/s1d13xxxfb.c #define dbg_blit(fmt, args...) do { printk(KERN_INFO BLIT fmt, ## args); } while (0) args 57 drivers/video/fbdev/s1d13xxxfb.c #define dbg_blit(fmt, args...) do { } while (0) args 33 drivers/video/fbdev/sis/sis.h #define DPRINTK(fmt, args...) printk(KERN_DEBUG "%s: " fmt, __func__ , ## args) args 36 drivers/video/fbdev/sis/sis.h #define DPRINTK(fmt, args...) args 34 drivers/video/fbdev/smscufx.c #define check_warn(status, fmt, args...) \ args 35 drivers/video/fbdev/smscufx.c ({ if (status < 0) pr_warn(fmt, ##args); }) args 37 drivers/video/fbdev/smscufx.c #define check_warn_return(status, fmt, args...) \ args 38 drivers/video/fbdev/smscufx.c ({ if (status < 0) { pr_warn(fmt, ##args); return status; } }) args 40 drivers/video/fbdev/smscufx.c #define check_warn_goto_error(status, fmt, args...) \ args 41 drivers/video/fbdev/smscufx.c ({ if (status < 0) { pr_warn(fmt, ##args); goto error; } }) args 41 drivers/virt/vboxguest/vboxguest_utils.c va_list args; \ args 44 drivers/virt/vboxguest/vboxguest_utils.c va_start(args, fmt); \ args 47 drivers/virt/vboxguest/vboxguest_utils.c count = vscnprintf(vbg_log_buf, sizeof(vbg_log_buf), fmt, args);\ args 54 drivers/virt/vboxguest/vboxguest_utils.c va_end(args); \ args 18 drivers/virtio/virtio_ring.c #define BAD_RING(_vq, fmt, args...) \ args 21 drivers/virtio/virtio_ring.c "%s:"fmt, (_vq)->vq.name, ##args); \ args 55 drivers/virtio/virtio_ring.c #define BAD_RING(_vq, fmt, args...) \ args 58 drivers/virtio/virtio_ring.c "%s:"fmt, (_vq)->vq.name, ##args); \ args 138 drivers/watchdog/machzwd.c #define dprintk(format, args...) args 140 drivers/watchdog/machzwd.c #define dprintk(format, args...) \ args 141 drivers/watchdog/machzwd.c pr_debug(":%s:%d: " format, __func__, __LINE__ , ## args) args 176 drivers/watchdog/zx2967_wdt.c offset = out_args.args[0]; args 177 drivers/watchdog/zx2967_wdt.c config = out_args.args[1]; args 178 drivers/watchdog/zx2967_wdt.c mask = out_args.args[2]; args 386 drivers/xen/gntdev-dmabuf.c static int dmabuf_exp_from_pages(struct gntdev_dmabuf_export_args *args) args 398 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->priv = args->dmabuf_priv; args 399 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->nr_pages = args->count; args 400 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->pages = args->pages; args 401 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.exp.priv = args->priv; args 402 drivers/xen/gntdev-dmabuf.c gntdev_dmabuf->u.exp.map = args->map; args 405 drivers/xen/gntdev-dmabuf.c if (args->dev->driver && args->dev->driver->owner) args 406 drivers/xen/gntdev-dmabuf.c exp_info.owner = args->dev->driver->owner; args 410 drivers/xen/gntdev-dmabuf.c exp_info.size = args->count << PAGE_SHIFT; args 426 drivers/xen/gntdev-dmabuf.c args->fd = ret; args 430 drivers/xen/gntdev-dmabuf.c mutex_lock(&args->dmabuf_priv->lock); args 431 drivers/xen/gntdev-dmabuf.c list_add(&gntdev_dmabuf->next, &args->dmabuf_priv->exp_list); args 432 drivers/xen/gntdev-dmabuf.c mutex_unlock(&args->dmabuf_priv->lock); args 474 drivers/xen/gntdev-dmabuf.c struct gntdev_dmabuf_export_args args; args 499 drivers/xen/gntdev-dmabuf.c args.priv = priv; args 500 drivers/xen/gntdev-dmabuf.c args.map = map; args 501 drivers/xen/gntdev-dmabuf.c args.dev = priv->dma_dev; args 502 drivers/xen/gntdev-dmabuf.c args.dmabuf_priv = priv->dmabuf_priv; args 503 drivers/xen/gntdev-dmabuf.c args.count = map->count; args 504 drivers/xen/gntdev-dmabuf.c args.pages = map->pages; args 505 drivers/xen/gntdev-dmabuf.c args.fd = -1; /* Shut up unnecessary gcc warning for i386 */ args 507 drivers/xen/gntdev-dmabuf.c ret = dmabuf_exp_from_pages(&args); args 511 drivers/xen/gntdev-dmabuf.c *fd = args.fd; args 101 drivers/xen/gntdev.c struct gnttab_dma_alloc_args args; args 103 drivers/xen/gntdev.c args.dev = map->dma_dev; args 104 drivers/xen/gntdev.c args.coherent = !!(map->dma_flags & GNTDEV_DMA_FLAG_COHERENT); args 105 drivers/xen/gntdev.c args.nr_pages = map->count; args 106 drivers/xen/gntdev.c args.pages = map->pages; args 107 drivers/xen/gntdev.c args.frames = map->frames; args 108 drivers/xen/gntdev.c args.vaddr = map->dma_vaddr; args 109 drivers/xen/gntdev.c args.dev_bus_addr = map->dma_bus_addr; args 111 drivers/xen/gntdev.c gnttab_dma_free_pages(&args); args 161 drivers/xen/gntdev.c struct gnttab_dma_alloc_args args; args 171 drivers/xen/gntdev.c args.dev = priv->dma_dev; args 172 drivers/xen/gntdev.c args.coherent = !!(dma_flags & GNTDEV_DMA_FLAG_COHERENT); args 173 drivers/xen/gntdev.c args.nr_pages = count; args 174 drivers/xen/gntdev.c args.pages = add->pages; args 175 drivers/xen/gntdev.c args.frames = add->frames; args 177 drivers/xen/gntdev.c if (gnttab_dma_alloc_pages(&args)) args 180 drivers/xen/gntdev.c add->dma_vaddr = args.vaddr; args 181 drivers/xen/gntdev.c add->dma_bus_addr = args.dev_bus_addr; args 850 drivers/xen/grant-table.c int gnttab_dma_alloc_pages(struct gnttab_dma_alloc_args *args) args 856 drivers/xen/grant-table.c size = args->nr_pages << PAGE_SHIFT; args 857 drivers/xen/grant-table.c if (args->coherent) args 858 drivers/xen/grant-table.c args->vaddr = dma_alloc_coherent(args->dev, size, args 859 drivers/xen/grant-table.c &args->dev_bus_addr, args 862 drivers/xen/grant-table.c args->vaddr = dma_alloc_wc(args->dev, size, args 863 drivers/xen/grant-table.c &args->dev_bus_addr, args 865 drivers/xen/grant-table.c if (!args->vaddr) { args 870 drivers/xen/grant-table.c start_pfn = __phys_to_pfn(args->dev_bus_addr); args 871 drivers/xen/grant-table.c for (pfn = start_pfn, i = 0; pfn < start_pfn + args->nr_pages; args 875 drivers/xen/grant-table.c args->pages[i] = page; args 876 drivers/xen/grant-table.c args->frames[i] = xen_page_to_gfn(page); args 880 drivers/xen/grant-table.c xenmem_reservation_va_mapping_reset(args->nr_pages, args->pages); args 882 drivers/xen/grant-table.c ret = xenmem_reservation_decrease(args->nr_pages, args->frames); args 883 drivers/xen/grant-table.c if (ret != args->nr_pages) { args 889 drivers/xen/grant-table.c ret = gnttab_pages_set_private(args->nr_pages, args->pages); args 896 drivers/xen/grant-table.c gnttab_dma_free_pages(args); args 905 drivers/xen/grant-table.c int gnttab_dma_free_pages(struct gnttab_dma_alloc_args *args) args 910 drivers/xen/grant-table.c gnttab_pages_clear_private(args->nr_pages, args->pages); args 912 drivers/xen/grant-table.c for (i = 0; i < args->nr_pages; i++) args 913 drivers/xen/grant-table.c args->frames[i] = page_to_xen_pfn(args->pages[i]); args 915 drivers/xen/grant-table.c ret = xenmem_reservation_increase(args->nr_pages, args->frames); args 916 drivers/xen/grant-table.c if (ret != args->nr_pages) { args 923 drivers/xen/grant-table.c xenmem_reservation_va_mapping_update(args->nr_pages, args->pages, args 924 drivers/xen/grant-table.c args->frames); args 926 drivers/xen/grant-table.c size = args->nr_pages << PAGE_SHIFT; args 927 drivers/xen/grant-table.c if (args->coherent) args 928 drivers/xen/grant-table.c dma_free_coherent(args->dev, size, args 929 drivers/xen/grant-table.c args->vaddr, args->dev_bus_addr); args 931 drivers/xen/grant-table.c dma_free_wc(args->dev, size, args 932 drivers/xen/grant-table.c args->vaddr, args->dev_bus_addr); args 136 drivers/xen/xen-balloon.c #define BALLOON_SHOW(name, format, args...) \ args 141 drivers/xen/xen-balloon.c return sprintf(buf, format, ##args); \ args 35 drivers/xen/xenbus/xenbus_probe.c #define DPRINTK(fmt, args...) \ args 37 drivers/xen/xenbus/xenbus_probe.c __func__, __LINE__, ##args) args 165 fs/9p/v9fs.c substring_t args[MAX_OPT_ARGS]; args 194 fs/9p/v9fs.c token = match_token(p, tokens, args); args 197 fs/9p/v9fs.c r = match_int(&args[0], &option); args 211 fs/9p/v9fs.c r = match_int(&args[0], &option); args 226 fs/9p/v9fs.c r = match_int(&args[0], &option); args 241 fs/9p/v9fs.c r = match_int(&args[0], &option); args 252 fs/9p/v9fs.c v9ses->uname = match_strdup(&args[0]); args 260 fs/9p/v9fs.c v9ses->aname = match_strdup(&args[0]); args 281 fs/9p/v9fs.c v9ses->cachetag = match_strdup(&args[0]); args 289 fs/9p/v9fs.c s = match_strdup(&args[0]); args 306 fs/9p/v9fs.c s = match_strdup(&args[0]); args 352 fs/9p/v9fs.c r = match_int(&args[0], &option); args 27 fs/adfs/super.c va_list args; args 29 fs/adfs/super.c va_start(args, fmt); args 31 fs/adfs/super.c vaf.va = &args; args 37 fs/adfs/super.c va_end(args); args 43 fs/adfs/super.c va_list args; args 45 fs/adfs/super.c va_start(args, fmt); args 47 fs/adfs/super.c vaf.va = &args; args 49 fs/adfs/super.c va_end(args); args 186 fs/adfs/super.c substring_t args[MAX_OPT_ARGS]; args 191 fs/adfs/super.c token = match_token(p, tokens, args); args 194 fs/adfs/super.c if (match_int(args, &option)) args 201 fs/adfs/super.c if (match_int(args, &option)) args 208 fs/adfs/super.c if (match_octal(args, &option)) args 213 fs/adfs/super.c if (match_octal(args, &option)) args 218 fs/adfs/super.c if (match_int(args, &option)) args 449 fs/affs/amigaffs.c va_list args; args 451 fs/affs/amigaffs.c va_start(args, fmt); args 453 fs/affs/amigaffs.c vaf.va = &args; args 458 fs/affs/amigaffs.c va_end(args); args 465 fs/affs/amigaffs.c va_list args; args 467 fs/affs/amigaffs.c va_start(args, fmt); args 469 fs/affs/amigaffs.c vaf.va = &args; args 471 fs/affs/amigaffs.c va_end(args); args 194 fs/affs/super.c substring_t args[MAX_OPT_ARGS]; args 214 fs/affs/super.c token = match_token(p, tokens, args); args 217 fs/affs/super.c if (match_int(&args[0], &n)) args 227 fs/affs/super.c if (match_octal(&args[0], &option)) args 240 fs/affs/super.c *prefix = match_strdup(&args[0]); args 249 fs/affs/super.c if (match_int(&args[0], reserved)) args 253 fs/affs/super.c if (match_int(&args[0], root)) args 257 fs/affs/super.c if (match_int(&args[0], &option)) args 265 fs/affs/super.c if (match_int(&args[0], &option)) args 276 fs/affs/super.c char *vol = match_strdup(&args[0]); args 90 fs/afs/proc.c char *name, *args; args 108 fs/afs/proc.c args = strchr(name, ' '); args 109 fs/afs/proc.c if (args) { args 111 fs/afs/proc.c *args++ = 0; args 112 fs/afs/proc.c } while(*args == ' '); args 113 fs/afs/proc.c if (!*args) args 118 fs/afs/proc.c _debug("cmd=%s name=%s args=%s", buf, name, args); args 123 fs/afs/proc.c cell = afs_lookup_cell(net, name, strlen(name), args, true); args 136 fs/autofs/inode.c substring_t args[MAX_OPT_ARGS]; args 159 fs/autofs/inode.c token = match_token(p, tokens, args); args 162 fs/autofs/inode.c if (match_int(args, &pipefd)) args 167 fs/autofs/inode.c if (match_int(args, &option)) args 175 fs/autofs/inode.c if (match_int(args, &option)) args 183 fs/autofs/inode.c if (match_int(args, &option)) args 189 fs/autofs/inode.c if (match_int(args, &option)) args 194 fs/autofs/inode.c if (match_int(args, &option)) args 32 fs/befs/debug.c va_list args; args 34 fs/befs/debug.c va_start(args, fmt); args 36 fs/befs/debug.c vaf.va = &args; args 38 fs/befs/debug.c va_end(args); args 45 fs/befs/debug.c va_list args; args 47 fs/befs/debug.c va_start(args, fmt); args 49 fs/befs/debug.c vaf.va = &args; args 51 fs/befs/debug.c va_end(args); args 60 fs/befs/debug.c va_list args; args 62 fs/befs/debug.c va_start(args, fmt); args 64 fs/befs/debug.c vaf.va = &args; args 66 fs/befs/debug.c va_end(args); args 695 fs/befs/linuxvfs.c substring_t args[MAX_OPT_ARGS]; args 717 fs/befs/linuxvfs.c token = match_token(p, befs_tokens, args); args 720 fs/befs/linuxvfs.c if (match_int(&args[0], &option)) args 734 fs/befs/linuxvfs.c if (match_int(&args[0], &option)) args 749 fs/befs/linuxvfs.c opts->iocharset = match_strdup(&args[0]); args 52 fs/bfs/bfs.h #define printf(format, args...) \ args 53 fs/bfs/bfs.h printk(KERN_ERR "BFS-fs: %s(): " format, __func__, ## args) args 1199 fs/btrfs/ctree.h #define btrfs_set_and_info(fs_info, opt, fmt, args...) \ args 1202 fs/btrfs/ctree.h btrfs_info(fs_info, fmt, ##args); \ args 1206 fs/btrfs/ctree.h #define btrfs_clear_and_info(fs_info, opt, fmt, args...) \ args 1209 fs/btrfs/ctree.h btrfs_info(fs_info, fmt, ##args); \ args 1238 fs/btrfs/ctree.h #define btrfs_set_pending_and_info(info, opt, fmt, args...) \ args 1241 fs/btrfs/ctree.h btrfs_info((info), fmt, ##args); \ args 1247 fs/btrfs/ctree.h #define btrfs_clear_pending_and_info(info, opt, fmt, args...) \ args 1250 fs/btrfs/ctree.h btrfs_info((info), fmt, ##args); \ args 2974 fs/btrfs/ctree.h #define btrfs_printk(fs_info, fmt, args...) \ args 2975 fs/btrfs/ctree.h btrfs_no_printk(fs_info, fmt, ##args) args 2978 fs/btrfs/ctree.h #define btrfs_emerg(fs_info, fmt, args...) \ args 2979 fs/btrfs/ctree.h btrfs_printk(fs_info, KERN_EMERG fmt, ##args) args 2980 fs/btrfs/ctree.h #define btrfs_alert(fs_info, fmt, args...) \ args 2981 fs/btrfs/ctree.h btrfs_printk(fs_info, KERN_ALERT fmt, ##args) args 2982 fs/btrfs/ctree.h #define btrfs_crit(fs_info, fmt, args...) \ args 2983 fs/btrfs/ctree.h btrfs_printk(fs_info, KERN_CRIT fmt, ##args) args 2984 fs/btrfs/ctree.h #define btrfs_err(fs_info, fmt, args...) \ args 2985 fs/btrfs/ctree.h btrfs_printk(fs_info, KERN_ERR fmt, ##args) args 2986 fs/btrfs/ctree.h #define btrfs_warn(fs_info, fmt, args...) \ args 2987 fs/btrfs/ctree.h btrfs_printk(fs_info, KERN_WARNING fmt, ##args) args 2988 fs/btrfs/ctree.h #define btrfs_notice(fs_info, fmt, args...) \ args 2989 fs/btrfs/ctree.h btrfs_printk(fs_info, KERN_NOTICE fmt, ##args) args 2990 fs/btrfs/ctree.h #define btrfs_info(fs_info, fmt, args...) \ args 2991 fs/btrfs/ctree.h btrfs_printk(fs_info, KERN_INFO fmt, ##args) args 2996 fs/btrfs/ctree.h #define btrfs_emerg_in_rcu(fs_info, fmt, args...) \ args 2997 fs/btrfs/ctree.h btrfs_printk_in_rcu(fs_info, KERN_EMERG fmt, ##args) args 2998 fs/btrfs/ctree.h #define btrfs_alert_in_rcu(fs_info, fmt, args...) \ args 2999 fs/btrfs/ctree.h btrfs_printk_in_rcu(fs_info, KERN_ALERT fmt, ##args) args 3000 fs/btrfs/ctree.h #define btrfs_crit_in_rcu(fs_info, fmt, args...) \ args 3001 fs/btrfs/ctree.h btrfs_printk_in_rcu(fs_info, KERN_CRIT fmt, ##args) args 3002 fs/btrfs/ctree.h #define btrfs_err_in_rcu(fs_info, fmt, args...) \ args 3003 fs/btrfs/ctree.h btrfs_printk_in_rcu(fs_info, KERN_ERR fmt, ##args) args 3004 fs/btrfs/ctree.h #define btrfs_warn_in_rcu(fs_info, fmt, args...) \ args 3005 fs/btrfs/ctree.h btrfs_printk_in_rcu(fs_info, KERN_WARNING fmt, ##args) args 3006 fs/btrfs/ctree.h #define btrfs_notice_in_rcu(fs_info, fmt, args...) \ args 3007 fs/btrfs/ctree.h btrfs_printk_in_rcu(fs_info, KERN_NOTICE fmt, ##args) args 3008 fs/btrfs/ctree.h #define btrfs_info_in_rcu(fs_info, fmt, args...) \ args 3009 fs/btrfs/ctree.h btrfs_printk_in_rcu(fs_info, KERN_INFO fmt, ##args) args 3014 fs/btrfs/ctree.h #define btrfs_emerg_rl_in_rcu(fs_info, fmt, args...) \ args 3015 fs/btrfs/ctree.h btrfs_printk_rl_in_rcu(fs_info, KERN_EMERG fmt, ##args) args 3016 fs/btrfs/ctree.h #define btrfs_alert_rl_in_rcu(fs_info, fmt, args...) \ args 3017 fs/btrfs/ctree.h btrfs_printk_rl_in_rcu(fs_info, KERN_ALERT fmt, ##args) args 3018 fs/btrfs/ctree.h #define btrfs_crit_rl_in_rcu(fs_info, fmt, args...) \ args 3019 fs/btrfs/ctree.h btrfs_printk_rl_in_rcu(fs_info, KERN_CRIT fmt, ##args) args 3020 fs/btrfs/ctree.h #define btrfs_err_rl_in_rcu(fs_info, fmt, args...) \ args 3021 fs/btrfs/ctree.h btrfs_printk_rl_in_rcu(fs_info, KERN_ERR fmt, ##args) args 3022 fs/btrfs/ctree.h #define btrfs_warn_rl_in_rcu(fs_info, fmt, args...) \ args 3023 fs/btrfs/ctree.h btrfs_printk_rl_in_rcu(fs_info, KERN_WARNING fmt, ##args) args 3024 fs/btrfs/ctree.h #define btrfs_notice_rl_in_rcu(fs_info, fmt, args...) \ args 3025 fs/btrfs/ctree.h btrfs_printk_rl_in_rcu(fs_info, KERN_NOTICE fmt, ##args) args 3026 fs/btrfs/ctree.h #define btrfs_info_rl_in_rcu(fs_info, fmt, args...) \ args 3027 fs/btrfs/ctree.h btrfs_printk_rl_in_rcu(fs_info, KERN_INFO fmt, ##args) args 3032 fs/btrfs/ctree.h #define btrfs_emerg_rl(fs_info, fmt, args...) \ args 3033 fs/btrfs/ctree.h btrfs_printk_ratelimited(fs_info, KERN_EMERG fmt, ##args) args 3034 fs/btrfs/ctree.h #define btrfs_alert_rl(fs_info, fmt, args...) \ args 3035 fs/btrfs/ctree.h btrfs_printk_ratelimited(fs_info, KERN_ALERT fmt, ##args) args 3036 fs/btrfs/ctree.h #define btrfs_crit_rl(fs_info, fmt, args...) \ args 3037 fs/btrfs/ctree.h btrfs_printk_ratelimited(fs_info, KERN_CRIT fmt, ##args) args 3038 fs/btrfs/ctree.h #define btrfs_err_rl(fs_info, fmt, args...) \ args 3039 fs/btrfs/ctree.h btrfs_printk_ratelimited(fs_info, KERN_ERR fmt, ##args) args 3040 fs/btrfs/ctree.h #define btrfs_warn_rl(fs_info, fmt, args...) \ args 3041 fs/btrfs/ctree.h btrfs_printk_ratelimited(fs_info, KERN_WARNING fmt, ##args) args 3042 fs/btrfs/ctree.h #define btrfs_notice_rl(fs_info, fmt, args...) \ args 3043 fs/btrfs/ctree.h btrfs_printk_ratelimited(fs_info, KERN_NOTICE fmt, ##args) args 3044 fs/btrfs/ctree.h #define btrfs_info_rl(fs_info, fmt, args...) \ args 3045 fs/btrfs/ctree.h btrfs_printk_ratelimited(fs_info, KERN_INFO fmt, ##args) args 3048 fs/btrfs/ctree.h #define btrfs_debug(fs_info, fmt, args...) \ args 3050 fs/btrfs/ctree.h fs_info, KERN_DEBUG fmt, ##args) args 3051 fs/btrfs/ctree.h #define btrfs_debug_in_rcu(fs_info, fmt, args...) \ args 3053 fs/btrfs/ctree.h fs_info, KERN_DEBUG fmt, ##args) args 3054 fs/btrfs/ctree.h #define btrfs_debug_rl_in_rcu(fs_info, fmt, args...) \ args 3056 fs/btrfs/ctree.h fs_info, KERN_DEBUG fmt, ##args) args 3057 fs/btrfs/ctree.h #define btrfs_debug_rl(fs_info, fmt, args...) \ args 3059 fs/btrfs/ctree.h fs_info, KERN_DEBUG fmt, ##args) args 3061 fs/btrfs/ctree.h #define btrfs_debug(fs_info, fmt, args...) \ args 3062 fs/btrfs/ctree.h btrfs_printk(fs_info, KERN_DEBUG fmt, ##args) args 3063 fs/btrfs/ctree.h #define btrfs_debug_in_rcu(fs_info, fmt, args...) \ args 3064 fs/btrfs/ctree.h btrfs_printk_in_rcu(fs_info, KERN_DEBUG fmt, ##args) args 3065 fs/btrfs/ctree.h #define btrfs_debug_rl_in_rcu(fs_info, fmt, args...) \ args 3066 fs/btrfs/ctree.h btrfs_printk_rl_in_rcu(fs_info, KERN_DEBUG fmt, ##args) args 3067 fs/btrfs/ctree.h #define btrfs_debug_rl(fs_info, fmt, args...) \ args 3068 fs/btrfs/ctree.h btrfs_printk_ratelimited(fs_info, KERN_DEBUG fmt, ##args) args 3070 fs/btrfs/ctree.h #define btrfs_debug(fs_info, fmt, args...) \ args 3071 fs/btrfs/ctree.h btrfs_no_printk(fs_info, KERN_DEBUG fmt, ##args) args 3072 fs/btrfs/ctree.h #define btrfs_debug_in_rcu(fs_info, fmt, args...) \ args 3073 fs/btrfs/ctree.h btrfs_no_printk_in_rcu(fs_info, KERN_DEBUG fmt, ##args) args 3074 fs/btrfs/ctree.h #define btrfs_debug_rl_in_rcu(fs_info, fmt, args...) \ args 3075 fs/btrfs/ctree.h btrfs_no_printk_in_rcu(fs_info, KERN_DEBUG fmt, ##args) args 3076 fs/btrfs/ctree.h #define btrfs_debug_rl(fs_info, fmt, args...) \ args 3077 fs/btrfs/ctree.h btrfs_no_printk(fs_info, KERN_DEBUG fmt, ##args) args 3080 fs/btrfs/ctree.h #define btrfs_printk_in_rcu(fs_info, fmt, args...) \ args 3083 fs/btrfs/ctree.h btrfs_printk(fs_info, fmt, ##args); \ args 3087 fs/btrfs/ctree.h #define btrfs_no_printk_in_rcu(fs_info, fmt, args...) \ args 3090 fs/btrfs/ctree.h btrfs_no_printk(fs_info, fmt, ##args); \ args 3094 fs/btrfs/ctree.h #define btrfs_printk_ratelimited(fs_info, fmt, args...) \ args 3100 fs/btrfs/ctree.h btrfs_printk(fs_info, fmt, ##args); \ args 3103 fs/btrfs/ctree.h #define btrfs_printk_rl_in_rcu(fs_info, fmt, args...) \ args 3106 fs/btrfs/ctree.h btrfs_printk_ratelimited(fs_info, fmt, ##args); \ args 3178 fs/btrfs/ctree.h #define btrfs_handle_fs_error(fs_info, errno, fmt, args...) \ args 3181 fs/btrfs/ctree.h (errno), fmt, ##args); \ args 3192 fs/btrfs/ctree.h #define btrfs_panic(fs_info, errno, fmt, args...) \ args 3194 fs/btrfs/ctree.h __btrfs_panic(fs_info, __func__, __LINE__, errno, fmt, ##args); \ args 517 fs/btrfs/dev-replace.c struct btrfs_ioctl_dev_replace_args *args) args 521 fs/btrfs/dev-replace.c switch (args->start.cont_reading_from_srcdev_mode) { args 529 fs/btrfs/dev-replace.c if ((args->start.srcdevid == 0 && args->start.srcdev_name[0] == '\0') || args 530 fs/btrfs/dev-replace.c args->start.tgtdev_name[0] == '\0') args 533 fs/btrfs/dev-replace.c ret = btrfs_dev_replace_start(fs_info, args->start.tgtdev_name, args 534 fs/btrfs/dev-replace.c args->start.srcdevid, args 535 fs/btrfs/dev-replace.c args->start.srcdev_name, args 536 fs/btrfs/dev-replace.c args->start.cont_reading_from_srcdev_mode); args 537 fs/btrfs/dev-replace.c args->result = ret; args 778 fs/btrfs/dev-replace.c struct btrfs_ioctl_dev_replace_args *args) args 785 fs/btrfs/dev-replace.c args->result = BTRFS_IOCTL_DEV_REPLACE_RESULT_NO_ERROR; args 786 fs/btrfs/dev-replace.c args->status.replace_state = dev_replace->replace_state; args 787 fs/btrfs/dev-replace.c args->status.time_started = dev_replace->time_started; args 788 fs/btrfs/dev-replace.c args->status.time_stopped = dev_replace->time_stopped; args 789 fs/btrfs/dev-replace.c args->status.num_write_errors = args 791 fs/btrfs/dev-replace.c args->status.num_uncorrectable_read_errors = args 793 fs/btrfs/dev-replace.c args->status.progress_1000 = btrfs_dev_replace_progress(fs_info); args 14 fs/btrfs/dev-replace.h struct btrfs_ioctl_dev_replace_args *args); args 16 fs/btrfs/dev-replace.h struct btrfs_ioctl_dev_replace_args *args); args 5828 fs/btrfs/inode.c struct btrfs_iget_args *args = p; args 5829 fs/btrfs/inode.c inode->i_ino = args->location->objectid; args 5830 fs/btrfs/inode.c memcpy(&BTRFS_I(inode)->location, args->location, args 5831 fs/btrfs/inode.c sizeof(*args->location)); args 5832 fs/btrfs/inode.c BTRFS_I(inode)->root = args->root; args 5838 fs/btrfs/inode.c struct btrfs_iget_args *args = opaque; args 5839 fs/btrfs/inode.c return args->location->objectid == BTRFS_I(inode)->location.objectid && args 5840 fs/btrfs/inode.c args->root == BTRFS_I(inode)->root; args 5848 fs/btrfs/inode.c struct btrfs_iget_args args; args 5851 fs/btrfs/inode.c args.location = location; args 5852 fs/btrfs/inode.c args.root = root; args 5856 fs/btrfs/inode.c (void *)&args); args 6371 fs/btrfs/inode.c struct btrfs_iget_args args; args 6372 fs/btrfs/inode.c args.location = &BTRFS_I(inode)->location; args 6373 fs/btrfs/inode.c args.root = BTRFS_I(inode)->root; args 6377 fs/btrfs/inode.c btrfs_find_actor, &args); args 2254 fs/btrfs/ioctl.c struct btrfs_ioctl_search_args_v2 args; args 2265 fs/btrfs/ioctl.c if (copy_from_user(&args, uarg, sizeof(args))) args 2268 fs/btrfs/ioctl.c buf_size = args.buf_size; args 2275 fs/btrfs/ioctl.c ret = search_ioctl(inode, &args.key, &buf_size, args 2277 fs/btrfs/ioctl.c if (ret == 0 && copy_to_user(&uarg->key, &args.key, sizeof(args.key))) args 2376 fs/btrfs/ioctl.c struct btrfs_ioctl_ino_lookup_user_args *args) args 2382 fs/btrfs/ioctl.c u64 dirid = args->dirid; args 2407 fs/btrfs/ioctl.c ptr = &args->path[BTRFS_INO_LOOKUP_USER_PATH_MAX - 1]; args 2444 fs/btrfs/ioctl.c if (ptr < args->path) { args 2496 fs/btrfs/ioctl.c memmove(args->path, ptr, total_len); args 2497 fs/btrfs/ioctl.c args->path[total_len] = '\0'; args 2505 fs/btrfs/ioctl.c key.offset = args->treeid; args 2522 fs/btrfs/ioctl.c if (args->dirid != btrfs_root_ref_dirid(leaf, rref)) { args 2530 fs/btrfs/ioctl.c read_extent_buffer(leaf, args->name, item_off, item_len); args 2531 fs/btrfs/ioctl.c args->name[item_len] = 0; args 2541 fs/btrfs/ioctl.c struct btrfs_ioctl_ino_lookup_args *args; args 2545 fs/btrfs/ioctl.c args = memdup_user(argp, sizeof(*args)); args 2546 fs/btrfs/ioctl.c if (IS_ERR(args)) args 2547 fs/btrfs/ioctl.c return PTR_ERR(args); args 2555 fs/btrfs/ioctl.c if (args->treeid == 0) args 2556 fs/btrfs/ioctl.c args->treeid = BTRFS_I(inode)->root->root_key.objectid; args 2558 fs/btrfs/ioctl.c if (args->objectid == BTRFS_FIRST_FREE_OBJECTID) { args 2559 fs/btrfs/ioctl.c args->name[0] = 0; args 2569 fs/btrfs/ioctl.c args->treeid, args->objectid, args 2570 fs/btrfs/ioctl.c args->name); args 2573 fs/btrfs/ioctl.c if (ret == 0 && copy_to_user(argp, args, sizeof(*args))) args 2576 fs/btrfs/ioctl.c kfree(args); args 2594 fs/btrfs/ioctl.c struct btrfs_ioctl_ino_lookup_user_args *args; args 2598 fs/btrfs/ioctl.c args = memdup_user(argp, sizeof(*args)); args 2599 fs/btrfs/ioctl.c if (IS_ERR(args)) args 2600 fs/btrfs/ioctl.c return PTR_ERR(args); args 2604 fs/btrfs/ioctl.c if (args->dirid == BTRFS_FIRST_FREE_OBJECTID && args 2610 fs/btrfs/ioctl.c kfree(args); args 2614 fs/btrfs/ioctl.c ret = btrfs_search_path_in_tree_user(inode, args); args 2616 fs/btrfs/ioctl.c if (ret == 0 && copy_to_user(argp, args, sizeof(*args))) args 2619 fs/btrfs/ioctl.c kfree(args); args 121 fs/btrfs/super.c va_list args; args 123 fs/btrfs/super.c va_start(args, fmt); args 125 fs/btrfs/super.c vaf.va = &args; args 129 fs/btrfs/super.c va_end(args); args 194 fs/btrfs/super.c va_list args; args 199 fs/btrfs/super.c va_start(args, fmt); args 214 fs/btrfs/super.c vaf.va = &args; args 220 fs/btrfs/super.c va_end(args); args 273 fs/btrfs/super.c va_list args; args 278 fs/btrfs/super.c va_start(args, fmt); args 279 fs/btrfs/super.c vaf.va = &args; args 288 fs/btrfs/super.c va_end(args); args 430 fs/btrfs/super.c substring_t args[MAX_OPT_ARGS]; args 459 fs/btrfs/super.c token = match_token(p, tokens, args); args 522 fs/btrfs/super.c strncmp(args[0].from, "zlib", 4) == 0) { args 537 fs/btrfs/super.c args[0].from + 4); args 542 fs/btrfs/super.c } else if (strncmp(args[0].from, "lzo", 3) == 0) { args 550 fs/btrfs/super.c } else if (strncmp(args[0].from, "zstd", 4) == 0) { args 556 fs/btrfs/super.c args[0].from + 4); args 562 fs/btrfs/super.c } else if (strncmp(args[0].from, "no", 2) == 0) { args 625 fs/btrfs/super.c ret = match_int(&args[0], &intarg); args 635 fs/btrfs/super.c num = match_strdup(&args[0]); args 690 fs/btrfs/super.c ret = match_int(&args[0], &intarg); args 708 fs/btrfs/super.c strcmp(args[0].from, "v1") == 0) { args 713 fs/btrfs/super.c } else if (strcmp(args[0].from, "v2") == 0) { args 790 fs/btrfs/super.c ret = match_int(&args[0], &intarg); args 807 fs/btrfs/super.c if (strcmp(args[0].from, "panic") == 0) args 810 fs/btrfs/super.c else if (strcmp(args[0].from, "bug") == 0) args 820 fs/btrfs/super.c ret = match_int(&args[0], &intarg); args 897 fs/btrfs/super.c substring_t args[MAX_OPT_ARGS]; args 922 fs/btrfs/super.c token = match_token(p, tokens, args); args 924 fs/btrfs/super.c device_name = match_strdup(&args[0]); args 952 fs/btrfs/super.c substring_t args[MAX_OPT_ARGS]; args 974 fs/btrfs/super.c token = match_token(p, tokens, args); args 978 fs/btrfs/super.c *subvol_name = match_strdup(&args[0]); args 985 fs/btrfs/super.c error = match_u64(&args[0], &subvolid); args 54 fs/btrfs/tree-checker.c va_list args; args 56 fs/btrfs/tree-checker.c va_start(args, fmt); args 59 fs/btrfs/tree-checker.c vaf.va = &args; args 65 fs/btrfs/tree-checker.c va_end(args); args 80 fs/btrfs/tree-checker.c va_list args; args 83 fs/btrfs/tree-checker.c va_start(args, fmt); args 86 fs/btrfs/tree-checker.c vaf.va = &args; args 93 fs/btrfs/tree-checker.c va_end(args); args 299 fs/btrfs/tree-checker.c va_list args; args 302 fs/btrfs/tree-checker.c va_start(args, fmt); args 305 fs/btrfs/tree-checker.c vaf.va = &args; args 312 fs/btrfs/tree-checker.c va_end(args); args 433 fs/btrfs/tree-checker.c va_list args; args 436 fs/btrfs/tree-checker.c va_start(args, fmt); args 439 fs/btrfs/tree-checker.c vaf.va = &args; args 446 fs/btrfs/tree-checker.c va_end(args); args 527 fs/btrfs/tree-checker.c va_list args; args 547 fs/btrfs/tree-checker.c va_start(args, fmt); args 549 fs/btrfs/tree-checker.c vaf.va = &args; args 560 fs/btrfs/tree-checker.c va_end(args); args 684 fs/btrfs/tree-checker.c va_list args; args 687 fs/btrfs/tree-checker.c va_start(args, fmt); args 690 fs/btrfs/tree-checker.c vaf.va = &args; args 697 fs/btrfs/tree-checker.c va_end(args); args 926 fs/btrfs/tree-checker.c va_list args; args 938 fs/btrfs/tree-checker.c va_start(args, fmt); args 941 fs/btrfs/tree-checker.c vaf.va = &args; args 947 fs/btrfs/tree-checker.c va_end(args); args 27 fs/cachefiles/bind.c int cachefiles_daemon_bind(struct cachefiles_cache *cache, char *args) args 36 fs/cachefiles/bind.c args); args 49 fs/cachefiles/bind.c if (*args) { args 59 fs/cachefiles/daemon.c int (*handler)(struct cachefiles_cache *cache, char *args); args 219 fs/cachefiles/daemon.c char *data, *args, *cp; args 252 fs/cachefiles/daemon.c for (args = data; *args; args++) args 253 fs/cachefiles/daemon.c if (isspace(*args)) args 255 fs/cachefiles/daemon.c if (*args) { args 256 fs/cachefiles/daemon.c if (args == data) args 258 fs/cachefiles/daemon.c *args = '\0'; args 259 fs/cachefiles/daemon.c args = skip_spaces(++args); args 277 fs/cachefiles/daemon.c ret = cmd->handler(cache, args); args 313 fs/cachefiles/daemon.c char *args) args 324 fs/cachefiles/daemon.c static int cachefiles_daemon_frun(struct cachefiles_cache *cache, char *args) args 328 fs/cachefiles/daemon.c _enter(",%s", args); args 330 fs/cachefiles/daemon.c if (!*args) args 333 fs/cachefiles/daemon.c frun = simple_strtoul(args, &args, 10); args 334 fs/cachefiles/daemon.c if (args[0] != '%' || args[1] != '\0') args 338 fs/cachefiles/daemon.c return cachefiles_daemon_range_error(cache, args); args 348 fs/cachefiles/daemon.c static int cachefiles_daemon_fcull(struct cachefiles_cache *cache, char *args) args 352 fs/cachefiles/daemon.c _enter(",%s", args); args 354 fs/cachefiles/daemon.c if (!*args) args 357 fs/cachefiles/daemon.c fcull = simple_strtoul(args, &args, 10); args 358 fs/cachefiles/daemon.c if (args[0] != '%' || args[1] != '\0') args 362 fs/cachefiles/daemon.c return cachefiles_daemon_range_error(cache, args); args 372 fs/cachefiles/daemon.c static int cachefiles_daemon_fstop(struct cachefiles_cache *cache, char *args) args 376 fs/cachefiles/daemon.c _enter(",%s", args); args 378 fs/cachefiles/daemon.c if (!*args) args 381 fs/cachefiles/daemon.c fstop = simple_strtoul(args, &args, 10); args 382 fs/cachefiles/daemon.c if (args[0] != '%' || args[1] != '\0') args 386 fs/cachefiles/daemon.c return cachefiles_daemon_range_error(cache, args); args 396 fs/cachefiles/daemon.c static int cachefiles_daemon_brun(struct cachefiles_cache *cache, char *args) args 400 fs/cachefiles/daemon.c _enter(",%s", args); args 402 fs/cachefiles/daemon.c if (!*args) args 405 fs/cachefiles/daemon.c brun = simple_strtoul(args, &args, 10); args 406 fs/cachefiles/daemon.c if (args[0] != '%' || args[1] != '\0') args 410 fs/cachefiles/daemon.c return cachefiles_daemon_range_error(cache, args); args 420 fs/cachefiles/daemon.c static int cachefiles_daemon_bcull(struct cachefiles_cache *cache, char *args) args 424 fs/cachefiles/daemon.c _enter(",%s", args); args 426 fs/cachefiles/daemon.c if (!*args) args 429 fs/cachefiles/daemon.c bcull = simple_strtoul(args, &args, 10); args 430 fs/cachefiles/daemon.c if (args[0] != '%' || args[1] != '\0') args 434 fs/cachefiles/daemon.c return cachefiles_daemon_range_error(cache, args); args 444 fs/cachefiles/daemon.c static int cachefiles_daemon_bstop(struct cachefiles_cache *cache, char *args) args 448 fs/cachefiles/daemon.c _enter(",%s", args); args 450 fs/cachefiles/daemon.c if (!*args) args 453 fs/cachefiles/daemon.c bstop = simple_strtoul(args, &args, 10); args 454 fs/cachefiles/daemon.c if (args[0] != '%' || args[1] != '\0') args 458 fs/cachefiles/daemon.c return cachefiles_daemon_range_error(cache, args); args 468 fs/cachefiles/daemon.c static int cachefiles_daemon_dir(struct cachefiles_cache *cache, char *args) args 472 fs/cachefiles/daemon.c _enter(",%s", args); args 474 fs/cachefiles/daemon.c if (!*args) { args 484 fs/cachefiles/daemon.c dir = kstrdup(args, GFP_KERNEL); args 496 fs/cachefiles/daemon.c static int cachefiles_daemon_secctx(struct cachefiles_cache *cache, char *args) args 500 fs/cachefiles/daemon.c _enter(",%s", args); args 502 fs/cachefiles/daemon.c if (!*args) { args 512 fs/cachefiles/daemon.c secctx = kstrdup(args, GFP_KERNEL); args 524 fs/cachefiles/daemon.c static int cachefiles_daemon_tag(struct cachefiles_cache *cache, char *args) args 528 fs/cachefiles/daemon.c _enter(",%s", args); args 530 fs/cachefiles/daemon.c if (!*args) { args 538 fs/cachefiles/daemon.c tag = kstrdup(args, GFP_KERNEL); args 550 fs/cachefiles/daemon.c static int cachefiles_daemon_cull(struct cachefiles_cache *cache, char *args) args 556 fs/cachefiles/daemon.c _enter(",%s", args); args 558 fs/cachefiles/daemon.c if (strchr(args, '/')) args 578 fs/cachefiles/daemon.c ret = cachefiles_cull(cache, path.dentry, args); args 599 fs/cachefiles/daemon.c static int cachefiles_daemon_debug(struct cachefiles_cache *cache, char *args) args 603 fs/cachefiles/daemon.c _enter(",%s", args); args 605 fs/cachefiles/daemon.c mask = simple_strtoul(args, &args, 0); args 606 fs/cachefiles/daemon.c if (args[0] != '\0') args 622 fs/cachefiles/daemon.c static int cachefiles_daemon_inuse(struct cachefiles_cache *cache, char *args) args 630 fs/cachefiles/daemon.c if (strchr(args, '/')) args 650 fs/cachefiles/daemon.c ret = cachefiles_check_in_use(cache, path.dentry, args); args 137 fs/cachefiles/internal.h extern int cachefiles_daemon_bind(struct cachefiles_cache *cache, char *args); args 1568 fs/ceph/inode.c u32 frag = le32_to_cpu(rhead->args.readdir.frag); args 1585 fs/ceph/inode.c last_hash = le32_to_cpu(rhead->args.readdir.offset_hash); args 2350 fs/ceph/mds_client.c head->args = req->r_args; args 431 fs/ceph/super.c static void destroy_mount_options(struct ceph_mount_options *args) args 433 fs/ceph/super.c dout("destroy_mount_options %p\n", args); args 434 fs/ceph/super.c kfree(args->snapdir_name); args 435 fs/ceph/super.c kfree(args->mds_namespace); args 436 fs/ceph/super.c kfree(args->server_path); args 437 fs/ceph/super.c kfree(args->fscache_uniq); args 438 fs/ceph/super.c kfree(args); args 122 fs/ceph/xattr.c va_list args; args 125 fs/ceph/xattr.c va_start(args, fmt); args 126 fs/ceph/xattr.c ret = vsnprintf(buf, size ? sizeof(buf) : 0, fmt, args); args 127 fs/ceph/xattr.c va_end(args); args 368 fs/cifs/cifsproto.h const struct cifs_unix_set_info_args *args, args 373 fs/cifs/cifsproto.h const struct cifs_unix_set_info_args *args, args 6009 fs/cifs/cifssmb.c const struct cifs_unix_set_info_args *args) args 6012 fs/cifs/cifssmb.c u64 mode = args->mode; args 6014 fs/cifs/cifssmb.c if (uid_valid(args->uid)) args 6015 fs/cifs/cifssmb.c uid = from_kuid(&init_user_ns, args->uid); args 6016 fs/cifs/cifssmb.c if (gid_valid(args->gid)) args 6017 fs/cifs/cifssmb.c gid = from_kgid(&init_user_ns, args->gid); args 6028 fs/cifs/cifssmb.c data_offset->LastStatusChange = cpu_to_le64(args->ctime); args 6029 fs/cifs/cifssmb.c data_offset->LastAccessTime = cpu_to_le64(args->atime); args 6030 fs/cifs/cifssmb.c data_offset->LastModificationTime = cpu_to_le64(args->mtime); args 6034 fs/cifs/cifssmb.c data_offset->DevMajor = cpu_to_le64(MAJOR(args->device)); args 6035 fs/cifs/cifssmb.c data_offset->DevMinor = cpu_to_le64(MINOR(args->device)); args 6056 fs/cifs/cifssmb.c const struct cifs_unix_set_info_args *args, args 6106 fs/cifs/cifssmb.c cifs_fill_unix_set_info((FILE_UNIX_BASIC_INFO *)data_offset, args); args 6123 fs/cifs/cifssmb.c const struct cifs_unix_set_info_args *args, args 6182 fs/cifs/cifssmb.c cifs_fill_unix_set_info(data_offset, args); args 1357 fs/cifs/connect.c static int get_option_ul(substring_t args[], unsigned long *option) args 1362 fs/cifs/connect.c string = match_strdup(args); args 1371 fs/cifs/connect.c static int get_option_uid(substring_t args[], kuid_t *result) args 1377 fs/cifs/connect.c rc = get_option_ul(args, &value); args 1389 fs/cifs/connect.c static int get_option_gid(substring_t args[], kgid_t *result) args 1395 fs/cifs/connect.c rc = get_option_ul(args, &value); args 1411 fs/cifs/connect.c substring_t args[MAX_OPT_ARGS]; args 1420 fs/cifs/connect.c switch (match_token(value, cifs_secflavor_tokens, args)) { args 1467 fs/cifs/connect.c substring_t args[MAX_OPT_ARGS]; args 1469 fs/cifs/connect.c switch (match_token(value, cifs_cacheflavor_tokens, args)) { args 1510 fs/cifs/connect.c substring_t args[MAX_OPT_ARGS]; args 1512 fs/cifs/connect.c switch (match_token(value, cifs_smb_version_tokens, args)) { args 1746 fs/cifs/connect.c substring_t args[MAX_OPT_ARGS]; args 1753 fs/cifs/connect.c token = match_token(data, cifs_mount_option_tokens, args); args 2011 fs/cifs/connect.c if (get_option_uid(args, &vol->backupuid)) { args 2019 fs/cifs/connect.c if (get_option_gid(args, &vol->backupgid)) { args 2027 fs/cifs/connect.c if (get_option_uid(args, &vol->linux_uid)) { args 2035 fs/cifs/connect.c if (get_option_uid(args, &vol->cred_uid)) { args 2042 fs/cifs/connect.c if (get_option_gid(args, &vol->linux_gid)) { args 2050 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2058 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2066 fs/cifs/connect.c if (get_option_ul(args, &option) || args 2075 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2082 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2102 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2110 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2118 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2130 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2142 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2150 fs/cifs/connect.c if (get_option_ul(args, &option)) { args 2158 fs/cifs/connect.c if (get_option_ul(args, &option) || (option < 20) || args 2175 fs/cifs/connect.c string = match_strdup(args); args 2265 fs/cifs/connect.c string = match_strdup(args); args 2277 fs/cifs/connect.c string = match_strdup(args); args 2296 fs/cifs/connect.c string = match_strdup(args); args 2309 fs/cifs/connect.c string = match_strdup(args); args 2333 fs/cifs/connect.c string = match_strdup(args); args 2358 fs/cifs/connect.c string = match_strdup(args); args 2384 fs/cifs/connect.c string = match_strdup(args); args 2405 fs/cifs/connect.c string = match_strdup(args); args 2414 fs/cifs/connect.c string = match_strdup(args); args 2422 fs/cifs/connect.c string = match_strdup(args); args 383 fs/cifs/dir.c struct cifs_unix_set_info_args args = { args 392 fs/cifs/dir.c args.uid = current_fsuid(); args 394 fs/cifs/dir.c args.gid = inode->i_gid; args 396 fs/cifs/dir.c args.gid = current_fsgid(); args 398 fs/cifs/dir.c args.uid = INVALID_UID; /* no change */ args 399 fs/cifs/dir.c args.gid = INVALID_GID; /* no change */ args 401 fs/cifs/dir.c CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid->netfid, args 622 fs/cifs/file.c struct cifs_unix_set_info_args args = { args 631 fs/cifs/file.c CIFSSMBUnixSetFileInfo(xid, tcon, &args, fid.netfid, args 1475 fs/cifs/inode.c struct cifs_unix_set_info_args args = { args 1483 fs/cifs/inode.c args.uid = current_fsuid(); args 1485 fs/cifs/inode.c args.gid = parent->i_gid; args 1487 fs/cifs/inode.c args.gid = current_fsgid(); args 1489 fs/cifs/inode.c args.uid = INVALID_UID; /* no change */ args 1490 fs/cifs/inode.c args.gid = INVALID_GID; /* no change */ args 1492 fs/cifs/inode.c CIFSSMBUnixSetPathInfo(xid, tcon, full_path, &args, args 2284 fs/cifs/inode.c struct cifs_unix_set_info_args *args = NULL; args 2335 fs/cifs/inode.c args = kmalloc(sizeof(*args), GFP_KERNEL); args 2336 fs/cifs/inode.c if (args == NULL) { args 2343 fs/cifs/inode.c args->mode = attrs->ia_mode; args 2345 fs/cifs/inode.c args->mode = NO_CHANGE_64; args 2348 fs/cifs/inode.c args->uid = attrs->ia_uid; args 2350 fs/cifs/inode.c args->uid = INVALID_UID; /* no change */ args 2353 fs/cifs/inode.c args->gid = attrs->ia_gid; args 2355 fs/cifs/inode.c args->gid = INVALID_GID; /* no change */ args 2358 fs/cifs/inode.c args->atime = cifs_UnixTimeToNT(attrs->ia_atime); args 2360 fs/cifs/inode.c args->atime = NO_CHANGE_64; args 2363 fs/cifs/inode.c args->mtime = cifs_UnixTimeToNT(attrs->ia_mtime); args 2365 fs/cifs/inode.c args->mtime = NO_CHANGE_64; args 2368 fs/cifs/inode.c args->ctime = cifs_UnixTimeToNT(attrs->ia_ctime); args 2370 fs/cifs/inode.c args->ctime = NO_CHANGE_64; args 2372 fs/cifs/inode.c args->device = 0; args 2378 fs/cifs/inode.c rc = CIFSSMBUnixSetFileInfo(xid, pTcon, args, nfid, npid); args 2387 fs/cifs/inode.c rc = CIFSSMBUnixSetPathInfo(xid, pTcon, full_path, args, args 2412 fs/cifs/inode.c kfree(args); args 1049 fs/cifs/smb1ops.c struct cifs_unix_set_info_args args = { args 1057 fs/cifs/smb1ops.c args.uid = current_fsuid(); args 1058 fs/cifs/smb1ops.c args.gid = current_fsgid(); args 1060 fs/cifs/smb1ops.c args.uid = INVALID_UID; /* no change */ args 1061 fs/cifs/smb1ops.c args.gid = INVALID_GID; /* no change */ args 1063 fs/cifs/smb1ops.c rc = CIFSSMBUnixSetPathInfo(xid, tcon, full_path, &args, args 135 fs/cifs/smbdirect.c #define log_rdma(level, class, fmt, args...) \ args 138 fs/cifs/smbdirect.c cifs_dbg(VFS, "%s:%d " fmt, __func__, __LINE__, ##args);\ args 141 fs/cifs/smbdirect.c #define log_outgoing(level, fmt, args...) \ args 142 fs/cifs/smbdirect.c log_rdma(level, LOG_OUTGOING, fmt, ##args) args 143 fs/cifs/smbdirect.c #define log_incoming(level, fmt, args...) \ args 144 fs/cifs/smbdirect.c log_rdma(level, LOG_INCOMING, fmt, ##args) args 145 fs/cifs/smbdirect.c #define log_read(level, fmt, args...) log_rdma(level, LOG_READ, fmt, ##args) args 146 fs/cifs/smbdirect.c #define log_write(level, fmt, args...) log_rdma(level, LOG_WRITE, fmt, ##args) args 147 fs/cifs/smbdirect.c #define log_rdma_send(level, fmt, args...) \ args 148 fs/cifs/smbdirect.c log_rdma(level, LOG_RDMA_SEND, fmt, ##args) args 149 fs/cifs/smbdirect.c #define log_rdma_recv(level, fmt, args...) \ args 150 fs/cifs/smbdirect.c log_rdma(level, LOG_RDMA_RECV, fmt, ##args) args 151 fs/cifs/smbdirect.c #define log_keep_alive(level, fmt, args...) \ args 152 fs/cifs/smbdirect.c log_rdma(level, LOG_KEEP_ALIVE, fmt, ##args) args 153 fs/cifs/smbdirect.c #define log_rdma_event(level, fmt, args...) \ args 154 fs/cifs/smbdirect.c log_rdma(level, LOG_RDMA_EVENT, fmt, ##args) args 155 fs/cifs/smbdirect.c #define log_rdma_mr(level, fmt, args...) \ args 156 fs/cifs/smbdirect.c log_rdma(level, LOG_RDMA_MR, fmt, ##args) args 55 fs/configfs/item.c va_list args; args 61 fs/configfs/item.c va_start(args, fmt); args 62 fs/configfs/item.c need = vsnprintf(item->ci_namebuf, limit, fmt, args); args 63 fs/configfs/item.c va_end(args); args 67 fs/configfs/item.c va_start(args, fmt); args 68 fs/configfs/item.c name = kvasprintf(GFP_KERNEL, fmt, args); args 69 fs/configfs/item.c va_end(args); args 460 fs/crypto/crypto.c va_list args; args 465 fs/crypto/crypto.c va_start(args, fmt); args 467 fs/crypto/crypto.c vaf.va = &args; args 473 fs/crypto/crypto.c va_end(args); args 296 fs/d_path.c va_list args; args 300 fs/d_path.c va_start(args, fmt); args 301 fs/d_path.c sz = vsnprintf(temp, sizeof(temp), fmt, args) + 1; args 302 fs/d_path.c va_end(args); args 205 fs/debugfs/file.c #define PROTO(args...) args args 206 fs/debugfs/file.c #define ARGS(args...) args args 208 fs/debugfs/file.c #define FULL_PROXY_FUNC(name, ret_type, filp, proto, args) \ args 219 fs/debugfs/file.c r = real_fops->name(args); \ args 102 fs/debugfs/inode.c substring_t args[MAX_OPT_ARGS]; args 115 fs/debugfs/inode.c token = match_token(p, tokens, args); args 118 fs/debugfs/inode.c if (match_int(&args[0], &option)) args 126 fs/debugfs/inode.c if (match_int(&args[0], &option)) args 134 fs/debugfs/inode.c if (match_octal(&args[0], &option)) args 268 fs/devpts/inode.c substring_t args[MAX_OPT_ARGS]; args 275 fs/devpts/inode.c token = match_token(p, tokens, args); args 278 fs/devpts/inode.c if (match_int(&args[0], &option)) args 287 fs/devpts/inode.c if (match_int(&args[0], &option)) args 296 fs/devpts/inode.c if (match_octal(&args[0], &option)) args 301 fs/devpts/inode.c if (match_octal(&args[0], &option)) args 308 fs/devpts/inode.c if (match_int(&args[0], &option) || args 61 fs/dlm/dlm_internal.h #define log_print(fmt, args...) \ args 62 fs/dlm/dlm_internal.h printk(KERN_ERR "dlm: "fmt"\n" , ##args) args 63 fs/dlm/dlm_internal.h #define log_error(ls, fmt, args...) \ args 64 fs/dlm/dlm_internal.h printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args) args 66 fs/dlm/dlm_internal.h #define log_rinfo(ls, fmt, args...) \ args 70 fs/dlm/dlm_internal.h (ls)->ls_name, ##args); \ args 73 fs/dlm/dlm_internal.h (ls)->ls_name , ##args); \ args 76 fs/dlm/dlm_internal.h #define log_debug(ls, fmt, args...) \ args 80 fs/dlm/dlm_internal.h (ls)->ls_name , ##args); \ args 83 fs/dlm/dlm_internal.h #define log_limit(ls, fmt, args...) \ args 87 fs/dlm/dlm_internal.h (ls)->ls_name , ##args); \ args 2811 fs/dlm/lock.c struct dlm_args *args) args 2860 fs/dlm/lock.c args->flags = flags; args 2861 fs/dlm/lock.c args->astfn = ast; args 2862 fs/dlm/lock.c args->astparam = astparam; args 2863 fs/dlm/lock.c args->bastfn = bast; args 2864 fs/dlm/lock.c args->timeout = timeout_cs; args 2865 fs/dlm/lock.c args->mode = mode; args 2866 fs/dlm/lock.c args->lksb = lksb; args 2872 fs/dlm/lock.c static int set_unlock_args(uint32_t flags, void *astarg, struct dlm_args *args) args 2881 fs/dlm/lock.c args->flags = flags; args 2882 fs/dlm/lock.c args->astparam = astarg; args 2887 fs/dlm/lock.c struct dlm_args *args) args 2891 fs/dlm/lock.c if (args->flags & DLM_LKF_CONVERT) { args 2895 fs/dlm/lock.c if (args->flags & DLM_LKF_QUECVT && args 2896 fs/dlm/lock.c !__quecvt_compat_matrix[lkb->lkb_grmode+1][args->mode+1]) args 2910 fs/dlm/lock.c lkb->lkb_exflags = args->flags; args 2912 fs/dlm/lock.c lkb->lkb_astfn = args->astfn; args 2913 fs/dlm/lock.c lkb->lkb_astparam = args->astparam; args 2914 fs/dlm/lock.c lkb->lkb_bastfn = args->bastfn; args 2915 fs/dlm/lock.c lkb->lkb_rqmode = args->mode; args 2916 fs/dlm/lock.c lkb->lkb_lksb = args->lksb; args 2917 fs/dlm/lock.c lkb->lkb_lvbptr = args->lksb->sb_lvbptr; args 2919 fs/dlm/lock.c lkb->lkb_timeout_cs = args->timeout; args 2924 fs/dlm/lock.c rv, lkb->lkb_id, lkb->lkb_flags, args->flags, args 2937 fs/dlm/lock.c static int validate_unlock_args(struct dlm_lkb *lkb, struct dlm_args *args) args 2962 fs/dlm/lock.c if (args->flags & (DLM_LKF_CANCEL | DLM_LKF_FORCEUNLOCK)) { args 2966 fs/dlm/lock.c args->flags & DLM_LKF_CANCEL ? args 2977 fs/dlm/lock.c if (args->flags & DLM_LKF_CANCEL) { args 3018 fs/dlm/lock.c if (args->flags & DLM_LKF_FORCEUNLOCK) { args 3054 fs/dlm/lock.c lkb->lkb_exflags |= args->flags; args 3056 fs/dlm/lock.c lkb->lkb_astparam = args->astparam; args 3062 fs/dlm/lock.c args->flags, lkb->lkb_wait_type, args 3315 fs/dlm/lock.c int len, struct dlm_args *args) args 3320 fs/dlm/lock.c error = validate_lock_args(ls, lkb, args); args 3341 fs/dlm/lock.c struct dlm_args *args) args 3351 fs/dlm/lock.c error = validate_lock_args(ls, lkb, args); args 3363 fs/dlm/lock.c struct dlm_args *args) args 3373 fs/dlm/lock.c error = validate_unlock_args(lkb, args); args 3385 fs/dlm/lock.c struct dlm_args *args) args 3395 fs/dlm/lock.c error = validate_unlock_args(lkb, args); args 3423 fs/dlm/lock.c struct dlm_args args; args 3441 fs/dlm/lock.c astarg, bast, &args); args 3446 fs/dlm/lock.c error = convert_lock(ls, lkb, &args); args 3448 fs/dlm/lock.c error = request_lock(ls, lkb, name, namelen, &args); args 3471 fs/dlm/lock.c struct dlm_args args; args 3484 fs/dlm/lock.c error = set_unlock_args(flags, astarg, &args); args 3489 fs/dlm/lock.c error = cancel_lock(ls, lkb, &args); args 3491 fs/dlm/lock.c error = unlock_lock(ls, lkb, &args); args 5776 fs/dlm/lock.c struct dlm_args args; args 5797 fs/dlm/lock.c fake_astfn, ua, fake_bastfn, &args); args 5810 fs/dlm/lock.c error = request_lock(ls, lkb, name, namelen, &args); args 5841 fs/dlm/lock.c struct dlm_args args; args 5874 fs/dlm/lock.c fake_astfn, ua, fake_bastfn, &args); args 5878 fs/dlm/lock.c error = convert_lock(ls, lkb, &args); args 5966 fs/dlm/lock.c struct dlm_args args; args 5984 fs/dlm/lock.c error = set_unlock_args(flags, ua, &args); args 5988 fs/dlm/lock.c error = unlock_lock(ls, lkb, &args); args 6015 fs/dlm/lock.c struct dlm_args args; args 6030 fs/dlm/lock.c error = set_unlock_args(flags, ua, &args); args 6034 fs/dlm/lock.c error = cancel_lock(ls, lkb, &args); args 6052 fs/dlm/lock.c struct dlm_args args; args 6065 fs/dlm/lock.c error = set_unlock_args(flags, ua, &args); args 6075 fs/dlm/lock.c error = validate_unlock_args(lkb, &args); args 6102 fs/dlm/lock.c struct dlm_args args; args 6110 fs/dlm/lock.c set_unlock_args(0, lkb->lkb_ua, &args); args 6112 fs/dlm/lock.c error = cancel_lock(ls, lkb, &args); args 6125 fs/dlm/lock.c struct dlm_args args; args 6129 fs/dlm/lock.c lkb->lkb_ua, &args); args 6131 fs/dlm/lock.c error = unlock_lock(ls, lkb, &args); args 73 fs/ecryptfs/main.c va_list args; args 74 fs/ecryptfs/main.c va_start(args, fmt); args 77 fs/ecryptfs/main.c vprintk(fmt, args); args 79 fs/ecryptfs/main.c vprintk(fmt, args); args 80 fs/ecryptfs/main.c va_end(args); args 256 fs/ecryptfs/main.c substring_t args[MAX_OPT_ARGS]; args 279 fs/ecryptfs/main.c token = match_token(p, tokens, args); args 283 fs/ecryptfs/main.c sig_src = args[0].from; args 295 fs/ecryptfs/main.c cipher_name_src = args[0].from; args 305 fs/ecryptfs/main.c cipher_key_bytes_src = args[0].from; args 328 fs/ecryptfs/main.c fnek_src = args[0].from; args 350 fs/ecryptfs/main.c fn_cipher_name_src = args[0].from; args 360 fs/ecryptfs/main.c fn_cipher_key_bytes_src = args[0].from; args 23 fs/erofs/super.c va_list args; args 25 fs/erofs/super.c va_start(args, fmt); args 28 fs/erofs/super.c vaf.va = &args; args 31 fs/erofs/super.c va_end(args); args 38 fs/erofs/super.c va_list args; args 40 fs/erofs/super.c va_start(args, fmt); args 43 fs/erofs/super.c vaf.va = &args; args 46 fs/erofs/super.c va_end(args); args 165 fs/erofs/super.c substring_t *args) args 168 fs/erofs/super.c const char *cs = match_strdup(args); args 191 fs/erofs/super.c substring_t *args) args 233 fs/erofs/super.c substring_t args[MAX_OPT_ARGS]; args 246 fs/erofs/super.c args[0].to = args[0].from = NULL; args 247 fs/erofs/super.c token = match_token(p, erofs_tokens, args); args 281 fs/erofs/super.c err = erofs_build_cache_strategy(sb, args); args 21 fs/exportfs/expfs.c #define dprintk(fmt, args...) do{}while(0) args 53 fs/ext2/super.c va_list args; args 65 fs/ext2/super.c va_start(args, fmt); args 68 fs/ext2/super.c vaf.va = &args; args 73 fs/ext2/super.c va_end(args); args 88 fs/ext2/super.c va_list args; args 90 fs/ext2/super.c va_start(args, fmt); args 93 fs/ext2/super.c vaf.va = &args; args 97 fs/ext2/super.c va_end(args); args 479 fs/ext2/super.c substring_t args[MAX_OPT_ARGS]; args 492 fs/ext2/super.c token = match_token(p, tokens, args); args 507 fs/ext2/super.c if (match_int(&args[0], &option)) args 518 fs/ext2/super.c if (match_int(&args[0], &option)) args 501 fs/ext4/super.c va_list args; args 508 fs/ext4/super.c va_start(args, fmt); args 510 fs/ext4/super.c vaf.va = &args; args 514 fs/ext4/super.c va_end(args); args 524 fs/ext4/super.c va_list args; args 535 fs/ext4/super.c va_start(args, fmt); args 537 fs/ext4/super.c vaf.va = &args; args 548 fs/ext4/super.c va_end(args); args 558 fs/ext4/super.c va_list args; args 574 fs/ext4/super.c va_start(args, fmt); args 576 fs/ext4/super.c vaf.va = &args; args 589 fs/ext4/super.c va_end(args); args 677 fs/ext4/super.c va_list args; args 683 fs/ext4/super.c va_start(args, fmt); args 685 fs/ext4/super.c vaf.va = &args; args 688 fs/ext4/super.c va_end(args); args 715 fs/ext4/super.c va_list args; args 720 fs/ext4/super.c va_start(args, fmt); args 722 fs/ext4/super.c vaf.va = &args; args 724 fs/ext4/super.c va_end(args); args 735 fs/ext4/super.c va_list args; args 740 fs/ext4/super.c va_start(args, fmt); args 742 fs/ext4/super.c vaf.va = &args; args 745 fs/ext4/super.c va_end(args); args 752 fs/ext4/super.c va_list args; args 757 fs/ext4/super.c va_start(args, fmt); args 759 fs/ext4/super.c vaf.va = &args; args 763 fs/ext4/super.c va_end(args); args 774 fs/ext4/super.c va_list args; args 786 fs/ext4/super.c va_start(args, fmt); args 788 fs/ext4/super.c vaf.va = &args; args 797 fs/ext4/super.c va_end(args); args 1596 fs/ext4/super.c static int set_qf_name(struct super_block *sb, int qtype, substring_t *args) args 1613 fs/ext4/super.c qname = match_strdup(args); args 1803 fs/ext4/super.c substring_t *args, unsigned long *journal_devnum, args 1814 fs/ext4/super.c return set_qf_name(sb, USRQUOTA, &args[0]); args 1816 fs/ext4/super.c return set_qf_name(sb, GRPQUOTA, &args[0]); args 1867 fs/ext4/super.c if (args->from && !(m->flags & MOPT_STRING) && match_int(args, &arg)) args 1869 fs/ext4/super.c if (args->from && (m->flags & MOPT_GTE0) && (arg < 0)) args 1923 fs/ext4/super.c if (!args->from) args 1962 fs/ext4/super.c journal_path = match_strdup(&args[0]); args 2049 fs/ext4/super.c if (!args->from) args 2074 fs/ext4/super.c substring_t args[MAX_OPT_ARGS]; args 2087 fs/ext4/super.c args[0].to = args[0].from = NULL; args 2088 fs/ext4/super.c token = match_token(p, tokens, args); args 2089 fs/ext4/super.c if (handle_mount_opt(sb, p, token, args, journal_devnum, args 212 fs/f2fs/super.c va_list args; args 215 fs/f2fs/super.c va_start(args, fmt); args 219 fs/f2fs/super.c vaf.va = &args; args 223 fs/f2fs/super.c va_end(args); args 291 fs/f2fs/super.c substring_t *args) args 306 fs/f2fs/super.c qname = match_strdup(args); args 393 fs/f2fs/super.c substring_t args[MAX_OPT_ARGS]; args 413 fs/f2fs/super.c args[0].to = args[0].from = NULL; args 414 fs/f2fs/super.c token = match_token(p, f2fs_tokens, args); args 418 fs/f2fs/super.c name = match_strdup(&args[0]); args 476 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 511 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 554 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 565 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 575 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 585 fs/f2fs/super.c name = match_strdup(&args[0]); args 607 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 618 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 625 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 657 fs/f2fs/super.c ret = f2fs_set_qf_name(sb, USRQUOTA, &args[0]); args 662 fs/f2fs/super.c ret = f2fs_set_qf_name(sb, GRPQUOTA, &args[0]); args 667 fs/f2fs/super.c ret = f2fs_set_qf_name(sb, PRJQUOTA, &args[0]); args 720 fs/f2fs/super.c name = match_strdup(&args[0]); args 739 fs/f2fs/super.c name = match_strdup(&args[0]); args 756 fs/f2fs/super.c name = match_strdup(&args[0]); args 789 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 802 fs/f2fs/super.c if (args->from && match_int(args, &arg)) args 430 fs/fat/fat.h #define fat_fs_error(sb, fmt, args...) \ args 431 fs/fat/fat.h __fat_fs_error(sb, 1, fmt , ## args) args 432 fs/fat/fat.h #define fat_fs_error_ratelimit(sb, fmt, args...) \ args 433 fs/fat/fat.h __fat_fs_error(sb, __ratelimit(&MSDOS_SB(sb)->ratelimit), fmt , ## args) args 436 fs/fat/fat.h #define fat_msg_ratelimit(sb, level, fmt, args...) \ args 439 fs/fat/fat.h fat_msg(sb, level, fmt, ## args); \ args 1131 fs/fat/inode.c substring_t args[MAX_OPT_ARGS]; args 1170 fs/fat/inode.c token = match_token(p, fat_tokens, args); args 1173 fs/fat/inode.c token = match_token(p, vfat_tokens, args); args 1175 fs/fat/inode.c token = match_token(p, msdos_tokens, args); args 1212 fs/fat/inode.c if (match_int(&args[0], &option)) args 1219 fs/fat/inode.c if (match_int(&args[0], &option)) args 1226 fs/fat/inode.c if (match_octal(&args[0], &option)) args 1231 fs/fat/inode.c if (match_octal(&args[0], &option)) args 1236 fs/fat/inode.c if (match_octal(&args[0], &option)) args 1241 fs/fat/inode.c if (match_octal(&args[0], &option)) args 1246 fs/fat/inode.c if (match_int(&args[0], &option)) args 1254 fs/fat/inode.c if (match_int(&args[0], &option)) args 1300 fs/fat/inode.c iocharset = match_strdup(&args[0]); args 24 fs/fat/misc.c va_list args; args 28 fs/fat/misc.c va_start(args, fmt); args 30 fs/fat/misc.c vaf.va = &args; args 32 fs/fat/misc.c va_end(args); args 51 fs/fat/misc.c va_list args; args 53 fs/fat/misc.c va_start(args, fmt); args 55 fs/fat/misc.c vaf.va = &args; args 57 fs/fat/misc.c va_end(args); args 317 fs/fuse/cuse.c struct fuse_args *args, int error) args 319 fs/fuse/cuse.c struct cuse_init_args *ia = container_of(args, typeof(*ia), ap.args); args 340 fs/fuse/cuse.c rc = cuse_parse_devinfo(page_address(page), ap->args.out_args[1].size, args 446 fs/fuse/cuse.c ap->args.opcode = CUSE_INIT; args 447 fs/fuse/cuse.c ap->args.in_numargs = 1; args 448 fs/fuse/cuse.c ap->args.in_args[0].size = sizeof(ia->in); args 449 fs/fuse/cuse.c ap->args.in_args[0].value = &ia->in; args 450 fs/fuse/cuse.c ap->args.out_numargs = 2; args 451 fs/fuse/cuse.c ap->args.out_args[0].size = sizeof(ia->out); args 452 fs/fuse/cuse.c ap->args.out_args[0].value = &ia->out; args 453 fs/fuse/cuse.c ap->args.out_args[1].size = CUSE_INIT_INFO_MAX; args 454 fs/fuse/cuse.c ap->args.out_argvar = 1; args 455 fs/fuse/cuse.c ap->args.out_pages = 1; args 460 fs/fuse/cuse.c ia->desc.length = ap->args.out_args[1].size; args 461 fs/fuse/cuse.c ap->args.end = cuse_process_init_reply; args 463 fs/fuse/cuse.c rc = fuse_simple_background(fc, &ap->args, GFP_KERNEL); args 179 fs/fuse/dev.c unsigned int fuse_len_args(unsigned int numargs, struct fuse_arg *args) args 185 fs/fuse/dev.c nbytes += args[i].size; args 226 fs/fuse/dev.c fuse_len_args(req->args->in_numargs, args 227 fs/fuse/dev.c (struct fuse_arg *) req->args->in_args); args 326 fs/fuse/dev.c req->args->end(fc, req->args, req->out.h.error); args 427 fs/fuse/dev.c static void fuse_adjust_compat(struct fuse_conn *fc, struct fuse_args *args) args 429 fs/fuse/dev.c if (fc->minor < 4 && args->opcode == FUSE_STATFS) args 430 fs/fuse/dev.c args->out_args[0].size = FUSE_COMPAT_STATFS_SIZE; args 433 fs/fuse/dev.c switch (args->opcode) { args 440 fs/fuse/dev.c args->out_args[0].size = FUSE_COMPAT_ENTRY_OUT_SIZE; args 444 fs/fuse/dev.c args->out_args[0].size = FUSE_COMPAT_ATTR_OUT_SIZE; args 449 fs/fuse/dev.c switch (args->opcode) { args 451 fs/fuse/dev.c args->in_args[0].size = sizeof(struct fuse_open_in); args 454 fs/fuse/dev.c args->in_args[0].size = FUSE_COMPAT_MKNOD_IN_SIZE; args 467 fs/fuse/dev.c static void fuse_args_to_req(struct fuse_req *req, struct fuse_args *args) args 469 fs/fuse/dev.c req->in.h.opcode = args->opcode; args 470 fs/fuse/dev.c req->in.h.nodeid = args->nodeid; args 471 fs/fuse/dev.c req->args = args; args 472 fs/fuse/dev.c if (args->end) args 476 fs/fuse/dev.c ssize_t fuse_simple_request(struct fuse_conn *fc, struct fuse_args *args) args 481 fs/fuse/dev.c if (args->force) { args 485 fs/fuse/dev.c if (!args->nocreds) args 491 fs/fuse/dev.c WARN_ON(args->nocreds); args 498 fs/fuse/dev.c fuse_adjust_compat(fc, args); args 499 fs/fuse/dev.c fuse_args_to_req(req, args); args 501 fs/fuse/dev.c if (!args->noreply) args 505 fs/fuse/dev.c if (!ret && args->out_argvar) { args 506 fs/fuse/dev.c BUG_ON(args->out_numargs == 0); args 507 fs/fuse/dev.c ret = args->out_args[args->out_numargs - 1].size; args 543 fs/fuse/dev.c int fuse_simple_background(struct fuse_conn *fc, struct fuse_args *args, args 548 fs/fuse/dev.c if (args->force) { args 549 fs/fuse/dev.c WARN_ON(!args->nocreds); args 555 fs/fuse/dev.c WARN_ON(args->nocreds); args 561 fs/fuse/dev.c fuse_args_to_req(req, args); args 573 fs/fuse/dev.c struct fuse_args *args, u64 unique) args 586 fs/fuse/dev.c fuse_args_to_req(req, args); args 953 fs/fuse/dev.c struct fuse_args_pages *ap = container_of(req->args, typeof(*ap), args); args 986 fs/fuse/dev.c unsigned argpages, struct fuse_arg *args, args 993 fs/fuse/dev.c struct fuse_arg *arg = &args[i]; args 1184 fs/fuse/dev.c struct fuse_args *args; args 1245 fs/fuse/dev.c args = req->args; args 1252 fs/fuse/dev.c if (args->opcode == FUSE_SETXATTR) args 1263 fs/fuse/dev.c err = fuse_copy_args(cs, args->in_numargs, args->in_pages, args 1264 fs/fuse/dev.c (struct fuse_arg *) args->in_args, 0); args 1625 fs/fuse/dev.c static void fuse_retrieve_end(struct fuse_conn *fc, struct fuse_args *args, args 1629 fs/fuse/dev.c container_of(args, typeof(*ra), ap.args); args 1649 fs/fuse/dev.c struct fuse_args *args; args 1673 fs/fuse/dev.c args = &ap->args; args 1674 fs/fuse/dev.c args->nodeid = outarg->nodeid; args 1675 fs/fuse/dev.c args->opcode = FUSE_NOTIFY_REPLY; args 1676 fs/fuse/dev.c args->in_numargs = 2; args 1677 fs/fuse/dev.c args->in_pages = true; args 1678 fs/fuse/dev.c args->end = fuse_retrieve_end; args 1703 fs/fuse/dev.c args->in_args[0].size = sizeof(ra->inarg); args 1704 fs/fuse/dev.c args->in_args[0].value = &ra->inarg; args 1705 fs/fuse/dev.c args->in_args[1].size = total_len; args 1707 fs/fuse/dev.c err = fuse_simple_notify_reply(fc, args, outarg->notify_unique); args 1709 fs/fuse/dev.c fuse_retrieve_end(fc, args, err); args 1795 fs/fuse/dev.c static int copy_out_args(struct fuse_copy_state *cs, struct fuse_args *args, args 1800 fs/fuse/dev.c reqsize += fuse_len_args(args->out_numargs, args->out_args); args 1802 fs/fuse/dev.c if (reqsize < nbytes || (reqsize > nbytes && !args->out_argvar)) args 1805 fs/fuse/dev.c struct fuse_arg *lastarg = &args->out_args[args->out_numargs-1]; args 1812 fs/fuse/dev.c return fuse_copy_args(cs, args->out_numargs, args->out_pages, args 1813 fs/fuse/dev.c args->out_args, args->page_zeroing); args 1892 fs/fuse/dev.c if (!req->args->page_replace) args 1898 fs/fuse/dev.c err = copy_out_args(cs, req->args, nbytes); args 171 fs/fuse/dir.c static void fuse_lookup_init(struct fuse_conn *fc, struct fuse_args *args, args 176 fs/fuse/dir.c args->opcode = FUSE_LOOKUP; args 177 fs/fuse/dir.c args->nodeid = nodeid; args 178 fs/fuse/dir.c args->in_numargs = 1; args 179 fs/fuse/dir.c args->in_args[0].size = name->len + 1; args 180 fs/fuse/dir.c args->in_args[0].value = name->name; args 181 fs/fuse/dir.c args->out_numargs = 1; args 182 fs/fuse/dir.c args->out_args[0].size = sizeof(struct fuse_entry_out); args 183 fs/fuse/dir.c args->out_args[0].value = outarg; args 209 fs/fuse/dir.c FUSE_ARGS(args); args 231 fs/fuse/dir.c fuse_lookup_init(fc, &args, get_node_id(d_inode(parent)), args 233 fs/fuse/dir.c ret = fuse_simple_request(fc, &args); args 333 fs/fuse/dir.c FUSE_ARGS(args); args 351 fs/fuse/dir.c fuse_lookup_init(fc, &args, nodeid, name, outarg); args 352 fs/fuse/dir.c err = fuse_simple_request(fc, &args); args 438 fs/fuse/dir.c FUSE_ARGS(args); args 468 fs/fuse/dir.c args.opcode = FUSE_CREATE; args 469 fs/fuse/dir.c args.nodeid = get_node_id(dir); args 470 fs/fuse/dir.c args.in_numargs = 2; args 471 fs/fuse/dir.c args.in_args[0].size = sizeof(inarg); args 472 fs/fuse/dir.c args.in_args[0].value = &inarg; args 473 fs/fuse/dir.c args.in_args[1].size = entry->d_name.len + 1; args 474 fs/fuse/dir.c args.in_args[1].value = entry->d_name.name; args 475 fs/fuse/dir.c args.out_numargs = 2; args 476 fs/fuse/dir.c args.out_args[0].size = sizeof(outentry); args 477 fs/fuse/dir.c args.out_args[0].value = &outentry; args 478 fs/fuse/dir.c args.out_args[1].size = sizeof(outopen); args 479 fs/fuse/dir.c args.out_args[1].value = &outopen; args 480 fs/fuse/dir.c err = fuse_simple_request(fc, &args); args 570 fs/fuse/dir.c static int create_new_entry(struct fuse_conn *fc, struct fuse_args *args, args 585 fs/fuse/dir.c args->nodeid = get_node_id(dir); args 586 fs/fuse/dir.c args->out_numargs = 1; args 587 fs/fuse/dir.c args->out_args[0].size = sizeof(outarg); args 588 fs/fuse/dir.c args->out_args[0].value = &outarg; args 589 fs/fuse/dir.c err = fuse_simple_request(fc, args); args 632 fs/fuse/dir.c FUSE_ARGS(args); args 641 fs/fuse/dir.c args.opcode = FUSE_MKNOD; args 642 fs/fuse/dir.c args.in_numargs = 2; args 643 fs/fuse/dir.c args.in_args[0].size = sizeof(inarg); args 644 fs/fuse/dir.c args.in_args[0].value = &inarg; args 645 fs/fuse/dir.c args.in_args[1].size = entry->d_name.len + 1; args 646 fs/fuse/dir.c args.in_args[1].value = entry->d_name.name; args 647 fs/fuse/dir.c return create_new_entry(fc, &args, dir, entry, mode); args 660 fs/fuse/dir.c FUSE_ARGS(args); args 668 fs/fuse/dir.c args.opcode = FUSE_MKDIR; args 669 fs/fuse/dir.c args.in_numargs = 2; args 670 fs/fuse/dir.c args.in_args[0].size = sizeof(inarg); args 671 fs/fuse/dir.c args.in_args[0].value = &inarg; args 672 fs/fuse/dir.c args.in_args[1].size = entry->d_name.len + 1; args 673 fs/fuse/dir.c args.in_args[1].value = entry->d_name.name; args 674 fs/fuse/dir.c return create_new_entry(fc, &args, dir, entry, S_IFDIR); args 682 fs/fuse/dir.c FUSE_ARGS(args); args 684 fs/fuse/dir.c args.opcode = FUSE_SYMLINK; args 685 fs/fuse/dir.c args.in_numargs = 2; args 686 fs/fuse/dir.c args.in_args[0].size = entry->d_name.len + 1; args 687 fs/fuse/dir.c args.in_args[0].value = entry->d_name.name; args 688 fs/fuse/dir.c args.in_args[1].size = len; args 689 fs/fuse/dir.c args.in_args[1].value = link; args 690 fs/fuse/dir.c return create_new_entry(fc, &args, dir, entry, S_IFLNK); args 705 fs/fuse/dir.c FUSE_ARGS(args); args 707 fs/fuse/dir.c args.opcode = FUSE_UNLINK; args 708 fs/fuse/dir.c args.nodeid = get_node_id(dir); args 709 fs/fuse/dir.c args.in_numargs = 1; args 710 fs/fuse/dir.c args.in_args[0].size = entry->d_name.len + 1; args 711 fs/fuse/dir.c args.in_args[0].value = entry->d_name.name; args 712 fs/fuse/dir.c err = fuse_simple_request(fc, &args); args 741 fs/fuse/dir.c FUSE_ARGS(args); args 743 fs/fuse/dir.c args.opcode = FUSE_RMDIR; args 744 fs/fuse/dir.c args.nodeid = get_node_id(dir); args 745 fs/fuse/dir.c args.in_numargs = 1; args 746 fs/fuse/dir.c args.in_args[0].size = entry->d_name.len + 1; args 747 fs/fuse/dir.c args.in_args[0].value = entry->d_name.name; args 748 fs/fuse/dir.c err = fuse_simple_request(fc, &args); args 765 fs/fuse/dir.c FUSE_ARGS(args); args 770 fs/fuse/dir.c args.opcode = opcode; args 771 fs/fuse/dir.c args.nodeid = get_node_id(olddir); args 772 fs/fuse/dir.c args.in_numargs = 3; args 773 fs/fuse/dir.c args.in_args[0].size = argsize; args 774 fs/fuse/dir.c args.in_args[0].value = &inarg; args 775 fs/fuse/dir.c args.in_args[1].size = oldent->d_name.len + 1; args 776 fs/fuse/dir.c args.in_args[1].value = oldent->d_name.name; args 777 fs/fuse/dir.c args.in_args[2].size = newent->d_name.len + 1; args 778 fs/fuse/dir.c args.in_args[2].value = newent->d_name.name; args 779 fs/fuse/dir.c err = fuse_simple_request(fc, &args); args 851 fs/fuse/dir.c FUSE_ARGS(args); args 855 fs/fuse/dir.c args.opcode = FUSE_LINK; args 856 fs/fuse/dir.c args.in_numargs = 2; args 857 fs/fuse/dir.c args.in_args[0].size = sizeof(inarg); args 858 fs/fuse/dir.c args.in_args[0].value = &inarg; args 859 fs/fuse/dir.c args.in_args[1].size = newent->d_name.len + 1; args 860 fs/fuse/dir.c args.in_args[1].value = newent->d_name.name; args 861 fs/fuse/dir.c err = create_new_entry(fc, &args, newdir, newent, inode->i_mode); args 930 fs/fuse/dir.c FUSE_ARGS(args); args 944 fs/fuse/dir.c args.opcode = FUSE_GETATTR; args 945 fs/fuse/dir.c args.nodeid = get_node_id(inode); args 946 fs/fuse/dir.c args.in_numargs = 1; args 947 fs/fuse/dir.c args.in_args[0].size = sizeof(inarg); args 948 fs/fuse/dir.c args.in_args[0].value = &inarg; args 949 fs/fuse/dir.c args.out_numargs = 1; args 950 fs/fuse/dir.c args.out_args[0].size = sizeof(outarg); args 951 fs/fuse/dir.c args.out_args[0].value = &outarg; args 952 fs/fuse/dir.c err = fuse_simple_request(fc, &args); args 1106 fs/fuse/dir.c FUSE_ARGS(args); args 1117 fs/fuse/dir.c args.opcode = FUSE_ACCESS; args 1118 fs/fuse/dir.c args.nodeid = get_node_id(inode); args 1119 fs/fuse/dir.c args.in_numargs = 1; args 1120 fs/fuse/dir.c args.in_args[0].size = sizeof(inarg); args 1121 fs/fuse/dir.c args.in_args[0].value = &inarg; args 1122 fs/fuse/dir.c err = fuse_simple_request(fc, &args); args 1222 fs/fuse/dir.c ap.args.opcode = FUSE_READLINK; args 1223 fs/fuse/dir.c ap.args.nodeid = get_node_id(inode); args 1224 fs/fuse/dir.c ap.args.out_pages = true; args 1225 fs/fuse/dir.c ap.args.out_argvar = true; args 1226 fs/fuse/dir.c ap.args.page_zeroing = true; args 1227 fs/fuse/dir.c ap.args.out_numargs = 1; args 1228 fs/fuse/dir.c ap.args.out_args[0].size = desc.length; args 1229 fs/fuse/dir.c res = fuse_simple_request(fc, &ap.args); args 1437 fs/fuse/dir.c static void fuse_setattr_fill(struct fuse_conn *fc, struct fuse_args *args, args 1442 fs/fuse/dir.c args->opcode = FUSE_SETATTR; args 1443 fs/fuse/dir.c args->nodeid = get_node_id(inode); args 1444 fs/fuse/dir.c args->in_numargs = 1; args 1445 fs/fuse/dir.c args->in_args[0].size = sizeof(*inarg_p); args 1446 fs/fuse/dir.c args->in_args[0].value = inarg_p; args 1447 fs/fuse/dir.c args->out_numargs = 1; args 1448 fs/fuse/dir.c args->out_args[0].size = sizeof(*outarg_p); args 1449 fs/fuse/dir.c args->out_args[0].value = outarg_p; args 1458 fs/fuse/dir.c FUSE_ARGS(args); args 1477 fs/fuse/dir.c fuse_setattr_fill(fc, &args, inode, &inarg, &outarg); args 1479 fs/fuse/dir.c return fuse_simple_request(fc, &args); args 1496 fs/fuse/dir.c FUSE_ARGS(args); args 1568 fs/fuse/dir.c fuse_setattr_fill(fc, &args, inode, &inarg, &outarg); args 1569 fs/fuse/dir.c err = fuse_simple_request(fc, &args); args 38 fs/fuse/file.c FUSE_ARGS(args); args 44 fs/fuse/file.c args.opcode = opcode; args 45 fs/fuse/file.c args.nodeid = nodeid; args 46 fs/fuse/file.c args.in_numargs = 1; args 47 fs/fuse/file.c args.in_args[0].size = sizeof(inarg); args 48 fs/fuse/file.c args.in_args[0].value = &inarg; args 49 fs/fuse/file.c args.out_numargs = 1; args 50 fs/fuse/file.c args.out_args[0].size = sizeof(*outargp); args 51 fs/fuse/file.c args.out_args[0].value = outargp; args 53 fs/fuse/file.c return fuse_simple_request(fc, &args); args 57 fs/fuse/file.c struct fuse_args args; args 102 fs/fuse/file.c static void fuse_release_end(struct fuse_conn *fc, struct fuse_args *args, args 105 fs/fuse/file.c struct fuse_release_args *ra = container_of(args, typeof(*ra), args); args 114 fs/fuse/file.c struct fuse_args *args = &ff->release_args->args; args 118 fs/fuse/file.c fuse_release_end(ff->fc, args, 0); args 120 fs/fuse/file.c fuse_simple_request(ff->fc, args); args 121 fs/fuse/file.c fuse_release_end(ff->fc, args, 0); args 123 fs/fuse/file.c args->end = fuse_release_end; args 124 fs/fuse/file.c if (fuse_simple_background(ff->fc, args, args 126 fs/fuse/file.c fuse_release_end(ff->fc, args, -ENOTCONN); args 267 fs/fuse/file.c ra->args.in_numargs = 1; args 268 fs/fuse/file.c ra->args.in_args[0].size = sizeof(struct fuse_release_in); args 269 fs/fuse/file.c ra->args.in_args[0].value = &ra->inarg; args 270 fs/fuse/file.c ra->args.opcode = opcode; args 271 fs/fuse/file.c ra->args.nodeid = ff->nodeid; args 272 fs/fuse/file.c ra->args.force = true; args 273 fs/fuse/file.c ra->args.nocreds = true; args 442 fs/fuse/file.c FUSE_ARGS(args); args 466 fs/fuse/file.c args.opcode = FUSE_FLUSH; args 467 fs/fuse/file.c args.nodeid = get_node_id(inode); args 468 fs/fuse/file.c args.in_numargs = 1; args 469 fs/fuse/file.c args.in_args[0].size = sizeof(inarg); args 470 fs/fuse/file.c args.in_args[0].value = &inarg; args 471 fs/fuse/file.c args.force = true; args 473 fs/fuse/file.c err = fuse_simple_request(fc, &args); args 487 fs/fuse/file.c FUSE_ARGS(args); args 493 fs/fuse/file.c args.opcode = opcode; args 494 fs/fuse/file.c args.nodeid = get_node_id(inode); args 495 fs/fuse/file.c args.in_numargs = 1; args 496 fs/fuse/file.c args.in_args[0].size = sizeof(inarg); args 497 fs/fuse/file.c args.in_args[0].value = &inarg; args 498 fs/fuse/file.c return fuse_simple_request(fc, &args); args 555 fs/fuse/file.c struct fuse_args *args = &ia->ap.args; args 561 fs/fuse/file.c args->opcode = opcode; args 562 fs/fuse/file.c args->nodeid = ff->nodeid; args 563 fs/fuse/file.c args->in_numargs = 1; args 564 fs/fuse/file.c args->in_args[0].size = sizeof(ia->read.in); args 565 fs/fuse/file.c args->in_args[0].value = &ia->read.in; args 566 fs/fuse/file.c args->out_argvar = true; args 567 fs/fuse/file.c args->out_numargs = 1; args 568 fs/fuse/file.c args->out_args[0].size = count; args 673 fs/fuse/file.c static void fuse_aio_complete_req(struct fuse_conn *fc, struct fuse_args *args, args 676 fs/fuse/file.c struct fuse_io_args *ia = container_of(args, typeof(*ia), ap.args); args 692 fs/fuse/file.c u32 outsize = args->out_args[0].size; args 714 fs/fuse/file.c ia->ap.args.end = fuse_aio_complete_req; args 715 fs/fuse/file.c err = fuse_simple_background(fc, &ia->ap.args, GFP_KERNEL); args 717 fs/fuse/file.c fuse_aio_complete_req(fc, &ia->ap.args, err); args 738 fs/fuse/file.c return fuse_simple_request(fc, &ia->ap.args); args 788 fs/fuse/file.c .ap.args.page_zeroing = true, args 789 fs/fuse/file.c .ap.args.out_pages = true, args 811 fs/fuse/file.c res = fuse_simple_request(fc, &ia.ap.args); args 841 fs/fuse/file.c static void fuse_readpages_end(struct fuse_conn *fc, struct fuse_args *args, args 845 fs/fuse/file.c struct fuse_io_args *ia = container_of(args, typeof(*ia), ap.args); args 848 fs/fuse/file.c size_t num_read = args->out_args[0].size; args 892 fs/fuse/file.c ap->args.out_pages = true; args 893 fs/fuse/file.c ap->args.page_zeroing = true; args 894 fs/fuse/file.c ap->args.page_replace = true; args 907 fs/fuse/file.c ap->args.end = fuse_readpages_end; args 908 fs/fuse/file.c err = fuse_simple_background(fc, &ap->args, GFP_KERNEL); args 912 fs/fuse/file.c res = fuse_simple_request(fc, &ap->args); args 915 fs/fuse/file.c fuse_readpages_end(fc, &ap->args, err); args 1022 fs/fuse/file.c struct fuse_args *args = &ia->ap.args; args 1027 fs/fuse/file.c args->opcode = FUSE_WRITE; args 1028 fs/fuse/file.c args->nodeid = ff->nodeid; args 1029 fs/fuse/file.c args->in_numargs = 2; args 1031 fs/fuse/file.c args->in_args[0].size = FUSE_COMPAT_WRITE_IN_SIZE; args 1033 fs/fuse/file.c args->in_args[0].size = sizeof(ia->write.in); args 1034 fs/fuse/file.c args->in_args[0].value = &ia->write.in; args 1035 fs/fuse/file.c args->in_args[1].size = count; args 1036 fs/fuse/file.c args->out_numargs = 1; args 1037 fs/fuse/file.c args->out_args[0].size = sizeof(ia->write.out); args 1038 fs/fuse/file.c args->out_args[0].value = &ia->write.out; args 1073 fs/fuse/file.c err = fuse_simple_request(fc, &ia->ap.args); args 1114 fs/fuse/file.c err = fuse_simple_request(fc, &ap->args); args 1149 fs/fuse/file.c ap->args.in_pages = true; args 1378 fs/fuse/file.c ap->args.in_args[1].value = (void *) user_addr; args 1380 fs/fuse/file.c ap->args.out_args[0].value = (void *) user_addr; args 1412 fs/fuse/file.c ap->args.in_pages = 1; args 1414 fs/fuse/file.c ap->args.out_pages = 1; args 1635 fs/fuse/file.c struct fuse_args *args = &wpa->ia.ap.args; args 1649 fs/fuse/file.c args->in_args[1].size = inarg->size; args 1650 fs/fuse/file.c args->force = true; args 1651 fs/fuse/file.c args->nocreds = true; args 1653 fs/fuse/file.c err = fuse_simple_background(fc, args, GFP_ATOMIC); args 1656 fs/fuse/file.c err = fuse_simple_background(fc, args, GFP_NOFS | __GFP_NOFAIL); args 1705 fs/fuse/file.c static void fuse_writepage_end(struct fuse_conn *fc, struct fuse_args *args, args 1709 fs/fuse/file.c container_of(args, typeof(*wpa), ia.ap.args); args 1846 fs/fuse/file.c ap->args.in_pages = true; args 1851 fs/fuse/file.c ap->args.end = fuse_writepage_end; args 2082 fs/fuse/file.c ap->args.in_pages = true; args 2083 fs/fuse/file.c ap->args.end = fuse_writepage_end; args 2354 fs/fuse/file.c static void fuse_lk_fill(struct fuse_args *args, struct file *file, args 2371 fs/fuse/file.c args->opcode = opcode; args 2372 fs/fuse/file.c args->nodeid = get_node_id(inode); args 2373 fs/fuse/file.c args->in_numargs = 1; args 2374 fs/fuse/file.c args->in_args[0].size = sizeof(*inarg); args 2375 fs/fuse/file.c args->in_args[0].value = inarg; args 2382 fs/fuse/file.c FUSE_ARGS(args); args 2387 fs/fuse/file.c fuse_lk_fill(&args, file, fl, FUSE_GETLK, 0, 0, &inarg); args 2388 fs/fuse/file.c args.out_numargs = 1; args 2389 fs/fuse/file.c args.out_args[0].size = sizeof(outarg); args 2390 fs/fuse/file.c args.out_args[0].value = &outarg; args 2391 fs/fuse/file.c err = fuse_simple_request(fc, &args); args 2402 fs/fuse/file.c FUSE_ARGS(args); args 2418 fs/fuse/file.c fuse_lk_fill(&args, file, fl, opcode, pid_nr, flock, &inarg); args 2419 fs/fuse/file.c err = fuse_simple_request(fc, &args); args 2474 fs/fuse/file.c FUSE_ARGS(args); args 2485 fs/fuse/file.c args.opcode = FUSE_BMAP; args 2486 fs/fuse/file.c args.nodeid = get_node_id(inode); args 2487 fs/fuse/file.c args.in_numargs = 1; args 2488 fs/fuse/file.c args.in_args[0].size = sizeof(inarg); args 2489 fs/fuse/file.c args.in_args[0].value = &inarg; args 2490 fs/fuse/file.c args.out_numargs = 1; args 2491 fs/fuse/file.c args.out_args[0].size = sizeof(outarg); args 2492 fs/fuse/file.c args.out_args[0].value = &outarg; args 2493 fs/fuse/file.c err = fuse_simple_request(fc, &args); args 2505 fs/fuse/file.c FUSE_ARGS(args); args 2517 fs/fuse/file.c args.opcode = FUSE_LSEEK; args 2518 fs/fuse/file.c args.nodeid = ff->nodeid; args 2519 fs/fuse/file.c args.in_numargs = 1; args 2520 fs/fuse/file.c args.in_args[0].size = sizeof(inarg); args 2521 fs/fuse/file.c args.in_args[0].value = &inarg; args 2522 fs/fuse/file.c args.out_numargs = 1; args 2523 fs/fuse/file.c args.out_args[0].size = sizeof(outarg); args 2524 fs/fuse/file.c args.out_args[0].value = &outarg; args 2525 fs/fuse/file.c err = fuse_simple_request(fc, &args); args 2799 fs/fuse/file.c ap.args.opcode = FUSE_IOCTL; args 2800 fs/fuse/file.c ap.args.nodeid = ff->nodeid; args 2801 fs/fuse/file.c ap.args.in_numargs = 1; args 2802 fs/fuse/file.c ap.args.in_args[0].size = sizeof(inarg); args 2803 fs/fuse/file.c ap.args.in_args[0].value = &inarg; args 2805 fs/fuse/file.c ap.args.in_numargs++; args 2806 fs/fuse/file.c ap.args.in_args[1].size = in_size; args 2807 fs/fuse/file.c ap.args.in_pages = true; args 2818 fs/fuse/file.c ap.args.out_numargs = 2; args 2819 fs/fuse/file.c ap.args.out_args[0].size = sizeof(outarg); args 2820 fs/fuse/file.c ap.args.out_args[0].value = &outarg; args 2821 fs/fuse/file.c ap.args.out_args[1].size = out_size; args 2822 fs/fuse/file.c ap.args.out_pages = true; args 2823 fs/fuse/file.c ap.args.out_argvar = true; args 2825 fs/fuse/file.c transferred = fuse_simple_request(fc, &ap.args); args 2980 fs/fuse/file.c FUSE_ARGS(args); args 2998 fs/fuse/file.c args.opcode = FUSE_POLL; args 2999 fs/fuse/file.c args.nodeid = ff->nodeid; args 3000 fs/fuse/file.c args.in_numargs = 1; args 3001 fs/fuse/file.c args.in_args[0].size = sizeof(inarg); args 3002 fs/fuse/file.c args.in_args[0].value = &inarg; args 3003 fs/fuse/file.c args.out_numargs = 1; args 3004 fs/fuse/file.c args.out_args[0].size = sizeof(outarg); args 3005 fs/fuse/file.c args.out_args[0].value = &outarg; args 3006 fs/fuse/file.c err = fuse_simple_request(fc, &args); args 3175 fs/fuse/file.c FUSE_ARGS(args); args 3213 fs/fuse/file.c args.opcode = FUSE_FALLOCATE; args 3214 fs/fuse/file.c args.nodeid = ff->nodeid; args 3215 fs/fuse/file.c args.in_numargs = 1; args 3216 fs/fuse/file.c args.in_args[0].size = sizeof(inarg); args 3217 fs/fuse/file.c args.in_args[0].value = &inarg; args 3218 fs/fuse/file.c err = fuse_simple_request(fc, &args); args 3259 fs/fuse/file.c FUSE_ARGS(args); args 3305 fs/fuse/file.c args.opcode = FUSE_COPY_FILE_RANGE; args 3306 fs/fuse/file.c args.nodeid = ff_in->nodeid; args 3307 fs/fuse/file.c args.in_numargs = 1; args 3308 fs/fuse/file.c args.in_args[0].size = sizeof(inarg); args 3309 fs/fuse/file.c args.in_args[0].value = &inarg; args 3310 fs/fuse/file.c args.out_numargs = 1; args 3311 fs/fuse/file.c args.out_args[0].size = sizeof(outarg); args 3312 fs/fuse/file.c args.out_args[0].value = &outarg; args 3313 fs/fuse/file.c err = fuse_simple_request(fc, &args); args 254 fs/fuse/fuse_i.h void (*end)(struct fuse_conn *fc, struct fuse_args *args, int error); args 258 fs/fuse/fuse_i.h struct fuse_args args; args 264 fs/fuse/fuse_i.h #define FUSE_ARGS(args) struct fuse_args args = {} args 337 fs/fuse/fuse_i.h struct fuse_args *args; args 918 fs/fuse/fuse_i.h ssize_t fuse_simple_request(struct fuse_conn *fc, struct fuse_args *args); args 919 fs/fuse/fuse_i.h int fuse_simple_background(struct fuse_conn *fc, struct fuse_args *args, args 1087 fs/fuse/fuse_i.h unsigned int fuse_len_args(unsigned int numargs, struct fuse_arg *args); args 376 fs/fuse/inode.c FUSE_ARGS(args); args 378 fs/fuse/inode.c args.opcode = FUSE_DESTROY; args 379 fs/fuse/inode.c args.force = true; args 380 fs/fuse/inode.c args.nocreds = true; args 381 fs/fuse/inode.c fuse_simple_request(fc, &args); args 415 fs/fuse/inode.c FUSE_ARGS(args); args 425 fs/fuse/inode.c args.in_numargs = 0; args 426 fs/fuse/inode.c args.opcode = FUSE_STATFS; args 427 fs/fuse/inode.c args.nodeid = get_node_id(d_inode(dentry)); args 428 fs/fuse/inode.c args.out_numargs = 1; args 429 fs/fuse/inode.c args.out_args[0].size = sizeof(outarg); args 430 fs/fuse/inode.c args.out_args[0].value = &outarg; args 431 fs/fuse/inode.c err = fuse_simple_request(fc, &args); args 879 fs/fuse/inode.c struct fuse_args args; args 884 fs/fuse/inode.c static void process_init_reply(struct fuse_conn *fc, struct fuse_args *args, args 887 fs/fuse/inode.c struct fuse_init_args *ia = container_of(args, typeof(*ia), args); args 992 fs/fuse/inode.c ia->args.opcode = FUSE_INIT; args 993 fs/fuse/inode.c ia->args.in_numargs = 1; args 994 fs/fuse/inode.c ia->args.in_args[0].size = sizeof(ia->in); args 995 fs/fuse/inode.c ia->args.in_args[0].value = &ia->in; args 996 fs/fuse/inode.c ia->args.out_numargs = 1; args 1000 fs/fuse/inode.c ia->args.out_argvar = 1; args 1001 fs/fuse/inode.c ia->args.out_args[0].size = sizeof(ia->out); args 1002 fs/fuse/inode.c ia->args.out_args[0].value = &ia->out; args 1003 fs/fuse/inode.c ia->args.force = true; args 1004 fs/fuse/inode.c ia->args.nocreds = true; args 1005 fs/fuse/inode.c ia->args.end = process_init_reply; args 1007 fs/fuse/inode.c if (fuse_simple_background(fc, &ia->args, GFP_KERNEL) != 0) args 1008 fs/fuse/inode.c process_init_reply(fc, &ia->args, -ENOTCONN); args 257 fs/fuse/readdir.c FUSE_ARGS(args); args 261 fs/fuse/readdir.c args.opcode = FUSE_FORGET; args 262 fs/fuse/readdir.c args.nodeid = nodeid; args 263 fs/fuse/readdir.c args.in_numargs = 1; args 264 fs/fuse/readdir.c args.in_args[0].size = sizeof(inarg); args 265 fs/fuse/readdir.c args.in_args[0].value = &inarg; args 266 fs/fuse/readdir.c args.force = true; args 267 fs/fuse/readdir.c args.noreply = true; args 269 fs/fuse/readdir.c fuse_simple_request(fc, &args); args 335 fs/fuse/readdir.c ap->args.out_pages = 1; args 348 fs/fuse/readdir.c res = fuse_simple_request(fc, &ap->args); args 381 fs/fuse/virtio_fs.c struct fuse_args *args = req->args; args 388 fs/fuse/virtio_fs.c num_in = args->in_numargs - args->in_pages; args 389 fs/fuse/virtio_fs.c num_out = args->out_numargs - args->out_pages; args 390 fs/fuse/virtio_fs.c len = fuse_len_args(num_in, (struct fuse_arg *) args->in_args) + args 391 fs/fuse/virtio_fs.c fuse_len_args(num_out, args->out_args); args 399 fs/fuse/virtio_fs.c args->in_args[i].value, args 400 fs/fuse/virtio_fs.c args->in_args[i].size); args 401 fs/fuse/virtio_fs.c offset += args->in_args[i].size; args 408 fs/fuse/virtio_fs.c static void copy_args_from_argbuf(struct fuse_args *args, struct fuse_req *req) args 417 fs/fuse/virtio_fs.c num_in = args->in_numargs - args->in_pages; args 418 fs/fuse/virtio_fs.c num_out = args->out_numargs - args->out_pages; args 419 fs/fuse/virtio_fs.c offset = fuse_len_args(num_in, (struct fuse_arg *)args->in_args); args 422 fs/fuse/virtio_fs.c unsigned int argsize = args->out_args[i].size; args 424 fs/fuse/virtio_fs.c if (args->out_argvar && args 425 fs/fuse/virtio_fs.c i == args->out_numargs - 1 && args 430 fs/fuse/virtio_fs.c memcpy(args->out_args[i].value, req->argbuf + offset, argsize); args 433 fs/fuse/virtio_fs.c if (i != args->out_numargs - 1) args 438 fs/fuse/virtio_fs.c if (args->out_argvar) args 439 fs/fuse/virtio_fs.c args->out_args[args->out_numargs - 1].size = remaining; args 456 fs/fuse/virtio_fs.c struct fuse_args *args; args 480 fs/fuse/virtio_fs.c args = req->args; args 481 fs/fuse/virtio_fs.c copy_args_from_argbuf(args, req); args 483 fs/fuse/virtio_fs.c if (args->out_pages && args->page_zeroing) { args 484 fs/fuse/virtio_fs.c len = args->out_args[args->out_numargs - 1].size; args 485 fs/fuse/virtio_fs.c ap = container_of(args, typeof(*ap), args); args 801 fs/fuse/virtio_fs.c struct fuse_args *args = req->args; args 802 fs/fuse/virtio_fs.c struct fuse_args_pages *ap = container_of(args, typeof(*ap), args); args 805 fs/fuse/virtio_fs.c if (args->in_numargs - args->in_pages) args 808 fs/fuse/virtio_fs.c if (args->in_pages) args 816 fs/fuse/virtio_fs.c if (args->out_numargs - args->out_pages) args 819 fs/fuse/virtio_fs.c if (args->out_pages) args 848 fs/fuse/virtio_fs.c struct fuse_arg *args, args 854 fs/fuse/virtio_fs.c struct fuse_args_pages *ap = container_of(req->args, typeof(*ap), args); args 858 fs/fuse/virtio_fs.c len = fuse_len_args(numargs - argpages, args); args 866 fs/fuse/virtio_fs.c args[numargs - 1].size); args 884 fs/fuse/virtio_fs.c struct fuse_args *args = req->args; args 913 fs/fuse/virtio_fs.c (struct fuse_arg *)args->in_args, args 914 fs/fuse/virtio_fs.c args->in_numargs, args->in_pages, args 922 fs/fuse/virtio_fs.c args->out_args, args->out_numargs, args 923 fs/fuse/virtio_fs.c args->out_pages, args 999 fs/fuse/virtio_fs.c fuse_len_args(req->args->out_numargs, req->args->out_args)); args 18 fs/fuse/xattr.c FUSE_ARGS(args); args 28 fs/fuse/xattr.c args.opcode = FUSE_SETXATTR; args 29 fs/fuse/xattr.c args.nodeid = get_node_id(inode); args 30 fs/fuse/xattr.c args.in_numargs = 3; args 31 fs/fuse/xattr.c args.in_args[0].size = sizeof(inarg); args 32 fs/fuse/xattr.c args.in_args[0].value = &inarg; args 33 fs/fuse/xattr.c args.in_args[1].size = strlen(name) + 1; args 34 fs/fuse/xattr.c args.in_args[1].value = name; args 35 fs/fuse/xattr.c args.in_args[2].size = size; args 36 fs/fuse/xattr.c args.in_args[2].value = value; args 37 fs/fuse/xattr.c err = fuse_simple_request(fc, &args); args 53 fs/fuse/xattr.c FUSE_ARGS(args); args 63 fs/fuse/xattr.c args.opcode = FUSE_GETXATTR; args 64 fs/fuse/xattr.c args.nodeid = get_node_id(inode); args 65 fs/fuse/xattr.c args.in_numargs = 2; args 66 fs/fuse/xattr.c args.in_args[0].size = sizeof(inarg); args 67 fs/fuse/xattr.c args.in_args[0].value = &inarg; args 68 fs/fuse/xattr.c args.in_args[1].size = strlen(name) + 1; args 69 fs/fuse/xattr.c args.in_args[1].value = name; args 71 fs/fuse/xattr.c args.out_numargs = 1; args 73 fs/fuse/xattr.c args.out_argvar = true; args 74 fs/fuse/xattr.c args.out_args[0].size = size; args 75 fs/fuse/xattr.c args.out_args[0].value = value; args 77 fs/fuse/xattr.c args.out_args[0].size = sizeof(outarg); args 78 fs/fuse/xattr.c args.out_args[0].value = &outarg; args 80 fs/fuse/xattr.c ret = fuse_simple_request(fc, &args); args 111 fs/fuse/xattr.c FUSE_ARGS(args); args 124 fs/fuse/xattr.c args.opcode = FUSE_LISTXATTR; args 125 fs/fuse/xattr.c args.nodeid = get_node_id(inode); args 126 fs/fuse/xattr.c args.in_numargs = 1; args 127 fs/fuse/xattr.c args.in_args[0].size = sizeof(inarg); args 128 fs/fuse/xattr.c args.in_args[0].value = &inarg; args 130 fs/fuse/xattr.c args.out_numargs = 1; args 132 fs/fuse/xattr.c args.out_argvar = true; args 133 fs/fuse/xattr.c args.out_args[0].size = size; args 134 fs/fuse/xattr.c args.out_args[0].value = list; args 136 fs/fuse/xattr.c args.out_args[0].size = sizeof(outarg); args 137 fs/fuse/xattr.c args.out_args[0].value = &outarg; args 139 fs/fuse/xattr.c ret = fuse_simple_request(fc, &args); args 154 fs/fuse/xattr.c FUSE_ARGS(args); args 160 fs/fuse/xattr.c args.opcode = FUSE_REMOVEXATTR; args 161 fs/fuse/xattr.c args.nodeid = get_node_id(inode); args 162 fs/fuse/xattr.c args.in_numargs = 1; args 163 fs/fuse/xattr.c args.in_args[0].size = strlen(name) + 1; args 164 fs/fuse/xattr.c args.in_args[0].value = name; args 165 fs/fuse/xattr.c err = fuse_simple_request(fc, &args); args 914 fs/gfs2/dir.c struct qstr args; args 945 fs/gfs2/dir.c args.len = bh->b_size - sizeof(struct gfs2_dinode) + args 947 fs/gfs2/dir.c args.name = bh->b_data; args 949 fs/gfs2/dir.c gfs2_dirent_last, &args, NULL); args 1082 fs/gfs2/glock.c va_list args; args 1084 fs/gfs2/glock.c va_start(args, fmt); args 1087 fs/gfs2/glock.c seq_vprintf(seq, fmt, args); args 1090 fs/gfs2/glock.c vaf.va = &args; args 1095 fs/gfs2/glock.c va_end(args); args 937 fs/gfs2/ops_fstype.c struct gfs2_args *args = &sdp->sd_args; args 960 fs/gfs2/ops_fstype.c for (options = args->ar_hostdata; (o = strsep(&options, ":")); ) { args 1044 fs/gfs2/ops_fstype.c struct gfs2_args *args = fc->fs_private; args 1055 fs/gfs2/ops_fstype.c sdp->sd_args = *args; args 1218 fs/gfs2/ops_fstype.c struct gfs2_args *args = fc->fs_private; args 1228 fs/gfs2/ops_fstype.c if (args->ar_meta) args 1237 fs/gfs2/ops_fstype.c struct gfs2_args *args = fc->fs_private; args 1239 fs/gfs2/ops_fstype.c kfree(args); args 1340 fs/gfs2/ops_fstype.c struct gfs2_args *args = fc->fs_private; args 1350 fs/gfs2/ops_fstype.c strlcpy(args->ar_lockproto, param->string, GFS2_LOCKNAME_LEN); args 1353 fs/gfs2/ops_fstype.c strlcpy(args->ar_locktable, param->string, GFS2_LOCKNAME_LEN); args 1356 fs/gfs2/ops_fstype.c strlcpy(args->ar_hostdata, param->string, GFS2_LOCKNAME_LEN); args 1359 fs/gfs2/ops_fstype.c args->ar_spectator = 1; args 1365 fs/gfs2/ops_fstype.c args->ar_localflocks = 1; args 1371 fs/gfs2/ops_fstype.c if (result.boolean && args->ar_errors == GFS2_ERRORS_PANIC) args 1373 fs/gfs2/ops_fstype.c args->ar_debug = result.boolean; args 1379 fs/gfs2/ops_fstype.c args->ar_posix_acl = result.boolean; args 1387 fs/gfs2/ops_fstype.c args->ar_quota = GFS2_QUOTA_OFF; args 1389 fs/gfs2/ops_fstype.c args->ar_quota = opt_quota_values[result.int_32]; args 1391 fs/gfs2/ops_fstype.c args->ar_quota = GFS2_QUOTA_ON; args 1394 fs/gfs2/ops_fstype.c args->ar_suiddir = result.boolean; args 1398 fs/gfs2/ops_fstype.c args->ar_data = result.uint_32; args 1401 fs/gfs2/ops_fstype.c args->ar_meta = 1; args 1404 fs/gfs2/ops_fstype.c args->ar_discard = result.boolean; args 1409 fs/gfs2/ops_fstype.c args->ar_commit = result.int_32; args 1414 fs/gfs2/ops_fstype.c args->ar_statfs_quantum = result.int_32; args 1419 fs/gfs2/ops_fstype.c args->ar_quota_quantum = result.int_32; args 1424 fs/gfs2/ops_fstype.c args->ar_statfs_percent = result.int_32; args 1427 fs/gfs2/ops_fstype.c if (args->ar_debug && result.uint_32 == GFS2_ERRORS_PANIC) args 1429 fs/gfs2/ops_fstype.c args->ar_errors = result.uint_32; args 1432 fs/gfs2/ops_fstype.c args->ar_nobarrier = result.boolean; args 1435 fs/gfs2/ops_fstype.c args->ar_rgrplvb = result.boolean; args 1438 fs/gfs2/ops_fstype.c args->ar_loccookie = result.boolean; args 1541 fs/gfs2/ops_fstype.c struct gfs2_args *args; args 1543 fs/gfs2/ops_fstype.c args = kmalloc(sizeof(*args), GFP_KERNEL); args 1544 fs/gfs2/ops_fstype.c if (args == NULL) args 1550 fs/gfs2/ops_fstype.c *args = sdp->sd_args; args 1552 fs/gfs2/ops_fstype.c memset(args, 0, sizeof(*args)); args 1553 fs/gfs2/ops_fstype.c args->ar_quota = GFS2_QUOTA_DEFAULT; args 1554 fs/gfs2/ops_fstype.c args->ar_data = GFS2_DATA_DEFAULT; args 1555 fs/gfs2/ops_fstype.c args->ar_commit = 30; args 1556 fs/gfs2/ops_fstype.c args->ar_statfs_quantum = 30; args 1557 fs/gfs2/ops_fstype.c args->ar_quota_quantum = 60; args 1558 fs/gfs2/ops_fstype.c args->ar_errors = GFS2_ERRORS_DEFAULT; args 1560 fs/gfs2/ops_fstype.c fc->fs_private = args; args 1044 fs/gfs2/super.c struct gfs2_args *args = &sdp->sd_args; args 1049 fs/gfs2/super.c if (args->ar_lockproto[0]) args 1050 fs/gfs2/super.c seq_show_option(s, "lockproto", args->ar_lockproto); args 1051 fs/gfs2/super.c if (args->ar_locktable[0]) args 1052 fs/gfs2/super.c seq_show_option(s, "locktable", args->ar_locktable); args 1053 fs/gfs2/super.c if (args->ar_hostdata[0]) args 1054 fs/gfs2/super.c seq_show_option(s, "hostdata", args->ar_hostdata); args 1055 fs/gfs2/super.c if (args->ar_spectator) args 1057 fs/gfs2/super.c if (args->ar_localflocks) args 1059 fs/gfs2/super.c if (args->ar_debug) args 1061 fs/gfs2/super.c if (args->ar_posix_acl) args 1063 fs/gfs2/super.c if (args->ar_quota != GFS2_QUOTA_DEFAULT) { args 1065 fs/gfs2/super.c switch (args->ar_quota) { args 1081 fs/gfs2/super.c if (args->ar_suiddir) args 1083 fs/gfs2/super.c if (args->ar_data != GFS2_DATA_DEFAULT) { args 1085 fs/gfs2/super.c switch (args->ar_data) { args 1098 fs/gfs2/super.c if (args->ar_discard) args 1111 fs/gfs2/super.c if (args->ar_statfs_percent) args 1112 fs/gfs2/super.c seq_printf(s, ",statfs_percent=%d", args->ar_statfs_percent); args 1113 fs/gfs2/super.c if (args->ar_errors != GFS2_ERRORS_DEFAULT) { args 1116 fs/gfs2/super.c switch (args->ar_errors) { args 1133 fs/gfs2/super.c if (args->ar_rgrplvb) args 1135 fs/gfs2/super.c if (args->ar_loccookie) args 40 fs/gfs2/util.c va_list args; args 48 fs/gfs2/util.c va_start(args, fmt); args 51 fs/gfs2/util.c vaf.va = &args; args 55 fs/gfs2/util.c va_end(args); args 227 fs/hfs/super.c substring_t args[MAX_OPT_ARGS]; args 247 fs/hfs/super.c token = match_token(p, tokens, args); args 250 fs/hfs/super.c if (match_int(&args[0], &tmp)) { args 261 fs/hfs/super.c if (match_int(&args[0], &tmp)) { args 272 fs/hfs/super.c if (match_octal(&args[0], &tmp)) { args 280 fs/hfs/super.c if (match_octal(&args[0], &tmp)) { args 287 fs/hfs/super.c if (match_octal(&args[0], &tmp)) { args 294 fs/hfs/super.c if (match_int(&args[0], &hsb->part)) { args 300 fs/hfs/super.c if (match_int(&args[0], &hsb->session)) { args 306 fs/hfs/super.c if (match_fourchar(&args[0], &hsb->s_type)) { args 312 fs/hfs/super.c if (match_fourchar(&args[0], &hsb->s_creator)) { args 325 fs/hfs/super.c p = match_strdup(&args[0]); args 340 fs/hfs/super.c p = match_strdup(&args[0]); args 75 fs/hfsplus/options.c substring_t args[MAX_OPT_ARGS]; args 85 fs/hfsplus/options.c token = match_token(p, tokens, args); args 103 fs/hfsplus/options.c substring_t args[MAX_OPT_ARGS]; args 113 fs/hfsplus/options.c token = match_token(p, tokens, args); args 116 fs/hfsplus/options.c if (match_fourchar(&args[0], &sbi->creator)) { args 122 fs/hfsplus/options.c if (match_fourchar(&args[0], &sbi->type)) { args 128 fs/hfsplus/options.c if (match_octal(&args[0], &tmp)) { args 135 fs/hfsplus/options.c if (match_int(&args[0], &tmp)) { args 146 fs/hfsplus/options.c if (match_int(&args[0], &tmp)) { args 157 fs/hfsplus/options.c if (match_int(&args[0], &sbi->part)) { args 163 fs/hfsplus/options.c if (match_int(&args[0], &sbi->session)) { args 173 fs/hfsplus/options.c p = match_strdup(&args[0]); args 60 fs/hpfs/super.c va_list args; args 62 fs/hpfs/super.c va_start(args, fmt); args 65 fs/hpfs/super.c vaf.va = &args; args 69 fs/hpfs/super.c va_end(args); args 327 fs/hpfs/super.c substring_t args[MAX_OPT_ARGS]; args 332 fs/hpfs/super.c token = match_token(p, tokens, args); args 337 fs/hpfs/super.c if (match_int(args, &option)) args 344 fs/hpfs/super.c if (match_int(args, &option)) args 351 fs/hpfs/super.c if (match_octal(args, &option)) args 400 fs/hpfs/super.c char *rhs = args[0].from; args 250 fs/ioctl.c struct file_clone_range args; args 252 fs/ioctl.c if (copy_from_user(&args, argp, sizeof(args))) args 254 fs/ioctl.c return ioctl_file_clone(file, args.src_fd, args.src_offset, args 255 fs/ioctl.c args.src_length, args.dest_offset); args 367 fs/isofs/inode.c substring_t args[MAX_OPT_ARGS]; args 373 fs/isofs/inode.c token = match_token(p, tokens, args); args 397 fs/isofs/inode.c popt->iocharset = match_strdup(&args[0]); args 412 fs/isofs/inode.c if (match_int(&args[0], &option)) args 424 fs/isofs/inode.c if (match_int(&args[0], &option)) args 437 fs/isofs/inode.c if (match_int(&args[0], &option)) args 445 fs/isofs/inode.c if (match_int(&args[0], &option)) args 453 fs/isofs/inode.c if (match_int(&args[0], &option)) args 458 fs/isofs/inode.c if (match_int(&args[0], &option)) args 466 fs/isofs/inode.c if (match_int(&args[0], &option)) args 107 fs/jbd2/journal.c va_list args; args 111 fs/jbd2/journal.c va_start(args, fmt); args 113 fs/jbd2/journal.c vaf.va = &args; args 115 fs/jbd2/journal.c va_end(args); args 86 fs/jfs/super.c va_list args; args 88 fs/jfs/super.c va_start(args, fmt); args 91 fs/jfs/super.c vaf.va = &args; args 96 fs/jfs/super.c va_end(args); args 246 fs/jfs/super.c substring_t args[MAX_OPT_ARGS]; args 251 fs/jfs/super.c token = match_token(p, tokens, args); args 266 fs/jfs/super.c if (!strcmp(args[0].from, "none")) args 269 fs/jfs/super.c nls_map = load_nls(args[0].from); args 278 fs/jfs/super.c char *resize = args[0].from; args 295 fs/jfs/super.c char *errors = args[0].from; args 335 fs/jfs/super.c char *uid = args[0].from; args 349 fs/jfs/super.c char *gid = args[0].from; args 363 fs/jfs/super.c char *umask = args[0].from; args 397 fs/jfs/super.c char *minblks_trim = args[0].from; args 363 fs/lockd/clnt4xdr.c const struct nlm_args *args = data; args 364 fs/lockd/clnt4xdr.c const struct nlm_lock *lock = &args->lock; args 366 fs/lockd/clnt4xdr.c encode_cookie(xdr, &args->cookie); args 385 fs/lockd/clnt4xdr.c const struct nlm_args *args = data; args 386 fs/lockd/clnt4xdr.c const struct nlm_lock *lock = &args->lock; args 388 fs/lockd/clnt4xdr.c encode_cookie(xdr, &args->cookie); args 389 fs/lockd/clnt4xdr.c encode_bool(xdr, args->block); args 392 fs/lockd/clnt4xdr.c encode_bool(xdr, args->reclaim); args 393 fs/lockd/clnt4xdr.c encode_int32(xdr, args->state); args 408 fs/lockd/clnt4xdr.c const struct nlm_args *args = data; args 409 fs/lockd/clnt4xdr.c const struct nlm_lock *lock = &args->lock; args 411 fs/lockd/clnt4xdr.c encode_cookie(xdr, &args->cookie); args 412 fs/lockd/clnt4xdr.c encode_bool(xdr, args->block); args 427 fs/lockd/clnt4xdr.c const struct nlm_args *args = data; args 428 fs/lockd/clnt4xdr.c const struct nlm_lock *lock = &args->lock; args 430 fs/lockd/clnt4xdr.c encode_cookie(xdr, &args->cookie); args 356 fs/lockd/clntxdr.c const struct nlm_args *args = data; args 357 fs/lockd/clntxdr.c const struct nlm_lock *lock = &args->lock; args 359 fs/lockd/clntxdr.c encode_cookie(xdr, &args->cookie); args 378 fs/lockd/clntxdr.c const struct nlm_args *args = data; args 379 fs/lockd/clntxdr.c const struct nlm_lock *lock = &args->lock; args 381 fs/lockd/clntxdr.c encode_cookie(xdr, &args->cookie); args 382 fs/lockd/clntxdr.c encode_bool(xdr, args->block); args 385 fs/lockd/clntxdr.c encode_bool(xdr, args->reclaim); args 386 fs/lockd/clntxdr.c encode_int32(xdr, args->state); args 401 fs/lockd/clntxdr.c const struct nlm_args *args = data; args 402 fs/lockd/clntxdr.c const struct nlm_lock *lock = &args->lock; args 404 fs/lockd/clntxdr.c encode_cookie(xdr, &args->cookie); args 405 fs/lockd/clntxdr.c encode_bool(xdr, args->block); args 420 fs/lockd/clntxdr.c const struct nlm_args *args = data; args 421 fs/lockd/clntxdr.c const struct nlm_lock *lock = &args->lock; args 423 fs/lockd/clntxdr.c encode_cookie(xdr, &args->cookie); args 456 fs/lockd/host.c struct rpc_create_args args = { args 477 fs/lockd/host.c args.flags |= RPC_CLNT_CREATE_HARDRTRY; args 479 fs/lockd/host.c args.flags |= RPC_CLNT_CREATE_NONPRIVPORT; args 481 fs/lockd/host.c args.saddress = nlm_srcaddr(host); args 483 fs/lockd/host.c clnt = rpc_create(&args); args 74 fs/lockd/mon.c struct rpc_create_args args = { args 88 fs/lockd/mon.c return rpc_create(&args); args 96 fs/lockd/mon.c struct nsm_args args = { args 105 fs/lockd/mon.c .rpc_argp = &args, args 525 fs/lockd/svc4proc.c PROC(test, testargs, testres, args, res, Ck+St+2+No+Rg), args 526 fs/lockd/svc4proc.c PROC(lock, lockargs, res, args, res, Ck+St), args 527 fs/lockd/svc4proc.c PROC(cancel, cancargs, res, args, res, Ck+St), args 528 fs/lockd/svc4proc.c PROC(unlock, unlockargs, res, args, res, Ck+St), args 529 fs/lockd/svc4proc.c PROC(granted, testargs, res, args, res, Ck+St), args 530 fs/lockd/svc4proc.c PROC(test_msg, testargs, norep, args, void, 1), args 531 fs/lockd/svc4proc.c PROC(lock_msg, lockargs, norep, args, void, 1), args 532 fs/lockd/svc4proc.c PROC(cancel_msg, cancargs, norep, args, void, 1), args 533 fs/lockd/svc4proc.c PROC(unlock_msg, unlockargs, norep, args, void, 1), args 534 fs/lockd/svc4proc.c PROC(granted_msg, testargs, norep, args, void, 1), args 545 fs/lockd/svc4proc.c PROC(share, shareargs, shareres, args, res, Ck+St+1), args 546 fs/lockd/svc4proc.c PROC(unshare, shareargs, shareres, args, res, Ck+St+1), args 547 fs/lockd/svc4proc.c PROC(nm_lock, lockargs, res, args, res, Ck+St), args 548 fs/lockd/svc4proc.c PROC(free_all, notify, void, args, void, 1), args 569 fs/lockd/svcproc.c PROC(test, testargs, testres, args, res, Ck+St+2+No+Rg), args 570 fs/lockd/svcproc.c PROC(lock, lockargs, res, args, res, Ck+St), args 571 fs/lockd/svcproc.c PROC(cancel, cancargs, res, args, res, Ck+St), args 572 fs/lockd/svcproc.c PROC(unlock, unlockargs, res, args, res, Ck+St), args 573 fs/lockd/svcproc.c PROC(granted, testargs, res, args, res, Ck+St), args 574 fs/lockd/svcproc.c PROC(test_msg, testargs, norep, args, void, 1), args 575 fs/lockd/svcproc.c PROC(lock_msg, lockargs, norep, args, void, 1), args 576 fs/lockd/svcproc.c PROC(cancel_msg, cancargs, norep, args, void, 1), args 577 fs/lockd/svcproc.c PROC(unlock_msg, unlockargs, norep, args, void, 1), args 578 fs/lockd/svcproc.c PROC(granted_msg, testargs, norep, args, void, 1), args 589 fs/lockd/svcproc.c PROC(share, shareargs, shareres, args, res, Ck+St+1), args 590 fs/lockd/svcproc.c PROC(unshare, shareargs, shareres, args, res, Ck+St+1), args 591 fs/lockd/svcproc.c PROC(nm_lock, lockargs, res, args, res, Ck+St), args 592 fs/lockd/svcproc.c PROC(free_all, notify, void, args, void, 0), args 156 fs/mpage.c static struct bio *do_mpage_readpage(struct mpage_readpage_args *args) args 158 fs/mpage.c struct page *page = args->page; args 163 fs/mpage.c struct buffer_head *map_bh = &args->map_bh; args 178 fs/mpage.c if (args->is_readahead) { args 190 fs/mpage.c last_block = block_in_file + args->nr_pages * blocks_per_page; args 201 fs/mpage.c block_in_file > args->first_logical_block && args 202 fs/mpage.c block_in_file < (args->first_logical_block + nblocks)) { args 203 fs/mpage.c unsigned map_offset = block_in_file - args->first_logical_block; args 231 fs/mpage.c if (args->get_block(inode, block_in_file, map_bh, 0)) args 233 fs/mpage.c args->first_logical_block = block_in_file; args 296 fs/mpage.c if (args->bio && (args->last_block_in_bio != blocks[0] - 1)) args 297 fs/mpage.c args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); args 300 fs/mpage.c if (args->bio == NULL) { args 306 fs/mpage.c args->bio = mpage_alloc(bdev, blocks[0] << (blkbits - 9), args 307 fs/mpage.c min_t(int, args->nr_pages, args 310 fs/mpage.c if (args->bio == NULL) args 315 fs/mpage.c if (bio_add_page(args->bio, page, length, 0) < length) { args 316 fs/mpage.c args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); args 320 fs/mpage.c relative_block = block_in_file - args->first_logical_block; args 324 fs/mpage.c args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); args 326 fs/mpage.c args->last_block_in_bio = blocks[blocks_per_page - 1]; args 328 fs/mpage.c return args->bio; args 331 fs/mpage.c if (args->bio) args 332 fs/mpage.c args->bio = mpage_bio_submit(REQ_OP_READ, op_flags, args->bio); args 334 fs/mpage.c block_read_full_page(page, args->get_block); args 388 fs/mpage.c struct mpage_readpage_args args = { args 402 fs/mpage.c args.page = page; args 403 fs/mpage.c args.nr_pages = nr_pages - page_idx; args 404 fs/mpage.c args.bio = do_mpage_readpage(&args); args 409 fs/mpage.c if (args.bio) args 410 fs/mpage.c mpage_bio_submit(REQ_OP_READ, REQ_RAHEAD, args.bio); args 420 fs/mpage.c struct mpage_readpage_args args = { args 426 fs/mpage.c args.bio = do_mpage_readpage(&args); args 427 fs/mpage.c if (args.bio) args 428 fs/mpage.c mpage_bio_submit(REQ_OP_READ, 0, args.bio); args 195 fs/nfs/blocklayout/blocklayout.c size_t bytes_left = header->args.count; args 199 fs/nfs/blocklayout/blocklayout.c isect = header->args.offset >> SECTOR_SHIFT; args 200 fs/nfs/blocklayout/blocklayout.c bytes_left += header->args.offset - (isect << SECTOR_SHIFT); args 261 fs/nfs/blocklayout/blocklayout.c loff_t f_offset = header->args.offset; args 262 fs/nfs/blocklayout/blocklayout.c size_t bytes_left = header->args.count; args 263 fs/nfs/blocklayout/blocklayout.c unsigned int pg_offset = header->args.pgbase, pg_len; args 264 fs/nfs/blocklayout/blocklayout.c struct page **pages = header->args.pages; args 265 fs/nfs/blocklayout/blocklayout.c int pg_index = header->args.pgbase >> PAGE_SHIFT; args 272 fs/nfs/blocklayout/blocklayout.c (unsigned int)header->args.count); args 335 fs/nfs/blocklayout/blocklayout.c header->res.count = header->inode->i_size - header->args.offset; args 337 fs/nfs/blocklayout/blocklayout.c header->res.count = (isect << SECTOR_SHIFT) - header->args.offset; args 374 fs/nfs/blocklayout/blocklayout.c u64 start = hdr->args.offset & (loff_t)PAGE_MASK; args 375 fs/nfs/blocklayout/blocklayout.c u64 end = (hdr->args.offset + hdr->args.count + args 377 fs/nfs/blocklayout/blocklayout.c u64 lwb = hdr->args.offset + hdr->args.count; args 406 fs/nfs/blocklayout/blocklayout.c loff_t offset = header->args.offset; args 407 fs/nfs/blocklayout/blocklayout.c size_t count = header->args.count; args 408 fs/nfs/blocklayout/blocklayout.c struct page **pages = header->args.pages; args 409 fs/nfs/blocklayout/blocklayout.c int pg_index = header->args.pgbase >> PAGE_SHIFT; args 461 fs/nfs/blocklayout/blocklayout.c header->res.count = header->args.count; args 802 fs/nfs/blocklayout/blocklayout.c ext_tree_mark_committed(&lcdata->args, lcdata->res.status); args 196 fs/nfs/callback.h extern __be32 nfs4_callback_offload(void *args, void *dummy, args 26 fs/nfs/callback_proc.c struct cb_getattrargs *args = argp; args 42 fs/nfs/callback_proc.c inode = nfs_delegation_find_inode(cps->clp, &args->fh); args 46 fs/nfs/callback_proc.c trace_nfs4_cb_getattr(cps->clp, &args->fh, NULL, args 62 fs/nfs/callback_proc.c args->bitmap[0]; args 64 fs/nfs/callback_proc.c args->bitmap[1]; args 68 fs/nfs/callback_proc.c trace_nfs4_cb_getattr(cps->clp, &args->fh, inode, -ntohl(res->status)); args 78 fs/nfs/callback_proc.c struct cb_recallargs *args = argp; args 90 fs/nfs/callback_proc.c inode = nfs_delegation_find_inode(cps->clp, &args->fh); args 94 fs/nfs/callback_proc.c trace_nfs4_cb_recall(cps->clp, &args->fh, NULL, args 95 fs/nfs/callback_proc.c &args->stateid, -ntohl(res)); args 99 fs/nfs/callback_proc.c switch (nfs_async_inode_return_delegation(inode, &args->stateid)) { args 109 fs/nfs/callback_proc.c trace_nfs4_cb_recall(cps->clp, &args->fh, inode, args 110 fs/nfs/callback_proc.c &args->stateid, -ntohl(res)); args 251 fs/nfs/callback_proc.c struct cb_layoutrecallargs *args) args 258 fs/nfs/callback_proc.c ino = nfs_layout_find_inode(clp, &args->cbl_fh, &args->cbl_stateid); args 275 fs/nfs/callback_proc.c rv = pnfs_check_callback_stateid(lo, &args->cbl_stateid); args 287 fs/nfs/callback_proc.c pnfs_set_layout_stateid(lo, &args->cbl_stateid, true); args 289 fs/nfs/callback_proc.c &args->cbl_range, args 290 fs/nfs/callback_proc.c be32_to_cpu(args->cbl_stateid.seqid))) { args 302 fs/nfs/callback_proc.c &args->cbl_range); args 314 fs/nfs/callback_proc.c trace_nfs4_cb_layoutrecall_file(clp, &args->cbl_fh, ino, args 315 fs/nfs/callback_proc.c &args->cbl_stateid, -rv); args 320 fs/nfs/callback_proc.c struct cb_layoutrecallargs *args) args 324 fs/nfs/callback_proc.c if (args->cbl_recall_type == RETURN_FSID) args 325 fs/nfs/callback_proc.c stat = pnfs_destroy_layouts_byfsid(clp, &args->cbl_fsid, true); args 334 fs/nfs/callback_proc.c struct cb_layoutrecallargs *args) args 336 fs/nfs/callback_proc.c if (args->cbl_recall_type == RETURN_FILE) args 337 fs/nfs/callback_proc.c return initiate_file_draining(clp, args); args 338 fs/nfs/callback_proc.c return initiate_bulk_draining(clp, args); args 344 fs/nfs/callback_proc.c struct cb_layoutrecallargs *args = argp; args 348 fs/nfs/callback_proc.c res = do_callback_layoutrecall(cps->clp, args); args 354 fs/nfs/callback_proc.c struct cb_layoutrecallargs args; args 357 fs/nfs/callback_proc.c memset(&args, 0, sizeof(args)); args 358 fs/nfs/callback_proc.c args.cbl_recall_type = RETURN_ALL; args 360 fs/nfs/callback_proc.c do_callback_layoutrecall(clp, &args); args 366 fs/nfs/callback_proc.c struct cb_devicenotifyargs *args = argp; args 377 fs/nfs/callback_proc.c for (i = 0; i < args->ndevs; i++) { args 378 fs/nfs/callback_proc.c struct cb_devicenotifyitem *dev = &args->devs[i]; args 398 fs/nfs/callback_proc.c kfree(args->devs); args 417 fs/nfs/callback_proc.c const struct cb_sequenceargs * args) args 422 fs/nfs/callback_proc.c if (args->csa_slotid > tbl->server_highest_slotid) args 426 fs/nfs/callback_proc.c if (args->csa_sequenceid == slot->seq_nr) { args 433 fs/nfs/callback_proc.c if (args->csa_cachethis == 0) args 444 fs/nfs/callback_proc.c if (args->csa_sequenceid != slot->seq_nr + 1) args 450 fs/nfs/callback_proc.c trace_nfs4_cb_seqid_err(args, ret); args 505 fs/nfs/callback_proc.c struct cb_sequenceargs *args = argp; args 513 fs/nfs/callback_proc.c clp = nfs4_find_client_sessionid(cps->net, args->csa_addr, args 514 fs/nfs/callback_proc.c &args->csa_sessionid, cps->minorversion); args 524 fs/nfs/callback_proc.c memcpy(&res->csr_sessionid, &args->csa_sessionid, args 526 fs/nfs/callback_proc.c res->csr_sequenceid = args->csa_sequenceid; args 527 fs/nfs/callback_proc.c res->csr_slotid = args->csa_slotid; args 542 fs/nfs/callback_proc.c slot = nfs4_lookup_slot(tbl, args->csa_slotid); args 549 fs/nfs/callback_proc.c status = validate_seqid(tbl, slot, args); args 559 fs/nfs/callback_proc.c if (args->csa_cachethis != 0) { args 569 fs/nfs/callback_proc.c if (referring_call_exists(clp, args->csa_nrclists, args->csa_rclists, args 580 fs/nfs/callback_proc.c slot->seq_nr = args->csa_sequenceid; args 586 fs/nfs/callback_proc.c for (i = 0; i < args->csa_nrclists; i++) args 587 fs/nfs/callback_proc.c kfree(args->csa_rclists[i].rcl_refcalls); args 588 fs/nfs/callback_proc.c kfree(args->csa_rclists); args 596 fs/nfs/callback_proc.c trace_nfs4_cb_sequence(args, res, status); args 609 fs/nfs/callback_proc.c struct cb_recallanyargs *args = argp; args 621 fs/nfs/callback_proc.c if (!validate_bitmap_values(args->craa_type_mask)) args 625 fs/nfs/callback_proc.c if (args->craa_type_mask & BIT(RCA4_TYPE_MASK_RDATA_DLG)) args 627 fs/nfs/callback_proc.c if (args->craa_type_mask & BIT(RCA4_TYPE_MASK_WDATA_DLG)) args 632 fs/nfs/callback_proc.c if (args->craa_type_mask & BIT(RCA4_TYPE_MASK_FILE_LAYOUT)) args 643 fs/nfs/callback_proc.c struct cb_recallslotargs *args = argp; args 653 fs/nfs/callback_proc.c args->crsa_target_highest_slotid); args 659 fs/nfs/callback_proc.c nfs41_set_target_slotid(fc_tbl, args->crsa_target_highest_slotid); args 669 fs/nfs/callback_proc.c struct cb_notify_lock_args *args = argp; args 678 fs/nfs/callback_proc.c if (args->cbnl_valid) args 679 fs/nfs/callback_proc.c __wake_up(&cps->clp->cl_lock_waitq, TASK_NORMAL, 0, args); args 686 fs/nfs/callback_proc.c struct cb_offloadargs *args) args 688 fs/nfs/callback_proc.c cp_state->count = args->wr_count; args 689 fs/nfs/callback_proc.c cp_state->error = args->error; args 690 fs/nfs/callback_proc.c if (!args->error) { args 691 fs/nfs/callback_proc.c cp_state->verf.committed = args->wr_writeverf.committed; args 693 fs/nfs/callback_proc.c &args->wr_writeverf.verifier.data[0], args 701 fs/nfs/callback_proc.c struct cb_offloadargs *args = data; args 715 fs/nfs/callback_proc.c if (memcmp(args->coa_stateid.other, args 717 fs/nfs/callback_proc.c sizeof(args->coa_stateid.other))) args 719 fs/nfs/callback_proc.c nfs4_copy_cb_args(tmp_copy, args); args 728 fs/nfs/callback_proc.c memcpy(©->stateid, &args->coa_stateid, NFS4_STATEID_SIZE); args 729 fs/nfs/callback_proc.c nfs4_copy_cb_args(copy, args); args 179 fs/nfs/callback_xdr.c struct cb_getattrargs *args = argp; args 182 fs/nfs/callback_xdr.c status = decode_fh(xdr, &args->fh); args 185 fs/nfs/callback_xdr.c return decode_bitmap(xdr, args->bitmap); args 191 fs/nfs/callback_xdr.c struct cb_recallargs *args = argp; args 195 fs/nfs/callback_xdr.c status = decode_delegation_stateid(xdr, &args->stateid); args 201 fs/nfs/callback_xdr.c args->truncate = ntohl(*p); args 202 fs/nfs/callback_xdr.c return decode_fh(xdr, &args->fh); args 215 fs/nfs/callback_xdr.c struct cb_layoutrecallargs *args = argp; args 224 fs/nfs/callback_xdr.c args->cbl_layout_type = ntohl(*p++); args 229 fs/nfs/callback_xdr.c args->cbl_layoutchanged = ntohl(*p++); args 230 fs/nfs/callback_xdr.c args->cbl_recall_type = ntohl(*p++); args 232 fs/nfs/callback_xdr.c if (args->cbl_recall_type == RETURN_FILE) { args 233 fs/nfs/callback_xdr.c args->cbl_range.iomode = iomode; args 234 fs/nfs/callback_xdr.c status = decode_fh(xdr, &args->cbl_fh); args 241 fs/nfs/callback_xdr.c p = xdr_decode_hyper(p, &args->cbl_range.offset); args 242 fs/nfs/callback_xdr.c p = xdr_decode_hyper(p, &args->cbl_range.length); args 243 fs/nfs/callback_xdr.c return decode_layout_stateid(xdr, &args->cbl_stateid); args 244 fs/nfs/callback_xdr.c } else if (args->cbl_recall_type == RETURN_FSID) { args 248 fs/nfs/callback_xdr.c p = xdr_decode_hyper(p, &args->cbl_fsid.major); args 249 fs/nfs/callback_xdr.c p = xdr_decode_hyper(p, &args->cbl_fsid.minor); args 250 fs/nfs/callback_xdr.c } else if (args->cbl_recall_type != RETURN_ALL) args 260 fs/nfs/callback_xdr.c struct cb_devicenotifyargs *args = argp; args 265 fs/nfs/callback_xdr.c args->ndevs = 0; args 276 fs/nfs/callback_xdr.c if (n > ULONG_MAX / sizeof(*args->devs)) { args 281 fs/nfs/callback_xdr.c args->devs = kmalloc_array(n, sizeof(*args->devs), GFP_KERNEL); args 282 fs/nfs/callback_xdr.c if (!args->devs) { args 289 fs/nfs/callback_xdr.c struct cb_devicenotifyitem *dev = &args->devs[i]; args 333 fs/nfs/callback_xdr.c args->ndevs++; args 341 fs/nfs/callback_xdr.c __func__, ntohl(status), args->ndevs); args 344 fs/nfs/callback_xdr.c kfree(args->devs); args 403 fs/nfs/callback_xdr.c struct cb_sequenceargs *args = argp; args 408 fs/nfs/callback_xdr.c status = decode_sessionid(xdr, &args->csa_sessionid); args 416 fs/nfs/callback_xdr.c args->csa_addr = svc_addr(rqstp); args 417 fs/nfs/callback_xdr.c args->csa_sequenceid = ntohl(*p++); args 418 fs/nfs/callback_xdr.c args->csa_slotid = ntohl(*p++); args 419 fs/nfs/callback_xdr.c args->csa_highestslotid = ntohl(*p++); args 420 fs/nfs/callback_xdr.c args->csa_cachethis = ntohl(*p++); args 421 fs/nfs/callback_xdr.c args->csa_nrclists = ntohl(*p++); args 422 fs/nfs/callback_xdr.c args->csa_rclists = NULL; args 423 fs/nfs/callback_xdr.c if (args->csa_nrclists) { args 424 fs/nfs/callback_xdr.c args->csa_rclists = kmalloc_array(args->csa_nrclists, args 425 fs/nfs/callback_xdr.c sizeof(*args->csa_rclists), args 427 fs/nfs/callback_xdr.c if (unlikely(args->csa_rclists == NULL)) args 430 fs/nfs/callback_xdr.c for (i = 0; i < args->csa_nrclists; i++) { args 431 fs/nfs/callback_xdr.c status = decode_rc_list(xdr, &args->csa_rclists[i]); args 433 fs/nfs/callback_xdr.c args->csa_nrclists = i; args 441 fs/nfs/callback_xdr.c for (i = 0; i < args->csa_nrclists; i++) args 442 fs/nfs/callback_xdr.c kfree(args->csa_rclists[i].rcl_refcalls); args 443 fs/nfs/callback_xdr.c kfree(args->csa_rclists); args 451 fs/nfs/callback_xdr.c struct cb_recallanyargs *args = argp; args 458 fs/nfs/callback_xdr.c args->craa_objs_to_keep = ntohl(*p++); args 462 fs/nfs/callback_xdr.c args->craa_type_mask = bitmap[0]; args 471 fs/nfs/callback_xdr.c struct cb_recallslotargs *args = argp; args 477 fs/nfs/callback_xdr.c args->crsa_target_highest_slotid = ntohl(*p++); args 481 fs/nfs/callback_xdr.c static __be32 decode_lockowner(struct xdr_stream *xdr, struct cb_notify_lock_args *args) args 490 fs/nfs/callback_xdr.c p = xdr_decode_hyper(p, &args->cbnl_owner.clientid); args 500 fs/nfs/callback_xdr.c args->cbnl_owner.s_dev = be32_to_cpu(*p++); args 501 fs/nfs/callback_xdr.c xdr_decode_hyper(p, &args->cbnl_owner.id); args 502 fs/nfs/callback_xdr.c args->cbnl_valid = true; args 504 fs/nfs/callback_xdr.c args->cbnl_owner.s_dev = 0; args 505 fs/nfs/callback_xdr.c args->cbnl_owner.id = 0; args 506 fs/nfs/callback_xdr.c args->cbnl_valid = false; args 514 fs/nfs/callback_xdr.c struct cb_notify_lock_args *args = argp; args 517 fs/nfs/callback_xdr.c status = decode_fh(xdr, &args->cbnl_fh); args 520 fs/nfs/callback_xdr.c return decode_lockowner(xdr, args); args 526 fs/nfs/callback_xdr.c struct cb_offloadargs *args) args 540 fs/nfs/callback_xdr.c p = xdr_decode_hyper(p, &args->wr_count); args 541 fs/nfs/callback_xdr.c args->wr_writeverf.committed = be32_to_cpup(p); args 544 fs/nfs/callback_xdr.c memcpy(&args->wr_writeverf.verifier.data[0], p, args 556 fs/nfs/callback_xdr.c struct cb_offloadargs *args = data; args 561 fs/nfs/callback_xdr.c status = decode_fh(xdr, &args->coa_fh); args 566 fs/nfs/callback_xdr.c status = decode_stateid(xdr, &args->coa_stateid); args 574 fs/nfs/callback_xdr.c args->error = ntohl(*p++); args 575 fs/nfs/callback_xdr.c if (!args->error) { args 576 fs/nfs/callback_xdr.c status = decode_write_response(xdr, args); args 583 fs/nfs/callback_xdr.c p = xdr_decode_hyper(p, &args->wr_count); args 496 fs/nfs/client.c struct rpc_create_args args = { args 512 fs/nfs/client.c args.flags |= RPC_CLNT_CREATE_DISCRTRY; args 514 fs/nfs/client.c args.flags |= RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT; args 516 fs/nfs/client.c args.flags |= RPC_CLNT_CREATE_NONPRIVPORT; args 518 fs/nfs/client.c args.flags |= RPC_CLNT_CREATE_INFINITE_SLOTS; args 523 fs/nfs/client.c clnt = rpc_create(&args); args 828 fs/nfs/direct.c hdr->good_bytes = hdr->args.count; args 98 fs/nfs/filelayout/filelayout.c hdr->args.count, args 99 fs/nfs/filelayout/filelayout.c (unsigned long long)hdr->args.offset); args 115 fs/nfs/filelayout/filelayout.c hdr->args.count, args 116 fs/nfs/filelayout/filelayout.c (unsigned long long)hdr->args.offset); args 208 fs/nfs/filelayout/filelayout.c err = filelayout_async_handle_error(task, hdr->args.context->state, args 269 fs/nfs/filelayout/filelayout.c if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { args 282 fs/nfs/filelayout/filelayout.c &hdr->args.seq_args, args 286 fs/nfs/filelayout/filelayout.c if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context, args 287 fs/nfs/filelayout/filelayout.c hdr->args.lock_context, FMODE_READ) == -EIO) args 320 fs/nfs/filelayout/filelayout.c err = filelayout_async_handle_error(task, hdr->args.context->state, args 369 fs/nfs/filelayout/filelayout.c if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { args 380 fs/nfs/filelayout/filelayout.c &hdr->args.seq_args, args 384 fs/nfs/filelayout/filelayout.c if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context, args 385 fs/nfs/filelayout/filelayout.c hdr->args.lock_context, FMODE_WRITE) == -EIO) args 415 fs/nfs/filelayout/filelayout.c &wdata->args.seq_args, args 454 fs/nfs/filelayout/filelayout.c loff_t offset = hdr->args.offset; args 460 fs/nfs/filelayout/filelayout.c hdr->args.pgbase, (size_t)hdr->args.count, offset); args 482 fs/nfs/filelayout/filelayout.c hdr->args.fh = fh; args 484 fs/nfs/filelayout/filelayout.c hdr->args.offset = filelayout_get_dserver_offset(lseg, offset); args 501 fs/nfs/filelayout/filelayout.c loff_t offset = hdr->args.offset; args 517 fs/nfs/filelayout/filelayout.c __func__, hdr->inode->i_ino, sync, (size_t) hdr->args.count, args 526 fs/nfs/filelayout/filelayout.c hdr->args.fh = fh; args 527 fs/nfs/filelayout/filelayout.c hdr->args.offset = filelayout_get_dserver_offset(lseg, offset); args 1071 fs/nfs/filelayout/filelayout.c data->args.fh = fh; args 1081 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.count, args 1082 fs/nfs/flexfilelayout/flexfilelayout.c (unsigned long long)hdr->args.offset); args 1094 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.count, args 1095 fs/nfs/flexfilelayout/flexfilelayout.c (unsigned long long)hdr->args.offset); args 1098 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.offset, hdr->args.count, args 1117 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.count, args 1118 fs/nfs/flexfilelayout/flexfilelayout.c (unsigned long long)hdr->args.offset); args 1121 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.offset, hdr->args.count, args 1327 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.offset, hdr->args.count, args 1330 fs/nfs/flexfilelayout/flexfilelayout.c err = ff_layout_async_handle_error(task, hdr->args.context->state, args 1396 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.count, args 1407 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.count, args 1415 fs/nfs/flexfilelayout/flexfilelayout.c if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { args 1444 fs/nfs/flexfilelayout/flexfilelayout.c &hdr->args.seq_args, args 1500 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.offset, hdr->args.count, args 1503 fs/nfs/flexfilelayout/flexfilelayout.c err = ff_layout_async_handle_error(task, hdr->args.context->state, args 1543 fs/nfs/flexfilelayout/flexfilelayout.c data->args.offset, data->args.count, args 1573 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.count, args 1584 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.count, hdr->res.count, args 1592 fs/nfs/flexfilelayout/flexfilelayout.c if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { args 1616 fs/nfs/flexfilelayout/flexfilelayout.c &hdr->args.seq_args, args 1706 fs/nfs/flexfilelayout/flexfilelayout.c &wdata->args.seq_args, args 1785 fs/nfs/flexfilelayout/flexfilelayout.c loff_t offset = hdr->args.offset; args 1792 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.pgbase, (size_t)hdr->args.count, offset); args 1818 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.fh = fh; args 1820 fs/nfs/flexfilelayout/flexfilelayout.c nfs4_ff_layout_select_ds_stateid(mirror, &hdr->args.stateid); args 1826 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.offset = offset; args 1841 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.offset, hdr->args.count, args 1855 fs/nfs/flexfilelayout/flexfilelayout.c loff_t offset = hdr->args.offset; args 1877 fs/nfs/flexfilelayout/flexfilelayout.c __func__, hdr->inode->i_ino, sync, (size_t) hdr->args.count, args 1887 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.fh = fh; args 1889 fs/nfs/flexfilelayout/flexfilelayout.c nfs4_ff_layout_select_ds_stateid(mirror, &hdr->args.stateid); args 1895 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.offset = offset; args 1909 fs/nfs/flexfilelayout/flexfilelayout.c hdr->args.offset, hdr->args.count, args 1971 fs/nfs/flexfilelayout/flexfilelayout.c data->args.fh = fh; args 2012 fs/nfs/flexfilelayout/flexfilelayout.c const struct nfs4_layoutreturn_args *args, args 2063 fs/nfs/flexfilelayout/flexfilelayout.c const struct nfs4_layoutreturn_args *args, args 2073 fs/nfs/flexfilelayout/flexfilelayout.c &args->layout->plh_stateid, args 2109 fs/nfs/flexfilelayout/flexfilelayout.c const struct nfs4_layoutreturn_args *args = voidargs; args 2126 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_encode_ioerr(&tmp_xdr, args, ff_args); args 2127 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_encode_iostats_array(&tmp_xdr, args, ff_args); args 2137 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_free_layoutreturn(struct nfs4_xdr_opaque_data *args) args 2141 fs/nfs/flexfilelayout/flexfilelayout.c if (!args->data) args 2143 fs/nfs/flexfilelayout/flexfilelayout.c ff_args = args->data; args 2144 fs/nfs/flexfilelayout/flexfilelayout.c args->data = NULL; args 2159 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_prepare_layoutreturn(struct nfs4_layoutreturn_args *args) args 2162 fs/nfs/flexfilelayout/flexfilelayout.c struct nfs4_flexfile_layout *ff_layout = FF_LAYOUT_FROM_HDR(args->layout); args 2172 fs/nfs/flexfilelayout/flexfilelayout.c ff_args->num_errors = ff_layout_fetch_ds_ioerr(args->layout, args 2173 fs/nfs/flexfilelayout/flexfilelayout.c &args->range, &ff_args->errors, args 2176 fs/nfs/flexfilelayout/flexfilelayout.c spin_lock(&args->inode->i_lock); args 2179 fs/nfs/flexfilelayout/flexfilelayout.c spin_unlock(&args->inode->i_lock); args 2181 fs/nfs/flexfilelayout/flexfilelayout.c args->ld_private->ops = &layoutreturn_ops; args 2182 fs/nfs/flexfilelayout/flexfilelayout.c args->ld_private->data = ff_args; args 2387 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_encode_layoutstats(struct xdr_stream *xdr, const void *args, args 2455 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_prepare_layoutstats(struct nfs42_layoutstat_args *args) args 2461 fs/nfs/flexfilelayout/flexfilelayout.c args->devinfo = kmalloc_array(dev_count, sizeof(*args->devinfo), GFP_NOIO); args 2462 fs/nfs/flexfilelayout/flexfilelayout.c if (!args->devinfo) args 2465 fs/nfs/flexfilelayout/flexfilelayout.c spin_lock(&args->inode->i_lock); args 2466 fs/nfs/flexfilelayout/flexfilelayout.c ff_layout = FF_LAYOUT_FROM_HDR(NFS_I(args->inode)->layout); args 2467 fs/nfs/flexfilelayout/flexfilelayout.c args->num_dev = ff_layout_mirror_prepare_stats(&ff_layout->generic_hdr, args 2468 fs/nfs/flexfilelayout/flexfilelayout.c &args->devinfo[0], dev_count); args 2469 fs/nfs/flexfilelayout/flexfilelayout.c spin_unlock(&args->inode->i_lock); args 2470 fs/nfs/flexfilelayout/flexfilelayout.c if (!args->num_dev) { args 2471 fs/nfs/flexfilelayout/flexfilelayout.c kfree(args->devinfo); args 2472 fs/nfs/flexfilelayout/flexfilelayout.c args->devinfo = NULL; args 158 fs/nfs/mount_clnt.c struct rpc_create_args args = { args 180 fs/nfs/mount_clnt.c args.flags |= RPC_CLNT_CREATE_NONPRIVPORT; args 182 fs/nfs/mount_clnt.c mnt_clnt = rpc_create(&args); args 243 fs/nfs/mount_clnt.c struct rpc_create_args args = { args 266 fs/nfs/mount_clnt.c args.flags |= RPC_CLNT_CREATE_NONPRIVPORT; args 268 fs/nfs/mount_clnt.c clnt = rpc_create(&args); args 578 fs/nfs/nfs2xdr.c const struct nfs_sattrargs *args = data; args 580 fs/nfs/nfs2xdr.c encode_fhandle(xdr, args->fh); args 581 fs/nfs/nfs2xdr.c encode_sattr(xdr, args->sattr, rpc_rqst_userns(req)); args 588 fs/nfs/nfs2xdr.c const struct nfs_diropargs *args = data; args 590 fs/nfs/nfs2xdr.c encode_diropargs(xdr, args->fh, args->name, args->len); args 597 fs/nfs/nfs2xdr.c const struct nfs_readlinkargs *args = data; args 599 fs/nfs/nfs2xdr.c encode_fhandle(xdr, args->fh); args 600 fs/nfs/nfs2xdr.c rpc_prepare_reply_pages(req, args->pages, args->pgbase, args 601 fs/nfs/nfs2xdr.c args->pglen, NFS_readlinkres_sz); args 615 fs/nfs/nfs2xdr.c const struct nfs_pgio_args *args) args 617 fs/nfs/nfs2xdr.c u32 offset = args->offset; args 618 fs/nfs/nfs2xdr.c u32 count = args->count; args 621 fs/nfs/nfs2xdr.c encode_fhandle(xdr, args->fh); args 633 fs/nfs/nfs2xdr.c const struct nfs_pgio_args *args = data; args 635 fs/nfs/nfs2xdr.c encode_readargs(xdr, args); args 636 fs/nfs/nfs2xdr.c rpc_prepare_reply_pages(req, args->pages, args->pgbase, args 637 fs/nfs/nfs2xdr.c args->count, NFS_readres_sz); args 653 fs/nfs/nfs2xdr.c const struct nfs_pgio_args *args) args 655 fs/nfs/nfs2xdr.c u32 offset = args->offset; args 656 fs/nfs/nfs2xdr.c u32 count = args->count; args 659 fs/nfs/nfs2xdr.c encode_fhandle(xdr, args->fh); args 668 fs/nfs/nfs2xdr.c xdr_write_pages(xdr, args->pages, args->pgbase, count); args 675 fs/nfs/nfs2xdr.c const struct nfs_pgio_args *args = data; args 677 fs/nfs/nfs2xdr.c encode_writeargs(xdr, args); args 693 fs/nfs/nfs2xdr.c const struct nfs_createargs *args = data; args 695 fs/nfs/nfs2xdr.c encode_diropargs(xdr, args->fh, args->name, args->len); args 696 fs/nfs/nfs2xdr.c encode_sattr(xdr, args->sattr, rpc_rqst_userns(req)); args 703 fs/nfs/nfs2xdr.c const struct nfs_removeargs *args = data; args 705 fs/nfs/nfs2xdr.c encode_diropargs(xdr, args->fh, args->name.name, args->name.len); args 720 fs/nfs/nfs2xdr.c const struct nfs_renameargs *args = data; args 721 fs/nfs/nfs2xdr.c const struct qstr *old = args->old_name; args 722 fs/nfs/nfs2xdr.c const struct qstr *new = args->new_name; args 724 fs/nfs/nfs2xdr.c encode_diropargs(xdr, args->old_dir, old->name, old->len); args 725 fs/nfs/nfs2xdr.c encode_diropargs(xdr, args->new_dir, new->name, new->len); args 740 fs/nfs/nfs2xdr.c const struct nfs_linkargs *args = data; args 742 fs/nfs/nfs2xdr.c encode_fhandle(xdr, args->fromfh); args 743 fs/nfs/nfs2xdr.c encode_diropargs(xdr, args->tofh, args->toname, args->tolen); args 759 fs/nfs/nfs2xdr.c const struct nfs_symlinkargs *args = data; args 761 fs/nfs/nfs2xdr.c encode_diropargs(xdr, args->fromfh, args->fromname, args->fromlen); args 762 fs/nfs/nfs2xdr.c encode_path(xdr, args->pages, args->pathlen); args 763 fs/nfs/nfs2xdr.c encode_sattr(xdr, args->sattr, rpc_rqst_userns(req)); args 776 fs/nfs/nfs2xdr.c const struct nfs_readdirargs *args) args 780 fs/nfs/nfs2xdr.c encode_fhandle(xdr, args->fh); args 783 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(args->cookie); args 784 fs/nfs/nfs2xdr.c *p = cpu_to_be32(args->count); args 791 fs/nfs/nfs2xdr.c const struct nfs_readdirargs *args = data; args 793 fs/nfs/nfs2xdr.c encode_readdirargs(xdr, args); args 794 fs/nfs/nfs2xdr.c rpc_prepare_reply_pages(req, args->pages, 0, args 795 fs/nfs/nfs2xdr.c args->count, NFS_readdirres_sz); args 51 fs/nfs/nfs3acl.c struct nfs3_getaclargs args = { args 60 fs/nfs/nfs3acl.c .rpc_argp = &args, args 79 fs/nfs/nfs3acl.c args.mask |= NFS_ACLCNT|NFS_ACL; args 81 fs/nfs/nfs3acl.c args.mask |= NFS_DFACLCNT|NFS_DFACL; args 82 fs/nfs/nfs3acl.c if (args.mask == 0) args 91 fs/nfs/nfs3acl.c if (args.mask & NFS_ACL) args 93 fs/nfs/nfs3acl.c if (args.mask & NFS_DFACL) args 100 fs/nfs/nfs3acl.c for (count = 0; count < NFSACL_MAXPAGES && args.pages[count]; count++) args 101 fs/nfs/nfs3acl.c __free_page(args.pages[count]); args 117 fs/nfs/nfs3acl.c if ((args.mask & res.mask) != args.mask) { args 164 fs/nfs/nfs3acl.c struct nfs3_setaclargs args = { args 171 fs/nfs/nfs3acl.c .rpc_argp = &args, args 191 fs/nfs/nfs3acl.c args.mask |= NFS_DFACL; args 192 fs/nfs/nfs3acl.c args.acl_default = dfacl; args 193 fs/nfs/nfs3acl.c args.len = nfsacl_size(acl, dfacl); args 195 fs/nfs/nfs3acl.c args.len = nfsacl_size(acl, NULL); args 197 fs/nfs/nfs3acl.c if (args.len > NFS_ACL_INLINE_BUFSIZE) { args 198 fs/nfs/nfs3acl.c unsigned int npages = 1 + ((args.len - 1) >> PAGE_SHIFT); args 202 fs/nfs/nfs3acl.c args.pages[args.npages] = alloc_page(GFP_KERNEL); args 203 fs/nfs/nfs3acl.c if (args.pages[args.npages] == NULL) args 205 fs/nfs/nfs3acl.c args.npages++; args 206 fs/nfs/nfs3acl.c } while (args.npages < npages); args 237 fs/nfs/nfs3acl.c while (args.npages != 0) { args 238 fs/nfs/nfs3acl.c args.npages--; args 239 fs/nfs/nfs3acl.c __free_page(args.pages[args.npages]); args 225 fs/nfs/nfs3proc.c struct nfs3_readlinkargs args = { args 233 fs/nfs/nfs3proc.c .rpc_argp = &args, args 836 fs/nfs/nfs3proc.c hdr->args.replen = NFS_SERVER(hdr->inode)->read_hdrsize; args 838 fs/nfs/nfs3xdr.c const struct nfs3_sattrargs *args) args 842 fs/nfs/nfs3xdr.c if (args->guard) { args 845 fs/nfs/nfs3xdr.c xdr_encode_nfstime3(p, &args->guardtime); args 856 fs/nfs/nfs3xdr.c const struct nfs3_sattrargs *args = data; args 857 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fh); args 858 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, rpc_rqst_userns(req)); args 859 fs/nfs/nfs3xdr.c encode_sattrguard3(xdr, args); args 873 fs/nfs/nfs3xdr.c const struct nfs3_diropargs *args = data; args 875 fs/nfs/nfs3xdr.c encode_diropargs3(xdr, args->fh, args->name, args->len); args 887 fs/nfs/nfs3xdr.c const struct nfs3_accessargs *args) args 889 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fh); args 890 fs/nfs/nfs3xdr.c encode_uint32(xdr, args->access); args 897 fs/nfs/nfs3xdr.c const struct nfs3_accessargs *args = data; args 899 fs/nfs/nfs3xdr.c encode_access3args(xdr, args); args 913 fs/nfs/nfs3xdr.c const struct nfs3_readlinkargs *args = data; args 915 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fh); args 916 fs/nfs/nfs3xdr.c rpc_prepare_reply_pages(req, args->pages, args->pgbase, args 917 fs/nfs/nfs3xdr.c args->pglen, NFS3_readlinkres_sz); args 930 fs/nfs/nfs3xdr.c const struct nfs_pgio_args *args) args 934 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fh); args 937 fs/nfs/nfs3xdr.c p = xdr_encode_hyper(p, args->offset); args 938 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); args 945 fs/nfs/nfs3xdr.c const struct nfs_pgio_args *args = data; args 946 fs/nfs/nfs3xdr.c unsigned int replen = args->replen ? args->replen : NFS3_readres_sz; args 948 fs/nfs/nfs3xdr.c encode_read3args(xdr, args); args 949 fs/nfs/nfs3xdr.c rpc_prepare_reply_pages(req, args->pages, args->pgbase, args 950 fs/nfs/nfs3xdr.c args->count, replen); args 972 fs/nfs/nfs3xdr.c const struct nfs_pgio_args *args) args 976 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fh); args 979 fs/nfs/nfs3xdr.c p = xdr_encode_hyper(p, args->offset); args 980 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(args->count); args 981 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(args->stable); args 982 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); args 983 fs/nfs/nfs3xdr.c xdr_write_pages(xdr, args->pages, args->pgbase, args->count); args 990 fs/nfs/nfs3xdr.c const struct nfs_pgio_args *args = data; args 992 fs/nfs/nfs3xdr.c encode_write3args(xdr, args); args 1019 fs/nfs/nfs3xdr.c const struct nfs3_createargs *args, args 1022 fs/nfs/nfs3xdr.c encode_uint32(xdr, args->createmode); args 1023 fs/nfs/nfs3xdr.c switch (args->createmode) { args 1026 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, userns); args 1029 fs/nfs/nfs3xdr.c encode_createverf3(xdr, args->verifier); args 1040 fs/nfs/nfs3xdr.c const struct nfs3_createargs *args = data; args 1042 fs/nfs/nfs3xdr.c encode_diropargs3(xdr, args->fh, args->name, args->len); args 1043 fs/nfs/nfs3xdr.c encode_createhow3(xdr, args, rpc_rqst_userns(req)); args 1058 fs/nfs/nfs3xdr.c const struct nfs3_mkdirargs *args = data; args 1060 fs/nfs/nfs3xdr.c encode_diropargs3(xdr, args->fh, args->name, args->len); args 1061 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, rpc_rqst_userns(req)); args 1081 fs/nfs/nfs3xdr.c const struct nfs3_symlinkargs *args = data; args 1083 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, userns); args 1084 fs/nfs/nfs3xdr.c encode_nfspath3(xdr, args->pages, args->pathlen); args 1091 fs/nfs/nfs3xdr.c const struct nfs3_symlinkargs *args = data; args 1093 fs/nfs/nfs3xdr.c encode_diropargs3(xdr, args->fromfh, args->fromname, args->fromlen); args 1094 fs/nfs/nfs3xdr.c encode_symlinkdata3(xdr, args, rpc_rqst_userns(req)); args 1123 fs/nfs/nfs3xdr.c const struct nfs3_mknodargs *args, args 1126 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, userns); args 1127 fs/nfs/nfs3xdr.c encode_specdata3(xdr, args->rdev); args 1131 fs/nfs/nfs3xdr.c const struct nfs3_mknodargs *args, args 1134 fs/nfs/nfs3xdr.c encode_ftype3(xdr, args->type); args 1135 fs/nfs/nfs3xdr.c switch (args->type) { args 1138 fs/nfs/nfs3xdr.c encode_devicedata3(xdr, args, userns); args 1142 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, userns); args 1156 fs/nfs/nfs3xdr.c const struct nfs3_mknodargs *args = data; args 1158 fs/nfs/nfs3xdr.c encode_diropargs3(xdr, args->fh, args->name, args->len); args 1159 fs/nfs/nfs3xdr.c encode_mknoddata3(xdr, args, rpc_rqst_userns(req)); args 1173 fs/nfs/nfs3xdr.c const struct nfs_removeargs *args = data; args 1175 fs/nfs/nfs3xdr.c encode_diropargs3(xdr, args->fh, args->name.name, args->name.len); args 1190 fs/nfs/nfs3xdr.c const struct nfs_renameargs *args = data; args 1191 fs/nfs/nfs3xdr.c const struct qstr *old = args->old_name; args 1192 fs/nfs/nfs3xdr.c const struct qstr *new = args->new_name; args 1194 fs/nfs/nfs3xdr.c encode_diropargs3(xdr, args->old_dir, old->name, old->len); args 1195 fs/nfs/nfs3xdr.c encode_diropargs3(xdr, args->new_dir, new->name, new->len); args 1210 fs/nfs/nfs3xdr.c const struct nfs3_linkargs *args = data; args 1212 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fromfh); args 1213 fs/nfs/nfs3xdr.c encode_diropargs3(xdr, args->tofh, args->toname, args->tolen); args 1227 fs/nfs/nfs3xdr.c const struct nfs3_readdirargs *args) args 1231 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fh); args 1234 fs/nfs/nfs3xdr.c p = xdr_encode_cookie3(p, args->cookie); args 1235 fs/nfs/nfs3xdr.c p = xdr_encode_cookieverf3(p, args->verf); args 1236 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); args 1243 fs/nfs/nfs3xdr.c const struct nfs3_readdirargs *args = data; args 1245 fs/nfs/nfs3xdr.c encode_readdir3args(xdr, args); args 1246 fs/nfs/nfs3xdr.c rpc_prepare_reply_pages(req, args->pages, 0, args 1247 fs/nfs/nfs3xdr.c args->count, NFS3_readdirres_sz); args 1262 fs/nfs/nfs3xdr.c const struct nfs3_readdirargs *args) args 1266 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fh); args 1269 fs/nfs/nfs3xdr.c p = xdr_encode_cookie3(p, args->cookie); args 1270 fs/nfs/nfs3xdr.c p = xdr_encode_cookieverf3(p, args->verf); args 1276 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(args->count >> 3); args 1278 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); args 1285 fs/nfs/nfs3xdr.c const struct nfs3_readdirargs *args = data; args 1287 fs/nfs/nfs3xdr.c encode_readdirplus3args(xdr, args); args 1288 fs/nfs/nfs3xdr.c rpc_prepare_reply_pages(req, args->pages, 0, args 1289 fs/nfs/nfs3xdr.c args->count, NFS3_readdirres_sz); args 1302 fs/nfs/nfs3xdr.c const struct nfs_commitargs *args) args 1306 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fh); args 1309 fs/nfs/nfs3xdr.c p = xdr_encode_hyper(p, args->offset); args 1310 fs/nfs/nfs3xdr.c *p = cpu_to_be32(args->count); args 1317 fs/nfs/nfs3xdr.c const struct nfs_commitargs *args = data; args 1319 fs/nfs/nfs3xdr.c encode_commit3args(xdr, args); args 1328 fs/nfs/nfs3xdr.c const struct nfs3_getaclargs *args = data; args 1330 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, args->fh); args 1331 fs/nfs/nfs3xdr.c encode_uint32(xdr, args->mask); args 1332 fs/nfs/nfs3xdr.c if (args->mask & (NFS_ACL | NFS_DFACL)) { args 1333 fs/nfs/nfs3xdr.c rpc_prepare_reply_pages(req, args->pages, 0, args 1344 fs/nfs/nfs3xdr.c const struct nfs3_setaclargs *args = data; args 1348 fs/nfs/nfs3xdr.c encode_nfs_fh3(xdr, NFS_FH(args->inode)); args 1349 fs/nfs/nfs3xdr.c encode_uint32(xdr, args->mask); args 1352 fs/nfs/nfs3xdr.c if (args->npages != 0) args 1353 fs/nfs/nfs3xdr.c xdr_write_pages(xdr, args->pages, 0, args->len); args 1355 fs/nfs/nfs3xdr.c xdr_reserve_space(xdr, args->len); args 1357 fs/nfs/nfs3xdr.c error = nfsacl_encode(xdr->buf, base, args->inode, args 1358 fs/nfs/nfs3xdr.c (args->mask & NFS_ACL) ? args 1359 fs/nfs/nfs3xdr.c args->acl_access : NULL, 1, 0); args 1362 fs/nfs/nfs3xdr.c error = nfsacl_encode(xdr->buf, base + error, args->inode, args 1363 fs/nfs/nfs3xdr.c (args->mask & NFS_DFACL) ? args 1364 fs/nfs/nfs3xdr.c args->acl_default : NULL, 1, args 27 fs/nfs/nfs42proc.c struct nfs42_falloc_args args = { args 38 fs/nfs/nfs42proc.c msg->rpc_argp = &args; args 41 fs/nfs/nfs42proc.c status = nfs4_set_rw_stateid(&args.falloc_stateid, lock->open_context, args 51 fs/nfs/nfs42proc.c &args.seq_args, &res.seq_res, 0); args 224 fs/nfs/nfs42proc.c struct nfs42_copy_args *args, args 229 fs/nfs/nfs42proc.c .rpc_argp = args, args 234 fs/nfs/nfs42proc.c loff_t pos_src = args->src_pos; args 235 fs/nfs/nfs42proc.c loff_t pos_dst = args->dst_pos; args 236 fs/nfs/nfs42proc.c size_t count = args->count; args 239 fs/nfs/nfs42proc.c status = nfs4_set_rw_stateid(&args->src_stateid, src_lock->open_context, args 249 fs/nfs/nfs42proc.c status = nfs4_set_rw_stateid(&args->dst_stateid, dst_lock->open_context, args 259 fs/nfs/nfs42proc.c if (args->sync) { args 269 fs/nfs/nfs42proc.c &args->seq_args, &res->seq_res, 0); args 275 fs/nfs/nfs42proc.c if (args->sync && args 284 fs/nfs/nfs42proc.c &args->src_stateid); args 289 fs/nfs/nfs42proc.c if ((!res->synchronous || !args->sync) && args 301 fs/nfs/nfs42proc.c if (args->sync) args 313 fs/nfs/nfs42proc.c struct nfs42_copy_args args = { args 324 fs/nfs/nfs42proc.c .stateid = &args.src_stateid, args 328 fs/nfs/nfs42proc.c .stateid = &args.dst_stateid, args 350 fs/nfs/nfs42proc.c &args, &res); args 361 fs/nfs/nfs42proc.c } else if (err == -NFS4ERR_OFFLOAD_NO_REQS && !args.sync) { args 362 fs/nfs/nfs42proc.c args.sync = true; args 381 fs/nfs/nfs42proc.c struct nfs42_offload_status_args args; args 390 fs/nfs/nfs42proc.c &data->args.osa_seq_args, args 444 fs/nfs/nfs42proc.c data->args.osa_src_fh = NFS_FH(file_inode(dst)); args 445 fs/nfs/nfs42proc.c memcpy(&data->args.osa_stateid, stateid, args 446 fs/nfs/nfs42proc.c sizeof(data->args.osa_stateid)); args 447 fs/nfs/nfs42proc.c msg.rpc_argp = &data->args; args 450 fs/nfs/nfs42proc.c nfs4_init_sequence(&data->args.osa_seq_args, &data->res.osr_seq_res, args 466 fs/nfs/nfs42proc.c struct nfs42_seek_args args = { args 475 fs/nfs/nfs42proc.c .rpc_argp = &args, args 484 fs/nfs/nfs42proc.c status = nfs4_set_rw_stateid(&args.sa_stateid, lock->open_context, args 495 fs/nfs/nfs42proc.c &args.seq_args, &res.seq_res, 0); args 549 fs/nfs/nfs42proc.c nfs4_stateid_copy(&data->args.stateid, &lo->plh_stateid); args 551 fs/nfs/nfs42proc.c nfs4_setup_sequence(server->nfs_client, &data->args.seq_args, args 580 fs/nfs/nfs42proc.c nfs4_stateid_match(&data->args.stateid, args 599 fs/nfs/nfs42proc.c nfs4_stateid_match_other(&data->args.stateid, args 603 fs/nfs/nfs42proc.c &data->args.stateid)) args 619 fs/nfs/nfs42proc.c struct nfs42_layoutstat_devinfo *devinfo = data->args.devinfo; args 622 fs/nfs/nfs42proc.c for (i = 0; i < data->args.num_dev; i++) { args 627 fs/nfs/nfs42proc.c pnfs_put_layout_hdr(NFS_I(data->args.inode)->layout); args 629 fs/nfs/nfs42proc.c clear_bit(NFS_INO_LAYOUTSTATS, &NFS_I(data->args.inode)->flags); args 632 fs/nfs/nfs42proc.c kfree(data->args.devinfo); args 647 fs/nfs/nfs42proc.c .rpc_argp = &data->args, args 659 fs/nfs/nfs42proc.c data->inode = nfs_igrab_and_active(data->args.inode); args 664 fs/nfs/nfs42proc.c nfs4_init_sequence(&data->args.seq_args, &data->res.seq_res, 0, 0); args 680 fs/nfs/nfs42proc.c data->args.inode = data->inode = nfs_igrab_and_active(inode); args 715 fs/nfs/nfs42proc.c for (i = 0; i < data->args.num_errors; i++) args 716 fs/nfs/nfs42proc.c nfs4_stateid_copy(&data->args.errors[i].stateid, args 719 fs/nfs/nfs42proc.c nfs4_setup_sequence(server->nfs_client, &data->args.seq_args, args 747 fs/nfs/nfs42proc.c nfs4_stateid_match(&data->args.errors[0].stateid, args 765 fs/nfs/nfs42proc.c nfs4_stateid_match_other(&data->args.errors[0].stateid, args 769 fs/nfs/nfs42proc.c &data->args.errors[0].stateid)) args 819 fs/nfs/nfs42proc.c data->args.errors[i] = errors[i]; args 820 fs/nfs/nfs42proc.c data->args.num_errors++; args 823 fs/nfs/nfs42proc.c msg.rpc_argp = &data->args; args 827 fs/nfs/nfs42proc.c nfs4_init_sequence(&data->args.seq_args, &data->res.seq_res, 0, 0); args 844 fs/nfs/nfs42proc.c struct nfs42_clone_args args = { args 857 fs/nfs/nfs42proc.c msg->rpc_argp = &args; args 860 fs/nfs/nfs42proc.c status = nfs4_set_rw_stateid(&args.src_stateid, src_lock->open_context, args 865 fs/nfs/nfs42proc.c status = nfs4_set_rw_stateid(&args.dst_stateid, dst_lock->open_context, args 875 fs/nfs/nfs42proc.c &args.seq_args, &res.seq_res, 0); args 154 fs/nfs/nfs42xdr.c const struct nfs42_falloc_args *args) args 156 fs/nfs/nfs42xdr.c encode_nfs4_stateid(xdr, &args->falloc_stateid); args 157 fs/nfs/nfs42xdr.c encode_uint64(xdr, args->falloc_offset); args 158 fs/nfs/nfs42xdr.c encode_uint64(xdr, args->falloc_length); args 162 fs/nfs/nfs42xdr.c const struct nfs42_falloc_args *args, args 166 fs/nfs/nfs42xdr.c encode_fallocate(xdr, args); args 170 fs/nfs/nfs42xdr.c const struct nfs42_copy_args *args, args 174 fs/nfs/nfs42xdr.c encode_nfs4_stateid(xdr, &args->src_stateid); args 175 fs/nfs/nfs42xdr.c encode_nfs4_stateid(xdr, &args->dst_stateid); args 177 fs/nfs/nfs42xdr.c encode_uint64(xdr, args->src_pos); args 178 fs/nfs/nfs42xdr.c encode_uint64(xdr, args->dst_pos); args 179 fs/nfs/nfs42xdr.c encode_uint64(xdr, args->count); args 182 fs/nfs/nfs42xdr.c encode_uint32(xdr, args->sync); args 187 fs/nfs/nfs42xdr.c const struct nfs42_offload_status_args *args, args 191 fs/nfs/nfs42xdr.c encode_nfs4_stateid(xdr, &args->osa_stateid); args 195 fs/nfs/nfs42xdr.c const struct nfs42_falloc_args *args, args 199 fs/nfs/nfs42xdr.c encode_fallocate(xdr, args); args 203 fs/nfs/nfs42xdr.c const struct nfs42_seek_args *args, args 207 fs/nfs/nfs42xdr.c encode_nfs4_stateid(xdr, &args->sa_stateid); args 208 fs/nfs/nfs42xdr.c encode_uint64(xdr, args->sa_offset); args 209 fs/nfs/nfs42xdr.c encode_uint32(xdr, args->sa_what); args 213 fs/nfs/nfs42xdr.c const struct nfs42_layoutstat_args *args, args 223 fs/nfs/nfs42xdr.c encode_nfs4_stateid(xdr, &args->stateid); args 234 fs/nfs/nfs42xdr.c devinfo->ld_private.ops->encode(xdr, args, args 241 fs/nfs/nfs42xdr.c const struct nfs42_clone_args *args, args 247 fs/nfs/nfs42xdr.c encode_nfs4_stateid(xdr, &args->src_stateid); args 248 fs/nfs/nfs42xdr.c encode_nfs4_stateid(xdr, &args->dst_stateid); args 250 fs/nfs/nfs42xdr.c p = xdr_encode_hyper(p, args->src_offset); args 251 fs/nfs/nfs42xdr.c p = xdr_encode_hyper(p, args->dst_offset); args 252 fs/nfs/nfs42xdr.c xdr_encode_hyper(p, args->count); args 268 fs/nfs/nfs42xdr.c const struct nfs42_layout_error *args, args 275 fs/nfs/nfs42xdr.c p = xdr_encode_hyper(p, args->offset); args 276 fs/nfs/nfs42xdr.c p = xdr_encode_hyper(p, args->length); args 277 fs/nfs/nfs42xdr.c encode_nfs4_stateid(xdr, &args->stateid); args 280 fs/nfs/nfs42xdr.c encode_device_error(xdr, &args->errors[0]); args 290 fs/nfs/nfs42xdr.c const struct nfs42_falloc_args *args = data; args 292 fs/nfs/nfs42xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 296 fs/nfs/nfs42xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 297 fs/nfs/nfs42xdr.c encode_putfh(xdr, args->falloc_fh, &hdr); args 298 fs/nfs/nfs42xdr.c encode_allocate(xdr, args, &hdr); args 299 fs/nfs/nfs42xdr.c encode_getfattr(xdr, args->falloc_bitmask, &hdr); args 304 fs/nfs/nfs42xdr.c const struct nfs42_copy_args *args, args 311 fs/nfs/nfs42xdr.c p = xdr_encode_hyper(p, args->dst_pos); args 312 fs/nfs/nfs42xdr.c *p = cpu_to_be32(args->count); args 322 fs/nfs/nfs42xdr.c const struct nfs42_copy_args *args = data; args 324 fs/nfs/nfs42xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 328 fs/nfs/nfs42xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 329 fs/nfs/nfs42xdr.c encode_putfh(xdr, args->src_fh, &hdr); args 331 fs/nfs/nfs42xdr.c encode_putfh(xdr, args->dst_fh, &hdr); args 332 fs/nfs/nfs42xdr.c encode_copy(xdr, args, &hdr); args 333 fs/nfs/nfs42xdr.c if (args->sync) args 334 fs/nfs/nfs42xdr.c encode_copy_commit(xdr, args, &hdr); args 345 fs/nfs/nfs42xdr.c const struct nfs42_offload_status_args *args = data; args 347 fs/nfs/nfs42xdr.c .minorversion = nfs4_xdr_minorversion(&args->osa_seq_args), args 351 fs/nfs/nfs42xdr.c encode_sequence(xdr, &args->osa_seq_args, &hdr); args 352 fs/nfs/nfs42xdr.c encode_putfh(xdr, args->osa_src_fh, &hdr); args 353 fs/nfs/nfs42xdr.c encode_offload_cancel(xdr, args, &hdr); args 364 fs/nfs/nfs42xdr.c const struct nfs42_falloc_args *args = data; args 366 fs/nfs/nfs42xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 370 fs/nfs/nfs42xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 371 fs/nfs/nfs42xdr.c encode_putfh(xdr, args->falloc_fh, &hdr); args 372 fs/nfs/nfs42xdr.c encode_deallocate(xdr, args, &hdr); args 373 fs/nfs/nfs42xdr.c encode_getfattr(xdr, args->falloc_bitmask, &hdr); args 384 fs/nfs/nfs42xdr.c const struct nfs42_seek_args *args = data; args 386 fs/nfs/nfs42xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 390 fs/nfs/nfs42xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 391 fs/nfs/nfs42xdr.c encode_putfh(xdr, args->sa_fh, &hdr); args 392 fs/nfs/nfs42xdr.c encode_seek(xdr, args, &hdr); args 403 fs/nfs/nfs42xdr.c const struct nfs42_layoutstat_args *args = data; args 407 fs/nfs/nfs42xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 411 fs/nfs/nfs42xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 412 fs/nfs/nfs42xdr.c encode_putfh(xdr, args->fh, &hdr); args 413 fs/nfs/nfs42xdr.c WARN_ON(args->num_dev > PNFS_LAYOUTSTATS_MAXDEV); args 414 fs/nfs/nfs42xdr.c for (i = 0; i < args->num_dev; i++) args 415 fs/nfs/nfs42xdr.c encode_layoutstats(xdr, args, &args->devinfo[i], &hdr); args 426 fs/nfs/nfs42xdr.c const struct nfs42_clone_args *args = data; args 428 fs/nfs/nfs42xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 432 fs/nfs/nfs42xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 433 fs/nfs/nfs42xdr.c encode_putfh(xdr, args->src_fh, &hdr); args 435 fs/nfs/nfs42xdr.c encode_putfh(xdr, args->dst_fh, &hdr); args 436 fs/nfs/nfs42xdr.c encode_clone(xdr, args, &hdr); args 437 fs/nfs/nfs42xdr.c encode_getfattr(xdr, args->dst_bitmask, &hdr); args 448 fs/nfs/nfs42xdr.c const struct nfs42_layouterror_args *args = data; args 450 fs/nfs/nfs42xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 455 fs/nfs/nfs42xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 456 fs/nfs/nfs42xdr.c encode_putfh(xdr, NFS_FH(args->inode), &hdr); args 457 fs/nfs/nfs42xdr.c for (i = 0; i < args->num_errors; i++) args 458 fs/nfs/nfs42xdr.c encode_layouterror(xdr, &args->errors[i], &hdr); args 393 fs/nfs/nfs4_fs.h hdr->args.stable = NFS_FILE_SYNC; args 502 fs/nfs/nfs4_fs.h struct nfs4_sequence_args *args, args 684 fs/nfs/nfs4proc.c void nfs4_init_sequence(struct nfs4_sequence_args *args, args 688 fs/nfs/nfs4proc.c args->sa_slot = NULL; args 689 fs/nfs/nfs4proc.c args->sa_cache_this = cache_reply; args 690 fs/nfs/nfs4proc.c args->sa_privileged = privileged; args 999 fs/nfs/nfs4proc.c void nfs4_sequence_attach_slot(struct nfs4_sequence_args *args, args 1005 fs/nfs/nfs4proc.c slot->privileged = args->sa_privileged ? 1 : 0; args 1006 fs/nfs/nfs4proc.c args->sa_slot = slot; args 1012 fs/nfs/nfs4proc.c struct nfs4_sequence_args *args, args 1029 fs/nfs/nfs4proc.c if (nfs4_slot_tbl_draining(tbl) && !args->sa_privileged) args 1040 fs/nfs/nfs4proc.c nfs4_sequence_attach_slot(args, res, slot); args 1042 fs/nfs/nfs4proc.c trace_nfs4_setup_sequence(session, args); args 1049 fs/nfs/nfs4proc.c if (args->sa_privileged) args 1058 fs/nfs/nfs4proc.c if (args->sa_privileged) args 1103 fs/nfs/nfs4proc.c struct nfs4_sequence_args *args, args 1109 fs/nfs/nfs4proc.c .seq_args = args, args 1125 fs/nfs/nfs4proc.c struct nfs4_sequence_args *args, args 1129 fs/nfs/nfs4proc.c nfs4_init_sequence(args, res, cache_reply, 0); args 1130 fs/nfs/nfs4proc.c return nfs4_call_sync_sequence(clnt, server, msg, args, res); args 3731 fs/nfs/nfs4proc.c struct nfs4_server_caps_arg args = { args 3738 fs/nfs/nfs4proc.c .rpc_argp = &args, args 3752 fs/nfs/nfs4proc.c status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); args 3840 fs/nfs/nfs4proc.c struct nfs4_lookup_root_arg args = { args 3850 fs/nfs/nfs4proc.c .rpc_argp = &args, args 3862 fs/nfs/nfs4proc.c return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); args 4072 fs/nfs/nfs4proc.c struct nfs4_getattr_arg args = { args 4083 fs/nfs/nfs4proc.c .rpc_argp = &args, args 4090 fs/nfs/nfs4proc.c return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); args 4183 fs/nfs/nfs4proc.c struct nfs4_lookup_arg args = { args 4196 fs/nfs/nfs4proc.c .rpc_argp = &args, args 4200 fs/nfs/nfs4proc.c args.bitmask = nfs4_bitmask(server, label); args 4205 fs/nfs/nfs4proc.c status = nfs4_call_sync(clnt, server, &msg, &args.seq_args, &res.seq_res, 0); args 4298 fs/nfs/nfs4proc.c struct nfs4_lookupp_arg args = { args 4310 fs/nfs/nfs4proc.c .rpc_argp = &args, args 4314 fs/nfs/nfs4proc.c args.bitmask = nfs4_bitmask(server, label); args 4319 fs/nfs/nfs4proc.c status = nfs4_call_sync(clnt, server, &msg, &args.seq_args, args 4344 fs/nfs/nfs4proc.c struct nfs4_accessargs args = { args 4353 fs/nfs/nfs4proc.c .rpc_argp = &args, args 4363 fs/nfs/nfs4proc.c args.bitmask = server->cache_consistency_bitmask; args 4365 fs/nfs/nfs4proc.c status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); args 4415 fs/nfs/nfs4proc.c struct nfs4_readlink args = { args 4424 fs/nfs/nfs4proc.c .rpc_argp = &args, args 4428 fs/nfs/nfs4proc.c return nfs4_call_sync(NFS_SERVER(inode)->client, NFS_SERVER(inode), &msg, &args.seq_args, &res.seq_res, 0); args 4483 fs/nfs/nfs4proc.c struct nfs_removeargs args = { args 4492 fs/nfs/nfs4proc.c .rpc_argp = &args, args 4498 fs/nfs/nfs4proc.c status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 1); args 4553 fs/nfs/nfs4proc.c struct nfs_removeargs *args = msg->rpc_argp; args 4558 fs/nfs/nfs4proc.c nfs4_init_sequence(&args->seq_args, &res->seq_res, 1, 0); args 4569 fs/nfs/nfs4proc.c &data->args.seq_args, args 4611 fs/nfs/nfs4proc.c &data->args.seq_args, args 4871 fs/nfs/nfs4proc.c struct nfs4_readdir_arg args = { args 4882 fs/nfs/nfs4proc.c .rpc_argp = &args, args 4891 fs/nfs/nfs4proc.c nfs4_setup_readdir(cookie, NFS_I(dir)->cookieverf, dentry, &args); args 4892 fs/nfs/nfs4proc.c res.pgbase = args.pgbase; args 4893 fs/nfs/nfs4proc.c status = nfs4_call_sync(NFS_SERVER(dir)->client, NFS_SERVER(dir), &msg, &args.seq_args, &res.seq_res, 0); args 4896 fs/nfs/nfs4proc.c status += args.pgbase; args 4986 fs/nfs/nfs4proc.c struct nfs4_statfs_arg args = { args 4995 fs/nfs/nfs4proc.c .rpc_argp = &args, args 5000 fs/nfs/nfs4proc.c return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); args 5020 fs/nfs/nfs4proc.c struct nfs4_fsinfo_arg args = { args 5029 fs/nfs/nfs4proc.c .rpc_argp = &args, args 5033 fs/nfs/nfs4proc.c return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); args 5073 fs/nfs/nfs4proc.c struct nfs4_pathconf_arg args = { args 5082 fs/nfs/nfs4proc.c .rpc_argp = &args, args 5087 fs/nfs/nfs4proc.c if ((args.bitmask[0] & nfs4_pathconf_bitmap[0]) == 0) { args 5093 fs/nfs/nfs4proc.c return nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); args 5157 fs/nfs/nfs4proc.c .state = hdr->args.context->state, args 5158 fs/nfs/nfs4proc.c .stateid = &hdr->args.stateid, args 5174 fs/nfs/nfs4proc.c struct nfs_pgio_args *args) args 5178 fs/nfs/nfs4proc.c nfs4_stateid_is_current(&args->stateid, args 5179 fs/nfs/nfs4proc.c args->context, args 5180 fs/nfs/nfs4proc.c args->lock_context, args 5194 fs/nfs/nfs4proc.c if (nfs4_read_stateid_changed(task, &hdr->args)) args 5209 fs/nfs/nfs4proc.c nfs4_init_sequence(&hdr->args.seq_args, &hdr->res.seq_res, 0, 0); args 5216 fs/nfs/nfs4proc.c &hdr->args.seq_args, args 5220 fs/nfs/nfs4proc.c if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context, args 5221 fs/nfs/nfs4proc.c hdr->args.lock_context, args 5224 fs/nfs/nfs4proc.c if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) args 5238 fs/nfs/nfs4proc.c .state = hdr->args.context->state, args 5239 fs/nfs/nfs4proc.c .stateid = &hdr->args.stateid, args 5257 fs/nfs/nfs4proc.c struct nfs_pgio_args *args) args 5261 fs/nfs/nfs4proc.c nfs4_stateid_is_current(&args->stateid, args 5262 fs/nfs/nfs4proc.c args->context, args 5263 fs/nfs/nfs4proc.c args->lock_context, args 5274 fs/nfs/nfs4proc.c if (nfs4_write_stateid_changed(task, &hdr->args)) args 5299 fs/nfs/nfs4proc.c hdr->args.bitmask = NULL; args 5302 fs/nfs/nfs4proc.c hdr->args.bitmask = server->cache_consistency_bitmask; args 5310 fs/nfs/nfs4proc.c nfs4_init_sequence(&hdr->args.seq_args, &hdr->res.seq_res, 0, 0); args 5317 fs/nfs/nfs4proc.c &data->args.seq_args, args 5351 fs/nfs/nfs4proc.c nfs4_init_sequence(&data->args.seq_args, &data->res.seq_res, 1, 0); args 5355 fs/nfs/nfs4proc.c static int _nfs4_proc_commit(struct file *dst, struct nfs_commitargs *args, args 5362 fs/nfs/nfs4proc.c .rpc_argp = args, args 5366 fs/nfs/nfs4proc.c args->fh = NFS_FH(dst_inode); args 5368 fs/nfs/nfs4proc.c &args->seq_args, &res->seq_res, 1); args 5373 fs/nfs/nfs4proc.c struct nfs_commitargs args = { args 5382 fs/nfs/nfs4proc.c status = _nfs4_proc_commit(dst, &args, res); args 5602 fs/nfs/nfs4proc.c struct nfs_getaclargs args = { args 5612 fs/nfs/nfs4proc.c .rpc_argp = &args, args 5632 fs/nfs/nfs4proc.c args.acl_len = npages * PAGE_SIZE; args 5635 fs/nfs/nfs4proc.c __func__, buf, buflen, npages, args.acl_len); args 5637 fs/nfs/nfs4proc.c &msg, &args.seq_args, &res.seq_res, 0); args 6175 fs/nfs/nfs4proc.c struct nfs4_delegreturnargs args; args 6203 fs/nfs/nfs4proc.c trace_nfs4_delegreturn_exit(&data->args, &data->res, task->tk_status); args 6207 fs/nfs/nfs4proc.c &data->args.lr_args, args 6220 fs/nfs/nfs4proc.c data->args.stateid, args 6233 fs/nfs/nfs4proc.c if (data->args.bitmask) { args 6234 fs/nfs/nfs4proc.c data->args.bitmask = NULL; args 6280 fs/nfs/nfs4proc.c lo = d_data->args.lr_args ? d_data->args.lr_args->layout : NULL; args 6282 fs/nfs/nfs4proc.c d_data->args.lr_args = NULL; args 6287 fs/nfs/nfs4proc.c &d_data->args.seq_args, args 6318 fs/nfs/nfs4proc.c nfs4_init_sequence(&data->args.seq_args, &data->res.seq_res, 1, 0); args 6324 fs/nfs/nfs4proc.c data->args.fhandle = &data->fh; args 6325 fs/nfs/nfs4proc.c data->args.stateid = &data->stateid; args 6326 fs/nfs/nfs4proc.c data->args.bitmask = server->cache_consistency_bitmask; args 6340 fs/nfs/nfs4proc.c data->args.lr_args = &data->lr.arg; args 6349 fs/nfs/nfs4proc.c msg.rpc_argp = &data->args; args 7228 fs/nfs/nfs4proc.c struct nfs_release_lockowner_args args; args 7237 fs/nfs/nfs4proc.c nfs4_setup_sequence(server->nfs_client, &data->args.seq_args, args 7239 fs/nfs/nfs4proc.c data->args.lock_owner.clientid = server->nfs_client->cl_clientid; args 7295 fs/nfs/nfs4proc.c data->args.lock_owner.clientid = server->nfs_client->cl_clientid; args 7296 fs/nfs/nfs4proc.c data->args.lock_owner.id = lsp->ls_seqid.owner_id; args 7297 fs/nfs/nfs4proc.c data->args.lock_owner.s_dev = server->s_dev; args 7299 fs/nfs/nfs4proc.c msg.rpc_argp = &data->args; args 7301 fs/nfs/nfs4proc.c nfs4_init_sequence(&data->args.seq_args, &data->res.seq_res, 0, 0); args 7402 fs/nfs/nfs4proc.c struct nfs4_fs_locations_arg args = { args 7413 fs/nfs/nfs4proc.c .rpc_argp = &args, args 7433 fs/nfs/nfs4proc.c status = nfs4_call_sync(client, server, &msg, &args.seq_args, &res.seq_res, 0); args 7473 fs/nfs/nfs4proc.c struct nfs4_fs_locations_arg args = { args 7488 fs/nfs/nfs4proc.c .rpc_argp = &args, args 7499 fs/nfs/nfs4proc.c nfs4_init_sequence(&args.seq_args, &res.seq_res, 0, 1); args 7501 fs/nfs/nfs4proc.c &args.seq_args, &res.seq_res); args 7530 fs/nfs/nfs4proc.c struct nfs4_fs_locations_arg args = { args 7542 fs/nfs/nfs4proc.c .rpc_argp = &args, args 7552 fs/nfs/nfs4proc.c nfs4_init_sequence(&args.seq_args, &res.seq_res, 0, 1); args 7554 fs/nfs/nfs4proc.c &args.seq_args, &res.seq_res); args 7620 fs/nfs/nfs4proc.c struct nfs4_fsid_present_arg args = { args 7630 fs/nfs/nfs4proc.c .rpc_argp = &args, args 7641 fs/nfs/nfs4proc.c nfs4_init_sequence(&args.seq_args, &res.seq_res, 0, 1); args 7643 fs/nfs/nfs4proc.c &args.seq_args, &res.seq_res); args 7665 fs/nfs/nfs4proc.c struct nfs4_fsid_present_arg args = { args 7672 fs/nfs/nfs4proc.c .rpc_argp = &args, args 7682 fs/nfs/nfs4proc.c nfs4_init_sequence(&args.seq_args, &res.seq_res, 0, 1); args 7684 fs/nfs/nfs4proc.c &args.seq_args, &res.seq_res); args 7746 fs/nfs/nfs4proc.c struct nfs4_secinfo_arg args = { args 7755 fs/nfs/nfs4proc.c .rpc_argp = &args, args 7760 fs/nfs/nfs4proc.c .seq_args = &args.seq_args, args 7783 fs/nfs/nfs4proc.c nfs4_init_sequence(&args.seq_args, &res.seq_res, 0, 0); args 7854 fs/nfs/nfs4proc.c struct nfs41_bind_conn_to_session_args *args = task->tk_msg.rpc_argp; args 7856 fs/nfs/nfs4proc.c struct nfs_client *clp = args->client; args 7864 fs/nfs/nfs4proc.c if (args->dir == NFS4_CDFC4_FORE_OR_BOTH && args 7867 fs/nfs/nfs4proc.c if (args->retries++ < MAX_BIND_CONN_TO_SESSION_RETRIES) args 7889 fs/nfs/nfs4proc.c struct nfs41_bind_conn_to_session_args args = { args 7898 fs/nfs/nfs4proc.c .rpc_argp = &args, args 7911 fs/nfs/nfs4proc.c nfs4_copy_sessionid(&args.sessionid, &clp->cl_session->sess_id); args 7913 fs/nfs/nfs4proc.c args.dir = NFS4_CDFC4_FORE; args 7917 fs/nfs/nfs4proc.c args.dir = NFS4_CDFC4_FORE; args 7932 fs/nfs/nfs4proc.c if ((res.dir & args.dir) != res.dir || res.dir == 0) { args 7937 fs/nfs/nfs4proc.c if (res.use_conn_in_rdma_mode != args.use_conn_in_rdma_mode) { args 8103 fs/nfs/nfs4proc.c struct nfs41_exchange_id_args args; args 8111 fs/nfs/nfs4proc.c nfs_put_client(cdata->args.client); args 8152 fs/nfs/nfs4proc.c nfs4_init_boot_verifier(clp, &calldata->args.verifier); args 8175 fs/nfs/nfs4proc.c calldata->args.state_protect.how = SP4_NONE; args 8179 fs/nfs/nfs4proc.c calldata->args.state_protect = nfs4_sp4_mach_cred_request; args 8191 fs/nfs/nfs4proc.c memcpy(calldata->args.verifier.data, clp->cl_confirm.data, args 8192 fs/nfs/nfs4proc.c sizeof(calldata->args.verifier.data)); args 8194 fs/nfs/nfs4proc.c calldata->args.client = clp; args 8195 fs/nfs/nfs4proc.c calldata->args.flags = EXCHGID4_FLAG_SUPP_MOVED_REFER | args 8198 fs/nfs/nfs4proc.c calldata->args.flags |= EXCHGID4_FLAG_SUPP_MOVED_MIGR; args 8200 fs/nfs/nfs4proc.c msg.rpc_argp = &calldata->args; args 8422 fs/nfs/nfs4proc.c struct nfs4_get_lease_time_args *args; args 8437 fs/nfs/nfs4proc.c &data->args->la_seq_args, args 8476 fs/nfs/nfs4proc.c struct nfs4_get_lease_time_args args; args 8481 fs/nfs/nfs4proc.c .args = &args, args 8487 fs/nfs/nfs4proc.c .rpc_argp = &args, args 8498 fs/nfs/nfs4proc.c nfs4_init_sequence(&args.la_seq_args, &res.lr_seq_res, 0, 1); args 8513 fs/nfs/nfs4proc.c static void nfs4_init_channel_attrs(struct nfs41_create_session_args *args, args 8524 fs/nfs/nfs4proc.c args->fc_attrs.max_rqst_sz = max_rqst_sz; args 8525 fs/nfs/nfs4proc.c args->fc_attrs.max_resp_sz = max_resp_sz; args 8526 fs/nfs/nfs4proc.c args->fc_attrs.max_ops = NFS4_MAX_OPS; args 8527 fs/nfs/nfs4proc.c args->fc_attrs.max_reqs = max_session_slots; args 8532 fs/nfs/nfs4proc.c args->fc_attrs.max_rqst_sz, args->fc_attrs.max_resp_sz, args 8533 fs/nfs/nfs4proc.c args->fc_attrs.max_ops, args->fc_attrs.max_reqs); args 8536 fs/nfs/nfs4proc.c args->bc_attrs.max_rqst_sz = max_bc_payload; args 8537 fs/nfs/nfs4proc.c args->bc_attrs.max_resp_sz = max_bc_payload; args 8538 fs/nfs/nfs4proc.c args->bc_attrs.max_resp_sz_cached = 0; args 8539 fs/nfs/nfs4proc.c args->bc_attrs.max_ops = NFS4_MAX_BACK_CHANNEL_OPS; args 8540 fs/nfs/nfs4proc.c args->bc_attrs.max_reqs = max_t(unsigned short, max_session_cb_slots, 1); args 8541 fs/nfs/nfs4proc.c if (args->bc_attrs.max_reqs > max_bc_slots) args 8542 fs/nfs/nfs4proc.c args->bc_attrs.max_reqs = max_bc_slots; args 8547 fs/nfs/nfs4proc.c args->bc_attrs.max_rqst_sz, args->bc_attrs.max_resp_sz, args 8548 fs/nfs/nfs4proc.c args->bc_attrs.max_resp_sz_cached, args->bc_attrs.max_ops, args 8549 fs/nfs/nfs4proc.c args->bc_attrs.max_reqs); args 8552 fs/nfs/nfs4proc.c static int nfs4_verify_fore_channel_attrs(struct nfs41_create_session_args *args, args 8555 fs/nfs/nfs4proc.c struct nfs4_channel_attrs *sent = &args->fc_attrs; args 8575 fs/nfs/nfs4proc.c static int nfs4_verify_back_channel_attrs(struct nfs41_create_session_args *args, args 8578 fs/nfs/nfs4proc.c struct nfs4_channel_attrs *sent = &args->bc_attrs; args 8597 fs/nfs/nfs4proc.c static int nfs4_verify_channel_attrs(struct nfs41_create_session_args *args, args 8602 fs/nfs/nfs4proc.c ret = nfs4_verify_fore_channel_attrs(args, res); args 8605 fs/nfs/nfs4proc.c return nfs4_verify_back_channel_attrs(args, res); args 8626 fs/nfs/nfs4proc.c struct nfs41_create_session_args args = { args 8636 fs/nfs/nfs4proc.c .rpc_argp = &args, args 8642 fs/nfs/nfs4proc.c nfs4_init_channel_attrs(&args, clp->cl_rpcclient); args 8643 fs/nfs/nfs4proc.c args.flags = (SESSION4_PERSIST | SESSION4_BACK_CHAN); args 8661 fs/nfs/nfs4proc.c status = nfs4_verify_channel_attrs(&args, &res); args 8739 fs/nfs/nfs4proc.c struct nfs4_sequence_args args; args 8794 fs/nfs/nfs4proc.c struct nfs4_sequence_args *args; args 8797 fs/nfs/nfs4proc.c args = task->tk_msg.rpc_argp; args 8800 fs/nfs/nfs4proc.c nfs4_setup_sequence(clp, args, res, task); args 8835 fs/nfs/nfs4proc.c nfs4_init_sequence(&calldata->args, &calldata->res, 0, is_privileged); args 8836 fs/nfs/nfs4proc.c nfs4_sequence_attach_slot(&calldata->args, &calldata->res, slot); args 8837 fs/nfs/nfs4proc.c msg.rpc_argp = &calldata->args; args 8999 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(lgp->args.inode); args 9002 fs/nfs/nfs4proc.c nfs4_setup_sequence(server->nfs_client, &lgp->args.seq_args, args 9020 fs/nfs/nfs4proc.c struct inode *inode = lgp->args.inode; args 9059 fs/nfs/nfs4proc.c if (lgp->args.minlength == 0) { args 9077 fs/nfs/nfs4proc.c !nfs4_stateid_match_other(&lgp->args.stateid, &lo->plh_stateid)) { args 9079 fs/nfs/nfs4proc.c exception->state = lgp->args.ctx->state; args 9080 fs/nfs/nfs4proc.c exception->stateid = &lgp->args.stateid; args 9132 fs/nfs/nfs4proc.c struct inode *inode = lgp->args.inode; args 9137 fs/nfs/nfs4proc.c .rpc_argp = &lgp->args, args 9160 fs/nfs/nfs4proc.c nfs4_init_sequence(&lgp->args.seq_args, &lgp->res.seq_res, 0, 0); args 9178 fs/nfs/nfs4proc.c trace_nfs4_layoutget(lgp->args.ctx, args 9179 fs/nfs/nfs4proc.c &lgp->args.range, args 9198 fs/nfs/nfs4proc.c &lrp->args.seq_args, args 9201 fs/nfs/nfs4proc.c if (!pnfs_layout_is_valid(lrp->args.layout)) args 9224 fs/nfs/nfs4proc.c server = NFS_SERVER(lrp->args.inode); args 9227 fs/nfs/nfs4proc.c if (nfs4_layout_refresh_old_stateid(&lrp->args.stateid, args 9228 fs/nfs/nfs4proc.c &lrp->args.range, args 9229 fs/nfs/nfs4proc.c lrp->args.inode)) args 9253 fs/nfs/nfs4proc.c struct pnfs_layout_hdr *lo = lrp->args.layout; args 9256 fs/nfs/nfs4proc.c pnfs_layoutreturn_free_lsegs(lo, &lrp->args.stateid, &lrp->args.range, args 9261 fs/nfs/nfs4proc.c pnfs_put_layout_hdr(lrp->args.layout); args 9278 fs/nfs/nfs4proc.c .rpc_argp = &lrp->args, args 9283 fs/nfs/nfs4proc.c .rpc_client = NFS_SERVER(lrp->args.inode)->client, args 9290 fs/nfs/nfs4proc.c nfs4_state_protect(NFS_SERVER(lrp->args.inode)->nfs_client, args 9296 fs/nfs/nfs4proc.c lrp->inode = nfs_igrab_and_active(lrp->args.inode); args 9303 fs/nfs/nfs4proc.c nfs4_init_sequence(&lrp->args.seq_args, &lrp->res.seq_res, 1, 0); args 9309 fs/nfs/nfs4proc.c trace_nfs4_layoutreturn(lrp->args.inode, &lrp->args.stateid, status); args 9320 fs/nfs/nfs4proc.c struct nfs4_getdeviceinfo_args args = { args 9330 fs/nfs/nfs4proc.c .rpc_argp = &args, args 9337 fs/nfs/nfs4proc.c status = nfs4_call_sync(server->client, server, &msg, &args.seq_args, &res.seq_res, 0); args 9338 fs/nfs/nfs4proc.c if (res.notification & ~args.notify_types) args 9340 fs/nfs/nfs4proc.c if (res.notification != args.notify_types) args 9367 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(data->args.inode); args 9370 fs/nfs/nfs4proc.c &data->args.seq_args, args 9379 fs/nfs/nfs4proc.c struct nfs_server *server = NFS_SERVER(data->args.inode); args 9405 fs/nfs/nfs4proc.c nfs_post_op_update_inode_force_wcc(data->args.inode, args 9423 fs/nfs/nfs4proc.c .rpc_argp = &data->args, args 9429 fs/nfs/nfs4proc.c .rpc_client = NFS_CLIENT(data->args.inode), args 9439 fs/nfs/nfs4proc.c data->args.lastbytewritten, args 9440 fs/nfs/nfs4proc.c data->args.inode->i_ino); args 9443 fs/nfs/nfs4proc.c data->inode = nfs_igrab_and_active(data->args.inode); args 9450 fs/nfs/nfs4proc.c nfs4_init_sequence(&data->args.seq_args, &data->res.seq_res, 1, 0); args 9456 fs/nfs/nfs4proc.c trace_nfs4_layoutcommit(data->args.inode, &data->args.stateid, status); args 9471 fs/nfs/nfs4proc.c struct nfs41_secinfo_no_name_args args = { args 9479 fs/nfs/nfs4proc.c .rpc_argp = &args, args 9485 fs/nfs/nfs4proc.c .seq_args = &args.seq_args, args 9507 fs/nfs/nfs4proc.c nfs4_init_sequence(&args.seq_args, &res.seq_res, 0, 0); args 9629 fs/nfs/nfs4proc.c struct nfs41_test_stateid_args args = { args 9635 fs/nfs/nfs4proc.c .rpc_argp = &args, args 9645 fs/nfs/nfs4proc.c nfs4_init_sequence(&args.seq_args, &res.seq_res, 0, 1); args 9647 fs/nfs/nfs4proc.c &args.seq_args, &res.seq_res); args 9702 fs/nfs/nfs4proc.c struct nfs41_free_stateid_args args; args 9710 fs/nfs/nfs4proc.c &data->args.seq_args, args 9775 fs/nfs/nfs4proc.c nfs4_stateid_copy(&data->args.stateid, stateid); args 9779 fs/nfs/nfs4proc.c msg.rpc_argp = &data->args; args 9781 fs/nfs/nfs4proc.c nfs4_init_sequence(&data->args.seq_args, &data->res.seq_res, 1, privileged); args 359 fs/nfs/nfs4session.c struct nfs4_sequence_args *args = task->tk_msg.rpc_argp; args 364 fs/nfs/nfs4session.c if (nfs4_slot_tbl_draining(tbl) && !args->sa_privileged) args 367 fs/nfs/nfs4session.c args->sa_slot = slot; args 459 fs/nfs/nfs4trace.h const struct cb_sequenceargs *args, args 463 fs/nfs/nfs4trace.h TP_ARGS(args, res, status), args 475 fs/nfs/nfs4trace.h __entry->session = nfs_session_id_hash(&args->csa_sessionid); args 476 fs/nfs/nfs4trace.h __entry->slot_nr = args->csa_slotid; args 477 fs/nfs/nfs4trace.h __entry->seq_nr = args->csa_sequenceid; args 478 fs/nfs/nfs4trace.h __entry->highest_slotid = args->csa_highestslotid; args 479 fs/nfs/nfs4trace.h __entry->cachethis = args->csa_cachethis; args 497 fs/nfs/nfs4trace.h const struct cb_sequenceargs *args, args 500 fs/nfs/nfs4trace.h TP_ARGS(args, status), args 512 fs/nfs/nfs4trace.h __entry->session = nfs_session_id_hash(&args->csa_sessionid); args 513 fs/nfs/nfs4trace.h __entry->slot_nr = args->csa_slotid; args 514 fs/nfs/nfs4trace.h __entry->seq_nr = args->csa_sequenceid; args 515 fs/nfs/nfs4trace.h __entry->highest_slotid = args->csa_highestslotid; args 516 fs/nfs/nfs4trace.h __entry->cachethis = args->csa_cachethis; args 537 fs/nfs/nfs4trace.h const struct nfs4_sequence_args *args args 539 fs/nfs/nfs4trace.h TP_ARGS(session, args), args 549 fs/nfs/nfs4trace.h const struct nfs4_slot *sa_slot = args->sa_slot; args 736 fs/nfs/nfs4trace.h const struct nfs_closeargs *args, args 741 fs/nfs/nfs4trace.h TP_ARGS(state, args, res, error), args 762 fs/nfs/nfs4trace.h be32_to_cpu(args->stateid.seqid); args 764 fs/nfs/nfs4trace.h nfs_stateid_hash(&args->stateid); args 975 fs/nfs/nfs4trace.h const struct nfs4_delegreturnargs *args, args 980 fs/nfs/nfs4trace.h TP_ARGS(args, res, error), args 992 fs/nfs/nfs4trace.h __entry->fhandle = nfs_fhandle_hash(args->fhandle); args 995 fs/nfs/nfs4trace.h be32_to_cpu(args->stateid->seqid); args 997 fs/nfs/nfs4trace.h nfs_stateid_hash(args->stateid); args 1532 fs/nfs/nfs4trace.h hdr->args.context->state; args 1536 fs/nfs/nfs4trace.h __entry->offset = hdr->args.offset; args 1537 fs/nfs/nfs4trace.h __entry->count = hdr->args.count; args 1592 fs/nfs/nfs4trace.h hdr->args.context->state; args 1596 fs/nfs/nfs4trace.h __entry->offset = hdr->args.offset; args 1597 fs/nfs/nfs4trace.h __entry->count = hdr->args.count; args 1653 fs/nfs/nfs4trace.h __entry->offset = data->args.offset; args 1654 fs/nfs/nfs4trace.h __entry->count = data->args.count; args 1694 fs/nfs/nfs4trace.h const struct pnfs_layout_range *args, args 1700 fs/nfs/nfs4trace.h TP_ARGS(ctx, args, res, layout_stateid, error), args 1722 fs/nfs/nfs4trace.h __entry->iomode = args->iomode; args 1723 fs/nfs/nfs4trace.h __entry->offset = args->offset; args 1724 fs/nfs/nfs4trace.h __entry->count = args->length; args 72 fs/nfs/nfs4xdr.c const struct nfs4_layoutget_args *args, args 1204 fs/nfs/nfs4xdr.c static void encode_commit(struct xdr_stream *xdr, const struct nfs_commitargs *args, struct compound_hdr *hdr) args 1210 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->offset); args 1211 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->count); args 1327 fs/nfs/nfs4xdr.c static void encode_lock(struct xdr_stream *xdr, const struct nfs_lock_args *args, struct compound_hdr *hdr) args 1333 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(nfs4_lock_type(args->fl, args->block)); args 1334 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->reclaim); args 1335 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->fl->fl_start); args 1336 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, nfs4_lock_length(args->fl)); args 1337 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->new_lock_owner); args 1338 fs/nfs/nfs4xdr.c if (args->new_lock_owner){ args 1339 fs/nfs/nfs4xdr.c encode_nfs4_seqid(xdr, args->open_seqid); args 1340 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, &args->open_stateid); args 1341 fs/nfs/nfs4xdr.c encode_nfs4_seqid(xdr, args->lock_seqid); args 1342 fs/nfs/nfs4xdr.c encode_lockowner(xdr, &args->lock_owner); args 1345 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, &args->lock_stateid); args 1346 fs/nfs/nfs4xdr.c encode_nfs4_seqid(xdr, args->lock_seqid); args 1350 fs/nfs/nfs4xdr.c static void encode_lockt(struct xdr_stream *xdr, const struct nfs_lockt_args *args, struct compound_hdr *hdr) args 1356 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(nfs4_lock_type(args->fl, 0)); args 1357 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->fl->fl_start); args 1358 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, nfs4_lock_length(args->fl)); args 1359 fs/nfs/nfs4xdr.c encode_lockowner(xdr, &args->lock_owner); args 1362 fs/nfs/nfs4xdr.c static void encode_locku(struct xdr_stream *xdr, const struct nfs_locku_args *args, struct compound_hdr *hdr) args 1367 fs/nfs/nfs4xdr.c encode_uint32(xdr, nfs4_lock_type(args->fl, 0)); args 1368 fs/nfs/nfs4xdr.c encode_nfs4_seqid(xdr, args->seqid); args 1369 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, &args->stateid); args 1371 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->fl->fl_start); args 1372 fs/nfs/nfs4xdr.c xdr_encode_hyper(p, nfs4_lock_length(args->fl)); args 1580 fs/nfs/nfs4xdr.c static void encode_read(struct xdr_stream *xdr, const struct nfs_pgio_args *args, args 1586 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, &args->stateid); args 1589 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->offset); args 1590 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->count); args 1729 fs/nfs/nfs4xdr.c static void encode_write(struct xdr_stream *xdr, const struct nfs_pgio_args *args, args 1735 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, &args->stateid); args 1738 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->offset); args 1739 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->stable); args 1740 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->count); args 1742 fs/nfs/nfs4xdr.c xdr_write_pages(xdr, args->pages, args->pgbase, args->count); args 1760 fs/nfs/nfs4xdr.c const struct nfs41_bind_conn_to_session_args *args, args 1767 fs/nfs/nfs4xdr.c encode_opaque_fixed(xdr, args->sessionid.data, NFS4_MAX_SESSIONID_LEN); args 1769 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->dir); args 1770 fs/nfs/nfs4xdr.c *p = (args->use_conn_in_rdma_mode) ? cpu_to_be32(1) : cpu_to_be32(0); args 1782 fs/nfs/nfs4xdr.c const struct nfs41_exchange_id_args *args, args 1790 fs/nfs/nfs4xdr.c encode_nfs4_verifier(xdr, &args->verifier); args 1792 fs/nfs/nfs4xdr.c encode_string(xdr, strlen(args->client->cl_owner_id), args 1793 fs/nfs/nfs4xdr.c args->client->cl_owner_id); args 1795 fs/nfs/nfs4xdr.c encode_uint32(xdr, args->flags); args 1796 fs/nfs/nfs4xdr.c encode_uint32(xdr, args->state_protect.how); args 1798 fs/nfs/nfs4xdr.c switch (args->state_protect.how) { args 1802 fs/nfs/nfs4xdr.c encode_op_map(xdr, &args->state_protect.enforce); args 1803 fs/nfs/nfs4xdr.c encode_op_map(xdr, &args->state_protect.allow); args 1834 fs/nfs/nfs4xdr.c const struct nfs41_create_session_args *args, args 1838 fs/nfs/nfs4xdr.c struct nfs_client *clp = args->client; args 1852 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->clientid); args 1853 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->seqid); /*Sequence id */ args 1854 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->flags); /*flags */ args 1858 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->fc_attrs.max_rqst_sz); /* max req size */ args 1859 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->fc_attrs.max_resp_sz); /* max resp size */ args 1861 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->fc_attrs.max_ops); /* max operations */ args 1862 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->fc_attrs.max_reqs); /* max requests */ args 1867 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_rqst_sz); /* max req size */ args 1868 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_resp_sz); /* max resp size */ args 1869 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_resp_sz_cached); /* Max resp sz cached */ args 1870 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_ops); /* max operations */ args 1871 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->bc_attrs.max_reqs); /* max requests */ args 1874 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->cb_program); /* cb_program */ args 1903 fs/nfs/nfs4xdr.c const struct nfs41_reclaim_complete_args *args, args 1907 fs/nfs/nfs4xdr.c encode_uint32(xdr, args->one_fs); args 1912 fs/nfs/nfs4xdr.c const struct nfs4_sequence_args *args, args 1918 fs/nfs/nfs4xdr.c struct nfs4_slot *slot = args->sa_slot; args 1939 fs/nfs/nfs4xdr.c tp->highest_used_slotid, args->sa_cache_this); args 1945 fs/nfs/nfs4xdr.c *p = cpu_to_be32(args->sa_cache_this); args 1952 fs/nfs/nfs4xdr.c const struct nfs4_getdeviceinfo_args *args, args 1959 fs/nfs/nfs4xdr.c p = xdr_encode_opaque_fixed(p, args->pdev->dev_id.data, args 1961 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->pdev->layout_type); args 1962 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->pdev->maxcount); /* gdia_maxcount */ args 1966 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->notify_types); args 1971 fs/nfs/nfs4xdr.c const struct nfs4_layoutget_args *args, args 1979 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->type); args 1980 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->range.iomode); args 1981 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->range.offset); args 1982 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->range.length); args 1983 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->minlength); args 1984 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, &args->stateid); args 1985 fs/nfs/nfs4xdr.c encode_uint32(xdr, args->maxcount); args 1989 fs/nfs/nfs4xdr.c args->type, args 1990 fs/nfs/nfs4xdr.c args->range.iomode, args 1991 fs/nfs/nfs4xdr.c (unsigned long)args->range.offset, args 1992 fs/nfs/nfs4xdr.c (unsigned long)args->range.length, args 1993 fs/nfs/nfs4xdr.c args->maxcount); args 1999 fs/nfs/nfs4xdr.c const struct nfs4_layoutcommit_args *args, args 2004 fs/nfs/nfs4xdr.c dprintk("%s: lbw: %llu type: %d\n", __func__, args->lastbytewritten, args 2005 fs/nfs/nfs4xdr.c NFS_SERVER(args->inode)->pnfs_curr_ld->id); args 2011 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->lastbytewritten + 1); /* length */ args 2013 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, &args->stateid); args 2014 fs/nfs/nfs4xdr.c if (args->lastbytewritten != U64_MAX) { args 2017 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->lastbytewritten); args 2023 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(NFS_SERVER(args->inode)->pnfs_curr_ld->id);/* type */ args 2025 fs/nfs/nfs4xdr.c encode_uint32(xdr, args->layoutupdate_len); args 2026 fs/nfs/nfs4xdr.c if (args->layoutupdate_pages) args 2027 fs/nfs/nfs4xdr.c xdr_write_pages(xdr, args->layoutupdate_pages, 0, args 2028 fs/nfs/nfs4xdr.c args->layoutupdate_len); args 2035 fs/nfs/nfs4xdr.c const struct nfs4_layoutreturn_args *args, args 2043 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->layout_type); args 2044 fs/nfs/nfs4xdr.c *p++ = cpu_to_be32(args->range.iomode); args 2047 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->range.offset); args 2048 fs/nfs/nfs4xdr.c p = xdr_encode_hyper(p, args->range.length); args 2049 fs/nfs/nfs4xdr.c spin_lock(&args->inode->i_lock); args 2050 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, &args->stateid); args 2051 fs/nfs/nfs4xdr.c spin_unlock(&args->inode->i_lock); args 2052 fs/nfs/nfs4xdr.c if (args->ld_private->ops && args->ld_private->ops->encode) args 2053 fs/nfs/nfs4xdr.c args->ld_private->ops->encode(xdr, args, args->ld_private); args 2060 fs/nfs/nfs4xdr.c const struct nfs41_secinfo_no_name_args *args, args 2064 fs/nfs/nfs4xdr.c encode_uint32(xdr, args->style); args 2069 fs/nfs/nfs4xdr.c const struct nfs41_test_stateid_args *args, args 2074 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, args->stateid); args 2078 fs/nfs/nfs4xdr.c const struct nfs41_free_stateid_args *args, args 2082 fs/nfs/nfs4xdr.c encode_nfs4_stateid(xdr, &args->stateid); args 2087 fs/nfs/nfs4xdr.c const struct nfs4_layoutreturn_args *args, args 2094 fs/nfs/nfs4xdr.c const struct nfs4_layoutget_args *args, args 2104 fs/nfs/nfs4xdr.c static u32 nfs4_xdr_minorversion(const struct nfs4_sequence_args *args) args 2107 fs/nfs/nfs4xdr.c struct nfs4_session *session = args->sa_slot->table->session; args 2120 fs/nfs/nfs4xdr.c const struct nfs4_accessargs *args = data; args 2122 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2126 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2127 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2128 fs/nfs/nfs4xdr.c encode_access(xdr, args->access, &hdr); args 2129 fs/nfs/nfs4xdr.c if (args->bitmask) args 2130 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2140 fs/nfs/nfs4xdr.c const struct nfs4_lookup_arg *args = data; args 2142 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2146 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2147 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->dir_fh, &hdr); args 2148 fs/nfs/nfs4xdr.c encode_lookup(xdr, args->name, &hdr); args 2150 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2160 fs/nfs/nfs4xdr.c const struct nfs4_lookupp_arg *args = data; args 2162 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2166 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2167 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2170 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2181 fs/nfs/nfs4xdr.c const struct nfs4_lookup_root_arg *args = data; args 2183 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2187 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2190 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2200 fs/nfs/nfs4xdr.c const struct nfs_removeargs *args = data; args 2202 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2206 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2207 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2208 fs/nfs/nfs4xdr.c encode_remove(xdr, &args->name, &hdr); args 2218 fs/nfs/nfs4xdr.c const struct nfs_renameargs *args = data; args 2220 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2224 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2225 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->old_dir, &hdr); args 2227 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->new_dir, &hdr); args 2228 fs/nfs/nfs4xdr.c encode_rename(xdr, args->old_name, args->new_name, &hdr); args 2238 fs/nfs/nfs4xdr.c const struct nfs4_link_arg *args = data; args 2240 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2244 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2245 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2247 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->dir_fh, &hdr); args 2248 fs/nfs/nfs4xdr.c encode_link(xdr, args->name, &hdr); args 2250 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2260 fs/nfs/nfs4xdr.c const struct nfs4_create_arg *args = data; args 2262 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2266 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2267 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->dir_fh, &hdr); args 2268 fs/nfs/nfs4xdr.c encode_create(xdr, args, &hdr); args 2270 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2280 fs/nfs/nfs4xdr.c const struct nfs4_create_arg *args = data; args 2282 fs/nfs/nfs4xdr.c nfs4_xdr_enc_create(req, xdr, args); args 2291 fs/nfs/nfs4xdr.c const struct nfs4_getattr_arg *args = data; args 2293 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2297 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2298 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2299 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2309 fs/nfs/nfs4xdr.c const struct nfs_closeargs *args = data; args 2311 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2315 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2316 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2317 fs/nfs/nfs4xdr.c if (args->lr_args) args 2318 fs/nfs/nfs4xdr.c encode_layoutreturn(xdr, args->lr_args, &hdr); args 2319 fs/nfs/nfs4xdr.c if (args->bitmask != NULL) args 2320 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2321 fs/nfs/nfs4xdr.c encode_close(xdr, args, &hdr); args 2331 fs/nfs/nfs4xdr.c const struct nfs_openargs *args = data; args 2333 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2337 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2338 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2339 fs/nfs/nfs4xdr.c encode_open(xdr, args, &hdr); args 2341 fs/nfs/nfs4xdr.c if (args->access) args 2342 fs/nfs/nfs4xdr.c encode_access(xdr, args->access, &hdr); args 2343 fs/nfs/nfs4xdr.c encode_getfattr_open(xdr, args->bitmask, args->open_bitmap, &hdr); args 2344 fs/nfs/nfs4xdr.c if (args->lg_args) { args 2345 fs/nfs/nfs4xdr.c encode_layoutget(xdr, args->lg_args, &hdr); args 2346 fs/nfs/nfs4xdr.c rpc_prepare_reply_pages(req, args->lg_args->layout.pages, 0, args 2347 fs/nfs/nfs4xdr.c args->lg_args->layout.pglen, args 2360 fs/nfs/nfs4xdr.c const struct nfs_open_confirmargs *args = data; args 2366 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2367 fs/nfs/nfs4xdr.c encode_open_confirm(xdr, args, &hdr); args 2378 fs/nfs/nfs4xdr.c const struct nfs_openargs *args = data; args 2380 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2384 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2385 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2386 fs/nfs/nfs4xdr.c encode_open(xdr, args, &hdr); args 2387 fs/nfs/nfs4xdr.c if (args->access) args 2388 fs/nfs/nfs4xdr.c encode_access(xdr, args->access, &hdr); args 2389 fs/nfs/nfs4xdr.c encode_getfattr_open(xdr, args->bitmask, args->open_bitmap, &hdr); args 2390 fs/nfs/nfs4xdr.c if (args->lg_args) { args 2391 fs/nfs/nfs4xdr.c encode_layoutget(xdr, args->lg_args, &hdr); args 2392 fs/nfs/nfs4xdr.c rpc_prepare_reply_pages(req, args->lg_args->layout.pages, 0, args 2393 fs/nfs/nfs4xdr.c args->lg_args->layout.pglen, args 2406 fs/nfs/nfs4xdr.c const struct nfs_closeargs *args = data; args 2408 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2412 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2413 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2414 fs/nfs/nfs4xdr.c if (args->lr_args) args 2415 fs/nfs/nfs4xdr.c encode_layoutreturn(xdr, args->lr_args, &hdr); args 2416 fs/nfs/nfs4xdr.c encode_open_downgrade(xdr, args, &hdr); args 2426 fs/nfs/nfs4xdr.c const struct nfs_lock_args *args = data; args 2428 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2432 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2433 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2434 fs/nfs/nfs4xdr.c encode_lock(xdr, args, &hdr); args 2444 fs/nfs/nfs4xdr.c const struct nfs_lockt_args *args = data; args 2446 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2450 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2451 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2452 fs/nfs/nfs4xdr.c encode_lockt(xdr, args, &hdr); args 2462 fs/nfs/nfs4xdr.c const struct nfs_locku_args *args = data; args 2464 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2468 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2469 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2470 fs/nfs/nfs4xdr.c encode_locku(xdr, args, &hdr); args 2478 fs/nfs/nfs4xdr.c const struct nfs_release_lockowner_args *args = data; args 2484 fs/nfs/nfs4xdr.c encode_release_lockowner(xdr, &args->lock_owner, &hdr); args 2494 fs/nfs/nfs4xdr.c const struct nfs4_readlink *args = data; args 2496 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2500 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2501 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2502 fs/nfs/nfs4xdr.c encode_readlink(xdr, args, req, &hdr); args 2504 fs/nfs/nfs4xdr.c rpc_prepare_reply_pages(req, args->pages, args->pgbase, args 2505 fs/nfs/nfs4xdr.c args->pglen, hdr.replen); args 2515 fs/nfs/nfs4xdr.c const struct nfs4_readdir_arg *args = data; args 2517 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2521 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2522 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2523 fs/nfs/nfs4xdr.c encode_readdir(xdr, args, req, &hdr); args 2525 fs/nfs/nfs4xdr.c rpc_prepare_reply_pages(req, args->pages, args->pgbase, args 2526 fs/nfs/nfs4xdr.c args->count, hdr.replen); args 2536 fs/nfs/nfs4xdr.c const struct nfs_pgio_args *args = data; args 2538 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2542 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2543 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2544 fs/nfs/nfs4xdr.c encode_read(xdr, args, &hdr); args 2546 fs/nfs/nfs4xdr.c rpc_prepare_reply_pages(req, args->pages, args->pgbase, args 2547 fs/nfs/nfs4xdr.c args->count, hdr.replen); args 2558 fs/nfs/nfs4xdr.c const struct nfs_setattrargs *args = data; args 2560 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2564 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2565 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2566 fs/nfs/nfs4xdr.c encode_setattr(xdr, args, args->server, &hdr); args 2567 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2577 fs/nfs/nfs4xdr.c const struct nfs_getaclargs *args = data; args 2579 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2587 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2588 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2593 fs/nfs/nfs4xdr.c rpc_prepare_reply_pages(req, args->acl_pages, 0, args 2594 fs/nfs/nfs4xdr.c args->acl_len, replen + 1); args 2604 fs/nfs/nfs4xdr.c const struct nfs_pgio_args *args = data; args 2606 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2610 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2611 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2612 fs/nfs/nfs4xdr.c encode_write(xdr, args, &hdr); args 2614 fs/nfs/nfs4xdr.c if (args->bitmask) args 2615 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2625 fs/nfs/nfs4xdr.c const struct nfs_commitargs *args = data; args 2627 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2631 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2632 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2633 fs/nfs/nfs4xdr.c encode_commit(xdr, args, &hdr); args 2643 fs/nfs/nfs4xdr.c const struct nfs4_fsinfo_arg *args = data; args 2645 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2649 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2650 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2651 fs/nfs/nfs4xdr.c encode_fsinfo(xdr, args->bitmask, &hdr); args 2661 fs/nfs/nfs4xdr.c const struct nfs4_pathconf_arg *args = data; args 2663 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2667 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2668 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2669 fs/nfs/nfs4xdr.c encode_getattr(xdr, nfs4_pathconf_bitmap, args->bitmask, args 2680 fs/nfs/nfs4xdr.c const struct nfs4_statfs_arg *args = data; args 2682 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2686 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2687 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2688 fs/nfs/nfs4xdr.c encode_getattr(xdr, nfs4_statfs_bitmap, args->bitmask, args 2700 fs/nfs/nfs4xdr.c const struct nfs4_server_caps_arg *args = data; args 2701 fs/nfs/nfs4xdr.c const u32 *bitmask = args->bitmask; args 2703 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2707 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2708 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fhandle, &hdr); args 2771 fs/nfs/nfs4xdr.c const struct nfs4_delegreturnargs *args = data; args 2773 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2777 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2778 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fhandle, &hdr); args 2779 fs/nfs/nfs4xdr.c if (args->lr_args) args 2780 fs/nfs/nfs4xdr.c encode_layoutreturn(xdr, args->lr_args, &hdr); args 2781 fs/nfs/nfs4xdr.c if (args->bitmask) args 2782 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 2783 fs/nfs/nfs4xdr.c encode_delegreturn(xdr, args->stateid, &hdr); args 2794 fs/nfs/nfs4xdr.c const struct nfs4_fs_locations_arg *args = data; args 2796 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2801 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2802 fs/nfs/nfs4xdr.c if (args->migration) { args 2803 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2805 fs/nfs/nfs4xdr.c encode_fs_locations(xdr, args->bitmask, &hdr); args 2806 fs/nfs/nfs4xdr.c if (args->renew) args 2807 fs/nfs/nfs4xdr.c encode_renew(xdr, args->clientid, &hdr); args 2809 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->dir_fh, &hdr); args 2810 fs/nfs/nfs4xdr.c encode_lookup(xdr, args->name, &hdr); args 2812 fs/nfs/nfs4xdr.c encode_fs_locations(xdr, args->bitmask, &hdr); args 2815 fs/nfs/nfs4xdr.c rpc_prepare_reply_pages(req, (struct page **)&args->page, 0, args 2827 fs/nfs/nfs4xdr.c const struct nfs4_secinfo_arg *args = data; args 2829 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2833 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2834 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->dir_fh, &hdr); args 2835 fs/nfs/nfs4xdr.c encode_secinfo(xdr, args->name, &hdr); args 2846 fs/nfs/nfs4xdr.c const struct nfs4_fsid_present_arg *args = data; args 2848 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 2852 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 2853 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 2855 fs/nfs/nfs4xdr.c if (args->renew) args 2856 fs/nfs/nfs4xdr.c encode_renew(xdr, args->clientid, &hdr); args 2868 fs/nfs/nfs4xdr.c const struct nfs41_bind_conn_to_session_args *args = data; args 2870 fs/nfs/nfs4xdr.c .minorversion = args->client->cl_mvops->minor_version, args 2874 fs/nfs/nfs4xdr.c encode_bind_conn_to_session(xdr, args, &hdr); args 2885 fs/nfs/nfs4xdr.c const struct nfs41_exchange_id_args *args = data; args 2887 fs/nfs/nfs4xdr.c .minorversion = args->client->cl_mvops->minor_version, args 2891 fs/nfs/nfs4xdr.c encode_exchange_id(xdr, args, &hdr); args 2902 fs/nfs/nfs4xdr.c const struct nfs41_create_session_args *args = data; args 2904 fs/nfs/nfs4xdr.c .minorversion = args->client->cl_mvops->minor_version, args 2908 fs/nfs/nfs4xdr.c encode_create_session(xdr, args, &hdr); args 2952 fs/nfs/nfs4xdr.c const struct nfs4_sequence_args *args = data; args 2954 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(args), args 2958 fs/nfs/nfs4xdr.c encode_sequence(xdr, args, &hdr); args 2971 fs/nfs/nfs4xdr.c const struct nfs4_get_lease_time_args *args = data; args 2973 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->la_seq_args), args 2978 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->la_seq_args, &hdr); args 2993 fs/nfs/nfs4xdr.c const struct nfs41_reclaim_complete_args *args = data; args 2995 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args) args 2999 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 3000 fs/nfs/nfs4xdr.c encode_reclaim_complete(xdr, args, &hdr); args 3011 fs/nfs/nfs4xdr.c const struct nfs4_getdeviceinfo_args *args = data; args 3013 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 3017 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 3018 fs/nfs/nfs4xdr.c encode_getdeviceinfo(xdr, args, &hdr); args 3022 fs/nfs/nfs4xdr.c rpc_prepare_reply_pages(req, args->pdev->pages, args->pdev->pgbase, args 3023 fs/nfs/nfs4xdr.c args->pdev->pglen, hdr.replen - 2); args 3034 fs/nfs/nfs4xdr.c const struct nfs4_layoutget_args *args = data; args 3036 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 3040 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 3041 fs/nfs/nfs4xdr.c encode_putfh(xdr, NFS_FH(args->inode), &hdr); args 3042 fs/nfs/nfs4xdr.c encode_layoutget(xdr, args, &hdr); args 3044 fs/nfs/nfs4xdr.c rpc_prepare_reply_pages(req, args->layout.pages, 0, args 3045 fs/nfs/nfs4xdr.c args->layout.pglen, hdr.replen); args 3056 fs/nfs/nfs4xdr.c const struct nfs4_layoutcommit_args *args = priv; args 3058 fs/nfs/nfs4xdr.c container_of(args, struct nfs4_layoutcommit_data, args); args 3060 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 3064 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 3065 fs/nfs/nfs4xdr.c encode_putfh(xdr, NFS_FH(args->inode), &hdr); args 3066 fs/nfs/nfs4xdr.c encode_layoutcommit(xdr, data->args.inode, args, &hdr); args 3067 fs/nfs/nfs4xdr.c encode_getfattr(xdr, args->bitmask, &hdr); args 3078 fs/nfs/nfs4xdr.c const struct nfs4_layoutreturn_args *args = data; args 3080 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 3084 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 3085 fs/nfs/nfs4xdr.c encode_putfh(xdr, NFS_FH(args->inode), &hdr); args 3086 fs/nfs/nfs4xdr.c encode_layoutreturn(xdr, args, &hdr); args 3097 fs/nfs/nfs4xdr.c const struct nfs41_secinfo_no_name_args *args = data; args 3099 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 3103 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 3105 fs/nfs/nfs4xdr.c encode_secinfo_no_name(xdr, args, &hdr); args 3116 fs/nfs/nfs4xdr.c const struct nfs41_test_stateid_args *args = data; args 3118 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 3122 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 3123 fs/nfs/nfs4xdr.c encode_test_stateid(xdr, args, &hdr); args 3134 fs/nfs/nfs4xdr.c const struct nfs41_free_stateid_args *args = data; args 3136 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 3140 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 3141 fs/nfs/nfs4xdr.c encode_free_stateid(xdr, args, &hdr); args 6336 fs/nfs/nfs4xdr.c const struct nfs_setaclargs *args = data; args 6338 fs/nfs/nfs4xdr.c .minorversion = nfs4_xdr_minorversion(&args->seq_args), args 6342 fs/nfs/nfs4xdr.c encode_sequence(xdr, &args->seq_args, &hdr); args 6343 fs/nfs/nfs4xdr.c encode_putfh(xdr, args->fh, &hdr); args 6344 fs/nfs/nfs4xdr.c encode_setacl(xdr, args, &hdr); args 798 fs/nfs/nfstrace.h __dynamic_array(char, name, data->args.name.len + 1) args 803 fs/nfs/nfstrace.h size_t len = data->args.name.len; args 808 fs/nfs/nfstrace.h data->args.name.name, len); args 1011 fs/nfs/nfstrace.h __entry->offset = data->args.offset; args 1012 fs/nfs/nfstrace.h __entry->count = data->args.count; args 1049 fs/nfs/nfstrace.h __entry->offset = data->args.offset; args 538 fs/nfs/pagelist.c if (hdr->args.context) args 539 fs/nfs/pagelist.c put_nfs_open_context(hdr->args.context); args 571 fs/nfs/pagelist.c hdr->args.fh = NFS_FH(hdr->inode); args 572 fs/nfs/pagelist.c hdr->args.offset = req_offset(req); args 574 fs/nfs/pagelist.c hdr->mds_offset = hdr->args.offset; args 575 fs/nfs/pagelist.c hdr->args.pgbase = req->wb_pgbase; args 576 fs/nfs/pagelist.c hdr->args.pages = hdr->page_array.pagevec; args 577 fs/nfs/pagelist.c hdr->args.count = count; args 578 fs/nfs/pagelist.c hdr->args.context = get_nfs_open_context(nfs_req_openctx(req)); args 579 fs/nfs/pagelist.c hdr->args.lock_context = req->wb_lock_context; args 580 fs/nfs/pagelist.c hdr->args.stable = NFS_UNSTABLE; args 589 fs/nfs/pagelist.c hdr->args.stable = NFS_FILE_SYNC; args 619 fs/nfs/pagelist.c .rpc_argp = &hdr->args, args 640 fs/nfs/pagelist.c hdr->args.count, args 641 fs/nfs/pagelist.c (unsigned long long)hdr->args.offset); args 745 fs/nfs/pagelist.c nfs_set_pgio_error(hdr, task->tk_status, hdr->args.offset); args 1033 fs/nfs/pnfs.c lgp->args.layout.pages = nfs4_alloc_pages(max_pages, gfp_flags); args 1034 fs/nfs/pnfs.c if (!lgp->args.layout.pages) { args 1038 fs/nfs/pnfs.c lgp->args.layout.pglen = max_pages * PAGE_SIZE; args 1039 fs/nfs/pnfs.c lgp->res.layoutp = &lgp->args.layout; args 1044 fs/nfs/pnfs.c lgp->args.minlength = PAGE_SIZE; args 1045 fs/nfs/pnfs.c if (lgp->args.minlength > range->length) args 1046 fs/nfs/pnfs.c lgp->args.minlength = range->length; args 1052 fs/nfs/pnfs.c lgp->args.minlength = 0; args 1053 fs/nfs/pnfs.c else if (i_size - range->offset < lgp->args.minlength) args 1054 fs/nfs/pnfs.c lgp->args.minlength = i_size - range->offset; args 1057 fs/nfs/pnfs.c lgp->args.maxcount = PNFS_LAYOUT_MAXSIZE; args 1058 fs/nfs/pnfs.c pnfs_copy_range(&lgp->args.range, range); args 1059 fs/nfs/pnfs.c lgp->args.type = server->pnfs_curr_ld->id; args 1060 fs/nfs/pnfs.c lgp->args.inode = ino; args 1061 fs/nfs/pnfs.c lgp->args.ctx = get_nfs_open_context(ctx); args 1062 fs/nfs/pnfs.c nfs4_stateid_copy(&lgp->args.stateid, stateid); args 1070 fs/nfs/pnfs.c size_t max_pages = lgp->args.layout.pglen / PAGE_SIZE; args 1072 fs/nfs/pnfs.c nfs4_free_pages(lgp->args.layout.pages, max_pages); args 1073 fs/nfs/pnfs.c if (lgp->args.inode) args 1074 fs/nfs/pnfs.c pnfs_put_layout_hdr(NFS_I(lgp->args.inode)->layout); args 1076 fs/nfs/pnfs.c put_nfs_open_context(lgp->args.ctx); args 1153 fs/nfs/pnfs.c pnfs_init_layoutreturn_args(struct nfs4_layoutreturn_args *args, args 1160 fs/nfs/pnfs.c args->layout_type = NFS_SERVER(inode)->pnfs_curr_ld->id; args 1161 fs/nfs/pnfs.c args->inode = inode; args 1162 fs/nfs/pnfs.c args->range.iomode = iomode; args 1163 fs/nfs/pnfs.c args->range.offset = 0; args 1164 fs/nfs/pnfs.c args->range.length = NFS4_MAX_UINT64; args 1165 fs/nfs/pnfs.c args->layout = lo; args 1166 fs/nfs/pnfs.c nfs4_stateid_copy(&args->stateid, stateid); args 1188 fs/nfs/pnfs.c pnfs_init_layoutreturn_args(&lrp->args, lo, stateid, iomode); args 1189 fs/nfs/pnfs.c lrp->args.ld_private = &lrp->ld_private; args 1193 fs/nfs/pnfs.c ld->prepare_layoutreturn(&lrp->args); args 1348 fs/nfs/pnfs.c struct nfs4_layoutreturn_args *args, args 1432 fs/nfs/pnfs.c pnfs_init_layoutreturn_args(args, lo, &stateid, iomode); args 1443 fs/nfs/pnfs.c ld->prepare_layoutreturn(args); args 1499 fs/nfs/pnfs.c void pnfs_roc_release(struct nfs4_layoutreturn_args *args, args 1503 fs/nfs/pnfs.c struct pnfs_layout_hdr *lo = args->layout; args 1506 fs/nfs/pnfs.c struct nfs4_xdr_opaque_data *ld_private = args->ld_private; args 1516 fs/nfs/pnfs.c arg_stateid = &args->stateid; args 1518 fs/nfs/pnfs.c pnfs_layoutreturn_free_lsegs(lo, arg_stateid, &args->range, args 1523 fs/nfs/pnfs.c trace_nfs4_layoutreturn_on_close(args->inode, 0); args 2194 fs/nfs/pnfs.c data->o_arg.lg_args = &lgp->args; args 2214 fs/nfs/pnfs.c data->o_arg.lg_args = &lgp->args; args 2268 fs/nfs/pnfs.c if (!lgp->args.inode) { args 2272 fs/nfs/pnfs.c lgp->args.inode = ino; args 2274 fs/nfs/pnfs.c lo = NFS_I(lgp->args.inode)->layout; args 2278 fs/nfs/pnfs.c iomode = lgp->args.range.iomode; args 2287 fs/nfs/pnfs.c struct inode *inode = lgp->args.inode; args 2300 fs/nfs/pnfs.c struct pnfs_layout_hdr *lo = NFS_I(lgp->args.inode)->layout; args 2613 fs/nfs/pnfs.c set_bit(NFS_CONTEXT_RESEND_WRITES, &hdr->args.context->flags); args 2674 fs/nfs/pnfs.c inode->i_ino, hdr->args.count, hdr->args.offset, how); args 2799 fs/nfs/pnfs.c __func__, inode->i_ino, hdr->args.count, hdr->args.offset); args 2949 fs/nfs/pnfs.c struct nfs_server *nfss = NFS_SERVER(data->args.inode); args 2953 fs/nfs/pnfs.c pnfs_list_write_lseg_done(data->args.inode, &data->lseg_list); args 3006 fs/nfs/pnfs.c nfs4_stateid_copy(&data->args.stateid, &nfsi->layout->plh_stateid); args 3009 fs/nfs/pnfs.c data->args.inode = inode; args 3012 fs/nfs/pnfs.c data->args.bitmask = NFS_SERVER(inode)->cache_consistency_bitmask; args 3015 fs/nfs/pnfs.c data->args.lastbytewritten = end_pos - 1; args 3017 fs/nfs/pnfs.c data->args.lastbytewritten = U64_MAX; args 3021 fs/nfs/pnfs.c status = ld->prepare_layoutcommit(&data->args); args 3102 fs/nfs/pnfs.c data->args.fh = NFS_FH(inode); args 3103 fs/nfs/pnfs.c data->args.inode = inode; args 3104 fs/nfs/pnfs.c status = ld->prepare_layoutstats(&data->args); args 185 fs/nfs/pnfs.h int (*prepare_layoutcommit) (struct nfs4_layoutcommit_args *args); args 186 fs/nfs/pnfs.h int (*prepare_layoutstats) (struct nfs42_layoutstat_args *args); args 282 fs/nfs/pnfs.h struct nfs4_layoutreturn_args *args, args 289 fs/nfs/pnfs.h void pnfs_roc_release(struct nfs4_layoutreturn_args *args, args 701 fs/nfs/pnfs.h struct nfs4_layoutreturn_args *args, args 718 fs/nfs/pnfs.h pnfs_roc_release(struct nfs4_layoutreturn_args *args, args 180 fs/nfs/proc.c struct nfs_readlinkargs args = { args 188 fs/nfs/proc.c .rpc_argp = &args, args 597 fs/nfs/proc.c if ((hdr->res.count == 0 && hdr->args.count > 0) || args 598 fs/nfs/proc.c hdr->args.offset + hdr->res.count >= hdr->res.fattr->size) args 620 fs/nfs/proc.c hdr->res.count = hdr->args.count; args 631 fs/nfs/proc.c hdr->args.stable = NFS_FILE_SYNC; args 251 fs/nfs/read.c hdr->args.offset, hdr->res.eof); args 263 fs/nfs/read.c struct nfs_pgio_args *argp = &hdr->args; args 292 fs/nfs/read.c loff_t pos = hdr->args.offset + hdr->res.count; args 300 fs/nfs/read.c } else if (hdr->res.count < hdr->args.count) args 336 fs/nfs/super.c struct nfs_parsed_mount_data *args, const char *dev_name); args 1095 fs/nfs/super.c substring_t args[MAX_OPT_ARGS]; args 1102 fs/nfs/super.c switch (match_token(p, nfs_secflavor_tokens, args)) { args 1151 fs/nfs/super.c substring_t *args) args 1154 fs/nfs/super.c switch (match_token(string, nfs_vers_tokens, args)) { args 1187 fs/nfs/super.c static int nfs_get_option_str(substring_t args[], char **option) args 1190 fs/nfs/super.c *option = match_strdup(args); args 1194 fs/nfs/super.c static int nfs_get_option_ul(substring_t args[], unsigned long *option) args 1199 fs/nfs/super.c string = match_strdup(args); args 1208 fs/nfs/super.c static int nfs_get_option_ul_bound(substring_t args[], unsigned long *option, args 1213 fs/nfs/super.c ret = nfs_get_option_ul(args, option); args 1246 fs/nfs/super.c substring_t args[MAX_OPT_ARGS]; args 1255 fs/nfs/super.c token = match_token(p, nfs_mount_option_tokens, args); args 1358 fs/nfs/super.c if (nfs_get_option_ul(args, &option) || args 1364 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1369 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1374 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1379 fs/nfs/super.c if (nfs_get_option_ul_bound(args, &option, 1, INT_MAX)) args 1384 fs/nfs/super.c if (nfs_get_option_ul_bound(args, &option, 0, INT_MAX)) args 1389 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1394 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1399 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1404 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1409 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1415 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1420 fs/nfs/super.c if (nfs_get_option_ul(args, &option) || args 1426 fs/nfs/super.c if (nfs_get_option_ul(args, &option) || args 1433 fs/nfs/super.c if (nfs_get_option_ul(args, &option)) args 1444 fs/nfs/super.c string = match_strdup(args); args 1447 fs/nfs/super.c rc = nfs_parse_version_string(string, mnt, args); args 1453 fs/nfs/super.c string = match_strdup(args); args 1465 fs/nfs/super.c string = match_strdup(args); args 1469 fs/nfs/super.c nfs_xprt_protocol_tokens, args); args 1505 fs/nfs/super.c string = match_strdup(args); args 1509 fs/nfs/super.c nfs_xprt_protocol_tokens, args); args 1534 fs/nfs/super.c string = match_strdup(args); args 1547 fs/nfs/super.c if (nfs_get_option_str(args, &mnt->client_address)) args 1551 fs/nfs/super.c if (nfs_get_option_str(args, args 1556 fs/nfs/super.c string = match_strdup(args); args 1569 fs/nfs/super.c if (nfs_get_option_ul_bound(args, &option, 1, NFS_MAX_CONNECTIONS)) args 1574 fs/nfs/super.c string = match_strdup(args); args 1578 fs/nfs/super.c nfs_lookupcache_tokens, args); args 1598 fs/nfs/super.c if (nfs_get_option_str(args, &mnt->fscache_uniq)) args 1603 fs/nfs/super.c string = match_strdup(args); args 1607 fs/nfs/super.c args); args 1715 fs/nfs/super.c static int nfs_verify_authflavors(struct nfs_parsed_mount_data *args, args 1737 fs/nfs/super.c if (nfs_auth_info_match(&args->auth_info, flavor)) args 1745 fs/nfs/super.c flavor = args->auth_info.flavors[0]; args 1754 fs/nfs/super.c args->selected_flavor = flavor; args 1755 fs/nfs/super.c dfprintk(MOUNT, "NFS: using auth flavor %u\n", args->selected_flavor); args 1763 fs/nfs/super.c static int nfs_request_mount(struct nfs_parsed_mount_data *args, args 1770 fs/nfs/super.c &args->mount_server.address, args 1771 fs/nfs/super.c .dirpath = args->nfs_server.export_path, args 1772 fs/nfs/super.c .protocol = args->mount_server.protocol, args 1774 fs/nfs/super.c .noresvport = args->flags & NFS_MOUNT_NORESVPORT, args 1777 fs/nfs/super.c .net = args->net, args 1781 fs/nfs/super.c if (args->mount_server.version == 0) { args 1782 fs/nfs/super.c switch (args->version) { args 1784 fs/nfs/super.c args->mount_server.version = NFS_MNT3_VERSION; args 1787 fs/nfs/super.c args->mount_server.version = NFS_MNT_VERSION; args 1790 fs/nfs/super.c request.version = args->mount_server.version; args 1792 fs/nfs/super.c if (args->mount_server.hostname) args 1793 fs/nfs/super.c request.hostname = args->mount_server.hostname; args 1795 fs/nfs/super.c request.hostname = args->nfs_server.hostname; args 1800 fs/nfs/super.c if (args->mount_server.address.ss_family == AF_UNSPEC) { args 1801 fs/nfs/super.c memcpy(request.sap, &args->nfs_server.address, args 1802 fs/nfs/super.c args->nfs_server.addrlen); args 1803 fs/nfs/super.c args->mount_server.addrlen = args->nfs_server.addrlen; args 1805 fs/nfs/super.c request.salen = args->mount_server.addrlen; args 1806 fs/nfs/super.c nfs_set_port(request.sap, &args->mount_server.port, 0); args 1830 fs/nfs/super.c struct nfs_parsed_mount_data *args = mount_info->parsed; args 1834 fs/nfs/super.c status = nfs_request_mount(args, mount_info->mntfh, authlist, args 1843 fs/nfs/super.c if (args->auth_info.flavor_len > 0) { args 1844 fs/nfs/super.c status = nfs_verify_authflavors(args, authlist, authlist_len); args 1846 fs/nfs/super.c args->selected_flavor); args 1875 fs/nfs/super.c args->selected_flavor = flavor; args 1891 fs/nfs/super.c args->selected_flavor = RPC_AUTH_UNIX; args 2007 fs/nfs/super.c struct nfs_parsed_mount_data *args, args 2012 fs/nfs/super.c struct sockaddr *sap = (struct sockaddr *)&args->nfs_server.address; args 2018 fs/nfs/super.c args->version = NFS_DEFAULT_VERSION; args 2044 fs/nfs/super.c args->version = 3; args 2047 fs/nfs/super.c args->version = 2; args 2060 fs/nfs/super.c args->flags = data->flags & NFS_MOUNT_FLAGMASK; args 2061 fs/nfs/super.c args->flags |= extra_flags; args 2062 fs/nfs/super.c args->rsize = data->rsize; args 2063 fs/nfs/super.c args->wsize = data->wsize; args 2064 fs/nfs/super.c args->timeo = data->timeo; args 2065 fs/nfs/super.c args->retrans = data->retrans; args 2066 fs/nfs/super.c args->acregmin = data->acregmin; args 2067 fs/nfs/super.c args->acregmax = data->acregmax; args 2068 fs/nfs/super.c args->acdirmin = data->acdirmin; args 2069 fs/nfs/super.c args->acdirmax = data->acdirmax; args 2070 fs/nfs/super.c args->need_mount = false; args 2073 fs/nfs/super.c args->nfs_server.addrlen = sizeof(data->addr); args 2074 fs/nfs/super.c args->nfs_server.port = ntohs(data->addr.sin_port); args 2080 fs/nfs/super.c args->nfs_server.protocol = XPRT_TRANSPORT_UDP; args 2082 fs/nfs/super.c args->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL); args 2083 fs/nfs/super.c args->namlen = data->namlen; args 2084 fs/nfs/super.c args->bsize = data->bsize; args 2087 fs/nfs/super.c args->selected_flavor = data->pseudoflavor; args 2089 fs/nfs/super.c args->selected_flavor = RPC_AUTH_UNIX; args 2090 fs/nfs/super.c if (!args->nfs_server.hostname) args 2094 fs/nfs/super.c args->flags &= ~(NFS_MOUNT_LOCAL_FLOCK| args 2097 fs/nfs/super.c args->flags |= (NFS_MOUNT_LOCAL_FLOCK| args 2112 fs/nfs/super.c strlen(data->context), &args->lsm_opts); args 2156 fs/nfs/super.c struct nfs_parsed_mount_data *args, args 2161 fs/nfs/super.c return nfs23_validate_mount_data(options, args, mntfh, dev_name); args 2162 fs/nfs/super.c return nfs4_validate_mount_data(options, args, dev_name); args 2167 fs/nfs/super.c struct nfs_parsed_mount_data *args, args 2171 fs/nfs/super.c return nfs23_validate_mount_data(options, args, mntfh, dev_name); args 2176 fs/nfs/super.c struct nfs_parsed_mount_data *args, args 2182 fs/nfs/super.c struct sockaddr *sap = (struct sockaddr *)&args->nfs_server.address; args 2184 fs/nfs/super.c if (nfs_parse_mount_options((char *)options, args) == 0) args 2190 fs/nfs/super.c if (args->version == 4) { args 2192 fs/nfs/super.c if (args->nfs_server.protocol == XPRT_TRANSPORT_RDMA) args 2198 fs/nfs/super.c nfs_validate_transport_protocol(args); args 2199 fs/nfs/super.c if (args->nfs_server.protocol == XPRT_TRANSPORT_UDP) args 2201 fs/nfs/super.c nfs4_validate_mount_flags(args); args 2206 fs/nfs/super.c nfs_set_mount_transport_protocol(args); args 2207 fs/nfs/super.c if (args->nfs_server.protocol == XPRT_TRANSPORT_RDMA) args 2211 fs/nfs/super.c nfs_set_port(sap, &args->nfs_server.port, port); args 2214 fs/nfs/super.c &args->nfs_server.hostname, args 2216 fs/nfs/super.c &args->nfs_server.export_path, args 2830 fs/nfs/super.c static void nfs4_validate_mount_flags(struct nfs_parsed_mount_data *args) args 2832 fs/nfs/super.c args->flags &= ~(NFS_MOUNT_NONLM|NFS_MOUNT_NOACL|NFS_MOUNT_VER3| args 2840 fs/nfs/super.c struct nfs_parsed_mount_data *args, args 2843 fs/nfs/super.c struct sockaddr *sap = (struct sockaddr *)&args->nfs_server.address; args 2850 fs/nfs/super.c args->version = 4; args 2854 fs/nfs/super.c if (data->host_addrlen > sizeof(args->nfs_server.address)) args 2858 fs/nfs/super.c args->nfs_server.addrlen = data->host_addrlen; args 2863 fs/nfs/super.c args->nfs_server.port = ntohs(((struct sockaddr_in *)sap)->sin_port); args 2873 fs/nfs/super.c args->selected_flavor = pseudoflavor; args 2875 fs/nfs/super.c args->selected_flavor = RPC_AUTH_UNIX; args 2880 fs/nfs/super.c args->nfs_server.hostname = c; args 2885 fs/nfs/super.c args->nfs_server.export_path = c; args 2891 fs/nfs/super.c args->client_address = c; args 2898 fs/nfs/super.c args->flags = data->flags & NFS4_MOUNT_FLAGMASK; args 2899 fs/nfs/super.c args->rsize = data->rsize; args 2900 fs/nfs/super.c args->wsize = data->wsize; args 2901 fs/nfs/super.c args->timeo = data->timeo; args 2902 fs/nfs/super.c args->retrans = data->retrans; args 2903 fs/nfs/super.c args->acregmin = data->acregmin; args 2904 fs/nfs/super.c args->acregmax = data->acregmax; args 2905 fs/nfs/super.c args->acdirmin = data->acdirmin; args 2906 fs/nfs/super.c args->acdirmax = data->acdirmax; args 2907 fs/nfs/super.c args->nfs_server.protocol = data->proto; args 2908 fs/nfs/super.c nfs_validate_transport_protocol(args); args 2909 fs/nfs/super.c if (args->nfs_server.protocol == XPRT_TRANSPORT_UDP) args 35 fs/nfs/unlink.c kfree(data->args.name.name); args 92 fs/nfs/unlink.c .rpc_argp = &data->args, args 106 fs/nfs/unlink.c data->args.fh = NFS_FH(dir); args 123 fs/nfs/unlink.c alias = d_alloc_parallel(dentry->d_parent, &data->args.name, &data->wq); args 176 fs/nfs/unlink.c data->args.name.name = kstrdup(name->name, GFP_KERNEL); args 177 fs/nfs/unlink.c if (!data->args.name.name) args 179 fs/nfs/unlink.c data->args.name.len = name->len; args 203 fs/nfs/unlink.c kfree(data->args.name.name); args 354 fs/nfs/unlink.c msg.rpc_argp = &data->args; args 370 fs/nfs/unlink.c data->args.old_dir = NFS_FH(old_dir); args 371 fs/nfs/unlink.c data->args.old_name = &old_dentry->d_name; args 372 fs/nfs/unlink.c data->args.new_dir = NFS_FH(new_dir); args 373 fs/nfs/unlink.c data->args.new_name = &new_dentry->d_name; args 1416 fs/nfs/write.c hdr->args.stable); args 1450 fs/nfs/write.c filemap_fdatawrite_range(hdr->inode->i_mapping, hdr->args.offset, args 1451 fs/nfs/write.c hdr->args.offset + hdr->args.count - 1); args 1529 fs/nfs/write.c struct nfs_pgio_args *argp = &hdr->args; args 1581 fs/nfs/write.c hdr->args.offset, hdr->res.verf); args 1583 fs/nfs/write.c if (hdr->res.verf->committed < hdr->args.stable && args 1600 fs/nfs/write.c hdr->res.verf->committed, hdr->args.stable); args 1620 fs/nfs/write.c struct nfs_pgio_args *argp = &hdr->args; args 1697 fs/nfs/write.c .rpc_argp = &data->args, args 1766 fs/nfs/write.c data->args.fh = NFS_FH(data->inode); args 1768 fs/nfs/write.c data->args.offset = 0; args 1769 fs/nfs/write.c data->args.count = 0; args 25 fs/nfsd/blocklayout.c struct nfsd4_layoutget *args) args 27 fs/nfsd/blocklayout.c struct nfsd4_layout_seg *seg = &args->lg_seg; args 48 fs/nfsd/blocklayout.c args->lg_content = bex; args 59 fs/nfsd/blocklayout.c if (iomap.length < args->lg_minlength) { args 77 fs/nfsd/blocklayout.c if (args->lg_minlength == 0) { args 23 fs/nfsd/flexfilelayout.c struct nfsd4_layoutget *args) args 25 fs/nfsd/flexfilelayout.c struct nfsd4_layout_seg *seg = &args->lg_seg; args 41 fs/nfsd/flexfilelayout.c args->lg_content = fl; args 360 fs/nfsd/nfs2acl.c .pc_decode = nfsaclsvc_decode_##argt##args, \ args 363 fs/nfsd/nfs2acl.c .pc_argsize = sizeof(struct nfsd3_##argt##args), \ args 130 fs/nfsd/nfs3acl.c struct nfsd3_getaclargs *args = rqstp->rq_argp; args 132 fs/nfsd/nfs3acl.c p = nfs3svc_decode_fh(p, &args->fh); args 135 fs/nfsd/nfs3acl.c args->mask = ntohl(*p); p++; args 143 fs/nfsd/nfs3acl.c struct nfsd3_setaclargs *args = rqstp->rq_argp; args 148 fs/nfsd/nfs3acl.c p = nfs3svc_decode_fh(p, &args->fh); args 151 fs/nfsd/nfs3acl.c args->mask = ntohl(*p++); args 152 fs/nfsd/nfs3acl.c if (args->mask & ~NFS_ACL_MASK || args 158 fs/nfsd/nfs3acl.c (args->mask & NFS_ACL) ? args 159 fs/nfsd/nfs3acl.c &args->acl_access : NULL); args 162 fs/nfsd/nfs3acl.c (args->mask & NFS_DFACL) ? args 163 fs/nfsd/nfs3acl.c &args->acl_default : NULL); args 247 fs/nfsd/nfs3acl.c .pc_decode = nfs3svc_decode_##argt##args, \ args 250 fs/nfsd/nfs3acl.c .pc_argsize = sizeof(struct nfsd3_##argt##args), \ args 314 fs/nfsd/nfs3xdr.c struct nfsd_fhandle *args = rqstp->rq_argp; args 316 fs/nfsd/nfs3xdr.c p = decode_fh(p, &args->fh); args 325 fs/nfsd/nfs3xdr.c struct nfsd3_sattrargs *args = rqstp->rq_argp; args 327 fs/nfsd/nfs3xdr.c p = decode_fh(p, &args->fh); args 330 fs/nfsd/nfs3xdr.c p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp)); args 332 fs/nfsd/nfs3xdr.c if ((args->check_guard = ntohl(*p++)) != 0) { args 335 fs/nfsd/nfs3xdr.c args->guardtime = time.tv_sec; args 344 fs/nfsd/nfs3xdr.c struct nfsd3_diropargs *args = rqstp->rq_argp; args 346 fs/nfsd/nfs3xdr.c if (!(p = decode_fh(p, &args->fh)) args 347 fs/nfsd/nfs3xdr.c || !(p = decode_filename(p, &args->name, &args->len))) args 356 fs/nfsd/nfs3xdr.c struct nfsd3_accessargs *args = rqstp->rq_argp; args 358 fs/nfsd/nfs3xdr.c p = decode_fh(p, &args->fh); args 361 fs/nfsd/nfs3xdr.c args->access = ntohl(*p++); args 369 fs/nfsd/nfs3xdr.c struct nfsd3_readargs *args = rqstp->rq_argp; args 374 fs/nfsd/nfs3xdr.c p = decode_fh(p, &args->fh); args 377 fs/nfsd/nfs3xdr.c p = xdr_decode_hyper(p, &args->offset); args 379 fs/nfsd/nfs3xdr.c args->count = ntohl(*p++); args 380 fs/nfsd/nfs3xdr.c len = min(args->count, max_blocksize); args 392 fs/nfsd/nfs3xdr.c args->vlen = v; args 399 fs/nfsd/nfs3xdr.c struct nfsd3_writeargs *args = rqstp->rq_argp; args 405 fs/nfsd/nfs3xdr.c p = decode_fh(p, &args->fh); args 408 fs/nfsd/nfs3xdr.c p = xdr_decode_hyper(p, &args->offset); args 410 fs/nfsd/nfs3xdr.c args->count = ntohl(*p++); args 411 fs/nfsd/nfs3xdr.c args->stable = ntohl(*p++); args 412 fs/nfsd/nfs3xdr.c len = args->len = ntohl(*p++); args 418 fs/nfsd/nfs3xdr.c if (args->count != args->len) args 438 fs/nfsd/nfs3xdr.c if (args->count > max_blocksize) { args 439 fs/nfsd/nfs3xdr.c args->count = max_blocksize; args 440 fs/nfsd/nfs3xdr.c len = args->len = max_blocksize; args 443 fs/nfsd/nfs3xdr.c args->first.iov_base = (void *)p; args 444 fs/nfsd/nfs3xdr.c args->first.iov_len = head->iov_len - hdr; args 451 fs/nfsd/nfs3xdr.c struct nfsd3_createargs *args = rqstp->rq_argp; args 453 fs/nfsd/nfs3xdr.c if (!(p = decode_fh(p, &args->fh)) args 454 fs/nfsd/nfs3xdr.c || !(p = decode_filename(p, &args->name, &args->len))) args 457 fs/nfsd/nfs3xdr.c switch (args->createmode = ntohl(*p++)) { args 460 fs/nfsd/nfs3xdr.c p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp)); args 463 fs/nfsd/nfs3xdr.c args->verf = p; args 476 fs/nfsd/nfs3xdr.c struct nfsd3_createargs *args = rqstp->rq_argp; args 478 fs/nfsd/nfs3xdr.c if (!(p = decode_fh(p, &args->fh)) || args 479 fs/nfsd/nfs3xdr.c !(p = decode_filename(p, &args->name, &args->len))) args 481 fs/nfsd/nfs3xdr.c p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp)); args 489 fs/nfsd/nfs3xdr.c struct nfsd3_symlinkargs *args = rqstp->rq_argp; args 493 fs/nfsd/nfs3xdr.c if (!(p = decode_fh(p, &args->ffh)) || args 494 fs/nfsd/nfs3xdr.c !(p = decode_filename(p, &args->fname, &args->flen))) args 496 fs/nfsd/nfs3xdr.c p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp)); args 498 fs/nfsd/nfs3xdr.c args->tlen = ntohl(*p++); args 500 fs/nfsd/nfs3xdr.c args->first.iov_base = p; args 501 fs/nfsd/nfs3xdr.c args->first.iov_len = rqstp->rq_arg.head[0].iov_len; args 502 fs/nfsd/nfs3xdr.c args->first.iov_len -= (char *)p - base; args 504 fs/nfsd/nfs3xdr.c dlen = args->first.iov_len + rqstp->rq_arg.page_len + args 506 fs/nfsd/nfs3xdr.c if (dlen < XDR_QUADLEN(args->tlen) << 2) args 514 fs/nfsd/nfs3xdr.c struct nfsd3_mknodargs *args = rqstp->rq_argp; args 516 fs/nfsd/nfs3xdr.c if (!(p = decode_fh(p, &args->fh)) args 517 fs/nfsd/nfs3xdr.c || !(p = decode_filename(p, &args->name, &args->len))) args 520 fs/nfsd/nfs3xdr.c args->ftype = ntohl(*p++); args 522 fs/nfsd/nfs3xdr.c if (args->ftype == NF3BLK || args->ftype == NF3CHR args 523 fs/nfsd/nfs3xdr.c || args->ftype == NF3SOCK || args->ftype == NF3FIFO) args 524 fs/nfsd/nfs3xdr.c p = decode_sattr3(p, &args->attrs, nfsd_user_namespace(rqstp)); args 526 fs/nfsd/nfs3xdr.c if (args->ftype == NF3BLK || args->ftype == NF3CHR) { args 527 fs/nfsd/nfs3xdr.c args->major = ntohl(*p++); args 528 fs/nfsd/nfs3xdr.c args->minor = ntohl(*p++); args 537 fs/nfsd/nfs3xdr.c struct nfsd3_renameargs *args = rqstp->rq_argp; args 539 fs/nfsd/nfs3xdr.c if (!(p = decode_fh(p, &args->ffh)) args 540 fs/nfsd/nfs3xdr.c || !(p = decode_filename(p, &args->fname, &args->flen)) args 541 fs/nfsd/nfs3xdr.c || !(p = decode_fh(p, &args->tfh)) args 542 fs/nfsd/nfs3xdr.c || !(p = decode_filename(p, &args->tname, &args->tlen))) args 551 fs/nfsd/nfs3xdr.c struct nfsd3_readlinkargs *args = rqstp->rq_argp; args 553 fs/nfsd/nfs3xdr.c p = decode_fh(p, &args->fh); args 556 fs/nfsd/nfs3xdr.c args->buffer = page_address(*(rqstp->rq_next_page++)); args 564 fs/nfsd/nfs3xdr.c struct nfsd3_linkargs *args = rqstp->rq_argp; args 566 fs/nfsd/nfs3xdr.c if (!(p = decode_fh(p, &args->ffh)) args 567 fs/nfsd/nfs3xdr.c || !(p = decode_fh(p, &args->tfh)) args 568 fs/nfsd/nfs3xdr.c || !(p = decode_filename(p, &args->tname, &args->tlen))) args 577 fs/nfsd/nfs3xdr.c struct nfsd3_readdirargs *args = rqstp->rq_argp; args 581 fs/nfsd/nfs3xdr.c p = decode_fh(p, &args->fh); args 584 fs/nfsd/nfs3xdr.c p = xdr_decode_hyper(p, &args->cookie); args 585 fs/nfsd/nfs3xdr.c args->verf = p; p += 2; args 586 fs/nfsd/nfs3xdr.c args->dircount = ~0; args 587 fs/nfsd/nfs3xdr.c args->count = ntohl(*p++); args 588 fs/nfsd/nfs3xdr.c len = args->count = min_t(u32, args->count, max_blocksize); args 592 fs/nfsd/nfs3xdr.c if (!args->buffer) args 593 fs/nfsd/nfs3xdr.c args->buffer = page_address(p); args 603 fs/nfsd/nfs3xdr.c struct nfsd3_readdirargs *args = rqstp->rq_argp; args 607 fs/nfsd/nfs3xdr.c p = decode_fh(p, &args->fh); args 610 fs/nfsd/nfs3xdr.c p = xdr_decode_hyper(p, &args->cookie); args 611 fs/nfsd/nfs3xdr.c args->verf = p; p += 2; args 612 fs/nfsd/nfs3xdr.c args->dircount = ntohl(*p++); args 613 fs/nfsd/nfs3xdr.c args->count = ntohl(*p++); args 615 fs/nfsd/nfs3xdr.c len = args->count = min(args->count, max_blocksize); args 618 fs/nfsd/nfs3xdr.c if (!args->buffer) args 619 fs/nfsd/nfs3xdr.c args->buffer = page_address(p); args 629 fs/nfsd/nfs3xdr.c struct nfsd3_commitargs *args = rqstp->rq_argp; args 630 fs/nfsd/nfs3xdr.c p = decode_fh(p, &args->fh); args 633 fs/nfsd/nfs3xdr.c p = xdr_decode_hyper(p, &args->offset); args 634 fs/nfsd/nfs3xdr.c args->count = ntohl(*p++); args 857 fs/nfsd/nfs4callback.c struct rpc_create_args args = { args 875 fs/nfsd/nfs4callback.c args.client_name = clp->cl_cred.cr_principal; args 876 fs/nfsd/nfs4callback.c args.prognumber = conn->cb_prog; args 877 fs/nfsd/nfs4callback.c args.protocol = XPRT_TRANSPORT_TCP; args 878 fs/nfsd/nfs4callback.c args.authflavor = clp->cl_cred.cr_flavor; args 885 fs/nfsd/nfs4callback.c args.bc_xprt = conn->cb_xprt; args 886 fs/nfsd/nfs4callback.c args.prognumber = clp->cl_cb_session->se_cb_prog; args 887 fs/nfsd/nfs4callback.c args.protocol = conn->cb_xprt->xpt_class->xcl_ident | args 889 fs/nfsd/nfs4callback.c args.authflavor = ses->se_cb_sec.flavor; args 892 fs/nfsd/nfs4callback.c client = rpc_create(&args); args 1825 fs/nfsd/nfs4proc.c static __be32 nfs41_check_op_ordering(struct nfsd4_compoundargs *args) args 1827 fs/nfsd/nfs4proc.c struct nfsd4_op *first_op = &args->ops[0]; args 1830 fs/nfsd/nfs4proc.c if (args->minorversion == 0) args 1833 fs/nfsd/nfs4proc.c if (args->opcnt == 0) args 1846 fs/nfsd/nfs4proc.c if (args->opcnt != 1) args 1921 fs/nfsd/nfs4proc.c struct nfsd4_compoundargs *args = rqstp->rq_argp; args 1933 fs/nfsd/nfs4proc.c xdr_reserve_space(&resp->xdr, 8 + args->taglen); args 1934 fs/nfsd/nfs4proc.c resp->taglen = args->taglen; args 1935 fs/nfsd/nfs4proc.c resp->tag = args->tag; args 1937 fs/nfsd/nfs4proc.c cstate->minorversion = args->minorversion; args 1950 fs/nfsd/nfs4proc.c if (nfsd_minorversion(nn, args->minorversion, NFSD_TEST) <= 0) args 1953 fs/nfsd/nfs4proc.c if (args->opcnt > NFSD_MAX_OPS_PER_COMPOUND) args 1956 fs/nfsd/nfs4proc.c status = nfs41_check_op_ordering(args); args 1958 fs/nfsd/nfs4proc.c op = &args->ops[0]; args 1964 fs/nfsd/nfs4proc.c trace_nfsd_compound(rqstp, args->opcnt); args 1965 fs/nfsd/nfs4proc.c while (!status && resp->opcnt < args->opcnt) { args 1966 fs/nfsd/nfs4proc.c op = &args->ops[resp->opcnt++]; args 2003 fs/nfsd/nfs4proc.c if (resp->opcnt < args->opcnt) args 2041 fs/nfsd/nfs4proc.c trace_nfsd_compound_status(args->opcnt, resp->opcnt, status, args 2841 fs/nfsd/nfs4state.c nfsd4_enc_sequence_replay(struct nfsd4_compoundargs *args, args 2848 fs/nfsd/nfs4state.c op = &args->ops[resp->opcnt - 1]; args 2853 fs/nfsd/nfs4state.c if (args->opcnt == 1) { args 2861 fs/nfsd/nfs4state.c op = &args->ops[resp->opcnt++]; args 3531 fs/nfsd/nfs4state.c struct nfsd4_compoundargs *args = rqstp->rq_argp; args 3533 fs/nfsd/nfs4state.c return args->opcnt > session->se_fchannel.maxops; args 4535 fs/nfsd/nfs4xdr.c struct nfsd4_compoundargs *args = rqstp->rq_argp; args 4537 fs/nfsd/nfs4xdr.c if (args->ops != args->iops) { args 4538 fs/nfsd/nfs4xdr.c kfree(args->ops); args 4539 fs/nfsd/nfs4xdr.c args->ops = args->iops; args 4541 fs/nfsd/nfs4xdr.c kfree(args->tmpp); args 4542 fs/nfsd/nfs4xdr.c args->tmpp = NULL; args 4543 fs/nfsd/nfs4xdr.c while (args->to_free) { args 4544 fs/nfsd/nfs4xdr.c struct svcxdr_tmpbuf *tb = args->to_free; args 4545 fs/nfsd/nfs4xdr.c args->to_free = tb->next; args 4553 fs/nfsd/nfs4xdr.c struct nfsd4_compoundargs *args = rqstp->rq_argp; args 4561 fs/nfsd/nfs4xdr.c args->p = p; args 4562 fs/nfsd/nfs4xdr.c args->end = rqstp->rq_arg.head[0].iov_base + rqstp->rq_arg.head[0].iov_len; args 4563 fs/nfsd/nfs4xdr.c args->pagelist = rqstp->rq_arg.pages; args 4564 fs/nfsd/nfs4xdr.c args->pagelen = rqstp->rq_arg.page_len; args 4565 fs/nfsd/nfs4xdr.c args->tail = false; args 4566 fs/nfsd/nfs4xdr.c args->tmpp = NULL; args 4567 fs/nfsd/nfs4xdr.c args->to_free = NULL; args 4568 fs/nfsd/nfs4xdr.c args->ops = args->iops; args 4569 fs/nfsd/nfs4xdr.c args->rqstp = rqstp; args 4571 fs/nfsd/nfs4xdr.c return !nfsd4_decode_compound(args); args 204 fs/nfsd/nfsxdr.c struct nfsd_fhandle *args = rqstp->rq_argp; args 206 fs/nfsd/nfsxdr.c p = decode_fh(p, &args->fh); args 215 fs/nfsd/nfsxdr.c struct nfsd_sattrargs *args = rqstp->rq_argp; args 217 fs/nfsd/nfsxdr.c p = decode_fh(p, &args->fh); args 220 fs/nfsd/nfsxdr.c p = decode_sattr(p, &args->attrs, nfsd_user_namespace(rqstp)); args 228 fs/nfsd/nfsxdr.c struct nfsd_diropargs *args = rqstp->rq_argp; args 230 fs/nfsd/nfsxdr.c if (!(p = decode_fh(p, &args->fh)) args 231 fs/nfsd/nfsxdr.c || !(p = decode_filename(p, &args->name, &args->len))) args 240 fs/nfsd/nfsxdr.c struct nfsd_readargs *args = rqstp->rq_argp; args 243 fs/nfsd/nfsxdr.c p = decode_fh(p, &args->fh); args 247 fs/nfsd/nfsxdr.c args->offset = ntohl(*p++); args 248 fs/nfsd/nfsxdr.c len = args->count = ntohl(*p++); args 265 fs/nfsd/nfsxdr.c args->vlen = v; args 272 fs/nfsd/nfsxdr.c struct nfsd_writeargs *args = rqstp->rq_argp; args 276 fs/nfsd/nfsxdr.c p = decode_fh(p, &args->fh); args 281 fs/nfsd/nfsxdr.c args->offset = ntohl(*p++); /* offset */ args 283 fs/nfsd/nfsxdr.c len = args->len = ntohl(*p++); args 310 fs/nfsd/nfsxdr.c args->first.iov_base = (void *)p; args 311 fs/nfsd/nfsxdr.c args->first.iov_len = head->iov_len - hdr; args 318 fs/nfsd/nfsxdr.c struct nfsd_createargs *args = rqstp->rq_argp; args 320 fs/nfsd/nfsxdr.c if ( !(p = decode_fh(p, &args->fh)) args 321 fs/nfsd/nfsxdr.c || !(p = decode_filename(p, &args->name, &args->len))) args 323 fs/nfsd/nfsxdr.c p = decode_sattr(p, &args->attrs, nfsd_user_namespace(rqstp)); args 331 fs/nfsd/nfsxdr.c struct nfsd_renameargs *args = rqstp->rq_argp; args 333 fs/nfsd/nfsxdr.c if (!(p = decode_fh(p, &args->ffh)) args 334 fs/nfsd/nfsxdr.c || !(p = decode_filename(p, &args->fname, &args->flen)) args 335 fs/nfsd/nfsxdr.c || !(p = decode_fh(p, &args->tfh)) args 336 fs/nfsd/nfsxdr.c || !(p = decode_filename(p, &args->tname, &args->tlen))) args 345 fs/nfsd/nfsxdr.c struct nfsd_readlinkargs *args = rqstp->rq_argp; args 347 fs/nfsd/nfsxdr.c p = decode_fh(p, &args->fh); args 350 fs/nfsd/nfsxdr.c args->buffer = page_address(*(rqstp->rq_next_page++)); args 358 fs/nfsd/nfsxdr.c struct nfsd_linkargs *args = rqstp->rq_argp; args 360 fs/nfsd/nfsxdr.c if (!(p = decode_fh(p, &args->ffh)) args 361 fs/nfsd/nfsxdr.c || !(p = decode_fh(p, &args->tfh)) args 362 fs/nfsd/nfsxdr.c || !(p = decode_filename(p, &args->tname, &args->tlen))) args 371 fs/nfsd/nfsxdr.c struct nfsd_symlinkargs *args = rqstp->rq_argp; args 375 fs/nfsd/nfsxdr.c if ( !(p = decode_fh(p, &args->ffh)) args 376 fs/nfsd/nfsxdr.c || !(p = decode_filename(p, &args->fname, &args->flen))) args 379 fs/nfsd/nfsxdr.c args->tlen = ntohl(*p++); args 380 fs/nfsd/nfsxdr.c if (args->tlen == 0) args 383 fs/nfsd/nfsxdr.c args->first.iov_base = p; args 384 fs/nfsd/nfsxdr.c args->first.iov_len = rqstp->rq_arg.head[0].iov_len; args 385 fs/nfsd/nfsxdr.c args->first.iov_len -= (char *)p - base; args 393 fs/nfsd/nfsxdr.c if (args->tlen != rqstp->rq_arg.page_len) args 397 fs/nfsd/nfsxdr.c xdrlen = XDR_QUADLEN(args->tlen); args 398 fs/nfsd/nfsxdr.c if (xdrlen > args->first.iov_len - (8 * sizeof(__be32))) args 402 fs/nfsd/nfsxdr.c decode_sattr(p, &args->attrs, nfsd_user_namespace(rqstp)); args 410 fs/nfsd/nfsxdr.c struct nfsd_readdirargs *args = rqstp->rq_argp; args 412 fs/nfsd/nfsxdr.c p = decode_fh(p, &args->fh); args 415 fs/nfsd/nfsxdr.c args->cookie = ntohl(*p++); args 416 fs/nfsd/nfsxdr.c args->count = ntohl(*p++); args 417 fs/nfsd/nfsxdr.c args->count = min_t(u32, args->count, PAGE_SIZE); args 418 fs/nfsd/nfsxdr.c args->buffer = page_address(*(rqstp->rq_next_page++)); args 681 fs/nfsd/xdr4.h struct nfsd4_compoundargs *args = resp->rqstp->rq_argp; args 682 fs/nfsd/xdr4.h return resp->opcnt == 1 && args->ops[0].opnum == OP_SEQUENCE; args 324 fs/nilfs2/inode.c struct nilfs_iget_args args = { args 328 fs/nilfs2/inode.c return insert_inode_locked4(inode, ino, nilfs_iget_test, &args); args 530 fs/nilfs2/inode.c struct nilfs_iget_args *args = opaque; args 533 fs/nilfs2/inode.c if (args->ino != inode->i_ino || args->root != NILFS_I(inode)->i_root) args 538 fs/nilfs2/inode.c return !args->for_gc; args 540 fs/nilfs2/inode.c return args->for_gc && args->cno == ii->i_cno; args 545 fs/nilfs2/inode.c struct nilfs_iget_args *args = opaque; args 547 fs/nilfs2/inode.c inode->i_ino = args->ino; args 548 fs/nilfs2/inode.c if (args->for_gc) { args 550 fs/nilfs2/inode.c NILFS_I(inode)->i_cno = args->cno; args 553 fs/nilfs2/inode.c if (args->root && args->ino == NILFS_ROOT_INO) args 554 fs/nilfs2/inode.c nilfs_get_root(args->root); args 555 fs/nilfs2/inode.c NILFS_I(inode)->i_root = args->root; args 563 fs/nilfs2/inode.c struct nilfs_iget_args args = { args 567 fs/nilfs2/inode.c return ilookup5(sb, ino, nilfs_iget_test, &args); args 573 fs/nilfs2/inode.c struct nilfs_iget_args args = { args 577 fs/nilfs2/inode.c return iget5_locked(sb, ino, nilfs_iget_test, nilfs_iget_set, &args); args 604 fs/nilfs2/inode.c struct nilfs_iget_args args = { args 610 fs/nilfs2/inode.c inode = iget5_locked(sb, ino, nilfs_iget_test, nilfs_iget_set, &args); args 69 fs/nilfs2/super.c va_list args; args 71 fs/nilfs2/super.c va_start(args, fmt); args 73 fs/nilfs2/super.c vaf.va = &args; args 78 fs/nilfs2/super.c va_end(args); args 118 fs/nilfs2/super.c va_list args; args 120 fs/nilfs2/super.c va_start(args, fmt); args 123 fs/nilfs2/super.c vaf.va = &args; args 128 fs/nilfs2/super.c va_end(args); args 718 fs/nilfs2/super.c substring_t args[MAX_OPT_ARGS]; args 729 fs/nilfs2/super.c token = match_token(p, tokens, args); args 738 fs/nilfs2/super.c if (strcmp(args[0].from, "relaxed") == 0) args 741 fs/nilfs2/super.c else if (strcmp(args[0].from, "strict") == 0) args 1231 fs/nilfs2/super.c substring_t args[MAX_OPT_ARGS]; args 1238 fs/nilfs2/super.c token = match_token(p, tokens, args); args 1240 fs/nilfs2/super.c ret = nilfs_parse_snapshot_option(p, &args[0], args 129 fs/nsfs.c struct ns_get_path_task_args *args = private_data; args 131 fs/nsfs.c return args->ns_ops->get(args->task); args 137 fs/nsfs.c struct ns_get_path_task_args args = { args 142 fs/nsfs.c return ns_get_path_cb(path, ns_get_path_task, &args); args 33 fs/ntfs/debug.c va_list args; args 42 fs/ntfs/debug.c va_start(args, fmt); args 44 fs/ntfs/debug.c vaf.va = &args; args 50 fs/ntfs/debug.c va_end(args); args 76 fs/ntfs/debug.c va_list args; args 85 fs/ntfs/debug.c va_start(args, fmt); args 87 fs/ntfs/debug.c vaf.va = &args; args 93 fs/ntfs/debug.c va_end(args); args 105 fs/ntfs/debug.c va_list args; args 112 fs/ntfs/debug.c va_start(args, fmt); args 114 fs/ntfs/debug.c vaf.va = &args; args 116 fs/ntfs/debug.c va_end(args); args 57 fs/ocfs2/cluster/masklog.c va_list args; args 74 fs/ocfs2/cluster/masklog.c va_start(args, fmt); args 77 fs/ocfs2/cluster/masklog.c vaf.va = &args; args 83 fs/ocfs2/cluster/masklog.c va_end(args); args 185 fs/ocfs2/cluster/masklog.h #define mlog_bug_on_msg(cond, fmt, args...) do { \ args 188 fs/ocfs2/cluster/masklog.h mlog(ML_ERROR, fmt, ##args); \ args 73 fs/ocfs2/cluster/tcp.c #define msglog(hdr, fmt, args...) do { \ args 80 fs/ocfs2/cluster/tcp.c be32_to_cpu(__hdr->msg_num) , ##args); \ args 83 fs/ocfs2/cluster/tcp.c #define sclog(sc, fmt, args...) do { \ args 89 fs/ocfs2/cluster/tcp.c ##args); \ args 273 fs/ocfs2/filecheck.c struct ocfs2_filecheck_args *args) args 290 fs/ocfs2/filecheck.c args->fa_type = type; args 292 fs/ocfs2/filecheck.c args->fa_len = (unsigned int)val; args 294 fs/ocfs2/filecheck.c args->fa_ino = val; args 456 fs/ocfs2/filecheck.c struct ocfs2_filecheck_args args; args 464 fs/ocfs2/filecheck.c if (ocfs2_filecheck_args_parse(attr->attr.name, buf, count, &args)) args 467 fs/ocfs2/filecheck.c if (args.fa_type == OCFS2_FILECHECK_TYPE_SET) { args 468 fs/ocfs2/filecheck.c ret = ocfs2_filecheck_adjust_max(ent, args.fa_len); args 479 fs/ocfs2/filecheck.c if (ocfs2_filecheck_is_dup_entry(ent, args.fa_ino)) { args 500 fs/ocfs2/filecheck.c entry->fe_ino = args.fa_ino; args 501 fs/ocfs2/filecheck.c entry->fe_type = args.fa_type; args 58 fs/ocfs2/inode.c struct ocfs2_find_inode_args *args); args 114 fs/ocfs2/inode.c struct ocfs2_find_inode_args args; args 116 fs/ocfs2/inode.c args.fi_blkno = blkno; args 117 fs/ocfs2/inode.c args.fi_flags = 0; args 118 fs/ocfs2/inode.c args.fi_ino = ino_from_blkno(sb, blkno); args 119 fs/ocfs2/inode.c args.fi_sysfile_type = 0; args 121 fs/ocfs2/inode.c return ilookup5(sb, blkno, ocfs2_find_actor, &args); args 129 fs/ocfs2/inode.c struct ocfs2_find_inode_args args; args 144 fs/ocfs2/inode.c args.fi_blkno = blkno; args 145 fs/ocfs2/inode.c args.fi_flags = flags; args 146 fs/ocfs2/inode.c args.fi_ino = ino_from_blkno(sb, blkno); args 147 fs/ocfs2/inode.c args.fi_sysfile_type = sysfile_type; args 149 fs/ocfs2/inode.c inode = iget5_locked(sb, args.fi_ino, ocfs2_find_actor, args 150 fs/ocfs2/inode.c ocfs2_init_locked_inode, &args); args 161 fs/ocfs2/inode.c rc = ocfs2_read_locked_inode(inode, &args); args 215 fs/ocfs2/inode.c struct ocfs2_find_inode_args *args = NULL; args 219 fs/ocfs2/inode.c args = opaque; args 223 fs/ocfs2/inode.c trace_ocfs2_find_actor(inode, inode->i_ino, opaque, args->fi_blkno); args 225 fs/ocfs2/inode.c if (oi->ip_blkno != args->fi_blkno) args 240 fs/ocfs2/inode.c struct ocfs2_find_inode_args *args = opaque; args 244 fs/ocfs2/inode.c inode->i_ino = args->fi_ino; args 245 fs/ocfs2/inode.c OCFS2_I(inode)->ip_blkno = args->fi_blkno; args 246 fs/ocfs2/inode.c if (args->fi_sysfile_type != 0) args 248 fs/ocfs2/inode.c &ocfs2_sysfile_lock_key[args->fi_sysfile_type]); args 249 fs/ocfs2/inode.c if (args->fi_sysfile_type == USER_QUOTA_SYSTEM_INODE || args 250 fs/ocfs2/inode.c args->fi_sysfile_type == GROUP_QUOTA_SYSTEM_INODE || args 251 fs/ocfs2/inode.c args->fi_sysfile_type == LOCAL_USER_QUOTA_SYSTEM_INODE || args 252 fs/ocfs2/inode.c args->fi_sysfile_type == LOCAL_GROUP_QUOTA_SYSTEM_INODE) args 404 fs/ocfs2/inode.c struct ocfs2_find_inode_args *args) args 446 fs/ocfs2/inode.c can_lock = !(args->fi_flags & OCFS2_FI_FLAG_SYSFILE) args 447 fs/ocfs2/inode.c && !(args->fi_flags & OCFS2_FI_FLAG_ORPHAN_RECOVERY) args 460 fs/ocfs2/inode.c if (args->fi_flags & OCFS2_FI_FLAG_SYSFILE) args 486 fs/ocfs2/inode.c if (args->fi_flags & OCFS2_FI_FLAG_ORPHAN_RECOVERY) { args 495 fs/ocfs2/inode.c if (args->fi_flags & OCFS2_FI_FLAG_FILECHECK_CHK) args 498 fs/ocfs2/inode.c else if (args->fi_flags & OCFS2_FI_FLAG_FILECHECK_FIX) args 505 fs/ocfs2/inode.c status = ocfs2_read_blocks_sync(osb, args->fi_blkno, 1, &bh); args 511 fs/ocfs2/inode.c if (args->fi_flags & OCFS2_FI_FLAG_FILECHECK_CHK) args 514 fs/ocfs2/inode.c else if (args->fi_flags & OCFS2_FI_FLAG_FILECHECK_FIX) args 536 fs/ocfs2/inode.c !!(args->fi_flags & OCFS2_FI_FLAG_SYSFILE), args 538 fs/ocfs2/inode.c (unsigned long long)args->fi_blkno); args 546 fs/ocfs2/inode.c BUG_ON(args->fi_blkno != le64_to_cpu(fe->i_blkno)); args 844 fs/ocfs2/ioctl.c struct reflink_arguments args; args 906 fs/ocfs2/ioctl.c if (copy_from_user(&args, argp, sizeof(args))) args 908 fs/ocfs2/ioctl.c old_path = (const char __user *)(unsigned long)args.old_path; args 909 fs/ocfs2/ioctl.c new_path = (const char __user *)(unsigned long)args.new_path; args 910 fs/ocfs2/ioctl.c preserve = (args.preserve != 0); args 956 fs/ocfs2/ioctl.c struct reflink_arguments args; args 977 fs/ocfs2/ioctl.c if (copy_from_user(&args, argp, sizeof(args))) args 979 fs/ocfs2/ioctl.c preserve = (args.preserve != 0); args 981 fs/ocfs2/ioctl.c return ocfs2_reflink_ioctl(inode, compat_ptr(args.old_path), args 982 fs/ocfs2/ioctl.c compat_ptr(args.new_path), preserve); args 1513 fs/ocfs2/ocfs2_trace.h void *args, unsigned long long fi_blkno), args 1514 fs/ocfs2/ocfs2_trace.h TP_ARGS(inode, ino, args, fi_blkno), args 1518 fs/ocfs2/ocfs2_trace.h __field(void *, args) args 1524 fs/ocfs2/ocfs2_trace.h __entry->args = args; args 1528 fs/ocfs2/ocfs2_trace.h __entry->args, __entry->fi_blkno) args 1247 fs/ocfs2/super.c substring_t args[MAX_OPT_ARGS]; args 1269 fs/ocfs2/super.c token = match_token(p, tokens, args); args 1281 fs/ocfs2/super.c if (match_int(&args[0], &option)) { args 1324 fs/ocfs2/super.c if (match_int(&args[0], &option)) { args 1332 fs/ocfs2/super.c if (match_int(&args[0], &option)) { args 1340 fs/ocfs2/super.c if (match_int(&args[0], &option)) { args 1351 fs/ocfs2/super.c if (match_int(&args[0], &option)) { args 1377 fs/ocfs2/super.c if (((args[0].to - args[0].from) != args 1379 fs/ocfs2/super.c (strnlen(args[0].from, args 1387 fs/ocfs2/super.c memcpy(mopt->cluster_stack, args[0].from, args 1426 fs/ocfs2/super.c if (match_int(&args[0], &option)) { args 1437 fs/ocfs2/super.c if (match_int(&args[0], &option)) { args 2543 fs/ocfs2/super.c va_list args; args 2545 fs/ocfs2/super.c va_start(args, fmt); args 2547 fs/ocfs2/super.c vaf.va = &args; args 2554 fs/ocfs2/super.c va_end(args); args 2566 fs/ocfs2/super.c va_list args; args 2568 fs/ocfs2/super.c va_start(args, fmt); args 2571 fs/ocfs2/super.c vaf.va = &args; args 2576 fs/ocfs2/super.c va_end(args); args 2461 fs/ocfs2/xattr.c struct ocfs2_rm_xattr_bucket_para args = { args 2475 fs/ocfs2/xattr.c &args); args 5666 fs/ocfs2/xattr.c struct ocfs2_rm_xattr_bucket_para *args = args 5684 fs/ocfs2/xattr.c args->ref_ci, args 5685 fs/ocfs2/xattr.c args->ref_root_bh, args 6339 fs/ocfs2/xattr.c struct ocfs2_xattr_reflink *args, args 6350 fs/ocfs2/xattr.c struct super_block *sb = args->old_inode->i_sb; args 6365 fs/ocfs2/xattr.c if (args->xattr_reflinked && !args->xattr_reflinked(xe)) { args 6414 fs/ocfs2/xattr.c INODE_CACHE(args->new_inode), vb); args 6420 fs/ocfs2/xattr.c ret = ocfs2_xattr_get_clusters(args->old_inode, args 6437 fs/ocfs2/xattr.c args->old_inode->i_sb, args 6447 fs/ocfs2/xattr.c ret = ocfs2_increase_refcount(handle, args->ref_ci, args 6448 fs/ocfs2/xattr.c args->ref_root_bh, args 6450 fs/ocfs2/xattr.c meta_ac, args->dealloc); args 6464 fs/ocfs2/xattr.c static int ocfs2_reflink_xattr_inline(struct ocfs2_xattr_reflink *args) args 6468 fs/ocfs2/xattr.c struct ocfs2_super *osb = OCFS2_SB(args->old_inode->i_sb); args 6469 fs/ocfs2/xattr.c struct ocfs2_dinode *di = (struct ocfs2_dinode *)args->old_bh->b_data; args 6473 fs/ocfs2/xattr.c (args->old_bh->b_data + header_off); args 6475 fs/ocfs2/xattr.c (args->new_bh->b_data + header_off); args 6480 fs/ocfs2/xattr.c .vb_bh = args->new_bh, args 6484 fs/ocfs2/xattr.c ret = ocfs2_reflink_lock_xattr_allocators(osb, xh, args->ref_root_bh, args 6498 fs/ocfs2/xattr.c ret = ocfs2_journal_access_di(handle, INODE_CACHE(args->new_inode), args 6499 fs/ocfs2/xattr.c args->new_bh, OCFS2_JOURNAL_ACCESS_WRITE); args 6505 fs/ocfs2/xattr.c memcpy(args->new_bh->b_data + header_off, args 6506 fs/ocfs2/xattr.c args->old_bh->b_data + header_off, inline_size); args 6508 fs/ocfs2/xattr.c new_di = (struct ocfs2_dinode *)args->new_bh->b_data; args 6511 fs/ocfs2/xattr.c ret = ocfs2_reflink_xattr_header(handle, args, args->old_bh, xh, args 6512 fs/ocfs2/xattr.c args->new_bh, new_xh, &vb, meta_ac, args 6519 fs/ocfs2/xattr.c new_oi = OCFS2_I(args->new_inode); args 6525 fs/ocfs2/xattr.c !(ocfs2_inode_is_fast_symlink(args->new_inode))) { args 6535 fs/ocfs2/xattr.c ocfs2_journal_dirty(handle, args->new_bh); args 6582 fs/ocfs2/xattr.c static int ocfs2_reflink_xattr_block(struct ocfs2_xattr_reflink *args, args 6588 fs/ocfs2/xattr.c struct ocfs2_inode_info *new_oi = OCFS2_I(args->new_inode); args 6590 fs/ocfs2/xattr.c struct ocfs2_super *osb = OCFS2_SB(args->new_inode->i_sb); args 6604 fs/ocfs2/xattr.c ret = ocfs2_reflink_lock_xattr_allocators(osb, xh, args->ref_root_bh, args 6621 fs/ocfs2/xattr.c INODE_CACHE(args->new_inode), args 6622 fs/ocfs2/xattr.c args->new_bh, args 6630 fs/ocfs2/xattr.c ret = ocfs2_journal_access_xb(handle, INODE_CACHE(args->new_inode), args 6640 fs/ocfs2/xattr.c ret = ocfs2_reflink_xattr_header(handle, args, blk_bh, xh, args 6651 fs/ocfs2/xattr.c new_di = (struct ocfs2_dinode *)args->new_bh->b_data; args 6657 fs/ocfs2/xattr.c ocfs2_journal_dirty(handle, args->new_bh); args 6690 fs/ocfs2/xattr.c struct ocfs2_reflink_xattr_tree_args *args = args 6694 fs/ocfs2/xattr.c if (bh == args->old_bucket->bu_bhs[0]) args 6695 fs/ocfs2/xattr.c bucket = args->old_bucket; args 6697 fs/ocfs2/xattr.c bucket = args->new_bucket; args 6748 fs/ocfs2/xattr.c struct ocfs2_reflink_xattr_tree_args *args, args 6756 fs/ocfs2/xattr.c struct ocfs2_super *osb = OCFS2_SB(args->reflink->old_inode->i_sb); args 6761 fs/ocfs2/xattr.c ret = ocfs2_iterate_xattr_buckets(args->reflink->old_inode, blkno, len, args 6781 fs/ocfs2/xattr.c rb = (struct ocfs2_refcount_block *)args->reflink->ref_root_bh->b_data; args 6838 fs/ocfs2/xattr.c struct ocfs2_reflink_xattr_tree_args *args) args 6841 fs/ocfs2/xattr.c struct super_block *sb = args->reflink->old_inode->i_sb; args 6842 fs/ocfs2/xattr.c int bpb = args->old_bucket->bu_blocks; args 6848 fs/ocfs2/xattr.c ret = ocfs2_read_xattr_bucket(args->old_bucket, blkno); args 6854 fs/ocfs2/xattr.c ret = ocfs2_init_xattr_bucket(args->new_bucket, new_blkno, 1); args 6861 fs/ocfs2/xattr.c args->new_bucket, args 6869 fs/ocfs2/xattr.c memcpy(bucket_block(args->new_bucket, j), args 6870 fs/ocfs2/xattr.c bucket_block(args->old_bucket, j), args 6879 fs/ocfs2/xattr.c *cpos = le32_to_cpu(bucket_xh(args->new_bucket)-> args 6881 fs/ocfs2/xattr.c bucket_xh(args->new_bucket)->xh_num_buckets = args 6885 fs/ocfs2/xattr.c ocfs2_xattr_bucket_journal_dirty(handle, args->new_bucket); args 6887 fs/ocfs2/xattr.c ret = ocfs2_reflink_xattr_header(handle, args->reflink, args 6888 fs/ocfs2/xattr.c args->old_bucket->bu_bhs[0], args 6889 fs/ocfs2/xattr.c bucket_xh(args->old_bucket), args 6890 fs/ocfs2/xattr.c args->new_bucket->bu_bhs[0], args 6891 fs/ocfs2/xattr.c bucket_xh(args->new_bucket), args 6894 fs/ocfs2/xattr.c args); args 6906 fs/ocfs2/xattr.c args->new_bucket, args 6913 fs/ocfs2/xattr.c ocfs2_xattr_bucket_journal_dirty(handle, args->new_bucket); args 6915 fs/ocfs2/xattr.c ocfs2_xattr_bucket_relse(args->old_bucket); args 6916 fs/ocfs2/xattr.c ocfs2_xattr_bucket_relse(args->new_bucket); args 6919 fs/ocfs2/xattr.c ocfs2_xattr_bucket_relse(args->old_bucket); args 6920 fs/ocfs2/xattr.c ocfs2_xattr_bucket_relse(args->new_bucket); args 6926 fs/ocfs2/xattr.c struct ocfs2_reflink_xattr_tree_args *args, args 6939 fs/ocfs2/xattr.c ret = ocfs2_read_xattr_bucket(args->old_bucket, blkno); args 6944 fs/ocfs2/xattr.c num_buckets = le16_to_cpu(bucket_xh(args->old_bucket)->xh_num_buckets); args 6945 fs/ocfs2/xattr.c ocfs2_xattr_bucket_relse(args->old_bucket); args 6961 fs/ocfs2/xattr.c meta_ac, data_ac, args); args 7004 fs/ocfs2/xattr.c struct ocfs2_reflink_xattr_tree_args *args = args 7014 fs/ocfs2/xattr.c INODE_CACHE(args->reflink->new_inode), args 7015 fs/ocfs2/xattr.c args->new_blk_bh); args 7017 fs/ocfs2/xattr.c ret = ocfs2_lock_reflink_xattr_rec_allocators(args, &et, blkno, args 7032 fs/ocfs2/xattr.c ret = ocfs2_reflink_xattr_buckets(handle, inode, args, &et, args 7053 fs/ocfs2/xattr.c static int ocfs2_reflink_xattr_tree(struct ocfs2_xattr_reflink *args, args 7061 fs/ocfs2/xattr.c para.reflink = args; args 7065 fs/ocfs2/xattr.c para.old_bucket = ocfs2_xattr_bucket_new(args->old_inode); args 7071 fs/ocfs2/xattr.c para.new_bucket = ocfs2_xattr_bucket_new(args->new_inode); args 7078 fs/ocfs2/xattr.c ret = ocfs2_iterate_xattr_index_block(args->old_inode, blk_bh, args 7090 fs/ocfs2/xattr.c static int ocfs2_reflink_xattr_in_block(struct ocfs2_xattr_reflink *args, args 7102 fs/ocfs2/xattr.c ret = ocfs2_create_empty_xattr_block(args->new_inode, args->new_bh, args 7110 fs/ocfs2/xattr.c ret = ocfs2_reflink_xattr_block(args, blk_bh, new_blk_bh); args 7112 fs/ocfs2/xattr.c ret = ocfs2_reflink_xattr_tree(args, blk_bh, new_blk_bh); args 7137 fs/ocfs2/xattr.c struct ocfs2_xattr_reflink args; args 7155 fs/ocfs2/xattr.c args.old_inode = old_inode; args 7156 fs/ocfs2/xattr.c args.new_inode = new_inode; args 7157 fs/ocfs2/xattr.c args.old_bh = old_bh; args 7158 fs/ocfs2/xattr.c args.new_bh = new_bh; args 7159 fs/ocfs2/xattr.c args.ref_ci = &ref_tree->rf_ci; args 7160 fs/ocfs2/xattr.c args.ref_root_bh = ref_root_bh; args 7161 fs/ocfs2/xattr.c args.dealloc = &dealloc; args 7163 fs/ocfs2/xattr.c args.xattr_reflinked = NULL; args 7165 fs/ocfs2/xattr.c args.xattr_reflinked = ocfs2_reflink_xattr_no_security; args 7168 fs/ocfs2/xattr.c ret = ocfs2_reflink_xattr_inline(&args); args 7185 fs/ocfs2/xattr.c ret = ocfs2_reflink_xattr_in_block(&args, blk_bh); args 408 fs/omfs/inode.c substring_t args[MAX_OPT_ARGS]; args 419 fs/omfs/inode.c token = match_token(p, tokens, args); args 422 fs/omfs/inode.c if (match_int(&args[0], &option)) args 429 fs/omfs/inode.c if (match_int(&args[0], &option)) args 436 fs/omfs/inode.c if (match_octal(&args[0], &option)) args 441 fs/omfs/inode.c if (match_octal(&args[0], &option)) args 446 fs/omfs/inode.c if (match_octal(&args[0], &option)) args 727 fs/orangefs/devorangefs-req.c unsigned long args) args 739 fs/orangefs/devorangefs-req.c if (copy_from_user(&d32, (void __user *)args, sizeof(d32))) args 749 fs/orangefs/devorangefs-req.c return dispatch_ioctl_command(cmd, args); args 57 fs/orangefs/super.c substring_t args[MAX_OPT_ARGS]; args 74 fs/orangefs/super.c token = match_token(p, tokens, args); args 485 fs/overlayfs/super.c substring_t args[MAX_OPT_ARGS]; args 490 fs/overlayfs/super.c token = match_token(p, ovl_tokens, args); args 494 fs/overlayfs/super.c config->upperdir = match_strdup(&args[0]); args 501 fs/overlayfs/super.c config->lowerdir = match_strdup(&args[0]); args 508 fs/overlayfs/super.c config->workdir = match_strdup(&args[0]); args 519 fs/overlayfs/super.c config->redirect_mode = match_strdup(&args[0]); args 632 fs/proc/base.c u64 *args = &info.data.args[0]; args 648 fs/proc/base.c args[0], args[1], args[2], args[3], args[4], args[5], args 1102 fs/proc/proc_sysctl.c va_list args; args 1104 fs/proc/proc_sysctl.c va_start(args, fmt); args 1106 fs/proc/proc_sysctl.c vaf.va = &args; args 1111 fs/proc/proc_sysctl.c va_end(args); args 233 fs/pstore/inode.c substring_t args[MAX_OPT_ARGS]; args 245 fs/pstore/inode.c token = match_token(p, tokens, args); args 248 fs/pstore/inode.c if (!match_int(&args[0], &option)) args 236 fs/qnx6/inode.c substring_t args[MAX_OPT_ARGS]; args 246 fs/qnx6/inode.c token = match_token(p, tokens, args); args 139 fs/quota/dquot.c va_list args; args 142 fs/quota/dquot.c va_start(args, fmt); args 145 fs/quota/dquot.c vaf.va = &args; args 150 fs/quota/dquot.c va_end(args); args 286 fs/reiserfs/inode.c struct buffer_head *bh_result, int args) args 317 fs/reiserfs/inode.c if ((args & GET_BLOCK_NO_HOLE) args 349 fs/reiserfs/inode.c if ((args & GET_BLOCK_NO_HOLE) args 360 fs/reiserfs/inode.c if (!(args & GET_BLOCK_READ_DIRECT)) { args 1532 fs/reiserfs/inode.c struct reiserfs_iget_args *args = (struct reiserfs_iget_args *)p; args 1533 fs/reiserfs/inode.c inode->i_ino = args->objectid; args 1534 fs/reiserfs/inode.c INODE_PKEY(inode)->k_dir_id = cpu_to_le32(args->dirid); args 1543 fs/reiserfs/inode.c struct reiserfs_iget_args *args) args 1550 fs/reiserfs/inode.c dirino = args->dirid; args 1634 fs/reiserfs/inode.c struct reiserfs_iget_args *args; args 1636 fs/reiserfs/inode.c args = opaque; args 1638 fs/reiserfs/inode.c return (inode->i_ino == args->objectid) && args 1639 fs/reiserfs/inode.c (le32_to_cpu(INODE_PKEY(inode)->k_dir_id) == args->dirid); args 1645 fs/reiserfs/inode.c struct reiserfs_iget_args args; args 1648 fs/reiserfs/inode.c args.objectid = key->on_disk_key.k_objectid; args 1649 fs/reiserfs/inode.c args.dirid = key->on_disk_key.k_dir_id; args 1653 fs/reiserfs/inode.c (void *)(&args)); args 1659 fs/reiserfs/inode.c reiserfs_read_locked_inode(inode, &args); args 1935 fs/reiserfs/inode.c struct reiserfs_iget_args args; args 1963 fs/reiserfs/inode.c args.objectid = inode->i_ino = le32_to_cpu(ih.ih_key.k_objectid); args 1971 fs/reiserfs/inode.c args.dirid = le32_to_cpu(ih.ih_key.k_dir_id); args 1974 fs/reiserfs/inode.c err = insert_inode_locked4(inode, args.objectid, args 1975 fs/reiserfs/inode.c reiserfs_find_actor, &args); args 203 fs/reiserfs/prints.c static void prepare_error_buf(const char *fmt, va_list args) args 221 fs/reiserfs/prints.c p += vscnprintf(p, end - p, fmt1, args); args 226 fs/reiserfs/prints.c va_arg(args, struct reiserfs_key *)); args 230 fs/reiserfs/prints.c va_arg(args, struct cpu_key *)); args 234 fs/reiserfs/prints.c va_arg(args, struct item_head *)); args 238 fs/reiserfs/prints.c va_arg(args, struct reiserfs_dir_entry *)); args 242 fs/reiserfs/prints.c va_arg(args, struct disk_child *)); args 246 fs/reiserfs/prints.c va_arg(args, struct buffer_head *)); args 250 fs/reiserfs/prints.c va_arg(args, struct buffer_head *)); args 254 fs/reiserfs/prints.c va_arg(args, struct reiserfs_de_head *)); args 260 fs/reiserfs/prints.c p += vscnprintf(p, end - p, fmt1, args); args 279 fs/reiserfs/prints.c va_list args;\ args 280 fs/reiserfs/prints.c va_start( args, fmt );\ args 281 fs/reiserfs/prints.c prepare_error_buf( fmt, args );\ args 282 fs/reiserfs/prints.c va_end( args );\ args 613 fs/reiserfs/prints.c va_list args; args 621 fs/reiserfs/prints.c va_start(args, bh); args 623 fs/reiserfs/prints.c mode = va_arg(args, int); args 624 fs/reiserfs/prints.c first = va_arg(args, int); args 625 fs/reiserfs/prints.c last = va_arg(args, int); args 634 fs/reiserfs/prints.c va_end(args); args 904 fs/reiserfs/reiserfs.h #define reiserfs_warning(s, id, fmt, args...) \ args 905 fs/reiserfs/reiserfs.h __reiserfs_warning(s, id, __func__, fmt, ##args) args 909 fs/reiserfs/reiserfs.h #define __RASSERT(cond, scond, format, args...) \ args 914 fs/reiserfs/reiserfs.h __LINE__, __func__ , ##args); \ args 917 fs/reiserfs/reiserfs.h #define RASSERT(cond, format, args...) __RASSERT(cond, #cond, format, ##args) args 920 fs/reiserfs/reiserfs.h #define RFALSE(cond, format, args...) __RASSERT(!(cond), "!(" #cond ")", format, ##args) args 922 fs/reiserfs/reiserfs.h #define RFALSE( cond, format, args... ) do {;} while( 0 ) args 3066 fs/reiserfs/reiserfs.h struct reiserfs_iget_args *args); args 3192 fs/reiserfs/reiserfs.h #define reiserfs_panic(s, id, fmt, args...) \ args 3193 fs/reiserfs/reiserfs.h __reiserfs_panic(s, id, __func__, fmt, ##args) args 3196 fs/reiserfs/reiserfs.h #define reiserfs_error(s, id, fmt, args...) \ args 3197 fs/reiserfs/reiserfs.h __reiserfs_error(s, id, __func__, fmt, ##args) args 1904 fs/reiserfs/super.c struct reiserfs_iget_args args; args 2060 fs/reiserfs/super.c args.objectid = REISERFS_ROOT_OBJECTID; args 2061 fs/reiserfs/super.c args.dirid = REISERFS_ROOT_PARENT_OBJECTID; args 2064 fs/reiserfs/super.c reiserfs_init_locked_inode, (void *)&args); args 2081 fs/reiserfs/super.c reiserfs_read_locked_inode(root_inode, &args); args 398 fs/seq_file.c void seq_vprintf(struct seq_file *m, const char *f, va_list args) args 403 fs/seq_file.c len = vsnprintf(m->buf + m->count, m->size - m->count, f, args); args 415 fs/seq_file.c va_list args; args 417 fs/seq_file.c va_start(args, f); args 418 fs/seq_file.c seq_vprintf(m, f, args); args 419 fs/seq_file.c va_end(args); args 11 fs/squashfs/squashfs.h #define TRACE(s, args...) pr_debug("SQUASHFS: "s, ## args) args 13 fs/squashfs/squashfs.h #define ERROR(s, args...) pr_err("SQUASHFS error: "s, ## args) args 15 fs/squashfs/squashfs.h #define WARNING(s, args...) pr_warn("SQUASHFS: "s, ## args) args 1599 fs/super.c va_list args; args 1607 fs/super.c va_start(args, fmt); args 1608 fs/super.c err = bdi_register_va(bdi, fmt, args); args 1609 fs/super.c va_end(args); args 164 fs/tracefs/inode.c substring_t args[MAX_OPT_ARGS]; args 177 fs/tracefs/inode.c token = match_token(p, tokens, args); args 180 fs/tracefs/inode.c if (match_int(&args[0], &option)) args 188 fs/tracefs/inode.c if (match_int(&args[0], &option)) args 196 fs/tracefs/inode.c if (match_octal(&args[0], &option)) args 9 fs/ubifs/misc.c va_list args; args 11 fs/ubifs/misc.c va_start(args, fmt); args 14 fs/ubifs/misc.c vaf.va = &args; args 19 fs/ubifs/misc.c va_end(args); args 26 fs/ubifs/misc.c va_list args; args 28 fs/ubifs/misc.c va_start(args, fmt); args 31 fs/ubifs/misc.c vaf.va = &args; args 38 fs/ubifs/misc.c va_end(args); args 45 fs/ubifs/misc.c va_list args; args 47 fs/ubifs/misc.c va_start(args, fmt); args 50 fs/ubifs/misc.c vaf.va = &args; args 57 fs/ubifs/misc.c va_end(args); args 1010 fs/ubifs/super.c substring_t args[MAX_OPT_ARGS]; args 1021 fs/ubifs/super.c token = match_token(p, tokens, args); args 1052 fs/ubifs/super.c char *name = match_strdup(&args[0]); args 1076 fs/ubifs/super.c char *act = match_strdup(&args[0]); args 1095 fs/ubifs/super.c c->auth_key_name = kstrdup(args[0].from, GFP_KERNEL); args 1100 fs/ubifs/super.c c->auth_hash_name = kstrdup(args[0].from, GFP_KERNEL); args 472 fs/udf/super.c substring_t args[MAX_OPT_ARGS]; args 478 fs/udf/super.c token = match_token(p, tokens, args); args 484 fs/udf/super.c if (match_int(&args[0], &option)) args 511 fs/udf/super.c if (match_int(args, &option)) args 519 fs/udf/super.c if (match_int(args, &option)) args 527 fs/udf/super.c if (match_octal(args, &option)) args 535 fs/udf/super.c if (match_int(args, &option)) args 542 fs/udf/super.c if (match_int(args, &option)) args 549 fs/udf/super.c if (match_int(args, &option)) args 571 fs/udf/super.c uopt->nls_map = load_nls(args[0].from); args 586 fs/udf/super.c if (match_octal(args, &option)) args 591 fs/udf/super.c if (match_octal(args, &option)) args 2321 fs/udf/super.c va_list args; args 2323 fs/udf/super.c va_start(args, fmt); args 2326 fs/udf/super.c vaf.va = &args; args 2330 fs/udf/super.c va_end(args); args 2337 fs/udf/super.c va_list args; args 2339 fs/udf/super.c va_start(args, fmt); args 2342 fs/udf/super.c vaf.va = &args; args 2346 fs/udf/super.c va_end(args); args 278 fs/ufs/super.c va_list args; args 289 fs/ufs/super.c va_start(args, fmt); args 291 fs/ufs/super.c vaf.va = &args; args 303 fs/ufs/super.c va_end(args); args 312 fs/ufs/super.c va_list args; args 322 fs/ufs/super.c va_start(args, fmt); args 324 fs/ufs/super.c vaf.va = &args; args 328 fs/ufs/super.c va_end(args); args 335 fs/ufs/super.c va_list args; args 337 fs/ufs/super.c va_start(args, fmt); args 339 fs/ufs/super.c vaf.va = &args; args 342 fs/ufs/super.c va_end(args); args 393 fs/ufs/super.c substring_t args[MAX_OPT_ARGS]; args 398 fs/ufs/super.c token = match_token(p, tokens, args); args 155 fs/unicode/utf8-core.c substring_t args[3]; args 164 fs/unicode/utf8-core.c if (match_token(version_string, token, args) != 1) args 167 fs/unicode/utf8-core.c if (match_int(&args[0], maj) || match_int(&args[1], min) || args 168 fs/unicode/utf8-core.c match_int(&args[2], rev)) args 18 fs/verity/init.c va_list args; args 23 fs/verity/init.c va_start(args, fmt); args 25 fs/verity/init.c vaf.va = &args; args 31 fs/verity/init.c va_end(args); args 322 fs/xfs/libxfs/xfs_ag_resv.c struct xfs_alloc_arg *args) args 328 fs/xfs/libxfs/xfs_ag_resv.c trace_xfs_ag_resv_alloc_extent(pag, type, args->len); args 341 fs/xfs/libxfs/xfs_ag_resv.c field = args->wasdel ? XFS_TRANS_SB_RES_FDBLOCKS : args 343 fs/xfs/libxfs/xfs_ag_resv.c xfs_trans_mod_sb(args->tp, field, -(int64_t)args->len); args 347 fs/xfs/libxfs/xfs_ag_resv.c len = min_t(xfs_extlen_t, args->len, resv->ar_reserved); args 352 fs/xfs/libxfs/xfs_ag_resv.c xfs_trans_mod_sb(args->tp, XFS_TRANS_SB_RES_FDBLOCKS, -(int64_t)len); args 354 fs/xfs/libxfs/xfs_ag_resv.c if (args->len > len) args 355 fs/xfs/libxfs/xfs_ag_resv.c xfs_trans_mod_sb(args->tp, XFS_TRANS_SB_FDBLOCKS, args 356 fs/xfs/libxfs/xfs_ag_resv.c -((int64_t)args->len - len)); args 17 fs/xfs/libxfs/xfs_ag_resv.h struct xfs_alloc_arg *args); args 31 fs/xfs/libxfs/xfs_ag_resv.h struct xfs_alloc_arg args = { NULL }; args 34 fs/xfs/libxfs/xfs_ag_resv.h args.len = 1; args 36 fs/xfs/libxfs/xfs_ag_resv.h xfs_ag_resv_alloc_extent(pag, XFS_AG_RESV_RMAPBT, &args); args 254 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_arg_t *args, /* allocation argument structure */ args 267 fs/xfs/libxfs/xfs_alloc.c busy = xfs_extent_busy_trim(args, &bno, &len, busy_gen); args 273 fs/xfs/libxfs/xfs_alloc.c if (bno < args->min_agbno && bno + len > args->min_agbno) { args 274 fs/xfs/libxfs/xfs_alloc.c diff = args->min_agbno - bno; args 281 fs/xfs/libxfs/xfs_alloc.c if (args->alignment > 1 && len >= args->minlen) { args 282 fs/xfs/libxfs/xfs_alloc.c xfs_agblock_t aligned_bno = roundup(bno, args->alignment); args 373 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_arg_t *args) /* allocation argument structure */ args 378 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->mod < args->prod); args 379 fs/xfs/libxfs/xfs_alloc.c rlen = args->len; args 380 fs/xfs/libxfs/xfs_alloc.c ASSERT(rlen >= args->minlen); args 381 fs/xfs/libxfs/xfs_alloc.c ASSERT(rlen <= args->maxlen); args 382 fs/xfs/libxfs/xfs_alloc.c if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || args 383 fs/xfs/libxfs/xfs_alloc.c (args->mod == 0 && rlen < args->prod)) args 385 fs/xfs/libxfs/xfs_alloc.c k = rlen % args->prod; args 386 fs/xfs/libxfs/xfs_alloc.c if (k == args->mod) args 388 fs/xfs/libxfs/xfs_alloc.c if (k > args->mod) args 389 fs/xfs/libxfs/xfs_alloc.c rlen = rlen - (k - args->mod); args 391 fs/xfs/libxfs/xfs_alloc.c rlen = rlen - args->prod + (args->mod - k); args 393 fs/xfs/libxfs/xfs_alloc.c if ((int)rlen < (int)args->minlen) args 395 fs/xfs/libxfs/xfs_alloc.c ASSERT(rlen >= args->minlen && rlen <= args->maxlen); args 396 fs/xfs/libxfs/xfs_alloc.c ASSERT(rlen % args->prod == args->mod); args 397 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->pag->pagf_freeblks + args->pag->pagf_flcount >= args 398 fs/xfs/libxfs/xfs_alloc.c rlen + args->minleft); args 399 fs/xfs/libxfs/xfs_alloc.c args->len = rlen; args 705 fs/xfs/libxfs/xfs_alloc.c struct xfs_alloc_arg *args, /* allocation argument structure */ args 730 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error); args 734 fs/xfs/libxfs/xfs_alloc.c if (args->minlen != 1 || args->alignment != 1 || args 735 fs/xfs/libxfs/xfs_alloc.c args->resv == XFS_AG_RESV_AGFL || args 736 fs/xfs/libxfs/xfs_alloc.c (be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_flcount) <= args 737 fs/xfs/libxfs/xfs_alloc.c args->minleft)) args 740 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_get_freelist(args->tp, args->agbp, &fbno, 0); args 746 fs/xfs/libxfs/xfs_alloc.c xfs_extent_busy_reuse(args->mp, args->agno, fbno, 1, args 747 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_allow_busy_reuse(args->datatype)); args 749 fs/xfs/libxfs/xfs_alloc.c if (xfs_alloc_is_userdata(args->datatype)) { args 752 fs/xfs/libxfs/xfs_alloc.c bp = xfs_btree_get_bufs(args->mp, args->tp, args->agno, fbno); args 757 fs/xfs/libxfs/xfs_alloc.c xfs_trans_binval(args->tp, bp); args 759 fs/xfs/libxfs/xfs_alloc.c *fbnop = args->agbno = fbno; args 760 fs/xfs/libxfs/xfs_alloc.c *flenp = args->len = 1; args 761 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, args 762 fs/xfs/libxfs/xfs_alloc.c fbno < be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length), args 764 fs/xfs/libxfs/xfs_alloc.c args->wasfromfl = 1; args 765 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_small_freelist(args); args 771 fs/xfs/libxfs/xfs_alloc.c error = xfs_rmap_free(args->tp, args->agbp, args->agno, fbno, 1, args 783 fs/xfs/libxfs/xfs_alloc.c if (flen < args->minlen) { args 784 fs/xfs/libxfs/xfs_alloc.c args->agbno = NULLAGBLOCK; args 785 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_small_notenough(args); args 791 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_small_done(args); args 795 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_small_error(args); args 809 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_arg_t *args) /* argument structure for allocation */ args 813 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->minlen > 0); args 814 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->maxlen > 0); args 815 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->minlen <= args->maxlen); args 816 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->mod < args->prod); args 817 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->alignment > 0); args 822 fs/xfs/libxfs/xfs_alloc.c args->wasfromfl = 0; args 823 fs/xfs/libxfs/xfs_alloc.c switch (args->type) { args 825 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_ag_vextent_size(args); args 828 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_ag_vextent_near(args); args 831 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_ag_vextent_exact(args); args 838 fs/xfs/libxfs/xfs_alloc.c if (error || args->agbno == NULLAGBLOCK) args 841 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->len >= args->minlen); args 842 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->len <= args->maxlen); args 843 fs/xfs/libxfs/xfs_alloc.c ASSERT(!args->wasfromfl || args->resv != XFS_AG_RESV_AGFL); args 844 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->agbno % args->alignment == 0); args 847 fs/xfs/libxfs/xfs_alloc.c if (!xfs_rmap_should_skip_owner_update(&args->oinfo)) { args 848 fs/xfs/libxfs/xfs_alloc.c error = xfs_rmap_alloc(args->tp, args->agbp, args->agno, args 849 fs/xfs/libxfs/xfs_alloc.c args->agbno, args->len, &args->oinfo); args 854 fs/xfs/libxfs/xfs_alloc.c if (!args->wasfromfl) { args 855 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_update_counters(args->tp, args->pag, args 856 fs/xfs/libxfs/xfs_alloc.c args->agbp, args 857 fs/xfs/libxfs/xfs_alloc.c -((long)(args->len))); args 861 fs/xfs/libxfs/xfs_alloc.c ASSERT(!xfs_extent_busy_search(args->mp, args->agno, args 862 fs/xfs/libxfs/xfs_alloc.c args->agbno, args->len)); args 865 fs/xfs/libxfs/xfs_alloc.c xfs_ag_resv_alloc_extent(args->pag, args->resv, args); args 867 fs/xfs/libxfs/xfs_alloc.c XFS_STATS_INC(args->mp, xs_allocx); args 868 fs/xfs/libxfs/xfs_alloc.c XFS_STATS_ADD(args->mp, xs_allocb, args->len); args 880 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_arg_t *args) /* allocation argument structure */ args 893 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->alignment == 1); args 898 fs/xfs/libxfs/xfs_alloc.c bno_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, args 899 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_BNO); args 906 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_lookup_le(bno_cur, args->agbno, args->minlen, &i); args 918 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 919 fs/xfs/libxfs/xfs_alloc.c ASSERT(fbno <= args->agbno); args 926 fs/xfs/libxfs/xfs_alloc.c xfs_extent_busy_trim(args, &tbno, &tlen, &busy_gen); args 932 fs/xfs/libxfs/xfs_alloc.c if (tbno > args->agbno) args 934 fs/xfs/libxfs/xfs_alloc.c if (tlen < args->minlen) args 937 fs/xfs/libxfs/xfs_alloc.c if (tend < args->agbno + args->minlen) args 946 fs/xfs/libxfs/xfs_alloc.c args->len = XFS_AGBLOCK_MIN(tend, args->agbno + args->maxlen) args 947 fs/xfs/libxfs/xfs_alloc.c - args->agbno; args 948 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_fix_len(args); args 949 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->agbno + args->len <= tend); args 955 fs/xfs/libxfs/xfs_alloc.c cnt_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, args 956 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_CNT); args 957 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->agbno + args->len <= args 958 fs/xfs/libxfs/xfs_alloc.c be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); args 959 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, args 960 fs/xfs/libxfs/xfs_alloc.c args->len, XFSA_FIXUP_BNO_OK); args 969 fs/xfs/libxfs/xfs_alloc.c args->wasfromfl = 0; args 970 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_exact_done(args); args 976 fs/xfs/libxfs/xfs_alloc.c args->agbno = NULLAGBLOCK; args 977 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_exact_notfound(args); args 982 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_exact_error(args); args 992 fs/xfs/libxfs/xfs_alloc.c struct xfs_alloc_arg *args, /* allocation argument structure */ args 1019 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 1020 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_compute_aligned(args, *sbno, *slen, args 1027 fs/xfs/libxfs/xfs_alloc.c if (*sbnoa > args->max_agbno) args 1029 fs/xfs/libxfs/xfs_alloc.c if (*sbnoa >= args->agbno + gdiff) args 1032 fs/xfs/libxfs/xfs_alloc.c if (*sbnoa < args->min_agbno) args 1034 fs/xfs/libxfs/xfs_alloc.c if (*sbnoa <= args->agbno - gdiff) args 1041 fs/xfs/libxfs/xfs_alloc.c if (*slena >= args->minlen) { args 1042 fs/xfs/libxfs/xfs_alloc.c args->len = XFS_EXTLEN_MIN(*slena, args->maxlen); args 1043 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_fix_len(args); args 1045 fs/xfs/libxfs/xfs_alloc.c sdiff = xfs_alloc_compute_diff(args->agbno, args->len, args 1046 fs/xfs/libxfs/xfs_alloc.c args->alignment, args 1047 fs/xfs/libxfs/xfs_alloc.c args->datatype, *sbnoa, args 1089 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_arg_t *args) /* allocation argument structure */ args 1122 fs/xfs/libxfs/xfs_alloc.c if (!args->min_agbno && !args->max_agbno) args 1123 fs/xfs/libxfs/xfs_alloc.c args->max_agbno = args->mp->m_sb.sb_agblocks - 1; args 1124 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->min_agbno <= args->max_agbno); args 1127 fs/xfs/libxfs/xfs_alloc.c if (args->agbno < args->min_agbno) args 1128 fs/xfs/libxfs/xfs_alloc.c args->agbno = args->min_agbno; args 1129 fs/xfs/libxfs/xfs_alloc.c if (args->agbno > args->max_agbno) args 1130 fs/xfs/libxfs/xfs_alloc.c args->agbno = args->max_agbno; args 1143 fs/xfs/libxfs/xfs_alloc.c cnt_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, args 1144 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_CNT); args 1149 fs/xfs/libxfs/xfs_alloc.c if ((error = xfs_alloc_lookup_ge(cnt_cur, 0, args->maxlen, &i))) args 1156 fs/xfs/libxfs/xfs_alloc.c if ((error = xfs_alloc_ag_vextent_small(args, cnt_cur, <bno, args 1161 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_near_noentry(args); args 1166 fs/xfs/libxfs/xfs_alloc.c args->wasfromfl = 0; args 1194 fs/xfs/libxfs/xfs_alloc.c if (ltlen || args->alignment > 1) { args 1200 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 1201 fs/xfs/libxfs/xfs_alloc.c if (ltlen >= args->minlen) args 1206 fs/xfs/libxfs/xfs_alloc.c ASSERT(ltlen >= args->minlen); args 1212 fs/xfs/libxfs/xfs_alloc.c !error && j && (blen < args->maxlen || bdiff > 0); args 1220 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 1221 fs/xfs/libxfs/xfs_alloc.c busy = xfs_alloc_compute_aligned(args, ltbno, ltlen, args 1223 fs/xfs/libxfs/xfs_alloc.c if (ltlena < args->minlen) args 1225 fs/xfs/libxfs/xfs_alloc.c if (ltbnoa < args->min_agbno || ltbnoa > args->max_agbno) args 1227 fs/xfs/libxfs/xfs_alloc.c args->len = XFS_EXTLEN_MIN(ltlena, args->maxlen); args 1228 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_fix_len(args); args 1229 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->len >= args->minlen); args 1230 fs/xfs/libxfs/xfs_alloc.c if (args->len < blen) args 1232 fs/xfs/libxfs/xfs_alloc.c ltdiff = xfs_alloc_compute_diff(args->agbno, args->len, args 1233 fs/xfs/libxfs/xfs_alloc.c args->alignment, args->datatype, ltbnoa, args 1236 fs/xfs/libxfs/xfs_alloc.c (args->len > blen || ltdiff < bdiff)) { args 1239 fs/xfs/libxfs/xfs_alloc.c blen = args->len; args 1255 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 1256 fs/xfs/libxfs/xfs_alloc.c ASSERT(ltbno + ltlen <= be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); args 1257 fs/xfs/libxfs/xfs_alloc.c args->len = blen; args 1262 fs/xfs/libxfs/xfs_alloc.c args->agbno = bnew; args 1268 fs/xfs/libxfs/xfs_alloc.c bno_cur_lt = xfs_allocbt_init_cursor(args->mp, args->tp, args 1269 fs/xfs/libxfs/xfs_alloc.c args->agbp, args->agno, XFS_BTNUM_BNO); args 1279 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_near_first(args); args 1297 fs/xfs/libxfs/xfs_alloc.c bno_cur_lt = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, args 1298 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_BNO); args 1302 fs/xfs/libxfs/xfs_alloc.c if ((error = xfs_alloc_lookup_le(bno_cur_lt, args->agbno, args->maxlen, &i))) args 1339 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 1340 fs/xfs/libxfs/xfs_alloc.c busy |= xfs_alloc_compute_aligned(args, ltbno, ltlen, args 1342 fs/xfs/libxfs/xfs_alloc.c if (ltlena >= args->minlen && ltbnoa >= args->min_agbno) args 1346 fs/xfs/libxfs/xfs_alloc.c if (!i || ltbnoa < args->min_agbno) { args 1355 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 1356 fs/xfs/libxfs/xfs_alloc.c busy |= xfs_alloc_compute_aligned(args, gtbno, gtlen, args 1358 fs/xfs/libxfs/xfs_alloc.c if (gtlena >= args->minlen && gtbnoa <= args->max_agbno) args 1362 fs/xfs/libxfs/xfs_alloc.c if (!i || gtbnoa > args->max_agbno) { args 1374 fs/xfs/libxfs/xfs_alloc.c if (ltlena >= args->minlen) { args 1378 fs/xfs/libxfs/xfs_alloc.c args->len = XFS_EXTLEN_MIN(ltlena, args->maxlen); args 1379 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_fix_len(args); args 1380 fs/xfs/libxfs/xfs_alloc.c ltdiff = xfs_alloc_compute_diff(args->agbno, args->len, args 1381 fs/xfs/libxfs/xfs_alloc.c args->alignment, args->datatype, ltbnoa, args 1384 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_find_best_extent(args, args 1390 fs/xfs/libxfs/xfs_alloc.c ASSERT(gtlena >= args->minlen); args 1395 fs/xfs/libxfs/xfs_alloc.c args->len = XFS_EXTLEN_MIN(gtlena, args->maxlen); args 1396 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_fix_len(args); args 1397 fs/xfs/libxfs/xfs_alloc.c gtdiff = xfs_alloc_compute_diff(args->agbno, args->len, args 1398 fs/xfs/libxfs/xfs_alloc.c args->alignment, args->datatype, gtbnoa, args 1401 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_find_best_extent(args, args 1419 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_near_busy(args); args 1420 fs/xfs/libxfs/xfs_alloc.c xfs_extent_busy_flush(args->mp, args->pag, busy_gen); args 1423 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_size_neither(args); args 1424 fs/xfs/libxfs/xfs_alloc.c args->agbno = NULLAGBLOCK; args 1448 fs/xfs/libxfs/xfs_alloc.c args->len = XFS_EXTLEN_MIN(ltlena, args->maxlen); args 1449 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_fix_len(args); args 1450 fs/xfs/libxfs/xfs_alloc.c rlen = args->len; args 1451 fs/xfs/libxfs/xfs_alloc.c (void)xfs_alloc_compute_diff(args->agbno, rlen, args->alignment, args 1452 fs/xfs/libxfs/xfs_alloc.c args->datatype, ltbnoa, ltlena, <new); args 1455 fs/xfs/libxfs/xfs_alloc.c ASSERT(ltnew + rlen <= be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); args 1456 fs/xfs/libxfs/xfs_alloc.c ASSERT(ltnew >= args->min_agbno && ltnew <= args->max_agbno); args 1457 fs/xfs/libxfs/xfs_alloc.c args->agbno = ltnew; args 1464 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_near_greater(args); args 1466 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_near_lesser(args); args 1473 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_near_error(args); args 1491 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_arg_t *args) /* allocation argument structure */ args 1508 fs/xfs/libxfs/xfs_alloc.c cnt_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, args 1509 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_CNT); args 1517 fs/xfs/libxfs/xfs_alloc.c args->maxlen + args->alignment - 1, &i))) args 1528 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_ag_vextent_small(args, cnt_cur, args 1534 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_size_noentry(args); args 1538 fs/xfs/libxfs/xfs_alloc.c busy = xfs_alloc_compute_aligned(args, fbno, flen, &rbno, args 1548 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 1550 fs/xfs/libxfs/xfs_alloc.c busy = xfs_alloc_compute_aligned(args, fbno, flen, args 1553 fs/xfs/libxfs/xfs_alloc.c if (rlen >= args->maxlen) args 1567 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_size_busy(args); args 1568 fs/xfs/libxfs/xfs_alloc.c xfs_extent_busy_flush(args->mp, args 1569 fs/xfs/libxfs/xfs_alloc.c args->pag, busy_gen); args 1581 fs/xfs/libxfs/xfs_alloc.c rlen = XFS_EXTLEN_MIN(args->maxlen, rlen); args 1582 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, rlen == 0 || args 1584 fs/xfs/libxfs/xfs_alloc.c if (rlen < args->maxlen) { args 1602 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 1605 fs/xfs/libxfs/xfs_alloc.c busy = xfs_alloc_compute_aligned(args, fbno, flen, args 1607 fs/xfs/libxfs/xfs_alloc.c rlen = XFS_EXTLEN_MIN(args->maxlen, rlen); args 1608 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, rlen == 0 || args 1616 fs/xfs/libxfs/xfs_alloc.c if (rlen == args->maxlen) args 1623 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, i == 1, error0); args 1629 fs/xfs/libxfs/xfs_alloc.c args->wasfromfl = 0; args 1633 fs/xfs/libxfs/xfs_alloc.c args->len = rlen; args 1634 fs/xfs/libxfs/xfs_alloc.c if (rlen < args->minlen) { args 1637 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_size_busy(args); args 1638 fs/xfs/libxfs/xfs_alloc.c xfs_extent_busy_flush(args->mp, args->pag, busy_gen); args 1643 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_fix_len(args); args 1645 fs/xfs/libxfs/xfs_alloc.c rlen = args->len; args 1646 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, rlen <= flen, error0); args 1650 fs/xfs/libxfs/xfs_alloc.c bno_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, args 1651 fs/xfs/libxfs/xfs_alloc.c args->agno, XFS_BTNUM_BNO); args 1658 fs/xfs/libxfs/xfs_alloc.c args->len = rlen; args 1659 fs/xfs/libxfs/xfs_alloc.c args->agbno = rbno; args 1660 fs/xfs/libxfs/xfs_alloc.c XFS_WANT_CORRUPTED_GOTO(args->mp, args 1661 fs/xfs/libxfs/xfs_alloc.c args->agbno + args->len <= args 1662 fs/xfs/libxfs/xfs_alloc.c be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length), args 1664 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_size_done(args); args 1668 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_size_error(args); args 1677 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_size_nominleft(args); args 1678 fs/xfs/libxfs/xfs_alloc.c args->agbno = NULLAGBLOCK; args 2028 fs/xfs/libxfs/xfs_alloc.c struct xfs_alloc_arg *args, args 2032 fs/xfs/libxfs/xfs_alloc.c struct xfs_perag *pag = args->pag; args 2041 fs/xfs/libxfs/xfs_alloc.c reservation = xfs_ag_resv_needed(pag, args->resv); args 2044 fs/xfs/libxfs/xfs_alloc.c alloc_len = args->minlen + (args->alignment - 1) + args->minalignslop; args 2056 fs/xfs/libxfs/xfs_alloc.c reservation - min_free - args->minleft); args 2057 fs/xfs/libxfs/xfs_alloc.c if (available < (int)max(args->total, alloc_len)) args 2064 fs/xfs/libxfs/xfs_alloc.c if (available < (int)args->maxlen && !(flags & XFS_ALLOC_FLAG_CHECK)) { args 2065 fs/xfs/libxfs/xfs_alloc.c args->maxlen = available; args 2066 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->maxlen > 0); args 2067 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->maxlen >= args->minlen); args 2224 fs/xfs/libxfs/xfs_alloc.c struct xfs_alloc_arg *args, /* allocation argument structure */ args 2227 fs/xfs/libxfs/xfs_alloc.c struct xfs_mount *mp = args->mp; args 2228 fs/xfs/libxfs/xfs_alloc.c struct xfs_perag *pag = args->pag; args 2229 fs/xfs/libxfs/xfs_alloc.c struct xfs_trans *tp = args->tp; args 2241 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_read_agf(mp, tp, args->agno, flags, &agbp); args 2256 fs/xfs/libxfs/xfs_alloc.c if (pag->pagf_metadata && xfs_alloc_is_userdata(args->datatype) && args 2263 fs/xfs/libxfs/xfs_alloc.c if (!xfs_alloc_space_available(args, need, flags | args 2272 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_read_agf(mp, tp, args->agno, flags, &agbp); args 2288 fs/xfs/libxfs/xfs_alloc.c if (!xfs_alloc_space_available(args, need, flags)) args 2327 fs/xfs/libxfs/xfs_alloc.c xfs_defer_agfl_block(tp, args->agno, bno, &targs.oinfo); args 2333 fs/xfs/libxfs/xfs_alloc.c targs.agno = args->agno; args 2373 fs/xfs/libxfs/xfs_alloc.c args->agbp = agbp; args 2382 fs/xfs/libxfs/xfs_alloc.c args->agbp = NULL; args 2779 fs/xfs/libxfs/xfs_alloc.c struct xfs_alloc_arg *args) /* allocation argument structure */ args 2790 fs/xfs/libxfs/xfs_alloc.c mp = args->mp; args 2791 fs/xfs/libxfs/xfs_alloc.c type = args->otype = args->type; args 2792 fs/xfs/libxfs/xfs_alloc.c args->agbno = NULLAGBLOCK; args 2799 fs/xfs/libxfs/xfs_alloc.c if (args->maxlen > agsize) args 2800 fs/xfs/libxfs/xfs_alloc.c args->maxlen = agsize; args 2801 fs/xfs/libxfs/xfs_alloc.c if (args->alignment == 0) args 2802 fs/xfs/libxfs/xfs_alloc.c args->alignment = 1; args 2803 fs/xfs/libxfs/xfs_alloc.c ASSERT(XFS_FSB_TO_AGNO(mp, args->fsbno) < mp->m_sb.sb_agcount); args 2804 fs/xfs/libxfs/xfs_alloc.c ASSERT(XFS_FSB_TO_AGBNO(mp, args->fsbno) < agsize); args 2805 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->minlen <= args->maxlen); args 2806 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->minlen <= agsize); args 2807 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->mod < args->prod); args 2808 fs/xfs/libxfs/xfs_alloc.c if (XFS_FSB_TO_AGNO(mp, args->fsbno) >= mp->m_sb.sb_agcount || args 2809 fs/xfs/libxfs/xfs_alloc.c XFS_FSB_TO_AGBNO(mp, args->fsbno) >= agsize || args 2810 fs/xfs/libxfs/xfs_alloc.c args->minlen > args->maxlen || args->minlen > agsize || args 2811 fs/xfs/libxfs/xfs_alloc.c args->mod >= args->prod) { args 2812 fs/xfs/libxfs/xfs_alloc.c args->fsbno = NULLFSBLOCK; args 2813 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_vextent_badargs(args); args 2824 fs/xfs/libxfs/xfs_alloc.c args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); args 2825 fs/xfs/libxfs/xfs_alloc.c args->pag = xfs_perag_get(mp, args->agno); args 2826 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_fix_freelist(args, 0); args 2828 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_vextent_nofix(args); args 2831 fs/xfs/libxfs/xfs_alloc.c if (!args->agbp) { args 2832 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_vextent_noagbp(args); args 2835 fs/xfs/libxfs/xfs_alloc.c args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); args 2836 fs/xfs/libxfs/xfs_alloc.c if ((error = xfs_alloc_ag_vextent(args))) args 2844 fs/xfs/libxfs/xfs_alloc.c if ((args->datatype & XFS_ALLOC_INITIAL_USER_DATA) && args 2846 fs/xfs/libxfs/xfs_alloc.c args->fsbno = XFS_AGB_TO_FSB(mp, args 2851 fs/xfs/libxfs/xfs_alloc.c args->agbno = XFS_FSB_TO_AGBNO(mp, args->fsbno); args 2852 fs/xfs/libxfs/xfs_alloc.c args->type = XFS_ALLOCTYPE_NEAR_BNO; args 2862 fs/xfs/libxfs/xfs_alloc.c args->agno = XFS_FSB_TO_AGNO(mp, args->fsbno); args 2863 fs/xfs/libxfs/xfs_alloc.c args->type = XFS_ALLOCTYPE_THIS_AG; args 2870 fs/xfs/libxfs/xfs_alloc.c args->agno = sagno = XFS_FSB_TO_AGNO(mp, args->fsbno); args 2878 fs/xfs/libxfs/xfs_alloc.c args->pag = xfs_perag_get(mp, args->agno); args 2879 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_fix_freelist(args, flags); args 2881 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_vextent_nofix(args); args 2887 fs/xfs/libxfs/xfs_alloc.c if (args->agbp) { args 2888 fs/xfs/libxfs/xfs_alloc.c if ((error = xfs_alloc_ag_vextent(args))) args 2893 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_vextent_loopfailed(args); args 2898 fs/xfs/libxfs/xfs_alloc.c if (args->agno == sagno && args 2900 fs/xfs/libxfs/xfs_alloc.c args->type = XFS_ALLOCTYPE_THIS_AG; args 2908 fs/xfs/libxfs/xfs_alloc.c if (++(args->agno) == mp->m_sb.sb_agcount) { args 2909 fs/xfs/libxfs/xfs_alloc.c if (args->tp->t_firstblock != NULLFSBLOCK) args 2910 fs/xfs/libxfs/xfs_alloc.c args->agno = sagno; args 2912 fs/xfs/libxfs/xfs_alloc.c args->agno = 0; args 2918 fs/xfs/libxfs/xfs_alloc.c if (args->agno == sagno) { args 2920 fs/xfs/libxfs/xfs_alloc.c args->agbno = NULLAGBLOCK; args 2921 fs/xfs/libxfs/xfs_alloc.c trace_xfs_alloc_vextent_allfailed(args); args 2927 fs/xfs/libxfs/xfs_alloc.c args->agbno = XFS_FSB_TO_AGBNO(mp, args 2928 fs/xfs/libxfs/xfs_alloc.c args->fsbno); args 2929 fs/xfs/libxfs/xfs_alloc.c args->type = XFS_ALLOCTYPE_NEAR_BNO; args 2932 fs/xfs/libxfs/xfs_alloc.c xfs_perag_put(args->pag); args 2935 fs/xfs/libxfs/xfs_alloc.c if (args->agno == sagno) args 2939 fs/xfs/libxfs/xfs_alloc.c mp->m_agfrotor = (args->agno * rotorstep + 1) % args 2947 fs/xfs/libxfs/xfs_alloc.c if (args->agbno == NULLAGBLOCK) args 2948 fs/xfs/libxfs/xfs_alloc.c args->fsbno = NULLFSBLOCK; args 2950 fs/xfs/libxfs/xfs_alloc.c args->fsbno = XFS_AGB_TO_FSB(mp, args->agno, args->agbno); args 2952 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->len >= args->minlen); args 2953 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->len <= args->maxlen); args 2954 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->agbno % args->alignment == 0); args 2955 fs/xfs/libxfs/xfs_alloc.c XFS_AG_CHECK_DADDR(mp, XFS_FSB_TO_DADDR(mp, args->fsbno), args 2956 fs/xfs/libxfs/xfs_alloc.c args->len); args 2960 fs/xfs/libxfs/xfs_alloc.c if (args->datatype & XFS_ALLOC_USERDATA_ZERO) { args 2961 fs/xfs/libxfs/xfs_alloc.c error = xfs_zero_extent(args->ip, args->fsbno, args->len); args 2967 fs/xfs/libxfs/xfs_alloc.c xfs_perag_put(args->pag); args 2970 fs/xfs/libxfs/xfs_alloc.c xfs_perag_put(args->pag); args 2981 fs/xfs/libxfs/xfs_alloc.c struct xfs_alloc_arg args; args 2984 fs/xfs/libxfs/xfs_alloc.c memset(&args, 0, sizeof(struct xfs_alloc_arg)); args 2985 fs/xfs/libxfs/xfs_alloc.c args.tp = tp; args 2986 fs/xfs/libxfs/xfs_alloc.c args.mp = tp->t_mountp; args 2987 fs/xfs/libxfs/xfs_alloc.c args.agno = agno; args 2993 fs/xfs/libxfs/xfs_alloc.c if (args.agno >= args.mp->m_sb.sb_agcount) args 2996 fs/xfs/libxfs/xfs_alloc.c args.pag = xfs_perag_get(args.mp, args.agno); args 2997 fs/xfs/libxfs/xfs_alloc.c ASSERT(args.pag); args 2999 fs/xfs/libxfs/xfs_alloc.c error = xfs_alloc_fix_freelist(&args, XFS_ALLOC_FLAG_FREEING); args 3003 fs/xfs/libxfs/xfs_alloc.c *agbp = args.agbp; args 3005 fs/xfs/libxfs/xfs_alloc.c xfs_perag_put(args.pag); args 175 fs/xfs/libxfs/xfs_alloc.h xfs_alloc_arg_t *args); /* allocation argument structure */ args 227 fs/xfs/libxfs/xfs_alloc.h int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, int flags); args 41 fs/xfs/libxfs/xfs_attr.c STATIC int xfs_attr_shortform_addname(xfs_da_args_t *args); args 46 fs/xfs/libxfs/xfs_attr.c STATIC int xfs_attr_leaf_get(xfs_da_args_t *args); args 47 fs/xfs/libxfs/xfs_attr.c STATIC int xfs_attr_leaf_addname(xfs_da_args_t *args); args 48 fs/xfs/libxfs/xfs_attr.c STATIC int xfs_attr_leaf_removename(xfs_da_args_t *args); args 53 fs/xfs/libxfs/xfs_attr.c STATIC int xfs_attr_node_get(xfs_da_args_t *args); args 54 fs/xfs/libxfs/xfs_attr.c STATIC int xfs_attr_node_addname(xfs_da_args_t *args); args 55 fs/xfs/libxfs/xfs_attr.c STATIC int xfs_attr_node_removename(xfs_da_args_t *args); args 62 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args, args 71 fs/xfs/libxfs/xfs_attr.c memset(args, 0, sizeof(*args)); args 72 fs/xfs/libxfs/xfs_attr.c args->geo = dp->i_mount->m_attr_geo; args 73 fs/xfs/libxfs/xfs_attr.c args->whichfork = XFS_ATTR_FORK; args 74 fs/xfs/libxfs/xfs_attr.c args->dp = dp; args 75 fs/xfs/libxfs/xfs_attr.c args->flags = flags; args 76 fs/xfs/libxfs/xfs_attr.c args->name = name; args 77 fs/xfs/libxfs/xfs_attr.c args->namelen = strlen((const char *)name); args 78 fs/xfs/libxfs/xfs_attr.c if (args->namelen >= MAXNAMELEN) args 81 fs/xfs/libxfs/xfs_attr.c args->hashval = xfs_da_hashname(args->name, args->namelen); args 107 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args) args 114 fs/xfs/libxfs/xfs_attr.c return xfs_attr_shortform_getvalue(args); args 116 fs/xfs/libxfs/xfs_attr.c return xfs_attr_leaf_get(args); args 118 fs/xfs/libxfs/xfs_attr.c return xfs_attr_node_get(args); args 146 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args args; args 157 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_args_init(&args, ip, name, flags); args 162 fs/xfs/libxfs/xfs_attr.c args.op_flags = XFS_DA_OP_OKNOENT; args 164 fs/xfs/libxfs/xfs_attr.c args.op_flags |= XFS_DA_OP_ALLOCVAL; args 166 fs/xfs/libxfs/xfs_attr.c args.value = *value; args 167 fs/xfs/libxfs/xfs_attr.c args.valuelen = *valuelenp; args 170 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_get_ilocked(ip, &args); args 172 fs/xfs/libxfs/xfs_attr.c *valuelenp = args.valuelen; args 177 fs/xfs/libxfs/xfs_attr.c kmem_free(args.value); args 182 fs/xfs/libxfs/xfs_attr.c *value = args.value; args 191 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args, args 194 fs/xfs/libxfs/xfs_attr.c struct xfs_mount *mp = args->dp->i_mount; args 202 fs/xfs/libxfs/xfs_attr.c size = xfs_attr_leaf_newentsize(args, local); args 205 fs/xfs/libxfs/xfs_attr.c if (size > (args->geo->blksize / 2)) { args 214 fs/xfs/libxfs/xfs_attr.c uint dblocks = xfs_attr3_rmt_blocks(mp, args->valuelen); args 225 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args) args 231 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_shortform_addname(args); args 239 fs/xfs/libxfs/xfs_attr.c if (!error && (args->flags & ATTR_KERNOTIME) == 0) args 240 fs/xfs/libxfs/xfs_attr.c xfs_trans_ichgtime(args->trans, dp, XFS_ICHGTIME_CHG); args 243 fs/xfs/libxfs/xfs_attr.c xfs_trans_set_sync(args->trans); args 245 fs/xfs/libxfs/xfs_attr.c error2 = xfs_trans_commit(args->trans); args 246 fs/xfs/libxfs/xfs_attr.c args->trans = NULL; args 255 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args) args 257 fs/xfs/libxfs/xfs_attr.c struct xfs_inode *dp = args->dp; args 273 fs/xfs/libxfs/xfs_attr.c xfs_attr_shortform_create(args); args 278 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_try_sf_addname(dp, args); args 286 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_shortform_to_leaf(args, &leaf_bp); args 297 fs/xfs/libxfs/xfs_attr.c xfs_trans_bhold(args->trans, leaf_bp); args 298 fs/xfs/libxfs/xfs_attr.c error = xfs_defer_finish(&args->trans); args 299 fs/xfs/libxfs/xfs_attr.c xfs_trans_bhold_release(args->trans, leaf_bp); args 301 fs/xfs/libxfs/xfs_attr.c xfs_trans_brelse(args->trans, leaf_bp); args 307 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_leaf_addname(args); args 309 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_node_addname(args); args 318 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args) args 320 fs/xfs/libxfs/xfs_attr.c struct xfs_inode *dp = args->dp; args 327 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_shortform_remove(args); args 329 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_leaf_removename(args); args 331 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_node_removename(args); args 346 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args args; args 356 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_args_init(&args, dp, name, flags); args 360 fs/xfs/libxfs/xfs_attr.c args.value = value; args 361 fs/xfs/libxfs/xfs_attr.c args.valuelen = valuelen; args 362 fs/xfs/libxfs/xfs_attr.c args.op_flags = XFS_DA_OP_ADDNAME | XFS_DA_OP_OKNOENT; args 363 fs/xfs/libxfs/xfs_attr.c args.total = xfs_attr_calc_size(&args, &local); args 375 fs/xfs/libxfs/xfs_attr.c XFS_ATTR_SF_ENTSIZE_BYNAME(args.namelen, valuelen); args 383 fs/xfs/libxfs/xfs_attr.c M_RES(mp)->tr_attrsetrt.tr_logres * args.total; args 391 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_alloc(mp, &tres, args.total, 0, args 392 fs/xfs/libxfs/xfs_attr.c rsvd ? XFS_TRANS_RESERVE : 0, &args.trans); args 397 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_reserve_quota_nblks(args.trans, dp, args.total, 0, args 403 fs/xfs/libxfs/xfs_attr.c xfs_trans_ijoin(args.trans, dp, 0); args 404 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_set_args(&args); args 407 fs/xfs/libxfs/xfs_attr.c if (!args.trans) { args 417 fs/xfs/libxfs/xfs_attr.c xfs_trans_set_sync(args.trans); args 420 fs/xfs/libxfs/xfs_attr.c xfs_trans_ichgtime(args.trans, dp, XFS_ICHGTIME_CHG); args 425 fs/xfs/libxfs/xfs_attr.c xfs_trans_log_inode(args.trans, dp, XFS_ILOG_CORE); args 426 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_commit(args.trans); args 432 fs/xfs/libxfs/xfs_attr.c if (args.trans) args 433 fs/xfs/libxfs/xfs_attr.c xfs_trans_cancel(args.trans); args 448 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args args; args 456 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_args_init(&args, dp, name, flags); args 465 fs/xfs/libxfs/xfs_attr.c args.op_flags = XFS_DA_OP_OKNOENT; args 478 fs/xfs/libxfs/xfs_attr.c &args.trans); args 487 fs/xfs/libxfs/xfs_attr.c xfs_trans_ijoin(args.trans, dp, 0); args 489 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_remove_args(&args); args 498 fs/xfs/libxfs/xfs_attr.c xfs_trans_set_sync(args.trans); args 501 fs/xfs/libxfs/xfs_attr.c xfs_trans_ichgtime(args.trans, dp, XFS_ICHGTIME_CHG); args 506 fs/xfs/libxfs/xfs_attr.c xfs_trans_log_inode(args.trans, dp, XFS_ILOG_CORE); args 507 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_commit(args.trans); args 513 fs/xfs/libxfs/xfs_attr.c if (args.trans) args 514 fs/xfs/libxfs/xfs_attr.c xfs_trans_cancel(args.trans); args 528 fs/xfs/libxfs/xfs_attr.c xfs_attr_shortform_addname(xfs_da_args_t *args) args 532 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_sf_addname(args); args 534 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr_shortform_lookup(args); args 535 fs/xfs/libxfs/xfs_attr.c if ((args->flags & ATTR_REPLACE) && (retval == -ENOATTR)) { args 538 fs/xfs/libxfs/xfs_attr.c if (args->flags & ATTR_CREATE) args 540 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr_shortform_remove(args); args 548 fs/xfs/libxfs/xfs_attr.c args->flags &= ~ATTR_REPLACE; args 551 fs/xfs/libxfs/xfs_attr.c if (args->namelen >= XFS_ATTR_SF_ENTSIZE_MAX || args 552 fs/xfs/libxfs/xfs_attr.c args->valuelen >= XFS_ATTR_SF_ENTSIZE_MAX) args 555 fs/xfs/libxfs/xfs_attr.c newsize = XFS_ATTR_SF_TOTSIZE(args->dp); args 556 fs/xfs/libxfs/xfs_attr.c newsize += XFS_ATTR_SF_ENTSIZE_BYNAME(args->namelen, args->valuelen); args 558 fs/xfs/libxfs/xfs_attr.c forkoff = xfs_attr_shortform_bytesfit(args->dp, newsize); args 562 fs/xfs/libxfs/xfs_attr.c xfs_attr_shortform_add(args, forkoff); args 579 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args) args 585 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_leaf_addname(args); args 590 fs/xfs/libxfs/xfs_attr.c dp = args->dp; args 591 fs/xfs/libxfs/xfs_attr.c args->blkno = 0; args 592 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp); args 600 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_lookup_int(bp, args); args 601 fs/xfs/libxfs/xfs_attr.c if ((args->flags & ATTR_REPLACE) && (retval == -ENOATTR)) { args 602 fs/xfs/libxfs/xfs_attr.c xfs_trans_brelse(args->trans, bp); args 605 fs/xfs/libxfs/xfs_attr.c if (args->flags & ATTR_CREATE) { /* pure create op */ args 606 fs/xfs/libxfs/xfs_attr.c xfs_trans_brelse(args->trans, bp); args 610 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_leaf_replace(args); args 613 fs/xfs/libxfs/xfs_attr.c args->op_flags |= XFS_DA_OP_RENAME; /* an atomic rename */ args 614 fs/xfs/libxfs/xfs_attr.c args->blkno2 = args->blkno; /* set 2nd entry info*/ args 615 fs/xfs/libxfs/xfs_attr.c args->index2 = args->index; args 616 fs/xfs/libxfs/xfs_attr.c args->rmtblkno2 = args->rmtblkno; args 617 fs/xfs/libxfs/xfs_attr.c args->rmtblkcnt2 = args->rmtblkcnt; args 618 fs/xfs/libxfs/xfs_attr.c args->rmtvaluelen2 = args->rmtvaluelen; args 625 fs/xfs/libxfs/xfs_attr.c args->rmtblkno = 0; args 626 fs/xfs/libxfs/xfs_attr.c args->rmtblkcnt = 0; args 627 fs/xfs/libxfs/xfs_attr.c args->rmtvaluelen = 0; args 634 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_add(bp, args); args 641 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_to_node(args); args 644 fs/xfs/libxfs/xfs_attr.c error = xfs_defer_finish(&args->trans); args 652 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_roll_inode(&args->trans, dp); args 659 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_node_addname(args); args 667 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_roll_inode(&args->trans, dp); args 677 fs/xfs/libxfs/xfs_attr.c if (args->rmtblkno > 0) { args 678 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_rmtval_set(args); args 689 fs/xfs/libxfs/xfs_attr.c if (args->op_flags & XFS_DA_OP_RENAME) { args 694 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_flipflags(args); args 702 fs/xfs/libxfs/xfs_attr.c args->index = args->index2; args 703 fs/xfs/libxfs/xfs_attr.c args->blkno = args->blkno2; args 704 fs/xfs/libxfs/xfs_attr.c args->rmtblkno = args->rmtblkno2; args 705 fs/xfs/libxfs/xfs_attr.c args->rmtblkcnt = args->rmtblkcnt2; args 706 fs/xfs/libxfs/xfs_attr.c args->rmtvaluelen = args->rmtvaluelen2; args 707 fs/xfs/libxfs/xfs_attr.c if (args->rmtblkno) { args 708 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_rmtval_remove(args); args 717 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, args 722 fs/xfs/libxfs/xfs_attr.c xfs_attr3_leaf_remove(bp, args); args 728 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_to_shortform(bp, args, forkoff); args 732 fs/xfs/libxfs/xfs_attr.c error = xfs_defer_finish(&args->trans); args 740 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_roll_inode(&args->trans, dp); args 742 fs/xfs/libxfs/xfs_attr.c } else if (args->rmtblkno > 0) { args 746 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_clearflag(args); args 759 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args) args 765 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_leaf_removename(args); args 770 fs/xfs/libxfs/xfs_attr.c dp = args->dp; args 771 fs/xfs/libxfs/xfs_attr.c args->blkno = 0; args 772 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp); args 776 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_lookup_int(bp, args); args 778 fs/xfs/libxfs/xfs_attr.c xfs_trans_brelse(args->trans, bp); args 782 fs/xfs/libxfs/xfs_attr.c xfs_attr3_leaf_remove(bp, args); args 788 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_to_shortform(bp, args, forkoff); args 792 fs/xfs/libxfs/xfs_attr.c error = xfs_defer_finish(&args->trans); args 808 fs/xfs/libxfs/xfs_attr.c xfs_attr_leaf_get(xfs_da_args_t *args) args 813 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_leaf_get(args); args 815 fs/xfs/libxfs/xfs_attr.c args->blkno = 0; args 816 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp); args 820 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_lookup_int(bp, args); args 822 fs/xfs/libxfs/xfs_attr.c xfs_trans_brelse(args->trans, bp); args 825 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_getvalue(bp, args); args 826 fs/xfs/libxfs/xfs_attr.c xfs_trans_brelse(args->trans, bp); args 846 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args) args 854 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_node_addname(args); args 859 fs/xfs/libxfs/xfs_attr.c dp = args->dp; args 863 fs/xfs/libxfs/xfs_attr.c state->args = args; args 875 fs/xfs/libxfs/xfs_attr.c if ((args->flags & ATTR_REPLACE) && (retval == -ENOATTR)) { args 878 fs/xfs/libxfs/xfs_attr.c if (args->flags & ATTR_CREATE) args 881 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_node_replace(args); args 884 fs/xfs/libxfs/xfs_attr.c args->op_flags |= XFS_DA_OP_RENAME; /* atomic rename op */ args 885 fs/xfs/libxfs/xfs_attr.c args->blkno2 = args->blkno; /* set 2nd entry info*/ args 886 fs/xfs/libxfs/xfs_attr.c args->index2 = args->index; args 887 fs/xfs/libxfs/xfs_attr.c args->rmtblkno2 = args->rmtblkno; args 888 fs/xfs/libxfs/xfs_attr.c args->rmtblkcnt2 = args->rmtblkcnt; args 889 fs/xfs/libxfs/xfs_attr.c args->rmtvaluelen2 = args->rmtvaluelen; args 896 fs/xfs/libxfs/xfs_attr.c args->rmtblkno = 0; args 897 fs/xfs/libxfs/xfs_attr.c args->rmtblkcnt = 0; args 898 fs/xfs/libxfs/xfs_attr.c args->rmtvaluelen = 0; args 901 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_add(blk->bp, state->args); args 911 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_to_node(args); args 914 fs/xfs/libxfs/xfs_attr.c error = xfs_defer_finish(&args->trans); args 922 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_roll_inode(&args->trans, dp); args 938 fs/xfs/libxfs/xfs_attr.c error = xfs_defer_finish(&args->trans); args 959 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_roll_inode(&args->trans, dp); args 969 fs/xfs/libxfs/xfs_attr.c if (args->rmtblkno > 0) { args 970 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_rmtval_set(args); args 981 fs/xfs/libxfs/xfs_attr.c if (args->op_flags & XFS_DA_OP_RENAME) { args 986 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_flipflags(args); args 994 fs/xfs/libxfs/xfs_attr.c args->index = args->index2; args 995 fs/xfs/libxfs/xfs_attr.c args->blkno = args->blkno2; args 996 fs/xfs/libxfs/xfs_attr.c args->rmtblkno = args->rmtblkno2; args 997 fs/xfs/libxfs/xfs_attr.c args->rmtblkcnt = args->rmtblkcnt2; args 998 fs/xfs/libxfs/xfs_attr.c args->rmtvaluelen = args->rmtvaluelen2; args 999 fs/xfs/libxfs/xfs_attr.c if (args->rmtblkno) { args 1000 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_rmtval_remove(args); args 1010 fs/xfs/libxfs/xfs_attr.c args->flags |= XFS_ATTR_INCOMPLETE; args 1012 fs/xfs/libxfs/xfs_attr.c state->args = args; args 1024 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_remove(blk->bp, args); args 1034 fs/xfs/libxfs/xfs_attr.c error = xfs_defer_finish(&args->trans); args 1042 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_roll_inode(&args->trans, dp); args 1046 fs/xfs/libxfs/xfs_attr.c } else if (args->rmtblkno > 0) { args 1050 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_clearflag(args); args 1073 fs/xfs/libxfs/xfs_attr.c struct xfs_da_args *args) args 1081 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_node_removename(args); args 1086 fs/xfs/libxfs/xfs_attr.c dp = args->dp; args 1088 fs/xfs/libxfs/xfs_attr.c state->args = args; args 1109 fs/xfs/libxfs/xfs_attr.c if (args->rmtblkno > 0) { args 1123 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_setflag(args); args 1126 fs/xfs/libxfs/xfs_attr.c error = xfs_attr_rmtval_remove(args); args 1144 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_remove(blk->bp, args); args 1154 fs/xfs/libxfs/xfs_attr.c error = xfs_defer_finish(&args->trans); args 1160 fs/xfs/libxfs/xfs_attr.c error = xfs_trans_roll_inode(&args->trans, dp); args 1176 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_read(args->trans, args->dp, 0, -1, &bp); args 1181 fs/xfs/libxfs/xfs_attr.c error = xfs_attr3_leaf_to_shortform(bp, args, forkoff); args 1185 fs/xfs/libxfs/xfs_attr.c error = xfs_defer_finish(&args->trans); args 1189 fs/xfs/libxfs/xfs_attr.c xfs_trans_brelse(args->trans, bp); args 1211 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_fillstate(state->args); args 1259 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_refillstate(state->args); args 1269 fs/xfs/libxfs/xfs_attr.c error = xfs_da3_node_read(state->args->trans, args 1270 fs/xfs/libxfs/xfs_attr.c state->args->dp, args 1288 fs/xfs/libxfs/xfs_attr.c error = xfs_da3_node_read(state->args->trans, args 1289 fs/xfs/libxfs/xfs_attr.c state->args->dp, args 1312 fs/xfs/libxfs/xfs_attr.c xfs_attr_node_get(xfs_da_args_t *args) args 1319 fs/xfs/libxfs/xfs_attr.c trace_xfs_attr_node_get(args); args 1322 fs/xfs/libxfs/xfs_attr.c state->args = args; args 1323 fs/xfs/libxfs/xfs_attr.c state->mp = args->dp->i_mount; args 1340 fs/xfs/libxfs/xfs_attr.c retval = xfs_attr3_leaf_getvalue(blk->bp, args); args 1347 fs/xfs/libxfs/xfs_attr.c xfs_trans_brelse(args->trans, state->path.blk[i].bp); args 149 fs/xfs/libxfs/xfs_attr.h int xfs_attr_get_ilocked(struct xfs_inode *ip, struct xfs_da_args *args); args 154 fs/xfs/libxfs/xfs_attr.h int xfs_attr_set_args(struct xfs_da_args *args); args 156 fs/xfs/libxfs/xfs_attr.h int xfs_attr_remove_args(struct xfs_da_args *args); args 45 fs/xfs/libxfs/xfs_attr_leaf.c STATIC int xfs_attr3_leaf_create(struct xfs_da_args *args, args 49 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args, int freemap_index); args 50 fs/xfs/libxfs/xfs_attr_leaf.c STATIC void xfs_attr3_leaf_compact(struct xfs_da_args *args, args 67 fs/xfs/libxfs/xfs_attr_leaf.c STATIC void xfs_attr3_leaf_moveents(struct xfs_da_args *args, args 398 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args, args 405 fs/xfs/libxfs/xfs_attr_leaf.c if (args->flags & ATTR_KERNOVAL) { args 406 fs/xfs/libxfs/xfs_attr_leaf.c args->valuelen = valuelen; args 413 fs/xfs/libxfs/xfs_attr_leaf.c if (args->valuelen < valuelen) { args 414 fs/xfs/libxfs/xfs_attr_leaf.c args->valuelen = valuelen; args 418 fs/xfs/libxfs/xfs_attr_leaf.c if (args->op_flags & XFS_DA_OP_ALLOCVAL) { args 419 fs/xfs/libxfs/xfs_attr_leaf.c args->value = kmem_alloc_large(valuelen, 0); args 420 fs/xfs/libxfs/xfs_attr_leaf.c if (!args->value) args 423 fs/xfs/libxfs/xfs_attr_leaf.c args->valuelen = valuelen; args 426 fs/xfs/libxfs/xfs_attr_leaf.c if (args->rmtblkno) args 427 fs/xfs/libxfs/xfs_attr_leaf.c return xfs_attr_rmtval_get(args); args 437 fs/xfs/libxfs/xfs_attr_leaf.c memcpy(args->value, value, valuelen); args 565 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_create(xfs_da_args_t *args) args 571 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_sf_create(args); args 573 fs/xfs/libxfs/xfs_attr_leaf.c dp = args->dp; args 589 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE | XFS_ILOG_ADATA); args 597 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_add(xfs_da_args_t *args, int forkoff) args 606 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_sf_add(args); args 608 fs/xfs/libxfs/xfs_attr_leaf.c dp = args->dp; args 618 fs/xfs/libxfs/xfs_attr_leaf.c if (sfe->namelen != args->namelen) args 620 fs/xfs/libxfs/xfs_attr_leaf.c if (memcmp(args->name, sfe->nameval, args->namelen) != 0) args 622 fs/xfs/libxfs/xfs_attr_leaf.c if (!xfs_attr_namesp_match(args->flags, sfe->flags)) args 629 fs/xfs/libxfs/xfs_attr_leaf.c size = XFS_ATTR_SF_ENTSIZE_BYNAME(args->namelen, args->valuelen); args 634 fs/xfs/libxfs/xfs_attr_leaf.c sfe->namelen = args->namelen; args 635 fs/xfs/libxfs/xfs_attr_leaf.c sfe->valuelen = args->valuelen; args 636 fs/xfs/libxfs/xfs_attr_leaf.c sfe->flags = XFS_ATTR_NSP_ARGS_TO_ONDISK(args->flags); args 637 fs/xfs/libxfs/xfs_attr_leaf.c memcpy(sfe->nameval, args->name, args->namelen); args 638 fs/xfs/libxfs/xfs_attr_leaf.c memcpy(&sfe->nameval[args->namelen], args->value, args->valuelen); args 641 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE | XFS_ILOG_ADATA); args 643 fs/xfs/libxfs/xfs_attr_leaf.c xfs_sbversion_add_attr2(mp, args->trans); args 669 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_remove(xfs_da_args_t *args) args 677 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_sf_remove(args); args 679 fs/xfs/libxfs/xfs_attr_leaf.c dp = args->dp; args 688 fs/xfs/libxfs/xfs_attr_leaf.c if (sfe->namelen != args->namelen) args 690 fs/xfs/libxfs/xfs_attr_leaf.c if (memcmp(sfe->nameval, args->name, args->namelen) != 0) args 692 fs/xfs/libxfs/xfs_attr_leaf.c if (!xfs_attr_namesp_match(args->flags, sfe->flags)) args 716 fs/xfs/libxfs/xfs_attr_leaf.c !(args->op_flags & XFS_DA_OP_ADDNAME)) { args 717 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_fork_remove(dp, args->trans); args 723 fs/xfs/libxfs/xfs_attr_leaf.c (args->op_flags & XFS_DA_OP_ADDNAME) || args 726 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_inode(args->trans, dp, args 730 fs/xfs/libxfs/xfs_attr_leaf.c xfs_sbversion_add_attr2(mp, args->trans); args 740 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_lookup(xfs_da_args_t *args) args 747 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_sf_lookup(args); args 749 fs/xfs/libxfs/xfs_attr_leaf.c ifp = args->dp->i_afp; args 755 fs/xfs/libxfs/xfs_attr_leaf.c if (sfe->namelen != args->namelen) args 757 fs/xfs/libxfs/xfs_attr_leaf.c if (memcmp(args->name, sfe->nameval, args->namelen) != 0) args 759 fs/xfs/libxfs/xfs_attr_leaf.c if (!xfs_attr_namesp_match(args->flags, sfe->flags)) args 775 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args) args 781 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->dp->i_afp->if_flags == XFS_IFINLINE); args 782 fs/xfs/libxfs/xfs_attr_leaf.c sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; args 786 fs/xfs/libxfs/xfs_attr_leaf.c if (sfe->namelen != args->namelen) args 788 fs/xfs/libxfs/xfs_attr_leaf.c if (memcmp(args->name, sfe->nameval, args->namelen) != 0) args 790 fs/xfs/libxfs/xfs_attr_leaf.c if (!xfs_attr_namesp_match(args->flags, sfe->flags)) args 792 fs/xfs/libxfs/xfs_attr_leaf.c return xfs_attr_copy_value(args, &sfe->nameval[args->namelen], args 804 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args, args 817 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_sf_to_leaf(args); args 819 fs/xfs/libxfs/xfs_attr_leaf.c dp = args->dp; args 829 fs/xfs/libxfs/xfs_attr_leaf.c xfs_bmap_local_to_extents_empty(args->trans, dp, XFS_ATTR_FORK); args 832 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_da_grow_inode(args, &blkno); args 837 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_create(args, blkno, &bp); args 843 fs/xfs/libxfs/xfs_attr_leaf.c nargs.geo = args->geo; args 844 fs/xfs/libxfs/xfs_attr_leaf.c nargs.total = args->total; args 846 fs/xfs/libxfs/xfs_attr_leaf.c nargs.trans = args->trans; args 996 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args, args 1004 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_inode *dp = args->dp; args 1009 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_to_sf(args); args 1011 fs/xfs/libxfs/xfs_attr_leaf.c tmpbuffer = kmem_alloc(args->geo->blksize, 0); args 1015 fs/xfs/libxfs/xfs_attr_leaf.c memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); args 1018 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr, leaf); args 1022 fs/xfs/libxfs/xfs_attr_leaf.c memset(bp->b_addr, 0, args->geo->blksize); args 1027 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_da_shrink_inode(args, 0, bp); args 1034 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_fork_remove(dp, args->trans); args 1038 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_create(args); args 1044 fs/xfs/libxfs/xfs_attr_leaf.c nargs.geo = args->geo; args 1046 fs/xfs/libxfs/xfs_attr_leaf.c nargs.total = args->total; args 1048 fs/xfs/libxfs/xfs_attr_leaf.c nargs.trans = args->trans; args 1078 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args) args 1086 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_inode *dp = args->dp; args 1093 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_to_node(args); args 1095 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_da_grow_inode(args, &blkno); args 1098 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_read(args->trans, dp, 0, -1, &bp1); args 1102 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_da_get_buf(args->trans, dp, blkno, -1, &bp2, XFS_ATTR_FORK); args 1107 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_buf_set_type(args->trans, bp2, XFS_BLFT_ATTR_LEAF_BUF); args 1109 fs/xfs/libxfs/xfs_attr_leaf.c memcpy(bp2->b_addr, bp1->b_addr, args->geo->blksize); args 1114 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp2, 0, args->geo->blksize - 1); args 1119 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_da3_node_create(args, 0, 1, &bp1, XFS_ATTR_FORK); args 1127 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &icleafhdr, leaf); args 1135 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp1, 0, args->geo->blksize - 1); args 1151 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args, args 1157 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_inode *dp = args->dp; args 1162 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_create(args); args 1164 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_da_get_buf(args->trans, args->dp, blkno, -1, &bp, args 1169 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_buf_set_type(args->trans, bp, XFS_BLFT_ATTR_LEAF_BUF); args 1171 fs/xfs/libxfs/xfs_attr_leaf.c memset(leaf, 0, args->geo->blksize); args 1174 fs/xfs/libxfs/xfs_attr_leaf.c ichdr.firstused = args->geo->blksize; args 1192 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_to_disk(args->geo, leaf, &ichdr); args 1193 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, 0, args->geo->blksize - 1); args 1211 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_split(state->args); args 1217 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_da_grow_inode(state->args, &blkno); args 1220 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_create(state->args, blkno, &newblk->bp); args 1243 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_add_old(state->args); args 1244 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_add(oldblk->bp, state->args); args 1246 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_add_new(state->args); args 1247 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_add(newblk->bp, state->args); args 1264 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args) args 1274 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_add(args); args 1277 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr, leaf); args 1278 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0 && args->index <= ichdr.count); args 1279 fs/xfs/libxfs/xfs_attr_leaf.c entsize = xfs_attr_leaf_newentsize(args, NULL); args 1298 fs/xfs/libxfs/xfs_attr_leaf.c tmp = xfs_attr3_leaf_add_work(bp, &ichdr, args, i); args 1316 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_compact(args, &ichdr, bp); args 1327 fs/xfs/libxfs/xfs_attr_leaf.c tmp = xfs_attr3_leaf_add_work(bp, &ichdr, args, 0); args 1330 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_to_disk(args->geo, leaf, &ichdr); args 1331 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 1344 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args, args 1355 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_add_work(args); args 1359 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0 && args->index <= ichdr->count); args 1364 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; args 1365 fs/xfs/libxfs/xfs_attr_leaf.c if (args->index < ichdr->count) { args 1366 fs/xfs/libxfs/xfs_attr_leaf.c tmp = ichdr->count - args->index; args 1369 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 1377 fs/xfs/libxfs/xfs_attr_leaf.c mp = args->trans->t_mountp; args 1378 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(ichdr->freemap[mapindex].base < args->geo->blksize); args 1381 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_leaf_newentsize(args, NULL)); args 1382 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(ichdr->freemap[mapindex].size < args->geo->blksize); args 1385 fs/xfs/libxfs/xfs_attr_leaf.c ichdr->freemap[mapindex].size -= xfs_attr_leaf_newentsize(args, &tmp); args 1389 fs/xfs/libxfs/xfs_attr_leaf.c entry->hashval = cpu_to_be32(args->hashval); args 1391 fs/xfs/libxfs/xfs_attr_leaf.c entry->flags |= XFS_ATTR_NSP_ARGS_TO_ONDISK(args->flags); args 1392 fs/xfs/libxfs/xfs_attr_leaf.c if (args->op_flags & XFS_DA_OP_RENAME) { args 1394 fs/xfs/libxfs/xfs_attr_leaf.c if ((args->blkno2 == args->blkno) && args 1395 fs/xfs/libxfs/xfs_attr_leaf.c (args->index2 <= args->index)) { args 1396 fs/xfs/libxfs/xfs_attr_leaf.c args->index2++; args 1399 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 1401 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT((args->index == 0) || args 1403 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT((args->index == ichdr->count - 1) || args 1414 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf, args->index); args 1415 fs/xfs/libxfs/xfs_attr_leaf.c name_loc->namelen = args->namelen; args 1416 fs/xfs/libxfs/xfs_attr_leaf.c name_loc->valuelen = cpu_to_be16(args->valuelen); args 1417 fs/xfs/libxfs/xfs_attr_leaf.c memcpy((char *)name_loc->nameval, args->name, args->namelen); args 1418 fs/xfs/libxfs/xfs_attr_leaf.c memcpy((char *)&name_loc->nameval[args->namelen], args->value, args 1421 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); args 1422 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt->namelen = args->namelen; args 1423 fs/xfs/libxfs/xfs_attr_leaf.c memcpy((char *)name_rmt->name, args->name, args->namelen); args 1428 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtblkno = 1; args 1429 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtblkcnt = xfs_attr3_rmt_blocks(mp, args->valuelen); args 1430 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtvaluelen = args->valuelen; args 1432 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 1433 fs/xfs/libxfs/xfs_attr_leaf.c XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), args 1434 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_leaf_entsize(leaf, args->index))); args 1453 fs/xfs/libxfs/xfs_attr_leaf.c ichdr->usedbytes += xfs_attr_leaf_entsize(leaf, args->index); args 1462 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args, args 1469 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_trans *trans = args->trans; args 1472 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_compact(args); args 1474 fs/xfs/libxfs/xfs_attr_leaf.c tmpbuffer = kmem_alloc(args->geo->blksize, 0); args 1475 fs/xfs/libxfs/xfs_attr_leaf.c memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); args 1476 fs/xfs/libxfs/xfs_attr_leaf.c memset(bp->b_addr, 0, args->geo->blksize); args 1489 fs/xfs/libxfs/xfs_attr_leaf.c ichdr_dst->firstused = args->geo->blksize; args 1498 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_to_disk(args->geo, leaf_dst, ichdr_dst); args 1504 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_moveents(args, leaf_src, &ichdr_src, 0, args 1510 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(trans, bp, 0, args->geo->blksize - 1); args 1573 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args; args 1593 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr1, leaf1); args 1594 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr2, leaf2); args 1596 fs/xfs/libxfs/xfs_attr_leaf.c args = state->args; args 1598 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_rebalance(args); args 1650 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_compact(args, &ichdr2, blk2->bp); args 1655 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_moveents(args, leaf1, &ichdr1, args 1679 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_compact(args, &ichdr1, blk1->bp); args 1684 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_moveents(args, leaf2, &ichdr2, 0, leaf1, &ichdr1, args 1688 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf1, &ichdr1); args 1689 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_to_disk(state->args->geo, leaf2, &ichdr2); args 1690 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, blk1->bp, 0, args->geo->blksize - 1); args 1691 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, blk2->bp, 0, args->geo->blksize - 1); args 1716 fs/xfs/libxfs/xfs_attr_leaf.c args->index = args->index2 = blk2->index; args 1717 fs/xfs/libxfs/xfs_attr_leaf.c args->blkno = args->blkno2 = blk2->blkno; args 1720 fs/xfs/libxfs/xfs_attr_leaf.c args->index = blk1->index; args 1721 fs/xfs/libxfs/xfs_attr_leaf.c args->blkno = blk1->blkno; args 1722 fs/xfs/libxfs/xfs_attr_leaf.c args->index2 = 0; args 1723 fs/xfs/libxfs/xfs_attr_leaf.c args->blkno2 = blk2->blkno; args 1731 fs/xfs/libxfs/xfs_attr_leaf.c args->index = blk2->index; args 1732 fs/xfs/libxfs/xfs_attr_leaf.c args->blkno = blk2->blkno; args 1739 fs/xfs/libxfs/xfs_attr_leaf.c args->index2 = blk2->index; args 1740 fs/xfs/libxfs/xfs_attr_leaf.c args->blkno2 = blk2->blkno; args 1745 fs/xfs/libxfs/xfs_attr_leaf.c args->index = args->index2 = blk1->index; args 1746 fs/xfs/libxfs/xfs_attr_leaf.c args->blkno = args->blkno2 = blk1->blkno; args 1786 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_leaf_newentsize(state->args, NULL); args 1788 fs/xfs/libxfs/xfs_attr_leaf.c lastdelta = state->args->geo->blksize; args 1798 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_leaf_newentsize(state->args, NULL); args 1834 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_leaf_newentsize(state->args, NULL); args 1873 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_toosmall(state->args); args 1882 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr, leaf); args 1886 fs/xfs/libxfs/xfs_attr_leaf.c if (bytes > (state->args->geo->blksize >> 1)) { args 1933 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_read(state->args->trans, state->args->dp, args 1938 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(state->args->geo, &ichdr2, bp->b_addr); args 1940 fs/xfs/libxfs/xfs_attr_leaf.c bytes = state->args->geo->blksize - args 1941 fs/xfs/libxfs/xfs_attr_leaf.c (state->args->geo->blksize >> 2) - args 1947 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_brelse(state->args->trans, bp); args 1987 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args) args 2000 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_remove(args); args 2003 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr, leaf); args 2005 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(ichdr.count > 0 && ichdr.count < args->geo->blksize / 8); args 2006 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0 && args->index < ichdr.count); args 2010 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; args 2013 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); args 2026 fs/xfs/libxfs/xfs_attr_leaf.c entsize = xfs_attr_leaf_entsize(leaf, args->index); args 2028 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(ichdr.freemap[i].base < args->geo->blksize); args 2029 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(ichdr.freemap[i].size < args->geo->blksize); args 2084 fs/xfs/libxfs/xfs_attr_leaf.c memset(xfs_attr3_leaf_name(leaf, args->index), 0, entsize); args 2086 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 2087 fs/xfs/libxfs/xfs_attr_leaf.c XFS_DA_LOGRANGE(leaf, xfs_attr3_leaf_name(leaf, args->index), args 2090 fs/xfs/libxfs/xfs_attr_leaf.c tmp = (ichdr.count - args->index) * sizeof(xfs_attr_leaf_entry_t); args 2093 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 2106 fs/xfs/libxfs/xfs_attr_leaf.c tmp = args->geo->blksize; args 2110 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); args 2120 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_to_disk(args->geo, leaf, &ichdr); args 2121 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 2132 fs/xfs/libxfs/xfs_attr_leaf.c return tmp < args->geo->magicpct; /* leaf is < 37% full */ args 2150 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_unbalance(state->args); args 2154 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(state->args->geo, &drophdr, drop_leaf); args 2155 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(state->args->geo, &savehdr, save_leaf); args 2175 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_moveents(state->args, args 2180 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_moveents(state->args, args 2193 fs/xfs/libxfs/xfs_attr_leaf.c tmp_leaf = kmem_zalloc(state->args->geo->blksize, 0); args 2206 fs/xfs/libxfs/xfs_attr_leaf.c tmphdr.firstused = state->args->geo->blksize; args 2209 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_to_disk(state->args->geo, tmp_leaf, &tmphdr); args 2213 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_moveents(state->args, args 2217 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_moveents(state->args, args 2222 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_moveents(state->args, args 2226 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_moveents(state->args, args 2231 fs/xfs/libxfs/xfs_attr_leaf.c memcpy(save_leaf, tmp_leaf, state->args->geo->blksize); args 2236 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_to_disk(state->args->geo, save_leaf, &savehdr); args 2237 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(state->args->trans, save_blk->bp, 0, args 2238 fs/xfs/libxfs/xfs_attr_leaf.c state->args->geo->blksize - 1); args 2267 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args) args 2279 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_lookup(args); args 2282 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr, leaf); args 2284 fs/xfs/libxfs/xfs_attr_leaf.c if (ichdr.count >= args->geo->blksize / 8) args 2290 fs/xfs/libxfs/xfs_attr_leaf.c hashval = args->hashval; args 2320 fs/xfs/libxfs/xfs_attr_leaf.c args->index = probe; args 2336 fs/xfs/libxfs/xfs_attr_leaf.c if ((args->flags & XFS_ATTR_INCOMPLETE) != args 2342 fs/xfs/libxfs/xfs_attr_leaf.c if (name_loc->namelen != args->namelen) args 2344 fs/xfs/libxfs/xfs_attr_leaf.c if (memcmp(args->name, name_loc->nameval, args 2345 fs/xfs/libxfs/xfs_attr_leaf.c args->namelen) != 0) args 2347 fs/xfs/libxfs/xfs_attr_leaf.c if (!xfs_attr_namesp_match(args->flags, entry->flags)) args 2349 fs/xfs/libxfs/xfs_attr_leaf.c args->index = probe; args 2353 fs/xfs/libxfs/xfs_attr_leaf.c if (name_rmt->namelen != args->namelen) args 2355 fs/xfs/libxfs/xfs_attr_leaf.c if (memcmp(args->name, name_rmt->name, args 2356 fs/xfs/libxfs/xfs_attr_leaf.c args->namelen) != 0) args 2358 fs/xfs/libxfs/xfs_attr_leaf.c if (!xfs_attr_namesp_match(args->flags, entry->flags)) args 2360 fs/xfs/libxfs/xfs_attr_leaf.c args->index = probe; args 2361 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); args 2362 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtblkno = be32_to_cpu(name_rmt->valueblk); args 2363 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtblkcnt = xfs_attr3_rmt_blocks( args 2364 fs/xfs/libxfs/xfs_attr_leaf.c args->dp->i_mount, args 2365 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtvaluelen); args 2369 fs/xfs/libxfs/xfs_attr_leaf.c args->index = probe; args 2384 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args) args 2393 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr, leaf); args 2394 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(ichdr.count < args->geo->blksize / 8); args 2395 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index < ichdr.count); args 2397 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; args 2399 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf, args->index); args 2400 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(name_loc->namelen == args->namelen); args 2401 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(memcmp(args->name, name_loc->nameval, args->namelen) == 0); args 2402 fs/xfs/libxfs/xfs_attr_leaf.c return xfs_attr_copy_value(args, args 2403 fs/xfs/libxfs/xfs_attr_leaf.c &name_loc->nameval[args->namelen], args 2407 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); args 2408 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(name_rmt->namelen == args->namelen); args 2409 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(memcmp(args->name, name_rmt->name, args->namelen) == 0); args 2410 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); args 2411 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtblkno = be32_to_cpu(name_rmt->valueblk); args 2412 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtblkcnt = xfs_attr3_rmt_blocks(args->dp->i_mount, args 2413 fs/xfs/libxfs/xfs_attr_leaf.c args->rmtvaluelen); args 2414 fs/xfs/libxfs/xfs_attr_leaf.c return xfs_attr_copy_value(args, NULL, args->rmtvaluelen); args 2428 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args, args 2455 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(ichdr_s->count > 0 && ichdr_s->count < args->geo->blksize / 8); args 2458 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(ichdr_d->count < args->geo->blksize / 8); args 2510 fs/xfs/libxfs/xfs_attr_leaf.c <= args->geo->blksize); args 2514 fs/xfs/libxfs/xfs_attr_leaf.c <= args->geo->blksize); args 2535 fs/xfs/libxfs/xfs_attr_leaf.c ((char *)leaf_s + args->geo->blksize)); args 2550 fs/xfs/libxfs/xfs_attr_leaf.c ((char *)leaf_s + args->geo->blksize)); args 2620 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args, args 2625 fs/xfs/libxfs/xfs_attr_leaf.c size = xfs_attr_leaf_entsize_local(args->namelen, args->valuelen); args 2626 fs/xfs/libxfs/xfs_attr_leaf.c if (size < xfs_attr_leaf_entsize_local_max(args->geo->blksize)) { args 2633 fs/xfs/libxfs/xfs_attr_leaf.c return xfs_attr_leaf_entsize_remote(args->namelen); args 2646 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args) args 2660 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_clearflag(args); args 2664 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp); args 2669 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; args 2673 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr, leaf); args 2674 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index < ichdr.count); args 2675 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0); args 2678 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf, args->index); args 2682 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); args 2686 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(be32_to_cpu(entry->hashval) == args->hashval); args 2687 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(namelen == args->namelen); args 2688 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(memcmp(name, args->name, namelen) == 0); args 2692 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 2695 fs/xfs/libxfs/xfs_attr_leaf.c if (args->rmtblkno) { args 2697 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); args 2698 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt->valueblk = cpu_to_be32(args->rmtblkno); args 2699 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); args 2700 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 2707 fs/xfs/libxfs/xfs_attr_leaf.c return xfs_trans_roll_inode(&args->trans, args->dp); args 2715 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args) args 2726 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_setflag(args); args 2731 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp); args 2737 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr, leaf); args 2738 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index < ichdr.count); args 2739 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0); args 2741 fs/xfs/libxfs/xfs_attr_leaf.c entry = &xfs_attr3_leaf_entryp(leaf)[args->index]; args 2745 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 2748 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); args 2751 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp, args 2758 fs/xfs/libxfs/xfs_attr_leaf.c return xfs_trans_roll_inode(&args->trans, args->dp); args 2770 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_da_args *args) args 2788 fs/xfs/libxfs/xfs_attr_leaf.c trace_xfs_attr_leaf_flipflags(args); args 2793 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp1); args 2800 fs/xfs/libxfs/xfs_attr_leaf.c if (args->blkno2 != args->blkno) { args 2801 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno2, args 2810 fs/xfs/libxfs/xfs_attr_leaf.c entry1 = &xfs_attr3_leaf_entryp(leaf1)[args->index]; args 2813 fs/xfs/libxfs/xfs_attr_leaf.c entry2 = &xfs_attr3_leaf_entryp(leaf2)[args->index2]; args 2816 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr1, leaf1); args 2817 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index < ichdr1.count); args 2818 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index >= 0); args 2820 fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr3_leaf_hdr_from_disk(args->geo, &ichdr2, leaf2); args 2821 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index2 < ichdr2.count); args 2822 fs/xfs/libxfs/xfs_attr_leaf.c ASSERT(args->index2 >= 0); args 2825 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf1, args->index); args 2829 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); args 2834 fs/xfs/libxfs/xfs_attr_leaf.c name_loc = xfs_attr3_leaf_name_local(leaf2, args->index2); args 2838 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); args 2851 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp1, args 2853 fs/xfs/libxfs/xfs_attr_leaf.c if (args->rmtblkno) { args 2855 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); args 2856 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt->valueblk = cpu_to_be32(args->rmtblkno); args 2857 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); args 2858 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp1, args 2863 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp2, args 2866 fs/xfs/libxfs/xfs_attr_leaf.c name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); args 2869 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_log_buf(args->trans, bp2, args 2876 fs/xfs/libxfs/xfs_attr_leaf.c error = xfs_trans_roll_inode(&args->trans, args->dp); args 35 fs/xfs/libxfs/xfs_attr_leaf.h void xfs_attr_shortform_create(struct xfs_da_args *args); args 36 fs/xfs/libxfs/xfs_attr_leaf.h void xfs_attr_shortform_add(struct xfs_da_args *args, int forkoff); args 37 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr_shortform_lookup(struct xfs_da_args *args); args 38 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr_shortform_getvalue(struct xfs_da_args *args); args 39 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr_shortform_to_leaf(struct xfs_da_args *args, args 41 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr_shortform_remove(struct xfs_da_args *args); args 50 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr3_leaf_to_node(struct xfs_da_args *args); args 52 fs/xfs/libxfs/xfs_attr_leaf.h struct xfs_da_args *args, int forkoff); args 53 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr3_leaf_clearflag(struct xfs_da_args *args); args 54 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr3_leaf_setflag(struct xfs_da_args *args); args 55 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr3_leaf_flipflags(struct xfs_da_args *args); args 64 fs/xfs/libxfs/xfs_attr_leaf.h struct xfs_da_args *args); args 65 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr3_leaf_getvalue(struct xfs_buf *bp, struct xfs_da_args *args); args 67 fs/xfs/libxfs/xfs_attr_leaf.h struct xfs_da_args *args); args 69 fs/xfs/libxfs/xfs_attr_leaf.h struct xfs_da_args *args); args 86 fs/xfs/libxfs/xfs_attr_leaf.h int xfs_attr_leaf_newentsize(struct xfs_da_args *args, int *local); args 366 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_da_args *args) args 369 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_mount *mp = args->dp->i_mount; args 371 fs/xfs/libxfs/xfs_attr_remote.c xfs_dablk_t lblkno = args->rmtblkno; args 372 fs/xfs/libxfs/xfs_attr_remote.c uint8_t *dst = args->value; args 376 fs/xfs/libxfs/xfs_attr_remote.c int blkcnt = args->rmtblkcnt; args 380 fs/xfs/libxfs/xfs_attr_remote.c trace_xfs_attr_rmtval_get(args); args 382 fs/xfs/libxfs/xfs_attr_remote.c ASSERT(!(args->flags & ATTR_KERNOVAL)); args 383 fs/xfs/libxfs/xfs_attr_remote.c ASSERT(args->rmtvaluelen == args->valuelen); args 385 fs/xfs/libxfs/xfs_attr_remote.c valuelen = args->rmtvaluelen; args 388 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, args 403 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_trans_read_buf(mp, args->trans, args 410 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_attr_rmtval_copyout(mp, bp, args->dp->i_ino, args 413 fs/xfs/libxfs/xfs_attr_remote.c xfs_trans_brelse(args->trans, bp); args 432 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_da_args *args) args 434 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_inode *dp = args->dp; args 439 fs/xfs/libxfs/xfs_attr_remote.c uint8_t *src = args->value; args 446 fs/xfs/libxfs/xfs_attr_remote.c trace_xfs_attr_rmtval_set(args); args 454 fs/xfs/libxfs/xfs_attr_remote.c blkcnt = xfs_attr3_rmt_blocks(mp, args->rmtvaluelen); args 455 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_bmap_first_unused(args->trans, args->dp, blkcnt, &lfileoff, args 460 fs/xfs/libxfs/xfs_attr_remote.c args->rmtblkno = lblkno = (xfs_dablk_t)lfileoff; args 461 fs/xfs/libxfs/xfs_attr_remote.c args->rmtblkcnt = blkcnt; args 480 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_bmapi_write(args->trans, dp, (xfs_fileoff_t)lblkno, args 481 fs/xfs/libxfs/xfs_attr_remote.c blkcnt, XFS_BMAPI_ATTRFORK, args->total, &map, args 485 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_defer_finish(&args->trans); args 498 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_trans_roll_inode(&args->trans, dp); args 509 fs/xfs/libxfs/xfs_attr_remote.c lblkno = args->rmtblkno; args 510 fs/xfs/libxfs/xfs_attr_remote.c blkcnt = args->rmtblkcnt; args 511 fs/xfs/libxfs/xfs_attr_remote.c valuelen = args->rmtvaluelen; args 537 fs/xfs/libxfs/xfs_attr_remote.c xfs_attr_rmtval_copyin(mp, bp, args->dp->i_ino, &offset, args 560 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_da_args *args) args 562 fs/xfs/libxfs/xfs_attr_remote.c struct xfs_mount *mp = args->dp->i_mount; args 568 fs/xfs/libxfs/xfs_attr_remote.c trace_xfs_attr_rmtval_remove(args); args 573 fs/xfs/libxfs/xfs_attr_remote.c lblkno = args->rmtblkno; args 574 fs/xfs/libxfs/xfs_attr_remote.c blkcnt = args->rmtblkcnt; args 586 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, args 614 fs/xfs/libxfs/xfs_attr_remote.c lblkno = args->rmtblkno; args 615 fs/xfs/libxfs/xfs_attr_remote.c blkcnt = args->rmtblkcnt; args 618 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_bunmapi(args->trans, args->dp, lblkno, blkcnt, args 622 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_defer_finish(&args->trans); args 629 fs/xfs/libxfs/xfs_attr_remote.c error = xfs_trans_roll_inode(&args->trans, args->dp); args 11 fs/xfs/libxfs/xfs_attr_remote.h int xfs_attr_rmtval_get(struct xfs_da_args *args); args 12 fs/xfs/libxfs/xfs_attr_remote.h int xfs_attr_rmtval_set(struct xfs_da_args *args); args 13 fs/xfs/libxfs/xfs_attr_remote.h int xfs_attr_rmtval_remove(struct xfs_da_args *args); args 654 fs/xfs/libxfs/xfs_bmap.c struct xfs_alloc_arg args; /* allocation arguments */ args 695 fs/xfs/libxfs/xfs_bmap.c memset(&args, 0, sizeof(args)); args 696 fs/xfs/libxfs/xfs_bmap.c args.tp = tp; args 697 fs/xfs/libxfs/xfs_bmap.c args.mp = mp; args 698 fs/xfs/libxfs/xfs_bmap.c xfs_rmap_ino_bmbt_owner(&args.oinfo, ip->i_ino, whichfork); args 700 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_START_BNO; args 701 fs/xfs/libxfs/xfs_bmap.c args.fsbno = XFS_INO_TO_FSB(mp, ip->i_ino); args 703 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_START_BNO; args 704 fs/xfs/libxfs/xfs_bmap.c args.fsbno = tp->t_firstblock; args 706 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_NEAR_BNO; args 707 fs/xfs/libxfs/xfs_bmap.c args.fsbno = tp->t_firstblock; args 709 fs/xfs/libxfs/xfs_bmap.c args.minlen = args.maxlen = args.prod = 1; args 710 fs/xfs/libxfs/xfs_bmap.c args.wasdel = wasdel; args 712 fs/xfs/libxfs/xfs_bmap.c error = xfs_alloc_vextent(&args); args 716 fs/xfs/libxfs/xfs_bmap.c if (WARN_ON_ONCE(args.fsbno == NULLFSBLOCK)) { args 725 fs/xfs/libxfs/xfs_bmap.c args.agno >= XFS_FSB_TO_AGNO(mp, tp->t_firstblock)); args 726 fs/xfs/libxfs/xfs_bmap.c tp->t_firstblock = args.fsbno; args 730 fs/xfs/libxfs/xfs_bmap.c abp = xfs_btree_get_bufl(mp, tp, args.fsbno); args 763 fs/xfs/libxfs/xfs_bmap.c *pp = cpu_to_be64(args.fsbno); args 831 fs/xfs/libxfs/xfs_bmap.c xfs_alloc_arg_t args; /* allocation arguments */ args 853 fs/xfs/libxfs/xfs_bmap.c memset(&args, 0, sizeof(args)); args 854 fs/xfs/libxfs/xfs_bmap.c args.tp = tp; args 855 fs/xfs/libxfs/xfs_bmap.c args.mp = ip->i_mount; args 856 fs/xfs/libxfs/xfs_bmap.c xfs_rmap_ino_owner(&args.oinfo, ip->i_ino, whichfork, 0); args 862 fs/xfs/libxfs/xfs_bmap.c args.fsbno = XFS_INO_TO_FSB(args.mp, ip->i_ino); args 863 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_START_BNO; args 865 fs/xfs/libxfs/xfs_bmap.c args.fsbno = tp->t_firstblock; args 866 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_NEAR_BNO; args 868 fs/xfs/libxfs/xfs_bmap.c args.total = total; args 869 fs/xfs/libxfs/xfs_bmap.c args.minlen = args.maxlen = args.prod = 1; args 870 fs/xfs/libxfs/xfs_bmap.c error = xfs_alloc_vextent(&args); args 875 fs/xfs/libxfs/xfs_bmap.c ASSERT(args.fsbno != NULLFSBLOCK); args 876 fs/xfs/libxfs/xfs_bmap.c ASSERT(args.len == 1); args 877 fs/xfs/libxfs/xfs_bmap.c tp->t_firstblock = args.fsbno; args 878 fs/xfs/libxfs/xfs_bmap.c bp = xfs_btree_get_bufl(args.mp, tp, args.fsbno); args 899 fs/xfs/libxfs/xfs_bmap.c rec.br_startblock = args.fsbno; args 3229 fs/xfs/libxfs/xfs_bmap.c struct xfs_alloc_arg *args, args 3238 fs/xfs/libxfs/xfs_bmap.c args->minlen = ap->minlen; args 3239 fs/xfs/libxfs/xfs_bmap.c } else if (*blen < args->maxlen) { args 3244 fs/xfs/libxfs/xfs_bmap.c args->minlen = *blen; args 3250 fs/xfs/libxfs/xfs_bmap.c args->minlen = args->maxlen; args 3257 fs/xfs/libxfs/xfs_bmap.c struct xfs_alloc_arg *args, args 3265 fs/xfs/libxfs/xfs_bmap.c args->type = XFS_ALLOCTYPE_START_BNO; args 3266 fs/xfs/libxfs/xfs_bmap.c args->total = ap->total; args 3268 fs/xfs/libxfs/xfs_bmap.c startag = ag = XFS_FSB_TO_AGNO(mp, args->fsbno); args 3272 fs/xfs/libxfs/xfs_bmap.c while (*blen < args->maxlen) { args 3273 fs/xfs/libxfs/xfs_bmap.c error = xfs_bmap_longest_free_extent(args->tp, ag, blen, args 3284 fs/xfs/libxfs/xfs_bmap.c xfs_bmap_select_minlen(ap, args, blen, notinit); args 3291 fs/xfs/libxfs/xfs_bmap.c struct xfs_alloc_arg *args, args 3299 fs/xfs/libxfs/xfs_bmap.c args->type = XFS_ALLOCTYPE_NEAR_BNO; args 3300 fs/xfs/libxfs/xfs_bmap.c args->total = ap->total; args 3302 fs/xfs/libxfs/xfs_bmap.c ag = XFS_FSB_TO_AGNO(mp, args->fsbno); args 3306 fs/xfs/libxfs/xfs_bmap.c error = xfs_bmap_longest_free_extent(args->tp, ag, blen, ¬init); args 3310 fs/xfs/libxfs/xfs_bmap.c if (*blen < args->maxlen) { args 3315 fs/xfs/libxfs/xfs_bmap.c error = xfs_bmap_longest_free_extent(args->tp, ag, blen, args 3322 fs/xfs/libxfs/xfs_bmap.c xfs_bmap_select_minlen(ap, args, blen, notinit); args 3328 fs/xfs/libxfs/xfs_bmap.c ap->blkno = args->fsbno = XFS_AGB_TO_FSB(mp, ag, 0); args 3336 fs/xfs/libxfs/xfs_bmap.c struct xfs_alloc_arg *args) args 3349 fs/xfs/libxfs/xfs_bmap.c xfs_mod_delalloc(ap->ip->i_mount, -(int64_t)args->len); args 3361 fs/xfs/libxfs/xfs_bmap.c ap->ip->i_delayed_blks += args->len; args 3363 fs/xfs/libxfs/xfs_bmap.c -(long)args->len); args 3368 fs/xfs/libxfs/xfs_bmap.c ap->ip->i_d.di_nblocks += args->len; args 3371 fs/xfs/libxfs/xfs_bmap.c ap->ip->i_delayed_blks -= args->len; args 3372 fs/xfs/libxfs/xfs_bmap.c xfs_mod_delalloc(ap->ip->i_mount, -(int64_t)args->len); args 3376 fs/xfs/libxfs/xfs_bmap.c args->len); args 3388 fs/xfs/libxfs/xfs_bmap.c xfs_alloc_arg_t args; args 3454 fs/xfs/libxfs/xfs_bmap.c memset(&args, 0, sizeof(args)); args 3455 fs/xfs/libxfs/xfs_bmap.c args.tp = ap->tp; args 3456 fs/xfs/libxfs/xfs_bmap.c args.mp = mp; args 3457 fs/xfs/libxfs/xfs_bmap.c args.fsbno = ap->blkno; args 3458 fs/xfs/libxfs/xfs_bmap.c args.oinfo = XFS_RMAP_OINFO_SKIP_UPDATE; args 3461 fs/xfs/libxfs/xfs_bmap.c args.maxlen = min(ap->length, mp->m_ag_max_usable); args 3471 fs/xfs/libxfs/xfs_bmap.c error = xfs_bmap_btalloc_filestreams(ap, &args, &blen); args 3473 fs/xfs/libxfs/xfs_bmap.c error = xfs_bmap_btalloc_nullfb(ap, &args, &blen); args 3478 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_FIRST_AG; args 3480 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_START_BNO; args 3481 fs/xfs/libxfs/xfs_bmap.c args.total = args.minlen = ap->minlen; args 3483 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_NEAR_BNO; args 3484 fs/xfs/libxfs/xfs_bmap.c args.total = ap->total; args 3485 fs/xfs/libxfs/xfs_bmap.c args.minlen = ap->minlen; args 3489 fs/xfs/libxfs/xfs_bmap.c args.prod = align; args 3490 fs/xfs/libxfs/xfs_bmap.c div_u64_rem(ap->offset, args.prod, &args.mod); args 3491 fs/xfs/libxfs/xfs_bmap.c if (args.mod) args 3492 fs/xfs/libxfs/xfs_bmap.c args.mod = args.prod - args.mod; args 3494 fs/xfs/libxfs/xfs_bmap.c args.prod = 1; args 3495 fs/xfs/libxfs/xfs_bmap.c args.mod = 0; args 3497 fs/xfs/libxfs/xfs_bmap.c args.prod = PAGE_SIZE >> mp->m_sb.sb_blocklog; args 3498 fs/xfs/libxfs/xfs_bmap.c div_u64_rem(ap->offset, args.prod, &args.mod); args 3499 fs/xfs/libxfs/xfs_bmap.c if (args.mod) args 3500 fs/xfs/libxfs/xfs_bmap.c args.mod = args.prod - args.mod; args 3513 fs/xfs/libxfs/xfs_bmap.c args.alignment = stripe_align; args 3514 fs/xfs/libxfs/xfs_bmap.c atype = args.type; args 3519 fs/xfs/libxfs/xfs_bmap.c if (blen > args.alignment && blen <= args.maxlen) args 3520 fs/xfs/libxfs/xfs_bmap.c args.minlen = blen - args.alignment; args 3521 fs/xfs/libxfs/xfs_bmap.c args.minalignslop = 0; args 3528 fs/xfs/libxfs/xfs_bmap.c atype = args.type; args 3530 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_THIS_BNO; args 3531 fs/xfs/libxfs/xfs_bmap.c args.alignment = 1; args 3538 fs/xfs/libxfs/xfs_bmap.c if (blen > stripe_align && blen <= args.maxlen) args 3541 fs/xfs/libxfs/xfs_bmap.c nextminlen = args.minlen; args 3542 fs/xfs/libxfs/xfs_bmap.c if (nextminlen + stripe_align > args.minlen + 1) args 3543 fs/xfs/libxfs/xfs_bmap.c args.minalignslop = args 3545 fs/xfs/libxfs/xfs_bmap.c args.minlen - 1; args 3547 fs/xfs/libxfs/xfs_bmap.c args.minalignslop = 0; args 3550 fs/xfs/libxfs/xfs_bmap.c args.alignment = 1; args 3551 fs/xfs/libxfs/xfs_bmap.c args.minalignslop = 0; args 3553 fs/xfs/libxfs/xfs_bmap.c args.minleft = ap->minleft; args 3554 fs/xfs/libxfs/xfs_bmap.c args.wasdel = ap->wasdel; args 3555 fs/xfs/libxfs/xfs_bmap.c args.resv = XFS_AG_RESV_NONE; args 3556 fs/xfs/libxfs/xfs_bmap.c args.datatype = ap->datatype; args 3558 fs/xfs/libxfs/xfs_bmap.c args.ip = ap->ip; args 3560 fs/xfs/libxfs/xfs_bmap.c error = xfs_alloc_vextent(&args); args 3564 fs/xfs/libxfs/xfs_bmap.c if (tryagain && args.fsbno == NULLFSBLOCK) { args 3569 fs/xfs/libxfs/xfs_bmap.c args.type = atype; args 3570 fs/xfs/libxfs/xfs_bmap.c args.fsbno = ap->blkno; args 3571 fs/xfs/libxfs/xfs_bmap.c args.alignment = stripe_align; args 3572 fs/xfs/libxfs/xfs_bmap.c args.minlen = nextminlen; args 3573 fs/xfs/libxfs/xfs_bmap.c args.minalignslop = 0; args 3575 fs/xfs/libxfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) args 3578 fs/xfs/libxfs/xfs_bmap.c if (isaligned && args.fsbno == NULLFSBLOCK) { args 3583 fs/xfs/libxfs/xfs_bmap.c args.type = atype; args 3584 fs/xfs/libxfs/xfs_bmap.c args.fsbno = ap->blkno; args 3585 fs/xfs/libxfs/xfs_bmap.c args.alignment = 0; args 3586 fs/xfs/libxfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) args 3589 fs/xfs/libxfs/xfs_bmap.c if (args.fsbno == NULLFSBLOCK && nullfb && args 3590 fs/xfs/libxfs/xfs_bmap.c args.minlen > ap->minlen) { args 3591 fs/xfs/libxfs/xfs_bmap.c args.minlen = ap->minlen; args 3592 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_START_BNO; args 3593 fs/xfs/libxfs/xfs_bmap.c args.fsbno = ap->blkno; args 3594 fs/xfs/libxfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) args 3597 fs/xfs/libxfs/xfs_bmap.c if (args.fsbno == NULLFSBLOCK && nullfb) { args 3598 fs/xfs/libxfs/xfs_bmap.c args.fsbno = 0; args 3599 fs/xfs/libxfs/xfs_bmap.c args.type = XFS_ALLOCTYPE_FIRST_AG; args 3600 fs/xfs/libxfs/xfs_bmap.c args.total = ap->minlen; args 3601 fs/xfs/libxfs/xfs_bmap.c if ((error = xfs_alloc_vextent(&args))) args 3605 fs/xfs/libxfs/xfs_bmap.c if (args.fsbno != NULLFSBLOCK) { args 3612 fs/xfs/libxfs/xfs_bmap.c XFS_FSB_TO_AGNO(mp, args.fsbno)); args 3614 fs/xfs/libxfs/xfs_bmap.c ap->blkno = args.fsbno; args 3616 fs/xfs/libxfs/xfs_bmap.c ap->tp->t_firstblock = args.fsbno; args 3617 fs/xfs/libxfs/xfs_bmap.c ASSERT(nullfb || fb_agno <= args.agno); args 3618 fs/xfs/libxfs/xfs_bmap.c ap->length = args.len; args 3635 fs/xfs/libxfs/xfs_bmap.c xfs_bmap_btalloc_accounting(ap, &args); args 201 fs/xfs/libxfs/xfs_bmap_btree.c xfs_alloc_arg_t args; /* block allocation args */ args 204 fs/xfs/libxfs/xfs_bmap_btree.c memset(&args, 0, sizeof(args)); args 205 fs/xfs/libxfs/xfs_bmap_btree.c args.tp = cur->bc_tp; args 206 fs/xfs/libxfs/xfs_bmap_btree.c args.mp = cur->bc_mp; args 207 fs/xfs/libxfs/xfs_bmap_btree.c args.fsbno = cur->bc_tp->t_firstblock; args 208 fs/xfs/libxfs/xfs_bmap_btree.c xfs_rmap_ino_bmbt_owner(&args.oinfo, cur->bc_private.b.ip->i_ino, args 211 fs/xfs/libxfs/xfs_bmap_btree.c if (args.fsbno == NULLFSBLOCK) { args 212 fs/xfs/libxfs/xfs_bmap_btree.c args.fsbno = be64_to_cpu(start->l); args 213 fs/xfs/libxfs/xfs_bmap_btree.c args.type = XFS_ALLOCTYPE_START_BNO; args 225 fs/xfs/libxfs/xfs_bmap_btree.c args.minleft = args.tp->t_blk_res; args 227 fs/xfs/libxfs/xfs_bmap_btree.c args.type = XFS_ALLOCTYPE_START_BNO; args 229 fs/xfs/libxfs/xfs_bmap_btree.c args.type = XFS_ALLOCTYPE_NEAR_BNO; args 232 fs/xfs/libxfs/xfs_bmap_btree.c args.minlen = args.maxlen = args.prod = 1; args 233 fs/xfs/libxfs/xfs_bmap_btree.c args.wasdel = cur->bc_private.b.flags & XFS_BTCUR_BPRV_WASDEL; args 234 fs/xfs/libxfs/xfs_bmap_btree.c if (!args.wasdel && args.tp->t_blk_res == 0) { args 238 fs/xfs/libxfs/xfs_bmap_btree.c error = xfs_alloc_vextent(&args); args 242 fs/xfs/libxfs/xfs_bmap_btree.c if (args.fsbno == NULLFSBLOCK && args.minleft) { args 248 fs/xfs/libxfs/xfs_bmap_btree.c args.fsbno = 0; args 249 fs/xfs/libxfs/xfs_bmap_btree.c args.type = XFS_ALLOCTYPE_FIRST_AG; args 250 fs/xfs/libxfs/xfs_bmap_btree.c error = xfs_alloc_vextent(&args); args 255 fs/xfs/libxfs/xfs_bmap_btree.c if (WARN_ON_ONCE(args.fsbno == NULLFSBLOCK)) { args 260 fs/xfs/libxfs/xfs_bmap_btree.c ASSERT(args.len == 1); args 261 fs/xfs/libxfs/xfs_bmap_btree.c cur->bc_tp->t_firstblock = args.fsbno; args 264 fs/xfs/libxfs/xfs_bmap_btree.c xfs_trans_log_inode(args.tp, cur->bc_private.b.ip, XFS_ILOG_CORE); args 265 fs/xfs/libxfs/xfs_bmap_btree.c xfs_trans_mod_dquot_byino(args.tp, cur->bc_private.b.ip, args 268 fs/xfs/libxfs/xfs_bmap_btree.c new->l = cpu_to_be64(args.fsbno); args 2853 fs/xfs/libxfs/xfs_btree.c struct xfs_btree_split_args *args = container_of(work, args 2864 fs/xfs/libxfs/xfs_btree.c if (args->kswapd) args 2869 fs/xfs/libxfs/xfs_btree.c args->result = __xfs_btree_split(args->cur, args->level, args->ptrp, args 2870 fs/xfs/libxfs/xfs_btree.c args->key, args->curp, args->stat); args 2871 fs/xfs/libxfs/xfs_btree.c complete(args->done); args 2890 fs/xfs/libxfs/xfs_btree.c struct xfs_btree_split_args args; args 2896 fs/xfs/libxfs/xfs_btree.c args.cur = cur; args 2897 fs/xfs/libxfs/xfs_btree.c args.level = level; args 2898 fs/xfs/libxfs/xfs_btree.c args.ptrp = ptrp; args 2899 fs/xfs/libxfs/xfs_btree.c args.key = key; args 2900 fs/xfs/libxfs/xfs_btree.c args.curp = curp; args 2901 fs/xfs/libxfs/xfs_btree.c args.stat = stat; args 2902 fs/xfs/libxfs/xfs_btree.c args.done = &done; args 2903 fs/xfs/libxfs/xfs_btree.c args.kswapd = current_is_kswapd(); args 2904 fs/xfs/libxfs/xfs_btree.c INIT_WORK_ONSTACK(&args.work, xfs_btree_split_worker); args 2905 fs/xfs/libxfs/xfs_btree.c queue_work(xfs_alloc_wq, &args.work); args 2907 fs/xfs/libxfs/xfs_btree.c destroy_work_on_stack(&args.work); args 2908 fs/xfs/libxfs/xfs_btree.c return args.result; args 329 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args, args 336 fs/xfs/libxfs/xfs_da_btree.c struct xfs_trans *tp = args->trans; args 341 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = args->dp; args 343 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_node_create(args); args 359 fs/xfs/libxfs/xfs_da_btree.c hdr3->info.owner = cpu_to_be64(args->dp->i_ino); args 391 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_split(state->args); args 433 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_attr_leaf_split_before(state->args); args 438 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_attr_leaf_split_after(state->args); args 512 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(state->args->trans, addblk->bp, args 524 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(state->args->trans, addblk->bp, args 548 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args; args 558 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_root_split(state->args); args 564 fs/xfs/libxfs/xfs_da_btree.c args = state->args; args 565 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da_grow_inode(args, &blkno); args 569 fs/xfs/libxfs/xfs_da_btree.c dp = args->dp; args 570 fs/xfs/libxfs/xfs_da_btree.c tp = args->trans; args 571 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, args->whichfork); args 633 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_create(args, args 634 fs/xfs/libxfs/xfs_da_btree.c (args->whichfork == XFS_DATA_FORK) ? args->geo->leafblk : 0, args 635 fs/xfs/libxfs/xfs_da_btree.c level + 1, &bp, args->whichfork); args 652 fs/xfs/libxfs/xfs_da_btree.c ASSERT(blk1->blkno >= args->geo->leafblk && args 653 fs/xfs/libxfs/xfs_da_btree.c blk1->blkno < args->geo->freeblk); args 654 fs/xfs/libxfs/xfs_da_btree.c ASSERT(blk2->blkno >= args->geo->leafblk && args 655 fs/xfs/libxfs/xfs_da_btree.c blk2->blkno < args->geo->freeblk); args 684 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 686 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_node_split(state->args); args 694 fs/xfs/libxfs/xfs_da_btree.c useextra = state->extravalid && state->args->whichfork == XFS_ATTR_FORK; args 699 fs/xfs/libxfs/xfs_da_btree.c if (nodehdr.count + newcount > state->args->geo->node_ents) { args 704 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da_grow_inode(state->args, &blkno); args 708 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_create(state->args, blkno, treelevel, args 709 fs/xfs/libxfs/xfs_da_btree.c &newblk->bp, state->args->whichfork); args 785 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 787 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_node_rebalance(state->args); args 817 fs/xfs/libxfs/xfs_da_btree.c tp = state->args->trans; args 919 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 921 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_node_add(state->args); args 929 fs/xfs/libxfs/xfs_da_btree.c if (state->args->whichfork == XFS_DATA_FORK) args 930 fs/xfs/libxfs/xfs_da_btree.c ASSERT(newblk->blkno >= state->args->geo->leafblk && args 931 fs/xfs/libxfs/xfs_da_btree.c newblk->blkno < state->args->geo->freeblk); args 943 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(state->args->trans, oldblk->bp, args 949 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(state->args->trans, oldblk->bp, args 975 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_join(state->args); args 1032 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da_shrink_inode(state->args, drop_blk->blkno, args 1081 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args; args 1087 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 1089 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_root_join(state->args); args 1093 fs/xfs/libxfs/xfs_da_btree.c args = state->args; args 1112 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(args->trans, dp, child, -1, &bp, args 1113 fs/xfs/libxfs/xfs_da_btree.c args->whichfork); args 1125 fs/xfs/libxfs/xfs_da_btree.c memcpy(root_blk->bp->b_addr, bp->b_addr, args->geo->blksize); args 1132 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(args->trans, root_blk->bp, 0, args 1133 fs/xfs/libxfs/xfs_da_btree.c args->geo->blksize - 1); args 1134 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da_shrink_inode(args, child, bp); args 1163 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 1165 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_node_toosmall(state->args); args 1176 fs/xfs/libxfs/xfs_da_btree.c if (nodehdr.count > (state->args->geo->node_ents >> 1)) { args 1213 fs/xfs/libxfs/xfs_da_btree.c count = state->args->geo->node_ents; args 1214 fs/xfs/libxfs/xfs_da_btree.c count -= state->args->geo->node_ents >> 2; args 1227 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(state->args->trans, dp, args 1228 fs/xfs/libxfs/xfs_da_btree.c blkno, -1, &bp, state->args->whichfork); args 1234 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_brelse(state->args->trans, bp); args 1304 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 1306 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_fixhashpath(state->args); args 1337 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(state->args->trans, blk->bp, args 1358 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 1360 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_node_remove(state->args); args 1376 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(state->args->trans, drop_blk->bp, args 1381 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(state->args->trans, drop_blk->bp, args 1385 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(state->args->trans, drop_blk->bp, args 1413 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 1415 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_node_unbalance(state->args); args 1423 fs/xfs/libxfs/xfs_da_btree.c tp = state->args->trans; args 1492 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args; args 1503 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 1505 fs/xfs/libxfs/xfs_da_btree.c args = state->args; args 1511 fs/xfs/libxfs/xfs_da_btree.c blkno = args->geo->leafblk; args 1519 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(args->trans, args->dp, blkno, args 1520 fs/xfs/libxfs/xfs_da_btree.c -1, &blk->bp, args->whichfork); args 1539 fs/xfs/libxfs/xfs_da_btree.c blk->hashval = xfs_dir2_leaf_lasthash(args->dp, args 1561 fs/xfs/libxfs/xfs_da_btree.c if (blkno == args->geo->leafblk) args 1575 fs/xfs/libxfs/xfs_da_btree.c hashval = args->hashval; args 1615 fs/xfs/libxfs/xfs_da_btree.c if (blkno == args->geo->leafblk) args 1630 fs/xfs/libxfs/xfs_da_btree.c retval = xfs_dir2_leafn_lookup_int(blk->bp, args, args 1633 fs/xfs/libxfs/xfs_da_btree.c retval = xfs_attr3_leaf_lookup_int(blk->bp, args); args 1634 fs/xfs/libxfs/xfs_da_btree.c blk->index = args->index; args 1635 fs/xfs/libxfs/xfs_da_btree.c args->blkno = blk->blkno; args 1641 fs/xfs/libxfs/xfs_da_btree.c (blk->hashval == args->hashval)) { args 1707 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args; args 1711 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 1716 fs/xfs/libxfs/xfs_da_btree.c args = state->args; args 1717 fs/xfs/libxfs/xfs_da_btree.c ASSERT(args != NULL); args 1743 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_link_before(args); args 1747 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(args->trans, dp, args 1749 fs/xfs/libxfs/xfs_da_btree.c -1, &bp, args->whichfork); args 1757 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(args->trans, bp, 0, sizeof(*tmp_info)-1); args 1764 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_link_after(args); args 1768 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(args->trans, dp, args 1770 fs/xfs/libxfs/xfs_da_btree.c -1, &bp, args->whichfork); args 1778 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(args->trans, bp, 0, sizeof(*tmp_info)-1); args 1783 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(args->trans, old_blk->bp, 0, sizeof(*tmp_info) - 1); args 1784 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(args->trans, new_blk->bp, 0, sizeof(*tmp_info) - 1); args 1800 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args; args 1807 fs/xfs/libxfs/xfs_da_btree.c args = state->args; args 1808 fs/xfs/libxfs/xfs_da_btree.c ASSERT(args != NULL); args 1824 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_unlink_back(args); args 1827 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(args->trans, args->dp, args 1829 fs/xfs/libxfs/xfs_da_btree.c -1, &bp, args->whichfork); args 1837 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(args->trans, bp, 0, args 1841 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_unlink_forward(args); args 1844 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(args->trans, args->dp, args 1846 fs/xfs/libxfs/xfs_da_btree.c -1, &bp, args->whichfork); args 1854 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(args->trans, bp, 0, args 1859 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(args->trans, save_blk->bp, 0, sizeof(*save_info) - 1); args 1882 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args; args 1889 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = state->args->dp; args 1891 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_path_shift(state->args); args 1898 fs/xfs/libxfs/xfs_da_btree.c args = state->args; args 1899 fs/xfs/libxfs/xfs_da_btree.c ASSERT(args != NULL); args 1920 fs/xfs/libxfs/xfs_da_btree.c ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); args 1932 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_node_read(args->trans, dp, blkno, -1, &bp, args 1933 fs/xfs/libxfs/xfs_da_btree.c args->whichfork); args 1944 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_brelse(args->trans, blk->bp); args 1987 fs/xfs/libxfs/xfs_da_btree.c blk->hashval = xfs_dir2_leaf_lasthash(args->dp, args 2039 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args, args 2043 fs/xfs/libxfs/xfs_da_btree.c return (args->namelen == len && memcmp(args->name, name, len) == 0) ? args 2061 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args, args 2065 fs/xfs/libxfs/xfs_da_btree.c struct xfs_trans *tp = args->trans; args 2066 fs/xfs/libxfs/xfs_da_btree.c struct xfs_inode *dp = args->dp; args 2067 fs/xfs/libxfs/xfs_da_btree.c int w = args->whichfork; args 2085 fs/xfs/libxfs/xfs_da_btree.c args->total, &map, &nmap); args 2107 fs/xfs/libxfs/xfs_da_btree.c args->total, &mapp[mapi], &nmap); args 2134 fs/xfs/libxfs/xfs_da_btree.c args->total -= dp->i_d.di_nblocks - nblks; args 2148 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args, args 2154 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_grow_inode(args); args 2156 fs/xfs/libxfs/xfs_da_btree.c bno = args->geo->leafblk; args 2157 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da_grow_inode_int(args, &bno, args->geo->fsbcount); args 2173 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args, args 2203 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_swap_lastblock(args); args 2207 fs/xfs/libxfs/xfs_da_btree.c tp = args->trans; args 2208 fs/xfs/libxfs/xfs_da_btree.c dp = args->dp; args 2209 fs/xfs/libxfs/xfs_da_btree.c w = args->whichfork; args 2212 fs/xfs/libxfs/xfs_da_btree.c lastoff = args->geo->freeblk; args 2224 fs/xfs/libxfs/xfs_da_btree.c last_blkno = (xfs_dablk_t)lastoff - args->geo->fsbcount; args 2231 fs/xfs/libxfs/xfs_da_btree.c memcpy(dead_buf->b_addr, last_buf->b_addr, args->geo->blksize); args 2232 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_log_buf(tp, dead_buf, 0, args->geo->blksize - 1); args 2301 fs/xfs/libxfs/xfs_da_btree.c par_blkno = args->geo->leafblk; args 2396 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_args *args, args 2404 fs/xfs/libxfs/xfs_da_btree.c trace_xfs_da_shrink_inode(args); args 2406 fs/xfs/libxfs/xfs_da_btree.c dp = args->dp; args 2407 fs/xfs/libxfs/xfs_da_btree.c w = args->whichfork; args 2408 fs/xfs/libxfs/xfs_da_btree.c tp = args->trans; args 2409 fs/xfs/libxfs/xfs_da_btree.c count = args->geo->fsbcount; args 2420 fs/xfs/libxfs/xfs_da_btree.c error = xfs_da3_swap_lastblock(args, &dead_blkno, args 116 fs/xfs/libxfs/xfs_da_btree.h xfs_da_args_t *args; /* filename arguments */ args 152 fs/xfs/libxfs/xfs_da_btree.h int xfs_da3_node_create(struct xfs_da_args *args, xfs_dablk_t blkno, args 181 fs/xfs/libxfs/xfs_da_btree.h int xfs_da_grow_inode(xfs_da_args_t *args, xfs_dablk_t *new_blkno); args 182 fs/xfs/libxfs/xfs_da_btree.h int xfs_da_grow_inode_int(struct xfs_da_args *args, xfs_fileoff_t *bno, args 194 fs/xfs/libxfs/xfs_da_btree.h int xfs_da_shrink_inode(xfs_da_args_t *args, xfs_dablk_t dead_blkno, args 198 fs/xfs/libxfs/xfs_da_btree.h enum xfs_dacmp xfs_da_compname(struct xfs_da_args *args, args 70 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args, args 77 fs/xfs/libxfs/xfs_dir2.c if (args->namelen != len) args 82 fs/xfs/libxfs/xfs_dir2.c if (args->name[i] == name[i]) args 84 fs/xfs/libxfs/xfs_dir2.c if (tolower(args->name[i]) != tolower(name[i])) args 212 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args; args 220 fs/xfs/libxfs/xfs_dir2.c args = kmem_zalloc(sizeof(*args), KM_NOFS); args 221 fs/xfs/libxfs/xfs_dir2.c if (!args) args 224 fs/xfs/libxfs/xfs_dir2.c args->geo = dp->i_mount->m_dir_geo; args 225 fs/xfs/libxfs/xfs_dir2.c args->dp = dp; args 226 fs/xfs/libxfs/xfs_dir2.c args->trans = tp; args 227 fs/xfs/libxfs/xfs_dir2.c error = xfs_dir2_sf_create(args, pdp->i_ino); args 228 fs/xfs/libxfs/xfs_dir2.c kmem_free(args); args 244 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args; args 257 fs/xfs/libxfs/xfs_dir2.c args = kmem_zalloc(sizeof(*args), KM_NOFS); args 258 fs/xfs/libxfs/xfs_dir2.c if (!args) args 261 fs/xfs/libxfs/xfs_dir2.c args->geo = dp->i_mount->m_dir_geo; args 262 fs/xfs/libxfs/xfs_dir2.c args->name = name->name; args 263 fs/xfs/libxfs/xfs_dir2.c args->namelen = name->len; args 264 fs/xfs/libxfs/xfs_dir2.c args->filetype = name->type; args 265 fs/xfs/libxfs/xfs_dir2.c args->hashval = dp->i_mount->m_dirnameops->hashname(name); args 266 fs/xfs/libxfs/xfs_dir2.c args->inumber = inum; args 267 fs/xfs/libxfs/xfs_dir2.c args->dp = dp; args 268 fs/xfs/libxfs/xfs_dir2.c args->total = total; args 269 fs/xfs/libxfs/xfs_dir2.c args->whichfork = XFS_DATA_FORK; args 270 fs/xfs/libxfs/xfs_dir2.c args->trans = tp; args 271 fs/xfs/libxfs/xfs_dir2.c args->op_flags = XFS_DA_OP_ADDNAME | XFS_DA_OP_OKNOENT; args 273 fs/xfs/libxfs/xfs_dir2.c args->op_flags |= XFS_DA_OP_JUSTCHECK; args 276 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_sf_addname(args); args 280 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_isblock(args, &v); args 284 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_block_addname(args); args 288 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_isleaf(args, &v); args 292 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_leaf_addname(args); args 294 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_node_addname(args); args 297 fs/xfs/libxfs/xfs_dir2.c kmem_free(args); args 307 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args, args 311 fs/xfs/libxfs/xfs_dir2.c if (args->cmpresult == XFS_CMP_DIFFERENT) args 313 fs/xfs/libxfs/xfs_dir2.c if (args->cmpresult != XFS_CMP_CASE || args 314 fs/xfs/libxfs/xfs_dir2.c !(args->op_flags & XFS_DA_OP_CILOOKUP)) args 317 fs/xfs/libxfs/xfs_dir2.c args->value = kmem_alloc(len, KM_NOFS | KM_MAYFAIL); args 318 fs/xfs/libxfs/xfs_dir2.c if (!args->value) args 321 fs/xfs/libxfs/xfs_dir2.c memcpy(args->value, name, len); args 322 fs/xfs/libxfs/xfs_dir2.c args->valuelen = len; args 340 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args; args 356 fs/xfs/libxfs/xfs_dir2.c args = kmem_zalloc(sizeof(*args), KM_NOFS); args 357 fs/xfs/libxfs/xfs_dir2.c args->geo = dp->i_mount->m_dir_geo; args 358 fs/xfs/libxfs/xfs_dir2.c args->name = name->name; args 359 fs/xfs/libxfs/xfs_dir2.c args->namelen = name->len; args 360 fs/xfs/libxfs/xfs_dir2.c args->filetype = name->type; args 361 fs/xfs/libxfs/xfs_dir2.c args->hashval = dp->i_mount->m_dirnameops->hashname(name); args 362 fs/xfs/libxfs/xfs_dir2.c args->dp = dp; args 363 fs/xfs/libxfs/xfs_dir2.c args->whichfork = XFS_DATA_FORK; args 364 fs/xfs/libxfs/xfs_dir2.c args->trans = tp; args 365 fs/xfs/libxfs/xfs_dir2.c args->op_flags = XFS_DA_OP_OKNOENT; args 367 fs/xfs/libxfs/xfs_dir2.c args->op_flags |= XFS_DA_OP_CILOOKUP; args 371 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_sf_lookup(args); args 375 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_isblock(args, &v); args 379 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_block_lookup(args); args 383 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_isleaf(args, &v); args 387 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_leaf_lookup(args); args 389 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_node_lookup(args); args 395 fs/xfs/libxfs/xfs_dir2.c *inum = args->inumber; args 397 fs/xfs/libxfs/xfs_dir2.c ci_name->name = args->value; args 398 fs/xfs/libxfs/xfs_dir2.c ci_name->len = args->valuelen; args 403 fs/xfs/libxfs/xfs_dir2.c kmem_free(args); args 418 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args; args 425 fs/xfs/libxfs/xfs_dir2.c args = kmem_zalloc(sizeof(*args), KM_NOFS); args 426 fs/xfs/libxfs/xfs_dir2.c if (!args) args 429 fs/xfs/libxfs/xfs_dir2.c args->geo = dp->i_mount->m_dir_geo; args 430 fs/xfs/libxfs/xfs_dir2.c args->name = name->name; args 431 fs/xfs/libxfs/xfs_dir2.c args->namelen = name->len; args 432 fs/xfs/libxfs/xfs_dir2.c args->filetype = name->type; args 433 fs/xfs/libxfs/xfs_dir2.c args->hashval = dp->i_mount->m_dirnameops->hashname(name); args 434 fs/xfs/libxfs/xfs_dir2.c args->inumber = ino; args 435 fs/xfs/libxfs/xfs_dir2.c args->dp = dp; args 436 fs/xfs/libxfs/xfs_dir2.c args->total = total; args 437 fs/xfs/libxfs/xfs_dir2.c args->whichfork = XFS_DATA_FORK; args 438 fs/xfs/libxfs/xfs_dir2.c args->trans = tp; args 441 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_sf_removename(args); args 445 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_isblock(args, &v); args 449 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_block_removename(args); args 453 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_isleaf(args, &v); args 457 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_leaf_removename(args); args 459 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_node_removename(args); args 461 fs/xfs/libxfs/xfs_dir2.c kmem_free(args); args 476 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args; args 486 fs/xfs/libxfs/xfs_dir2.c args = kmem_zalloc(sizeof(*args), KM_NOFS); args 487 fs/xfs/libxfs/xfs_dir2.c if (!args) args 490 fs/xfs/libxfs/xfs_dir2.c args->geo = dp->i_mount->m_dir_geo; args 491 fs/xfs/libxfs/xfs_dir2.c args->name = name->name; args 492 fs/xfs/libxfs/xfs_dir2.c args->namelen = name->len; args 493 fs/xfs/libxfs/xfs_dir2.c args->filetype = name->type; args 494 fs/xfs/libxfs/xfs_dir2.c args->hashval = dp->i_mount->m_dirnameops->hashname(name); args 495 fs/xfs/libxfs/xfs_dir2.c args->inumber = inum; args 496 fs/xfs/libxfs/xfs_dir2.c args->dp = dp; args 497 fs/xfs/libxfs/xfs_dir2.c args->total = total; args 498 fs/xfs/libxfs/xfs_dir2.c args->whichfork = XFS_DATA_FORK; args 499 fs/xfs/libxfs/xfs_dir2.c args->trans = tp; args 502 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_sf_replace(args); args 506 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_isblock(args, &v); args 510 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_block_replace(args); args 514 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_isleaf(args, &v); args 518 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_leaf_replace(args); args 520 fs/xfs/libxfs/xfs_dir2.c rval = xfs_dir2_node_replace(args); args 522 fs/xfs/libxfs/xfs_dir2.c kmem_free(args); args 550 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args, args 554 fs/xfs/libxfs/xfs_dir2.c struct xfs_inode *dp = args->dp; args 560 fs/xfs/libxfs/xfs_dir2.c trace_xfs_dir2_grow_inode(args, space); args 566 fs/xfs/libxfs/xfs_dir2.c count = args->geo->fsbcount; args 568 fs/xfs/libxfs/xfs_dir2.c error = xfs_da_grow_inode_int(args, &bno, count); args 572 fs/xfs/libxfs/xfs_dir2.c *dbp = xfs_dir2_da_to_db(args->geo, (xfs_dablk_t)bno); args 583 fs/xfs/libxfs/xfs_dir2.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE); args 594 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args, args 600 fs/xfs/libxfs/xfs_dir2.c if ((rval = xfs_bmap_last_offset(args->dp, &last, XFS_DATA_FORK))) args 602 fs/xfs/libxfs/xfs_dir2.c rval = XFS_FSB_TO_B(args->dp->i_mount, last) == args->geo->blksize; args 603 fs/xfs/libxfs/xfs_dir2.c if (rval != 0 && args->dp->i_d.di_size != args->geo->blksize) args 614 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args, args 620 fs/xfs/libxfs/xfs_dir2.c if ((rval = xfs_bmap_last_offset(args->dp, &last, XFS_DATA_FORK))) args 622 fs/xfs/libxfs/xfs_dir2.c *vp = last == args->geo->leafblk + args->geo->fsbcount; args 633 fs/xfs/libxfs/xfs_dir2.c struct xfs_da_args *args, args 645 fs/xfs/libxfs/xfs_dir2.c trace_xfs_dir2_shrink_inode(args, db); args 647 fs/xfs/libxfs/xfs_dir2.c dp = args->dp; args 649 fs/xfs/libxfs/xfs_dir2.c tp = args->trans; args 650 fs/xfs/libxfs/xfs_dir2.c da = xfs_dir2_db_to_da(args->geo, db); args 653 fs/xfs/libxfs/xfs_dir2.c error = xfs_bunmapi(tp, dp, da, args->geo->fsbcount, 0, 0, &done); args 677 fs/xfs/libxfs/xfs_dir2.c if (db >= xfs_dir2_byte_to_db(args->geo, XFS_DIR2_LEAF_OFFSET)) args 682 fs/xfs/libxfs/xfs_dir2.c if (dp->i_d.di_size > xfs_dir2_db_off_to_byte(args->geo, db + 1, 0)) args 691 fs/xfs/libxfs/xfs_dir2.c if (db == args->geo->datablk) args 136 fs/xfs/libxfs/xfs_dir2.h extern int xfs_dir2_sf_to_block(struct xfs_da_args *args); args 141 fs/xfs/libxfs/xfs_dir2.h extern int xfs_dir2_isblock(struct xfs_da_args *args, int *r); args 142 fs/xfs/libxfs/xfs_dir2.h extern int xfs_dir2_isleaf(struct xfs_da_args *args, int *r); args 143 fs/xfs/libxfs/xfs_dir2.h extern int xfs_dir2_shrink_inode(struct xfs_da_args *args, xfs_dir2_db_t db, args 151 fs/xfs/libxfs/xfs_dir2.h extern void xfs_dir2_data_log_entry(struct xfs_da_args *args, args 153 fs/xfs/libxfs/xfs_dir2.h extern void xfs_dir2_data_log_header(struct xfs_da_args *args, args 155 fs/xfs/libxfs/xfs_dir2.h extern void xfs_dir2_data_log_unused(struct xfs_da_args *args, args 157 fs/xfs/libxfs/xfs_dir2.h extern void xfs_dir2_data_make_free(struct xfs_da_args *args, args 160 fs/xfs/libxfs/xfs_dir2.h extern int xfs_dir2_data_use_free(struct xfs_da_args *args, args 30 fs/xfs/libxfs/xfs_dir2_block.c static int xfs_dir2_block_lookup_int(xfs_da_args_t *args, struct xfs_buf **bpp, args 271 fs/xfs/libxfs/xfs_dir2_block.c struct xfs_da_args *args, args 304 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_make_free(args, bp, args 314 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_freescan(args->dp, hdr, needlog); args 322 fs/xfs/libxfs/xfs_dir2_block.c xfs_da_args_t *args) /* directory op arguments */ args 348 fs/xfs/libxfs/xfs_dir2_block.c trace_xfs_dir2_block_addname(args); args 350 fs/xfs/libxfs/xfs_dir2_block.c dp = args->dp; args 351 fs/xfs/libxfs/xfs_dir2_block.c tp = args->trans; args 358 fs/xfs/libxfs/xfs_dir2_block.c len = dp->d_ops->data_entsize(args->namelen); args 364 fs/xfs/libxfs/xfs_dir2_block.c btp = xfs_dir2_block_tail_p(args->geo, hdr); args 377 fs/xfs/libxfs/xfs_dir2_block.c if (args->op_flags & XFS_DA_OP_JUSTCHECK) { args 389 fs/xfs/libxfs/xfs_dir2_block.c if (args->total == 0) args 395 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir2_block_to_leaf(args, bp); args 398 fs/xfs/libxfs/xfs_dir2_block.c return xfs_dir2_leaf_addname(args); args 407 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_block_compact(args, bp, hdr, btp, blp, &needlog, args 425 fs/xfs/libxfs/xfs_dir2_block.c if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) args 427 fs/xfs/libxfs/xfs_dir2_block.c if (hash < args->hashval) args 432 fs/xfs/libxfs/xfs_dir2_block.c while (mid >= 0 && be32_to_cpu(blp[mid].hashval) >= args->hashval) { args 446 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir2_data_use_free(args, bp, enddup, aoff, args 526 fs/xfs/libxfs/xfs_dir2_block.c blp[mid].hashval = cpu_to_be32(args->hashval); args 533 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir2_data_use_free(args, bp, dup, args 541 fs/xfs/libxfs/xfs_dir2_block.c dep->inumber = cpu_to_be64(args->inumber); args 542 fs/xfs/libxfs/xfs_dir2_block.c dep->namelen = args->namelen; args 543 fs/xfs/libxfs/xfs_dir2_block.c memcpy(dep->name, args->name, args->namelen); args 544 fs/xfs/libxfs/xfs_dir2_block.c dp->d_ops->data_put_ftype(dep, args->filetype); args 553 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_log_header(args, bp); args 555 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_log_entry(args, bp, dep); args 602 fs/xfs/libxfs/xfs_dir2_block.c xfs_da_args_t *args) /* dir lookup arguments */ args 613 fs/xfs/libxfs/xfs_dir2_block.c trace_xfs_dir2_block_lookup(args); args 619 fs/xfs/libxfs/xfs_dir2_block.c if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) args 621 fs/xfs/libxfs/xfs_dir2_block.c dp = args->dp; args 624 fs/xfs/libxfs/xfs_dir2_block.c btp = xfs_dir2_block_tail_p(args->geo, hdr); args 630 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_dataptr_to_off(args->geo, args 635 fs/xfs/libxfs/xfs_dir2_block.c args->inumber = be64_to_cpu(dep->inumber); args 636 fs/xfs/libxfs/xfs_dir2_block.c args->filetype = dp->d_ops->data_get_ftype(dep); args 637 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir_cilookup_result(args, dep->name, dep->namelen); args 638 fs/xfs/libxfs/xfs_dir2_block.c xfs_trans_brelse(args->trans, bp); args 647 fs/xfs/libxfs/xfs_dir2_block.c xfs_da_args_t *args, /* dir lookup arguments */ args 667 fs/xfs/libxfs/xfs_dir2_block.c dp = args->dp; args 668 fs/xfs/libxfs/xfs_dir2_block.c tp = args->trans; args 677 fs/xfs/libxfs/xfs_dir2_block.c btp = xfs_dir2_block_tail_p(args->geo, hdr); args 686 fs/xfs/libxfs/xfs_dir2_block.c if ((hash = be32_to_cpu(blp[mid].hashval)) == args->hashval) args 688 fs/xfs/libxfs/xfs_dir2_block.c if (hash < args->hashval) args 693 fs/xfs/libxfs/xfs_dir2_block.c ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); args 701 fs/xfs/libxfs/xfs_dir2_block.c while (mid > 0 && be32_to_cpu(blp[mid - 1].hashval) == args->hashval) { args 715 fs/xfs/libxfs/xfs_dir2_block.c ((char *)hdr + xfs_dir2_dataptr_to_off(args->geo, addr)); args 721 fs/xfs/libxfs/xfs_dir2_block.c cmp = mp->m_dirnameops->compname(args, dep->name, dep->namelen); args 722 fs/xfs/libxfs/xfs_dir2_block.c if (cmp != XFS_CMP_DIFFERENT && cmp != args->cmpresult) { args 723 fs/xfs/libxfs/xfs_dir2_block.c args->cmpresult = cmp; args 732 fs/xfs/libxfs/xfs_dir2_block.c ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); args 737 fs/xfs/libxfs/xfs_dir2_block.c if (args->cmpresult == XFS_CMP_CASE) args 752 fs/xfs/libxfs/xfs_dir2_block.c xfs_da_args_t *args) /* directory operation args */ args 768 fs/xfs/libxfs/xfs_dir2_block.c trace_xfs_dir2_block_removename(args); args 774 fs/xfs/libxfs/xfs_dir2_block.c if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) { args 777 fs/xfs/libxfs/xfs_dir2_block.c dp = args->dp; args 778 fs/xfs/libxfs/xfs_dir2_block.c tp = args->trans; args 780 fs/xfs/libxfs/xfs_dir2_block.c btp = xfs_dir2_block_tail_p(args->geo, hdr); args 786 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_dataptr_to_off(args->geo, args 792 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_make_free(args, bp, args 811 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_log_header(args, bp); args 823 fs/xfs/libxfs/xfs_dir2_block.c return xfs_dir2_block_to_sf(args, bp, size, &sfh); args 832 fs/xfs/libxfs/xfs_dir2_block.c xfs_da_args_t *args) /* directory operation args */ args 843 fs/xfs/libxfs/xfs_dir2_block.c trace_xfs_dir2_block_replace(args); args 849 fs/xfs/libxfs/xfs_dir2_block.c if ((error = xfs_dir2_block_lookup_int(args, &bp, &ent))) { args 852 fs/xfs/libxfs/xfs_dir2_block.c dp = args->dp; args 854 fs/xfs/libxfs/xfs_dir2_block.c btp = xfs_dir2_block_tail_p(args->geo, hdr); args 860 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_dataptr_to_off(args->geo, args 862 fs/xfs/libxfs/xfs_dir2_block.c ASSERT(be64_to_cpu(dep->inumber) != args->inumber); args 866 fs/xfs/libxfs/xfs_dir2_block.c dep->inumber = cpu_to_be64(args->inumber); args 867 fs/xfs/libxfs/xfs_dir2_block.c dp->d_ops->data_put_ftype(dep, args->filetype); args 868 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_log_entry(args, bp, dep); args 895 fs/xfs/libxfs/xfs_dir2_block.c xfs_da_args_t *args, /* operation arguments */ args 920 fs/xfs/libxfs/xfs_dir2_block.c trace_xfs_dir2_leaf_to_block(args); args 922 fs/xfs/libxfs/xfs_dir2_block.c dp = args->dp; args 923 fs/xfs/libxfs/xfs_dir2_block.c tp = args->trans; args 928 fs/xfs/libxfs/xfs_dir2_block.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); args 938 fs/xfs/libxfs/xfs_dir2_block.c while (dp->i_d.di_size > args->geo->blksize) { args 944 fs/xfs/libxfs/xfs_dir2_block.c args->geo->blksize - hdrsz) { args 946 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_leaf_trim_data(args, lbp, args 956 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir3_data_read(tp, dp, args->geo->datablk, -1, &dbp); args 972 fs/xfs/libxfs/xfs_dir2_block.c tagp = (__be16 *)((char *)hdr + args->geo->blksize) - 1; args 991 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir2_data_use_free(args, dbp, dup, args 992 fs/xfs/libxfs/xfs_dir2_block.c args->geo->blksize - size, size, &needlog, &needscan); args 998 fs/xfs/libxfs/xfs_dir2_block.c btp = xfs_dir2_block_tail_p(args->geo, hdr); args 1019 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_log_header(args, dbp); args 1023 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_da_shrink_inode(args, args->geo->leafblk, lbp); args 1034 fs/xfs/libxfs/xfs_dir2_block.c return xfs_dir2_block_to_sf(args, dbp, size, &sfh); args 1042 fs/xfs/libxfs/xfs_dir2_block.c xfs_da_args_t *args) /* operation arguments */ args 1069 fs/xfs/libxfs/xfs_dir2_block.c trace_xfs_dir2_sf_to_block(args); args 1071 fs/xfs/libxfs/xfs_dir2_block.c dp = args->dp; args 1072 fs/xfs/libxfs/xfs_dir2_block.c tp = args->trans; args 1105 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, &blkno); args 1111 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir3_data_init(args, blkno, &bp); args 1128 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir2_data_use_free(args, bp, dup, args->geo->blksize - i, args 1136 fs/xfs/libxfs/xfs_dir2_block.c btp = xfs_dir2_block_tail_p(args->geo, hdr); args 1144 fs/xfs/libxfs/xfs_dir2_block.c error = xfs_dir2_data_use_free(args, bp, dup, args 1159 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_log_entry(args, bp, dep); args 1173 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_log_entry(args, bp, dep); args 1207 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_log_unused(args, bp, dup); args 1224 fs/xfs/libxfs/xfs_dir2_block.c xfs_dir2_data_log_entry(args, bp, dep); args 634 fs/xfs/libxfs/xfs_dir2_data.c xfs_da_args_t *args, /* directory operation args */ args 649 fs/xfs/libxfs/xfs_dir2_data.c dp = args->dp; args 651 fs/xfs/libxfs/xfs_dir2_data.c tp = args->trans; args 655 fs/xfs/libxfs/xfs_dir2_data.c error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, blkno), args 691 fs/xfs/libxfs/xfs_dir2_data.c t = args->geo->blksize - (uint)dp->d_ops->data_entry_offset; args 698 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_header(args, bp); args 699 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_unused(args, bp, dup); args 709 fs/xfs/libxfs/xfs_dir2_data.c struct xfs_da_args *args, args 720 fs/xfs/libxfs/xfs_dir2_data.c xfs_trans_log_buf(args->trans, bp, (uint)((char *)dep - (char *)hdr), args 721 fs/xfs/libxfs/xfs_dir2_data.c (uint)((char *)(args->dp->d_ops->data_entry_tag_p(dep) + 1) - args 730 fs/xfs/libxfs/xfs_dir2_data.c struct xfs_da_args *args, args 742 fs/xfs/libxfs/xfs_dir2_data.c xfs_trans_log_buf(args->trans, bp, 0, args 743 fs/xfs/libxfs/xfs_dir2_data.c args->dp->d_ops->data_entry_offset - 1); args 751 fs/xfs/libxfs/xfs_dir2_data.c struct xfs_da_args *args, args 765 fs/xfs/libxfs/xfs_dir2_data.c xfs_trans_log_buf(args->trans, bp, (uint)((char *)dup - (char *)hdr), args 771 fs/xfs/libxfs/xfs_dir2_data.c xfs_trans_log_buf(args->trans, bp, args 783 fs/xfs/libxfs/xfs_dir2_data.c struct xfs_da_args *args, args 804 fs/xfs/libxfs/xfs_dir2_data.c endptr = xfs_dir3_data_endp(args->geo, hdr); args 811 fs/xfs/libxfs/xfs_dir2_data.c if (offset > args->dp->d_ops->data_entry_offset) { args 837 fs/xfs/libxfs/xfs_dir2_data.c bf = args->dp->d_ops->data_bestfree_p(hdr); args 859 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_unused(args, bp, prevdup); args 894 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_unused(args, bp, prevdup); args 922 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_unused(args, bp, newdup); args 949 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_unused(args, bp, newdup); args 1001 fs/xfs/libxfs/xfs_dir2_data.c struct xfs_da_args *args, args 1028 fs/xfs/libxfs/xfs_dir2_data.c bf = args->dp->d_ops->data_bestfree_p(hdr); args 1060 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_unused(args, bp, newdup); args 1088 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_unused(args, bp, newdup); args 1116 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_unused(args, bp, newdup); args 1122 fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_log_unused(args, bp, newdup2); args 1146 fs/xfs/libxfs/xfs_dir2_data.c xfs_corruption_error(__func__, XFS_ERRLEVEL_LOW, args->dp->i_mount, args 26 fs/xfs/libxfs/xfs_dir2_leaf.c static int xfs_dir2_leaf_lookup_int(xfs_da_args_t *args, struct xfs_buf **lbpp, args 28 fs/xfs/libxfs/xfs_dir2_leaf.c static void xfs_dir3_leaf_log_bests(struct xfs_da_args *args, args 30 fs/xfs/libxfs/xfs_dir2_leaf.c static void xfs_dir3_leaf_log_tail(struct xfs_da_args *args, args 298 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args, args 303 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_inode *dp = args->dp; args 304 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_trans *tp = args->trans; args 310 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(bno >= xfs_dir2_byte_to_db(args->geo, XFS_DIR2_LEAF_OFFSET) && args 311 fs/xfs/libxfs/xfs_dir2_leaf.c bno < xfs_dir2_byte_to_db(args->geo, XFS_DIR2_FREE_OFFSET)); args 313 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, bno), args 319 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_header(args, bp); args 321 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_tail(args, bp); args 331 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args, /* operation arguments */ args 352 fs/xfs/libxfs/xfs_dir2_leaf.c trace_xfs_dir2_block_to_leaf(args); args 354 fs/xfs/libxfs/xfs_dir2_leaf.c dp = args->dp; args 355 fs/xfs/libxfs/xfs_dir2_leaf.c tp = args->trans; args 361 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_da_grow_inode(args, &blkno))) { args 364 fs/xfs/libxfs/xfs_dir2_leaf.c ldb = xfs_dir2_da_to_db(args->geo, blkno); args 365 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(ldb == xfs_dir2_byte_to_db(args->geo, XFS_DIR2_LEAF_OFFSET)); args 369 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir3_leaf_get_buf(args, ldb, &lbp, XFS_DIR2_LEAF1_MAGIC); args 376 fs/xfs/libxfs/xfs_dir2_leaf.c btp = xfs_dir2_block_tail_p(args->geo, hdr); args 388 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_header(args, lbp); args 395 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_ents(args, lbp, 0, leafhdr.count - 1); args 402 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_data_make_free(args, dbp, args 404 fs/xfs/libxfs/xfs_dir2_leaf.c (xfs_dir2_data_aoff_t)((char *)hdr + args->geo->blksize - args 422 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); args 430 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_data_log_header(args, dbp); args 433 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, 0, 0); args 563 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_da_args *args) /* operation arguments */ args 566 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_trans *tp = args->trans; args 572 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_inode *dp = args->dp; /* incore directory inode */ args 595 fs/xfs/libxfs/xfs_dir2_leaf.c trace_xfs_dir2_leaf_addname(args); args 597 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, -1, &lbp); args 607 fs/xfs/libxfs/xfs_dir2_leaf.c index = xfs_dir2_leaf_search_hash(args, lbp); args 609 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); args 613 fs/xfs/libxfs/xfs_dir2_leaf.c length = dp->d_ops->data_entsize(args->namelen); args 622 fs/xfs/libxfs/xfs_dir2_leaf.c index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; args 626 fs/xfs/libxfs/xfs_dir2_leaf.c i = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); args 682 fs/xfs/libxfs/xfs_dir2_leaf.c if ((args->op_flags & XFS_DA_OP_JUSTCHECK) || args 683 fs/xfs/libxfs/xfs_dir2_leaf.c args->total == 0) { args 690 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir2_leaf_to_node(args, lbp); args 696 fs/xfs/libxfs/xfs_dir2_leaf.c return xfs_dir2_node_addname(args); args 707 fs/xfs/libxfs/xfs_dir2_leaf.c if (args->op_flags & XFS_DA_OP_JUSTCHECK) { args 715 fs/xfs/libxfs/xfs_dir2_leaf.c if (args->total == 0 && use_block == -1) { args 745 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, args 753 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir3_data_init(args, use_block, &dbp))) { args 766 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_tail(args, lbp); args 767 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, 0, args 774 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, use_block, use_block); args 785 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_db_to_da(args->geo, use_block), args 804 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir2_data_use_free(args, dbp, dup, args 815 fs/xfs/libxfs/xfs_dir2_leaf.c dep->inumber = cpu_to_be64(args->inumber); args 816 fs/xfs/libxfs/xfs_dir2_leaf.c dep->namelen = args->namelen; args 817 fs/xfs/libxfs/xfs_dir2_leaf.c memcpy(dep->name, args->name, dep->namelen); args 818 fs/xfs/libxfs/xfs_dir2_leaf.c dp->d_ops->data_put_ftype(dep, args->filetype); args 830 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_data_log_header(args, dbp); args 831 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_data_log_entry(args, dbp, dep); args 839 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, use_block, use_block); args 848 fs/xfs/libxfs/xfs_dir2_leaf.c lep->hashval = cpu_to_be32(args->hashval); args 850 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_db_off_to_dataptr(args->geo, use_block, args 856 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_header(args, lbp); args 857 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_ents(args, lbp, lfloglow, lfloghigh); args 869 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args, /* operation arguments */ args 878 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_inode *dp = args->dp; args 909 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_header(args, bp); args 911 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_ents(args, bp, loglow, to - 1); args 1013 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_da_args *args, args 1026 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); args 1029 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_trans_log_buf(args->trans, bp, args 1039 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_da_args *args, args 1054 fs/xfs/libxfs/xfs_dir2_leaf.c ents = args->dp->d_ops->leaf_ents_p(leaf); args 1057 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_trans_log_buf(args->trans, bp, args 1067 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_da_args *args, args 1077 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_trans_log_buf(args->trans, bp, args 1079 fs/xfs/libxfs/xfs_dir2_leaf.c args->dp->d_ops->leaf_hdr_size - 1); args 1087 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_da_args *args, args 1098 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); args 1099 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_trans_log_buf(args->trans, bp, (uint)((char *)ltp - (char *)leaf), args 1100 fs/xfs/libxfs/xfs_dir2_leaf.c (uint)(args->geo->blksize - 1)); args 1110 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args) /* operation arguments */ args 1123 fs/xfs/libxfs/xfs_dir2_leaf.c trace_xfs_dir2_leaf_lookup(args); args 1128 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) { args 1131 fs/xfs/libxfs/xfs_dir2_leaf.c tp = args->trans; args 1132 fs/xfs/libxfs/xfs_dir2_leaf.c dp = args->dp; args 1146 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); args 1150 fs/xfs/libxfs/xfs_dir2_leaf.c args->inumber = be64_to_cpu(dep->inumber); args 1151 fs/xfs/libxfs/xfs_dir2_leaf.c args->filetype = dp->d_ops->data_get_ftype(dep); args 1152 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir_cilookup_result(args, dep->name, dep->namelen); args 1166 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args, /* operation arguments */ args 1188 fs/xfs/libxfs/xfs_dir2_leaf.c dp = args->dp; args 1189 fs/xfs/libxfs/xfs_dir2_leaf.c tp = args->trans; args 1192 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir3_leaf_read(tp, dp, args->geo->leafblk, -1, &lbp); args 1205 fs/xfs/libxfs/xfs_dir2_leaf.c index = xfs_dir2_leaf_search_hash(args, lbp); args 1211 fs/xfs/libxfs/xfs_dir2_leaf.c index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; args 1221 fs/xfs/libxfs/xfs_dir2_leaf.c newdb = xfs_dir2_dataptr_to_db(args->geo, args 1231 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_db_to_da(args->geo, newdb), args 1243 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_dataptr_to_off(args->geo, args 1250 fs/xfs/libxfs/xfs_dir2_leaf.c cmp = mp->m_dirnameops->compname(args, dep->name, dep->namelen); args 1251 fs/xfs/libxfs/xfs_dir2_leaf.c if (cmp != XFS_CMP_DIFFERENT && cmp != args->cmpresult) { args 1252 fs/xfs/libxfs/xfs_dir2_leaf.c args->cmpresult = cmp; args 1262 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); args 1268 fs/xfs/libxfs/xfs_dir2_leaf.c if (args->cmpresult == XFS_CMP_CASE) { args 1273 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_db_to_da(args->geo, cidb), args 1298 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args) /* operation arguments */ args 1320 fs/xfs/libxfs/xfs_dir2_leaf.c trace_xfs_dir2_leaf_removename(args); args 1325 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) { args 1328 fs/xfs/libxfs/xfs_dir2_leaf.c dp = args->dp; args 1339 fs/xfs/libxfs/xfs_dir2_leaf.c db = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); args 1341 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); args 1344 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); args 1351 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_data_make_free(args, dbp, args 1359 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_header(args, lbp); args 1362 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_ents(args, lbp, index, index); args 1371 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_data_log_header(args, dbp); args 1378 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, db, db); args 1385 fs/xfs/libxfs/xfs_dir2_leaf.c args->geo->blksize - dp->d_ops->data_entry_offset) { args 1386 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(db != args->geo->datablk); args 1387 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_shrink_inode(args, db, dbp))) { args 1394 fs/xfs/libxfs/xfs_dir2_leaf.c if (error == -ENOSPC && args->total == 0) args 1419 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_tail(args, lbp); args 1420 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, 0, args 1428 fs/xfs/libxfs/xfs_dir2_leaf.c else if (db != args->geo->datablk) args 1435 fs/xfs/libxfs/xfs_dir2_leaf.c return xfs_dir2_leaf_to_block(args, lbp, dbp); args 1443 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args) /* operation arguments */ args 1456 fs/xfs/libxfs/xfs_dir2_leaf.c trace_xfs_dir2_leaf_replace(args); args 1461 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_leaf_lookup_int(args, &lbp, &index, &dbp))) { args 1464 fs/xfs/libxfs/xfs_dir2_leaf.c dp = args->dp; args 1476 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address))); args 1477 fs/xfs/libxfs/xfs_dir2_leaf.c ASSERT(args->inumber != be64_to_cpu(dep->inumber)); args 1481 fs/xfs/libxfs/xfs_dir2_leaf.c dep->inumber = cpu_to_be64(args->inumber); args 1482 fs/xfs/libxfs/xfs_dir2_leaf.c dp->d_ops->data_put_ftype(dep, args->filetype); args 1483 fs/xfs/libxfs/xfs_dir2_leaf.c tp = args->trans; args 1484 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_data_log_entry(args, dbp, dep); args 1497 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args, /* operation arguments */ args 1511 fs/xfs/libxfs/xfs_dir2_leaf.c ents = args->dp->d_ops->leaf_ents_p(leaf); args 1512 fs/xfs/libxfs/xfs_dir2_leaf.c args->dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); args 1519 fs/xfs/libxfs/xfs_dir2_leaf.c hashwant = args->hashval; args 1551 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args, /* operation arguments */ args 1563 fs/xfs/libxfs/xfs_dir2_leaf.c dp = args->dp; args 1564 fs/xfs/libxfs/xfs_dir2_leaf.c tp = args->trans; args 1568 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir3_data_read(tp, dp, xfs_dir2_db_to_da(args->geo, db), args 1574 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); args 1584 fs/xfs/libxfs/xfs_dir2_leaf.c args->geo->blksize - dp->d_ops->data_entry_offset); args 1592 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_shrink_inode(args, db, dbp))) { args 1603 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_tail(args, lbp); args 1604 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); args 1637 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_da_args_t *args; /* operation arguments */ args 1658 fs/xfs/libxfs/xfs_dir2_leaf.c args = state->args; args 1660 fs/xfs/libxfs/xfs_dir2_leaf.c trace_xfs_dir2_node_to_leaf(args); args 1663 fs/xfs/libxfs/xfs_dir2_leaf.c dp = args->dp; args 1664 fs/xfs/libxfs/xfs_dir2_leaf.c tp = args->trans; args 1671 fs/xfs/libxfs/xfs_dir2_leaf.c fo -= args->geo->fsbcount; args 1678 fs/xfs/libxfs/xfs_dir2_leaf.c while (fo > args->geo->freeblk) { args 1679 fs/xfs/libxfs/xfs_dir2_leaf.c if ((error = xfs_dir2_node_trim_free(args, fo, &rval))) { args 1683 fs/xfs/libxfs/xfs_dir2_leaf.c fo -= args->geo->fsbcount; args 1696 fs/xfs/libxfs/xfs_dir2_leaf.c if (XFS_FSB_TO_B(mp, fo) > XFS_DIR2_LEAF_OFFSET + args->geo->blksize) args 1708 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir2_free_read(tp, dp, args->geo->freeblk, &fbp); args 1720 fs/xfs/libxfs/xfs_dir2_leaf.c if (xfs_dir3_leaf_size(&leafhdr, freehdr.nvalid) > args->geo->blksize) { args 1729 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_compact(args, &leafhdr, lbp); args 1740 fs/xfs/libxfs/xfs_dir2_leaf.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); args 1750 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_header(args, lbp); args 1751 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_bests(args, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); args 1752 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir3_leaf_log_tail(args, lbp); args 1758 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir2_shrink_inode(args, args 1759 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_dir2_byte_to_db(args->geo, XFS_DIR2_FREE_OFFSET), args 1777 fs/xfs/libxfs/xfs_dir2_leaf.c error = xfs_dir2_leaf_to_block(args, lbp, NULL); args 27 fs/xfs/libxfs/xfs_dir2_node.c static int xfs_dir2_leafn_add(struct xfs_buf *bp, xfs_da_args_t *args, args 32 fs/xfs/libxfs/xfs_dir2_node.c static int xfs_dir2_leafn_remove(xfs_da_args_t *args, struct xfs_buf *bp, args 245 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args, args 249 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_trans *tp = args->trans; args 250 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_inode *dp = args->dp; args 256 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(args->geo, fbno), args 291 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_da_args *args, args 300 fs/xfs/libxfs/xfs_dir2_node.c bests = args->dp->d_ops->free_bests_p(free); args 303 fs/xfs/libxfs/xfs_dir2_node.c xfs_trans_log_buf(args->trans, bp, args 314 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_da_args *args, args 324 fs/xfs/libxfs/xfs_dir2_node.c xfs_trans_log_buf(args->trans, bp, 0, args 325 fs/xfs/libxfs/xfs_dir2_node.c args->dp->d_ops->free_hdr_size - 1); args 335 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args, /* operation arguments */ args 353 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_leaf_to_node(args); args 355 fs/xfs/libxfs/xfs_dir2_node.c dp = args->dp; args 356 fs/xfs/libxfs/xfs_dir2_node.c tp = args->trans; args 360 fs/xfs/libxfs/xfs_dir2_node.c if ((error = xfs_dir2_grow_inode(args, XFS_DIR2_FREE_SPACE, &fdb))) { args 363 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(fdb == xfs_dir2_byte_to_db(args->geo, XFS_DIR2_FREE_OFFSET)); args 367 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir3_free_get_buf(args, fdb, &fbp); args 374 fs/xfs/libxfs/xfs_dir2_node.c ltp = xfs_dir2_leaf_tail_p(args->geo, leaf); args 376 fs/xfs/libxfs/xfs_dir2_node.c (uint)dp->i_d.di_size / args->geo->blksize) args 398 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_free_log_bests(args, fbp, 0, freehdr.nvalid - 1); args 399 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_free_log_header(args, fbp); args 413 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_header(args, lbp); args 425 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_da_args *args, /* operation arguments */ args 429 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_inode *dp = args->dp; args 439 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_leafn_add(args, index); args 458 fs/xfs/libxfs/xfs_dir2_node.c if (leafhdr.count == dp->d_ops->leaf_max_ents(args->geo)) { args 464 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(index == 0 || be32_to_cpu(ents[index - 1].hashval) <= args->hashval); args 466 fs/xfs/libxfs/xfs_dir2_node.c be32_to_cpu(ents[index].hashval) >= args->hashval); args 468 fs/xfs/libxfs/xfs_dir2_node.c if (args->op_flags & XFS_DA_OP_JUSTCHECK) args 492 fs/xfs/libxfs/xfs_dir2_node.c lep->hashval = cpu_to_be32(args->hashval); args 493 fs/xfs/libxfs/xfs_dir2_node.c lep->address = cpu_to_be32(xfs_dir2_db_off_to_dataptr(args->geo, args 494 fs/xfs/libxfs/xfs_dir2_node.c args->blkno, args->index)); args 497 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_header(args, bp); args 498 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_ents(args, bp, lfloglow, lfloghigh); args 560 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args, /* operation arguments */ args 582 fs/xfs/libxfs/xfs_dir2_node.c dp = args->dp; args 583 fs/xfs/libxfs/xfs_dir2_node.c tp = args->trans; args 595 fs/xfs/libxfs/xfs_dir2_node.c index = xfs_dir2_leaf_search_hash(args, bp); args 607 fs/xfs/libxfs/xfs_dir2_node.c length = dp->d_ops->data_entsize(args->namelen); args 612 fs/xfs/libxfs/xfs_dir2_node.c index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; args 622 fs/xfs/libxfs/xfs_dir2_node.c newdb = xfs_dir2_dataptr_to_db(args->geo, args 640 fs/xfs/libxfs/xfs_dir2_node.c newfdb = dp->d_ops->db_to_fdb(args->geo, newdb); args 652 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_db_to_da(args->geo, args 664 fs/xfs/libxfs/xfs_dir2_node.c fi = dp->d_ops->db_to_fdindex(args->geo, curdb); args 684 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); args 715 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args, /* operation arguments */ args 734 fs/xfs/libxfs/xfs_dir2_node.c dp = args->dp; args 735 fs/xfs/libxfs/xfs_dir2_node.c tp = args->trans; args 748 fs/xfs/libxfs/xfs_dir2_node.c index = xfs_dir2_leaf_search_hash(args, bp); args 760 fs/xfs/libxfs/xfs_dir2_node.c index < leafhdr.count && be32_to_cpu(lep->hashval) == args->hashval; args 770 fs/xfs/libxfs/xfs_dir2_node.c newdb = xfs_dir2_dataptr_to_db(args->geo, args 783 fs/xfs/libxfs/xfs_dir2_node.c if (curbp && (args->cmpresult == XFS_CMP_DIFFERENT || args 790 fs/xfs/libxfs/xfs_dir2_node.c if (args->cmpresult != XFS_CMP_DIFFERENT && args 796 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_db_to_da(args->geo, args 809 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_dataptr_to_off(args->geo, args 816 fs/xfs/libxfs/xfs_dir2_node.c cmp = mp->m_dirnameops->compname(args, dep->name, dep->namelen); args 817 fs/xfs/libxfs/xfs_dir2_node.c if (cmp != XFS_CMP_DIFFERENT && cmp != args->cmpresult) { args 819 fs/xfs/libxfs/xfs_dir2_node.c if (args->cmpresult != XFS_CMP_DIFFERENT && args 822 fs/xfs/libxfs/xfs_dir2_node.c args->cmpresult = cmp; args 823 fs/xfs/libxfs/xfs_dir2_node.c args->inumber = be64_to_cpu(dep->inumber); args 824 fs/xfs/libxfs/xfs_dir2_node.c args->filetype = dp->d_ops->data_get_ftype(dep); args 838 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(index == leafhdr.count || (args->op_flags & XFS_DA_OP_OKNOENT)); args 840 fs/xfs/libxfs/xfs_dir2_node.c if (args->cmpresult == XFS_CMP_DIFFERENT) { args 869 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args, /* operation arguments */ args 873 fs/xfs/libxfs/xfs_dir2_node.c if (args->op_flags & XFS_DA_OP_ADDNAME) args 874 fs/xfs/libxfs/xfs_dir2_node.c return xfs_dir2_leafn_lookup_for_addname(bp, args, indexp, args 876 fs/xfs/libxfs/xfs_dir2_node.c return xfs_dir2_leafn_lookup_for_entry(bp, args, indexp, state); args 885 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args, /* operation arguments */ args 898 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_leafn_moveents(args, start_s, start_d, count); args 914 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_ents(args, bp_d, start_d + count, args 936 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_ents(args, bp_d, start_d, start_d + count - 1); args 945 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_ents(args, bp_s, start_s, start_s + count - 1); args 1000 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args; /* operation arguments */ args 1015 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_inode *dp = state->args->dp; args 1017 fs/xfs/libxfs/xfs_dir2_node.c args = state->args; args 1049 fs/xfs/libxfs/xfs_dir2_node.c isleft = args->hashval <= midhash; args 1064 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leafn_moveents(args, blk1->bp, &hdr1, ents1, args 1068 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leafn_moveents(args, blk2->bp, &hdr2, ents2, 0, args 1078 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_header(args, blk1->bp); args 1079 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_header(args, blk2->bp); args 1114 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args, args 1125 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_inode *dp = args->dp; args 1135 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_free_log_bests(args, fbp, findex, findex); args 1163 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_free_log_header(args, fbp); args 1172 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_shrink_inode(args, fdb, fbp); args 1176 fs/xfs/libxfs/xfs_dir2_node.c } else if (error != -ENOSPC || args->total != 0) args 1187 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_free_log_bests(args, fbp, findex, findex); args 1198 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args, /* operation arguments */ args 1220 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_leafn_remove(args, index); args 1222 fs/xfs/libxfs/xfs_dir2_node.c dp = args->dp; args 1223 fs/xfs/libxfs/xfs_dir2_node.c tp = args->trans; args 1236 fs/xfs/libxfs/xfs_dir2_node.c db = xfs_dir2_dataptr_to_db(args->geo, be32_to_cpu(lep->address)); args 1238 fs/xfs/libxfs/xfs_dir2_node.c off = xfs_dir2_dataptr_to_off(args->geo, be32_to_cpu(lep->address)); args 1247 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_header(args, bp); args 1250 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_ents(args, bp, index, index); args 1262 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_data_make_free(args, dbp, off, args 1271 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_data_log_header(args, dbp); args 1288 fs/xfs/libxfs/xfs_dir2_node.c fdb = dp->d_ops->db_to_fdb(args->geo, db); args 1290 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_db_to_da(args->geo, fdb), args 1299 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(freehdr.firstdb == dp->d_ops->free_max_bests(args->geo) * args 1300 fs/xfs/libxfs/xfs_dir2_node.c (fdb - xfs_dir2_byte_to_db(args->geo, args 1307 fs/xfs/libxfs/xfs_dir2_node.c findex = dp->d_ops->db_to_fdindex(args->geo, db); args 1313 fs/xfs/libxfs/xfs_dir2_node.c if (longest == args->geo->blksize - args 1318 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_shrink_inode(args, db, dbp); args 1328 fs/xfs/libxfs/xfs_dir2_node.c else if (!(error == -ENOSPC && args->total == 0)) args 1335 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir3_data_block_free(args, hdr, free, args 1348 fs/xfs/libxfs/xfs_dir2_node.c args->geo->magicpct; args 1361 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args; /* operation arguments */ args 1369 fs/xfs/libxfs/xfs_dir2_node.c args = state->args; args 1370 fs/xfs/libxfs/xfs_dir2_node.c dp = args->dp; args 1372 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_da_grow_inode(args, &blkno); args 1379 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir3_leaf_get_buf(args, xfs_dir2_da_to_db(args->geo, blkno), args 1399 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_leafn_add(oldblk->bp, args, oldblk->index); args 1401 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_leafn_add(newblk->bp, args, newblk->index); args 1438 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_inode *dp = state->args->dp; args 1453 fs/xfs/libxfs/xfs_dir2_node.c if (bytes > (state->args->geo->blksize >> 1)) { args 1497 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir3_leafn_read(state->args->trans, dp, args 1506 fs/xfs/libxfs/xfs_dir2_node.c bytes = state->args->geo->blksize - args 1507 fs/xfs/libxfs/xfs_dir2_node.c (state->args->geo->blksize >> 2); args 1520 fs/xfs/libxfs/xfs_dir2_node.c xfs_trans_brelse(state->args->trans, bp); args 1558 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args; /* operation arguments */ args 1565 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_inode *dp = state->args->dp; args 1567 fs/xfs/libxfs/xfs_dir2_node.c args = state->args; args 1583 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_compact(args, &drophdr, drop_blk->bp); args 1585 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_compact(args, &savehdr, save_blk->bp); args 1592 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leafn_moveents(args, drop_blk->bp, &drophdr, dents, 0, args 1596 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leafn_moveents(args, drop_blk->bp, &drophdr, dents, 0, args 1604 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_header(args, save_blk->bp); args 1605 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir3_leaf_log_header(args, drop_blk->bp); args 1617 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_da_args *args, args 1624 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_inode *dp = args->dp; args 1625 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_trans *tp = args->trans; args 1638 fs/xfs/libxfs/xfs_dir2_node.c if (args->total == 0) args 1642 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_grow_inode(args, XFS_DIR2_DATA_SPACE, dbno); args 1645 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir3_data_init(args, *dbno, &dbp); args 1653 fs/xfs/libxfs/xfs_dir2_node.c fbno = dp->d_ops->db_to_fdb(args->geo, *dbno); args 1655 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_db_to_da(args->geo, fbno), &fbp); args 1664 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_grow_inode(args, XFS_DIR2_FREE_SPACE, &fbno); args 1668 fs/xfs/libxfs/xfs_dir2_node.c if (dp->d_ops->db_to_fdb(args->geo, *dbno) != fbno) { args 1672 fs/xfs/libxfs/xfs_dir2_node.c (long long)dp->d_ops->db_to_fdb(args->geo, *dbno), args 1687 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir3_free_get_buf(args, fbno, &fbp); args 1695 fs/xfs/libxfs/xfs_dir2_node.c freehdr.firstdb = (fbno - xfs_dir2_byte_to_db(args->geo, args 1697 fs/xfs/libxfs/xfs_dir2_node.c dp->d_ops->free_max_bests(args->geo); args 1705 fs/xfs/libxfs/xfs_dir2_node.c *findex = dp->d_ops->db_to_fdindex(args->geo, *dbno); args 1709 fs/xfs/libxfs/xfs_dir2_node.c ASSERT(*findex < dp->d_ops->free_max_bests(args->geo)); args 1721 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_free_log_header(args, fbp); args 1736 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_da_args *args, args 1745 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_inode *dp = args->dp; args 1746 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_trans *tp = args->trans; args 1796 fs/xfs/libxfs/xfs_dir2_node.c lastfbno = xfs_dir2_da_to_db(args->geo, (xfs_dablk_t)fo); args 1797 fs/xfs/libxfs/xfs_dir2_node.c firstfbno = xfs_dir2_byte_to_db(args->geo, XFS_DIR2_FREE_OFFSET); args 1810 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_db_to_da(args->geo, fbno), args 1849 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_da_args *args, /* operation arguments */ args 1857 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_trans *tp = args->trans; args 1858 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_inode *dp = args->dp; args 1872 fs/xfs/libxfs/xfs_dir2_node.c length = dp->d_ops->data_entsize(args->namelen); args 1873 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_node_find_freeblk(args, fblk, &dbno, &fbp, &findex, args 1882 fs/xfs/libxfs/xfs_dir2_node.c if (args->op_flags & XFS_DA_OP_JUSTCHECK) { args 1895 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_node_add_datablk(args, fblk, &dbno, &dbp, &fbp, args 1900 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_db_to_da(args->geo, dbno), args 1917 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_data_use_free(args, dbp, dup, aoff, length, args 1926 fs/xfs/libxfs/xfs_dir2_node.c dep->inumber = cpu_to_be64(args->inumber); args 1927 fs/xfs/libxfs/xfs_dir2_node.c dep->namelen = args->namelen; args 1928 fs/xfs/libxfs/xfs_dir2_node.c memcpy(dep->name, args->name, dep->namelen); args 1929 fs/xfs/libxfs/xfs_dir2_node.c dp->d_ops->data_put_ftype(dep, args->filetype); args 1932 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_data_log_entry(args, dbp, dep); args 1938 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_data_log_header(args, dbp); args 1950 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_free_log_bests(args, fbp, findex, findex); args 1953 fs/xfs/libxfs/xfs_dir2_node.c args->blkno = (xfs_dablk_t)dbno; args 1954 fs/xfs/libxfs/xfs_dir2_node.c args->index = be16_to_cpu(*tagp); args 1963 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args) /* operation arguments */ args 1970 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_node_addname(args); args 1976 fs/xfs/libxfs/xfs_dir2_node.c state->args = args; args 1977 fs/xfs/libxfs/xfs_dir2_node.c state->mp = args->dp->i_mount; args 1992 fs/xfs/libxfs/xfs_dir2_node.c rval = xfs_dir2_node_addname_int(args, args 2002 fs/xfs/libxfs/xfs_dir2_node.c rval = xfs_dir2_leafn_add(blk->bp, args, blk->index); args 2007 fs/xfs/libxfs/xfs_dir2_node.c if (!(args->op_flags & XFS_DA_OP_JUSTCHECK)) args 2013 fs/xfs/libxfs/xfs_dir2_node.c if (args->total == 0) { args 2034 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args) /* operation arguments */ args 2041 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_node_lookup(args); args 2047 fs/xfs/libxfs/xfs_dir2_node.c state->args = args; args 2048 fs/xfs/libxfs/xfs_dir2_node.c state->mp = args->dp->i_mount; args 2055 fs/xfs/libxfs/xfs_dir2_node.c else if (rval == -ENOENT && args->cmpresult == XFS_CMP_CASE) { args 2062 fs/xfs/libxfs/xfs_dir2_node.c rval = xfs_dir_cilookup_result(args, dep->name, dep->namelen); args 2068 fs/xfs/libxfs/xfs_dir2_node.c xfs_trans_brelse(args->trans, state->path.blk[i].bp); args 2075 fs/xfs/libxfs/xfs_dir2_node.c xfs_trans_brelse(args->trans, state->extrablk.bp); args 2087 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_da_args *args) /* operation arguments */ args 2094 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_node_removename(args); args 2100 fs/xfs/libxfs/xfs_dir2_node.c state->args = args; args 2101 fs/xfs/libxfs/xfs_dir2_node.c state->mp = args->dp->i_mount; args 2121 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_leafn_remove(args, blk->bp, blk->index, args 2149 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args) /* operation arguments */ args 2163 fs/xfs/libxfs/xfs_dir2_node.c trace_xfs_dir2_node_replace(args); args 2169 fs/xfs/libxfs/xfs_dir2_node.c state->args = args; args 2170 fs/xfs/libxfs/xfs_dir2_node.c state->mp = args->dp->i_mount; args 2176 fs/xfs/libxfs/xfs_dir2_node.c inum = args->inumber; args 2177 fs/xfs/libxfs/xfs_dir2_node.c ftype = args->filetype; args 2198 fs/xfs/libxfs/xfs_dir2_node.c ents = args->dp->d_ops->leaf_ents_p(leaf); args 2209 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_dataptr_to_off(args->geo, args 2216 fs/xfs/libxfs/xfs_dir2_node.c args->dp->d_ops->data_put_ftype(dep, ftype); args 2217 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_data_log_entry(args, state->extrablk.bp, dep); args 2224 fs/xfs/libxfs/xfs_dir2_node.c xfs_trans_brelse(args->trans, state->extrablk.bp); args 2231 fs/xfs/libxfs/xfs_dir2_node.c xfs_trans_brelse(args->trans, state->path.blk[i].bp); args 2244 fs/xfs/libxfs/xfs_dir2_node.c xfs_da_args_t *args, /* operation arguments */ args 2255 fs/xfs/libxfs/xfs_dir2_node.c dp = args->dp; args 2256 fs/xfs/libxfs/xfs_dir2_node.c tp = args->trans; args 2285 fs/xfs/libxfs/xfs_dir2_node.c error = xfs_dir2_shrink_inode(args, args 2286 fs/xfs/libxfs/xfs_dir2_node.c xfs_dir2_da_to_db(args->geo, (xfs_dablk_t)fo), bp); args 12 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_grow_inode(struct xfs_da_args *args, int space, args 14 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir_cilookup_result(struct xfs_da_args *args, args 21 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_block_addname(struct xfs_da_args *args); args 22 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_block_lookup(struct xfs_da_args *args); args 23 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_block_removename(struct xfs_da_args *args); args 24 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_block_replace(struct xfs_da_args *args); args 25 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_leaf_to_block(struct xfs_da_args *args, args 46 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir3_data_init(struct xfs_da_args *args, xfs_dir2_db_t blkno, args 54 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_block_to_leaf(struct xfs_da_args *args, args 56 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_leaf_addname(struct xfs_da_args *args); args 57 fs/xfs/libxfs/xfs_dir2_priv.h extern void xfs_dir3_leaf_compact(struct xfs_da_args *args, args 62 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir3_leaf_get_buf(struct xfs_da_args *args, xfs_dir2_db_t bno, args 64 fs/xfs/libxfs/xfs_dir2_priv.h extern void xfs_dir3_leaf_log_ents(struct xfs_da_args *args, args 66 fs/xfs/libxfs/xfs_dir2_priv.h extern void xfs_dir3_leaf_log_header(struct xfs_da_args *args, args 68 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_leaf_lookup(struct xfs_da_args *args); args 69 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_leaf_removename(struct xfs_da_args *args); args 70 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_leaf_replace(struct xfs_da_args *args); args 71 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_leaf_search_hash(struct xfs_da_args *args, args 73 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_leaf_trim_data(struct xfs_da_args *args, args 86 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_leaf_to_node(struct xfs_da_args *args, args 91 fs/xfs/libxfs/xfs_dir2_priv.h struct xfs_da_args *args, int *indexp, args 101 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_node_addname(struct xfs_da_args *args); args 102 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_node_lookup(struct xfs_da_args *args); args 103 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_node_removename(struct xfs_da_args *args); args 104 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_node_replace(struct xfs_da_args *args); args 105 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_node_trim_free(struct xfs_da_args *args, xfs_fileoff_t fo, args 113 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_block_to_sf(struct xfs_da_args *args, struct xfs_buf *bp, args 115 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_sf_addname(struct xfs_da_args *args); args 116 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_sf_create(struct xfs_da_args *args, xfs_ino_t pino); args 117 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_sf_lookup(struct xfs_da_args *args); args 118 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_sf_removename(struct xfs_da_args *args); args 119 fs/xfs/libxfs/xfs_dir2_priv.h extern int xfs_dir2_sf_replace(struct xfs_da_args *args); args 22 fs/xfs/libxfs/xfs_dir2_sf.c static void xfs_dir2_sf_addname_easy(xfs_da_args_t *args, args 26 fs/xfs/libxfs/xfs_dir2_sf.c static void xfs_dir2_sf_addname_hard(xfs_da_args_t *args, int objchange, args 28 fs/xfs/libxfs/xfs_dir2_sf.c static int xfs_dir2_sf_addname_pick(xfs_da_args_t *args, int objchange, args 32 fs/xfs/libxfs/xfs_dir2_sf.c static void xfs_dir2_sf_check(xfs_da_args_t *args); args 34 fs/xfs/libxfs/xfs_dir2_sf.c #define xfs_dir2_sf_check(args) args 37 fs/xfs/libxfs/xfs_dir2_sf.c static void xfs_dir2_sf_toino4(xfs_da_args_t *args); args 38 fs/xfs/libxfs/xfs_dir2_sf.c static void xfs_dir2_sf_toino8(xfs_da_args_t *args); args 138 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args, /* operation arguments */ args 156 fs/xfs/libxfs/xfs_dir2_sf.c trace_xfs_dir2_block_to_sf(args); args 158 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 180 fs/xfs/libxfs/xfs_dir2_sf.c endptr = xfs_dir3_data_endp(args->geo, hdr); args 230 fs/xfs/libxfs/xfs_dir2_sf.c error = xfs_dir2_shrink_inode(args, args->geo->datablk, bp); args 248 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_check(args); args 250 fs/xfs/libxfs/xfs_dir2_sf.c xfs_trans_log_inode(args->trans, dp, logflags); args 263 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args) /* operation arguments */ args 275 fs/xfs/libxfs/xfs_dir2_sf.c trace_xfs_dir2_sf_addname(args); args 277 fs/xfs/libxfs/xfs_dir2_sf.c ASSERT(xfs_dir2_sf_lookup(args) == -ENOENT); args 278 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 294 fs/xfs/libxfs/xfs_dir2_sf.c incr_isize = dp->d_ops->sf_entsize(sfp, args->namelen); args 300 fs/xfs/libxfs/xfs_dir2_sf.c if (args->inumber > XFS_DIR2_MAX_SHORT_INUM && sfp->i8count == 0) { args 315 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname_pick(args, objchange, &sfep, &offset)) == 0) { args 319 fs/xfs/libxfs/xfs_dir2_sf.c if ((args->op_flags & XFS_DA_OP_JUSTCHECK) || args->total == 0) args 324 fs/xfs/libxfs/xfs_dir2_sf.c error = xfs_dir2_sf_to_block(args); args 327 fs/xfs/libxfs/xfs_dir2_sf.c return xfs_dir2_block_addname(args); args 332 fs/xfs/libxfs/xfs_dir2_sf.c if (args->op_flags & XFS_DA_OP_JUSTCHECK) args 338 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname_easy(args, sfep, offset, new_isize); args 346 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino8(args); args 347 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_addname_hard(args, objchange, new_isize); args 349 fs/xfs/libxfs/xfs_dir2_sf.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE | XFS_ILOG_DDATA); args 362 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args, /* operation arguments */ args 371 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 378 fs/xfs/libxfs/xfs_dir2_sf.c xfs_idata_realloc(dp, dp->d_ops->sf_entsize(sfp, args->namelen), args 388 fs/xfs/libxfs/xfs_dir2_sf.c sfep->namelen = args->namelen; args 390 fs/xfs/libxfs/xfs_dir2_sf.c memcpy(sfep->name, args->name, sfep->namelen); args 391 fs/xfs/libxfs/xfs_dir2_sf.c dp->d_ops->sf_put_ino(sfp, sfep, args->inumber); args 392 fs/xfs/libxfs/xfs_dir2_sf.c dp->d_ops->sf_put_ftype(sfep, args->filetype); args 398 fs/xfs/libxfs/xfs_dir2_sf.c if (args->inumber > XFS_DIR2_MAX_SHORT_INUM) args 401 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_check(args); args 415 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args, /* operation arguments */ args 435 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 449 fs/xfs/libxfs/xfs_dir2_sf.c add_datasize = dp->d_ops->data_entsize(args->namelen), args 479 fs/xfs/libxfs/xfs_dir2_sf.c sfep->namelen = args->namelen; args 481 fs/xfs/libxfs/xfs_dir2_sf.c memcpy(sfep->name, args->name, sfep->namelen); args 482 fs/xfs/libxfs/xfs_dir2_sf.c dp->d_ops->sf_put_ino(sfp, sfep, args->inumber); args 483 fs/xfs/libxfs/xfs_dir2_sf.c dp->d_ops->sf_put_ftype(sfep, args->filetype); args 485 fs/xfs/libxfs/xfs_dir2_sf.c if (args->inumber > XFS_DIR2_MAX_SHORT_INUM && !objchange) args 496 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_check(args); args 508 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args, /* operation arguments */ args 522 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 525 fs/xfs/libxfs/xfs_dir2_sf.c size = dp->d_ops->data_entsize(args->namelen); args 553 fs/xfs/libxfs/xfs_dir2_sf.c if (used + (holefit ? 0 : size) > args->geo->blksize) args 563 fs/xfs/libxfs/xfs_dir2_sf.c if (used + size > args->geo->blksize) args 579 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args) /* operation arguments */ args 589 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 611 fs/xfs/libxfs/xfs_dir2_sf.c (uint)sizeof(xfs_dir2_block_tail_t) <= args->geo->blksize); args 726 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args, /* operation arguments */ args 734 fs/xfs/libxfs/xfs_dir2_sf.c trace_xfs_dir2_sf_create(args); args 736 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 747 fs/xfs/libxfs/xfs_dir2_sf.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE); args 769 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_check(args); args 770 fs/xfs/libxfs/xfs_dir2_sf.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE | XFS_ILOG_DDATA); args 780 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args) /* operation arguments */ args 790 fs/xfs/libxfs/xfs_dir2_sf.c trace_xfs_dir2_sf_lookup(args); args 792 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_check(args); args 793 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 810 fs/xfs/libxfs/xfs_dir2_sf.c if (args->namelen == 1 && args->name[0] == '.') { args 811 fs/xfs/libxfs/xfs_dir2_sf.c args->inumber = dp->i_ino; args 812 fs/xfs/libxfs/xfs_dir2_sf.c args->cmpresult = XFS_CMP_EXACT; args 813 fs/xfs/libxfs/xfs_dir2_sf.c args->filetype = XFS_DIR3_FT_DIR; args 819 fs/xfs/libxfs/xfs_dir2_sf.c if (args->namelen == 2 && args 820 fs/xfs/libxfs/xfs_dir2_sf.c args->name[0] == '.' && args->name[1] == '.') { args 821 fs/xfs/libxfs/xfs_dir2_sf.c args->inumber = dp->d_ops->sf_get_parent_ino(sfp); args 822 fs/xfs/libxfs/xfs_dir2_sf.c args->cmpresult = XFS_CMP_EXACT; args 823 fs/xfs/libxfs/xfs_dir2_sf.c args->filetype = XFS_DIR3_FT_DIR; args 837 fs/xfs/libxfs/xfs_dir2_sf.c cmp = dp->i_mount->m_dirnameops->compname(args, sfep->name, args 839 fs/xfs/libxfs/xfs_dir2_sf.c if (cmp != XFS_CMP_DIFFERENT && cmp != args->cmpresult) { args 840 fs/xfs/libxfs/xfs_dir2_sf.c args->cmpresult = cmp; args 841 fs/xfs/libxfs/xfs_dir2_sf.c args->inumber = dp->d_ops->sf_get_ino(sfp, sfep); args 842 fs/xfs/libxfs/xfs_dir2_sf.c args->filetype = dp->d_ops->sf_get_ftype(sfep); args 848 fs/xfs/libxfs/xfs_dir2_sf.c ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); args 856 fs/xfs/libxfs/xfs_dir2_sf.c error = xfs_dir_cilookup_result(args, ci_sfep->name, ci_sfep->namelen); args 865 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args) args 876 fs/xfs/libxfs/xfs_dir2_sf.c trace_xfs_dir2_sf_removename(args); args 878 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 899 fs/xfs/libxfs/xfs_dir2_sf.c if (xfs_da_compname(args, sfep->name, sfep->namelen) == args 902 fs/xfs/libxfs/xfs_dir2_sf.c args->inumber); args 915 fs/xfs/libxfs/xfs_dir2_sf.c entsize = dp->d_ops->sf_entsize(sfp, args->namelen); args 936 fs/xfs/libxfs/xfs_dir2_sf.c if (args->inumber > XFS_DIR2_MAX_SHORT_INUM) { args 938 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino4(args); args 942 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_check(args); args 943 fs/xfs/libxfs/xfs_dir2_sf.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE | XFS_ILOG_DDATA); args 952 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args) /* operation arguments */ args 961 fs/xfs/libxfs/xfs_dir2_sf.c trace_xfs_dir2_sf_replace(args); args 963 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 981 fs/xfs/libxfs/xfs_dir2_sf.c if (args->inumber > XFS_DIR2_MAX_SHORT_INUM && sfp->i8count == 0) { args 990 fs/xfs/libxfs/xfs_dir2_sf.c error = xfs_dir2_sf_to_block(args); args 994 fs/xfs/libxfs/xfs_dir2_sf.c return xfs_dir2_block_replace(args); args 999 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino8(args); args 1005 fs/xfs/libxfs/xfs_dir2_sf.c ASSERT(args->namelen != 1 || args->name[0] != '.'); args 1009 fs/xfs/libxfs/xfs_dir2_sf.c if (args->namelen == 2 && args 1010 fs/xfs/libxfs/xfs_dir2_sf.c args->name[0] == '.' && args->name[1] == '.') { args 1012 fs/xfs/libxfs/xfs_dir2_sf.c ASSERT(args->inumber != ino); args 1013 fs/xfs/libxfs/xfs_dir2_sf.c dp->d_ops->sf_put_parent_ino(sfp, args->inumber); args 1021 fs/xfs/libxfs/xfs_dir2_sf.c if (xfs_da_compname(args, sfep->name, sfep->namelen) == args 1024 fs/xfs/libxfs/xfs_dir2_sf.c ASSERT(args->inumber != ino); args 1025 fs/xfs/libxfs/xfs_dir2_sf.c dp->d_ops->sf_put_ino(sfp, sfep, args->inumber); args 1026 fs/xfs/libxfs/xfs_dir2_sf.c dp->d_ops->sf_put_ftype(sfep, args->filetype); args 1034 fs/xfs/libxfs/xfs_dir2_sf.c ASSERT(args->op_flags & XFS_DA_OP_OKNOENT); args 1036 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino4(args); args 1044 fs/xfs/libxfs/xfs_dir2_sf.c args->inumber <= XFS_DIR2_MAX_SHORT_INUM) { args 1049 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_toino4(args); args 1057 fs/xfs/libxfs/xfs_dir2_sf.c args->inumber > XFS_DIR2_MAX_SHORT_INUM) { args 1066 fs/xfs/libxfs/xfs_dir2_sf.c xfs_dir2_sf_check(args); args 1067 fs/xfs/libxfs/xfs_dir2_sf.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_DDATA); args 1077 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args) /* operation arguments */ args 1089 fs/xfs/libxfs/xfs_dir2_sf.c trace_xfs_dir2_sf_toino4(args); args 1091 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 1140 fs/xfs/libxfs/xfs_dir2_sf.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE | XFS_ILOG_DDATA); args 1150 fs/xfs/libxfs/xfs_dir2_sf.c xfs_da_args_t *args) /* operation arguments */ args 1162 fs/xfs/libxfs/xfs_dir2_sf.c trace_xfs_dir2_sf_toino8(args); args 1164 fs/xfs/libxfs/xfs_dir2_sf.c dp = args->dp; args 1213 fs/xfs/libxfs/xfs_dir2_sf.c xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE | XFS_ILOG_DDATA); args 610 fs/xfs/libxfs/xfs_ialloc.c struct xfs_alloc_arg args; args 624 fs/xfs/libxfs/xfs_ialloc.c memset(&args, 0, sizeof(args)); args 625 fs/xfs/libxfs/xfs_ialloc.c args.tp = tp; args 626 fs/xfs/libxfs/xfs_ialloc.c args.mp = tp->t_mountp; args 627 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = NULLFSBLOCK; args 628 fs/xfs/libxfs/xfs_ialloc.c args.oinfo = XFS_RMAP_OINFO_INODES; args 643 fs/xfs/libxfs/xfs_ialloc.c percpu_counter_read_positive(&args.mp->m_icount) + newlen > args 646 fs/xfs/libxfs/xfs_ialloc.c args.minlen = args.maxlen = igeo->ialloc_blks; args 655 fs/xfs/libxfs/xfs_ialloc.c args.agbno = XFS_AGINO_TO_AGBNO(args.mp, newino) + args 660 fs/xfs/libxfs/xfs_ialloc.c (args.agbno < be32_to_cpu(agi->agi_length)))) { args 661 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); args 662 fs/xfs/libxfs/xfs_ialloc.c args.type = XFS_ALLOCTYPE_THIS_BNO; args 663 fs/xfs/libxfs/xfs_ialloc.c args.prod = 1; args 678 fs/xfs/libxfs/xfs_ialloc.c args.alignment = 1; args 679 fs/xfs/libxfs/xfs_ialloc.c args.minalignslop = igeo->cluster_align - 1; args 682 fs/xfs/libxfs/xfs_ialloc.c args.minleft = igeo->inobt_maxlevels - 1; args 683 fs/xfs/libxfs/xfs_ialloc.c if ((error = xfs_alloc_vextent(&args))) args 696 fs/xfs/libxfs/xfs_ialloc.c args.minalignslop = 0; args 699 fs/xfs/libxfs/xfs_ialloc.c if (unlikely(args.fsbno == NULLFSBLOCK)) { args 710 fs/xfs/libxfs/xfs_ialloc.c ASSERT(!(args.mp->m_flags & XFS_MOUNT_NOALIGN)); args 711 fs/xfs/libxfs/xfs_ialloc.c args.alignment = args.mp->m_dalign; args 714 fs/xfs/libxfs/xfs_ialloc.c args.alignment = igeo->cluster_align; args 720 fs/xfs/libxfs/xfs_ialloc.c args.agbno = be32_to_cpu(agi->agi_root); args 721 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); args 725 fs/xfs/libxfs/xfs_ialloc.c args.type = XFS_ALLOCTYPE_NEAR_BNO; args 726 fs/xfs/libxfs/xfs_ialloc.c args.prod = 1; args 730 fs/xfs/libxfs/xfs_ialloc.c args.minleft = igeo->inobt_maxlevels - 1; args 731 fs/xfs/libxfs/xfs_ialloc.c if ((error = xfs_alloc_vextent(&args))) args 739 fs/xfs/libxfs/xfs_ialloc.c if (isaligned && args.fsbno == NULLFSBLOCK) { args 740 fs/xfs/libxfs/xfs_ialloc.c args.type = XFS_ALLOCTYPE_NEAR_BNO; args 741 fs/xfs/libxfs/xfs_ialloc.c args.agbno = be32_to_cpu(agi->agi_root); args 742 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); args 743 fs/xfs/libxfs/xfs_ialloc.c args.alignment = igeo->cluster_align; args 744 fs/xfs/libxfs/xfs_ialloc.c if ((error = xfs_alloc_vextent(&args))) args 752 fs/xfs/libxfs/xfs_ialloc.c if (xfs_sb_version_hassparseinodes(&args.mp->m_sb) && args 754 fs/xfs/libxfs/xfs_ialloc.c args.fsbno == NULLFSBLOCK) { args 756 fs/xfs/libxfs/xfs_ialloc.c args.type = XFS_ALLOCTYPE_NEAR_BNO; args 757 fs/xfs/libxfs/xfs_ialloc.c args.agbno = be32_to_cpu(agi->agi_root); args 758 fs/xfs/libxfs/xfs_ialloc.c args.fsbno = XFS_AGB_TO_FSB(args.mp, agno, args.agbno); args 759 fs/xfs/libxfs/xfs_ialloc.c args.alignment = args.mp->m_sb.sb_spino_align; args 760 fs/xfs/libxfs/xfs_ialloc.c args.prod = 1; args 762 fs/xfs/libxfs/xfs_ialloc.c args.minlen = igeo->ialloc_min_blks; args 763 fs/xfs/libxfs/xfs_ialloc.c args.maxlen = args.minlen; args 775 fs/xfs/libxfs/xfs_ialloc.c args.min_agbno = args.mp->m_sb.sb_inoalignmt; args 776 fs/xfs/libxfs/xfs_ialloc.c args.max_agbno = round_down(args.mp->m_sb.sb_agblocks, args 777 fs/xfs/libxfs/xfs_ialloc.c args.mp->m_sb.sb_inoalignmt) - args 780 fs/xfs/libxfs/xfs_ialloc.c error = xfs_alloc_vextent(&args); args 784 fs/xfs/libxfs/xfs_ialloc.c newlen = XFS_AGB_TO_AGINO(args.mp, args.len); args 789 fs/xfs/libxfs/xfs_ialloc.c if (args.fsbno == NULLFSBLOCK) { args 793 fs/xfs/libxfs/xfs_ialloc.c ASSERT(args.len == args.minlen); args 804 fs/xfs/libxfs/xfs_ialloc.c error = xfs_ialloc_inode_init(args.mp, tp, NULL, newlen, agno, args 805 fs/xfs/libxfs/xfs_ialloc.c args.agbno, args.len, prandom_u32()); args 812 fs/xfs/libxfs/xfs_ialloc.c newino = XFS_AGB_TO_AGINO(args.mp, args.agbno); args 818 fs/xfs/libxfs/xfs_ialloc.c xfs_align_sparse_ino(args.mp, &newino, &allocmask); args 831 fs/xfs/libxfs/xfs_ialloc.c error = xfs_inobt_insert_sprec(args.mp, tp, agbp, XFS_BTNUM_INO, args 834 fs/xfs/libxfs/xfs_ialloc.c xfs_alert(args.mp, args 836 fs/xfs/libxfs/xfs_ialloc.c XFS_AGINO_TO_INO(args.mp, agno, args 839 fs/xfs/libxfs/xfs_ialloc.c xfs_force_shutdown(args.mp, SHUTDOWN_CORRUPT_INCORE); args 855 fs/xfs/libxfs/xfs_ialloc.c if (xfs_sb_version_hasfinobt(&args.mp->m_sb)) { args 856 fs/xfs/libxfs/xfs_ialloc.c error = xfs_inobt_insert_sprec(args.mp, tp, agbp, args 864 fs/xfs/libxfs/xfs_ialloc.c error = xfs_inobt_insert(args.mp, tp, agbp, newino, newlen, args 869 fs/xfs/libxfs/xfs_ialloc.c if (xfs_sb_version_hasfinobt(&args.mp->m_sb)) { args 870 fs/xfs/libxfs/xfs_ialloc.c error = xfs_inobt_insert(args.mp, tp, agbp, newino, args 882 fs/xfs/libxfs/xfs_ialloc.c pag = xfs_perag_get(args.mp, agno); args 78 fs/xfs/libxfs/xfs_ialloc_btree.c xfs_alloc_arg_t args; /* block allocation args */ args 82 fs/xfs/libxfs/xfs_ialloc_btree.c memset(&args, 0, sizeof(args)); args 83 fs/xfs/libxfs/xfs_ialloc_btree.c args.tp = cur->bc_tp; args 84 fs/xfs/libxfs/xfs_ialloc_btree.c args.mp = cur->bc_mp; args 85 fs/xfs/libxfs/xfs_ialloc_btree.c args.oinfo = XFS_RMAP_OINFO_INOBT; args 86 fs/xfs/libxfs/xfs_ialloc_btree.c args.fsbno = XFS_AGB_TO_FSB(args.mp, cur->bc_private.a.agno, sbno); args 87 fs/xfs/libxfs/xfs_ialloc_btree.c args.minlen = 1; args 88 fs/xfs/libxfs/xfs_ialloc_btree.c args.maxlen = 1; args 89 fs/xfs/libxfs/xfs_ialloc_btree.c args.prod = 1; args 90 fs/xfs/libxfs/xfs_ialloc_btree.c args.type = XFS_ALLOCTYPE_NEAR_BNO; args 91 fs/xfs/libxfs/xfs_ialloc_btree.c args.resv = resv; args 93 fs/xfs/libxfs/xfs_ialloc_btree.c error = xfs_alloc_vextent(&args); args 97 fs/xfs/libxfs/xfs_ialloc_btree.c if (args.fsbno == NULLFSBLOCK) { args 101 fs/xfs/libxfs/xfs_ialloc_btree.c ASSERT(args.len == 1); args 103 fs/xfs/libxfs/xfs_ialloc_btree.c new->s = cpu_to_be32(XFS_FSB_TO_AGBNO(args.mp, args.fsbno)); args 62 fs/xfs/libxfs/xfs_refcount_btree.c struct xfs_alloc_arg args; /* block allocation args */ args 65 fs/xfs/libxfs/xfs_refcount_btree.c memset(&args, 0, sizeof(args)); args 66 fs/xfs/libxfs/xfs_refcount_btree.c args.tp = cur->bc_tp; args 67 fs/xfs/libxfs/xfs_refcount_btree.c args.mp = cur->bc_mp; args 68 fs/xfs/libxfs/xfs_refcount_btree.c args.type = XFS_ALLOCTYPE_NEAR_BNO; args 69 fs/xfs/libxfs/xfs_refcount_btree.c args.fsbno = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, args 70 fs/xfs/libxfs/xfs_refcount_btree.c xfs_refc_block(args.mp)); args 71 fs/xfs/libxfs/xfs_refcount_btree.c args.oinfo = XFS_RMAP_OINFO_REFC; args 72 fs/xfs/libxfs/xfs_refcount_btree.c args.minlen = args.maxlen = args.prod = 1; args 73 fs/xfs/libxfs/xfs_refcount_btree.c args.resv = XFS_AG_RESV_METADATA; args 75 fs/xfs/libxfs/xfs_refcount_btree.c error = xfs_alloc_vextent(&args); args 79 fs/xfs/libxfs/xfs_refcount_btree.c args.agbno, 1); args 80 fs/xfs/libxfs/xfs_refcount_btree.c if (args.fsbno == NULLFSBLOCK) { args 84 fs/xfs/libxfs/xfs_refcount_btree.c ASSERT(args.agno == cur->bc_private.a.agno); args 85 fs/xfs/libxfs/xfs_refcount_btree.c ASSERT(args.len == 1); args 87 fs/xfs/libxfs/xfs_refcount_btree.c new->s = cpu_to_be32(args.agbno); args 115 fs/xfs/scrub/attr.c struct xfs_da_args args = { NULL }; args 133 fs/xfs/scrub/attr.c xchk_fblock_set_corrupt(sx->sc, XFS_ATTR_FORK, args.blkno); args 150 fs/xfs/scrub/attr.c args.flags = ATTR_KERNOTIME; args 152 fs/xfs/scrub/attr.c args.flags |= ATTR_ROOT; args 154 fs/xfs/scrub/attr.c args.flags |= ATTR_SECURE; args 155 fs/xfs/scrub/attr.c args.geo = context->dp->i_mount->m_attr_geo; args 156 fs/xfs/scrub/attr.c args.whichfork = XFS_ATTR_FORK; args 157 fs/xfs/scrub/attr.c args.dp = context->dp; args 158 fs/xfs/scrub/attr.c args.name = name; args 159 fs/xfs/scrub/attr.c args.namelen = namelen; args 160 fs/xfs/scrub/attr.c args.hashval = xfs_da_hashname(args.name, args.namelen); args 161 fs/xfs/scrub/attr.c args.trans = context->tp; args 162 fs/xfs/scrub/attr.c args.value = xchk_xattr_valuebuf(sx->sc); args 163 fs/xfs/scrub/attr.c args.valuelen = valuelen; args 165 fs/xfs/scrub/attr.c error = xfs_attr_get_ilocked(context->dp, &args); args 166 fs/xfs/scrub/attr.c if (!xchk_fblock_process_error(sx->sc, XFS_ATTR_FORK, args.blkno, args 169 fs/xfs/scrub/attr.c if (args.valuelen != valuelen) args 171 fs/xfs/scrub/attr.c args.blkno); args 498 fs/xfs/scrub/dabtree.c ds.state->args = &ds.dargs; args 474 fs/xfs/scrub/dir.c struct xfs_da_args *args, args 555 fs/xfs/scrub/dir.c i * args->geo->fsbcount, -1, &dbp); args 572 fs/xfs/scrub/dir.c struct xfs_da_args *args, args 607 fs/xfs/scrub/dir.c (freehdr.firstdb + i) * args->geo->fsbcount, args 628 fs/xfs/scrub/dir.c struct xfs_da_args args; args 651 fs/xfs/scrub/dir.c args.dp = sc->ip; args 652 fs/xfs/scrub/dir.c args.geo = mp->m_dir_geo; args 653 fs/xfs/scrub/dir.c args.trans = sc->tp; args 654 fs/xfs/scrub/dir.c error = xfs_dir2_isblock(&args, &is_block); args 664 fs/xfs/scrub/dir.c got.br_blockcount != args.geo->fsbcount)) { args 686 fs/xfs/scrub/dir.c args.geo->fsbcount); args 688 fs/xfs/scrub/dir.c lblk += args.geo->fsbcount) { args 695 fs/xfs/scrub/dir.c lblk = roundup(dabno, args.geo->fsbcount); args 705 fs/xfs/scrub/dir.c got.br_blockcount == args.geo->fsbcount && args 711 fs/xfs/scrub/dir.c error = xchk_directory_leaf1_bestfree(sc, &args, args 750 fs/xfs/scrub/dir.c args.geo->fsbcount); args 752 fs/xfs/scrub/dir.c lblk += args.geo->fsbcount) { args 753 fs/xfs/scrub/dir.c error = xchk_directory_free_bestfree(sc, &args, args 759 fs/xfs/scrub/dir.c lblk = roundup(dabno, args.geo->fsbcount); args 289 fs/xfs/scrub/repair.c struct xfs_alloc_arg args = {0}; args 311 fs/xfs/scrub/repair.c args.tp = sc->tp; args 312 fs/xfs/scrub/repair.c args.mp = sc->mp; args 313 fs/xfs/scrub/repair.c args.oinfo = *oinfo; args 314 fs/xfs/scrub/repair.c args.fsbno = XFS_AGB_TO_FSB(args.mp, sc->sa.agno, 0); args 315 fs/xfs/scrub/repair.c args.minlen = 1; args 316 fs/xfs/scrub/repair.c args.maxlen = 1; args 317 fs/xfs/scrub/repair.c args.prod = 1; args 318 fs/xfs/scrub/repair.c args.type = XFS_ALLOCTYPE_THIS_AG; args 319 fs/xfs/scrub/repair.c args.resv = resv; args 321 fs/xfs/scrub/repair.c error = xfs_alloc_vextent(&args); args 324 fs/xfs/scrub/repair.c if (args.fsbno == NULLFSBLOCK) args 326 fs/xfs/scrub/repair.c ASSERT(args.len == 1); args 327 fs/xfs/scrub/repair.c *fsbno = args.fsbno; args 470 fs/xfs/scrub/repair.c struct xfs_alloc_arg args = {0}; args 472 fs/xfs/scrub/repair.c args.mp = sc->mp; args 473 fs/xfs/scrub/repair.c args.tp = sc->tp; args 474 fs/xfs/scrub/repair.c args.agno = sc->sa.agno; args 475 fs/xfs/scrub/repair.c args.alignment = 1; args 476 fs/xfs/scrub/repair.c args.pag = sc->sa.pag; args 478 fs/xfs/scrub/repair.c return xfs_alloc_fix_freelist(&args, args 45 fs/xfs/xfs_dir2_readdir.c struct xfs_da_args *args, args 49 fs/xfs/xfs_dir2_readdir.c struct xfs_inode *dp = args->dp; /* incore directory inode */ args 56 fs/xfs/xfs_dir2_readdir.c struct xfs_da_geometry *geo = args->geo; args 134 fs/xfs/xfs_dir2_readdir.c struct xfs_da_args *args, args 137 fs/xfs/xfs_dir2_readdir.c struct xfs_inode *dp = args->dp; /* incore directory inode */ args 147 fs/xfs/xfs_dir2_readdir.c struct xfs_da_geometry *geo = args->geo; args 157 fs/xfs/xfs_dir2_readdir.c error = xfs_dir3_block_read(args->trans, dp, &bp); args 214 fs/xfs/xfs_dir2_readdir.c xfs_trans_brelse(args->trans, bp); args 225 fs/xfs/xfs_dir2_readdir.c xfs_trans_brelse(args->trans, bp); args 236 fs/xfs/xfs_dir2_readdir.c struct xfs_da_args *args, args 242 fs/xfs/xfs_dir2_readdir.c struct xfs_inode *dp = args->dp; args 244 fs/xfs/xfs_dir2_readdir.c struct xfs_da_geometry *geo = args->geo; args 257 fs/xfs/xfs_dir2_readdir.c error = xfs_iread_extents(args->trans, dp, XFS_DATA_FORK); args 279 fs/xfs/xfs_dir2_readdir.c error = xfs_dir3_data_read(args->trans, dp, map.br_startoff, -1, &bp); args 341 fs/xfs/xfs_dir2_readdir.c struct xfs_da_args *args, args 345 fs/xfs/xfs_dir2_readdir.c struct xfs_inode *dp = args->dp; args 351 fs/xfs/xfs_dir2_readdir.c struct xfs_da_geometry *geo = args->geo; args 385 fs/xfs/xfs_dir2_readdir.c xfs_trans_brelse(args->trans, bp); args 390 fs/xfs/xfs_dir2_readdir.c error = xfs_dir2_leaf_readbuf(args, bufsize, &curoff, args 481 fs/xfs/xfs_dir2_readdir.c xfs_trans_brelse(args->trans, bp); args 500 fs/xfs/xfs_dir2_readdir.c struct xfs_da_args args = { NULL }; args 512 fs/xfs/xfs_dir2_readdir.c args.dp = dp; args 513 fs/xfs/xfs_dir2_readdir.c args.geo = dp->i_mount->m_dir_geo; args 514 fs/xfs/xfs_dir2_readdir.c args.trans = tp; args 517 fs/xfs/xfs_dir2_readdir.c rval = xfs_dir2_sf_getdents(&args, ctx); args 518 fs/xfs/xfs_dir2_readdir.c else if ((rval = xfs_dir2_isblock(&args, &v))) args 521 fs/xfs/xfs_dir2_readdir.c rval = xfs_dir2_block_getdents(&args, ctx); args 523 fs/xfs/xfs_dir2_readdir.c rval = xfs_dir2_leaf_getdents(&args, ctx, bufsize); args 334 fs/xfs/xfs_extent_busy.c struct xfs_alloc_arg *args, args 346 fs/xfs/xfs_extent_busy.c spin_lock(&args->pag->pagb_lock); args 350 fs/xfs/xfs_extent_busy.c rbp = args->pag->pagb_tree.rb_node; args 351 fs/xfs/xfs_extent_busy.c while (rbp && flen >= args->minlen) { args 370 fs/xfs/xfs_extent_busy.c if (!xfs_alloc_is_userdata(args->datatype) && args 372 fs/xfs/xfs_extent_busy.c if (!xfs_extent_busy_update_extent(args->mp, args->pag, args 485 fs/xfs/xfs_extent_busy.c if (bbno - fbno >= args->maxlen) { args 488 fs/xfs/xfs_extent_busy.c } else if (fend - bend >= args->maxlen * 4) { args 491 fs/xfs/xfs_extent_busy.c } else if (bbno - fbno >= args->minlen) { args 504 fs/xfs/xfs_extent_busy.c trace_xfs_extent_busy_trim(args->mp, args->agno, *bno, *len, args 508 fs/xfs/xfs_extent_busy.c *busy_gen = args->pag->pagb_gen; args 511 fs/xfs/xfs_extent_busy.c spin_unlock(&args->pag->pagb_lock); args 50 fs/xfs/xfs_extent_busy.h xfs_extent_busy_trim(struct xfs_alloc_arg *args, xfs_agblock_t *bno, args 786 fs/xfs/xfs_icache.c void *args), args 788 fs/xfs/xfs_icache.c void *args, args 863 fs/xfs/xfs_icache.c error = execute(batch[i], flags, args); args 955 fs/xfs/xfs_icache.c void *args), args 957 fs/xfs/xfs_icache.c void *args, args 968 fs/xfs/xfs_icache.c error = xfs_inode_ag_walk(mp, pag, execute, flags, args, -1, args 984 fs/xfs/xfs_icache.c void *args), args 986 fs/xfs/xfs_icache.c void *args) args 988 fs/xfs/xfs_icache.c return xfs_inode_ag_iterator_flags(mp, execute, flags, args, 0); args 995 fs/xfs/xfs_icache.c void *args), args 997 fs/xfs/xfs_icache.c void *args, args 1008 fs/xfs/xfs_icache.c error = xfs_inode_ag_walk(mp, pag, execute, flags, args, tag, args 1466 fs/xfs/xfs_icache.c void *args) args 1469 fs/xfs/xfs_icache.c struct xfs_eofblocks *eofb = args; args 1521 fs/xfs/xfs_icache.c void *args), args 1756 fs/xfs/xfs_icache.c void *args) args 1758 fs/xfs/xfs_icache.c struct xfs_eofblocks *eofb = args; args 75 fs/xfs/xfs_icache.h int (*execute)(struct xfs_inode *ip, int flags, void *args), args 76 fs/xfs/xfs_icache.h int flags, void *args); args 78 fs/xfs/xfs_icache.h int (*execute)(struct xfs_inode *ip, int flags, void *args), args 79 fs/xfs/xfs_icache.h int flags, void *args, int iter_flags); args 81 fs/xfs/xfs_icache.h int (*execute)(struct xfs_inode *ip, int flags, void *args), args 82 fs/xfs/xfs_icache.h int flags, void *args, int tag); args 34 fs/xfs/xfs_message.c va_list args; \ args 37 fs/xfs/xfs_message.c va_start(args, fmt); \ args 40 fs/xfs/xfs_message.c vaf.va = &args; \ args 43 fs/xfs/xfs_message.c va_end(args); \ args 69 fs/xfs/xfs_message.c va_list args; args 77 fs/xfs/xfs_message.c va_start(args, fmt); args 80 fs/xfs/xfs_message.c vaf.va = &args; args 83 fs/xfs/xfs_message.c va_end(args); args 737 fs/xfs/xfs_qm_syscalls.c void *args) args 163 fs/xfs/xfs_super.c substring_t args[MAX_OPT_ARGS]; args 209 fs/xfs/xfs_super.c token = match_token(p, tokens, args); args 212 fs/xfs/xfs_super.c if (match_int(args, &mp->m_logbufs)) args 216 fs/xfs/xfs_super.c if (suffix_kstrtoint(args, 10, &mp->m_logbsize)) args 221 fs/xfs/xfs_super.c mp->m_logname = match_strdup(args); args 227 fs/xfs/xfs_super.c mp->m_rtname = match_strdup(args); args 233 fs/xfs/xfs_super.c if (suffix_kstrtoint(args, 10, &iosize)) args 258 fs/xfs/xfs_super.c if (match_int(args, &dsunit)) args 262 fs/xfs/xfs_super.c if (match_int(args, &dswidth)) args 1236 fs/xfs/xfs_super.c substring_t args[MAX_OPT_ARGS]; args 1252 fs/xfs/xfs_super.c token = match_token(p, tokens, args); args 1567 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_alloc_arg *args), args 1568 fs/xfs/xfs_trace.h TP_ARGS(args), args 1591 fs/xfs/xfs_trace.h __entry->dev = args->mp->m_super->s_dev; args 1592 fs/xfs/xfs_trace.h __entry->agno = args->agno; args 1593 fs/xfs/xfs_trace.h __entry->agbno = args->agbno; args 1594 fs/xfs/xfs_trace.h __entry->minlen = args->minlen; args 1595 fs/xfs/xfs_trace.h __entry->maxlen = args->maxlen; args 1596 fs/xfs/xfs_trace.h __entry->mod = args->mod; args 1597 fs/xfs/xfs_trace.h __entry->prod = args->prod; args 1598 fs/xfs/xfs_trace.h __entry->minleft = args->minleft; args 1599 fs/xfs/xfs_trace.h __entry->total = args->total; args 1600 fs/xfs/xfs_trace.h __entry->alignment = args->alignment; args 1601 fs/xfs/xfs_trace.h __entry->minalignslop = args->minalignslop; args 1602 fs/xfs/xfs_trace.h __entry->len = args->len; args 1603 fs/xfs/xfs_trace.h __entry->type = args->type; args 1604 fs/xfs/xfs_trace.h __entry->otype = args->otype; args 1605 fs/xfs/xfs_trace.h __entry->wasdel = args->wasdel; args 1606 fs/xfs/xfs_trace.h __entry->wasfromfl = args->wasfromfl; args 1607 fs/xfs/xfs_trace.h __entry->resv = args->resv; args 1608 fs/xfs/xfs_trace.h __entry->datatype = args->datatype; args 1609 fs/xfs/xfs_trace.h __entry->firstblock = args->tp->t_firstblock; args 1638 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_alloc_arg *args), \ args 1639 fs/xfs/xfs_trace.h TP_ARGS(args)) args 1667 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_da_args *args), args 1668 fs/xfs/xfs_trace.h TP_ARGS(args), args 1672 fs/xfs/xfs_trace.h __dynamic_array(char, name, args->namelen) args 1679 fs/xfs/xfs_trace.h __entry->dev = VFS_I(args->dp)->i_sb->s_dev; args 1680 fs/xfs/xfs_trace.h __entry->ino = args->dp->i_ino; args 1681 fs/xfs/xfs_trace.h if (args->namelen) args 1682 fs/xfs/xfs_trace.h memcpy(__get_str(name), args->name, args->namelen); args 1683 fs/xfs/xfs_trace.h __entry->namelen = args->namelen; args 1684 fs/xfs/xfs_trace.h __entry->hashval = args->hashval; args 1685 fs/xfs/xfs_trace.h __entry->inumber = args->inumber; args 1686 fs/xfs/xfs_trace.h __entry->op_flags = args->op_flags; args 1702 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_da_args *args), \ args 1703 fs/xfs/xfs_trace.h TP_ARGS(args)) args 1731 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_da_args *args), args 1732 fs/xfs/xfs_trace.h TP_ARGS(args), args 1736 fs/xfs/xfs_trace.h __dynamic_array(char, name, args->namelen) args 1744 fs/xfs/xfs_trace.h __entry->dev = VFS_I(args->dp)->i_sb->s_dev; args 1745 fs/xfs/xfs_trace.h __entry->ino = args->dp->i_ino; args 1746 fs/xfs/xfs_trace.h if (args->namelen) args 1747 fs/xfs/xfs_trace.h memcpy(__get_str(name), args->name, args->namelen); args 1748 fs/xfs/xfs_trace.h __entry->namelen = args->namelen; args 1749 fs/xfs/xfs_trace.h __entry->valuelen = args->valuelen; args 1750 fs/xfs/xfs_trace.h __entry->hashval = args->hashval; args 1751 fs/xfs/xfs_trace.h __entry->flags = args->flags; args 1752 fs/xfs/xfs_trace.h __entry->op_flags = args->op_flags; args 1769 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_da_args *args), \ args 1770 fs/xfs/xfs_trace.h TP_ARGS(args)) args 1816 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_da_args *args), \ args 1817 fs/xfs/xfs_trace.h TP_ARGS(args)) args 1840 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_da_args *args, int idx), args 1841 fs/xfs/xfs_trace.h TP_ARGS(args, idx), args 1849 fs/xfs/xfs_trace.h __entry->dev = VFS_I(args->dp)->i_sb->s_dev; args 1850 fs/xfs/xfs_trace.h __entry->ino = args->dp->i_ino; args 1851 fs/xfs/xfs_trace.h __entry->op_flags = args->op_flags; args 1863 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_da_args *args, int idx), \ args 1864 fs/xfs/xfs_trace.h TP_ARGS(args, idx)) args 1871 fs/xfs/xfs_trace.h TP_PROTO(struct xfs_da_args *args, int src_idx, int dst_idx, int count), args 1872 fs/xfs/xfs_trace.h TP_ARGS(args, src_idx, dst_idx, count), args 1882 fs/xfs/xfs_trace.h __entry->dev = VFS_I(args->dp)->i_sb->s_dev; args 1883 fs/xfs/xfs_trace.h __entry->ino = args->dp->i_ino; args 1884 fs/xfs/xfs_trace.h __entry->op_flags = args->op_flags; args 338 include/acpi/acpiosxf.h void acpi_os_vprintf(const char *format, va_list args); args 109 include/asm-generic/bug.h struct pt_regs *regs, struct warn_args *args); args 114 include/asm-generic/syscall.h unsigned long *args); args 129 include/asm-generic/syscall.h const unsigned long *args); args 679 include/drm/drm_drv.h struct drm_mode_create_dumb *args); args 72 include/drm/drm_gem_cma_helper.h struct drm_mode_create_dumb *args); args 77 include/drm/drm_gem_cma_helper.h struct drm_mode_create_dumb *args); args 157 include/drm/drm_gem_shmem_helper.h struct drm_mode_create_dumb *args); args 92 include/drm/drm_gem_vram_helper.h struct drm_mode_create_dumb *args); args 112 include/drm/drm_gem_vram_helper.h struct drm_mode_create_dumb *args); args 1035 include/linux/acpi.h struct fwnode_reference_args *args); args 1040 include/linux/acpi.h struct fwnode_reference_args *args) args 1043 include/linux/acpi.h NR_FWNODE_REFERENCE_ARGS, args); args 1135 include/linux/acpi.h struct fwnode_reference_args *args) args 1143 include/linux/acpi.h struct fwnode_reference_args *args) args 15 include/linux/armada-37xx-rwtm-mailbox.h u32 args[16]; args 146 include/linux/async_tx.h init_async_submit(struct async_submit_ctl *args, enum async_tx_flags flags, args 151 include/linux/async_tx.h args->flags = flags; args 152 include/linux/async_tx.h args->depend_tx = tx; args 153 include/linux/async_tx.h args->cb_fn = cb_fn; args 154 include/linux/async_tx.h args->cb_param = cb_param; args 155 include/linux/async_tx.h args->scribble = scribble; args 52 include/linux/atomic.h #define __atomic_op_acquire(op, args...) \ args 54 include/linux/atomic.h typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ args 59 include/linux/atomic.h #define __atomic_op_release(op, args...) \ args 62 include/linux/atomic.h op##_relaxed(args); \ args 65 include/linux/atomic.h #define __atomic_op_fence(op, args...) \ args 67 include/linux/atomic.h typeof(op##_relaxed(args)) __ret; \ args 69 include/linux/atomic.h __ret = op##_relaxed(args); \ args 365 include/linux/audit.h extern int __audit_socketcall(int nargs, unsigned long *args); args 402 include/linux/audit.h static inline int audit_socketcall(int nargs, unsigned long *args) args 405 include/linux/audit.h return __audit_socketcall(nargs, args); args 409 include/linux/audit.h static inline int audit_socketcall_compat(int nargs, u32 *args) args 418 include/linux/audit.h a[i] = (unsigned long)args[i]; args 583 include/linux/audit.h static inline int audit_socketcall(int nargs, unsigned long *args) args 588 include/linux/audit.h static inline int audit_socketcall_compat(int nargs, u32 *args) args 35 include/linux/backing-dev.h va_list args); args 397 include/linux/bpf_verifier.h const char *fmt, va_list args); args 42 include/linux/can/dev/peak_canfd.h u16 args[3]; args 460 include/linux/ceph/ceph_fs.h union ceph_mds_request_args args; args 1030 include/linux/clk-provider.h struct clk *(*clk_src_get)(struct of_phandle_args *args, args 1058 include/linux/clk-provider.h struct clk *(*clk_src_get)(struct of_phandle_args *args, args 886 include/linux/compat.h asmlinkage long compat_sys_sysctl(struct compat_sysctl_args __user *args); args 915 include/linux/compat.h asmlinkage long compat_sys_socketcall(int call, u32 __user *args); args 199 include/linux/crush/crush.h struct crush_choose_arg *args; /*!< replacement for each bucket args 1665 include/linux/device.h const char *fmt, va_list args); args 1691 include/linux/device.h const char *fmt, va_list args) args 576 include/linux/dma-fence.h #define DMA_FENCE_TRACE(f, fmt, args...) \ args 581 include/linux/dma-fence.h __ff->context, __ff->seqno, ##args); \ args 584 include/linux/dma-fence.h #define DMA_FENCE_WARN(f, fmt, args...) \ args 588 include/linux/dma-fence.h ##args); \ args 591 include/linux/dma-fence.h #define DMA_FENCE_ERR(f, fmt, args...) \ args 595 include/linux/dma-fence.h ##args); \ args 1670 include/linux/efi.h #define efi_call_virt_pointer(p, f, args...) \ args 1678 include/linux/efi.h __s = arch_efi_call_virt(p, f, args); \ args 1686 include/linux/efi.h #define __efi_call_virt_pointer(p, f, args...) \ args 1693 include/linux/efi.h arch_efi_call_virt(p, f, args); \ args 1195 include/linux/filter.h u32 args[4]; args 45 include/linux/fwnode.h u64 args[NR_FWNODE_REFERENCE_ARGS]; args 95 include/linux/fwnode.h struct fwnode_reference_args *args); args 50 include/linux/genl_magic_func.h #define pr_info(args...) fprintf(stderr, args); args 107 include/linux/genl_magic_struct.h #define GENL_op_init(args...) args args 1015 include/linux/ide.h #define __ide_debug_log(lvl, fmt, args...) \ args 1019 include/linux/ide.h __func__, ## args); \ args 287 include/linux/iommu.h int (*of_xlate)(struct device *dev, struct of_phandle_args *args); args 166 include/linux/kdb.h va_list args); args 481 include/linux/kernel.h int vsnprintf(char *buf, size_t size, const char *fmt, va_list args); args 485 include/linux/kernel.h int vscnprintf(char *buf, size_t size, const char *fmt, va_list args); args 489 include/linux/kernel.h char *kvasprintf(gfp_t gfp, const char *fmt, va_list args); args 491 include/linux/kernel.h const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list args); args 502 include/linux/kernel.h extern char *next_arg(char *args, char **param, char **val); args 676 include/linux/kernel.h #define __trace_printk_check_format(fmt, args...) \ args 679 include/linux/kernel.h ____trace_printk_check_format(fmt, ##args); \ args 721 include/linux/kernel.h #define do_trace_printk(fmt, args...) \ args 727 include/linux/kernel.h __trace_printk_check_format(fmt, ##args); \ args 730 include/linux/kernel.h __trace_bprintk(_THIS_IP_, trace_printk_fmt, ##args); \ args 732 include/linux/kernel.h __trace_printk(_THIS_IP_, fmt, ##args); \ args 1002 include/linux/kvm_host.h bool kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *args); args 1159 include/linux/kvm_host.h int kvm_ioeventfd(struct kvm *kvm, struct kvm_ioeventfd *args); args 1162 include/linux/kvm_host.h int kvm_irqfd(struct kvm *kvm, struct kvm_irqfd *args); args 1166 include/linux/kvm_host.h static inline int kvm_irqfd(struct kvm *kvm, struct kvm_irqfd *args) args 1178 include/linux/kvm_host.h static inline int kvm_irqfd(struct kvm *kvm, struct kvm_irqfd *args) args 1191 include/linux/kvm_host.h static inline int kvm_ioeventfd(struct kvm *kvm, struct kvm_ioeventfd *args) args 49 include/linux/libata.h #define DPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args) args 51 include/linux/libata.h #define VPRINTK(fmt, args...) printk(KERN_ERR "%s: " fmt, __func__, ## args) args 53 include/linux/libata.h #define VPRINTK(fmt, args...) args 56 include/linux/libata.h #define DPRINTK(fmt, args...) args 57 include/linux/libata.h #define VPRINTK(fmt, args...) args 60 include/linux/libata.h #define BPRINTK(fmt, args...) if (ap->flags & ATA_FLAG_DEBUGMSG) printk(KERN_ERR "%s: " fmt, __func__, ## args) args 67 include/linux/linkage.h # define asmlinkage_protect(n, ret, args...) do { } while (0) args 20 include/linux/mISDNdsp.h *args; args 201 include/linux/migrate.h int migrate_vma_setup(struct migrate_vma *args); args 110 include/linux/mmiotrace.h extern __printf(1, 0) int mmio_trace_printk(const char *fmt, va_list args); args 441 include/linux/module.h char *args; args 314 include/linux/moduleparam.h char *args, args 344 include/linux/msi.h int nvec, msi_alloc_info_t *args); args 346 include/linux/msi.h int virq, int nvec, msi_alloc_info_t *args); args 4757 include/linux/netdevice.h #define netdev_dbg(__dev, format, args...) \ args 4759 include/linux/netdevice.h dynamic_netdev_dbg(__dev, format, ##args); \ args 4762 include/linux/netdevice.h #define netdev_dbg(__dev, format, args...) \ args 4763 include/linux/netdevice.h netdev_printk(KERN_DEBUG, __dev, format, ##args) args 4765 include/linux/netdevice.h #define netdev_dbg(__dev, format, args...) \ args 4768 include/linux/netdevice.h netdev_printk(KERN_DEBUG, __dev, format, ##args); \ args 4776 include/linux/netdevice.h #define netdev_vdbg(dev, format, args...) \ args 4779 include/linux/netdevice.h netdev_printk(KERN_DEBUG, dev, format, ##args); \ args 4789 include/linux/netdevice.h #define netdev_WARN(dev, format, args...) \ args 4791 include/linux/netdevice.h netdev_reg_state(dev), ##args) args 4793 include/linux/netdevice.h #define netdev_WARN_ONCE(dev, format, args...) \ args 4795 include/linux/netdevice.h netdev_reg_state(dev), ##args) args 4799 include/linux/netdevice.h #define netif_printk(priv, type, level, dev, fmt, args...) \ args 4802 include/linux/netdevice.h netdev_printk(level, (dev), fmt, ##args); \ args 4805 include/linux/netdevice.h #define netif_level(level, priv, type, dev, fmt, args...) \ args 4808 include/linux/netdevice.h netdev_##level(dev, fmt, ##args); \ args 4811 include/linux/netdevice.h #define netif_emerg(priv, type, dev, fmt, args...) \ args 4812 include/linux/netdevice.h netif_level(emerg, priv, type, dev, fmt, ##args) args 4813 include/linux/netdevice.h #define netif_alert(priv, type, dev, fmt, args...) \ args 4814 include/linux/netdevice.h netif_level(alert, priv, type, dev, fmt, ##args) args 4815 include/linux/netdevice.h #define netif_crit(priv, type, dev, fmt, args...) \ args 4816 include/linux/netdevice.h netif_level(crit, priv, type, dev, fmt, ##args) args 4817 include/linux/netdevice.h #define netif_err(priv, type, dev, fmt, args...) \ args 4818 include/linux/netdevice.h netif_level(err, priv, type, dev, fmt, ##args) args 4819 include/linux/netdevice.h #define netif_warn(priv, type, dev, fmt, args...) \ args 4820 include/linux/netdevice.h netif_level(warn, priv, type, dev, fmt, ##args) args 4821 include/linux/netdevice.h #define netif_notice(priv, type, dev, fmt, args...) \ args 4822 include/linux/netdevice.h netif_level(notice, priv, type, dev, fmt, ##args) args 4823 include/linux/netdevice.h #define netif_info(priv, type, dev, fmt, args...) \ args 4824 include/linux/netdevice.h netif_level(info, priv, type, dev, fmt, ##args) args 4827 include/linux/netdevice.h #define netif_dbg(priv, type, netdev, format, args...) \ args 4830 include/linux/netdevice.h dynamic_netdev_dbg(netdev, format, ##args); \ args 4833 include/linux/netdevice.h #define netif_dbg(priv, type, dev, format, args...) \ args 4834 include/linux/netdevice.h netif_printk(priv, type, KERN_DEBUG, dev, format, ##args) args 4836 include/linux/netdevice.h #define netif_dbg(priv, type, dev, format, args...) \ args 4839 include/linux/netdevice.h netif_printk(priv, type, KERN_DEBUG, dev, format, ##args); \ args 4845 include/linux/netdevice.h #define netif_cond_dbg(priv, type, netdev, cond, level, fmt, args...) \ args 4848 include/linux/netdevice.h netif_dbg(priv, type, netdev, fmt, ##args); \ args 4850 include/linux/netdevice.h netif_ ## level(priv, type, netdev, fmt, ##args); \ args 4856 include/linux/netdevice.h #define netif_vdbg(priv, type, dev, format, args...) \ args 4859 include/linux/netdevice.h netif_printk(priv, type, KERN_DEBUG, dev, format, ##args); \ args 201 include/linux/netlink.h long args[6]; args 224 include/linux/nfs_xdr.h void (*encode)(struct xdr_stream *, const void *args, args 271 include/linux/nfs_xdr.h struct nfs4_layoutget_args args; args 314 include/linux/nfs_xdr.h struct nfs4_layoutcommit_args args; args 335 include/linux/nfs_xdr.h struct nfs4_layoutreturn_args args; args 382 include/linux/nfs_xdr.h struct nfs42_layoutstat_args args; args 415 include/linux/nfs_xdr.h struct nfs42_layouterror_args args; args 1533 include/linux/nfs_xdr.h struct nfs_pgio_args args; /* argument struct */ args 1575 include/linux/nfs_xdr.h struct nfs_commitargs args; /* argument struct */ args 1596 include/linux/nfs_xdr.h struct nfs_removeargs args; args 1606 include/linux/nfs_xdr.h struct nfs_renameargs args; args 1721 include/linux/nfs_xdr.h #define NFS_CALL(op, inode, args) NFS_PROTO(inode)->op args args 77 include/linux/of.h uint32_t args[MAX_PHANDLE_ARGS]; args 363 include/linux/of.h extern void of_print_phandle_args(const char *msg, const struct of_phandle_args *args); args 388 include/linux/of.h uint32_t *args, args 891 include/linux/of.h uint32_t *args, args 123 include/linux/parport_pc.h #define dump_parport_state(args...) args 29 include/linux/parser.h int match_token(char *, const match_table_t table, substring_t args[]); args 1054 include/linux/phy.h #define phydev_err(_phydev, format, args...) \ args 1055 include/linux/phy.h dev_err(&_phydev->mdio.dev, format, ##args) args 1057 include/linux/phy.h #define phydev_info(_phydev, format, args...) \ args 1058 include/linux/phy.h dev_info(&_phydev->mdio.dev, format, ##args) args 1060 include/linux/phy.h #define phydev_warn(_phydev, format, args...) \ args 1061 include/linux/phy.h dev_warn(&_phydev->mdio.dev, format, ##args) args 1063 include/linux/phy.h #define phydev_dbg(_phydev, format, args...) \ args 1064 include/linux/phy.h dev_dbg(&_phydev->mdio.dev, format, ##args) args 155 include/linux/phy/phy.h struct of_phandle_args *args); args 240 include/linux/phy/phy.h struct of_phandle_args *args); args 250 include/linux/phy/phy.h struct of_phandle_args *args)); args 254 include/linux/phy/phy.h struct of_phandle_args *args)); args 435 include/linux/phy/phy.h struct of_phandle_args *args) args 465 include/linux/phy/phy.h struct of_phandle_args *args)) args 473 include/linux/phy/phy.h struct of_phandle_args *args)) args 51 include/linux/platform_data/pm33xx.h unsigned long args); args 284 include/linux/pm_domain.h int of_genpd_add_device(struct of_phandle_args *args, struct device *dev); args 313 include/linux/pm_domain.h static inline int of_genpd_add_device(struct of_phandle_args *args, args 165 include/linux/printk.h const char *fmt, va_list args); args 168 include/linux/printk.h int vprintk(const char *fmt, va_list args); args 209 include/linux/printk.h int vprintk(const char *s, va_list args) args 77 include/linux/property.h struct fwnode_reference_args *args); args 391 include/linux/property.h u64 args[NR_FWNODE_REFERENCE_ARGS]; args 84 include/linux/pwm.h struct pwm_args args; args 148 include/linux/pwm.h struct pwm_args *args) args 150 include/linux/pwm.h *args = pwm->args; args 173 include/linux/pwm.h struct pwm_args args; args 179 include/linux/pwm.h pwm_get_args(pwm, &args); args 181 include/linux/pwm.h state->period = args.period; args 182 include/linux/pwm.h state->polarity = args.polarity; args 297 include/linux/pwm.h const struct of_phandle_args *args); args 405 include/linux/pwm.h const struct of_phandle_args *args); args 562 include/linux/pwm.h state.polarity = pwm->args.polarity; args 563 include/linux/pwm.h state.period = pwm->args.period; args 35 include/linux/quotaops.h #define quota_error(sb, fmt, args...) \ args 36 include/linux/quotaops.h __quota_error((sb), __func__, fmt , ## args) args 118 include/linux/seq_buf.h int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args); args 116 include/linux/seq_file.h void seq_vprintf(struct seq_file *m, const char *fmt, va_list args); args 211 include/linux/string.h int vbin_printf(u32 *bin_buf, size_t size, const char *fmt, va_list args); args 153 include/linux/sunrpc/clnt.h struct rpc_clnt *rpc_create(struct rpc_create_args *args); args 383 include/linux/sunrpc/svc.h __be32 args[0]; args 338 include/linux/sunrpc/xprt.h struct rpc_xprt *xprt_create_transport(struct xprt_create *args); args 182 include/linux/syscalls.h .args = nb ? args_##sname : NULL, \ args 1113 include/linux/syscalls.h asmlinkage long sys_sysctl(struct __sysctl_args __user *args); args 1182 include/linux/syscalls.h asmlinkage long sys_socketcall(int call, unsigned long __user *args); args 559 include/linux/trace_events.h #define event_trace_printk(ip, fmt, args...) \ args 561 include/linux/trace_events.h __trace_printk_check_format(fmt, ##args); \ args 568 include/linux/trace_events.h __trace_bprintk(ip, trace_printk_fmt, ##args); \ args 570 include/linux/trace_events.h __trace_printk(ip, fmt, ##args); \ args 79 include/linux/trace_seq.h void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args); args 95 include/linux/tracepoint.h #define PARAMS(args...) args args 135 include/linux/tracepoint.h #define TP_PROTO(args...) args args 136 include/linux/tracepoint.h #define TP_ARGS(args...) args args 137 include/linux/tracepoint.h #define TP_CONDITION(args...) args args 162 include/linux/tracepoint.h #define __DO_TRACE(tp, proto, args, cond, rcuidle) \ args 193 include/linux/tracepoint.h ((void(*)(proto))(it_func))(args); \ args 206 include/linux/tracepoint.h #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ args 216 include/linux/tracepoint.h #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) args 231 include/linux/tracepoint.h #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ args 246 include/linux/tracepoint.h __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \ args 299 include/linux/tracepoint.h #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ args 395 include/linux/tracepoint.h #define DECLARE_TRACE(name, proto, args) \ args 396 include/linux/tracepoint.h __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ args 399 include/linux/tracepoint.h PARAMS(__data, args)) args 401 include/linux/tracepoint.h #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ args 402 include/linux/tracepoint.h __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ args 405 include/linux/tracepoint.h PARAMS(__data, args)) args 519 include/linux/tracepoint.h #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) args 520 include/linux/tracepoint.h #define DEFINE_EVENT(template, name, proto, args) \ args 521 include/linux/tracepoint.h DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) args 522 include/linux/tracepoint.h #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\ args 523 include/linux/tracepoint.h DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) args 524 include/linux/tracepoint.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ args 525 include/linux/tracepoint.h DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) args 527 include/linux/tracepoint.h args, cond) \ args 529 include/linux/tracepoint.h PARAMS(args), PARAMS(cond)) args 531 include/linux/tracepoint.h #define TRACE_EVENT(name, proto, args, struct, assign, print) \ args 532 include/linux/tracepoint.h DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) args 533 include/linux/tracepoint.h #define TRACE_EVENT_FN(name, proto, args, struct, \ args 535 include/linux/tracepoint.h DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) args 536 include/linux/tracepoint.h #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ args 539 include/linux/tracepoint.h PARAMS(args), PARAMS(cond)) args 540 include/linux/tracepoint.h #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ args 543 include/linux/tracepoint.h PARAMS(args), PARAMS(cond)) args 549 include/linux/tracepoint.h #define DECLARE_EVENT_NOP(name, proto, args) \ args 557 include/linux/tracepoint.h #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print) \ args 558 include/linux/tracepoint.h DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args)) args 560 include/linux/tracepoint.h #define DECLARE_EVENT_CLASS_NOP(name, proto, args, tstruct, assign, print) args 561 include/linux/tracepoint.h #define DEFINE_EVENT_NOP(template, name, proto, args) \ args 562 include/linux/tracepoint.h DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args)) args 631 include/linux/usb/composite.h #define DBG(d, fmt, args...) \ args 632 include/linux/usb/composite.h dev_dbg(&(d)->gadget->dev , fmt , ## args) args 633 include/linux/usb/composite.h #define VDBG(d, fmt, args...) \ args 634 include/linux/usb/composite.h dev_vdbg(&(d)->gadget->dev , fmt , ## args) args 635 include/linux/usb/composite.h #define ERROR(d, fmt, args...) \ args 636 include/linux/usb/composite.h dev_err(&(d)->gadget->dev , fmt , ## args) args 637 include/linux/usb/composite.h #define WARNING(d, fmt, args...) \ args 638 include/linux/usb/composite.h dev_warn(&(d)->gadget->dev , fmt , ## args) args 639 include/linux/usb/composite.h #define INFO(d, fmt, args...) \ args 640 include/linux/usb/composite.h dev_info(&(d)->gadget->dev , fmt , ## args) args 43 include/linux/vmpressure.h const char *args); args 424 include/linux/workqueue.h #define alloc_ordered_workqueue(fmt, flags, args...) \ args 426 include/linux/workqueue.h __WQ_ORDERED_EXPLICIT | (flags), 1, ##args) args 152 include/media/drv-intf/exynos-fimc.h #define fimc_pipeline_call(ent, op, args...) \ args 155 include/media/drv-intf/exynos-fimc.h (ent)->pipe->ops->op(((ent)->pipe), ##args) : -ENOIOCTLCMD)) \ args 1100 include/media/media-entity.h #define media_entity_call(entity, operation, args...) \ args 1102 include/media/media-entity.h (entity)->ops->operation((entity) , ##args) : -ENOIOCTLCMD) args 250 include/media/v4l2-device.h #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ args 254 include/media/v4l2-device.h (sd)->ops->o->f((sd) , ##args); \ args 275 include/media/v4l2-device.h #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ args 280 include/media/v4l2-device.h f , ##args); \ args 307 include/media/v4l2-device.h #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ args 313 include/media/v4l2-device.h __err = (sd)->ops->o->f((sd) , ##args); \ args 342 include/media/v4l2-device.h #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ args 346 include/media/v4l2-device.h f , ##args); \ args 369 include/media/v4l2-device.h #define v4l2_device_call_all(v4l2_dev, grpid, o, f, args...) \ args 375 include/media/v4l2-device.h ##args); \ args 402 include/media/v4l2-device.h #define v4l2_device_call_until_err(v4l2_dev, grpid, o, f, args...) \ args 407 include/media/v4l2-device.h ##args); \ args 429 include/media/v4l2-device.h #define v4l2_device_mask_call_all(v4l2_dev, grpmsk, o, f, args...) \ args 435 include/media/v4l2-device.h f , ##args); \ args 461 include/media/v4l2-device.h #define v4l2_device_mask_call_until_err(v4l2_dev, grpmsk, o, f, args...) \ args 466 include/media/v4l2-device.h f , ##args); \ args 1100 include/media/v4l2-subdev.h #define v4l2_subdev_call(sd, o, f, args...) \ args 1111 include/media/v4l2-subdev.h __sd, ##args); \ args 1113 include/media/v4l2-subdev.h __result = __sd->ops->o->f(__sd, ##args); \ args 7458 include/net/cfg80211.h #define wiphy_printk(level, wiphy, format, args...) \ args 7459 include/net/cfg80211.h dev_printk(level, &(wiphy)->dev, format, ##args) args 7460 include/net/cfg80211.h #define wiphy_emerg(wiphy, format, args...) \ args 7461 include/net/cfg80211.h dev_emerg(&(wiphy)->dev, format, ##args) args 7462 include/net/cfg80211.h #define wiphy_alert(wiphy, format, args...) \ args 7463 include/net/cfg80211.h dev_alert(&(wiphy)->dev, format, ##args) args 7464 include/net/cfg80211.h #define wiphy_crit(wiphy, format, args...) \ args 7465 include/net/cfg80211.h dev_crit(&(wiphy)->dev, format, ##args) args 7466 include/net/cfg80211.h #define wiphy_err(wiphy, format, args...) \ args 7467 include/net/cfg80211.h dev_err(&(wiphy)->dev, format, ##args) args 7468 include/net/cfg80211.h #define wiphy_warn(wiphy, format, args...) \ args 7469 include/net/cfg80211.h dev_warn(&(wiphy)->dev, format, ##args) args 7470 include/net/cfg80211.h #define wiphy_notice(wiphy, format, args...) \ args 7471 include/net/cfg80211.h dev_notice(&(wiphy)->dev, format, ##args) args 7472 include/net/cfg80211.h #define wiphy_info(wiphy, format, args...) \ args 7473 include/net/cfg80211.h dev_info(&(wiphy)->dev, format, ##args) args 7475 include/net/cfg80211.h #define wiphy_err_ratelimited(wiphy, format, args...) \ args 7476 include/net/cfg80211.h dev_err_ratelimited(&(wiphy)->dev, format, ##args) args 7477 include/net/cfg80211.h #define wiphy_warn_ratelimited(wiphy, format, args...) \ args 7478 include/net/cfg80211.h dev_warn_ratelimited(&(wiphy)->dev, format, ##args) args 7480 include/net/cfg80211.h #define wiphy_debug(wiphy, format, args...) \ args 7481 include/net/cfg80211.h wiphy_printk(KERN_DEBUG, wiphy, format, ##args) args 7483 include/net/cfg80211.h #define wiphy_dbg(wiphy, format, args...) \ args 7484 include/net/cfg80211.h dev_dbg(&(wiphy)->dev, format, ##args) args 7489 include/net/cfg80211.h #define wiphy_vdbg(wiphy, format, args...) \ args 7492 include/net/cfg80211.h wiphy_printk(KERN_DEBUG, wiphy, format, ##args); \ args 7502 include/net/cfg80211.h #define wiphy_WARN(wiphy, format, args...) \ args 7503 include/net/cfg80211.h WARN(1, "wiphy: %s\n" format, wiphy_name(wiphy), ##args); args 325 include/net/ip6_fib.h void *args; args 2189 include/net/tcp.h static inline int tcp_call_bpf(struct sock *sk, int op, u32 nargs, u32 *args) args 2203 include/net/tcp.h memcpy(sock_ops.args, args, nargs * sizeof(*args)); args 2215 include/net/tcp.h u32 args[2] = {arg1, arg2}; args 2217 include/net/tcp.h return tcp_call_bpf(sk, op, 2, args); args 2223 include/net/tcp.h u32 args[3] = {arg1, arg2, arg3}; args 2225 include/net/tcp.h return tcp_call_bpf(sk, op, 3, args); args 2229 include/net/tcp.h static inline int tcp_call_bpf(struct sock *sk, int op, u32 nargs, u32 *args) args 99 include/rdma/ib_verbs.h #define ibdev_dbg(__dev, format, args...) \ args 100 include/rdma/ib_verbs.h dynamic_ibdev_dbg(__dev, format, ##args) args 106 include/sound/info.h #define snd_iprintf(buf, fmt, args...) \ args 107 include/sound/info.h seq_printf((struct seq_file *)(buf)->buffer, fmt, ##args) args 1418 include/sound/pcm.h #define pcm_err(pcm, fmt, args...) \ args 1419 include/sound/pcm.h dev_err((pcm)->card->dev, fmt, ##args) args 1420 include/sound/pcm.h #define pcm_warn(pcm, fmt, args...) \ args 1421 include/sound/pcm.h dev_warn((pcm)->card->dev, fmt, ##args) args 1422 include/sound/pcm.h #define pcm_dbg(pcm, fmt, args...) \ args 1423 include/sound/pcm.h dev_dbg((pcm)->card->dev, fmt, ##args) args 67 include/sound/soc-component.h struct of_phandle_args *args, args 371 include/sound/soc-component.h struct of_phandle_args *args, args 1312 include/sound/soc.h int snd_soc_get_dai_name(struct of_phandle_args *args, args 59 include/trace/bpf_probe.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ args 64 include/trace/bpf_probe.h CONCATENATE(bpf_trace_run, COUNT_ARGS(args))(prog, CAST_TO_U64(args)); \ args 72 include/trace/bpf_probe.h #define __DEFINE_EVENT(template, call, proto, args, size) \ args 82 include/trace/bpf_probe.h .num_args = COUNT_ARGS(args), \ args 89 include/trace/bpf_probe.h #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ args 97 include/trace/bpf_probe.h (void)BUILD_BUG_ON_ZERO(size != sizeof(*FIRST(args))); \ args 99 include/trace/bpf_probe.h __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size) args 102 include/trace/bpf_probe.h #define DEFINE_EVENT(template, call, proto, args) \ args 103 include/trace/bpf_probe.h __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0) args 106 include/trace/bpf_probe.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ args 107 include/trace/bpf_probe.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) args 27 include/trace/define_trace.h #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ args 31 include/trace/define_trace.h #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \ args 34 include/trace/define_trace.h PARAMS(args), \ args 40 include/trace/define_trace.h #define TRACE_EVENT_FN(name, proto, args, tstruct, \ args 45 include/trace/define_trace.h #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \ args 50 include/trace/define_trace.h #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print) args 53 include/trace/define_trace.h #define DEFINE_EVENT_NOP(template, name, proto, args) args 56 include/trace/define_trace.h #define DEFINE_EVENT(template, name, proto, args) \ args 60 include/trace/define_trace.h #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ args 64 include/trace/define_trace.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ args 68 include/trace/define_trace.h #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \ args 69 include/trace/define_trace.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) args 72 include/trace/define_trace.h #define DECLARE_TRACE(name, proto, args) \ args 99 include/trace/define_trace.h #define DECLARE_TRACE(name, proto, args) args 29 include/trace/events/bpf_test_run.h #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ args 31 include/trace/events/bpf_test_run.h PARAMS(args), size) args 34 include/trace/events/bpf_test_run.h #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size) \ args 35 include/trace/events/bpf_test_run.h DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args)) args 133 include/trace/events/btrfs.h #define TP_STRUCT__entry_btrfs(args...) \ args 136 include/trace/events/btrfs.h args) args 137 include/trace/events/btrfs.h #define TP_fast_assign_btrfs(fs_info, args...) \ args 140 include/trace/events/btrfs.h args) args 141 include/trace/events/btrfs.h #define TP_printk_btrfs(fmt, args...) \ args 142 include/trace/events/btrfs.h TP_printk("%pU: " fmt, __entry->fsid, args) args 85 include/trace/events/nbd.h #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ args 87 include/trace/events/nbd.h PARAMS(args), size) args 90 include/trace/events/nbd.h #define NBD_DEFINE_EVENT(template, call, proto, args, size) \ args 91 include/trace/events/nbd.h DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args)) args 1128 include/trace/events/sunrpc.h __entry->xid = be32_to_cpu(*(__be32 *)(dr->args + args 26 include/trace/events/syscalls.h __array( unsigned long, args, 6 ) args 31 include/trace/events/syscalls.h syscall_get_arguments(current, regs, __entry->args); args 36 include/trace/events/syscalls.h __entry->args[0], __entry->args[1], __entry->args[2], args 37 include/trace/events/syscalls.h __entry->args[3], __entry->args[4], __entry->args[5]), args 42 include/trace/events/xen.h __array(unsigned long, args, 6) args 46 include/trace/events/xen.h memcpy(__entry->args, mc->args, sizeof(ulong) * nargs); args 47 include/trace/events/xen.h memset(__entry->args + nargs, 0, sizeof(ulong) * (6 - nargs)); args 51 include/trace/events/xen.h __entry->args[0], __entry->args[1], __entry->args[2], args 52 include/trace/events/xen.h __entry->args[3], __entry->args[4], __entry->args[5]) args 56 include/trace/events/xen.h TP_PROTO(size_t args), args 57 include/trace/events/xen.h TP_ARGS(args), args 59 include/trace/events/xen.h __field(size_t, args) args 61 include/trace/events/xen.h TP_fast_assign(__entry->args = args), args 62 include/trace/events/xen.h TP_printk("alloc entry %zu arg bytes", __entry->args) args 114 include/trace/events/xen.h TP_PROTO(unsigned long op, size_t args, enum xen_mc_extend_args res), args 115 include/trace/events/xen.h TP_ARGS(op, args, res), args 118 include/trace/events/xen.h __field(size_t, args) args 122 include/trace/events/xen.h __entry->args = args; args 126 include/trace/events/xen.h __entry->args, args 31 include/trace/perf.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ args 46 include/trace/perf.h __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \ args 79 include/trace/perf.h #define DEFINE_EVENT(template, call, proto, args) \ args 87 include/trace/perf.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ args 88 include/trace/perf.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) args 30 include/trace/syscall.h const char **args; args 73 include/trace/trace_events.h #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \ args 76 include/trace/trace_events.h PARAMS(args), \ args 80 include/trace/trace_events.h DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args)); args 108 include/trace/trace_events.h #define TP_STRUCT__entry(args...) args args 111 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print) \ args 121 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args) \ args 126 include/trace/trace_events.h #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \ args 127 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) args 130 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ args 131 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) args 135 include/trace/trace_events.h #define TRACE_EVENT_FN(name, proto, args, tstruct, \ args 137 include/trace/trace_events.h TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ args 141 include/trace/trace_events.h #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \ args 143 include/trace/trace_events.h TRACE_EVENT_CONDITION(name, PARAMS(proto), PARAMS(args), PARAMS(cond), \ args 203 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ args 209 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args) args 212 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ args 213 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) args 265 include/trace/trace_events.h #define TP_printk(fmt, args...) fmt "\n", args args 344 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ args 369 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ args 448 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print) \ args 461 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args) args 464 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ args 465 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) args 527 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ args 541 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args) args 544 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ args 545 include/trace/trace_events.h DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args)) args 687 include/trace/trace_events.h #define TP_fast_assign(args...) args args 696 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ args 710 include/trace/trace_events.h __data_size = trace_event_get_offsets_##call(&__data_offsets, args); \ args 731 include/trace/trace_events.h #define DEFINE_EVENT(template, call, proto, args) \ args 738 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print) args 756 include/trace/trace_events.h #define TP_printk(fmt, args...) "\"" fmt "\", " __stringify(args) args 759 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ args 773 include/trace/trace_events.h #define DEFINE_EVENT(template, call, proto, args) \ args 788 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, call, proto, args, print) \ args 3316 include/uapi/linux/bpf.h __u32 args[4]; /* Optionally passed to bpf program */ args 3469 include/uapi/linux/bpf.h __u64 args[0]; args 309 include/uapi/linux/kvm.h __u64 args[6]; args 359 include/uapi/linux/kvm.h __u64 args[9]; args 712 include/uapi/linux/kvm.h __u64 args[4]; args 129 include/uapi/linux/netfilter/x_tables.h #define XT_MATCH_ITERATE(type, e, fn, args...) \ args 140 include/uapi/linux/netfilter/x_tables.h __ret = fn(__m , ## args); \ args 148 include/uapi/linux/netfilter/x_tables.h #define XT_ENTRY_ITERATE_CONTINUE(type, entries, size, n, fn, args...) \ args 160 include/uapi/linux/netfilter/x_tables.h __ret = fn(__entry , ## args); \ args 168 include/uapi/linux/netfilter/x_tables.h #define XT_ENTRY_ITERATE(type, entries, size, fn, args...) \ args 169 include/uapi/linux/netfilter/x_tables.h XT_ENTRY_ITERATE_CONTINUE(type, entries, size, 0, fn, args) args 32 include/uapi/linux/netfilter_arp/arp_tables.h #define ARPT_ENTRY_ITERATE(entries, size, fn, args...) \ args 33 include/uapi/linux/netfilter_arp/arp_tables.h XT_ENTRY_ITERATE(struct arpt_entry, entries, size, fn, ## args) args 216 include/uapi/linux/netfilter_bridge/ebtables.h #define EBT_MATCH_ITERATE(e, fn, args...) \ args 228 include/uapi/linux/netfilter_bridge/ebtables.h __ret = fn(__match , ## args); \ args 239 include/uapi/linux/netfilter_bridge/ebtables.h #define EBT_WATCHER_ITERATE(e, fn, args...) \ args 251 include/uapi/linux/netfilter_bridge/ebtables.h __ret = fn(__watcher , ## args); \ args 262 include/uapi/linux/netfilter_bridge/ebtables.h #define EBT_ENTRY_ITERATE(entries, size, fn, args...) \ args 270 include/uapi/linux/netfilter_bridge/ebtables.h __ret = fn(__entry , ## args); \ args 62 include/uapi/linux/netfilter_ipv4/ip_tables.h #define IPT_MATCH_ITERATE(e, fn, args...) \ args 63 include/uapi/linux/netfilter_ipv4/ip_tables.h XT_MATCH_ITERATE(struct ipt_entry, e, fn, ## args) args 66 include/uapi/linux/netfilter_ipv4/ip_tables.h #define IPT_ENTRY_ITERATE(entries, size, fn, args...) \ args 67 include/uapi/linux/netfilter_ipv4/ip_tables.h XT_ENTRY_ITERATE(struct ipt_entry, entries, size, fn, ## args) args 57 include/uapi/linux/netfilter_ipv6/ip6_tables.h #define IP6T_MATCH_ITERATE(e, fn, args...) \ args 58 include/uapi/linux/netfilter_ipv6/ip6_tables.h XT_MATCH_ITERATE(struct ip6t_entry, e, fn, ## args) args 59 include/uapi/linux/netfilter_ipv6/ip6_tables.h #define IP6T_ENTRY_ITERATE(entries, size, fn, args...) \ args 60 include/uapi/linux/netfilter_ipv6/ip6_tables.h XT_ENTRY_ITERATE(struct ip6t_entry, entries, size, fn, ## args) args 90 include/uapi/linux/ptrace.h __u64 args[6]; args 98 include/uapi/linux/ptrace.h __u64 args[6]; args 63 include/uapi/linux/seccomp.h __u64 args[6]; args 25 include/uapi/linux/v4l2-dv-timings.h #define V4L2_INIT_BT_TIMINGS(_width, args...) \ args 26 include/uapi/linux/v4l2-dv-timings.h { .bt = { _width , ## args } } args 28 include/uapi/linux/v4l2-dv-timings.h #define V4L2_INIT_BT_TIMINGS(_width, args...) \ args 29 include/uapi/linux/v4l2-dv-timings.h .bt = { _width , ## args } args 24 include/uapi/misc/fastrpc.h __u64 args; args 18 include/video/metronomefb.h u16 args[((64-2)/2)]; args 215 include/xen/grant_table.h int gnttab_dma_alloc_pages(struct gnttab_dma_alloc_args *args); args 216 include/xen/grant_table.h int gnttab_dma_free_pages(struct gnttab_dma_alloc_args *args); args 492 include/xen/interface/xen.h xen_ulong_t args[6]; args 511 init/do_mounts.c va_list args; args 512 init/do_mounts.c va_start(args, fmt); args 513 init/do_mounts.c vsprintf(buf, fmt, args); args 514 init/do_mounts.c va_end(args); args 1842 kernel/audit.c va_list args) args 1859 kernel/audit.c va_copy(args2, args); args 1860 kernel/audit.c len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); args 1889 kernel/audit.c va_list args; args 1893 kernel/audit.c va_start(args, fmt); args 1894 kernel/audit.c audit_log_vformat(ab, fmt, args); args 1895 kernel/audit.c va_end(args); args 2346 kernel/audit.c va_list args; args 2350 kernel/audit.c va_start(args, fmt); args 2351 kernel/audit.c audit_log_vformat(ab, fmt, args); args 2352 kernel/audit.c va_end(args); args 148 kernel/audit.h long args[6]; args 1203 kernel/auditsc.c context->socketcall.args[i]); args 2319 kernel/auditsc.c int __audit_socketcall(int nargs, unsigned long *args) args 2323 kernel/auditsc.c if (nargs <= 0 || nargs > AUDITSC_ARGS || !args) args 2327 kernel/auditsc.c memcpy(context->socketcall.args, args, nargs * sizeof(unsigned long)); args 667 kernel/bpf/btf.c va_list args; args 669 kernel/bpf/btf.c va_start(args, fmt); args 670 kernel/bpf/btf.c bpf_verifier_vlog(log, fmt, args); args 671 kernel/bpf/btf.c va_end(args); args 678 kernel/bpf/btf.c va_list args; args 683 kernel/bpf/btf.c va_start(args, fmt); args 684 kernel/bpf/btf.c bpf_verifier_vlog(log, fmt, args); args 685 kernel/bpf/btf.c va_end(args); args 696 kernel/bpf/btf.c va_list args; args 712 kernel/bpf/btf.c va_start(args, fmt); args 713 kernel/bpf/btf.c bpf_verifier_vlog(log, fmt, args); args 714 kernel/bpf/btf.c va_end(args); args 733 kernel/bpf/btf.c va_list args; args 761 kernel/bpf/btf.c va_start(args, fmt); args 762 kernel/bpf/btf.c bpf_verifier_vlog(log, fmt, args); args 763 kernel/bpf/btf.c va_end(args); args 776 kernel/bpf/btf.c va_list args; args 787 kernel/bpf/btf.c va_start(args, fmt); args 788 kernel/bpf/btf.c bpf_verifier_vlog(log, fmt, args); args 789 kernel/bpf/btf.c va_end(args); args 2483 kernel/bpf/btf.c const struct btf_param *args = (const struct btf_param *)(t + 1); args 2492 kernel/bpf/btf.c if (nr_args == 1 && !args[0].type) { args 2498 kernel/bpf/btf.c btf_verifier_log(env, "%u %s", args[0].type, args 2500 kernel/bpf/btf.c args[0].name_off)); args 2502 kernel/bpf/btf.c btf_verifier_log(env, ", %u %s", args[i].type, args 2504 kernel/bpf/btf.c args[i].name_off)); args 2507 kernel/bpf/btf.c const struct btf_param *last_arg = &args[nr_args - 1]; args 2793 kernel/bpf/btf.c const struct btf_param *args; args 2799 kernel/bpf/btf.c args = (const struct btf_param *)(t + 1); args 2830 kernel/bpf/btf.c if (!args[nr_args - 1].type) { args 2831 kernel/bpf/btf.c if (args[nr_args - 1].name_off) { args 2844 kernel/bpf/btf.c arg_type_id = args[i].type; args 2852 kernel/bpf/btf.c if (args[i].name_off && args 2853 kernel/bpf/btf.c (!btf_name_offset_valid(btf, args[i].name_off) || args 2854 kernel/bpf/btf.c !btf_name_valid_identifier(btf, args[i].name_off))) { args 2882 kernel/bpf/btf.c const struct btf_param *args; args 2894 kernel/bpf/btf.c args = (const struct btf_param *)(proto_type + 1); args 2897 kernel/bpf/btf.c if (!args[i].name_off && args[i].type) { args 270 kernel/bpf/offload.c struct ns_get_path_bpf_prog_args *args = private_data; args 271 kernel/bpf/offload.c struct bpf_prog_aux *aux = args->prog->aux; args 279 kernel/bpf/offload.c args->info->ifindex = aux->offload->netdev->ifindex; args 284 kernel/bpf/offload.c args->info->ifindex = 0; args 297 kernel/bpf/offload.c struct ns_get_path_bpf_prog_args args = { args 308 kernel/bpf/offload.c res = ns_get_path_cb(&ns_path, bpf_prog_offload_info_fill_ns, &args); args 498 kernel/bpf/offload.c struct ns_get_path_bpf_map_args *args = private_data; args 505 kernel/bpf/offload.c if (args->offmap->netdev) { args 506 kernel/bpf/offload.c args->info->ifindex = args->offmap->netdev->ifindex; args 507 kernel/bpf/offload.c net = dev_net(args->offmap->netdev); args 511 kernel/bpf/offload.c args->info->ifindex = 0; args 523 kernel/bpf/offload.c struct ns_get_path_bpf_map_args args = { args 531 kernel/bpf/offload.c res = ns_get_path_cb(&ns_path, bpf_map_offload_info_fill_ns, &args); args 233 kernel/bpf/verifier.c va_list args) args 237 kernel/bpf/verifier.c n = vscnprintf(log->kbuf, BPF_VERIFIER_TMP_LOG_SIZE, fmt, args); args 258 kernel/bpf/verifier.c va_list args; args 263 kernel/bpf/verifier.c va_start(args, fmt); args 264 kernel/bpf/verifier.c bpf_verifier_vlog(&env->log, fmt, args); args 265 kernel/bpf/verifier.c va_end(args); args 272 kernel/bpf/verifier.c va_list args; args 277 kernel/bpf/verifier.c va_start(args, fmt); args 278 kernel/bpf/verifier.c bpf_verifier_vlog(&env->log, fmt, args); args 279 kernel/bpf/verifier.c va_end(args); args 304 kernel/bpf/verifier.c va_list args; args 306 kernel/bpf/verifier.c va_start(args, prefix_fmt); args 307 kernel/bpf/verifier.c bpf_verifier_vlog(&env->log, prefix_fmt, args); args 308 kernel/bpf/verifier.c va_end(args); args 351 kernel/crash_core.c va_list args; args 355 kernel/crash_core.c va_start(args, fmt); args 356 kernel/crash_core.c r = vscnprintf(buf, sizeof(buf), fmt, args); args 357 kernel/crash_core.c va_end(args); args 9345 kernel/events/core.c substring_t args[MAX_OPT_ARGS]; args 9372 kernel/events/core.c token = match_token(start, if_tokens, args); args 9394 kernel/events/core.c *args[0].to = 0; args 9395 kernel/events/core.c ret = kstrtoul(args[0].from, 0, &filter->offset); args 9400 kernel/events/core.c *args[1].to = 0; args 9401 kernel/events/core.c ret = kstrtoul(args[1].from, 0, &filter->size); args 9409 kernel/events/core.c filename = match_strdup(&args[fpos]); args 1764 kernel/fork.c struct kernel_clone_args *args) args 1770 kernel/fork.c u64 clone_flags = args->flags; args 1857 kernel/fork.c p->set_child_tid = (clone_flags & CLONE_CHILD_SETTID) ? args->child_tid : NULL; args 1861 kernel/fork.c p->clear_child_tid = (clone_flags & CLONE_CHILD_CLEARTID) ? args->child_tid : NULL; args 2017 kernel/fork.c retval = copy_thread_tls(clone_flags, args->stack, args->stack_size, p, args 2018 kernel/fork.c args->tls); args 2053 kernel/fork.c retval = put_user(pidfd, args->pidfd); args 2090 kernel/fork.c p->exit_signal = args->exit_signal; args 2303 kernel/fork.c struct kernel_clone_args args = { args 2307 kernel/fork.c task = copy_process(&init_struct_pid, 0, cpu_to_node(cpu), &args); args 2329 kernel/fork.c long _do_fork(struct kernel_clone_args *args) args 2331 kernel/fork.c u64 clone_flags = args->flags; args 2347 kernel/fork.c else if (args->exit_signal != SIGCHLD) args 2356 kernel/fork.c p = copy_process(NULL, trace, NUMA_NO_NODE, args); args 2372 kernel/fork.c put_user(nr, args->parent_tid); args 2414 kernel/fork.c struct kernel_clone_args args = { args 2424 kernel/fork.c if (!legacy_clone_args_valid(&args)) args 2427 kernel/fork.c return _do_fork(&args); args 2436 kernel/fork.c struct kernel_clone_args args = { args 2444 kernel/fork.c return _do_fork(&args); args 2451 kernel/fork.c struct kernel_clone_args args = { args 2455 kernel/fork.c return _do_fork(&args); args 2466 kernel/fork.c struct kernel_clone_args args = { args 2471 kernel/fork.c return _do_fork(&args); args 2499 kernel/fork.c struct kernel_clone_args args = { args 2509 kernel/fork.c if (!legacy_clone_args_valid(&args)) args 2512 kernel/fork.c return _do_fork(&args); args 2532 kernel/fork.c struct clone_args args; args 2539 kernel/fork.c err = copy_struct_from_user(&args, sizeof(args), uargs, usize); args 2547 kernel/fork.c if (unlikely((args.exit_signal & ~((u64)CSIGNAL)) || args 2548 kernel/fork.c !valid_signal(args.exit_signal))) args 2552 kernel/fork.c .flags = args.flags, args 2553 kernel/fork.c .pidfd = u64_to_user_ptr(args.pidfd), args 2554 kernel/fork.c .child_tid = u64_to_user_ptr(args.child_tid), args 2555 kernel/fork.c .parent_tid = u64_to_user_ptr(args.parent_tid), args 2556 kernel/fork.c .exit_signal = args.exit_signal, args 2557 kernel/fork.c .stack = args.stack, args 2558 kernel/fork.c .stack_size = args.stack_size, args 2559 kernel/fork.c .tls = args.tls, args 748 kernel/irq/irqdomain.c static void of_phandle_args_to_fwspec(struct device_node *np, const u32 *args, args 758 kernel/irq/irqdomain.c fwspec->param[i] = args[i]; args 856 kernel/irq/irqdomain.c of_phandle_args_to_fwspec(irq_data->np, irq_data->args, args 127 kernel/kmod.c va_list args; args 142 kernel/kmod.c va_start(args, fmt); args 143 kernel/kmod.c ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); args 144 kernel/kmod.c va_end(args); args 296 kernel/kthread.c va_list args) args 343 kernel/kthread.c vsnprintf(name, sizeof(name), namefmt, args); args 385 kernel/kthread.c va_list args; args 387 kernel/kthread.c va_start(args, namefmt); args 388 kernel/kthread.c task = __kthread_create_on_node(threadfn, data, node, namefmt, args); args 389 kernel/kthread.c va_end(args); args 683 kernel/kthread.c const char namefmt[], va_list args) args 699 kernel/kthread.c node, namefmt, args); args 729 kernel/kthread.c va_list args; args 731 kernel/kthread.c va_start(args, namefmt); args 732 kernel/kthread.c worker = __kthread_create_worker(-1, flags, namefmt, args); args 733 kernel/kthread.c va_end(args); args 761 kernel/kthread.c va_list args; args 763 kernel/kthread.c va_start(args, namefmt); args 764 kernel/kthread.c worker = __kthread_create_worker(cpu, flags, namefmt, args); args 765 kernel/kthread.c va_end(args); args 129 kernel/livepatch/core.c struct klp_find_arg *args = data; args 131 kernel/livepatch/core.c if ((mod && !args->objname) || (!mod && args->objname)) args 134 kernel/livepatch/core.c if (strcmp(args->name, name)) args 137 kernel/livepatch/core.c if (args->objname && strcmp(args->objname, mod->name)) args 140 kernel/livepatch/core.c args->addr = addr; args 141 kernel/livepatch/core.c args->count++; args 147 kernel/livepatch/core.c if ((args->pos && (args->count == args->pos)) || args 148 kernel/livepatch/core.c (!args->pos && (args->count > 1))) args 157 kernel/livepatch/core.c struct klp_find_arg args = { args 167 kernel/livepatch/core.c module_kallsyms_on_each_symbol(klp_find_callback, &args); args 169 kernel/livepatch/core.c kallsyms_on_each_symbol(klp_find_callback, &args); args 176 kernel/livepatch/core.c if (args.addr == 0) args 178 kernel/livepatch/core.c else if (args.count > 1 && sympos == 0) { args 181 kernel/livepatch/core.c } else if (sympos != args.count && sympos > 0) { args 185 kernel/livepatch/core.c *addr = args.addr; args 2231 kernel/module.c kfree(mod->args); args 3884 kernel/module.c mod->args = strndup_user(uargs, ~0UL >> 1); args 3885 kernel/module.c if (IS_ERR(mod->args)) { args 3886 kernel/module.c err = PTR_ERR(mod->args); args 3905 kernel/module.c after_dashes = parse_args(mod->name, mod->args, mod->kp, mod->num_kp, args 3953 kernel/module.c kfree(mod->args); args 541 kernel/notifier.c struct die_args args = { args 551 kernel/notifier.c return atomic_notifier_call_chain(&die_chain, val, &args); args 170 kernel/panic.c va_list args; args 208 kernel/panic.c va_start(args, fmt); args 209 kernel/panic.c len = vscnprintf(buf, sizeof(buf), fmt, args); args 210 kernel/panic.c va_end(args); args 555 kernel/panic.c va_list args; args 559 kernel/panic.c struct pt_regs *regs, struct warn_args *args) args 571 kernel/panic.c if (args) args 572 kernel/panic.c vprintk(args->fmt, args->args); args 604 kernel/panic.c struct warn_args args; args 614 kernel/panic.c args.fmt = fmt; args 615 kernel/panic.c va_start(args.args, fmt); args 616 kernel/panic.c __warn(file, line, __builtin_return_address(0), taint, NULL, &args); args 617 kernel/panic.c va_end(args.args); args 623 kernel/panic.c va_list args; args 627 kernel/panic.c va_start(args, fmt); args 628 kernel/panic.c vprintk(fmt, args); args 629 kernel/panic.c va_end(args); args 162 kernel/params.c char *args, args 174 kernel/params.c args = skip_spaces(args); args 176 kernel/params.c if (*args) args 177 kernel/params.c pr_debug("doing %s, parsing ARGS: '%s'\n", doing, args); args 179 kernel/params.c while (*args) { args 183 kernel/params.c args = next_arg(args, ¶m, &val); args 186 kernel/params.c return err ?: args; args 517 kernel/power/main.c va_list args; args 522 kernel/power/main.c va_start(args, fmt); args 525 kernel/power/main.c vaf.va = &args; args 532 kernel/power/main.c va_end(args); args 18 kernel/printk/internal.h const char *fmt, va_list args); args 20 kernel/printk/internal.h __printf(1, 0) int vprintk_default(const char *fmt, va_list args); args 21 kernel/printk/internal.h __printf(1, 0) int vprintk_deferred(const char *fmt, va_list args); args 22 kernel/printk/internal.h __printf(1, 0) int vprintk_func(const char *fmt, va_list args); args 57 kernel/printk/internal.h __printf(1, 0) int vprintk_func(const char *fmt, va_list args) { return 0; } args 807 kernel/printk/printk.c va_list args; args 810 kernel/printk/printk.c va_start(args, fmt); args 811 kernel/printk/printk.c r = vprintk_emit(facility, level, NULL, 0, fmt, args); args 812 kernel/printk/printk.c va_end(args); args 1934 kernel/printk/printk.c const char *fmt, va_list args) args 1945 kernel/printk/printk.c text_len = vscnprintf(text, sizeof(textbuf), fmt, args); args 1984 kernel/printk/printk.c const char *fmt, va_list args) args 2006 kernel/printk/printk.c printed_len = vprintk_store(facility, level, dict, dictlen, fmt, args); args 2034 kernel/printk/printk.c asmlinkage int vprintk(const char *fmt, va_list args) args 2036 kernel/printk/printk.c return vprintk_func(fmt, args); args 2040 kernel/printk/printk.c int vprintk_default(const char *fmt, va_list args) args 2047 kernel/printk/printk.c r = vkdb_printf(KDB_MSGSRC_PRINTK, fmt, args); args 2051 kernel/printk/printk.c r = vprintk_emit(0, LOGLEVEL_DEFAULT, NULL, 0, fmt, args); args 2080 kernel/printk/printk.c va_list args; args 2083 kernel/printk/printk.c va_start(args, fmt); args 2084 kernel/printk/printk.c r = vprintk_func(fmt, args); args 2085 kernel/printk/printk.c va_end(args); args 3019 kernel/printk/printk.c int vprintk_deferred(const char *fmt, va_list args) args 3023 kernel/printk/printk.c r = vprintk_emit(0, LOGLEVEL_SCHED, NULL, 0, fmt, args); args 3031 kernel/printk/printk.c va_list args; args 3034 kernel/printk/printk.c va_start(args, fmt); args 3035 kernel/printk/printk.c r = vprintk_deferred(fmt, args); args 3036 kernel/printk/printk.c va_end(args); args 68 kernel/printk/printk_safe.c const char *fmt, va_list args) args 91 kernel/printk/printk_safe.c va_copy(ap, args); args 289 kernel/printk/printk_safe.c static __printf(1, 0) int vprintk_nmi(const char *fmt, va_list args) args 293 kernel/printk/printk_safe.c return printk_safe_log_store(s, fmt, args); args 329 kernel/printk/printk_safe.c static __printf(1, 0) int vprintk_nmi(const char *fmt, va_list args) args 341 kernel/printk/printk_safe.c static __printf(1, 0) int vprintk_safe(const char *fmt, va_list args) args 345 kernel/printk/printk_safe.c return printk_safe_log_store(s, fmt, args); args 360 kernel/printk/printk_safe.c __printf(1, 0) int vprintk_func(const char *fmt, va_list args) args 370 kernel/printk/printk_safe.c len = vprintk_store(0, LOGLEVEL_DEFAULT, NULL, 0, fmt, args); args 378 kernel/printk/printk_safe.c return vprintk_nmi(fmt, args); args 382 kernel/printk/printk_safe.c return vprintk_safe(fmt, args); args 385 kernel/printk/printk_safe.c return vprintk_default(fmt, args); args 912 kernel/ptrace.c unsigned long args[ARRAY_SIZE(info->entry.args)]; args 917 kernel/ptrace.c syscall_get_arguments(child, regs, args); args 918 kernel/ptrace.c for (i = 0; i < ARRAY_SIZE(args); i++) args 919 kernel/ptrace.c info->entry.args[i] = args[i]; args 922 kernel/ptrace.c return offsetofend(struct ptrace_syscall_info, entry.args); args 1589 kernel/rcu/rcutorture.c static int rcu_torture_stall(void *args) args 1950 kernel/rcu/rcutorture.c static int rcu_torture_fwd_prog(void *args) args 148 kernel/seccomp.c unsigned long args[6]; args 152 kernel/seccomp.c syscall_get_arguments(task, regs, args); args 153 kernel/seccomp.c sd->args[0] = args[0]; args 154 kernel/seccomp.c sd->args[1] = args[1]; args 155 kernel/seccomp.c sd->args[2] = args[2]; args 156 kernel/seccomp.c sd->args[3] = args[3]; args 157 kernel/seccomp.c sd->args[4] = args[4]; args 158 kernel/seccomp.c sd->args[5] = args[5]; args 1402 kernel/sysctl_binary.c SYSCALL_DEFINE1(sysctl, struct __sysctl_args __user *, args) args 1408 kernel/sysctl_binary.c if (copy_from_user(&tmp, args, sizeof(tmp))) args 1444 kernel/sysctl_binary.c COMPAT_SYSCALL_DEFINE1(sysctl, struct compat_sysctl_args __user *, args) args 1451 kernel/sysctl_binary.c if (copy_from_user(&tmp, args, sizeof(tmp))) args 33 kernel/time/timer_list.c va_list args; args 35 kernel/time/timer_list.c va_start(args, fmt); args 38 kernel/time/timer_list.c seq_vprintf(m, fmt, args); args 40 kernel/time/timer_list.c vprintk(fmt, args); args 42 kernel/time/timer_list.c va_end(args); args 150 kernel/trace/blktrace.c va_list args; args 167 kernel/trace/blktrace.c va_start(args, fmt); args 168 kernel/trace/blktrace.c n = vscnprintf(buf, BLK_TN_MAX_MSG, fmt, args); args 169 kernel/trace/blktrace.c va_end(args); args 969 kernel/trace/bpf_trace.c BPF_CALL_5(bpf_perf_event_output_raw_tp, struct bpf_raw_tracepoint_args *, args, args 996 kernel/trace/bpf_trace.c BPF_CALL_3(bpf_get_stackid_raw_tp, struct bpf_raw_tracepoint_args *, args, args 1022 kernel/trace/bpf_trace.c BPF_CALL_4(bpf_get_stack_raw_tp, struct bpf_raw_tracepoint_args *, args, args 1330 kernel/trace/bpf_trace.c void __bpf_trace_run(struct bpf_prog *prog, u64 *args) args 1334 kernel/trace/bpf_trace.c (void) BPF_PROG_RUN(prog, args); args 1355 kernel/trace/bpf_trace.c #define COPY(X) args[X] = arg##X args 1366 kernel/trace/bpf_trace.c u64 args[x]; \ args 1368 kernel/trace/bpf_trace.c __bpf_trace_run(prog, args); \ args 3105 kernel/trace/trace.c int trace_vbprintk(unsigned long ip, const char *fmt, va_list args) args 3131 kernel/trace/trace.c len = vbin_printf((u32 *)tbuffer, TRACE_BUF_SIZE/sizeof(int), fmt, args); args 3167 kernel/trace/trace.c unsigned long ip, const char *fmt, va_list args) args 3192 kernel/trace/trace.c len = vscnprintf(tbuffer, TRACE_BUF_SIZE, fmt, args); args 3221 kernel/trace/trace.c unsigned long ip, const char *fmt, va_list args) args 3223 kernel/trace/trace.c return __trace_array_vprintk(tr->trace_buffer.buffer, ip, fmt, args); args 3260 kernel/trace/trace.c int trace_vprintk(unsigned long ip, const char *fmt, va_list args) args 3262 kernel/trace/trace.c return trace_array_vprintk(&global_trace, ip, fmt, args); args 68 kernel/trace/trace.h #define F_STRUCT(args...) args args 101 kernel/trace/trace.h unsigned long args[]; args 850 kernel/trace/trace.h trace_vbprintk(unsigned long ip, const char *fmt, va_list args); args 852 kernel/trace/trace.h trace_vprintk(unsigned long ip, const char *fmt, va_list args); args 855 kernel/trace/trace.h unsigned long ip, const char *fmt, va_list args); args 57 kernel/trace/trace_export.c #define F_STRUCT(args...) args args 60 kernel/trace/trace_export.c #define F_printk(fmt, args...) fmt, args args 168 kernel/trace/trace_export.c #define F_printk(fmt, args...) __stringify(fmt) ", " __stringify(args) args 84 kernel/trace/trace_kprobe.c (offsetof(struct trace_kprobe, tp.args) + \ args 499 kernel/trace/trace_kprobe.c ret = traceprobe_update_arg(&tk->tp.args[i]); args 576 kernel/trace/trace_kprobe.c if (strcmp(orig->tp.args[i].comm, args 577 kernel/trace/trace_kprobe.c comp->tp.args[i].comm)) args 935 kernel/trace/trace_kprobe.c seq_printf(m, " %s=%s", tk->tp.args[i].name, tk->tp.args[i].comm); args 1293 kernel/trace/trace_kprobe.c if (print_probe_args(s, tp->args, tp->nr_args, args 1328 kernel/trace/trace_kprobe.c if (print_probe_args(s, tp->args, tp->nr_args, args 359 kernel/trace/trace_mmiotrace.c int mmio_trace_printk(const char *fmt, va_list args) args 361 kernel/trace/trace_mmiotrace.c return trace_vprintk(0, fmt, args); args 733 kernel/trace/trace_probe.c struct probe_arg *args, int narg) args 742 kernel/trace/trace_probe.c if (strcmp(args[i].name, name) == 0) args 751 kernel/trace/trace_probe.c struct probe_arg *parg = &tp->args[i]; args 780 kernel/trace/trace_probe.c if (traceprobe_conflict_field_name(parg->name, tp->args, i)) { args 860 kernel/trace/trace_probe.c parg = tp->args + i; args 877 kernel/trace/trace_probe.c parg = tp->args + i; args 929 kernel/trace/trace_probe.c struct probe_arg *parg = &tp->args[i]; args 982 kernel/trace/trace_probe.c traceprobe_free_probe_arg(&tp->args[i]); args 1111 kernel/trace/trace_probe.c ((a->args[i].type != b->args[i].type) || args 1112 kernel/trace/trace_probe.c (a->args[i].count != b->args[i].count) || args 1113 kernel/trace/trace_probe.c strcmp(a->args[i].name, b->args[i].name))) args 1131 kernel/trace/trace_probe.c tp->args[i].name, tp->args[i].comm); args 247 kernel/trace/trace_probe.h struct probe_arg args[]; args 178 kernel/trace/trace_probe_tmpl.h arg = tp->args + i; args 201 kernel/trace/trace_probe_tmpl.h arg = tp->args + i; args 217 kernel/trace/trace_probe_tmpl.h print_probe_args(struct trace_seq *s, struct probe_arg *args, int nr_args, args 224 kernel/trace/trace_probe_tmpl.h struct probe_arg *a = args + i; args 144 kernel/trace/trace_seq.c void trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) args 153 kernel/trace/trace_seq.c seq_buf_vprintf(&s->seq, fmt, args); args 156 kernel/trace/trace_syscalls.c trace_seq_printf(s, "%s: %lx%s", entry->args[i], args 157 kernel/trace/trace_syscalls.c trace->args[i], args 219 kernel/trace/trace_syscalls.c entry->args[i], sizeof(unsigned long), args 226 kernel/trace/trace_syscalls.c ", ((unsigned long)(REC->%s))", entry->args[i]); args 274 kernel/trace/trace_syscalls.c int offset = offsetof(typeof(trace), args); args 283 kernel/trace/trace_syscalls.c meta->args[i], offset, args 317 kernel/trace/trace_syscalls.c unsigned long args[6]; args 351 kernel/trace/trace_syscalls.c syscall_get_arguments(current, regs, args); args 352 kernel/trace/trace_syscalls.c memcpy(entry->args, args, sizeof(unsigned long) * sys_data->nb_args); args 572 kernel/trace/trace_syscalls.c unsigned long args[SYSCALL_DEFINE_MAXARGS]; args 579 kernel/trace/trace_syscalls.c param.args[i] = rec->args[i]; args 588 kernel/trace/trace_syscalls.c unsigned long args[6]; args 619 kernel/trace/trace_syscalls.c syscall_get_arguments(current, regs, args); args 620 kernel/trace/trace_syscalls.c memcpy(&rec->args, args, sizeof(unsigned long) * sys_data->nb_args); args 87 kernel/trace/trace_uprobe.c (offsetof(struct trace_uprobe, tp.args) + \ args 426 kernel/trace/trace_uprobe.c if (strcmp(orig->tp.args[i].comm, args 427 kernel/trace/trace_uprobe.c comp->tp.args[i].comm)) args 739 kernel/trace/trace_uprobe.c seq_printf(m, " %s=%s", tu->tp.args[i].name, tu->tp.args[i].comm); args 1026 kernel/trace/trace_uprobe.c if (print_probe_args(s, tu->tp.args, tu->tp.nr_args, data, entry) < 0) args 4234 kernel/workqueue.c va_list args; args 4266 kernel/workqueue.c va_start(args, max_active); args 4267 kernel/workqueue.c vsnprintf(wq->name, sizeof(wq->name), fmt, args); args 4268 kernel/workqueue.c va_end(args); args 4573 kernel/workqueue.c va_list args; args 4576 kernel/workqueue.c va_start(args, fmt); args 4577 kernel/workqueue.c vsnprintf(worker->desc, sizeof(worker->desc), fmt, args); args 4578 kernel/workqueue.c va_end(args); args 36 lib/atomic64_test.c #define FAMILY_TEST(test, bit, op, args...) \ args 38 lib/atomic64_test.c test(bit, op, ##args); \ args 39 lib/atomic64_test.c test(bit, op##_acquire, ##args); \ args 40 lib/atomic64_test.c test(bit, op##_release, ##args); \ args 41 lib/atomic64_test.c test(bit, op##_relaxed, ##args); \ args 72 lib/atomic64_test.c #define TEST_ARGS(bit, op, init, ret, expect, args...) \ args 75 lib/atomic64_test.c BUG_ON(atomic##bit##_##op(&v, ##args) != ret); \ args 97 lib/bch.c #define dbg(_fmt, args...) do {} while (0) args 201 lib/cmdline.c char *next_arg(char *args, char **param, char **val) args 207 lib/cmdline.c if (*args == '"') { args 208 lib/cmdline.c args++; args 213 lib/cmdline.c for (i = 0; args[i]; i++) { args 214 lib/cmdline.c if (isspace(args[i]) && !in_quote) args 217 lib/cmdline.c if (args[i] == '=') args 220 lib/cmdline.c if (args[i] == '"') args 224 lib/cmdline.c *param = args; args 228 lib/cmdline.c args[equals] = '\0'; args 229 lib/cmdline.c *val = args + equals + 1; args 234 lib/cmdline.c if (args[i-1] == '"') args 235 lib/cmdline.c args[i-1] = '\0'; args 238 lib/cmdline.c if (quoted && args[i-1] == '"') args 239 lib/cmdline.c args[i-1] = '\0'; args 241 lib/cmdline.c if (args[i]) { args 242 lib/cmdline.c args[i] = '\0'; args 243 lib/cmdline.c next = args + i + 1; args 245 lib/cmdline.c next = args + i; args 30 lib/dump_stack.c va_list args; args 32 lib/dump_stack.c va_start(args, fmt); args 34 lib/dump_stack.c fmt, args); args 35 lib/dump_stack.c va_end(args); args 555 lib/dynamic_debug.c va_list args; args 562 lib/dynamic_debug.c va_start(args, fmt); args 565 lib/dynamic_debug.c vaf.va = &args; args 569 lib/dynamic_debug.c va_end(args); args 577 lib/dynamic_debug.c va_list args; args 582 lib/dynamic_debug.c va_start(args, fmt); args 585 lib/dynamic_debug.c vaf.va = &args; args 598 lib/dynamic_debug.c va_end(args); args 608 lib/dynamic_debug.c va_list args; args 613 lib/dynamic_debug.c va_start(args, fmt); args 616 lib/dynamic_debug.c vaf.va = &args; args 635 lib/dynamic_debug.c va_end(args); args 647 lib/dynamic_debug.c va_list args; args 649 lib/dynamic_debug.c va_start(args, fmt); args 652 lib/dynamic_debug.c vaf.va = &args; args 670 lib/dynamic_debug.c va_end(args); args 429 lib/kobject.c va_list args; args 441 lib/kobject.c va_start(args, fmt); args 442 lib/kobject.c retval = kobject_add_varg(kobj, parent, fmt, args); args 443 lib/kobject.c va_end(args); args 467 lib/kobject.c va_list args; args 472 lib/kobject.c va_start(args, fmt); args 473 lib/kobject.c retval = kobject_add_varg(kobj, parent, fmt, args); args 474 lib/kobject.c va_end(args); args 64 lib/kobject_uevent.c const char **args) args 89 lib/kobject_uevent.c if (args) args 90 lib/kobject_uevent.c *args = args_start; args 655 lib/kobject_uevent.c va_list args; args 663 lib/kobject_uevent.c va_start(args, format); args 666 lib/kobject_uevent.c format, args); args 667 lib/kobject_uevent.c va_end(args); args 24 lib/parser.c static int match_one(char *s, const char *p, substring_t args[]) args 56 lib/parser.c args[argc].from = s; args 65 lib/parser.c args[argc].to = s + len; args 69 lib/parser.c simple_strtol(s, &args[argc].to, 0); args 72 lib/parser.c simple_strtoul(s, &args[argc].to, 0); args 75 lib/parser.c simple_strtoul(s, &args[argc].to, 8); args 78 lib/parser.c simple_strtoul(s, &args[argc].to, 16); args 80 lib/parser.c if (args[argc].to == args[argc].from) args 86 lib/parser.c s = args[argc].to; args 105 lib/parser.c int match_token(char *s, const match_table_t table, substring_t args[]) args 109 lib/parser.c for (p = table; !match_one(s, p->pattern, args) ; p++) args 57 lib/seq_buf.c int seq_buf_vprintf(struct seq_buf *s, const char *fmt, va_list args) args 64 lib/seq_buf.c len = vsnprintf(s->buffer + s->len, s->size - s->len, fmt, args); args 31 lib/syscall.c (unsigned long *)&info->data.args[0]); args 47 lib/ts_bm.c #define DEBUGP(args, format...) args 2447 lib/vsprintf.c int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) args 2486 lib/vsprintf.c set_field_width(&spec, va_arg(args, int)); args 2490 lib/vsprintf.c set_precision(&spec, va_arg(args, int)); args 2504 lib/vsprintf.c c = (unsigned char) va_arg(args, int); args 2517 lib/vsprintf.c str = string(str, end, va_arg(args, char *), spec); args 2521 lib/vsprintf.c str = pointer(fmt, str, end, va_arg(args, void *), args 2547 lib/vsprintf.c num = va_arg(args, long long); args 2550 lib/vsprintf.c num = va_arg(args, unsigned long); args 2553 lib/vsprintf.c num = va_arg(args, long); args 2557 lib/vsprintf.c num = va_arg(args, ssize_t); args 2559 lib/vsprintf.c num = va_arg(args, size_t); args 2562 lib/vsprintf.c num = va_arg(args, ptrdiff_t); args 2565 lib/vsprintf.c num = (unsigned char) va_arg(args, int); args 2568 lib/vsprintf.c num = (signed char) va_arg(args, int); args 2571 lib/vsprintf.c num = (unsigned short) va_arg(args, int); args 2574 lib/vsprintf.c num = (short) va_arg(args, int); args 2577 lib/vsprintf.c num = (int) va_arg(args, int); args 2580 lib/vsprintf.c num = va_arg(args, unsigned int); args 2616 lib/vsprintf.c int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) args 2620 lib/vsprintf.c i = vsnprintf(buf, size, fmt, args); args 2646 lib/vsprintf.c va_list args; args 2649 lib/vsprintf.c va_start(args, fmt); args 2650 lib/vsprintf.c i = vsnprintf(buf, size, fmt, args); args 2651 lib/vsprintf.c va_end(args); args 2670 lib/vsprintf.c va_list args; args 2673 lib/vsprintf.c va_start(args, fmt); args 2674 lib/vsprintf.c i = vscnprintf(buf, size, fmt, args); args 2675 lib/vsprintf.c va_end(args); args 2695 lib/vsprintf.c int vsprintf(char *buf, const char *fmt, va_list args) args 2697 lib/vsprintf.c return vsnprintf(buf, INT_MAX, fmt, args); args 2715 lib/vsprintf.c va_list args; args 2718 lib/vsprintf.c va_start(args, fmt); args 2719 lib/vsprintf.c i = vsnprintf(buf, INT_MAX, fmt, args); args 2720 lib/vsprintf.c va_end(args); args 2750 lib/vsprintf.c int vbin_printf(u32 *bin_buf, size_t size, const char *fmt, va_list args) args 2765 lib/vsprintf.c val8 = va_arg(args, unsigned long long); \ args 2774 lib/vsprintf.c val4 = va_arg(args, int); \ args 2808 lib/vsprintf.c const char *save_str = va_arg(args, char *); args 2840 lib/vsprintf.c str = pointer(fmt, str, end, va_arg(args, void *), args 2914 lib/vsprintf.c const char *args = (const char *)bin_buf; args 2926 lib/vsprintf.c args = PTR_ALIGN(args, sizeof(u32)); \ args 2927 lib/vsprintf.c *(u32 *)&value = *(u32 *)args; \ args 2928 lib/vsprintf.c *((u32 *)&value + 1) = *(u32 *)(args + 4); \ args 2930 lib/vsprintf.c args = PTR_ALIGN(args, sizeof(type)); \ args 2931 lib/vsprintf.c value = *(typeof(type) *)args; \ args 2933 lib/vsprintf.c args += sizeof(type); \ args 2992 lib/vsprintf.c const char *str_arg = args; args 2993 lib/vsprintf.c args += strlen(str_arg) + 1; args 3018 lib/vsprintf.c len = copy = strlen(args); args 3021 lib/vsprintf.c memcpy(str, args, copy); args 3023 lib/vsprintf.c args += len + 1; args 3112 lib/vsprintf.c va_list args; args 3115 lib/vsprintf.c va_start(args, fmt); args 3116 lib/vsprintf.c ret = vbin_printf(bin_buf, size, fmt, args); args 3117 lib/vsprintf.c va_end(args); args 3131 lib/vsprintf.c int vsscanf(const char *buf, const char *fmt, va_list args) args 3213 lib/vsprintf.c *va_arg(args, int *) = str - buf; args 3227 lib/vsprintf.c char *s = (char *)va_arg(args, char*); args 3238 lib/vsprintf.c char *s = (char *)va_arg(args, char *); args 3268 lib/vsprintf.c char *s = (char *)va_arg(args, char *); args 3369 lib/vsprintf.c *va_arg(args, signed char *) = val.s; args 3371 lib/vsprintf.c *va_arg(args, unsigned char *) = val.u; args 3375 lib/vsprintf.c *va_arg(args, short *) = val.s; args 3377 lib/vsprintf.c *va_arg(args, unsigned short *) = val.u; args 3381 lib/vsprintf.c *va_arg(args, long *) = val.s; args 3383 lib/vsprintf.c *va_arg(args, unsigned long *) = val.u; args 3387 lib/vsprintf.c *va_arg(args, long long *) = val.s; args 3389 lib/vsprintf.c *va_arg(args, unsigned long long *) = val.u; args 3392 lib/vsprintf.c *va_arg(args, size_t *) = val.u; args 3396 lib/vsprintf.c *va_arg(args, int *) = val.s; args 3398 lib/vsprintf.c *va_arg(args, unsigned int *) = val.u; args 3420 lib/vsprintf.c va_list args; args 3423 lib/vsprintf.c va_start(args, fmt); args 3424 lib/vsprintf.c i = vsscanf(buf, fmt, args); args 3425 lib/vsprintf.c va_end(args); args 933 mm/backing-dev.c int bdi_register_va(struct backing_dev_info *bdi, const char *fmt, va_list args) args 941 mm/backing-dev.c vsnprintf(bdi->dev_name, sizeof(bdi->dev_name), fmt, args); args 971 mm/backing-dev.c va_list args; args 974 mm/backing-dev.c va_start(args, fmt); args 975 mm/backing-dev.c ret = bdi_register_va(bdi, fmt, args); args 976 mm/backing-dev.c va_end(args); args 158 mm/memcontrol.c struct eventfd_ctx *eventfd, const char *args); args 4120 mm/memcontrol.c struct eventfd_ctx *eventfd, const char *args, enum res_type type) args 4128 mm/memcontrol.c ret = page_counter_memparse(args, "-1", &threshold); args 4201 mm/memcontrol.c struct eventfd_ctx *eventfd, const char *args) args 4203 mm/memcontrol.c return __mem_cgroup_usage_register_event(memcg, eventfd, args, _MEM); args 4207 mm/memcontrol.c struct eventfd_ctx *eventfd, const char *args) args 4209 mm/memcontrol.c return __mem_cgroup_usage_register_event(memcg, eventfd, args, _MEMSWAP); args 4310 mm/memcontrol.c struct eventfd_ctx *eventfd, const char *args) args 2663 mm/migrate.c int migrate_vma_setup(struct migrate_vma *args) args 2665 mm/migrate.c long nr_pages = (args->end - args->start) >> PAGE_SHIFT; args 2667 mm/migrate.c args->start &= PAGE_MASK; args 2668 mm/migrate.c args->end &= PAGE_MASK; args 2669 mm/migrate.c if (!args->vma || is_vm_hugetlb_page(args->vma) || args 2670 mm/migrate.c (args->vma->vm_flags & VM_SPECIAL) || vma_is_dax(args->vma)) args 2674 mm/migrate.c if (args->start < args->vma->vm_start || args 2675 mm/migrate.c args->start >= args->vma->vm_end) args 2677 mm/migrate.c if (args->end <= args->vma->vm_start || args->end > args->vma->vm_end) args 2679 mm/migrate.c if (!args->src || !args->dst) args 2682 mm/migrate.c memset(args->src, 0, sizeof(*args->src) * nr_pages); args 2683 mm/migrate.c args->cpages = 0; args 2684 mm/migrate.c args->npages = 0; args 2686 mm/migrate.c migrate_vma_collect(args); args 2688 mm/migrate.c if (args->cpages) args 2689 mm/migrate.c migrate_vma_prepare(args); args 2690 mm/migrate.c if (args->cpages) args 2691 mm/migrate.c migrate_vma_unmap(args); args 3748 mm/page_alloc.c va_list args; args 3754 mm/page_alloc.c va_start(args, fmt); args 3756 mm/page_alloc.c vaf.va = &args; args 3760 mm/page_alloc.c va_end(args); args 622 mm/slub.c va_list args; args 624 mm/slub.c va_start(args, fmt); args 626 mm/slub.c vaf.va = &args; args 632 mm/slub.c va_end(args); args 638 mm/slub.c va_list args; args 640 mm/slub.c va_start(args, fmt); args 642 mm/slub.c vaf.va = &args; args 644 mm/slub.c va_end(args); args 699 mm/slub.c va_list args; args 702 mm/slub.c va_start(args, fmt); args 703 mm/slub.c vsnprintf(buf, sizeof(buf), fmt, args); args 704 mm/slub.c va_end(args); args 363 mm/vmpressure.c struct eventfd_ctx *eventfd, const char *args) args 373 mm/vmpressure.c spec_orig = spec = kstrndup(args, MAX_VMPRESSURE_ARGS_LEN, GFP_KERNEL); args 544 net/8021q/vlan.c struct vlan_ioctl_args args; args 547 net/8021q/vlan.c if (copy_from_user(&args, arg, sizeof(struct vlan_ioctl_args))) args 551 net/8021q/vlan.c args.device1[sizeof(args.device1) - 1] = 0; args 552 net/8021q/vlan.c args.u.device2[sizeof(args.u.device2) - 1] = 0; args 556 net/8021q/vlan.c switch (args.cmd) { args 565 net/8021q/vlan.c dev = __dev_get_by_name(net, args.device1); args 570 net/8021q/vlan.c if (args.cmd != ADD_VLAN_CMD && !is_vlan_dev(dev)) args 574 net/8021q/vlan.c switch (args.cmd) { args 580 net/8021q/vlan.c args.u.skb_priority, args 581 net/8021q/vlan.c args.vlan_qos); args 590 net/8021q/vlan.c args.u.skb_priority, args 591 net/8021q/vlan.c args.vlan_qos); args 599 net/8021q/vlan.c args.vlan_qos ? args.u.flag : 0, args 600 net/8021q/vlan.c args.u.flag); args 607 net/8021q/vlan.c if (args.u.name_type < VLAN_NAME_TYPE_HIGHEST) { args 611 net/8021q/vlan.c vn->name_type = args.u.name_type; args 622 net/8021q/vlan.c err = register_vlan_device(dev, args.u.VID); args 635 net/8021q/vlan.c vlan_dev_get_realdev_name(dev, args.u.device2); args 636 net/8021q/vlan.c if (copy_to_user(arg, &args, args 643 net/8021q/vlan.c args.u.VID = vlan_dev_vlan_id(dev); args 644 net/8021q/vlan.c if (copy_to_user(arg, &args, args 136 net/9p/client.c substring_t args[MAX_OPT_ARGS]; args 159 net/9p/client.c token = match_token(p, tokens, args); args 162 net/9p/client.c r = match_int(&args[0], &option); args 178 net/9p/client.c s = match_strdup(&args[0]); args 199 net/9p/client.c s = match_strdup(&args[0]); args 36 net/9p/mod.c va_list args; args 41 net/9p/mod.c va_start(args, fmt); args 44 net/9p/mod.c vaf.va = &args; args 51 net/9p/mod.c va_end(args); args 742 net/9p/trans_fd.c substring_t args[MAX_OPT_ARGS]; args 767 net/9p/trans_fd.c token = match_token(p, tokens, args); args 769 net/9p/trans_fd.c r = match_int(&args[0], &option); args 944 net/9p/trans_fd.c p9_fd_create_tcp(struct p9_client *client, const char *addr, char *args) args 951 net/9p/trans_fd.c err = parse_opts(args, &opts); args 997 net/9p/trans_fd.c p9_fd_create_unix(struct p9_client *client, const char *addr, char *args) args 1037 net/9p/trans_fd.c p9_fd_create(struct p9_client *client, const char *addr, char *args) args 1042 net/9p/trans_fd.c parse_opts(args, &opts); args 177 net/9p/trans_rdma.c substring_t args[MAX_OPT_ARGS]; args 203 net/9p/trans_rdma.c token = match_token(p, tokens, args); args 205 net/9p/trans_rdma.c r = match_int(&args[0], &option); args 626 net/9p/trans_rdma.c rdma_create_trans(struct p9_client *client, const char *addr, char *args) args 638 net/9p/trans_rdma.c err = parse_opts(args, &opts); args 652 net/9p/trans_virtio.c p9_virtio_create(struct p9_client *client, const char *devname, char *args) args 93 net/9p/trans_xen.c static int p9_xen_create(struct p9_client *client, const char *addr, char *args) args 1220 net/atm/lec.c #define pr_debug(format, args...) args 43 net/atm/mpc.c #define dprintk(format, args...) \ args 44 net/atm/mpc.c printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args) args 45 net/atm/mpc.c #define dprintk_cont(format, args...) printk(KERN_CONT format, ##args) args 47 net/atm/mpc.c #define dprintk(format, args...) \ args 49 net/atm/mpc.c printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args);\ args 51 net/atm/mpc.c #define dprintk_cont(format, args...) \ args 52 net/atm/mpc.c do { if (0) printk(KERN_CONT format, ##args); } while (0) args 56 net/atm/mpc.c #define ddprintk(format, args...) \ args 57 net/atm/mpc.c printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args) args 58 net/atm/mpc.c #define ddprintk_cont(format, args...) printk(KERN_CONT format, ##args) args 60 net/atm/mpc.c #define ddprintk(format, args...) \ args 62 net/atm/mpc.c printk(KERN_DEBUG "mpoa:%s: " format, __func__, ##args);\ args 64 net/atm/mpc.c #define ddprintk_cont(format, args...) \ args 65 net/atm/mpc.c do { if (0) printk(KERN_CONT format, ##args); } while (0) args 16 net/atm/mpoa_caches.c #define dprintk(format, args...) \ args 17 net/atm/mpoa_caches.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ args 19 net/atm/mpoa_caches.c #define dprintk(format, args...) \ args 21 net/atm/mpoa_caches.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\ args 26 net/atm/mpoa_caches.c #define ddprintk(format, args...) \ args 27 net/atm/mpoa_caches.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ args 29 net/atm/mpoa_caches.c #define ddprintk(format, args...) \ args 31 net/atm/mpoa_caches.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\ args 26 net/atm/mpoa_proc.c #define dprintk(format, args...) \ args 27 net/atm/mpoa_proc.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ args 29 net/atm/mpoa_proc.c #define dprintk(format, args...) \ args 31 net/atm/mpoa_proc.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\ args 36 net/atm/mpoa_proc.c #define ddprintk(format, args...) \ args 37 net/atm/mpoa_proc.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args) /* debug */ args 39 net/atm/mpoa_proc.c #define ddprintk(format, args...) \ args 41 net/atm/mpoa_proc.c printk(KERN_DEBUG "mpoa:%s: " format, __FILE__, ##args);\ args 210 net/batman-adv/bat_algo.c int skip = cb->args[0]; args 224 net/batman-adv/bat_algo.c cb->args[0] = i; args 2088 net/batman-adv/bat_iv_ogm.c int bucket = cb->args[0]; args 2089 net/batman-adv/bat_iv_ogm.c int idx = cb->args[1]; args 2090 net/batman-adv/bat_iv_ogm.c int sub = cb->args[2]; args 2105 net/batman-adv/bat_iv_ogm.c cb->args[0] = bucket; args 2106 net/batman-adv/bat_iv_ogm.c cb->args[1] = idx; args 2107 net/batman-adv/bat_iv_ogm.c cb->args[2] = sub; args 2300 net/batman-adv/bat_iv_ogm.c int i_hardif_s = cb->args[0]; args 2301 net/batman-adv/bat_iv_ogm.c int idx = cb->args[1]; args 2334 net/batman-adv/bat_iv_ogm.c cb->args[0] = i_hardif; args 2335 net/batman-adv/bat_iv_ogm.c cb->args[1] = idx; args 2712 net/batman-adv/bat_iv_ogm.c int idx_skip = cb->args[0]; args 2733 net/batman-adv/bat_iv_ogm.c cb->args[0] = idx_skip; args 304 net/batman-adv/bat_v.c int i_hardif_s = cb->args[0]; args 305 net/batman-adv/bat_v.c int idx = cb->args[1]; args 336 net/batman-adv/bat_v.c cb->args[0] = i_hardif; args 337 net/batman-adv/bat_v.c cb->args[1] = idx; args 583 net/batman-adv/bat_v.c int bucket = cb->args[0]; args 584 net/batman-adv/bat_v.c int idx = cb->args[1]; args 585 net/batman-adv/bat_v.c int sub = cb->args[2]; args 600 net/batman-adv/bat_v.c cb->args[0] = bucket; args 601 net/batman-adv/bat_v.c cb->args[1] = idx; args 602 net/batman-adv/bat_v.c cb->args[2] = sub; args 1012 net/batman-adv/bat_v.c int idx_skip = cb->args[0]; args 1033 net/batman-adv/bat_v.c cb->args[0] = idx_skip; args 2212 net/batman-adv/bridge_loop_avoidance.c int bucket = cb->args[0]; args 2213 net/batman-adv/bridge_loop_avoidance.c int idx = cb->args[1]; args 2244 net/batman-adv/bridge_loop_avoidance.c cb->args[0] = bucket; args 2245 net/batman-adv/bridge_loop_avoidance.c cb->args[1] = idx; args 2450 net/batman-adv/bridge_loop_avoidance.c int bucket = cb->args[0]; args 2451 net/batman-adv/bridge_loop_avoidance.c int idx = cb->args[1]; args 2482 net/batman-adv/bridge_loop_avoidance.c cb->args[0] = bucket; args 2483 net/batman-adv/bridge_loop_avoidance.c cb->args[1] = idx; args 997 net/batman-adv/distributed-arp-table.c int bucket = cb->args[0]; args 998 net/batman-adv/distributed-arp-table.c int idx = cb->args[1]; args 1031 net/batman-adv/distributed-arp-table.c cb->args[0] = bucket; args 1032 net/batman-adv/distributed-arp-table.c cb->args[1] = idx; args 63 net/batman-adv/log.c va_list args; args 71 net/batman-adv/log.c va_start(args, fmt); args 72 net/batman-adv/log.c vscnprintf(debug_log_buf, sizeof(debug_log_buf), fmt, args); args 73 net/batman-adv/log.c va_end(args); args 227 net/batman-adv/log.c va_list args; args 229 net/batman-adv/log.c va_start(args, fmt); args 232 net/batman-adv/log.c vaf.va = &args; args 241 net/batman-adv/log.c va_end(args); args 2380 net/batman-adv/multicast.c long *bucket = &cb->args[0]; args 2381 net/batman-adv/multicast.c long *idx = &cb->args[1]; args 962 net/batman-adv/netlink.c int skip = cb->args[0]; args 1004 net/batman-adv/netlink.c cb->args[0] = i; args 1260 net/batman-adv/translation-table.c int bucket = cb->args[0]; args 1261 net/batman-adv/translation-table.c int idx = cb->args[1]; args 1300 net/batman-adv/translation-table.c cb->args[0] = bucket; args 1301 net/batman-adv/translation-table.c cb->args[1] = idx; args 2177 net/batman-adv/translation-table.c int bucket = cb->args[0]; args 2178 net/batman-adv/translation-table.c int idx = cb->args[1]; args 2179 net/batman-adv/translation-table.c int sub = cb->args[2]; args 2221 net/batman-adv/translation-table.c cb->args[0] = bucket; args 2222 net/batman-adv/translation-table.c cb->args[1] = idx; args 2223 net/batman-adv/translation-table.c cb->args[2] = sub; args 612 net/bluetooth/hci_sock.c va_list args; args 614 net/bluetooth/hci_sock.c va_start(args, fmt); args 615 net/bluetooth/hci_sock.c len = vsnprintf(NULL, 0, fmt, args); args 616 net/bluetooth/hci_sock.c va_end(args); args 622 net/bluetooth/hci_sock.c va_start(args, fmt); args 623 net/bluetooth/hci_sock.c vsprintf(skb_put(skb, len), fmt, args); args 625 net/bluetooth/hci_sock.c va_end(args); args 141 net/bluetooth/lib.c va_list args; args 143 net/bluetooth/lib.c va_start(args, format); args 146 net/bluetooth/lib.c vaf.va = &args; args 150 net/bluetooth/lib.c va_end(args); args 157 net/bluetooth/lib.c va_list args; args 159 net/bluetooth/lib.c va_start(args, format); args 162 net/bluetooth/lib.c vaf.va = &args; args 166 net/bluetooth/lib.c va_end(args); args 173 net/bluetooth/lib.c va_list args; args 175 net/bluetooth/lib.c va_start(args, format); args 178 net/bluetooth/lib.c vaf.va = &args; args 182 net/bluetooth/lib.c va_end(args); args 189 net/bluetooth/lib.c va_list args; args 191 net/bluetooth/lib.c va_start(args, format); args 194 net/bluetooth/lib.c vaf.va = &args; args 198 net/bluetooth/lib.c va_end(args); args 740 net/bridge/br_fdb.c if (*idx < cb->args[2]) args 113 net/bridge/br_ioctl.c unsigned long args[4]; args 116 net/bridge/br_ioctl.c if (copy_from_user(args, rq->ifr_data, sizeof(args))) args 119 net/bridge/br_ioctl.c switch (args[0]) { args 122 net/bridge/br_ioctl.c return add_del_if(br, args[1], args[0] == BRCTL_ADD_IF); args 151 net/bridge/br_ioctl.c if (copy_to_user((void __user *)args[1], &b, sizeof(b))) args 161 net/bridge/br_ioctl.c num = args[2]; args 174 net/bridge/br_ioctl.c if (copy_to_user((void __user *)args[1], indices, num*sizeof(int))) args 184 net/bridge/br_ioctl.c ret = br_set_forward_delay(br, args[1]); args 191 net/bridge/br_ioctl.c ret = br_set_hello_time(br, args[1]); args 198 net/bridge/br_ioctl.c ret = br_set_max_age(br, args[1]); args 205 net/bridge/br_ioctl.c ret = br_set_ageing_time(br, args[1]); args 214 net/bridge/br_ioctl.c if ((pt = br_get_port(br, args[2])) == NULL) { args 235 net/bridge/br_ioctl.c if (copy_to_user((void __user *)args[1], &p, sizeof(p))) args 245 net/bridge/br_ioctl.c br_stp_set_enabled(br, args[1]); args 253 net/bridge/br_ioctl.c br_stp_set_bridge_priority(br, args[1]); args 263 net/bridge/br_ioctl.c if ((p = br_get_port(br, args[1])) == NULL) args 266 net/bridge/br_ioctl.c ret = br_stp_set_port_priority(p, args[2]); args 277 net/bridge/br_ioctl.c if ((p = br_get_port(br, args[1])) == NULL) args 280 net/bridge/br_ioctl.c ret = br_stp_set_path_cost(p, args[2]); args 286 net/bridge/br_ioctl.c return get_fdb_entries(br, (void __user *)args[1], args 287 net/bridge/br_ioctl.c args[2], args[3]); args 302 net/bridge/br_ioctl.c unsigned long args[3]; args 304 net/bridge/br_ioctl.c if (copy_from_user(args, uarg, sizeof(args))) args 307 net/bridge/br_ioctl.c switch (args[0]) { args 316 net/bridge/br_ioctl.c if (args[2] >= 2048) args 318 net/bridge/br_ioctl.c indices = kcalloc(args[2], sizeof(int), GFP_KERNEL); args 322 net/bridge/br_ioctl.c args[2] = get_bridge_ifindices(net, indices, args[2]); args 324 net/bridge/br_ioctl.c ret = copy_to_user((void __user *)args[1], indices, args[2]*sizeof(int)) args 325 net/bridge/br_ioctl.c ? -EFAULT : args[2]; args 339 net/bridge/br_ioctl.c if (copy_from_user(buf, (void __user *)args[1], IFNAMSIZ)) args 344 net/bridge/br_ioctl.c if (args[0] == BRCTL_ADD_BRIDGE) args 130 net/bridge/br_mdb.c int idx = 0, s_idx = cb->args[1], err = 0; args 180 net/bridge/br_mdb.c cb->args[1] = idx; args 222 net/bridge/br_mdb.c s_idx = cb->args[0]; args 249 net/bridge/br_mdb.c cb->args[1] = 0; args 260 net/bridge/br_mdb.c cb->args[0] = idx; args 452 net/bridge/br_private.h #define br_printk(level, br, format, args...) \ args 453 net/bridge/br_private.h printk(level "%s: " format, (br)->dev->name, ##args) args 455 net/bridge/br_private.h #define br_err(__br, format, args...) \ args 456 net/bridge/br_private.h br_printk(KERN_ERR, __br, format, ##args) args 457 net/bridge/br_private.h #define br_warn(__br, format, args...) \ args 458 net/bridge/br_private.h br_printk(KERN_WARNING, __br, format, ##args) args 459 net/bridge/br_private.h #define br_notice(__br, format, args...) \ args 460 net/bridge/br_private.h br_printk(KERN_NOTICE, __br, format, ##args) args 461 net/bridge/br_private.h #define br_info(__br, format, args...) \ args 462 net/bridge/br_private.h br_printk(KERN_INFO, __br, format, ##args) args 464 net/bridge/br_private.h #define br_debug(br, format, args...) \ args 465 net/bridge/br_private.h pr_debug("%s: " format, (br)->dev->name, ##args) args 692 net/can/gw.c int s_idx = cb->args[0]; args 708 net/can/gw.c cb->args[0] = idx; args 29 net/ceph/crush/mapper.c #define dprintk(args...) /* printf(args) */ args 161 net/ceph/osdmap.c struct crush_choose_arg *arg = &arg_map->args[i]; args 168 net/ceph/osdmap.c kfree(arg_map->args); args 278 net/ceph/osdmap.c arg_map->args = kcalloc(arg_map->size, sizeof(*arg_map->args), args 280 net/ceph/osdmap.c if (!arg_map->args) { args 294 net/ceph/osdmap.c arg = &arg_map->args[bucket_index]; args 2295 net/ceph/osdmap.c arg_map ? arg_map->args : NULL); args 719 net/compat.c COMPAT_SYSCALL_DEFINE2(socketcall, int, call, u32 __user *, args) args 732 net/compat.c if (copy_from_user(a, args, len)) args 10001 net/core/dev.c va_list args; args 10003 net/core/dev.c va_start(args, format); args 10006 net/core/dev.c vaf.va = &args; args 10010 net/core/dev.c va_end(args); args 10018 net/core/dev.c va_list args; \ args 10020 net/core/dev.c va_start(args, fmt); \ args 10023 net/core/dev.c vaf.va = &args; \ args 10027 net/core/dev.c va_end(args); \ args 654 net/core/devlink.c int start = cb->args[0]; args 676 net/core/devlink.c cb->args[0] = idx; args 708 net/core/devlink.c int start = cb->args[0]; args 738 net/core/devlink.c cb->args[0] = idx; args 896 net/core/devlink.c int start = cb->args[0]; args 926 net/core/devlink.c cb->args[0] = idx; args 1036 net/core/devlink.c int start = cb->args[0]; args 1061 net/core/devlink.c cb->args[0] = idx; args 1234 net/core/devlink.c int start = cb->args[0]; args 1259 net/core/devlink.c cb->args[0] = idx; args 1461 net/core/devlink.c int start = cb->args[0]; args 1488 net/core/devlink.c cb->args[0] = idx; args 3156 net/core/devlink.c int start = cb->args[0]; args 3186 net/core/devlink.c cb->args[0] = idx; args 3419 net/core/devlink.c int start = cb->args[0]; args 3454 net/core/devlink.c cb->args[0] = idx; args 3685 net/core/devlink.c int start = cb->args[0]; args 3715 net/core/devlink.c cb->args[0] = idx; args 3838 net/core/devlink.c start_offset = *((u64 *)&cb->args[0]); args 3932 net/core/devlink.c *((u64 *)&cb->args[0]) = ret_offset; args 4085 net/core/devlink.c int start = cb->args[0]; args 4115 net/core/devlink.c cb->args[0] = idx; args 4603 net/core/devlink.c int index = cb->args[0]; args 4619 net/core/devlink.c cb->args[0] = index; args 5030 net/core/devlink.c int start = cb->args[0]; args 5062 net/core/devlink.c cb->args[0] = idx; args 5166 net/core/devlink.c u64 start = cb->args[0]; args 5182 net/core/devlink.c cb->args[1] = reporter->dump_ts; args 5184 net/core/devlink.c if (!reporter->dump_fmsg || cb->args[1] != reporter->dump_ts) { args 5475 net/core/devlink.c int start = cb->args[0]; args 5505 net/core/devlink.c cb->args[0] = idx; args 5681 net/core/devlink.c int start = cb->args[0]; args 5712 net/core/devlink.c cb->args[0] = idx; args 1047 net/core/fib_rules.c if (idx < cb->args[1]) args 1059 net/core/fib_rules.c cb->args[1] = idx; args 1119 net/core/fib_rules.c if (idx < cb->args[0] || !try_module_get(ops->owner)) args 1125 net/core/fib_rules.c cb->args[1] = 0; args 1130 net/core/fib_rules.c cb->args[0] = idx; args 2366 net/core/neighbour.c int tbl_skip = cb->args[0]; args 2367 net/core/neighbour.c int neigh_skip = cb->args[1]; args 2416 net/core/neighbour.c cb->args[0] = tidx; args 2417 net/core/neighbour.c cb->args[1] = nidx; args 2551 net/core/neighbour.c int rc, h, s_h = cb->args[1]; args 2552 net/core/neighbour.c int idx, s_idx = idx = cb->args[2]; args 2587 net/core/neighbour.c cb->args[1] = h; args 2588 net/core/neighbour.c cb->args[2] = idx; args 2598 net/core/neighbour.c int rc, h, s_h = cb->args[3]; args 2599 net/core/neighbour.c int idx, s_idx = idx = cb->args[4]; args 2631 net/core/neighbour.c cb->args[3] = h; args 2632 net/core/neighbour.c cb->args[4] = idx; args 2720 net/core/neighbour.c s_t = cb->args[0]; args 2730 net/core/neighbour.c memset(&cb->args[1], 0, sizeof(cb->args) - args 2731 net/core/neighbour.c sizeof(cb->args[0])); args 2740 net/core/neighbour.c cb->args[0] = t; args 801 net/core/net_namespace.c static int rtnl_net_fill(struct sk_buff *skb, struct net_fill_args *args) args 806 net/core/net_namespace.c nlh = nlmsg_put(skb, args->portid, args->seq, args->cmd, sizeof(*rth), args 807 net/core/net_namespace.c args->flags); args 814 net/core/net_namespace.c if (nla_put_s32(skb, NETNSA_NSID, args->nsid)) args 817 net/core/net_namespace.c if (args->add_ref && args 818 net/core/net_namespace.c nla_put_s32(skb, NETNSA_CURRENT_NSID, args->ref_nsid)) args 1027 net/core/net_namespace.c .s_idx = cb->args[0], args 1051 net/core/net_namespace.c cb->args[0] = net_cb.idx; args 1945 net/core/rtnetlink.c s_h = cb->args[0]; args 1946 net/core/rtnetlink.c s_idx = cb->args[1]; args 2019 net/core/rtnetlink.c cb->args[1] = idx; args 2020 net/core/rtnetlink.c cb->args[0] = h; args 3476 net/core/rtnetlink.c memset(&cb->args[0], 0, sizeof(cb->args)); args 3886 net/core/rtnetlink.c if (*idx < cb->args[2]) args 4055 net/core/rtnetlink.c s_h = cb->args[0]; args 4056 net/core/rtnetlink.c s_idx = cb->args[1]; args 4108 net/core/rtnetlink.c cb->args[2] = 0; args 4116 net/core/rtnetlink.c cb->args[0] = h; args 4117 net/core/rtnetlink.c cb->args[1] = idx; args 4118 net/core/rtnetlink.c cb->args[2] = fidx; args 4465 net/core/rtnetlink.c if (idx >= cb->args[0]) { args 4480 net/core/rtnetlink.c if (idx >= cb->args[0]) { args 4498 net/core/rtnetlink.c cb->args[0] = idx; args 5101 net/core/rtnetlink.c s_h = cb->args[0]; args 5102 net/core/rtnetlink.c s_idx = cb->args[1]; args 5103 net/core/rtnetlink.c s_idxattr = cb->args[2]; args 5104 net/core/rtnetlink.c s_prividx = cb->args[3]; args 5145 net/core/rtnetlink.c cb->args[3] = s_prividx; args 5146 net/core/rtnetlink.c cb->args[2] = s_idxattr; args 5147 net/core/rtnetlink.c cb->args[1] = idx; args 5148 net/core/rtnetlink.c cb->args[0] = h; args 82 net/dccp/ccid.c va_list args; args 84 net/dccp/ccid.c va_start(args, fmt); args 85 net/dccp/ccid.c vsnprintf(slab_name_fmt, CCID_SLAB_NAME_LENGTH, fmt, args); args 86 net/dccp/ccid.c va_end(args); args 32 net/dccp/dccp.h #define DCCP_PRINTK(enable, fmt, args...) do { if (enable) \ args 33 net/dccp/dccp.h printk(fmt, ##args); \ args 752 net/decnet/dn_dev.c skip_ndevs = cb->args[0]; args 753 net/decnet/dn_dev.c skip_naddr = cb->args[1]; args 784 net/decnet/dn_dev.c cb->args[0] = idx; args 785 net/decnet/dn_dev.c cb->args[1] = dn_idx; args 1738 net/decnet/dn_route.c s_h = cb->args[0]; args 1739 net/decnet/dn_route.c s_idx = idx = cb->args[1]; args 1765 net/decnet/dn_route.c cb->args[0] = h; args 1766 net/decnet/dn_route.c cb->args[1] = idx; args 417 net/decnet/dn_table.c s_i = cb->args[4]; args 430 net/decnet/dn_table.c cb->args[4] = i; args 434 net/decnet/dn_table.c cb->args[4] = i; args 445 net/decnet/dn_table.c s_h = cb->args[3]; args 450 net/decnet/dn_table.c memset(&cb->args[4], 0, sizeof(cb->args) - 4*sizeof(cb->args[0])); args 454 net/decnet/dn_table.c cb->args[3] = h; args 458 net/decnet/dn_table.c cb->args[3] = h; args 469 net/decnet/dn_table.c s_m = cb->args[2]; args 475 net/decnet/dn_table.c memset(&cb->args[3], 0, sizeof(cb->args) - 3*sizeof(cb->args[0])); args 478 net/decnet/dn_table.c cb->args[2] = m; args 484 net/decnet/dn_table.c cb->args[2] = m; args 504 net/decnet/dn_table.c s_h = cb->args[0]; args 505 net/decnet/dn_table.c s_e = cb->args[1]; args 513 net/decnet/dn_table.c memset(&cb->args[2], 0, sizeof(cb->args) - args 514 net/decnet/dn_table.c 2 * sizeof(cb->args[0])); args 523 net/decnet/dn_table.c cb->args[1] = e; args 524 net/decnet/dn_table.c cb->args[0] = h; args 200 net/dsa/slave.c if (dump->idx < dump->cb->args[2]) args 443 net/ieee802154/nl-mac.c int s_idx = cb->args[0]; args 459 net/ieee802154/nl-mac.c cb->args[0] = idx; args 776 net/ieee802154/nl-mac.c int first_dev = cb->args[0]; args 788 net/ieee802154/nl-mac.c data.s_idx = cb->args[1]; args 789 net/ieee802154/nl-mac.c data.s_idx2 = cb->args[2]; args 805 net/ieee802154/nl-mac.c cb->args[0] = idx; args 148 net/ieee802154/nl-phy.c .s_idx = cb->args[0], args 156 net/ieee802154/nl-phy.c cb->args[0] = data.idx; args 243 net/ieee802154/nl802154.c if (!cb->args[0]) { args 260 net/ieee802154/nl802154.c cb->args[0] = (*rdev)->wpan_phy_idx + 1; args 261 net/ieee802154/nl802154.c cb->args[1] = (*wpan_dev)->identifier; args 264 net/ieee802154/nl802154.c struct wpan_phy *wpan_phy = wpan_phy_idx_to_wpan_phy(cb->args[0] - 1); args 275 net/ieee802154/nl802154.c if (tmp->identifier == cb->args[1]) { args 598 net/ieee802154/nl802154.c struct nl802154_dump_wpan_phy_state *state = (void *)cb->args[0]; args 615 net/ieee802154/nl802154.c cb->args[0] = (long)state; args 653 net/ieee802154/nl802154.c kfree((void *)cb->args[0]); args 856 net/ieee802154/nl802154.c int wp_start = cb->args[0]; args 857 net/ieee802154/nl802154.c int if_start = cb->args[1]; args 889 net/ieee802154/nl802154.c cb->args[0] = wp_idx; args 890 net/ieee802154/nl802154.c cb->args[1] = if_idx; args 1518 net/ieee802154/nl802154.c if (cb->args[2]) args 1533 net/ieee802154/nl802154.c cb->args[2] = 1; args 1684 net/ieee802154/nl802154.c if (cb->args[2]) args 1699 net/ieee802154/nl802154.c cb->args[2] = 1; args 1853 net/ieee802154/nl802154.c if (cb->args[2]) args 1875 net/ieee802154/nl802154.c cb->args[2] = 1; args 2014 net/ieee802154/nl802154.c if (cb->args[2]) args 2029 net/ieee802154/nl802154.c cb->args[2] = 1; args 1650 net/ipv4/devinet.c struct inet_fill_args *args) args 1656 net/ipv4/devinet.c nlh = nlmsg_put(skb, args->portid, args->seq, args->event, sizeof(*ifm), args 1657 net/ipv4/devinet.c args->flags); args 1668 net/ipv4/devinet.c if (args->netnsid >= 0 && args 1669 net/ipv4/devinet.c nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) args 1796 net/ipv4/devinet.c cb->args[2] = ip_idx; args 1821 net/ipv4/devinet.c s_h = cb->args[0]; args 1822 net/ipv4/devinet.c s_idx = idx = cb->args[1]; args 1823 net/ipv4/devinet.c s_ip_idx = cb->args[2]; args 1876 net/ipv4/devinet.c cb->args[0] = h; args 1877 net/ipv4/devinet.c cb->args[1] = idx; args 2245 net/ipv4/devinet.c s_h = cb->args[0]; args 2246 net/ipv4/devinet.c s_idx = idx = cb->args[1]; args 2300 net/ipv4/devinet.c cb->args[0] = h; args 2301 net/ipv4/devinet.c cb->args[1] = idx; args 1016 net/ipv4/fib_frontend.c s_h = cb->args[0]; args 1017 net/ipv4/fib_frontend.c s_e = cb->args[1]; args 1028 net/ipv4/fib_frontend.c memset(&cb->args[2], 0, sizeof(cb->args) - args 1029 net/ipv4/fib_frontend.c 2 * sizeof(cb->args[0])); args 1047 net/ipv4/fib_frontend.c cb->args[1] = e; args 1048 net/ipv4/fib_frontend.c cb->args[0] = h; args 2100 net/ipv4/fib_trie.c s_i = cb->args[4]; args 2101 net/ipv4/fib_trie.c s_fa = cb->args[5]; args 2157 net/ipv4/fib_trie.c cb->args[4] = i; args 2161 net/ipv4/fib_trie.c cb->args[4] = i; args 2162 net/ipv4/fib_trie.c cb->args[5] = i_fa; args 2175 net/ipv4/fib_trie.c int count = cb->args[2]; args 2176 net/ipv4/fib_trie.c t_key key = cb->args[3]; args 2189 net/ipv4/fib_trie.c cb->args[3] = key; args 2190 net/ipv4/fib_trie.c cb->args[2] = count; args 2197 net/ipv4/fib_trie.c memset(&cb->args[4], 0, args 2198 net/ipv4/fib_trie.c sizeof(cb->args) - 4*sizeof(cb->args[0])); args 2205 net/ipv4/fib_trie.c cb->args[3] = key; args 2206 net/ipv4/fib_trie.c cb->args[2] = count; args 900 net/ipv4/fou.c if (idx++ < cb->args[0]) args 910 net/ipv4/fou.c cb->args[0] = idx; args 904 net/ipv4/inet_diag.c s_i = cb->args[1]; args 905 net/ipv4/inet_diag.c s_num = num = cb->args[2]; args 907 net/ipv4/inet_diag.c if (cb->args[0] == 0) { args 951 net/ipv4/inet_diag.c cb->args[0] = 1; args 1036 net/ipv4/inet_diag.c cb->args[1] = i; args 1037 net/ipv4/inet_diag.c cb->args[2] = num; args 2846 net/ipv4/ipmr.c s_t = cb->args[0]; args 2847 net/ipv4/ipmr.c s_e = cb->args[1]; args 2905 net/ipv4/ipmr.c cb->args[1] = e; args 2906 net/ipv4/ipmr.c cb->args[0] = t; args 296 net/ipv4/ipmr_base.c unsigned int e = 0, s_e = cb->args[1]; args 339 net/ipv4/ipmr_base.c cb->args[1] = e; args 353 net/ipv4/ipmr_base.c unsigned int t = 0, s_t = cb->args[0]; args 375 net/ipv4/ipmr_base.c cb->args[1] = 0; args 381 net/ipv4/ipmr_base.c cb->args[0] = t; args 1730 net/ipv4/nexthop.c s_idx = cb->args[0]; args 1758 net/ipv4/nexthop.c cb->args[0] = idx; args 159 net/ipv4/raw_diag.c s_slot = cb->args[0]; args 160 net/ipv4/raw_diag.c num = s_num = cb->args[1]; args 191 net/ipv4/raw_diag.c cb->args[0] = slot; args 192 net/ipv4/raw_diag.c cb->args[1] = num; args 744 net/ipv4/tcp_metrics.c unsigned int row, s_row = cb->args[0]; args 745 net/ipv4/tcp_metrics.c int s_col = cb->args[1], col = s_col; args 767 net/ipv4/tcp_metrics.c cb->args[0] = row; args 768 net/ipv4/tcp_metrics.c cb->args[1] = col; args 103 net/ipv4/udp_diag.c s_slot = cb->args[0]; args 104 net/ipv4/udp_diag.c num = s_num = cb->args[1]; args 145 net/ipv4/udp_diag.c cb->args[0] = slot; args 146 net/ipv4/udp_diag.c cb->args[1] = num; args 726 net/ipv6/addrconf.c s_h = cb->args[0]; args 727 net/ipv6/addrconf.c s_idx = idx = cb->args[1]; args 781 net/ipv6/addrconf.c cb->args[0] = h; args 782 net/ipv6/addrconf.c cb->args[1] = idx; args 4906 net/ipv6/addrconf.c struct inet6_fill_args *args) args 4911 net/ipv6/addrconf.c nlh = nlmsg_put(skb, args->portid, args->seq, args->event, args 4912 net/ipv6/addrconf.c sizeof(struct ifaddrmsg), args->flags); args 4919 net/ipv6/addrconf.c if (args->netnsid >= 0 && args 4920 net/ipv6/addrconf.c nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) args 4972 net/ipv6/addrconf.c struct inet6_fill_args *args) args 4981 net/ipv6/addrconf.c nlh = nlmsg_put(skb, args->portid, args->seq, args->event, args 4982 net/ipv6/addrconf.c sizeof(struct ifaddrmsg), args->flags); args 4986 net/ipv6/addrconf.c if (args->netnsid >= 0 && args 4987 net/ipv6/addrconf.c nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) args 5003 net/ipv6/addrconf.c struct inet6_fill_args *args) args 5013 net/ipv6/addrconf.c nlh = nlmsg_put(skb, args->portid, args->seq, args->event, args 5014 net/ipv6/addrconf.c sizeof(struct ifaddrmsg), args->flags); args 5018 net/ipv6/addrconf.c if (args->netnsid >= 0 && args 5019 net/ipv6/addrconf.c nla_put_s32(skb, IFA_TARGET_NETNSID, args->netnsid)) args 5092 net/ipv6/addrconf.c cb->args[2] = ip_idx; args 5172 net/ipv6/addrconf.c s_h = cb->args[0]; args 5173 net/ipv6/addrconf.c s_idx = idx = cb->args[1]; args 5174 net/ipv6/addrconf.c s_ip_idx = cb->args[2]; args 5223 net/ipv6/addrconf.c cb->args[0] = h; args 5224 net/ipv6/addrconf.c cb->args[1] = idx; args 5865 net/ipv6/addrconf.c s_h = cb->args[0]; args 5866 net/ipv6/addrconf.c s_idx = cb->args[1]; args 5889 net/ipv6/addrconf.c cb->args[1] = idx; args 5890 net/ipv6/addrconf.c cb->args[0] = h; args 491 net/ipv6/addrlabel.c int idx = 0, s_idx = cb->args[0]; args 515 net/ipv6/addrlabel.c cb->args[0] = idx; args 518 net/ipv6/ila/ila_xlat.c cb->args[0] = (long)iter; args 525 net/ipv6/ila/ila_xlat.c struct ila_dump_iter *iter = (struct ila_dump_iter *)cb->args[0]; args 536 net/ipv6/ila/ila_xlat.c struct ila_dump_iter *iter = (struct ila_dump_iter *)cb->args[0]; args 418 net/ipv6/ip6_fib.c fib6_rt_dump(rt, w->args); args 446 net/ipv6/ip6_fib.c w->args = &arg; args 467 net/ipv6/ip6_fib.c res = rt6_dump_route(rt, w->args, w->skip_in_node); args 498 net/ipv6/ip6_fib.c struct fib6_walker *w = (void *)cb->args[2]; args 501 net/ipv6/ip6_fib.c if (cb->args[4]) { args 502 net/ipv6/ip6_fib.c cb->args[4] = 0; args 505 net/ipv6/ip6_fib.c cb->args[2] = 0; args 508 net/ipv6/ip6_fib.c cb->done = (void *)cb->args[3]; args 509 net/ipv6/ip6_fib.c cb->args[1] = 3; args 525 net/ipv6/ip6_fib.c w = (void *)cb->args[2]; args 528 net/ipv6/ip6_fib.c if (cb->args[4] == 0) { args 537 net/ipv6/ip6_fib.c cb->args[4] = 1; args 538 net/ipv6/ip6_fib.c cb->args[5] = w->root->fn_sernum; args 541 net/ipv6/ip6_fib.c if (cb->args[5] != w->root->fn_sernum) { args 543 net/ipv6/ip6_fib.c cb->args[5] = w->root->fn_sernum; args 556 net/ipv6/ip6_fib.c cb->args[4] = 0; args 589 net/ipv6/ip6_fib.c w = (void *)cb->args[2]; args 595 net/ipv6/ip6_fib.c cb->args[3] = (long)cb->done; args 605 net/ipv6/ip6_fib.c cb->args[2] = (long)w; args 611 net/ipv6/ip6_fib.c w->args = &arg; args 623 net/ipv6/ip6_fib.c if (!cb->args[0]) { args 626 net/ipv6/ip6_fib.c cb->args[0] = 1; args 631 net/ipv6/ip6_fib.c s_h = cb->args[0]; args 632 net/ipv6/ip6_fib.c s_e = cb->args[1]; args 650 net/ipv6/ip6_fib.c cb->args[1] = e; args 651 net/ipv6/ip6_fib.c cb->args[0] = h; args 1477 net/ipv6/ip6_fib.c struct lookup_args *args) args 1482 net/ipv6/ip6_fib.c if (unlikely(args->offset == 0)) args 1494 net/ipv6/ip6_fib.c dir = addr_bit_set(args->addr, fn->fn_bit); args 1516 net/ipv6/ip6_fib.c key = (struct rt6key *) ((u8 *)leaf + args->offset); args 1518 net/ipv6/ip6_fib.c if (ipv6_prefix_equal(&key->addr, args->addr, key->plen)) { args 1523 net/ipv6/ip6_fib.c args + 1); args 1550 net/ipv6/ip6_fib.c struct lookup_args args[] = { args 1566 net/ipv6/ip6_fib.c fn = fib6_node_lookup_1(root, daddr ? args : args + 1); args 2407 net/ipv6/ip6_fib.c struct ipv6_route_iter *iter = w->args; args 2432 net/ipv6/ip6_fib.c iter->w.args = iter; args 270 net/ipv6/seg6.c iter = (struct rhashtable_iter *)cb->args[0]; args 277 net/ipv6/seg6.c cb->args[0] = (long)iter; args 287 net/ipv6/seg6.c struct rhashtable_iter *iter = (struct rhashtable_iter *)cb->args[0]; args 298 net/ipv6/seg6.c struct rhashtable_iter *iter = (struct rhashtable_iter *)cb->args[0]; args 482 net/l2tp/l2tp_netlink.c int ti = cb->args[0]; args 503 net/l2tp/l2tp_netlink.c cb->args[0] = ti; args 823 net/l2tp/l2tp_netlink.c int ti = cb->args[0]; args 824 net/l2tp/l2tp_netlink.c int si = cb->args[1]; args 855 net/l2tp/l2tp_netlink.c cb->args[0] = ti; args 856 net/l2tp/l2tp_netlink.c cb->args[1] = si; args 48 net/llc/af_llc.c #define dprintk(args...) printk(KERN_DEBUG args) args 50 net/llc/af_llc.c #define dprintk(args...) args 45 net/llc/llc_c_ev.c #define dprintk(args...) printk(KERN_DEBUG args) args 47 net/llc/llc_c_ev.c #define dprintk(args...) args 27 net/llc/llc_conn.c #define dprintk(args...) printk(KERN_DEBUG args) args 29 net/llc/llc_conn.c #define dprintk(args...) args 23 net/llc/llc_input.c #define dprintk(args...) printk(KERN_DEBUG args) args 25 net/llc/llc_input.c #define dprintk(args...) args 23 net/mac80211/debugfs.c va_list args; args 27 net/mac80211/debugfs.c va_start(args, fmt); args 28 net/mac80211/debugfs.c res = vscnprintf(buf, sizeof(buf), fmt, args); args 29 net/mac80211/debugfs.c va_end(args); args 20 net/mac80211/trace.c va_list args; args 22 net/mac80211/trace.c va_start(args, fmt); args 23 net/mac80211/trace.c vaf.va = &args; args 27 net/mac80211/trace.c va_end(args); args 35 net/mac80211/trace.c va_list args; args 37 net/mac80211/trace.c va_start(args, fmt); args 38 net/mac80211/trace.c vaf.va = &args; args 43 net/mac80211/trace.c va_end(args); args 51 net/mac80211/trace.c va_list args; args 53 net/mac80211/trace.c va_start(args, fmt); args 54 net/mac80211/trace.c vaf.va = &args; args 58 net/mac80211/trace.c va_end(args); args 66 net/mac80211/trace.c va_list args; args 68 net/mac80211/trace.c va_start(args, fmt); args 69 net/mac80211/trace.c vaf.va = &args; args 74 net/mac80211/trace.c va_end(args); args 1325 net/mpls/af_mpls.c s_h = cb->args[0]; args 1326 net/mpls/af_mpls.c s_idx = idx = cb->args[1]; args 1355 net/mpls/af_mpls.c cb->args[0] = h; args 1356 net/mpls/af_mpls.c cb->args[1] = idx; args 2183 net/mpls/af_mpls.c index = cb->args[0]; args 2209 net/mpls/af_mpls.c cb->args[0] = index; args 233 net/ncsi/ncsi-netlink.c package_id = cb->args[0]; args 263 net/ncsi/ncsi-netlink.c cb->args[0] = package_id + 1; args 209 net/netfilter/ipset/ip_set_bitmap_gen.h u32 id, first = cb->args[IPSET_CB_ARG0]; args 217 net/netfilter/ipset/ip_set_bitmap_gen.h for (; cb->args[IPSET_CB_ARG0] < map->elements; args 218 net/netfilter/ipset/ip_set_bitmap_gen.h cb->args[IPSET_CB_ARG0]++) { args 220 net/netfilter/ipset/ip_set_bitmap_gen.h id = cb->args[IPSET_CB_ARG0]; args 248 net/netfilter/ipset/ip_set_bitmap_gen.h cb->args[IPSET_CB_ARG0] = 0; args 255 net/netfilter/ipset/ip_set_bitmap_gen.h cb->args[IPSET_CB_ARG0] = 0; args 1275 net/netfilter/ipset/ip_set_core.c if (cb->args[IPSET_CB_ARG0]) { args 1277 net/netfilter/ipset/ip_set_core.c (struct ip_set_net *)cb->args[IPSET_CB_NET]; args 1278 net/netfilter/ipset/ip_set_core.c ip_set_id_t index = (ip_set_id_t)cb->args[IPSET_CB_INDEX]; args 1327 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_PROTO] = nla_get_u8(cda[IPSET_ATTR_PROTOCOL]); args 1339 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_INDEX] = index; args 1349 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_NET] = (unsigned long)inst; args 1350 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_DUMP] = dump_type; args 1374 net/netfilter/ipset/ip_set_core.c if (!cb->args[IPSET_CB_DUMP]) args 1377 net/netfilter/ipset/ip_set_core.c if (cb->args[IPSET_CB_INDEX] >= inst->ip_set_max) args 1380 net/netfilter/ipset/ip_set_core.c dump_type = DUMP_TYPE(cb->args[IPSET_CB_DUMP]); args 1381 net/netfilter/ipset/ip_set_core.c dump_flags = DUMP_FLAGS(cb->args[IPSET_CB_DUMP]); args 1382 net/netfilter/ipset/ip_set_core.c max = dump_type == DUMP_ONE ? cb->args[IPSET_CB_INDEX] + 1 args 1386 net/netfilter/ipset/ip_set_core.c dump_type, dump_flags, cb->args[IPSET_CB_INDEX]); args 1387 net/netfilter/ipset/ip_set_core.c for (; cb->args[IPSET_CB_INDEX] < max; cb->args[IPSET_CB_INDEX]++) { args 1388 net/netfilter/ipset/ip_set_core.c index = (ip_set_id_t)cb->args[IPSET_CB_INDEX]; args 1415 net/netfilter/ipset/ip_set_core.c if (!cb->args[IPSET_CB_ARG0]) { args 1429 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_PROTO]) || args 1434 net/netfilter/ipset/ip_set_core.c switch (cb->args[IPSET_CB_ARG0]) { args 1444 net/netfilter/ipset/ip_set_core.c if (cb->args[IPSET_CB_PROTO] > IPSET_PROTOCOL_MIN && args 1457 net/netfilter/ipset/ip_set_core.c if (!cb->args[IPSET_CB_ARG0]) args 1466 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_DUMP] = dump_type | (dump_flags << 16); args 1467 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_INDEX] = 0; args 1478 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_INDEX] = IPSET_INVALID_ID; args 1480 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_INDEX]++; args 1483 net/netfilter/ipset/ip_set_core.c if (ret || !cb->args[IPSET_CB_ARG0]) { args 1489 net/netfilter/ipset/ip_set_core.c cb->args[IPSET_CB_ARG0] = 0; args 1332 net/netfilter/ipset/ip_set_hash_gen.h cb->args[IPSET_CB_PRIVATE] = (unsigned long)t; args 1334 net/netfilter/ipset/ip_set_hash_gen.h } else if (cb->args[IPSET_CB_PRIVATE]) { args 1335 net/netfilter/ipset/ip_set_hash_gen.h t = (struct htable *)cb->args[IPSET_CB_PRIVATE]; args 1341 net/netfilter/ipset/ip_set_hash_gen.h cb->args[IPSET_CB_PRIVATE] = 0; args 1354 net/netfilter/ipset/ip_set_hash_gen.h u32 first = cb->args[IPSET_CB_ARG0]; args 1364 net/netfilter/ipset/ip_set_hash_gen.h t = (const struct htable *)cb->args[IPSET_CB_PRIVATE]; args 1367 net/netfilter/ipset/ip_set_hash_gen.h for (; cb->args[IPSET_CB_ARG0] < jhash_size(t->htable_bits); args 1368 net/netfilter/ipset/ip_set_hash_gen.h cb->args[IPSET_CB_ARG0]++) { args 1371 net/netfilter/ipset/ip_set_hash_gen.h n = rcu_dereference(hbucket(t, cb->args[IPSET_CB_ARG0])); args 1373 net/netfilter/ipset/ip_set_hash_gen.h cb->args[IPSET_CB_ARG0], t, n); args 1383 net/netfilter/ipset/ip_set_hash_gen.h cb->args[IPSET_CB_ARG0], n, i, e); args 1386 net/netfilter/ipset/ip_set_hash_gen.h if (cb->args[IPSET_CB_ARG0] == first) { args 1402 net/netfilter/ipset/ip_set_hash_gen.h cb->args[IPSET_CB_ARG0] = 0; args 1408 net/netfilter/ipset/ip_set_hash_gen.h if (unlikely(first == cb->args[IPSET_CB_ARG0])) { args 1411 net/netfilter/ipset/ip_set_hash_gen.h cb->args[IPSET_CB_ARG0] = 0; args 488 net/netfilter/ipset/ip_set_list_set.c u32 i = 0, first = cb->args[IPSET_CB_ARG0]; args 519 net/netfilter/ipset/ip_set_list_set.c cb->args[IPSET_CB_ARG0] = 0; args 526 net/netfilter/ipset/ip_set_list_set.c cb->args[IPSET_CB_ARG0] = 0; args 529 net/netfilter/ipset/ip_set_list_set.c cb->args[IPSET_CB_ARG0] = i; args 3107 net/netfilter/ipvs/ip_vs_ctl.c int start = cb->args[0]; args 3137 net/netfilter/ipvs/ip_vs_ctl.c cb->args[0] = idx; args 3318 net/netfilter/ipvs/ip_vs_ctl.c int start = cb->args[0]; args 3347 net/netfilter/ipvs/ip_vs_ctl.c cb->args[0] = idx; args 3485 net/netfilter/ipvs/ip_vs_ctl.c if ((ipvs->sync_state & IP_VS_STATE_MASTER) && !cb->args[0]) { args 3490 net/netfilter/ipvs/ip_vs_ctl.c cb->args[0] = 1; args 3493 net/netfilter/ipvs/ip_vs_ctl.c if ((ipvs->sync_state & IP_VS_STATE_BACKUP) && !cb->args[1]) { args 3498 net/netfilter/ipvs/ip_vs_ctl.c cb->args[1] = 1; args 33 net/netfilter/nf_conntrack_h323_asn1.c #define PRINT(fmt, args...) args 376 net/netfilter/nf_conntrack_helper.c va_list args; args 378 net/netfilter/nf_conntrack_helper.c va_start(args, fmt); args 381 net/netfilter/nf_conntrack_helper.c vaf.va = &args; args 392 net/netfilter/nf_conntrack_helper.c va_end(args); args 821 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) args 822 net/netfilter/nf_conntrack_netlink.c nf_ct_put((struct nf_conn *)cb->args[1]); args 914 net/netfilter/nf_conntrack_netlink.c last = (struct nf_conn *)cb->args[1]; args 918 net/netfilter/nf_conntrack_netlink.c for (; cb->args[0] < nf_conntrack_htable_size; cb->args[0]++) { args 927 net/netfilter/nf_conntrack_netlink.c lockp = &nf_conntrack_locks[cb->args[0] % CONNTRACK_LOCKS]; args 929 net/netfilter/nf_conntrack_netlink.c if (cb->args[0] >= nf_conntrack_htable_size) { args 933 net/netfilter/nf_conntrack_netlink.c hlist_nulls_for_each_entry(h, n, &nf_conntrack_hash[cb->args[0]], args 948 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) { args 951 net/netfilter/nf_conntrack_netlink.c cb->args[1] = 0; args 965 net/netfilter/nf_conntrack_netlink.c cb->args[1] = (unsigned long)ct; args 971 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) { args 972 net/netfilter/nf_conntrack_netlink.c cb->args[1] = 0; args 980 net/netfilter/nf_conntrack_netlink.c if ((struct nf_conn *)cb->args[1] == last) args 981 net/netfilter/nf_conntrack_netlink.c cb->args[1] = 0; args 1390 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) args 1391 net/netfilter/nf_conntrack_netlink.c nf_ct_put((struct nf_conn *)cb->args[1]); args 1408 net/netfilter/nf_conntrack_netlink.c if (cb->args[2]) args 1411 net/netfilter/nf_conntrack_netlink.c last = (struct nf_conn *)cb->args[1]; args 1413 net/netfilter/nf_conntrack_netlink.c for (cpu = cb->args[0]; cpu < nr_cpu_ids; cpu++) { args 1427 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) { args 1430 net/netfilter/nf_conntrack_netlink.c cb->args[1] = 0; args 1441 net/netfilter/nf_conntrack_netlink.c cb->args[0] = cpu; args 1442 net/netfilter/nf_conntrack_netlink.c cb->args[1] = (unsigned long)ct; args 1447 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) { args 1448 net/netfilter/nf_conntrack_netlink.c cb->args[1] = 0; args 1453 net/netfilter/nf_conntrack_netlink.c cb->args[2] = 1; args 2245 net/netfilter/nf_conntrack_netlink.c if (cb->args[0] == nr_cpu_ids) args 2248 net/netfilter/nf_conntrack_netlink.c for (cpu = cb->args[0]; cpu < nr_cpu_ids; cpu++) { args 2261 net/netfilter/nf_conntrack_netlink.c cb->args[0] = cpu; args 2885 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) args 2886 net/netfilter/nf_conntrack_netlink.c nf_ct_expect_put((struct nf_conntrack_expect *)cb->args[1]); args 2899 net/netfilter/nf_conntrack_netlink.c last = (struct nf_conntrack_expect *)cb->args[1]; args 2900 net/netfilter/nf_conntrack_netlink.c for (; cb->args[0] < nf_ct_expect_hsize; cb->args[0]++) { args 2902 net/netfilter/nf_conntrack_netlink.c hlist_for_each_entry_rcu(exp, &nf_ct_expect_hash[cb->args[0]], args 2910 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) { args 2913 net/netfilter/nf_conntrack_netlink.c cb->args[1] = 0; args 2922 net/netfilter/nf_conntrack_netlink.c cb->args[1] = (unsigned long)exp; args 2926 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) { args 2927 net/netfilter/nf_conntrack_netlink.c cb->args[1] = 0; args 2948 net/netfilter/nf_conntrack_netlink.c if (cb->args[0]) args 2952 net/netfilter/nf_conntrack_netlink.c last = (struct nf_conntrack_expect *)cb->args[1]; args 2957 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) { args 2960 net/netfilter/nf_conntrack_netlink.c cb->args[1] = 0; args 2968 net/netfilter/nf_conntrack_netlink.c cb->args[1] = (unsigned long)exp; args 2972 net/netfilter/nf_conntrack_netlink.c if (cb->args[1]) { args 2973 net/netfilter/nf_conntrack_netlink.c cb->args[1] = 0; args 2976 net/netfilter/nf_conntrack_netlink.c cb->args[0] = 1; args 3468 net/netfilter/nf_conntrack_netlink.c if (cb->args[0] == nr_cpu_ids) args 3471 net/netfilter/nf_conntrack_netlink.c for (cpu = cb->args[0]; cpu < nr_cpu_ids; cpu++) { args 3483 net/netfilter/nf_conntrack_netlink.c cb->args[0] = cpu; args 57 net/netfilter/nf_conntrack_proto.c va_list args; args 63 net/netfilter/nf_conntrack_proto.c va_start(args, fmt); args 65 net/netfilter/nf_conntrack_proto.c vaf.va = &args; args 69 net/netfilter/nf_conntrack_proto.c va_end(args); args 80 net/netfilter/nf_conntrack_proto.c va_list args; args 86 net/netfilter/nf_conntrack_proto.c va_start(args, fmt); args 88 net/netfilter/nf_conntrack_proto.c vaf.va = &args; args 92 net/netfilter/nf_conntrack_proto.c va_end(args); args 224 net/netfilter/nf_log.c va_list args; args 235 net/netfilter/nf_log.c va_start(args, fmt); args 236 net/netfilter/nf_log.c vsnprintf(prefix, sizeof(prefix), fmt, args); args 237 net/netfilter/nf_log.c va_end(args); args 252 net/netfilter/nf_log.c va_list args; args 259 net/netfilter/nf_log.c va_start(args, fmt); args 260 net/netfilter/nf_log.c vsnprintf(prefix, sizeof(prefix), fmt, args); args 261 net/netfilter/nf_log.c va_end(args); args 278 net/netfilter/nf_log.c va_list args; args 282 net/netfilter/nf_log.c va_start(args, f); args 283 net/netfilter/nf_log.c len = vsnprintf(m->buf + m->count, S_SIZE - m->count, f, args); args 284 net/netfilter/nf_log.c va_end(args); args 528 net/netfilter/nf_tables_api.c va_list args; args 531 net/netfilter/nf_tables_api.c va_start(args, fmt); args 532 net/netfilter/nf_tables_api.c ret = vsnprintf(module_name, MODULE_NAME_LEN, fmt, args); args 533 net/netfilter/nf_tables_api.c va_end(args); args 659 net/netfilter/nf_tables_api.c unsigned int idx = 0, s_idx = cb->args[0]; args 673 net/netfilter/nf_tables_api.c memset(&cb->args[1], 0, args 674 net/netfilter/nf_tables_api.c sizeof(cb->args) - sizeof(cb->args[0])); args 690 net/netfilter/nf_tables_api.c cb->args[0] = idx; args 1364 net/netfilter/nf_tables_api.c unsigned int idx = 0, s_idx = cb->args[0]; args 1379 net/netfilter/nf_tables_api.c memset(&cb->args[1], 0, args 1380 net/netfilter/nf_tables_api.c sizeof(cb->args) - sizeof(cb->args[0])); args 1399 net/netfilter/nf_tables_api.c cb->args[0] = idx; args 2444 net/netfilter/nf_tables_api.c unsigned int s_idx = cb->args[0]; args 2453 net/netfilter/nf_tables_api.c memset(&cb->args[1], 0, args 2454 net/netfilter/nf_tables_api.c sizeof(cb->args) - sizeof(cb->args[0])); args 2523 net/netfilter/nf_tables_api.c cb->args[0] = idx; args 3407 net/netfilter/nf_tables_api.c unsigned int idx, s_idx = cb->args[0]; args 3408 net/netfilter/nf_tables_api.c struct nft_table *table, *cur_table = (struct nft_table *)cb->args[2]; args 3412 net/netfilter/nf_tables_api.c if (cb->args[1]) args 3446 net/netfilter/nf_tables_api.c cb->args[0] = idx; args 3447 net/netfilter/nf_tables_api.c cb->args[2] = (unsigned long) table; args 3457 net/netfilter/nf_tables_api.c cb->args[1] = 1; args 4091 net/netfilter/nf_tables_api.c struct nft_set_dump_args *args; args 4093 net/netfilter/nf_tables_api.c args = container_of(iter, struct nft_set_dump_args, iter); args 4094 net/netfilter/nf_tables_api.c return nf_tables_fill_setelem(args->skb, set, elem); args 4108 net/netfilter/nf_tables_api.c struct nft_set_dump_args args; args 4162 net/netfilter/nf_tables_api.c args.cb = cb; args 4163 net/netfilter/nf_tables_api.c args.skb = skb; args 4164 net/netfilter/nf_tables_api.c args.iter.genmask = nft_genmask_cur(net); args 4165 net/netfilter/nf_tables_api.c args.iter.skip = cb->args[0]; args 4166 net/netfilter/nf_tables_api.c args.iter.count = 0; args 4167 net/netfilter/nf_tables_api.c args.iter.err = 0; args 4168 net/netfilter/nf_tables_api.c args.iter.fn = nf_tables_dump_setelem; args 4169 net/netfilter/nf_tables_api.c set->ops->walk(&dump_ctx->ctx, set, &args.iter); args 4175 net/netfilter/nf_tables_api.c if (args.iter.err && args.iter.err != -EMSGSIZE) args 4176 net/netfilter/nf_tables_api.c return args.iter.err; args 4177 net/netfilter/nf_tables_api.c if (args.iter.count == cb->args[0]) args 4180 net/netfilter/nf_tables_api.c cb->args[0] = args.iter.count; args 5354 net/netfilter/nf_tables_api.c unsigned int idx = 0, s_idx = cb->args[0]; args 5377 net/netfilter/nf_tables_api.c memset(&cb->args[1], 0, args 5378 net/netfilter/nf_tables_api.c sizeof(cb->args) - sizeof(cb->args[0])); args 5403 net/netfilter/nf_tables_api.c cb->args[0] = idx; args 6048 net/netfilter/nf_tables_api.c unsigned int idx = 0, s_idx = cb->args[0]; args 6067 net/netfilter/nf_tables_api.c memset(&cb->args[1], 0, args 6068 net/netfilter/nf_tables_api.c sizeof(cb->args) - sizeof(cb->args[0])); args 6088 net/netfilter/nf_tables_api.c cb->args[0] = idx; args 194 net/netfilter/nfnetlink_acct.c if (cb->args[2]) args 197 net/netfilter/nfnetlink_acct.c last = (struct nf_acct *)cb->args[1]; args 198 net/netfilter/nfnetlink_acct.c if (cb->args[1]) args 199 net/netfilter/nfnetlink_acct.c cb->args[1] = 0; args 217 net/netfilter/nfnetlink_acct.c cb->args[1] = (unsigned long)cur; args 221 net/netfilter/nfnetlink_acct.c if (!cb->args[1]) args 222 net/netfilter/nfnetlink_acct.c cb->args[2] = 1; args 581 net/netfilter/nfnetlink_cthelper.c last = (struct nf_conntrack_helper *)cb->args[1]; args 582 net/netfilter/nfnetlink_cthelper.c for (; cb->args[0] < nf_ct_helper_hsize; cb->args[0]++) { args 585 net/netfilter/nfnetlink_cthelper.c &nf_ct_helper_hash[cb->args[0]], hnode) { args 591 net/netfilter/nfnetlink_cthelper.c if (cb->args[1]) { args 594 net/netfilter/nfnetlink_cthelper.c cb->args[1] = 0; args 601 net/netfilter/nfnetlink_cthelper.c cb->args[1] = (unsigned long)cur; args 606 net/netfilter/nfnetlink_cthelper.c if (cb->args[1]) { args 607 net/netfilter/nfnetlink_cthelper.c cb->args[1] = 0; args 212 net/netfilter/nfnetlink_cttimeout.c if (cb->args[2]) args 215 net/netfilter/nfnetlink_cttimeout.c last = (struct ctnl_timeout *)cb->args[1]; args 216 net/netfilter/nfnetlink_cttimeout.c if (cb->args[1]) args 217 net/netfilter/nfnetlink_cttimeout.c cb->args[1] = 0; args 231 net/netfilter/nfnetlink_cttimeout.c cb->args[1] = (unsigned long)cur; args 235 net/netfilter/nfnetlink_cttimeout.c if (!cb->args[1]) args 236 net/netfilter/nfnetlink_cttimeout.c cb->args[2] = 1; args 53 net/netfilter/nfnetlink_log.c #define PRINTR(x, args...) do { if (net_ratelimit()) \ args 54 net/netfilter/nfnetlink_log.c printk(x, ## args); } while (0); args 234 net/netlabel/netlabel_calipso.c u32 doi_skip = cb->args[0]; args 242 net/netlabel/netlabel_calipso.c cb->args[0] = doi_skip; args 653 net/netlabel/netlabel_cipso_v4.c u32 doi_skip = cb->args[0]; args 661 net/netlabel/netlabel_cipso_v4.c cb->args[0] = doi_skip; args 518 net/netlabel/netlabel_mgmt.c u32 skip_bkt = cb->args[0]; args 519 net/netlabel/netlabel_mgmt.c u32 skip_chain = cb->args[1]; args 530 net/netlabel/netlabel_mgmt.c cb->args[0] = skip_bkt; args 531 net/netlabel/netlabel_mgmt.c cb->args[1] = skip_chain; args 686 net/netlabel/netlabel_mgmt.c u32 protos_sent = cb->args[0]; args 713 net/netlabel/netlabel_mgmt.c cb->args[0] = protos_sent; args 1166 net/netlabel/netlabel_unlabeled.c u32 skip_bkt = cb->args[0]; args 1167 net/netlabel/netlabel_unlabeled.c u32 skip_chain = cb->args[1]; args 1192 net/netlabel/netlabel_unlabeled.c if (iter_addr4++ < cb->args[2]) args 1208 net/netlabel/netlabel_unlabeled.c if (iter_addr6++ < cb->args[3]) args 1227 net/netlabel/netlabel_unlabeled.c cb->args[0] = iter_bkt; args 1228 net/netlabel/netlabel_unlabeled.c cb->args[1] = iter_chain; args 1229 net/netlabel/netlabel_unlabeled.c cb->args[2] = iter_addr4; args 1230 net/netlabel/netlabel_unlabeled.c cb->args[3] = iter_addr6; args 1266 net/netlabel/netlabel_unlabeled.c if (iter_addr4++ < cb->args[0]) args 1279 net/netlabel/netlabel_unlabeled.c if (iter_addr6++ < cb->args[1]) args 1294 net/netlabel/netlabel_unlabeled.c cb->args[0] = iter_addr4; args 1295 net/netlabel/netlabel_unlabeled.c cb->args[1] = iter_addr6; args 92 net/netlink/diag.c struct rhashtable_iter *hti = (void *)cb->args[2]; args 113 net/netlink/diag.c cb->args[2] = (long)hti; args 179 net/netlink/diag.c cb->args[0] = num; args 187 net/netlink/diag.c int s_num = cb->args[0]; args 195 net/netlink/diag.c for (i = cb->args[1]; i < MAX_LINKS; i++) { args 201 net/netlink/diag.c cb->args[1] = i; args 214 net/netlink/diag.c struct rhashtable_iter *hti = (void *)cb->args[2]; args 216 net/netlink/diag.c if (cb->args[0] == 1) args 808 net/netlink/genetlink.c int fams_to_skip = cb->args[0]; args 826 net/netlink/genetlink.c cb->args[0] = n; args 136 net/nfc/netlink.c int i = cb->args[0]; args 137 net/nfc/netlink.c struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; args 145 net/nfc/netlink.c cb->args[1] = (long) dev; args 163 net/nfc/netlink.c cb->args[0] = i; args 170 net/nfc/netlink.c struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; args 604 net/nfc/netlink.c struct class_dev_iter *iter = (struct class_dev_iter *) cb->args[0]; args 605 net/nfc/netlink.c struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; args 613 net/nfc/netlink.c cb->args[0] = (long) iter; args 638 net/nfc/netlink.c cb->args[1] = (long) dev; args 645 net/nfc/netlink.c struct class_dev_iter *iter = (struct class_dev_iter *) cb->args[0]; args 1359 net/nfc/netlink.c struct class_dev_iter *iter = (struct class_dev_iter *) cb->args[0]; args 1360 net/nfc/netlink.c struct nfc_dev *dev = (struct nfc_dev *) cb->args[1]; args 1368 net/nfc/netlink.c cb->args[0] = (long) iter; args 1393 net/nfc/netlink.c cb->args[1] = (long) dev; args 1400 net/nfc/netlink.c struct class_dev_iter *iter = (struct class_dev_iter *) cb->args[0]; args 1402 net/openvswitch/datapath.c bucket = cb->args[0]; args 1403 net/openvswitch/datapath.c obj = cb->args[1]; args 1414 net/openvswitch/datapath.c cb->args[0] = bucket; args 1415 net/openvswitch/datapath.c cb->args[1] = obj; args 1828 net/openvswitch/datapath.c int skip = cb->args[0]; args 1842 net/openvswitch/datapath.c cb->args[0] = i; args 2268 net/openvswitch/datapath.c int bucket = cb->args[0], skip = cb->args[1]; args 2299 net/openvswitch/datapath.c cb->args[0] = i; args 2300 net/openvswitch/datapath.c cb->args[1] = j; args 190 net/packet/diag.c int num = 0, s_num = cb->args[0]; args 219 net/packet/diag.c cb->args[0] = num; args 125 net/phonet/pn_netlink.c int dev_idx = 0, dev_start_idx = cb->args[0]; args 126 net/phonet/pn_netlink.c int addr_idx = 0, addr_start_idx = cb->args[1]; args 152 net/phonet/pn_netlink.c cb->args[0] = dev_idx; args 153 net/phonet/pn_netlink.c cb->args[1] = addr_idx; args 269 net/phonet/pn_netlink.c for (addr = cb->args[0]; addr < 64; addr++) { args 282 net/phonet/pn_netlink.c cb->args[0] = addr; args 72 net/psample/psample.c int start = cb->args[0]; args 93 net/psample/psample.c cb->args[0] = idx; args 173 net/rds/rdma.c static int __rds_rdma_map(struct rds_sock *rs, struct rds_get_mr_args *args, args 198 net/rds/rdma.c nr_pages = rds_pages_in_vec(&args->vec); args 213 net/rds/rdma.c args->vec.addr, args->vec.bytes, nr_pages); args 233 net/rds/rdma.c if (args->flags & RDS_RDMA_USE_ONCE) args 235 net/rds/rdma.c if (args->flags & RDS_RDMA_INVALIDATE) args 237 net/rds/rdma.c if (args->flags & RDS_RDMA_READWRITE) args 250 net/rds/rdma.c ret = rds_pin_pages(args->vec.addr, nr_pages, pages, 1); args 288 net/rds/rdma.c mr->r_key, (void *)(unsigned long) args->cookie_addr); args 294 net/rds/rdma.c cookie = rds_rdma_make_cookie(mr->r_key, args->vec.addr & ~PAGE_MASK); args 298 net/rds/rdma.c if (args->cookie_addr && put_user(cookie, (u64 __user *)(unsigned long) args->cookie_addr)) { args 327 net/rds/rdma.c struct rds_get_mr_args args; args 332 net/rds/rdma.c if (copy_from_user(&args, (struct rds_get_mr_args __user *)optval, args 336 net/rds/rdma.c return __rds_rdma_map(rs, &args, NULL, NULL, NULL); args 341 net/rds/rdma.c struct rds_get_mr_for_dest_args args; args 347 net/rds/rdma.c if (copy_from_user(&args, (struct rds_get_mr_for_dest_args __user *)optval, args 356 net/rds/rdma.c new_args.vec = args.vec; args 357 net/rds/rdma.c new_args.cookie_addr = args.cookie_addr; args 358 net/rds/rdma.c new_args.flags = args.flags; args 368 net/rds/rdma.c struct rds_free_mr_args args; args 375 net/rds/rdma.c if (copy_from_user(&args, (struct rds_free_mr_args __user *)optval, args 380 net/rds/rdma.c if (args.cookie == 0) { args 392 net/rds/rdma.c mr = rds_mr_tree_walk(&rs->rs_rdma_keys, rds_rdma_cookie_key(args.cookie), NULL); args 396 net/rds/rdma.c if (args.flags & RDS_RDMA_INVALIDATE) args 521 net/rds/rdma.c int rds_rdma_extra_size(struct rds_rdma_args *args, args 530 net/rds/rdma.c local_vec = (struct rds_iovec __user *)(unsigned long) args->local_vec_addr; args 532 net/rds/rdma.c if (args->nr_local == 0) args 535 net/rds/rdma.c iov->iov = kcalloc(args->nr_local, args 543 net/rds/rdma.c if (copy_from_user(vec, local_vec, args->nr_local * args 546 net/rds/rdma.c iov->len = args->nr_local; args 549 net/rds/rdma.c for (i = 0; i < args->nr_local; i++, vec++) { args 576 net/rds/rdma.c struct rds_rdma_args *args; args 589 net/rds/rdma.c args = CMSG_DATA(cmsg); args 596 net/rds/rdma.c if (args->nr_local > UIO_MAXIOV) { args 601 net/rds/rdma.c if (vec->len != args->nr_local) { args 608 net/rds/rdma.c nr_pages = rds_rdma_pages(iovs, args->nr_local); args 620 net/rds/rdma.c op->op_write = !!(args->flags & RDS_RDMA_READWRITE); args 621 net/rds/rdma.c op->op_fence = !!(args->flags & RDS_RDMA_FENCE); args 622 net/rds/rdma.c op->op_notify = !!(args->flags & RDS_RDMA_NOTIFY_ME); args 623 net/rds/rdma.c op->op_silent = !!(args->flags & RDS_RDMA_SILENT); args 644 net/rds/rdma.c op->op_notifier->n_user_token = args->user_token; args 655 net/rds/rdma.c op->op_rkey = rds_rdma_cookie_key(args->cookie); args 656 net/rds/rdma.c op->op_remote_addr = args->remote_vec.addr + rds_rdma_cookie_offset(args->cookie); args 661 net/rds/rdma.c (unsigned long long)args->nr_local, args 662 net/rds/rdma.c (unsigned long long)args->remote_vec.addr, args 665 net/rds/rdma.c for (i = 0; i < args->nr_local; i++) { args 706 net/rds/rdma.c if (nr_bytes > args->remote_vec.bytes) { args 709 net/rds/rdma.c (unsigned int) args->remote_vec.bytes); args 790 net/rds/rdma.c struct rds_atomic_args *args; args 797 net/rds/rdma.c args = CMSG_DATA(cmsg); args 803 net/rds/rdma.c rm->atomic.op_m_fadd.add = args->fadd.add; args 808 net/rds/rdma.c rm->atomic.op_m_fadd.add = args->m_fadd.add; args 809 net/rds/rdma.c rm->atomic.op_m_fadd.nocarry_mask = args->m_fadd.nocarry_mask; args 813 net/rds/rdma.c rm->atomic.op_m_cswp.compare = args->cswp.compare; args 814 net/rds/rdma.c rm->atomic.op_m_cswp.swap = args->cswp.swap; args 820 net/rds/rdma.c rm->atomic.op_m_cswp.compare = args->m_cswp.compare; args 821 net/rds/rdma.c rm->atomic.op_m_cswp.swap = args->m_cswp.swap; args 822 net/rds/rdma.c rm->atomic.op_m_cswp.compare_mask = args->m_cswp.compare_mask; args 823 net/rds/rdma.c rm->atomic.op_m_cswp.swap_mask = args->m_cswp.swap_mask; args 829 net/rds/rdma.c rm->atomic.op_notify = !!(args->flags & RDS_RDMA_NOTIFY_ME); args 830 net/rds/rdma.c rm->atomic.op_silent = !!(args->flags & RDS_RDMA_SILENT); args 840 net/rds/rdma.c if (args->local_addr & 0x7) { args 845 net/rds/rdma.c ret = rds_pin_pages(args->local_addr, 1, &page, 1); args 850 net/rds/rdma.c sg_set_page(rm->atomic.op_sg, page, 8, offset_in_page(args->local_addr)); args 864 net/rds/rdma.c rm->atomic.op_notifier->n_user_token = args->user_token; args 868 net/rds/rdma.c rm->atomic.op_rkey = rds_rdma_cookie_key(args->cookie); args 869 net/rds/rdma.c rm->atomic.op_remote_addr = args->remote_addr + rds_rdma_cookie_offset(args->cookie); args 45 net/rds/rds.h #define rdsdebug(fmt, args...) pr_debug("%s(): " fmt, __func__ , ##args) args 929 net/rds/rds.h int rds_rdma_extra_size(struct rds_rdma_args *args, args 1080 net/rds/send.c struct rds_rdma_args *args; args 1094 net/rds/send.c args = CMSG_DATA(cmsg); args 1095 net/rds/send.c *rdma_bytes += args->remote_vec.bytes; args 218 net/sched/act_api.c u32 act_flags = cb->args[2]; args 219 net/sched/act_api.c unsigned long jiffy_since = cb->args[3]; args 228 net/sched/act_api.c s_i = cb->args[0]; args 259 net/sched/act_api.c cb->args[0] = index + 1; args 264 net/sched/act_api.c cb->args[1] = n_i; args 1487 net/sched/act_api.c cb->args[2] = 0; args 1490 net/sched/act_api.c cb->args[2] = bf.value; args 1509 net/sched/act_api.c cb->args[3] = jiffy_since; args 1525 net/sched/act_api.c act_count = cb->args[1]; args 1527 net/sched/act_api.c cb->args[1] = 0; args 2473 net/sched/cls_api.c memset(&cb->args[1], 0, args 2474 net/sched/cls_api.c sizeof(cb->args) - sizeof(cb->args[0])); args 2475 net/sched/cls_api.c if (cb->args[1] == 0) { args 2481 net/sched/cls_api.c cb->args[1] = 1; args 2492 net/sched/cls_api.c arg.w.skip = cb->args[1] - 1; args 2494 net/sched/cls_api.c arg.w.cookie = cb->args[2]; args 2496 net/sched/cls_api.c cb->args[2] = arg.w.cookie; args 2497 net/sched/cls_api.c cb->args[1] = arg.w.count + 1; args 2575 net/sched/cls_api.c index_start = cb->args[0]; args 2596 net/sched/cls_api.c cb->args[0] = index; args 2961 net/sched/cls_api.c index_start = cb->args[0]; args 2988 net/sched/cls_api.c cb->args[0] = index; args 1737 net/sched/sch_api.c s_idx = cb->args[0]; args 1738 net/sched/sch_api.c s_q_idx = q_idx = cb->args[1]; args 1773 net/sched/sch_api.c cb->args[0] = idx; args 1774 net/sched/sch_api.c cb->args[1] = q_idx; args 1955 net/sched/sch_api.c struct tc_bind_class_args args = {}; args 1959 net/sched/sch_api.c args.portid = portid; args 1960 net/sched/sch_api.c args.clid = clid; args 1961 net/sched/sch_api.c args.new_cl = new_cl; args 1962 net/sched/sch_api.c args.w.fn = tc_bind_class_walker; args 1963 net/sched/sch_api.c q->ops->cl_ops->walk(q, &args.w); args 2142 net/sched/sch_api.c memset(&cb->args[1], 0, sizeof(cb->args)-sizeof(cb->args[0])); args 2147 net/sched/sch_api.c arg.w.skip = cb->args[1]; args 2150 net/sched/sch_api.c cb->args[1] = arg.w.count; args 2202 net/sched/sch_api.c s_t = cb->args[0]; args 2215 net/sched/sch_api.c cb->args[0] = t; args 308 net/sctp/diag.c if (cb->args[4] < cb->args[1]) args 318 net/sctp/diag.c if (!cb->args[3] && args 328 net/sctp/diag.c cb->args[3] = 1; args 339 net/sctp/diag.c cb->args[4]++; args 341 net/sctp/diag.c cb->args[1] = 0; args 342 net/sctp/diag.c cb->args[3] = 0; args 343 net/sctp/diag.c cb->args[4] = 0; args 382 net/sctp/diag.c if (cb->args[4] < cb->args[1]) args 409 net/sctp/diag.c cb->args[4]++; args 479 net/sctp/diag.c int pos = cb->args[2]; args 487 net/sctp/diag.c if (cb->args[0] == 0) { args 493 net/sctp/diag.c cb->args[0] = 1; args 494 net/sctp/diag.c cb->args[1] = 0; args 495 net/sctp/diag.c cb->args[4] = 0; args 511 net/sctp/diag.c cb->args[2] = pos; args 514 net/sctp/diag.c cb->args[1] = cb->args[4]; args 515 net/sctp/diag.c cb->args[4] = 0; args 447 net/smc/smc_pnet.c cb->args[0] = 0; args 566 net/smc/smc_pnet.c cb->nlh->nlmsg_seq, NULL, cb->args[0]); args 568 net/smc/smc_pnet.c cb->args[0] = idx; args 2818 net/socket.c SYSCALL_DEFINE2(socketcall, int, call, unsigned long __user *, args) args 2834 net/socket.c if (copy_from_user(a, args, len)) args 274 net/sunrpc/auth.c rpcauth_create(const struct rpc_auth_create_args *args, struct rpc_clnt *clnt) args 278 net/sunrpc/auth.c u32 flavor = pseudoflavor_to_flavor(args->pseudoflavor); args 284 net/sunrpc/auth.c auth = ops->create(args, clnt); args 947 net/sunrpc/auth_gss/auth_gss.c struct gss_alloc_pdo *args = data; args 952 net/sunrpc/auth_gss/auth_gss.c if (strcmp(gss_pipe->name, args->name) != 0) args 962 net/sunrpc/auth_gss/auth_gss.c struct gss_alloc_pdo *args = data; args 964 net/sunrpc/auth_gss/auth_gss.c gss_pipe = gss_pipe_alloc(args->clnt, args->name, args->upcall_ops); args 976 net/sunrpc/auth_gss/auth_gss.c struct gss_alloc_pdo args = { args 986 net/sunrpc/auth_gss/auth_gss.c &args); args 1022 net/sunrpc/auth_gss/auth_gss.c gss_create_new(const struct rpc_auth_create_args *args, struct rpc_clnt *clnt) args 1024 net/sunrpc/auth_gss/auth_gss.c rpc_authflavor_t flavor = args->pseudoflavor; args 1036 net/sunrpc/auth_gss/auth_gss.c if (args->target_name) { args 1037 net/sunrpc/auth_gss/auth_gss.c gss_auth->target_name = kstrdup(args->target_name, GFP_KERNEL); args 1165 net/sunrpc/auth_gss/auth_gss.c gss_auth_find_or_add_hashed(const struct rpc_auth_create_args *args, args 1179 net/sunrpc/auth_gss/auth_gss.c if (gss_auth->rpc_auth.au_flavor != args->pseudoflavor) args 1181 net/sunrpc/auth_gss/auth_gss.c if (gss_auth->target_name != args->target_name) { args 1184 net/sunrpc/auth_gss/auth_gss.c if (args->target_name == NULL) args 1186 net/sunrpc/auth_gss/auth_gss.c if (strcmp(gss_auth->target_name, args->target_name)) args 1202 net/sunrpc/auth_gss/auth_gss.c gss_create_hashed(const struct rpc_auth_create_args *args, args 1208 net/sunrpc/auth_gss/auth_gss.c gss_auth = gss_auth_find_or_add_hashed(args, clnt, NULL); args 1211 net/sunrpc/auth_gss/auth_gss.c new = gss_create_new(args, clnt); args 1214 net/sunrpc/auth_gss/auth_gss.c gss_auth = gss_auth_find_or_add_hashed(args, clnt, new); args 1222 net/sunrpc/auth_gss/auth_gss.c gss_create(const struct rpc_auth_create_args *args, struct rpc_clnt *clnt) args 1235 net/sunrpc/auth_gss/auth_gss.c gss_auth = gss_create_hashed(args, clnt); args 85 net/sunrpc/auth_gss/gss_rpc_upcall.c struct rpc_create_args args = { args 106 net/sunrpc/auth_gss/gss_rpc_upcall.c clnt = rpc_create(&args); args 22 net/sunrpc/auth_null.c nul_create(const struct rpc_auth_create_args *args, struct rpc_clnt *clnt) args 29 net/sunrpc/auth_unix.c unx_create(const struct rpc_auth_create_args *args, struct rpc_clnt *clnt) args 361 net/sunrpc/clnt.c static struct rpc_clnt * rpc_new_client(const struct rpc_create_args *args, args 366 net/sunrpc/clnt.c const struct rpc_program *program = args->program; args 370 net/sunrpc/clnt.c const char *nodename = args->nodename; args 375 net/sunrpc/clnt.c program->name, args->servername, xprt); args 382 net/sunrpc/clnt.c if (args->version >= program->nrvers) args 384 net/sunrpc/clnt.c version = program->version[args->version]; args 398 net/sunrpc/clnt.c clnt->cl_cred = get_cred(args->cred); args 401 net/sunrpc/clnt.c clnt->cl_prog = args->prognumber ? : program->number; args 414 net/sunrpc/clnt.c if (args->timeout != NULL) { args 415 net/sunrpc/clnt.c memcpy(&clnt->cl_timeout_default, args->timeout, args 434 net/sunrpc/clnt.c err = rpc_client_register(clnt, args->authflavor, args->client_name); args 456 net/sunrpc/clnt.c static struct rpc_clnt *rpc_create_xprt(struct rpc_create_args *args, args 462 net/sunrpc/clnt.c if (args->bc_xprt && args->bc_xprt->xpt_bc_xps) { args 463 net/sunrpc/clnt.c WARN_ON_ONCE(!(args->protocol & XPRT_TRANSPORT_BC)); args 464 net/sunrpc/clnt.c xps = args->bc_xprt->xpt_bc_xps; args 477 net/sunrpc/clnt.c clnt = rpc_new_client(args, xps, xprt, NULL); args 481 net/sunrpc/clnt.c if (!(args->flags & RPC_CLNT_CREATE_NOPING)) { args 490 net/sunrpc/clnt.c if (args->flags & (RPC_CLNT_CREATE_HARDRTRY|RPC_CLNT_CREATE_SOFTERR)) { args 492 net/sunrpc/clnt.c if (args->flags & RPC_CLNT_CREATE_SOFTERR) args 496 net/sunrpc/clnt.c if (args->flags & RPC_CLNT_CREATE_AUTOBIND) args 498 net/sunrpc/clnt.c if (args->flags & RPC_CLNT_CREATE_NO_RETRANS_TIMEOUT) args 500 net/sunrpc/clnt.c if (args->flags & RPC_CLNT_CREATE_DISCRTRY) args 502 net/sunrpc/clnt.c if (!(args->flags & RPC_CLNT_CREATE_QUIET)) args 518 net/sunrpc/clnt.c struct rpc_clnt *rpc_create(struct rpc_create_args *args) args 522 net/sunrpc/clnt.c .net = args->net, args 523 net/sunrpc/clnt.c .ident = args->protocol, args 524 net/sunrpc/clnt.c .srcaddr = args->saddress, args 525 net/sunrpc/clnt.c .dstaddr = args->address, args 526 net/sunrpc/clnt.c .addrlen = args->addrsize, args 527 net/sunrpc/clnt.c .servername = args->servername, args 528 net/sunrpc/clnt.c .bc_xprt = args->bc_xprt, args 534 net/sunrpc/clnt.c if (args->bc_xprt) { args 535 net/sunrpc/clnt.c WARN_ON_ONCE(!(args->protocol & XPRT_TRANSPORT_BC)); args 536 net/sunrpc/clnt.c xprt = args->bc_xprt->xpt_bc_xprt; args 539 net/sunrpc/clnt.c return rpc_create_xprt(args, xprt); args 543 net/sunrpc/clnt.c if (args->flags & RPC_CLNT_CREATE_INFINITE_SLOTS) args 545 net/sunrpc/clnt.c if (args->flags & RPC_CLNT_CREATE_NO_IDLE_TIMEOUT) args 553 net/sunrpc/clnt.c (struct sockaddr_un *)args->address; args 555 net/sunrpc/clnt.c (struct sockaddr_in *)args->address; args 557 net/sunrpc/clnt.c (struct sockaddr_in6 *)args->address; args 560 net/sunrpc/clnt.c switch (args->address->sa_family) { args 592 net/sunrpc/clnt.c if (args->flags & RPC_CLNT_CREATE_NONPRIVPORT) args 595 net/sunrpc/clnt.c clnt = rpc_create_xprt(args, xprt); args 596 net/sunrpc/clnt.c if (IS_ERR(clnt) || args->nconnect <= 1) args 599 net/sunrpc/clnt.c for (i = 0; i < args->nconnect - 1; i++) { args 612 net/sunrpc/clnt.c static struct rpc_clnt *__rpc_clone_client(struct rpc_create_args *args, args 630 net/sunrpc/clnt.c args->servername = xprt->servername; args 631 net/sunrpc/clnt.c args->nodename = clnt->cl_nodename; args 633 net/sunrpc/clnt.c new = rpc_new_client(args, xps, xprt, clnt); args 663 net/sunrpc/clnt.c struct rpc_create_args args = { args 670 net/sunrpc/clnt.c return __rpc_clone_client(&args, clnt); args 685 net/sunrpc/clnt.c struct rpc_create_args args = { args 692 net/sunrpc/clnt.c return __rpc_clone_client(&args, clnt); args 712 net/sunrpc/clnt.c struct xprt_create *args, args 722 net/sunrpc/clnt.c xprt = xprt_create_transport(args); args 958 net/sunrpc/clnt.c struct rpc_create_args args = { args 968 net/sunrpc/clnt.c clnt = __rpc_clone_client(&args, old); args 235 net/sunrpc/rpcb_clnt.c struct rpc_create_args args = { args 262 net/sunrpc/rpcb_clnt.c clnt = rpc_create(&args); args 295 net/sunrpc/rpcb_clnt.c struct rpc_create_args args = { args 310 net/sunrpc/rpcb_clnt.c clnt = rpc_create(&args); args 367 net/sunrpc/rpcb_clnt.c struct rpc_create_args args = { args 393 net/sunrpc/rpcb_clnt.c return rpc_create(&args); args 1155 net/sunrpc/svc.c va_list args; args 1158 net/sunrpc/svc.c va_start(args, fmt); args 1161 net/sunrpc/svc.c vaf.va = &args; args 1165 net/sunrpc/svc.c va_end(args); args 1201 net/sunrpc/svc_xprt.c memcpy(dr->args, rqstp->rq_arg.head[0].iov_base - skip, args 1221 net/sunrpc/svc_xprt.c rqstp->rq_arg.head[0].iov_base = dr->args + (dr->xprt_hlen>>2); args 1885 net/sunrpc/xprt.c struct rpc_xprt *xprt_create_transport(struct xprt_create *args) args 1892 net/sunrpc/xprt.c if (t->ident == args->ident) { args 1898 net/sunrpc/xprt.c dprintk("RPC: transport (%d) not supported\n", args->ident); args 1902 net/sunrpc/xprt.c xprt = t->setup(args); args 1908 net/sunrpc/xprt.c if (args->flags & XPRT_CREATE_NO_IDLE_TIMEOUT) args 1916 net/sunrpc/xprt.c if (strlen(args->servername) > RPC_MAXNETNAMELEN) { args 1920 net/sunrpc/xprt.c xprt->servername = kstrdup(args->servername, GFP_KERNEL); args 283 net/sunrpc/xprtrdma/svc_rdma_backchannel.c xprt_setup_rdma_bc(struct xprt_create *args) args 288 net/sunrpc/xprtrdma/svc_rdma_backchannel.c if (args->addrlen > sizeof(xprt->addr)) { args 293 net/sunrpc/xprtrdma/svc_rdma_backchannel.c xprt = xprt_alloc(args->net, sizeof(*new_xprt), args 312 net/sunrpc/xprtrdma/svc_rdma_backchannel.c memcpy(&xprt->addr, args->dstaddr, args->addrlen); args 313 net/sunrpc/xprtrdma/svc_rdma_backchannel.c xprt->addrlen = args->addrlen; args 323 net/sunrpc/xprtrdma/svc_rdma_backchannel.c args->bc_xprt->xpt_bc_xprt = xprt; args 324 net/sunrpc/xprtrdma/svc_rdma_backchannel.c xprt->bc_xprt = args->bc_xprt; args 312 net/sunrpc/xprtrdma/transport.c xprt_setup_rdma(struct xprt_create *args) args 319 net/sunrpc/xprtrdma/transport.c if (args->addrlen > sizeof(xprt->addr)) args 322 net/sunrpc/xprtrdma/transport.c xprt = xprt_alloc(args->net, sizeof(struct rpcrdma_xprt), 0, 0); args 339 net/sunrpc/xprtrdma/transport.c sap = args->dstaddr; args 344 net/sunrpc/xprtrdma/transport.c xprt->addrlen = args->addrlen; args 2853 net/sunrpc/xprtsock.c static struct rpc_xprt *xs_setup_xprt(struct xprt_create *args, args 2860 net/sunrpc/xprtsock.c if (args->addrlen > sizeof(xprt->addr)) { args 2865 net/sunrpc/xprtsock.c xprt = xprt_alloc(args->net, sizeof(*new), slot_table_size, args 2875 net/sunrpc/xprtsock.c memcpy(&xprt->addr, args->dstaddr, args->addrlen); args 2876 net/sunrpc/xprtsock.c xprt->addrlen = args->addrlen; args 2877 net/sunrpc/xprtsock.c if (args->srcaddr) args 2878 net/sunrpc/xprtsock.c memcpy(&new->srcaddr, args->srcaddr, args->addrlen); args 2881 net/sunrpc/xprtsock.c err = xs_init_anyaddr(args->dstaddr->sa_family, args 2904 net/sunrpc/xprtsock.c static struct rpc_xprt *xs_setup_local(struct xprt_create *args) args 2906 net/sunrpc/xprtsock.c struct sockaddr_un *sun = (struct sockaddr_un *)args->dstaddr; args 2911 net/sunrpc/xprtsock.c xprt = xs_setup_xprt(args, xprt_tcp_slot_table_entries, args 2973 net/sunrpc/xprtsock.c static struct rpc_xprt *xs_setup_udp(struct xprt_create *args) args 2975 net/sunrpc/xprtsock.c struct sockaddr *addr = args->dstaddr; args 2980 net/sunrpc/xprtsock.c xprt = xs_setup_xprt(args, xprt_udp_slot_table_entries, args 3049 net/sunrpc/xprtsock.c static struct rpc_xprt *xs_setup_tcp(struct xprt_create *args) args 3051 net/sunrpc/xprtsock.c struct sockaddr *addr = args->dstaddr; args 3057 net/sunrpc/xprtsock.c if (args->flags & XPRT_CREATE_INFINITE_SLOTS) args 3060 net/sunrpc/xprtsock.c xprt = xs_setup_xprt(args, xprt_tcp_slot_table_entries, args 3125 net/sunrpc/xprtsock.c static struct rpc_xprt *xs_setup_bc_tcp(struct xprt_create *args) args 3127 net/sunrpc/xprtsock.c struct sockaddr *addr = args->dstaddr; args 3133 net/sunrpc/xprtsock.c xprt = xs_setup_xprt(args, xprt_tcp_slot_table_entries, args 3177 net/sunrpc/xprtsock.c args->bc_xprt->xpt_bc_xprt = xprt; args 3178 net/sunrpc/xprtsock.c xprt->bc_xprt = args->bc_xprt; args 3179 net/sunrpc/xprtsock.c bc_sock = container_of(args->bc_xprt, struct svc_sock, sk_xprt); args 3192 net/sunrpc/xprtsock.c args->bc_xprt->xpt_bc_xprt = NULL; args 3193 net/sunrpc/xprtsock.c args->bc_xprt->xpt_bc_xps = NULL; args 801 net/tipc/bearer.c int i = cb->args[0]; args 826 net/tipc/bearer.c cb->args[0] = i; args 1139 net/tipc/bearer.c int i = cb->args[0]; args 1158 net/tipc/bearer.c cb->args[0] = i; args 945 net/tipc/name_table.c u32 last_type = cb->args[0]; args 946 net/tipc/name_table.c u32 last_lower = cb->args[1]; args 947 net/tipc/name_table.c u32 last_key = cb->args[2]; args 948 net/tipc/name_table.c int done = cb->args[3]; args 975 net/tipc/name_table.c cb->args[0] = last_type; args 976 net/tipc/name_table.c cb->args[1] = last_lower; args 977 net/tipc/name_table.c cb->args[2] = last_key; args 978 net/tipc/name_table.c cb->args[3] = done; args 219 net/tipc/net.c int done = cb->args[0]; args 235 net/tipc/net.c cb->args[0] = done; args 128 net/tipc/netlink_compat.c va_list args; args 136 net/tipc/netlink_compat.c va_start(args, fmt); args 137 net/tipc/netlink_compat.c n = vscnprintf(buf, rem, fmt, args); args 138 net/tipc/netlink_compat.c va_end(args); args 971 net/tipc/netlink_compat.c struct sk_buff *args; args 974 net/tipc/netlink_compat.c args = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); args 975 net/tipc/netlink_compat.c if (!args) args 978 net/tipc/netlink_compat.c hdr = genlmsg_put(args, 0, 0, &tipc_genl_family, NLM_F_MULTI, args 981 net/tipc/netlink_compat.c kfree_skb(args); args 985 net/tipc/netlink_compat.c nest = nla_nest_start_noflag(args, TIPC_NLA_SOCK); args 987 net/tipc/netlink_compat.c kfree_skb(args); args 991 net/tipc/netlink_compat.c if (nla_put_u32(args, TIPC_NLA_SOCK_REF, sock)) { args 992 net/tipc/netlink_compat.c kfree_skb(args); args 996 net/tipc/netlink_compat.c nla_nest_end(args, nest); args 997 net/tipc/netlink_compat.c genlmsg_end(args, hdr); args 1002 net/tipc/netlink_compat.c err = __tipc_nl_compat_dumpit(&dump, msg, args); args 1004 net/tipc/netlink_compat.c kfree_skb(args); args 1983 net/tipc/node.c int done = cb->args[0]; args 1984 net/tipc/node.c int last_addr = cb->args[1]; args 2033 net/tipc/node.c cb->args[0] = done; args 2034 net/tipc/node.c cb->args[1] = last_addr; args 2302 net/tipc/node.c u32 prev_node = cb->args[0]; args 2303 net/tipc/node.c u32 prev_link = cb->args[1]; args 2304 net/tipc/node.c int done = cb->args[2]; args 2360 net/tipc/node.c cb->args[0] = prev_node; args 2361 net/tipc/node.c cb->args[1] = prev_link; args 2362 net/tipc/node.c cb->args[2] = done; args 2452 net/tipc/node.c u32 prev_bearer = cb->args[0]; args 2471 net/tipc/node.c cb->args[0] = bearer_id; args 2480 net/tipc/node.c u32 prev_node = cb->args[1]; args 2481 net/tipc/node.c u32 bearer_id = cb->args[2]; args 2482 net/tipc/node.c int done = cb->args[0]; args 2526 net/tipc/node.c cb->args[0] = done; args 2527 net/tipc/node.c cb->args[1] = prev_node; args 2528 net/tipc/node.c cb->args[2] = bearer_id; args 3366 net/tipc/socket.c struct rhashtable_iter *iter = (void *)cb->args[4]; args 3409 net/tipc/socket.c struct rhashtable_iter *iter = (void *)cb->args[4]; args 3417 net/tipc/socket.c cb->args[4] = (long)iter; args 3426 net/tipc/socket.c struct rhashtable_iter *hti = (void *)cb->args[4]; args 3591 net/tipc/socket.c u32 tsk_portid = cb->args[0]; args 3592 net/tipc/socket.c u32 last_publ = cb->args[1]; args 3593 net/tipc/socket.c u32 done = cb->args[2]; args 3634 net/tipc/socket.c cb->args[0] = tsk_portid; args 3635 net/tipc/socket.c cb->args[1] = last_publ; args 3636 net/tipc/socket.c cb->args[2] = done; args 447 net/tipc/udp_media.c u32 bid = cb->args[0]; args 448 net/tipc/udp_media.c u32 skip_cnt = cb->args[1]; args 529 net/tipc/udp_media.c cb->args[0] = bid; args 530 net/tipc/udp_media.c cb->args[1] = i; args 203 net/unix/diag.c s_slot = cb->args[0]; args 204 net/unix/diag.c num = s_num = cb->args[1]; args 231 net/unix/diag.c cb->args[0] = slot; args 232 net/unix/diag.c cb->args[1] = num; args 62 net/vmw_vsock/diag.c table = cb->args[0]; args 63 net/vmw_vsock/diag.c bucket = cb->args[1]; args 64 net/vmw_vsock/diag.c i = last_i = cb->args[2]; args 134 net/vmw_vsock/diag.c cb->args[0] = table; args 135 net/vmw_vsock/diag.c cb->args[1] = bucket; args 136 net/vmw_vsock/diag.c cb->args[2] = i; args 806 net/wireless/nl80211.c if (!cb->args[0]) { args 830 net/wireless/nl80211.c cb->args[0] = (*rdev)->wiphy_idx + 1; args 831 net/wireless/nl80211.c cb->args[1] = (*wdev)->identifier; args 834 net/wireless/nl80211.c struct wiphy *wiphy = wiphy_idx_to_wiphy(cb->args[0] - 1); args 843 net/wireless/nl80211.c if (tmp->identifier == cb->args[1]) { args 2513 net/wireless/nl80211.c struct nl80211_dump_wiphy_state *state = (void *)cb->args[0]; args 2530 net/wireless/nl80211.c cb->args[0] = (long)state; args 2585 net/wireless/nl80211.c kfree((void *)cb->args[0]); args 3291 net/wireless/nl80211.c int wp_start = cb->args[0]; args 3292 net/wireless/nl80211.c int if_start = cb->args[1]; args 3299 net/wireless/nl80211.c if (!cb->args[2]) { args 3315 net/wireless/nl80211.c cb->args[2] = filter_wiphy + 1; args 3317 net/wireless/nl80211.c cb->args[2] = -1; args 3318 net/wireless/nl80211.c } else if (cb->args[2] > 0) { args 3319 net/wireless/nl80211.c filter_wiphy = cb->args[2] - 1; args 3352 net/wireless/nl80211.c cb->args[0] = wp_idx; args 3353 net/wireless/nl80211.c cb->args[1] = if_idx; args 5284 net/wireless/nl80211.c int sta_idx = cb->args[2]; args 5322 net/wireless/nl80211.c cb->args[2] = sta_idx; args 6167 net/wireless/nl80211.c int path_idx = cb->args[2]; args 6203 net/wireless/nl80211.c cb->args[2] = path_idx; args 6366 net/wireless/nl80211.c int path_idx = cb->args[2]; args 6402 net/wireless/nl80211.c cb->args[2] = path_idx; args 7105 net/wireless/nl80211.c int err, reg_idx, start = cb->args[2]; args 7135 net/wireless/nl80211.c cb->args[2] = reg_idx; args 8748 net/wireless/nl80211.c int start = cb->args[2], idx = 0; args 8786 net/wireless/nl80211.c cb->args[2] = idx; args 8872 net/wireless/nl80211.c int survey_idx = cb->args[2]; args 8921 net/wireless/nl80211.c cb->args[2] = survey_idx; args 9792 net/wireless/nl80211.c if (cb->args[0]) { args 9797 net/wireless/nl80211.c phy_idx = cb->args[0] - 1; args 9827 net/wireless/nl80211.c cb->args[1] = (long)attrbuf[NL80211_ATTR_TESTDATA]; args 9830 net/wireless/nl80211.c if (cb->args[1]) { args 9831 net/wireless/nl80211.c data = nla_data((void *)cb->args[1]); args 9832 net/wireless/nl80211.c data_len = nla_len((void *)cb->args[1]); args 9875 net/wireless/nl80211.c cb->args[0] = phy_idx + 1; args 12991 net/wireless/nl80211.c if (cb->args[0]) { args 12993 net/wireless/nl80211.c struct wiphy *wiphy = wiphy_idx_to_wiphy(cb->args[0] - 1); args 13001 net/wireless/nl80211.c if (cb->args[1]) { args 13003 net/wireless/nl80211.c if (tmp->identifier == cb->args[1] - 1) { args 13079 net/wireless/nl80211.c cb->args[0] = (*rdev)->wiphy_idx + 1; args 13081 net/wireless/nl80211.c cb->args[1] = *wdev ? (*wdev)->identifier + 1 : 0; args 13082 net/wireless/nl80211.c cb->args[2] = vcmd_idx; args 13083 net/wireless/nl80211.c cb->args[3] = (unsigned long)data; args 13084 net/wireless/nl80211.c cb->args[4] = data_len; args 13110 net/wireless/nl80211.c vcmd_idx = cb->args[2]; args 13111 net/wireless/nl80211.c data = (void *)cb->args[3]; args 13112 net/wireless/nl80211.c data_len = cb->args[4]; args 13158 net/wireless/nl80211.c (unsigned long *)&cb->args[5]); args 57 net/wireless/wext-priv.c static int get_priv_size(__u16 args) args 59 net/wireless/wext-priv.c int num = args & IW_PRIV_SIZE_MASK; args 60 net/wireless/wext-priv.c int type = (args & IW_PRIV_TYPE_MASK) >> 12; args 65 net/wireless/wext-priv.c static int adjust_priv_size(__u16 args, struct iw_point *iwp) args 68 net/wireless/wext-priv.c int max = args & IW_PRIV_SIZE_MASK; args 69 net/wireless/wext-priv.c int type = (args & IW_PRIV_TYPE_MASK) >> 12; args 135 net/xdp/xsk_diag.c int num = 0, s_num = cb->args[0]; args 157 net/xdp/xsk_diag.c cb->args[0] = num; args 1000 net/xfrm/xfrm_user.c struct xfrm_state_walk *walk = (struct xfrm_state_walk *) &cb->args[1]; args 1004 net/xfrm/xfrm_user.c if (cb->args[0]) args 1013 net/xfrm/xfrm_user.c struct xfrm_state_walk *walk = (struct xfrm_state_walk *) &cb->args[1]; args 1017 net/xfrm/xfrm_user.c sizeof(cb->args) - sizeof(cb->args[0])); args 1024 net/xfrm/xfrm_user.c if (!cb->args[0]) { args 1046 net/xfrm/xfrm_user.c cb->args[0] = 1; args 1796 net/xfrm/xfrm_user.c struct xfrm_policy_walk *walk = (struct xfrm_policy_walk *)cb->args; args 1805 net/xfrm/xfrm_user.c struct xfrm_policy_walk *walk = (struct xfrm_policy_walk *)cb->args; args 1807 net/xfrm/xfrm_user.c BUILD_BUG_ON(sizeof(*walk) > sizeof(cb->args)); args 1816 net/xfrm/xfrm_user.c struct xfrm_policy_walk *walk = (struct xfrm_policy_walk *)cb->args; args 50 samples/bpf/tracex5_kern.c if (sd.args[2] == 512) { args 53 samples/bpf/tracex5_kern.c sd.args[0], sd.args[1], sd.args[2]); args 63 samples/bpf/tracex5_kern.c if (sd.args[2] > 128 && sd.args[2] <= 1024) { args 66 samples/bpf/tracex5_kern.c sd.args[0], sd.args[1], sd.args[2]); args 1760 samples/mic/mpssd/mpssd.c va_list args; args 1768 samples/mic/mpssd/mpssd.c va_start(args, format); args 1769 samples/mic/mpssd/mpssd.c vsprintf(buffer, format, args); args 1770 samples/mic/mpssd/mpssd.c va_end(args); args 28 samples/pidfd/pidfd-metadata.c static int do_child(void *args) args 31 samples/seccomp/bpf-direct.c #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) args 66 samples/seccomp/bpf-helper.h #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) args 68 samples/seccomp/bpf-helper.h #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32) args 90 samples/seccomp/bpf-helper.h #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32) args 93 samples/seccomp/bpf-helper.h #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) args 26 samples/seccomp/user-trap.c static int seccomp(unsigned int op, unsigned int flags, void *args) args 29 samples/seccomp/user-trap.c return syscall(__NR_seccomp, op, flags, args); args 120 samples/seccomp/user-trap.c if (!(req->data.args[3] & MS_BIND)) args 155 samples/seccomp/user-trap.c if (lseek(mem, req->data.args[0], SEEK_SET) < 0) { args 166 samples/seccomp/user-trap.c if (lseek(mem, req->data.args[1], SEEK_SET) < 0) { args 183 samples/seccomp/user-trap.c if (mount(source, target, NULL, req->data.args[3], NULL) < 0) { args 123 scripts/gcc-plugins/latent_entropy_plugin.c tree args __unused, args 76 scripts/gcc-plugins/randomize_layout_plugin.c static tree handle_randomize_layout_attr(tree *node, tree name, tree args, int flags, bool *no_add_attrs) args 119 scripts/gcc-plugins/randomize_layout_plugin.c static tree handle_randomize_considered_attr(tree *node, tree name, tree args, int flags, bool *no_add_attrs) args 129 scripts/gcc-plugins/randomize_layout_plugin.c static tree handle_randomize_performed_attr(tree *node, tree name, tree args, int flags, bool *no_add_attrs) args 53 scripts/gcc-plugins/structleak_plugin.c static tree handle_user_attribute(tree *node, tree name, tree args, int flags, bool *no_add_attrs) args 708 scripts/genksyms/genksyms.c va_list args; args 713 scripts/genksyms/genksyms.c va_start(args, fmt); args 714 scripts/genksyms/genksyms.c vfprintf(stderr, fmt, args); args 715 scripts/genksyms/genksyms.c va_end(args); args 33 scripts/insert-sys-cert.c #define info(format, args...) fprintf(stderr, "INFO: " format, ## args) args 34 scripts/insert-sys-cert.c #define warn(format, args...) fprintf(stdout, "WARNING: " format, ## args) args 35 scripts/insert-sys-cert.c #define err(format, args...) fprintf(stderr, "ERROR: " format, ## args) args 26 security/apparmor/include/lib.h #define AA_DEBUG(fmt, args...) \ args 29 security/apparmor/include/lib.h pr_debug_ratelimited("AppArmor: " fmt, ##args); \ args 34 security/apparmor/include/lib.h #define AA_BUG(X, args...) AA_BUG_FMT((X), "" args) args 36 security/apparmor/include/lib.h #define AA_BUG_FMT(X, fmt, args...) \ args 37 security/apparmor/include/lib.h WARN((X), "AppArmor WARN %s: (" #X "): " fmt, __func__, ##args) args 39 security/apparmor/include/lib.h #define AA_BUG_FMT(X, fmt, args...) args 42 security/apparmor/include/lib.h #define AA_ERROR(fmt, args...) \ args 43 security/apparmor/include/lib.h pr_err_ratelimited("AppArmor: " fmt, ##args) args 50 security/apparmor/include/lib.h char *aa_split_fqname(char *args, char **ns_name); args 107 security/apparmor/include/perms.h #define xcheck_ns_profile_profile(P1, P2, FN, args...) \ args 111 security/apparmor/include/perms.h ____e = FN((P1), (P2), args); \ args 115 security/apparmor/include/perms.h #define xcheck_ns_profile_label(P, L, FN, args...) \ args 119 security/apparmor/include/perms.h xcheck_ns_profile_profile((P), __p2, (FN), args)); \ args 122 security/apparmor/include/perms.h #define xcheck_ns_labels(L1, L2, FN, args...) \ args 125 security/apparmor/include/perms.h fn_for_each((L1), __p1, FN(__p1, (L2), args)); \ args 129 security/apparmor/include/perms.h #define xcheck_labels_profiles(L1, L2, FN, args...) \ args 130 security/apparmor/include/perms.h xcheck_ns_labels((L1), (L2), xcheck_ns_profile_label, (FN), args) args 15 security/apparmor/include/procattr.h int aa_setprocattr_changehat(char *args, size_t size, int flags); args 605 security/apparmor/lsm.c char *command, *largs = NULL, *args = value; args 614 security/apparmor/lsm.c if (args[size - 1] != '\0') { args 616 security/apparmor/lsm.c largs = args = kmalloc(size + 1, GFP_KERNEL); args 617 security/apparmor/lsm.c if (!args) args 619 security/apparmor/lsm.c memcpy(args, value, size); args 620 security/apparmor/lsm.c args[size] = '\0'; args 624 security/apparmor/lsm.c args = strim(args); args 625 security/apparmor/lsm.c command = strsep(&args, " "); args 626 security/apparmor/lsm.c if (!args) args 628 security/apparmor/lsm.c args = skip_spaces(args); args 629 security/apparmor/lsm.c if (!*args) args 632 security/apparmor/lsm.c arg_size = size - (args - (largs ? largs : (char *) value)); args 635 security/apparmor/lsm.c error = aa_setprocattr_changehat(args, arg_size, args 638 security/apparmor/lsm.c error = aa_setprocattr_changehat(args, arg_size, args 641 security/apparmor/lsm.c error = aa_change_profile(args, AA_CHANGE_NOFLAGS); args 643 security/apparmor/lsm.c error = aa_change_profile(args, AA_CHANGE_TEST); args 645 security/apparmor/lsm.c error = aa_change_profile(args, AA_CHANGE_STACK); args 650 security/apparmor/lsm.c error = aa_change_profile(args, AA_CHANGE_ONEXEC); args 652 security/apparmor/lsm.c error = aa_change_profile(args, (AA_CHANGE_ONEXEC | args 78 security/apparmor/procattr.c static char *split_token_from_name(const char *op, char *args, u64 *token) args 82 security/apparmor/procattr.c *token = simple_strtoull(args, &name, 16); args 83 security/apparmor/procattr.c if ((name == args) || *name != '^') { args 84 security/apparmor/procattr.c AA_ERROR("%s: Invalid input '%s'", op, args); args 102 security/apparmor/procattr.c int aa_setprocattr_changehat(char *args, size_t size, int flags) args 109 security/apparmor/procattr.c hat = split_token_from_name(OP_CHANGE_HAT, args, &token); args 125 security/apparmor/procattr.c char *end = args + size; args 810 security/integrity/ima/ima_policy.c substring_t *args, int lsm_rule, int audit_type) args 817 security/integrity/ima/ima_policy.c entry->lsm[lsm_rule].args_p = match_strdup(args); args 909 security/integrity/ima/ima_policy.c substring_t args[MAX_OPT_ARGS]; args 917 security/integrity/ima/ima_policy.c token = match_token(p, policy_tokens, args); args 976 security/integrity/ima/ima_policy.c ima_log_string(ab, "func", args[0].from); args 981 security/integrity/ima/ima_policy.c if (strcmp(args[0].from, "FILE_CHECK") == 0) args 984 security/integrity/ima/ima_policy.c else if (strcmp(args[0].from, "PATH_CHECK") == 0) args 986 security/integrity/ima/ima_policy.c else if (strcmp(args[0].from, "MODULE_CHECK") == 0) args 988 security/integrity/ima/ima_policy.c else if (strcmp(args[0].from, "FIRMWARE_CHECK") == 0) args 990 security/integrity/ima/ima_policy.c else if ((strcmp(args[0].from, "FILE_MMAP") == 0) args 991 security/integrity/ima/ima_policy.c || (strcmp(args[0].from, "MMAP_CHECK") == 0)) args 993 security/integrity/ima/ima_policy.c else if (strcmp(args[0].from, "BPRM_CHECK") == 0) args 995 security/integrity/ima/ima_policy.c else if (strcmp(args[0].from, "CREDS_CHECK") == 0) args 997 security/integrity/ima/ima_policy.c else if (strcmp(args[0].from, "KEXEC_KERNEL_CHECK") == args 1000 security/integrity/ima/ima_policy.c else if (strcmp(args[0].from, "KEXEC_INITRAMFS_CHECK") args 1003 security/integrity/ima/ima_policy.c else if (strcmp(args[0].from, "POLICY_CHECK") == 0) args 1005 security/integrity/ima/ima_policy.c else if (strcmp(args[0].from, "KEXEC_CMDLINE") == 0) args 1013 security/integrity/ima/ima_policy.c ima_log_string(ab, "mask", args[0].from); args 1018 security/integrity/ima/ima_policy.c from = args[0].from; args 1033 security/integrity/ima/ima_policy.c entry->flags |= (*args[0].from == '^') args 1037 security/integrity/ima/ima_policy.c ima_log_string(ab, "fsmagic", args[0].from); args 1044 security/integrity/ima/ima_policy.c result = kstrtoul(args[0].from, 16, &entry->fsmagic); args 1049 security/integrity/ima/ima_policy.c ima_log_string(ab, "fsname", args[0].from); args 1051 security/integrity/ima/ima_policy.c entry->fsname = kstrdup(args[0].from, GFP_KERNEL); args 1060 security/integrity/ima/ima_policy.c ima_log_string(ab, "fsuuid", args[0].from); args 1067 security/integrity/ima/ima_policy.c result = uuid_parse(args[0].from, &entry->fsuuid); args 1087 security/integrity/ima/ima_policy.c args[0].from, entry->uid_op); args 1094 security/integrity/ima/ima_policy.c result = kstrtoul(args[0].from, 10, &lnum); args 1114 security/integrity/ima/ima_policy.c ima_log_string_op(ab, "fowner", args[0].from, args 1122 security/integrity/ima/ima_policy.c result = kstrtoul(args[0].from, 10, &lnum); args 1132 security/integrity/ima/ima_policy.c ima_log_string(ab, "obj_user", args[0].from); args 1133 security/integrity/ima/ima_policy.c result = ima_lsm_rule_init(entry, args, args 1138 security/integrity/ima/ima_policy.c ima_log_string(ab, "obj_role", args[0].from); args 1139 security/integrity/ima/ima_policy.c result = ima_lsm_rule_init(entry, args, args 1144 security/integrity/ima/ima_policy.c ima_log_string(ab, "obj_type", args[0].from); args 1145 security/integrity/ima/ima_policy.c result = ima_lsm_rule_init(entry, args, args 1150 security/integrity/ima/ima_policy.c ima_log_string(ab, "subj_user", args[0].from); args 1151 security/integrity/ima/ima_policy.c result = ima_lsm_rule_init(entry, args, args 1156 security/integrity/ima/ima_policy.c ima_log_string(ab, "subj_role", args[0].from); args 1157 security/integrity/ima/ima_policy.c result = ima_lsm_rule_init(entry, args, args 1162 security/integrity/ima/ima_policy.c ima_log_string(ab, "subj_type", args[0].from); args 1163 security/integrity/ima/ima_policy.c result = ima_lsm_rule_init(entry, args, args 1173 security/integrity/ima/ima_policy.c ima_log_string(ab, "appraise_type", args[0].from); args 1174 security/integrity/ima/ima_policy.c if ((strcmp(args[0].from, "imasig")) == 0) args 1177 security/integrity/ima/ima_policy.c strcmp(args[0].from, "imasig|modsig") == 0) args 1191 security/integrity/ima/ima_policy.c ima_log_string(ab, "pcr", args[0].from); args 1193 security/integrity/ima/ima_policy.c result = kstrtoint(args[0].from, 10, &entry->pcr); args 1201 security/integrity/ima/ima_policy.c ima_log_string(ab, "template", args[0].from); args 1206 security/integrity/ima/ima_policy.c template_desc = lookup_template_desc(args[0].from); args 175 security/keys/encrypted-keys/encrypted.c substring_t args[MAX_OPT_ARGS]; args 186 security/keys/encrypted-keys/encrypted.c key_cmd = match_token(keyword, key_tokens, args); args 195 security/keys/encrypted-keys/encrypted.c key_format = match_token(p, key_format_tokens, args); args 41 security/keys/keyctl_pkey.c substring_t args[MAX_OPT_ARGS]; args 48 security/keys/keyctl_pkey.c token = match_token(p, param_keys, args); args 53 security/keys/keyctl_pkey.c q = args[0].from; args 748 security/keys/trusted.c substring_t args[MAX_OPT_ARGS]; args 768 security/keys/trusted.c token = match_token(p, key_tokens, args); args 774 security/keys/trusted.c opt->pcrinfo_len = strlen(args[0].from) / 2; args 777 security/keys/trusted.c res = hex2bin(opt->pcrinfo, args[0].from, args 783 security/keys/trusted.c res = kstrtoul(args[0].from, 16, &handle); args 790 security/keys/trusted.c if (strlen(args[0].from) != 2 * SHA1_DIGEST_SIZE) args 792 security/keys/trusted.c res = hex2bin(opt->keyauth, args[0].from, args 798 security/keys/trusted.c if (strlen(args[0].from) != 2 * SHA1_DIGEST_SIZE) args 800 security/keys/trusted.c res = hex2bin(opt->blobauth, args[0].from, args 806 security/keys/trusted.c if (*args[0].from == '0') args 812 security/keys/trusted.c res = kstrtoul(args[0].from, 10, &lock); args 821 security/keys/trusted.c if (!strcmp(args[0].from, hash_algo_name[i])) { args 835 security/keys/trusted.c if (!tpm2 || strlen(args[0].from) != (2 * digest_len)) args 837 security/keys/trusted.c res = hex2bin(opt->policydigest, args[0].from, args 846 security/keys/trusted.c res = kstrtoul(args[0].from, 16, &handle); args 867 security/keys/trusted.c substring_t args[MAX_OPT_ARGS]; args 877 security/keys/trusted.c key_cmd = match_token(c, key_tokens, args); args 124 security/selinux/ss/hashtab.c int (*apply)(void *k, void *d, void *args), args 125 security/selinux/ss/hashtab.c void *args) args 137 security/selinux/ss/hashtab.c ret = apply(cur->key, cur->datum, args); args 82 security/selinux/ss/hashtab.h int (*apply)(void *k, void *d, void *args), args 83 security/selinux/ss/hashtab.h void *args); args 441 security/selinux/ss/services.c static int dump_masked_av_helper(void *k, void *d, void *args) args 444 security/selinux/ss/services.c char **permission_names = args; args 1930 security/selinux/ss/services.c struct convert_context_args *args; args 1939 security/selinux/ss/services.c args = p; args 1946 security/selinux/ss/services.c rc = string_to_context_struct(args->newp, NULL, s, args 1978 security/selinux/ss/services.c usrdatum = hashtab_search(args->newp->p_users.table, args 1979 security/selinux/ss/services.c sym_name(args->oldp, args 1987 security/selinux/ss/services.c role = hashtab_search(args->newp->p_roles.table, args 1988 security/selinux/ss/services.c sym_name(args->oldp, SYM_ROLES, oldc->role - 1)); args 1995 security/selinux/ss/services.c typdatum = hashtab_search(args->newp->p_types.table, args 1996 security/selinux/ss/services.c sym_name(args->oldp, args 2003 security/selinux/ss/services.c if (args->oldp->mls_enabled && args->newp->mls_enabled) { args 2004 security/selinux/ss/services.c rc = mls_convert_context(args->oldp, args->newp, oldc, newc); args 2007 security/selinux/ss/services.c } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { args 2015 security/selinux/ss/services.c oc = args->newp->ocontexts[OCON_ISID]; args 2030 security/selinux/ss/services.c if (!policydb_context_isvalid(args->newp, newc)) { args 2031 security/selinux/ss/services.c rc = convert_context_handle_invalid_context(args->state, oldc); args 2039 security/selinux/ss/services.c rc = context_struct_to_string(args->oldp, oldc, &s, &len); args 2092 security/selinux/ss/services.c struct convert_context_args args; args 2185 security/selinux/ss/services.c args.state = state; args 2186 security/selinux/ss/services.c args.oldp = policydb; args 2187 security/selinux/ss/services.c args.newp = newpolicydb; args 2190 security/selinux/ss/services.c convert_params.args = &args; args 3125 security/selinux/ss/services.c static int get_classes_callback(void *k, void *d, void *args) args 3128 security/selinux/ss/services.c char *name = k, **classes = args; args 3172 security/selinux/ss/services.c static int get_permissions_callback(void *k, void *d, void *args) args 3175 security/selinux/ss/services.c char *name = k, **perms = args; args 312 security/selinux/ss/sidtab.c rc = convert->func(context, dst_convert, convert->args); args 395 security/selinux/ss/sidtab.c convert->args); args 64 security/selinux/ss/sidtab.h int (*func)(struct context *oldc, struct context *newc, void *args); args 65 security/selinux/ss/sidtab.h void *args; args 245 security/tomoyo/audit.c va_list args) args 290 security/tomoyo/audit.c vsnprintf(buf + pos, len - pos, fmt, args); args 366 security/tomoyo/audit.c va_list args) args 375 security/tomoyo/audit.c buf = tomoyo_init_log(r, len, fmt, args); args 421 security/tomoyo/audit.c va_list args; args 424 security/tomoyo/audit.c va_start(args, fmt); args 425 security/tomoyo/audit.c len = vsnprintf((char *) &len, 1, fmt, args) + 1; args 426 security/tomoyo/audit.c va_end(args); args 427 security/tomoyo/audit.c va_start(args, fmt); args 428 security/tomoyo/audit.c tomoyo_write_log2(r, len, fmt, args); args 429 security/tomoyo/audit.c va_end(args); args 198 security/tomoyo/common.c va_list args; args 201 security/tomoyo/common.c va_start(args, fmt); args 202 security/tomoyo/common.c vsnprintf(buffer + pos, len - pos - 1, fmt, args); args 203 security/tomoyo/common.c va_end(args); args 280 security/tomoyo/common.c va_list args; args 287 security/tomoyo/common.c va_start(args, fmt); args 288 security/tomoyo/common.c len = vsnprintf(head->read_buf + pos, size, fmt, args) + 1; args 289 security/tomoyo/common.c va_end(args); args 2061 security/tomoyo/common.c va_list args; args 2068 security/tomoyo/common.c va_start(args, fmt); args 2069 security/tomoyo/common.c len = vsnprintf((char *) &len, 1, fmt, args) + 1; args 2070 security/tomoyo/common.c va_end(args); args 2072 security/tomoyo/common.c va_start(args, fmt); args 2073 security/tomoyo/common.c tomoyo_write_log2(r, len, fmt, args); args 2074 security/tomoyo/common.c va_end(args); args 2096 security/tomoyo/common.c va_start(args, fmt); args 2097 security/tomoyo/common.c entry.query = tomoyo_init_log(r, len, fmt, args); args 2098 security/tomoyo/common.c va_end(args); args 957 security/tomoyo/common.h va_list args); args 1071 security/tomoyo/common.h va_list args); args 16 sound/aoa/core/gpio-pmf.c struct pmf_args args = { .count = 1, .u[0].v = !on }; \ args 20 sound/aoa/core/gpio-pmf.c rc = pmf_call_function(rt->node, #name "-mute", &args); \ args 39 sound/aoa/core/gpio-pmf.c struct pmf_args args = { .count = 1, .u[0].v = !!on }; args 43 sound/aoa/core/gpio-pmf.c rc = pmf_call_function(rt->node, "hw-reset", &args); args 213 sound/aoa/core/gpio-pmf.c struct pmf_args args = { .count = 1, .u[0].p = &ret }; args 229 sound/aoa/core/gpio-pmf.c err = pmf_call_function(rt->node, name, &args); args 85 sound/aoa/soundbus/i2sbus/control.c struct pmf_args args = { .count = 0 }; args 89 sound/aoa/soundbus/i2sbus/control.c return pmf_call_one(i2sdev->enable, &args); args 113 sound/aoa/soundbus/i2sbus/control.c struct pmf_args args = { .count = 0 }; args 119 sound/aoa/soundbus/i2sbus/control.c return pmf_call_one(i2sdev->cell_disable, &args); args 123 sound/aoa/soundbus/i2sbus/control.c return pmf_call_one(i2sdev->cell_enable, &args); args 156 sound/aoa/soundbus/i2sbus/control.c struct pmf_args args = { .count = 0 }; args 162 sound/aoa/soundbus/i2sbus/control.c return pmf_call_one(i2sdev->clock_disable, &args); args 166 sound/aoa/soundbus/i2sbus/control.c return pmf_call_one(i2sdev->clock_enable, &args); args 53 sound/core/misc.c va_list args; args 66 sound/core/misc.c va_start(args, format); args 69 sound/core/misc.c vaf.va = &args; args 88 sound/core/misc.c vprintk(format, args); args 90 sound/core/misc.c va_end(args); args 163 sound/core/oss/pcm_plugin.h #define pdprintf(fmt, args...) printk(KERN_DEBUG "plugin: " fmt, ##args) args 165 sound/core/oss/pcm_plugin.h #define pdprintf(fmt, args...) args 159 sound/core/pcm_lib.c #define hw_ptr_error(substream, in_interrupt, reason, fmt, args...) \ args 164 sound/core/pcm_lib.c (in_interrupt) ? 'Q' : 'P', ##args); \ args 171 sound/core/pcm_lib.c #define hw_ptr_error(substream, fmt, args...) do { } while (0) args 1117 sound/core/pcm_lib.c va_list args; args 1118 sound/core/pcm_lib.c va_start(args, dep); args 1125 sound/core/pcm_lib.c va_end(args); args 1139 sound/core/pcm_lib.c va_end(args); args 1145 sound/core/pcm_lib.c dep = va_arg(args, int); args 1148 sound/core/pcm_lib.c va_end(args); args 46 sound/core/rawmidi.c #define rmidi_err(rmidi, fmt, args...) \ args 47 sound/core/rawmidi.c dev_err(&(rmidi)->dev, fmt, ##args) args 48 sound/core/rawmidi.c #define rmidi_warn(rmidi, fmt, args...) \ args 49 sound/core/rawmidi.c dev_warn(&(rmidi)->dev, fmt, ##args) args 50 sound/core/rawmidi.c #define rmidi_dbg(rmidi, fmt, args...) \ args 51 sound/core/rawmidi.c dev_dbg(&(rmidi)->dev, fmt, ##args) args 2185 sound/core/seq/seq_clientmgr.c va_list args; args 2216 sound/core/seq/seq_clientmgr.c va_start(args, name_fmt); args 2217 sound/core/seq/seq_clientmgr.c vsnprintf(client->name, sizeof(client->name), name_fmt, args); args 2218 sound/core/seq/seq_clientmgr.c va_end(args); args 103 sound/drivers/ml403-ac97cr.c #define PDEBUG(fac, fmt, args...) do { \ args 106 sound/drivers/ml403-ac97cr.c fmt, ##args); \ args 109 sound/drivers/ml403-ac97cr.c #define PDEBUG(fac, fmt, args...) /* nothing */ args 122 sound/isa/wavefront/wavefront_synth.c #define DPRINT(cond, args...) args 203 sound/pci/ac97/ac97_codec.c #define ac97_err(ac97, fmt, args...) \ args 204 sound/pci/ac97/ac97_codec.c dev_err((ac97)->bus->card->dev, fmt, ##args) args 205 sound/pci/ac97/ac97_codec.c #define ac97_warn(ac97, fmt, args...) \ args 206 sound/pci/ac97/ac97_codec.c dev_warn((ac97)->bus->card->dev, fmt, ##args) args 207 sound/pci/ac97/ac97_codec.c #define ac97_dbg(ac97, fmt, args...) \ args 208 sound/pci/ac97/ac97_codec.c dev_dbg((ac97)->bus->card->dev, fmt, ##args) args 79 sound/pci/als300.c #define snd_als300_dbgplay(format, args...) printk(KERN_ERR format, ##args) args 81 sound/pci/als300.c #define snd_als300_dbgplay(format, args...) args 48 sound/pci/asihpi/asihpi.c #define snd_printddd(format, args...) \ args 49 sound/pci/asihpi/asihpi.c __snd_printk(3, __FILE__, __LINE__, format, ##args) args 51 sound/pci/asihpi/asihpi.c #define snd_printddd(format, args...) do { } while (0) args 2336 sound/pci/cmipci.c struct cmipci_switch_args *args) args 2342 sound/pci/cmipci.c if (args->ac3_sensitive && cm->mixer_insensitive) { args 2347 sound/pci/cmipci.c if (args->is_byte) args 2348 sound/pci/cmipci.c val = inb(cm->iobase + args->reg); args 2350 sound/pci/cmipci.c val = snd_cmipci_read(cm, args->reg); args 2351 sound/pci/cmipci.c ucontrol->value.integer.value[0] = ((val & args->mask) == args->mask_on) ? 1 : 0; args 2359 sound/pci/cmipci.c struct cmipci_switch_args *args; args 2360 sound/pci/cmipci.c args = (struct cmipci_switch_args *)kcontrol->private_value; args 2361 sound/pci/cmipci.c if (snd_BUG_ON(!args)) args 2363 sound/pci/cmipci.c return _snd_cmipci_uswitch_get(kcontrol, ucontrol, args); args 2368 sound/pci/cmipci.c struct cmipci_switch_args *args) args 2375 sound/pci/cmipci.c if (args->ac3_sensitive && cm->mixer_insensitive) { args 2380 sound/pci/cmipci.c if (args->is_byte) args 2381 sound/pci/cmipci.c val = inb(cm->iobase + args->reg); args 2383 sound/pci/cmipci.c val = snd_cmipci_read(cm, args->reg); args 2384 sound/pci/cmipci.c change = (val & args->mask) != (ucontrol->value.integer.value[0] ? args 2385 sound/pci/cmipci.c args->mask_on : (args->mask & ~args->mask_on)); args 2387 sound/pci/cmipci.c val &= ~args->mask; args 2389 sound/pci/cmipci.c val |= args->mask_on; args 2391 sound/pci/cmipci.c val |= (args->mask & ~args->mask_on); args 2392 sound/pci/cmipci.c if (args->is_byte) args 2393 sound/pci/cmipci.c outb((unsigned char)val, cm->iobase + args->reg); args 2395 sound/pci/cmipci.c snd_cmipci_write(cm, args->reg, val); args 2404 sound/pci/cmipci.c struct cmipci_switch_args *args; args 2405 sound/pci/cmipci.c args = (struct cmipci_switch_args *)kcontrol->private_value; args 2406 sound/pci/cmipci.c if (snd_BUG_ON(!args)) args 2408 sound/pci/cmipci.c return _snd_cmipci_uswitch_put(kcontrol, ucontrol, args); args 717 sound/pci/hda/hda_codec.c va_list args; args 725 sound/pci/hda/hda_codec.c va_start(args, fmt); args 726 sound/pci/hda/hda_codec.c pcm->name = kvasprintf(GFP_KERNEL, fmt, args); args 727 sound/pci/hda/hda_codec.c va_end(args); args 722 sound/pci/hda/hda_local.h #define codec_err(codec, fmt, args...) \ args 723 sound/pci/hda/hda_local.h dev_err(hda_codec_dev(codec), fmt, ##args) args 724 sound/pci/hda/hda_local.h #define codec_warn(codec, fmt, args...) \ args 725 sound/pci/hda/hda_local.h dev_warn(hda_codec_dev(codec), fmt, ##args) args 726 sound/pci/hda/hda_local.h #define codec_info(codec, fmt, args...) \ args 727 sound/pci/hda/hda_local.h dev_info(hda_codec_dev(codec), fmt, ##args) args 728 sound/pci/hda/hda_local.h #define codec_dbg(codec, fmt, args...) \ args 729 sound/pci/hda/hda_local.h dev_dbg(hda_codec_dev(codec), fmt, ##args) args 31 sound/pci/korg1212/korg1212.c #define K1212_DEBUG_PRINTK(fmt,args...) printk(KERN_DEBUG fmt,##args) args 36 sound/pci/korg1212/korg1212.c #define K1212_DEBUG_PRINTK_VERBOSE(fmt,args...) printk(KERN_DEBUG fmt,##args) args 64 sound/pci/lola/lola.c #define verbose_debug(fmt, args...) \ args 65 sound/pci/lola/lola.c do { if (debug > 1) pr_debug(SFX fmt, ##args); } while (0) args 67 sound/pci/lola/lola.c #define verbose_debug(fmt, args...) args 150 sound/soc/fsl/imx-audmix.c struct of_phandle_args args; args 218 sound/soc/fsl/imx-audmix.c &args); args 224 sound/soc/fsl/imx-audmix.c cpu_pdev = of_find_device_by_node(args.np); args 232 sound/soc/fsl/imx-audmix.c fe_name_pref, args.np->full_name + 1); args 237 sound/soc/fsl/imx-audmix.c out_cpu_np = args.np; args 255 sound/soc/fsl/imx-audmix.c priv->dai[i].cpus->of_node = args.np; args 257 sound/soc/fsl/imx-audmix.c priv->dai[i].platforms->of_node = args.np; args 292 sound/soc/fsl/imx-audmix.c priv->dai_conf[i].of_node = args.np; args 119 sound/soc/generic/audio-graph-card.c struct of_phandle_args args; args 128 sound/soc/generic/audio-graph-card.c args.np = node; args 129 sound/soc/generic/audio-graph-card.c args.args[0] = graph_get_dai_id(ep); args 130 sound/soc/generic/audio-graph-card.c args.args_count = (of_graph_get_endpoint_count(node) > 1); args 151 sound/soc/generic/audio-graph-card.c ret = snd_soc_get_dai_name(&args, &dlc->dai_name); args 35 sound/soc/generic/simple-card.c struct of_phandle_args args; args 45 sound/soc/generic/simple-card.c ret = of_parse_phandle_with_args(node, DAI, CELL, 0, &args); args 72 sound/soc/generic/simple-card.c dlc->of_node = args.np; args 75 sound/soc/generic/simple-card.c *is_single_link = !args.args_count; args 75 sound/soc/meson/axg-card.c struct of_phandle_args args; args 82 sound/soc/meson/axg-card.c "#sound-dai-cells", 0, &args); args 88 sound/soc/meson/axg-card.c *dai_of_node = args.np; args 90 sound/soc/meson/axg-card.c return snd_soc_get_dai_name(&args, dai_name); args 16 sound/soc/qcom/common.c struct of_phandle_args args; args 73 sound/soc/qcom/common.c "#sound-dai-cells", 0, &args); args 78 sound/soc/qcom/common.c link->cpus->of_node = args.np; args 79 sound/soc/qcom/common.c link->id = args.args[0]; args 1134 sound/soc/qcom/qdsp6/q6afe-dai.c struct of_phandle_args *args, args 1137 sound/soc/qcom/qdsp6/q6afe-dai.c int id = args->args[0]; args 911 sound/soc/qcom/qdsp6/q6asm-dai.c struct of_phandle_args args; args 919 sound/soc/qcom/qdsp6/q6asm-dai.c rc = of_parse_phandle_with_fixed_args(node, "iommus", 1, 0, &args); args 923 sound/soc/qcom/qdsp6/q6asm-dai.c pdata->sid = args.args[0] & SID_MASK_DEFAULT; args 176 sound/soc/rockchip/rk3288_hdmi_analog.c struct of_phandle_args args; args 219 sound/soc/rockchip/rk3288_hdmi_analog.c 0, 0, &args); args 226 sound/soc/rockchip/rk3288_hdmi_analog.c ret = snd_soc_get_dai_name(&args, &rk_dailink.codecs[0].dai_name); args 208 sound/soc/samsung/odroid.c struct of_phandle_args args = {}; args 264 sound/soc/samsung/odroid.c "#sound-dai-cells", i, &args); args 268 sound/soc/samsung/odroid.c if (!args.np) { args 274 sound/soc/samsung/odroid.c ret = snd_soc_get_dai_name(&args, &link->cpus->dai_name); args 275 sound/soc/samsung/odroid.c of_node_put(args.np); args 504 sound/soc/samsung/tm2_wm5110.c struct of_phandle_args args; args 552 sound/soc/samsung/tm2_wm5110.c struct of_phandle_args args; args 555 sound/soc/samsung/tm2_wm5110.c cells_name, i, &args); args 556 sound/soc/samsung/tm2_wm5110.c if (!args.np) { args 561 sound/soc/samsung/tm2_wm5110.c cpu_dai_node[i] = args.np; args 592 sound/soc/samsung/tm2_wm5110.c "audio-codec", 0, 1, &args); args 598 sound/soc/samsung/tm2_wm5110.c ret = snd_soc_get_dai_name(&args, &card->dai_link[i].codecs->dai_name); args 277 sound/soc/sh/fsi.c #define fsi_stream_handler_call(io, func, args...) \ args 280 sound/soc/sh/fsi.c (io)->handler->func(args)) args 419 sound/soc/soc-component.c struct of_phandle_args *args, args 424 sound/soc/soc-component.c args, dai_name); args 3338 sound/soc/soc-core.c int snd_soc_get_dai_name(struct of_phandle_args *args, args 3349 sound/soc/soc-core.c if (component_of_node != args->np) args 3352 sound/soc/soc-core.c ret = snd_soc_component_of_xlate_dai_name(pos, args, dai_name); args 3357 sound/soc/soc-core.c switch (args->args_count) { args 3362 sound/soc/soc-core.c id = args->args[0]; args 3398 sound/soc/soc-core.c struct of_phandle_args args; args 3402 sound/soc/soc-core.c "#sound-dai-cells", 0, &args); args 3406 sound/soc/soc-core.c ret = snd_soc_get_dai_name(&args, dai_name); args 3408 sound/soc/soc-core.c of_node_put(args.np); args 3452 sound/soc/soc-core.c struct of_phandle_args args; args 3480 sound/soc/soc-core.c index, &args); args 3483 sound/soc/soc-core.c component->of_node = args.np; args 3484 sound/soc/soc-core.c ret = snd_soc_get_dai_name(&args, &component->dai_name); args 163 sound/soc/soc-dapm.c va_list args; args 173 sound/soc/soc-dapm.c va_start(args, fmt); args 174 sound/soc/soc-dapm.c vsnprintf(buf, PAGE_SIZE, fmt, args); args 176 sound/soc/soc-dapm.c va_end(args); args 1357 sound/soc/stm/stm32_sai_sub.c struct of_phandle_args args; args 1411 sound/soc/stm/stm32_sai_sub.c args.np = NULL; args 1412 sound/soc/stm/stm32_sai_sub.c ret = of_parse_phandle_with_fixed_args(np, "st,sync", 1, 0, &args); args 1419 sound/soc/stm/stm32_sai_sub.c if (args.np) { args 1420 sound/soc/stm/stm32_sai_sub.c if (args.np == np) { args 1422 sound/soc/stm/stm32_sai_sub.c of_node_put(args.np); args 1426 sound/soc/stm/stm32_sai_sub.c sai->np_sync_provider = of_get_parent(args.np); args 1430 sound/soc/stm/stm32_sai_sub.c of_node_put(args.np); args 1439 sound/soc/stm/stm32_sai_sub.c of_node_put(args.np); args 1444 sound/soc/stm/stm32_sai_sub.c sai->synci = args.args[0]; args 1448 sound/soc/stm/stm32_sai_sub.c of_node_put(args.np); args 1452 sound/soc/stm/stm32_sai_sub.c if (of_property_match_string(args.np, "compatible", args 1456 sound/soc/stm/stm32_sai_sub.c if (of_property_match_string(args.np, "compatible", args 1462 sound/soc/stm/stm32_sai_sub.c of_node_put(args.np); args 1468 sound/soc/stm/stm32_sai_sub.c pdev->name, args.np->full_name); args 1471 sound/soc/stm/stm32_sai_sub.c of_node_put(args.np); args 1799 sound/soc/ti/davinci-mcasp.c pdata->tx_dma_channel = dma_spec.args[0]; args 1812 sound/soc/ti/davinci-mcasp.c pdata->rx_dma_channel = dma_spec.args[0]; args 414 sound/soc/zte/zx-tdm.c dma_reg_offset = out_args.args[0]; args 415 sound/soc/zte/zx-tdm.c dma_mask = out_args.args[1]; args 10 sound/usb/debug.h #define hwc_debug(fmt, args...) printk(KERN_DEBUG fmt, ##args) args 12 sound/usb/debug.h #define hwc_debug(fmt, args...) do { } while(0) args 62 sound/usb/usbaudio.h #define usb_audio_err(chip, fmt, args...) \ args 63 sound/usb/usbaudio.h dev_err(&(chip)->dev->dev, fmt, ##args) args 64 sound/usb/usbaudio.h #define usb_audio_warn(chip, fmt, args...) \ args 65 sound/usb/usbaudio.h dev_warn(&(chip)->dev->dev, fmt, ##args) args 66 sound/usb/usbaudio.h #define usb_audio_info(chip, fmt, args...) \ args 67 sound/usb/usbaudio.h dev_info(&(chip)->dev->dev, fmt, ##args) args 68 sound/usb/usbaudio.h #define usb_audio_dbg(chip, fmt, args...) \ args 69 sound/usb/usbaudio.h dev_dbg(&(chip)->dev->dev, fmt, ##args) args 294 tools/arch/s390/include/uapi/asm/ptrace.h unsigned long args[1]; args 98 tools/bpf/bpf_dbg.c int (*func)(char *args); args 355 tools/bpf/bpftool/btf.c const char *fmt, va_list args) args 357 tools/bpf/bpftool/btf.c vfprintf(stdout, fmt, args); args 84 tools/bpf/bpftool/main.c const char *format, va_list args) args 86 tools/bpf/bpftool/main.c return vfprintf(stderr, format, args); args 84 tools/bpf/bpftool/xlated_dumper.c va_list args; args 86 tools/bpf/bpftool/xlated_dumper.c va_start(args, fmt); args 87 tools/bpf/bpftool/xlated_dumper.c vprintf(fmt, args); args 88 tools/bpf/bpftool/xlated_dumper.c va_end(args); args 95 tools/bpf/bpftool/xlated_dumper.c va_list args; args 97 tools/bpf/bpftool/xlated_dumper.c va_start(args, fmt); args 98 tools/bpf/bpftool/xlated_dumper.c vsnprintf(buf, sizeof(buf), fmt, args); args 99 tools/bpf/bpftool/xlated_dumper.c va_end(args); args 127 tools/bpf/bpftool/xlated_dumper.c va_list args; args 129 tools/bpf/bpftool/xlated_dumper.c va_start(args, fmt); args 134 tools/bpf/bpftool/xlated_dumper.c jsonw_vprintf_enquote(json_wtr, chomped_fmt, args); args 135 tools/bpf/bpftool/xlated_dumper.c va_end(args); args 103 tools/include/linux/kernel.h int vscnprintf(char *buf, size_t size, const char *fmt, va_list args); args 3316 tools/include/uapi/linux/bpf.h __u32 args[4]; /* Optionally passed to bpf program */ args 3469 tools/include/uapi/linux/bpf.h __u64 args[0]; args 309 tools/include/uapi/linux/kvm.h __u64 args[6]; args 359 tools/include/uapi/linux/kvm.h __u64 args[9]; args 712 tools/include/uapi/linux/kvm.h __u64 args[4]; args 31 tools/laptop/dslm/dslm.c unsigned char args[4] = {WIN_CHECKPOWERMODE1,0,0,0}; args 34 tools/laptop/dslm/dslm.c if (ioctl(fd, HDIO_DRIVE_CMD, &args) args 35 tools/laptop/dslm/dslm.c && (args[0] = WIN_CHECKPOWERMODE2) /* try again with 0x98 */ args 36 tools/laptop/dslm/dslm.c && ioctl(fd, HDIO_DRIVE_CMD, &args)) { args 37 tools/laptop/dslm/dslm.c if (errno != EIO || args[0] != 0 || args[1] != 0) { args 42 tools/laptop/dslm/dslm.c state = (args[2] == 255) ? 1 : 0; args 9 tools/lib/api/debug.c va_list args; args 12 tools/lib/api/debug.c va_start(args, format); args 13 tools/lib/api/debug.c err = vfprintf(stderr, format, args); args 14 tools/lib/api/debug.c va_end(args); args 118 tools/lib/bpf/btf.h typedef void (*btf_dump_printf_fn_t)(void *ctx, const char *fmt, va_list args); args 112 tools/lib/bpf/btf_dump.c va_list args; args 114 tools/lib/bpf/btf_dump.c va_start(args, fmt); args 115 tools/lib/bpf/btf_dump.c d->printf_fn(d->opts.ctx, fmt, args); args 116 tools/lib/bpf/btf_dump.c va_end(args); args 70 tools/lib/bpf/libbpf.c va_list args) args 75 tools/lib/bpf/libbpf.c return vfprintf(stderr, format, args); args 91 tools/lib/bpf/libbpf.c va_list args; args 96 tools/lib/bpf/libbpf.c va_start(args, format); args 97 tools/lib/bpf/libbpf.c __libbpf_pr(level, format, args); args 98 tools/lib/bpf/libbpf.c va_end(args); args 922 tools/lib/traceevent/event-parse.c while (arg->func.args) { args 923 tools/lib/traceevent/event-parse.c farg = arg->func.args; args 924 tools/lib/traceevent/event-parse.c arg->func.args = farg->next; args 3022 tools/lib/traceevent/event-parse.c next_arg = &(arg->func.args); args 3215 tools/lib/traceevent/event-parse.c int args = 0; args 3239 tools/lib/traceevent/event-parse.c args++; args 3265 tools/lib/traceevent/event-parse.c return args; args 3288 tools/lib/traceevent/event-parse.c event->print_fmt.args = NULL; args 3314 tools/lib/traceevent/event-parse.c ret = event_read_print_args(event, &event->print_fmt.args); args 4198 tools/lib/traceevent/event-parse.c unsigned long long *args; args 4213 tools/lib/traceevent/event-parse.c farg = arg->func.args; args 4217 tools/lib/traceevent/event-parse.c args = malloc(sizeof(*args) * func_handle->nr_args); args 4218 tools/lib/traceevent/event-parse.c if (!args) args 4226 tools/lib/traceevent/event-parse.c args[i] = eval_num_arg(data, size, event, farg); args 4246 tools/lib/traceevent/event-parse.c args[i] = (uintptr_t)string->str; args 4262 tools/lib/traceevent/event-parse.c ret = (*func_handle->func)(s, args); args 4264 tools/lib/traceevent/event-parse.c free(args); args 4277 tools/lib/traceevent/event-parse.c static void free_args(struct tep_print_arg *args) args 4281 tools/lib/traceevent/event-parse.c while (args) { args 4282 tools/lib/traceevent/event-parse.c next = args->next; args 4284 tools/lib/traceevent/event-parse.c free_arg(args); args 4285 tools/lib/traceevent/event-parse.c args = next; args 4293 tools/lib/traceevent/event-parse.c struct tep_print_arg *args, *arg, **next; args 4322 tools/lib/traceevent/event-parse.c args = alloc_arg(); args 4323 tools/lib/traceevent/event-parse.c if (!args) { args 4328 tools/lib/traceevent/event-parse.c arg = args; args 4468 tools/lib/traceevent/event-parse.c return args; args 4471 tools/lib/traceevent/event-parse.c free_args(args); args 4957 tools/lib/traceevent/event-parse.c struct tep_print_arg *arg = print_fmt->args; args 4958 tools/lib/traceevent/event-parse.c struct tep_print_arg *args = NULL; args 4980 tools/lib/traceevent/event-parse.c args = make_bprint_args(bprint_fmt, data, size, event); args 4981 tools/lib/traceevent/event-parse.c arg = args; args 5209 tools/lib/traceevent/event-parse.c if (args) { args 5210 tools/lib/traceevent/event-parse.c free_args(args); args 5660 tools/lib/traceevent/event-parse.c va_list args; args 5667 tools/lib/traceevent/event-parse.c va_start(args, fmt); args 5682 tools/lib/traceevent/event-parse.c va_arg(args, char*), &type); args 5686 tools/lib/traceevent/event-parse.c va_arg(args, int), &type); args 5696 tools/lib/traceevent/event-parse.c va_end(args); args 5929 tools/lib/traceevent/event-parse.c static void print_args(struct tep_print_arg *args) args 5934 tools/lib/traceevent/event-parse.c switch (args->type) { args 5939 tools/lib/traceevent/event-parse.c printf("%s", args->atom.atom); args 5942 tools/lib/traceevent/event-parse.c printf("REC->%s", args->field.name); args 5946 tools/lib/traceevent/event-parse.c print_args(args->flags.field); args 5947 tools/lib/traceevent/event-parse.c printf(", %s, ", args->flags.delim); args 5949 tools/lib/traceevent/event-parse.c print_fields(&s, args->flags.flags); args 5956 tools/lib/traceevent/event-parse.c print_args(args->symbol.field); args 5959 tools/lib/traceevent/event-parse.c print_fields(&s, args->symbol.symbols); args 5966 tools/lib/traceevent/event-parse.c print_args(args->hex.field); args 5968 tools/lib/traceevent/event-parse.c print_args(args->hex.size); args 5973 tools/lib/traceevent/event-parse.c print_args(args->hex.field); args 5975 tools/lib/traceevent/event-parse.c print_args(args->hex.size); args 5980 tools/lib/traceevent/event-parse.c print_args(args->int_array.field); args 5982 tools/lib/traceevent/event-parse.c print_args(args->int_array.count); args 5984 tools/lib/traceevent/event-parse.c print_args(args->int_array.el_size); args 5989 tools/lib/traceevent/event-parse.c printf("__get_str(%s)", args->string.string); args 5992 tools/lib/traceevent/event-parse.c printf("__get_bitmask(%s)", args->bitmask.bitmask); args 5995 tools/lib/traceevent/event-parse.c printf("(%s)", args->typecast.type); args 5996 tools/lib/traceevent/event-parse.c print_args(args->typecast.item); args 5999 tools/lib/traceevent/event-parse.c if (strcmp(args->op.op, ":") == 0) args 6003 tools/lib/traceevent/event-parse.c print_args(args->op.left); args 6004 tools/lib/traceevent/event-parse.c printf(" %s ", args->op.op); args 6005 tools/lib/traceevent/event-parse.c print_args(args->op.right); args 6013 tools/lib/traceevent/event-parse.c if (args->next) { args 6015 tools/lib/traceevent/event-parse.c print_args(args->next); args 6290 tools/lib/traceevent/event-parse.c list = &event->print_fmt.args; args 6343 tools/lib/traceevent/event-parse.c if (PRINT_ARGS && event->print_fmt.args) args 6344 tools/lib/traceevent/event-parse.c print_args(event->print_fmt.args); args 6976 tools/lib/traceevent/event-parse.c free_args(event->print_fmt.args); args 234 tools/lib/traceevent/event-parse.h struct tep_print_arg *args; args 277 tools/lib/traceevent/event-parse.h struct tep_print_arg *args; args 323 tools/lib/traceevent/event-parse.h unsigned long long *args); args 22 tools/lib/traceevent/plugins/plugin_cfg80211.c process___le16_to_cpup(struct trace_seq *s, unsigned long long *args) args 24 tools/lib/traceevent/plugins/plugin_cfg80211.c uint16_t *val = (uint16_t *) (unsigned long) args[0]; args 34 tools/lib/traceevent/plugins/plugin_jbd2.c process_jbd2_dev_to_name(struct trace_seq *s, unsigned long long *args) args 36 tools/lib/traceevent/plugins/plugin_jbd2.c unsigned int dev = args[0]; args 43 tools/lib/traceevent/plugins/plugin_jbd2.c process_jiffies_to_msecs(struct trace_seq *s, unsigned long long *args) args 45 tools/lib/traceevent/plugins/plugin_jbd2.c unsigned long long jiffies = args[0]; args 442 tools/lib/traceevent/plugins/plugin_kvm.c process_is_writable_pte(struct trace_seq *s, unsigned long long *args) args 444 tools/lib/traceevent/plugins/plugin_kvm.c unsigned long pte = args[0]; args 411 tools/lib/traceevent/plugins/plugin_scsi.c unsigned long long *args) args 413 tools/lib/traceevent/plugins/plugin_scsi.c scsi_trace_parse_cdb(s, (unsigned char *) (unsigned long) args[1], args[2]); args 115 tools/lib/traceevent/plugins/plugin_xen.c unsigned long long *args) args 117 tools/lib/traceevent/plugins/plugin_xen.c unsigned int op = args[0]; args 155 tools/lib/traceevent/trace-seq.c trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) args 165 tools/lib/traceevent/trace-seq.c ret = vsnprintf(s->buffer + s->len, len, fmt, args); args 44 tools/lib/traceevent/trace-seq.h extern int trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) args 6 tools/lib/vsprintf.c int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) args 8 tools/lib/vsprintf.c int i = vsnprintf(buf, size, fmt, args); args 17 tools/lib/vsprintf.c va_list args; args 20 tools/lib/vsprintf.c va_start(args, fmt); args 21 tools/lib/vsprintf.c i = vsnprintf(buf, size, fmt, args); args 22 tools/lib/vsprintf.c va_end(args); args 30 tools/lib/vsprintf.c va_list args; args 33 tools/lib/vsprintf.c va_start(args, fmt); args 34 tools/lib/vsprintf.c i = vscnprintf(buf, size, fmt, args); args 35 tools/lib/vsprintf.c va_end(args); args 2830 tools/perf/builtin-script.c char *args; args 2849 tools/perf/builtin-script.c zfree(&s->args); args 2929 tools/perf/builtin-script.c desc->args = strdup(skip_spaces(p)); args 3003 tools/perf/builtin-script.c desc->args ? desc->args : ""); args 3206 tools/perf/builtin-script.c if (!desc->args) args 3209 tools/perf/builtin-script.c for (p = desc->args; *p; p++) args 253 tools/perf/builtin-trace.c struct tp_field args, ret; args 338 tools/perf/builtin-trace.c return __tp_field__init_ptr(&sc->args, sc->id.offset + sizeof(u64)); args 1002 tools/perf/builtin-trace.c struct tep_format_field *args; args 1268 tools/perf/builtin-trace.c struct augmented_arg *augmented_arg = arg->augmented.args; args 1276 tools/perf/builtin-trace.c arg->augmented.args = ((void *)arg->augmented.args) + consumed; args 1287 tools/perf/builtin-trace.c if (arg->augmented.args) args 1461 tools/perf/builtin-trace.c for (field = sc->args; field; field = field->next, ++idx) { args 1538 tools/perf/builtin-trace.c sc->args = sc->tp_format->format.fields; args 1544 tools/perf/builtin-trace.c if (sc->args && (!strcmp(sc->args->name, "__syscall_nr") || !strcmp(sc->args->name, "nr"))) { args 1545 tools/perf/builtin-trace.c sc->args = sc->args->next; args 1663 tools/perf/builtin-trace.c unsigned char *p = arg->args + sizeof(unsigned long) * idx; args 1704 tools/perf/builtin-trace.c unsigned char *args, void *augmented_args, int augmented_args_size, args 1711 tools/perf/builtin-trace.c .args = args, args 1714 tools/perf/builtin-trace.c .args = augmented_args, args 1731 tools/perf/builtin-trace.c if (sc->args != NULL) { args 1734 tools/perf/builtin-trace.c for (field = sc->args; field; args 1949 tools/perf/builtin-trace.c void *args; args 1968 tools/perf/builtin-trace.c args = perf_evsel__sc_tp_ptr(evsel, args, sample); args 1995 tools/perf/builtin-trace.c args, augmented_args, augmented_args_size, trace, thread); args 2031 tools/perf/builtin-trace.c void *args, *augmented_args = NULL; args 2046 tools/perf/builtin-trace.c args = perf_evsel__sc_tp_ptr(evsel, args, sample); args 2048 tools/perf/builtin-trace.c syscall__scnprintf_args(sc, msg, sizeof(msg), args, augmented_args, augmented_args_size, trace, thread); args 2724 tools/perf/builtin-trace.c if (perf_evsel__init_sc_tp_ptr_field(sys_enter, args)) args 2935 tools/perf/builtin-trace.c for (field = sc->args; field; field = field->next) { args 2952 tools/perf/builtin-trace.c for (field = sc->args, candidate_field = pair->args; args 3618 tools/perf/builtin-trace.c perf_evsel__init_sc_tp_ptr_field(evsel, args))) { args 3886 tools/perf/builtin-trace.c if (__tp_field__init_ptr(&sc->args, sc->id.offset + sizeof(u64))) args 54 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned long args[6]; args 72 tools/perf/examples/bpf/augmented_raw_syscalls.c struct syscall_enter_args args; args 90 tools/perf/examples/bpf/augmented_raw_syscalls.c static inline int augmented__output(void *ctx, struct augmented_args_payload *args, int len) args 93 tools/perf/examples/bpf/augmented_raw_syscalls.c return perf_event_output(ctx, &__augmented_syscalls__, BPF_F_CURRENT_CPU, args, len); args 124 tools/perf/examples/bpf/augmented_raw_syscalls.c int syscall_unaugmented(struct syscall_enter_args *args) args 136 tools/perf/examples/bpf/augmented_raw_syscalls.c int sys_enter_connect(struct syscall_enter_args *args) args 139 tools/perf/examples/bpf/augmented_raw_syscalls.c const void *sockaddr_arg = (const void *)args->args[1]; args 140 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int socklen = args->args[2]; args 141 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); args 151 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len + socklen); args 155 tools/perf/examples/bpf/augmented_raw_syscalls.c int sys_enter_sendto(struct syscall_enter_args *args) args 158 tools/perf/examples/bpf/augmented_raw_syscalls.c const void *sockaddr_arg = (const void *)args->args[4]; args 159 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int socklen = args->args[5]; args 160 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); args 170 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len + socklen); args 174 tools/perf/examples/bpf/augmented_raw_syscalls.c int sys_enter_open(struct syscall_enter_args *args) args 177 tools/perf/examples/bpf/augmented_raw_syscalls.c const void *filename_arg = (const void *)args->args[0]; args 178 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); args 185 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len); args 189 tools/perf/examples/bpf/augmented_raw_syscalls.c int sys_enter_openat(struct syscall_enter_args *args) args 192 tools/perf/examples/bpf/augmented_raw_syscalls.c const void *filename_arg = (const void *)args->args[1]; args 193 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); args 200 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len); args 204 tools/perf/examples/bpf/augmented_raw_syscalls.c int sys_enter_rename(struct syscall_enter_args *args) args 207 tools/perf/examples/bpf/augmented_raw_syscalls.c const void *oldpath_arg = (const void *)args->args[0], args 208 tools/perf/examples/bpf/augmented_raw_syscalls.c *newpath_arg = (const void *)args->args[1]; args 209 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args), oldpath_len; args 217 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len); args 221 tools/perf/examples/bpf/augmented_raw_syscalls.c int sys_enter_renameat(struct syscall_enter_args *args) args 224 tools/perf/examples/bpf/augmented_raw_syscalls.c const void *oldpath_arg = (const void *)args->args[1], args 225 tools/perf/examples/bpf/augmented_raw_syscalls.c *newpath_arg = (const void *)args->args[3]; args 226 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args), oldpath_len; args 234 tools/perf/examples/bpf/augmented_raw_syscalls.c return augmented__output(args, augmented_args, len); args 238 tools/perf/examples/bpf/augmented_raw_syscalls.c int sys_enter(struct syscall_enter_args *args) args 250 tools/perf/examples/bpf/augmented_raw_syscalls.c unsigned int len = sizeof(augmented_args->args); args 260 tools/perf/examples/bpf/augmented_raw_syscalls.c probe_read(&augmented_args->args, sizeof(augmented_args->args), args); args 267 tools/perf/examples/bpf/augmented_raw_syscalls.c bpf_tail_call(args, &syscalls_sys_enter, augmented_args->args.syscall_nr); args 274 tools/perf/examples/bpf/augmented_raw_syscalls.c int sys_exit(struct syscall_exit_args *args) args 281 tools/perf/examples/bpf/augmented_raw_syscalls.c probe_read(&exit_args, sizeof(exit_args), args); args 287 tools/perf/examples/bpf/augmented_raw_syscalls.c bpf_tail_call(args, &syscalls_sys_exit, exit_args.syscall_nr); args 39 tools/perf/examples/bpf/augmented_syscalls.c struct syscall_enter_##syscall##_args args; \ args 42 tools/perf/examples/bpf/augmented_syscalls.c int syscall_enter(syscall)(struct syscall_enter_##syscall##_args *args) \ args 46 tools/perf/examples/bpf/augmented_syscalls.c probe_read(&augmented_args.args, sizeof(augmented_args.args), args); \ args 49 tools/perf/examples/bpf/augmented_syscalls.c args->filename_ptr); \ args 55 tools/perf/examples/bpf/augmented_syscalls.c return perf_event_output(args, &__augmented_syscalls__, BPF_F_CURRENT_CPU, \ args 58 tools/perf/examples/bpf/augmented_syscalls.c int syscall_exit(syscall)(struct syscall_exit_args *args) \ args 111 tools/perf/examples/bpf/augmented_syscalls.c struct syscall_enter_##syscall##_args args; \ args 114 tools/perf/examples/bpf/augmented_syscalls.c int syscall_enter(syscall)(struct syscall_enter_##syscall##_args *args) \ args 118 tools/perf/examples/bpf/augmented_syscalls.c probe_read(&augmented_args.args, sizeof(augmented_args.args), args); \ args 123 tools/perf/examples/bpf/augmented_syscalls.c probe_read(&augmented_args.addr, addrlen, args->addr_ptr); \ args 125 tools/perf/examples/bpf/augmented_syscalls.c return perf_event_output(args, &__augmented_syscalls__, BPF_F_CURRENT_CPU, \ args 129 tools/perf/examples/bpf/augmented_syscalls.c int syscall_exit(syscall)(struct syscall_exit_args *args) \ args 35 tools/perf/examples/bpf/etcsnoop.c struct syscall_enter_##syscall##_args args; \ args 38 tools/perf/examples/bpf/etcsnoop.c int syscall_enter(syscall)(struct syscall_enter_##syscall##_args *args) \ args 42 tools/perf/examples/bpf/etcsnoop.c probe_read(&augmented_args.args, sizeof(augmented_args.args), args); \ args 45 tools/perf/examples/bpf/etcsnoop.c args->filename_ptr); \ args 49 tools/perf/examples/bpf/etcsnoop.c return perf_event_output(args, &__augmented_syscalls__, BPF_F_CURRENT_CPU, \ args 3 tools/perf/examples/bpf/hello.c int syscall_enter(openat)(void *args) args 28 tools/perf/examples/bpf/sys_enter_openat.c int syscall_enter(openat)(struct syscall_enter_openat_args *args) args 15 tools/perf/include/bpf/stdio.h perf_event_output(args, &__bpf_stdout__, BPF_F_CURRENT_CPU, \ args 13 tools/perf/lib/core.c va_list args) args 15 tools/perf/lib/core.c return vfprintf(stderr, format, args); args 23 tools/perf/lib/core.c va_list args; args 28 tools/perf/lib/core.c va_start(args, format); args 29 tools/perf/lib/core.c __libperf_pr(level, format, args); args 30 tools/perf/lib/core.c va_end(args); args 60 tools/perf/pmu-events/jevents.c va_list args; args 65 tools/perf/pmu-events/jevents.c va_start(args, fmt); args 67 tools/perf/pmu-events/jevents.c ret = vfprintf(stderr, fmt, args); args 69 tools/perf/pmu-events/jevents.c va_end(args); args 23 tools/perf/scripts/python/Perf-Trace-Util/Context.c static PyObject *perf_trace_context_common_pc(PyObject *obj, PyObject *args) args 29 tools/perf/scripts/python/Perf-Trace-Util/Context.c if (!PyArg_ParseTuple(args, "O", &context)) args 39 tools/perf/scripts/python/Perf-Trace-Util/Context.c PyObject *args) args 45 tools/perf/scripts/python/Perf-Trace-Util/Context.c if (!PyArg_ParseTuple(args, "O", &context)) args 55 tools/perf/scripts/python/Perf-Trace-Util/Context.c PyObject *args) args 61 tools/perf/scripts/python/Perf-Trace-Util/Context.c if (!PyArg_ParseTuple(args, "O", &context)) args 96 tools/perf/trace/beauty/beauty.h unsigned char *args; args 98 tools/perf/trace/beauty/beauty.h struct augmented_arg *args; args 57 tools/perf/trace/beauty/sockaddr.c struct sockaddr *sa = (struct sockaddr *)arg->augmented.args; args 72 tools/perf/trace/beauty/sockaddr.c if (arg->augmented.args) args 63 tools/perf/ui/browser.c void ui_browser__vprintf(struct ui_browser *browser __maybe_unused, const char *fmt, va_list args) args 65 tools/perf/ui/browser.c slsmg_vprintf(fmt, args); args 70 tools/perf/ui/browser.c va_list args; args 72 tools/perf/ui/browser.c va_start(args, fmt); args 73 tools/perf/ui/browser.c ui_browser__vprintf(browser, fmt, args); args 74 tools/perf/ui/browser.c va_end(args); args 213 tools/perf/ui/browser.c va_list args; args 217 tools/perf/ui/browser.c va_start(args, format); args 218 tools/perf/ui/browser.c err = vasprintf(&text, format, args); args 219 tools/perf/ui/browser.c va_end(args); args 222 tools/perf/ui/browser.c va_start(args, format); args 223 tools/perf/ui/browser.c ui_helpline__vpush(format, args); args 224 tools/perf/ui/browser.c va_end(args); args 48 tools/perf/ui/browser.h void ui_browser__vprintf(struct ui_browser *browser, const char *fmt, va_list args); args 89 tools/perf/ui/browsers/annotate.c va_list args; args 91 tools/perf/ui/browsers/annotate.c va_start(args, fmt); args 92 tools/perf/ui/browsers/annotate.c ui_browser__vprintf(browser, fmt, args); args 93 tools/perf/ui/browsers/annotate.c va_end(args); args 1161 tools/perf/ui/browsers/hists.c va_list args; args 1164 tools/perf/ui/browsers/hists.c va_start(args, fmt); args 1165 tools/perf/ui/browsers/hists.c len = va_arg(args, int); args 1166 tools/perf/ui/browsers/hists.c percent = va_arg(args, double); args 1167 tools/perf/ui/browsers/hists.c va_end(args); args 20 tools/perf/ui/gtk/hists.c va_list args; args 26 tools/perf/ui/gtk/hists.c va_start(args, fmt); args 27 tools/perf/ui/gtk/hists.c len = va_arg(args, int); args 28 tools/perf/ui/gtk/hists.c percent = va_arg(args, double); args 29 tools/perf/ui/gtk/hists.c va_end(args); args 31 tools/perf/ui/gtk/util.c static int perf_gtk__error(const char *format, va_list args) args 37 tools/perf/ui/gtk/util.c vasprintf(&msg, format, args) < 0) { args 39 tools/perf/ui/gtk/util.c vfprintf(stderr, format, args); args 57 tools/perf/ui/gtk/util.c static int perf_gtk__warning_info_bar(const char *format, va_list args) args 62 tools/perf/ui/gtk/util.c vasprintf(&msg, format, args) < 0) { args 64 tools/perf/ui/gtk/util.c vfprintf(stderr, format, args); args 78 tools/perf/ui/gtk/util.c static int perf_gtk__warning_statusbar(const char *format, va_list args) args 83 tools/perf/ui/gtk/util.c vasprintf(&msg, format, args) < 0) { args 85 tools/perf/ui/gtk/util.c vfprintf(stderr, format, args); args 250 tools/perf/ui/hist.c va_list args; args 255 tools/perf/ui/hist.c va_start(args, fmt); args 256 tools/perf/ui/hist.c len = va_arg(args, int); args 257 tools/perf/ui/hist.c percent = va_arg(args, double); args 259 tools/perf/ui/hist.c va_end(args); args 266 tools/perf/ui/hist.c va_list args; args 270 tools/perf/ui/hist.c va_start(args, fmt); args 271 tools/perf/ui/hist.c ret = vsnprintf(hpp->buf, hpp->size, fmt, args); args 272 tools/perf/ui/hist.c va_end(args); args 21 tools/perf/ui/libslang.h #define slsmg_printf(msg, args...) \ args 22 tools/perf/ui/libslang.h SLsmg_printf((char *)(msg), ##args) args 240 tools/perf/ui/tui/util.c static int __ui__warning(const char *title, const char *format, va_list args) args 244 tools/perf/ui/tui/util.c if (vasprintf(&s, format, args) > 0) { args 253 tools/perf/ui/tui/util.c vfprintf(stderr, format, args); args 257 tools/perf/ui/tui/util.c static int perf_tui__error(const char *format, va_list args) args 259 tools/perf/ui/tui/util.c return __ui__warning("Error:", format, args); args 262 tools/perf/ui/tui/util.c static int perf_tui__warning(const char *format, va_list args) args 264 tools/perf/ui/tui/util.c return __ui__warning("Warning:", format, args); args 9 tools/perf/ui/util.c static int perf_stdio__error(const char *format, va_list args) args 12 tools/perf/ui/util.c vfprintf(stderr, format, args); args 16 tools/perf/ui/util.c static int perf_stdio__warning(const char *format, va_list args) args 19 tools/perf/ui/util.c vfprintf(stderr, format, args); args 35 tools/perf/ui/util.c va_list args; args 37 tools/perf/ui/util.c va_start(args, format); args 38 tools/perf/ui/util.c ret = perf_eops->error(format, args); args 39 tools/perf/ui/util.c va_end(args); args 47 tools/perf/ui/util.c va_list args; args 49 tools/perf/ui/util.c va_start(args, format); args 50 tools/perf/ui/util.c ret = perf_eops->warning(format, args); args 51 tools/perf/ui/util.c va_end(args); args 17 tools/perf/ui/util.h int (*error)(const char *format, va_list args); args 18 tools/perf/ui/util.h int (*warning)(const char *format, va_list args); args 1171 tools/perf/util/annotate.c annotation_line__new(struct annotate_args *args, size_t privsize) args 1174 tools/perf/util/annotate.c struct evsel *evsel = args->evsel; args 1187 tools/perf/util/annotate.c al->offset = args->offset; args 1188 tools/perf/util/annotate.c al->line = strdup(args->line); args 1189 tools/perf/util/annotate.c al->line_nr = args->line_nr; args 1208 tools/perf/util/annotate.c static struct disasm_line *disasm_line__new(struct annotate_args *args) args 1212 tools/perf/util/annotate.c size_t privsize = args->privsize + offsetof(struct disasm_line, al); args 1214 tools/perf/util/annotate.c al = annotation_line__new(args, privsize); args 1221 tools/perf/util/annotate.c if (args->offset != -1) { args 1225 tools/perf/util/annotate.c disasm_line__init_ins(dl, args->arch, &args->ms); args 1489 tools/perf/util/annotate.c struct annotate_args *args, args 1492 tools/perf/util/annotate.c struct map *map = args->ms.map; args 1536 tools/perf/util/annotate.c args->offset = offset; args 1537 tools/perf/util/annotate.c args->line = parsed_line; args 1538 tools/perf/util/annotate.c args->line_nr = *line_nr; args 1539 tools/perf/util/annotate.c args->ms.sym = sym; args 1541 tools/perf/util/annotate.c dl = disasm_line__new(args); args 1712 tools/perf/util/annotate.c struct annotate_args *args) args 1715 tools/perf/util/annotate.c struct annotation_options *opts = args->options; args 1721 tools/perf/util/annotate.c struct map *map = args->ms.map; args 1822 tools/perf/util/annotate.c args->offset = -1; args 1823 tools/perf/util/annotate.c args->line = strdup(srcline); args 1824 tools/perf/util/annotate.c args->line_nr = 0; args 1825 tools/perf/util/annotate.c args->ms.sym = sym; args 1826 tools/perf/util/annotate.c dl = disasm_line__new(args); args 1833 tools/perf/util/annotate.c args->offset = pc; args 1834 tools/perf/util/annotate.c args->line = buf + prev_buf_size; args 1835 tools/perf/util/annotate.c args->line_nr = 0; args 1836 tools/perf/util/annotate.c args->ms.sym = sym; args 1837 tools/perf/util/annotate.c dl = disasm_line__new(args); args 1854 tools/perf/util/annotate.c struct annotate_args *args __maybe_unused) args 1860 tools/perf/util/annotate.c static int symbol__disassemble(struct symbol *sym, struct annotate_args *args) args 1862 tools/perf/util/annotate.c struct annotation_options *opts = args->options; args 1863 tools/perf/util/annotate.c struct map *map = args->ms.map; args 1888 tools/perf/util/annotate.c return symbol__disassemble_bpf(sym, args); args 1971 tools/perf/util/annotate.c if (symbol__parse_objdump_line(sym, file, args, &lineno) < 0) args 2080 tools/perf/util/annotate.c struct annotate_args args = { args 2093 tools/perf/util/annotate.c args.arch = arch = arch__find(arch_name); args 2108 tools/perf/util/annotate.c args.ms.map = map; args 2109 tools/perf/util/annotate.c args.ms.sym = sym; args 2112 tools/perf/util/annotate.c return symbol__disassemble(sym, &args); args 2383 tools/perf/util/annotate.c va_list args; args 2385 tools/perf/util/annotate.c va_start(args, fmt); args 2386 tools/perf/util/annotate.c vfprintf(fp, fmt, args); args 2387 tools/perf/util/annotate.c va_end(args); args 1717 tools/perf/util/auxtrace.c static bool kern_sym_match(struct sym_args *args, const char *name, char type) args 1721 tools/perf/util/auxtrace.c !strcmp(name, args->name) && args 1722 tools/perf/util/auxtrace.c ((args->global && isupper(type)) || args 1723 tools/perf/util/auxtrace.c (args->selected && ++(args->cnt) == args->idx) || args 1724 tools/perf/util/auxtrace.c (!args->global && !args->selected)); args 1729 tools/perf/util/auxtrace.c struct sym_args *args = arg; args 1731 tools/perf/util/auxtrace.c if (args->started) { args 1732 tools/perf/util/auxtrace.c if (!args->size) args 1733 tools/perf/util/auxtrace.c args->size = start - args->start; args 1734 tools/perf/util/auxtrace.c if (args->selected) { args 1735 tools/perf/util/auxtrace.c if (args->size) args 1737 tools/perf/util/auxtrace.c } else if (kern_sym_match(args, name, type)) { args 1738 tools/perf/util/auxtrace.c args->duplicate = true; args 1741 tools/perf/util/auxtrace.c } else if (kern_sym_match(args, name, type)) { args 1742 tools/perf/util/auxtrace.c args->started = true; args 1743 tools/perf/util/auxtrace.c args->start = start; args 1751 tools/perf/util/auxtrace.c struct sym_args *args = arg; args 1753 tools/perf/util/auxtrace.c if (kern_sym_match(args, name, type)) { args 1755 tools/perf/util/auxtrace.c ++args->cnt, start, type, name); args 1756 tools/perf/util/auxtrace.c args->near = true; args 1757 tools/perf/util/auxtrace.c } else if (args->near) { args 1758 tools/perf/util/auxtrace.c args->near = false; args 1782 tools/perf/util/auxtrace.c struct sym_args args = { args 1793 tools/perf/util/auxtrace.c err = kallsyms__parse("/proc/kallsyms", &args, find_kern_sym_cb); args 1799 tools/perf/util/auxtrace.c if (args.duplicate) { args 1801 tools/perf/util/auxtrace.c args.cnt = 0; args 1802 tools/perf/util/auxtrace.c kallsyms__parse("/proc/kallsyms", &args, print_kern_sym_cb); args 1809 tools/perf/util/auxtrace.c if (!args.started) { args 1814 tools/perf/util/auxtrace.c *start = args.start; args 1815 tools/perf/util/auxtrace.c *size = args.size; args 1823 tools/perf/util/auxtrace.c struct sym_args *args = arg; args 1828 tools/perf/util/auxtrace.c if (!args->started) { args 1829 tools/perf/util/auxtrace.c args->started = true; args 1830 tools/perf/util/auxtrace.c args->start = start; args 1833 tools/perf/util/auxtrace.c args->size = round_up(start, page_size) + page_size - args->start; args 1840 tools/perf/util/auxtrace.c struct sym_args args = { .started = false }; args 1843 tools/perf/util/auxtrace.c err = kallsyms__parse("/proc/kallsyms", &args, find_entire_kern_cb); args 1844 tools/perf/util/auxtrace.c if (err < 0 || !args.started) { args 1849 tools/perf/util/auxtrace.c filt->addr = args.start; args 1850 tools/perf/util/auxtrace.c filt->size = args.size; args 33 tools/perf/util/bpf-loader.c const char *fmt, va_list args) args 35 tools/perf/util/bpf-loader.c return veprintf(1, verbose, pr_fmt(fmt), args); args 451 tools/perf/util/bpf-loader.c err = bpf__gen_prologue(tev->args, tev->nargs, args 499 tools/perf/util/bpf-loader.c arg1 = &tev1->args[i]; args 500 tools/perf/util/bpf-loader.c arg2 = &tev2->args[i]; args 183 tools/perf/util/bpf-prologue.c struct probe_trace_arg *args, int nargs) args 188 tools/perf/util/bpf-prologue.c err = gen_ldx_reg_from_ctx(pos, BPF_REG_1, args[i].value, args 242 tools/perf/util/bpf-prologue.c struct probe_trace_arg *args, int nargs) args 247 tools/perf/util/bpf-prologue.c struct probe_trace_arg *arg = &args[i]; args 303 tools/perf/util/bpf-prologue.c int insn_sz = (args[i].ref) ? argtype_to_ldx_size(args[i].type) : BPF_DW; args 358 tools/perf/util/bpf-prologue.c int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, args 398 tools/perf/util/bpf-prologue.c struct probe_trace_arg_ref *ref = args[i].ref; args 400 tools/perf/util/bpf-prologue.c if (args[i].value[0] == '@') { args 403 tools/perf/util/bpf-prologue.c args[i].value, ref ? ref->offset : 0); args 435 tools/perf/util/bpf-prologue.c err = gen_prologue_fastpath(&pos, args, nargs); args 444 tools/perf/util/bpf-prologue.c err = gen_prologue_slowpath(&pos, args, nargs); args 18 tools/perf/util/bpf-prologue.h int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, args 25 tools/perf/util/bpf-prologue.h bpf__gen_prologue(struct probe_trace_arg *args __maybe_unused, args 14 tools/perf/util/color.c const char *fmt, va_list args, const char *trail) args 30 tools/perf/util/color.c r += vscnprintf(bf + r, size - r, fmt, args); args 40 tools/perf/util/color.c va_list args) args 56 tools/perf/util/color.c r += vfprintf(fp, fmt, args); args 63 tools/perf/util/color.c const char *fmt, va_list args) args 65 tools/perf/util/color.c return __color_vsnprintf(bf, size, color, fmt, args, NULL); args 68 tools/perf/util/color.c int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) args 70 tools/perf/util/color.c return __color_vfprintf(fp, color, fmt, args); args 76 tools/perf/util/color.c va_list args; args 79 tools/perf/util/color.c va_start(args, fmt); args 80 tools/perf/util/color.c r = color_vsnprintf(bf, size, color, fmt, args); args 81 tools/perf/util/color.c va_end(args); args 87 tools/perf/util/color.c va_list args; args 90 tools/perf/util/color.c va_start(args, fmt); args 91 tools/perf/util/color.c r = color_vfprintf(fp, color, fmt, args); args 92 tools/perf/util/color.c va_end(args); args 161 tools/perf/util/color.c va_list args; args 164 tools/perf/util/color.c va_start(args, fmt); args 165 tools/perf/util/color.c percent = va_arg(args, double); args 166 tools/perf/util/color.c va_end(args); args 172 tools/perf/util/color.c va_list args; args 177 tools/perf/util/color.c va_start(args, fmt); args 178 tools/perf/util/color.c len = va_arg(args, int); args 179 tools/perf/util/color.c percent = va_arg(args, double); args 180 tools/perf/util/color.c va_end(args); args 38 tools/perf/util/color.h const char *fmt, va_list args); args 39 tools/perf/util/color.h int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args); args 32 tools/perf/util/debug.c int veprintf(int level, int var, const char *fmt, va_list args) args 38 tools/perf/util/debug.c ui_helpline__vshow(fmt, args); args 40 tools/perf/util/debug.c ret = vfprintf(stderr, fmt, args); args 48 tools/perf/util/debug.c va_list args; args 51 tools/perf/util/debug.c va_start(args, fmt); args 52 tools/perf/util/debug.c ret = veprintf(level, var, fmt, args); args 53 tools/perf/util/debug.c va_end(args); args 58 tools/perf/util/debug.c static int veprintf_time(u64 t, const char *fmt, va_list args) args 69 tools/perf/util/debug.c ret += vfprintf(stderr, fmt, args); args 76 tools/perf/util/debug.c va_list args; args 79 tools/perf/util/debug.c va_start(args, fmt); args 80 tools/perf/util/debug.c ret = veprintf_time(t, fmt, args); args 81 tools/perf/util/debug.c va_end(args); args 93 tools/perf/util/debug.c va_list args; args 95 tools/perf/util/debug.c va_start(args, fmt); args 96 tools/perf/util/debug.c veprintf(1, verbose, fmt, args); args 97 tools/perf/util/debug.c va_end(args); args 103 tools/perf/util/debug.c va_list args; args 107 tools/perf/util/debug.c va_start(args, fmt); args 108 tools/perf/util/debug.c ret = vprintf(fmt, args); args 109 tools/perf/util/debug.c va_end(args); args 241 tools/perf/util/debug.c va_list args; \ args 244 tools/perf/util/debug.c va_start(args, fmt); \ args 245 tools/perf/util/debug.c ret = veprintf(__l, verbose, fmt, args); \ args 246 tools/perf/util/debug.c va_end(args); \ args 53 tools/perf/util/debug.h int veprintf(int level, int var, const char *fmt, va_list args); args 94 tools/perf/util/event.c struct process_symbol_args *args = arg; args 101 tools/perf/util/event.c type == 'A') || strcmp(name, args->name)) args 104 tools/perf/util/event.c args->start = start; args 111 tools/perf/util/event.c struct process_symbol_args args = { .name = symbol_name, }; args 113 tools/perf/util/event.c if (kallsyms__parse(kallsyms_filename, &args, find_symbol_cb) <= 0) args 116 tools/perf/util/event.c *addr = args.start; args 17 tools/perf/util/evsel_fprintf.c va_list args; args 27 tools/perf/util/evsel_fprintf.c va_start(args, fmt); args 28 tools/perf/util/evsel_fprintf.c ret += vfprintf(fp, fmt, args); args 29 tools/perf/util/evsel_fprintf.c va_end(args); args 144 tools/perf/util/intel-pt-decoder/intel-pt-log.c va_list args; args 149 tools/perf/util/intel-pt-decoder/intel-pt-log.c va_start(args, fmt); args 150 tools/perf/util/intel-pt-decoder/intel-pt-log.c vfprintf(f, fmt, args); args 151 tools/perf/util/intel-pt-decoder/intel-pt-log.c va_end(args); args 50 tools/perf/util/path.c va_list args; args 54 tools/perf/util/path.c va_start(args, fmt); args 55 tools/perf/util/path.c len = vsnprintf(pathname, PATH_MAX, fmt, args); args 56 tools/perf/util/path.c va_end(args); args 1542 tools/perf/util/pmu.c va_list args; args 1546 tools/perf/util/pmu.c va_start(args, fmt); args 1549 tools/perf/util/pmu.c ret = vfscanf(file, fmt, args); args 1552 tools/perf/util/pmu.c va_end(args); args 1684 tools/perf/util/probe-event.c pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); args 1685 tools/perf/util/probe-event.c if (pev->args == NULL) { args 1690 tools/perf/util/probe-event.c ret = parse_perf_probe_arg(argv[i + 1], &pev->args[i]); args 1692 tools/perf/util/probe-event.c is_c_varname(pev->args[i].var) && pev->point.retprobe) { args 1710 tools/perf/util/probe-event.c if (is_c_varname(pev->args[i].var) || args 1711 tools/perf/util/probe-event.c !strcmp(pev->args[i].var, PROBE_ARG_PARAMS) || args 1712 tools/perf/util/probe-event.c !strcmp(pev->args[i].var, PROBE_ARG_VARS)) args 1834 tools/perf/util/probe-event.c tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); args 1835 tools/perf/util/probe-event.c if (tev->args == NULL) { args 1845 tools/perf/util/probe-event.c tev->args[i].name = strdup(argv[i + 2]); args 1847 tools/perf/util/probe-event.c tev->args[i].value = strdup(p); args 1848 tools/perf/util/probe-event.c if (tev->args[i].name == NULL || tev->args[i].value == NULL) { args 1958 tools/perf/util/probe-event.c tmp = synthesize_perf_probe_arg(pev->args + i); args 2086 tools/perf/util/probe-event.c if (synthesize_probe_trace_arg(&tev->args[i], &buf) < 0) args 2190 tools/perf/util/probe-event.c pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); args 2191 tools/perf/util/probe-event.c if (pev->args == NULL) args 2194 tools/perf/util/probe-event.c if (tev->args[i].name) args 2195 tools/perf/util/probe-event.c pev->args[i].name = strdup(tev->args[i].name); args 2199 tools/perf/util/probe-event.c ret = synthesize_probe_trace_arg(&tev->args[i], &buf); args 2200 tools/perf/util/probe-event.c pev->args[i].name = strbuf_detach(&buf, NULL); args 2202 tools/perf/util/probe-event.c if (pev->args[i].name == NULL && ret >= 0) args 2223 tools/perf/util/probe-event.c zfree(&pev->args[i].name); args 2224 tools/perf/util/probe-event.c zfree(&pev->args[i].var); args 2225 tools/perf/util/probe-event.c zfree(&pev->args[i].type); args 2226 tools/perf/util/probe-event.c field = pev->args[i].field; args 2235 tools/perf/util/probe-event.c zfree(&pev->args); args 2296 tools/perf/util/probe-event.c dst->args = zalloc(sizeof(struct perf_probe_arg) * src->nargs); args 2297 tools/perf/util/probe-event.c if (!dst->args) args 2302 tools/perf/util/probe-event.c if (perf_probe_arg__copy(&dst->args[i], &src->args[i]) < 0) args 2322 tools/perf/util/probe-event.c zfree(&tev->args[i].name); args 2323 tools/perf/util/probe-event.c zfree(&tev->args[i].value); args 2324 tools/perf/util/probe-event.c zfree(&tev->args[i].type); args 2325 tools/perf/util/probe-event.c ref = tev->args[i].ref; args 2332 tools/perf/util/probe-event.c zfree(&tev->args); args 2474 tools/perf/util/probe-event.c buf = synthesize_perf_probe_arg(&pev->args[i]); args 2678 tools/perf/util/probe-event.c if (strglobmatch(tev->args[i].value, "[$@+-]*")) { args 2681 tools/perf/util/probe-event.c tev->args[i].value); args 2993 tools/perf/util/probe-event.c tev->args = zalloc(sizeof(struct probe_trace_arg) * args 2995 tools/perf/util/probe-event.c if (tev->args == NULL) args 2999 tools/perf/util/probe-event.c if (pev->args[i].name) args 3000 tools/perf/util/probe-event.c tev->args[i].name = args 3001 tools/perf/util/probe-event.c strdup_or_goto(pev->args[i].name, args 3004 tools/perf/util/probe-event.c tev->args[i].value = strdup_or_goto(pev->args[i].var, args 3006 tools/perf/util/probe-event.c if (pev->args[i].type) args 3007 tools/perf/util/probe-event.c tev->args[i].type = args 3008 tools/perf/util/probe-event.c strdup_or_goto(pev->args[i].type, args 3105 tools/perf/util/probe-event.c tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); args 3106 tools/perf/util/probe-event.c if (!tev->args) args 3110 tools/perf/util/probe-event.c copy_to_probe_trace_arg(&tev->args[i], &pev->args[i]); args 58 tools/perf/util/probe-event.h struct probe_trace_arg *args; /* Arguments */ args 98 tools/perf/util/probe-event.h struct perf_probe_arg *args; /* Arguments */ args 780 tools/perf/util/probe-file.c char *ret = NULL, **args; args 798 tools/perf/util/probe-file.c if (!note->args) args 801 tools/perf/util/probe-file.c if (note->args) { args 802 tools/perf/util/probe-file.c args = argv_split(note->args, &args_count); args 805 tools/perf/util/probe-file.c if (synthesize_sdt_probe_arg(&buf, i, args[i]) < 0) args 1188 tools/perf/util/probe-finder.c struct perf_probe_arg *args; args 1208 tools/perf/util/probe-finder.c vf->args[vf->nargs].var = (char *)dwarf_diename(die_mem); args 1209 tools/perf/util/probe-finder.c if (vf->args[vf->nargs].var == NULL) { args 1213 tools/perf/util/probe-finder.c pr_debug(" %s", vf->args[vf->nargs].var); args 1225 tools/perf/util/probe-finder.c struct perf_probe_arg *args) args 1230 tools/perf/util/probe-finder.c struct local_vars_finder vf = {.pf = pf, .args = args, .vars = false, args 1235 tools/perf/util/probe-finder.c if (strcmp(pf->pev->args[i].var, PROBE_ARG_VARS) == 0) args 1237 tools/perf/util/probe-finder.c else if (strcmp(pf->pev->args[i].var, PROBE_ARG_PARAMS) != 0) { args 1239 tools/perf/util/probe-finder.c args[n] = pf->pev->args[i]; args 1243 tools/perf/util/probe-finder.c pr_debug("Expanding %s into:", pf->pev->args[i].var); args 1274 tools/perf/util/probe-finder.c struct perf_probe_arg *args = NULL; args 1309 tools/perf/util/probe-finder.c args = zalloc(sizeof(struct perf_probe_arg) * MAX_PROBE_ARGS); args 1310 tools/perf/util/probe-finder.c if (args == NULL) { args 1315 tools/perf/util/probe-finder.c ret = expand_probe_args(sc_die, pf, args); args 1320 tools/perf/util/probe-finder.c tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); args 1321 tools/perf/util/probe-finder.c if (tev->args == NULL) { args 1328 tools/perf/util/probe-finder.c pf->pvar = &args[i]; args 1329 tools/perf/util/probe-finder.c pf->tvar = &tev->args[i]; args 1341 tools/perf/util/probe-finder.c free(args); args 72 tools/perf/util/python.c va_list args; args 76 tools/perf/util/python.c va_start(args, fmt); args 77 tools/perf/util/python.c ret = vfprintf(stderr, fmt, args); args 78 tools/perf/util/python.c va_end(args); args 554 tools/perf/util/python.c PyObject *args, PyObject *kwargs) args 559 tools/perf/util/python.c if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|s", args 623 tools/perf/util/python.c PyObject *args, PyObject *kwargs) args 628 tools/perf/util/python.c if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|iii", args 692 tools/perf/util/python.c PyObject *args, PyObject *kwargs) args 753 tools/perf/util/python.c if (!PyArg_ParseTupleAndKeywords(args, kwargs, args 807 tools/perf/util/python.c PyObject *args, PyObject *kwargs) args 816 tools/perf/util/python.c if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOii", kwlist, args 876 tools/perf/util/python.c PyObject *args, PyObject *kwargs __maybe_unused) args 882 tools/perf/util/python.c if (!PyArg_ParseTuple(args, "OO", &pcpus, &pthreads)) args 898 tools/perf/util/python.c PyObject *args, PyObject *kwargs) args 904 tools/perf/util/python.c if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|ii", kwlist, args 918 tools/perf/util/python.c PyObject *args, PyObject *kwargs) args 924 tools/perf/util/python.c if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|i", kwlist, &timeout)) args 937 tools/perf/util/python.c PyObject *args __maybe_unused, args 975 tools/perf/util/python.c PyObject *args, args 982 tools/perf/util/python.c if (!PyArg_ParseTuple(args, "O", &pevsel)) args 1008 tools/perf/util/python.c PyObject *args, PyObject *kwargs) args 1017 tools/perf/util/python.c if (!PyArg_ParseTupleAndKeywords(args, kwargs, "i|i", kwlist, args 1061 tools/perf/util/python.c PyObject *args, PyObject *kwargs) args 1067 tools/perf/util/python.c if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|OOii", kwlist, &group)) args 1254 tools/perf/util/python.c PyObject *args, PyObject *kwargs) args 1261 tools/perf/util/python.c if (!PyArg_ParseTupleAndKeywords(args, kwargs, "|ss", kwlist, args 196 tools/perf/util/scripting-engines/trace-event-perl.c struct tep_print_arg *args) args 198 tools/perf/util/scripting-engines/trace-event-perl.c if (args == NULL) args 201 tools/perf/util/scripting-engines/trace-event-perl.c switch (args->type) { args 206 tools/perf/util/scripting-engines/trace-event-perl.c args->atom.atom); args 211 tools/perf/util/scripting-engines/trace-event-perl.c cur_field_name = strdup(args->field.name); args 214 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->flags.field); args 215 tools/perf/util/scripting-engines/trace-event-perl.c define_flag_field(ev_name, cur_field_name, args->flags.delim); args 216 tools/perf/util/scripting-engines/trace-event-perl.c define_flag_values(args->flags.flags, ev_name, cur_field_name); args 219 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->symbol.field); args 221 tools/perf/util/scripting-engines/trace-event-perl.c define_symbolic_values(args->symbol.symbols, ev_name, args 226 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->hex.field); args 227 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->hex.size); args 230 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->int_array.field); args 231 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->int_array.count); args 232 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->int_array.el_size); args 241 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->typecast.item); args 244 tools/perf/util/scripting-engines/trace-event-perl.c if (strcmp(args->op.op, ":") == 0) args 246 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->op.left); args 247 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->op.right); args 256 tools/perf/util/scripting-engines/trace-event-perl.c if (args->next) args 257 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->next); args 369 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, handler, event->print_fmt.args); args 181 tools/perf/util/scripting-engines/trace-event-python.c static void call_object(PyObject *handler, PyObject *args, const char *die_msg) args 185 tools/perf/util/scripting-engines/trace-event-python.c retval = PyObject_CallObject(handler, args); args 191 tools/perf/util/scripting-engines/trace-event-python.c static void try_call_object(const char *handler_name, PyObject *args) args 197 tools/perf/util/scripting-engines/trace-event-python.c call_object(handler, args, handler_name); args 273 tools/perf/util/scripting-engines/trace-event-python.c struct tep_print_arg *args) args 275 tools/perf/util/scripting-engines/trace-event-python.c if (args == NULL) args 278 tools/perf/util/scripting-engines/trace-event-python.c switch (args->type) { args 283 tools/perf/util/scripting-engines/trace-event-python.c args->atom.atom); args 288 tools/perf/util/scripting-engines/trace-event-python.c cur_field_name = strdup(args->field.name); args 291 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->flags.field); args 293 tools/perf/util/scripting-engines/trace-event-python.c args->flags.delim); args 294 tools/perf/util/scripting-engines/trace-event-python.c define_values(TEP_PRINT_FLAGS, args->flags.flags, ev_name, args 298 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->symbol.field); args 300 tools/perf/util/scripting-engines/trace-event-python.c define_values(TEP_PRINT_SYMBOL, args->symbol.symbols, ev_name, args 305 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->hex.field); args 306 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->hex.size); args 309 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->int_array.field); args 310 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->int_array.count); args 311 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->int_array.el_size); args 316 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->typecast.item); args 319 tools/perf/util/scripting-engines/trace-event-python.c if (strcmp(args->op.op, ":") == 0) args 321 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->op.left); args 322 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->op.right); args 335 tools/perf/util/scripting-engines/trace-event-python.c if (args->next) args 336 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->next); args 821 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, handler_name, event->print_fmt.args); args 2037 tools/perf/util/symbol-elf.c const char *provider, *name, *args; args 2095 tools/perf/util/symbol-elf.c args = memchr(name, '\0', data + len - name); args 2103 tools/perf/util/symbol-elf.c if (args == NULL || data + len - args < 2 || args 2104 tools/perf/util/symbol-elf.c args[1] == ':' || args[1] == '\0') args 2105 tools/perf/util/symbol-elf.c tmp->args = NULL; args 2107 tools/perf/util/symbol-elf.c tmp->args = strdup(++args); args 2108 tools/perf/util/symbol-elf.c if (!tmp->args) { args 2146 tools/perf/util/symbol-elf.c zfree(&tmp->args); args 254 tools/perf/util/symbol.h char *args; args 710 tools/perf/util/synthetic-events.c struct synthesize_threads_arg *args = arg; args 712 tools/perf/util/synthetic-events.c __perf_event__synthesize_threads(args->tool, args->process, args 713 tools/perf/util/synthetic-events.c args->machine, args->mmap_data, args 714 tools/perf/util/synthetic-events.c args->dirent, args 715 tools/perf/util/synthetic-events.c args->start, args->num); args 725 tools/perf/util/synthetic-events.c struct synthesize_threads_arg *args = NULL; args 762 tools/perf/util/synthetic-events.c args = calloc(sizeof(*args), thread_nr); args 763 tools/perf/util/synthetic-events.c if (args == NULL) args 769 tools/perf/util/synthetic-events.c args[i].tool = tool; args 770 tools/perf/util/synthetic-events.c args[i].process = process; args 771 tools/perf/util/synthetic-events.c args[i].machine = machine; args 772 tools/perf/util/synthetic-events.c args[i].mmap_data = mmap_data; args 773 tools/perf/util/synthetic-events.c args[i].dirent = dirent; args 776 tools/perf/util/synthetic-events.c args[i].num = num_per_thread + 1; args 777 tools/perf/util/synthetic-events.c args[i].start = i * args[i].num; args 780 tools/perf/util/synthetic-events.c base = args[i-1].start + args[i-1].num; args 782 tools/perf/util/synthetic-events.c args[j].num = num_per_thread; args 783 tools/perf/util/synthetic-events.c args[j].start = base + (j - i) * args[i].num; args 788 tools/perf/util/synthetic-events.c synthesize_threads_worker, &args[i])) args 795 tools/perf/util/synthetic-events.c free(args); args 17 tools/perf/util/top.c #define SNPRINTF(buf, size, fmt, args...) \ args 19 tools/perf/util/top.c size_t r = snprintf(buf, size, fmt, ## args); \ args 340 tools/power/acpi/os_specific/service_layers/osunixxf.c va_list args; args 352 tools/power/acpi/os_specific/service_layers/osunixxf.c va_start(args, fmt); args 353 tools/power/acpi/os_specific/service_layers/osunixxf.c vfprintf(acpi_gbl_debug_file, fmt, args); args 354 tools/power/acpi/os_specific/service_layers/osunixxf.c va_end(args); args 363 tools/power/acpi/os_specific/service_layers/osunixxf.c va_start(args, fmt); args 364 tools/power/acpi/os_specific/service_layers/osunixxf.c vfprintf(acpi_gbl_output_file, fmt, args); args 365 tools/power/acpi/os_specific/service_layers/osunixxf.c va_end(args); args 384 tools/power/acpi/os_specific/service_layers/osunixxf.c void acpi_os_vprintf(const char *fmt, va_list args) args 399 tools/power/acpi/os_specific/service_layers/osunixxf.c vsnprintf(buffer, ACPI_VPRINTF_BUFFER_SIZE, fmt, args); args 63 tools/power/x86/intel-speed-select/isst-config.c va_list args; args 65 tools/power/x86/intel-speed-select/isst-config.c va_start(args, format); args 68 tools/power/x86/intel-speed-select/isst-config.c vprintf(format, args); args 70 tools/power/x86/intel-speed-select/isst-config.c va_end(args); args 99 tools/power/x86/intel-speed-select/isst-config.c va_list args; args 104 tools/power/x86/intel-speed-select/isst-config.c va_start(args, fmt); args 105 tools/power/x86/intel-speed-select/isst-config.c vsnprintf(path, sizeof(path), fmt, args); args 106 tools/power/x86/intel-speed-select/isst-config.c va_end(args); args 2530 tools/power/x86/turbostat/turbostat.c va_list args; args 2535 tools/power/x86/turbostat/turbostat.c va_start(args, fmt); args 2536 tools/power/x86/turbostat/turbostat.c vsnprintf(path, sizeof(path), fmt, args); args 2537 tools/power/x86/turbostat/turbostat.c va_end(args); args 5 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c const char *format, va_list args) args 8 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c vprintf(format, args); args 14 tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c vprintf("%s", args); args 51 tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c int oncpu(struct random_urandom_args *args) args 63 tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c key = bpf_get_stackid(args, &stackmap, BPF_F_USER_STACK); args 68 tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c bpf_get_stack(args, stack_p, max_len, args 117 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c if (skops->args[1] == BPF_TCP_CLOSE) { args 125 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c if (skops->args[0] == BPF_TCP_LISTEN) { args 57 tools/testing/selftests/bpf/test_btf.c const char *format, va_list args) args 59 tools/testing/selftests/bpf/test_btf.c return vfprintf(stderr, format, args); args 85 tools/testing/selftests/bpf/test_btf.c } args; args 3655 tools/testing/selftests/bpf/test_btf.c args.always_log); args 3689 tools/testing/selftests/bpf/test_btf.c if (*btf_log_buf && (err || args.always_log)) args 3705 tools/testing/selftests/bpf/test_btf.c if (args.raw_test_num) args 3706 tools/testing/selftests/bpf/test_btf.c return count_result(do_test_raw(args.raw_test_num)); args 3812 tools/testing/selftests/bpf/test_btf.c args.always_log); args 3853 tools/testing/selftests/bpf/test_btf.c if (*btf_log_buf && (err || args.always_log)) args 3900 tools/testing/selftests/bpf/test_btf.c args.always_log); args 3985 tools/testing/selftests/bpf/test_btf.c if (*btf_log_buf && (err || args.always_log)) args 4034 tools/testing/selftests/bpf/test_btf.c args.always_log); args 4075 tools/testing/selftests/bpf/test_btf.c if (*btf_log_buf && (err || args.always_log)) args 4092 tools/testing/selftests/bpf/test_btf.c if (args.get_info_test_num) args 4093 tools/testing/selftests/bpf/test_btf.c return count_result(do_test_get_info(args.get_info_test_num)); args 4283 tools/testing/selftests/bpf/test_btf.c if (args.file_test_num) args 4284 tools/testing/selftests/bpf/test_btf.c return count_result(do_test_file(args.file_test_num)); args 4785 tools/testing/selftests/bpf/test_btf.c args.always_log); args 4936 tools/testing/selftests/bpf/test_btf.c if (*btf_log_buf && (err || args.always_log)) args 6163 tools/testing/selftests/bpf/test_btf.c args.always_log); args 6171 tools/testing/selftests/bpf/test_btf.c if (*btf_log_buf && args.always_log) args 6229 tools/testing/selftests/bpf/test_btf.c if (*btf_log_buf && (err || args.always_log)) args 6248 tools/testing/selftests/bpf/test_btf.c if (args.info_raw_test_num) args 6249 tools/testing/selftests/bpf/test_btf.c return count_result(do_test_info_raw(args.info_raw_test_num)); args 6874 tools/testing/selftests/bpf/test_btf.c if (args.dedup_test_num) args 6875 tools/testing/selftests/bpf/test_btf.c return count_result(do_test_dedup(args.dedup_test_num)); args 6904 tools/testing/selftests/bpf/test_btf.c args.always_log = true; args 6907 tools/testing/selftests/bpf/test_btf.c args.file_test_num = atoi(optarg); args 6908 tools/testing/selftests/bpf/test_btf.c args.file_test = true; args 6911 tools/testing/selftests/bpf/test_btf.c args.raw_test_num = atoi(optarg); args 6912 tools/testing/selftests/bpf/test_btf.c args.raw_test = true; args 6915 tools/testing/selftests/bpf/test_btf.c args.get_info_test_num = atoi(optarg); args 6916 tools/testing/selftests/bpf/test_btf.c args.get_info_test = true; args 6919 tools/testing/selftests/bpf/test_btf.c args.pprint_test = true; args 6922 tools/testing/selftests/bpf/test_btf.c args.info_raw_test_num = atoi(optarg); args 6923 tools/testing/selftests/bpf/test_btf.c args.info_raw_test = true; args 6926 tools/testing/selftests/bpf/test_btf.c args.dedup_test_num = atoi(optarg); args 6927 tools/testing/selftests/bpf/test_btf.c args.dedup_test = true; args 6938 tools/testing/selftests/bpf/test_btf.c if (args.raw_test_num && args 6939 tools/testing/selftests/bpf/test_btf.c (args.raw_test_num < 1 || args 6940 tools/testing/selftests/bpf/test_btf.c args.raw_test_num > ARRAY_SIZE(raw_tests))) { args 6946 tools/testing/selftests/bpf/test_btf.c if (args.file_test_num && args 6947 tools/testing/selftests/bpf/test_btf.c (args.file_test_num < 1 || args 6948 tools/testing/selftests/bpf/test_btf.c args.file_test_num > ARRAY_SIZE(file_tests))) { args 6954 tools/testing/selftests/bpf/test_btf.c if (args.get_info_test_num && args 6955 tools/testing/selftests/bpf/test_btf.c (args.get_info_test_num < 1 || args 6956 tools/testing/selftests/bpf/test_btf.c args.get_info_test_num > ARRAY_SIZE(get_info_tests))) { args 6962 tools/testing/selftests/bpf/test_btf.c if (args.info_raw_test_num && args 6963 tools/testing/selftests/bpf/test_btf.c (args.info_raw_test_num < 1 || args 6964 tools/testing/selftests/bpf/test_btf.c args.info_raw_test_num > ARRAY_SIZE(info_raw_tests))) { args 6970 tools/testing/selftests/bpf/test_btf.c if (args.dedup_test_num && args 6971 tools/testing/selftests/bpf/test_btf.c (args.dedup_test_num < 1 || args 6972 tools/testing/selftests/bpf/test_btf.c args.dedup_test_num > ARRAY_SIZE(dedup_tests))) { args 6995 tools/testing/selftests/bpf/test_btf.c if (args.always_log) args 6998 tools/testing/selftests/bpf/test_btf.c if (args.raw_test) args 7001 tools/testing/selftests/bpf/test_btf.c if (args.get_info_test) args 7004 tools/testing/selftests/bpf/test_btf.c if (args.file_test) args 7007 tools/testing/selftests/bpf/test_btf.c if (args.pprint_test) args 7010 tools/testing/selftests/bpf/test_btf.c if (args.info_raw_test) args 7013 tools/testing/selftests/bpf/test_btf.c if (args.dedup_test) args 7016 tools/testing/selftests/bpf/test_btf.c if (args.raw_test || args.get_info_test || args.file_test || args 7017 tools/testing/selftests/bpf/test_btf.c args.pprint_test || args.info_raw_test || args.dedup_test) args 18 tools/testing/selftests/bpf/test_btf_dump.c void btf_dump_printf(void *ctx, const char *fmt, va_list args) args 20 tools/testing/selftests/bpf/test_btf_dump.c vfprintf(ctx, fmt, args); args 46 tools/testing/selftests/bpf/test_cgroup_attach.c #define debug(args...) printf(args) args 48 tools/testing/selftests/bpf/test_cgroup_attach.c #define debug(args...) args 41 tools/testing/selftests/bpf/test_libbpf_open.c const char *fmt, va_list args) args 47 tools/testing/selftests/bpf/test_libbpf_open.c return vfprintf(stderr, fmt, args); args 354 tools/testing/selftests/bpf/test_progs.c const char *format, va_list args) args 358 tools/testing/selftests/bpf/test_progs.c vprintf(format, args); args 21 tools/testing/selftests/cgroup/test_freezer.c #define debug(args...) fprintf(stderr, args) args 23 tools/testing/selftests/cgroup/test_freezer.c #define debug(args...) args 951 tools/testing/selftests/cgroup/test_memcontrol.c struct tcp_server_args args; args 953 tools/testing/selftests/cgroup/test_memcontrol.c if (pipe(args.ctl)) args 956 tools/testing/selftests/cgroup/test_memcontrol.c port = args.port = 1000 + rand() % 60000; args 958 tools/testing/selftests/cgroup/test_memcontrol.c pid = cg_run_nowait(memcg, tcp_server, &args); args 962 tools/testing/selftests/cgroup/test_memcontrol.c close(args.ctl[1]); args 963 tools/testing/selftests/cgroup/test_memcontrol.c if (read(args.ctl[0], &err, sizeof(err)) != sizeof(err)) args 965 tools/testing/selftests/cgroup/test_memcontrol.c close(args.ctl[0]); args 110 tools/testing/selftests/futex/functional/futex_requeue_pi.c struct thread_arg *args = (struct thread_arg *)arg; args 113 tools/testing/selftests/futex/functional/futex_requeue_pi.c info("Waiter %ld: running\n", args->id); args 117 tools/testing/selftests/futex/functional/futex_requeue_pi.c usleep(1000 * (long)args->id); args 123 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = futex_wait_requeue_pi(&f1, old_val, &f2, args->timeout, args 126 tools/testing/selftests/futex/functional/futex_requeue_pi.c info("waiter %ld woke with %d %s\n", args->id, args->ret, args 127 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret < 0 ? strerror(errno) : ""); args 129 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->ret < 0) { args 130 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->timeout && errno == ETIMEDOUT) args 131 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = 0; args 133 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = RET_ERROR; args 140 tools/testing/selftests/futex/functional/futex_requeue_pi.c info("Waiter %ld: exiting with %d\n", args->id, args->ret); args 141 tools/testing/selftests/futex/functional/futex_requeue_pi.c pthread_exit((void *)&args->ret); args 146 tools/testing/selftests/futex/functional/futex_requeue_pi.c struct thread_arg *args = (struct thread_arg *)arg; args 159 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->lock) { args 165 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, nr_wake, nr_requeue, args 167 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->ret < 0) { args 168 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = RET_ERROR; args 171 tools/testing/selftests/futex/functional/futex_requeue_pi.c task_count += args->ret; args 177 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = RET_ERROR; args 182 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->lock) args 185 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->ret > 0) args 186 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = task_count; args 188 tools/testing/selftests/futex/functional/futex_requeue_pi.c info("Waker: exiting with %d\n", args->ret); args 189 tools/testing/selftests/futex/functional/futex_requeue_pi.c pthread_exit((void *)&args->ret); args 194 tools/testing/selftests/futex/functional/futex_requeue_pi.c struct thread_arg *args = (struct thread_arg *)arg; args 209 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->lock) { args 217 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, args 220 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->ret < 0) args 221 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = -errno; args 223 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->lock) { args 229 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->ret < 0) { args 231 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = RET_ERROR; args 235 tools/testing/selftests/futex/functional/futex_requeue_pi.c task_count += args->ret; args 242 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = RET_ERROR; args 249 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->ret >= 0) args 250 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = task_count; args 252 tools/testing/selftests/futex/functional/futex_requeue_pi.c info("Waker: exiting with %d\n", args->ret); args 254 tools/testing/selftests/futex/functional/futex_requeue_pi.c pthread_exit((void *)&args->ret); args 259 tools/testing/selftests/futex/functional/futex_requeue_pi.c struct thread_arg *args = (struct thread_arg *)arg; args 262 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); args 263 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->ret) args 265 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = futex_wait(&wake_complete, wake_complete, NULL, args 270 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (args->ret || ret2) { args 272 tools/testing/selftests/futex/functional/futex_requeue_pi.c args->ret = RET_ERROR; args 275 tools/testing/selftests/futex/functional/futex_requeue_pi.c pthread_exit((void *)&args->ret); args 285 tools/testing/selftests/futex/functional/futex_requeue_pi.c struct thread_arg args[THREAD_MAX]; args 317 tools/testing/selftests/futex/functional/futex_requeue_pi.c args[i].id = i; args 318 tools/testing/selftests/futex/functional/futex_requeue_pi.c args[i].timeout = tsp; args 320 tools/testing/selftests/futex/functional/futex_requeue_pi.c if (create_rt_thread(&waiter[i], waiterfn, (void *)&args[i], args 337 tools/testing/selftests/futex/functional/futex_requeue_pi.c waiter_ret = &args[0].ret; args 131 tools/testing/selftests/futex/include/logging.h #define error(message, err, args...) \ args 136 tools/testing/selftests/futex/include/logging.h ERROR, strerror(err), ##args); \ args 138 tools/testing/selftests/futex/include/logging.h fprintf(stderr, "\t%s: "message, ERROR, ##args); \ args 142 tools/testing/selftests/futex/include/logging.h #define fail(message, args...) \ args 145 tools/testing/selftests/futex/include/logging.h fprintf(stderr, "\t%s: "message, FAIL, ##args); \ args 86 tools/testing/selftests/kselftest.h va_list args; args 88 tools/testing/selftests/kselftest.h va_start(args, msg); args 91 tools/testing/selftests/kselftest.h vprintf(msg, args); args 92 tools/testing/selftests/kselftest.h va_end(args); args 98 tools/testing/selftests/kselftest.h va_list args; args 102 tools/testing/selftests/kselftest.h va_start(args, msg); args 105 tools/testing/selftests/kselftest.h vprintf(msg, args); args 106 tools/testing/selftests/kselftest.h va_end(args); args 112 tools/testing/selftests/kselftest.h va_list args; args 116 tools/testing/selftests/kselftest.h va_start(args, msg); args 119 tools/testing/selftests/kselftest.h vprintf(msg, args); args 120 tools/testing/selftests/kselftest.h va_end(args); args 126 tools/testing/selftests/kselftest.h va_list args; args 130 tools/testing/selftests/kselftest.h va_start(args, msg); args 133 tools/testing/selftests/kselftest.h vprintf(msg, args); args 134 tools/testing/selftests/kselftest.h va_end(args); args 140 tools/testing/selftests/kselftest.h va_list args; args 144 tools/testing/selftests/kselftest.h va_start(args, msg); args 147 tools/testing/selftests/kselftest.h vprintf(msg, args); args 148 tools/testing/selftests/kselftest.h va_end(args); args 167 tools/testing/selftests/kselftest.h va_list args; args 169 tools/testing/selftests/kselftest.h va_start(args, msg); args 172 tools/testing/selftests/kselftest.h vprintf(msg, args); args 173 tools/testing/selftests/kselftest.h va_end(args); args 195 tools/testing/selftests/kselftest.h va_list args; args 197 tools/testing/selftests/kselftest.h va_start(args, msg); args 200 tools/testing/selftests/kselftest.h vprintf(msg, args); args 201 tools/testing/selftests/kselftest.h va_end(args); args 323 tools/testing/selftests/kvm/dirty_log_test.c cap.args[0] = 1; args 192 tools/testing/selftests/kvm/include/kvm_util.h uint64_t args[UCALL_MAX_ARGS]; args 86 tools/testing/selftests/kvm/lib/aarch64/ucall.c uc.args[i] = va_arg(va, uint64_t); args 279 tools/testing/selftests/kvm/lib/kvm_util.c struct kvm_dirty_log args = { .dirty_bitmap = log, .slot = slot }; args 282 tools/testing/selftests/kvm/lib/kvm_util.c ret = ioctl(vm->fd, KVM_GET_DIRTY_LOG, &args); args 290 tools/testing/selftests/kvm/lib/kvm_util.c struct kvm_clear_dirty_log args = { .dirty_bitmap = log, .slot = slot, args 295 tools/testing/selftests/kvm/lib/kvm_util.c ret = ioctl(vm->fd, KVM_CLEAR_DIRTY_LOG, &args); args 29 tools/testing/selftests/kvm/lib/s390x/ucall.c uc.args[i] = va_arg(va, uint64_t); args 31 tools/testing/selftests/kvm/lib/x86_64/ucall.c uc.args[i] = va_arg(va, uint64_t); args 52 tools/testing/selftests/kvm/lib/x86_64/vmx.c .args[0] = (unsigned long)&evmcs_ver args 112 tools/testing/selftests/kvm/x86_64/evmcs_test.c TEST_ASSERT(false, "%s at %s:%d", (const char *)uc.args[0], args 113 tools/testing/selftests/kvm/x86_64/evmcs_test.c __FILE__, uc.args[1]); args 124 tools/testing/selftests/kvm/x86_64/evmcs_test.c TEST_ASSERT(!strcmp((const char *)uc.args[0], "hello") && args 125 tools/testing/selftests/kvm/x86_64/evmcs_test.c uc.args[1] == stage, "Unexpected register values vmexit #%lx, got %lx", args 126 tools/testing/selftests/kvm/x86_64/evmcs_test.c stage, (ulong)uc.args[1]); args 44 tools/testing/selftests/kvm/x86_64/platform_info_test.c cap.args[0] = (int)enable; args 63 tools/testing/selftests/kvm/x86_64/platform_info_test.c TEST_ASSERT((uc.args[1] & MSR_PLATFORM_INFO_MAX_TURBO_RATIO) == args 155 tools/testing/selftests/kvm/x86_64/state_test.c TEST_ASSERT(false, "%s at %s:%d", (const char *)uc.args[0], args 156 tools/testing/selftests/kvm/x86_64/state_test.c __FILE__, uc.args[1]); args 167 tools/testing/selftests/kvm/x86_64/state_test.c TEST_ASSERT(!strcmp((const char *)uc.args[0], "hello") && args 168 tools/testing/selftests/kvm/x86_64/state_test.c uc.args[1] == stage, "Unexpected register values vmexit #%lx, got %lx", args 169 tools/testing/selftests/kvm/x86_64/state_test.c stage, (ulong)uc.args[1]); args 81 tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c TEST_ASSERT(false, "%s", (const char *)uc.args[0]); args 129 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c TEST_ASSERT(false, "%s at %s:%d", (const char *)uc.args[0], args 130 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c __FILE__, uc.args[1]); args 138 tools/testing/selftests/kvm/x86_64/vmx_dirty_log_test.c if (uc.args[1]) { args 153 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c TEST_ASSERT(false, "%s", (const char *)uc.args[0]); args 156 tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c report(uc.args[1]); args 120 tools/testing/selftests/net/nettest.c va_list args; args 128 tools/testing/selftests/net/nettest.c va_start(args, format); args 129 tools/testing/selftests/net/nettest.c vfprintf(stdout, format, args); args 130 tools/testing/selftests/net/nettest.c va_end(args); args 138 tools/testing/selftests/net/nettest.c va_list args; args 146 tools/testing/selftests/net/nettest.c va_start(args, format); args 147 tools/testing/selftests/net/nettest.c vfprintf(stderr, format, args); args 148 tools/testing/selftests/net/nettest.c va_end(args); args 156 tools/testing/selftests/net/nettest.c va_list args; args 164 tools/testing/selftests/net/nettest.c va_start(args, fmt); args 165 tools/testing/selftests/net/nettest.c vfprintf(stderr, fmt, args); args 166 tools/testing/selftests/net/nettest.c va_end(args); args 228 tools/testing/selftests/net/nettest.c static int tcp_md5_remote(int sd, struct sock_args *args) args 239 tools/testing/selftests/net/nettest.c switch (args->version) { args 241 tools/testing/selftests/net/nettest.c sin.sin_port = htons(args->port); args 242 tools/testing/selftests/net/nettest.c sin.sin_addr = args->remote_addr.in; args 247 tools/testing/selftests/net/nettest.c sin6.sin6_port = htons(args->port); args 248 tools/testing/selftests/net/nettest.c sin6.sin6_addr = args->remote_addr.in6; args 257 tools/testing/selftests/net/nettest.c if (tcp_md5sig(sd, addr, alen, args->password)) args 315 tools/testing/selftests/net/nettest.c static int check_device(int sd, struct sock_args *args) args 328 tools/testing/selftests/net/nettest.c if (!args->expected_ifindex) args 331 tools/testing/selftests/net/nettest.c if (args->expected_ifindex != ifindex) { args 333 tools/testing/selftests/net/nettest.c args->expected_ifindex, ifindex); args 338 tools/testing/selftests/net/nettest.c args->expected_ifindex, ifindex); args 545 tools/testing/selftests/net/nettest.c static int show_sockstat(int sd, struct sock_args *args) args 558 tools/testing/selftests/net/nettest.c if (args->has_expected_laddr) { args 559 tools/testing/selftests/net/nettest.c rc = expected_addr_match(sa, &args->expected_laddr, args 571 tools/testing/selftests/net/nettest.c if (args->has_expected_raddr) { args 572 tools/testing/selftests/net/nettest.c rc |= expected_addr_match(sa, &args->expected_raddr, args 699 tools/testing/selftests/net/nettest.c static int send_msg(int sd, void *addr, socklen_t alen, struct sock_args *args) args 701 tools/testing/selftests/net/nettest.c if (args->type == SOCK_STREAM) { args 706 tools/testing/selftests/net/nettest.c } else if (args->ifindex && args->use_cmsg) { args 707 tools/testing/selftests/net/nettest.c if (send_msg_cmsg(sd, addr, alen, args->ifindex, args->version)) args 720 tools/testing/selftests/net/nettest.c static int socket_read_dgram(int sd, struct sock_args *args) args 761 tools/testing/selftests/net/nettest.c if (args->expected_ifindex) { args 762 tools/testing/selftests/net/nettest.c if (args->expected_ifindex != ifindex) { args 764 tools/testing/selftests/net/nettest.c args->expected_ifindex, ifindex); args 768 tools/testing/selftests/net/nettest.c args->expected_ifindex, ifindex); args 794 tools/testing/selftests/net/nettest.c if (args->version == AF_INET6) { args 797 tools/testing/selftests/net/nettest.c if (args->dev) { args 865 tools/testing/selftests/net/nettest.c static int socket_read(int sd, struct sock_args *args) args 867 tools/testing/selftests/net/nettest.c if (args->type == SOCK_STREAM) args 870 tools/testing/selftests/net/nettest.c return socket_read_dgram(sd, args); args 921 tools/testing/selftests/net/nettest.c struct sock_args *args) args 928 tools/testing/selftests/net/nettest.c if (args->type != SOCK_STREAM) args 929 tools/testing/selftests/net/nettest.c set_recv_attr(sd, args->version); args 936 tools/testing/selftests/net/nettest.c if (send_msg(sd, addr, alen, args)) args 968 tools/testing/selftests/net/nettest.c rc = socket_read(sd, args); args 980 tools/testing/selftests/net/nettest.c if (stdin_to_socket(sd, args->type, addr, alen) <= 0) args 997 tools/testing/selftests/net/nettest.c if (send_msg(sd, addr, alen, args)) { args 1007 tools/testing/selftests/net/nettest.c static int msock_init(struct sock_args *args, int server) args 1012 tools/testing/selftests/net/nettest.c .sin_port = htons(args->port), args 1017 tools/testing/selftests/net/nettest.c if (!server && args->has_local_ip) args 1018 tools/testing/selftests/net/nettest.c if_addr = args->local_addr.in.s_addr; args 1036 tools/testing/selftests/net/nettest.c if (args->dev && bind_to_device(sd, args->dev) != 0) args 1038 tools/testing/selftests/net/nettest.c else if (args->use_setsockopt && args 1039 tools/testing/selftests/net/nettest.c set_multicast_if(sd, args->ifindex)) args 1050 tools/testing/selftests/net/nettest.c set_membership(sd, args->grp.s_addr, args 1051 tools/testing/selftests/net/nettest.c args->local_addr.in.s_addr, args->ifindex)) args 1060 tools/testing/selftests/net/nettest.c static int msock_server(struct sock_args *args) args 1062 tools/testing/selftests/net/nettest.c return msock_init(args, 1); args 1065 tools/testing/selftests/net/nettest.c static int msock_client(struct sock_args *args) args 1067 tools/testing/selftests/net/nettest.c return msock_init(args, 0); args 1070 tools/testing/selftests/net/nettest.c static int bind_socket(int sd, struct sock_args *args) args 1081 tools/testing/selftests/net/nettest.c if (!args->has_local_ip && args->type == SOCK_RAW) args 1084 tools/testing/selftests/net/nettest.c switch (args->version) { args 1086 tools/testing/selftests/net/nettest.c serv_addr.sin_port = htons(args->port); args 1087 tools/testing/selftests/net/nettest.c serv_addr.sin_addr = args->local_addr.in; args 1093 tools/testing/selftests/net/nettest.c serv6_addr.sin6_port = htons(args->port); args 1094 tools/testing/selftests/net/nettest.c serv6_addr.sin6_addr = args->local_addr.in6; args 1112 tools/testing/selftests/net/nettest.c static int lsock_init(struct sock_args *args) args 1117 tools/testing/selftests/net/nettest.c sd = socket(args->version, args->type, args->protocol); args 1129 tools/testing/selftests/net/nettest.c if (args->dev && bind_to_device(sd, args->dev) != 0) args 1131 tools/testing/selftests/net/nettest.c else if (args->use_setsockopt && args 1132 tools/testing/selftests/net/nettest.c set_unicast_if(sd, args->ifindex, args->version)) args 1135 tools/testing/selftests/net/nettest.c if (bind_socket(sd, args)) args 1138 tools/testing/selftests/net/nettest.c if (args->bind_test_only) args 1141 tools/testing/selftests/net/nettest.c if (args->type == SOCK_STREAM && listen(sd, 1) < 0) { args 1163 tools/testing/selftests/net/nettest.c static int do_server(struct sock_args *args) args 1176 tools/testing/selftests/net/nettest.c if (args->has_grp) args 1177 tools/testing/selftests/net/nettest.c lsd = msock_server(args); args 1179 tools/testing/selftests/net/nettest.c lsd = lsock_init(args); args 1184 tools/testing/selftests/net/nettest.c if (args->bind_test_only) { args 1189 tools/testing/selftests/net/nettest.c if (args->type != SOCK_STREAM) { args 1190 tools/testing/selftests/net/nettest.c rc = msg_loop(0, lsd, (void *) addr, alen, args); args 1195 tools/testing/selftests/net/nettest.c if (args->password && tcp_md5_remote(lsd, args)) { args 1228 tools/testing/selftests/net/nettest.c rc = show_sockstat(csd, args); args 1232 tools/testing/selftests/net/nettest.c rc = check_device(csd, args); args 1237 tools/testing/selftests/net/nettest.c rc = msg_loop(0, csd, (void *) addr, alen, args); args 1284 tools/testing/selftests/net/nettest.c static int connectsock(void *addr, socklen_t alen, struct sock_args *args) args 1289 tools/testing/selftests/net/nettest.c sd = socket(args->version, args->type, args->protocol); args 1304 tools/testing/selftests/net/nettest.c if (args->dev && bind_to_device(sd, args->dev) != 0) args 1306 tools/testing/selftests/net/nettest.c else if (args->use_setsockopt && args 1307 tools/testing/selftests/net/nettest.c set_unicast_if(sd, args->ifindex, args->version)) args 1310 tools/testing/selftests/net/nettest.c if (args->has_local_ip && bind_socket(sd, args)) args 1313 tools/testing/selftests/net/nettest.c if (args->type != SOCK_STREAM) args 1316 tools/testing/selftests/net/nettest.c if (args->password && tcp_md5sig(sd, addr, alen, args->password)) args 1319 tools/testing/selftests/net/nettest.c if (args->bind_test_only) args 1340 tools/testing/selftests/net/nettest.c static int do_client(struct sock_args *args) args 1353 tools/testing/selftests/net/nettest.c if (!args->has_remote_ip && !args->has_grp) { args 1358 tools/testing/selftests/net/nettest.c switch (args->version) { args 1360 tools/testing/selftests/net/nettest.c sin.sin_port = htons(args->port); args 1361 tools/testing/selftests/net/nettest.c if (args->has_grp) args 1362 tools/testing/selftests/net/nettest.c sin.sin_addr = args->grp; args 1364 tools/testing/selftests/net/nettest.c sin.sin_addr = args->remote_addr.in; args 1369 tools/testing/selftests/net/nettest.c sin6.sin6_port = htons(args->port); args 1370 tools/testing/selftests/net/nettest.c sin6.sin6_addr = args->remote_addr.in6; args 1371 tools/testing/selftests/net/nettest.c sin6.sin6_scope_id = args->scope_id; args 1377 tools/testing/selftests/net/nettest.c if (args->has_grp) args 1378 tools/testing/selftests/net/nettest.c sd = msock_client(args); args 1380 tools/testing/selftests/net/nettest.c sd = connectsock(addr, alen, args); args 1385 tools/testing/selftests/net/nettest.c if (args->bind_test_only) args 1388 tools/testing/selftests/net/nettest.c if (args->type == SOCK_STREAM) { args 1389 tools/testing/selftests/net/nettest.c rc = show_sockstat(sd, args); args 1394 tools/testing/selftests/net/nettest.c rc = msg_loop(1, sd, addr, alen, args); args 1410 tools/testing/selftests/net/nettest.c static int convert_addr(struct sock_args *args, const char *_str, args 1413 tools/testing/selftests/net/nettest.c int family = args->version; args 1428 tools/testing/selftests/net/nettest.c addr = &args->local_addr; args 1432 tools/testing/selftests/net/nettest.c addr = &args->remote_addr; args 1436 tools/testing/selftests/net/nettest.c addr = &args->grp; args 1440 tools/testing/selftests/net/nettest.c addr = &args->expected_laddr; args 1444 tools/testing/selftests/net/nettest.c addr = &args->expected_raddr; args 1483 tools/testing/selftests/net/nettest.c args->scope_id = get_ifidx(dev); args 1484 tools/testing/selftests/net/nettest.c if (args->scope_id < 0) { args 1568 tools/testing/selftests/net/nettest.c struct sock_args args = { args 1594 tools/testing/selftests/net/nettest.c args.has_local_ip = 1; args 1595 tools/testing/selftests/net/nettest.c if (convert_addr(&args, optarg, ADDR_TYPE_LOCAL) < 0) args 1599 tools/testing/selftests/net/nettest.c args.has_remote_ip = 1; args 1600 tools/testing/selftests/net/nettest.c if (convert_addr(&args, optarg, ADDR_TYPE_REMOTE) < 0) args 1608 tools/testing/selftests/net/nettest.c args.port = (unsigned short) tmp; args 1618 tools/testing/selftests/net/nettest.c args.type = SOCK_DGRAM; args 1621 tools/testing/selftests/net/nettest.c args.type = SOCK_RAW; args 1622 tools/testing/selftests/net/nettest.c args.port = 0; args 1627 tools/testing/selftests/net/nettest.c args.protocol = pe->p_proto; args 1633 tools/testing/selftests/net/nettest.c args.protocol = tmp; args 1643 tools/testing/selftests/net/nettest.c args.password = optarg; args 1646 tools/testing/selftests/net/nettest.c args.use_setsockopt = 1; args 1649 tools/testing/selftests/net/nettest.c args.use_cmsg = 1; args 1652 tools/testing/selftests/net/nettest.c args.dev = optarg; args 1653 tools/testing/selftests/net/nettest.c args.ifindex = get_ifidx(optarg); args 1654 tools/testing/selftests/net/nettest.c if (args.ifindex < 0) { args 1663 tools/testing/selftests/net/nettest.c args.has_grp = 1; args 1664 tools/testing/selftests/net/nettest.c if (convert_addr(&args, optarg, ADDR_TYPE_MCAST) < 0) args 1666 tools/testing/selftests/net/nettest.c args.type = SOCK_DGRAM; args 1669 tools/testing/selftests/net/nettest.c args.version = AF_INET6; args 1672 tools/testing/selftests/net/nettest.c args.bind_test_only = 1; args 1675 tools/testing/selftests/net/nettest.c args.has_expected_laddr = 1; args 1676 tools/testing/selftests/net/nettest.c if (convert_addr(&args, optarg, args 1681 tools/testing/selftests/net/nettest.c args.has_expected_raddr = 1; args 1682 tools/testing/selftests/net/nettest.c if (convert_addr(&args, optarg, args 1689 tools/testing/selftests/net/nettest.c args.expected_ifindex = (int)tmp; args 1691 tools/testing/selftests/net/nettest.c args.expected_ifindex = get_ifidx(optarg); args 1692 tools/testing/selftests/net/nettest.c if (args.expected_ifindex < 0) { args 1708 tools/testing/selftests/net/nettest.c if (args.password && args 1709 tools/testing/selftests/net/nettest.c (!args.has_remote_ip || args.type != SOCK_STREAM)) { args 1714 tools/testing/selftests/net/nettest.c if ((args.use_setsockopt || args.use_cmsg) && !args.ifindex) { args 1718 tools/testing/selftests/net/nettest.c if (args.use_setsockopt || args.use_cmsg) args 1719 tools/testing/selftests/net/nettest.c args.dev = NULL; args 1726 tools/testing/selftests/net/nettest.c if (args.type == SOCK_STREAM && !args.protocol) args 1727 tools/testing/selftests/net/nettest.c args.protocol = IPPROTO_TCP; args 1728 tools/testing/selftests/net/nettest.c if (args.type == SOCK_DGRAM && !args.protocol) args 1729 tools/testing/selftests/net/nettest.c args.protocol = IPPROTO_UDP; args 1731 tools/testing/selftests/net/nettest.c if ((args.type == SOCK_STREAM || args.type == SOCK_DGRAM) && args 1732 tools/testing/selftests/net/nettest.c args.port == 0) { args 1737 tools/testing/selftests/net/nettest.c if (!server_mode && !args.has_grp && args 1738 tools/testing/selftests/net/nettest.c !args.has_remote_ip && !args.has_local_ip) { args 1751 tools/testing/selftests/net/nettest.c rc = do_server(&args); args 1756 tools/testing/selftests/net/nettest.c return do_client(&args); args 33 tools/testing/selftests/nsfs/pidns.c static int child(void *args) args 388 tools/testing/selftests/pidfd/pidfd_test.c static int child_poll_exec_test(void *args) args 452 tools/testing/selftests/pidfd/pidfd_test.c static int child_poll_leader_exit_test(void *args) args 24 tools/testing/selftests/pidfd/pidfd_wait.c static pid_t sys_clone3(struct clone_args *args) args 26 tools/testing/selftests/pidfd/pidfd_wait.c return syscall(__NR_clone3, args, sizeof(struct clone_args)); args 40 tools/testing/selftests/pidfd/pidfd_wait.c struct clone_args args = { args 78 tools/testing/selftests/pidfd/pidfd_wait.c pid = sys_clone3(&args); args 125 tools/testing/selftests/pidfd/pidfd_wait.c struct clone_args args = { args 137 tools/testing/selftests/pidfd/pidfd_wait.c pid = sys_clone3(&args); args 57 tools/testing/selftests/powerpc/signal/sigfuz.c static int args; args 116 tools/testing/selftests/powerpc/signal/sigfuz.c if (args & ARG_MESS_WITH_MSR_AT) { args 187 tools/testing/selftests/powerpc/signal/sigfuz.c if (args & ARG_MESS_WITH_TM_BEFORE) { args 227 tools/testing/selftests/powerpc/signal/sigfuz.c if (args & ARG_MESS_WITH_TM_AT) { args 236 tools/testing/selftests/powerpc/signal/sigfuz.c if (!(args & ARG_FOREVER)) args 295 tools/testing/selftests/powerpc/signal/sigfuz.c args |= ARG_MESS_WITH_TM_BEFORE; args 298 tools/testing/selftests/powerpc/signal/sigfuz.c args |= ARG_MESS_WITH_TM_AT; args 301 tools/testing/selftests/powerpc/signal/sigfuz.c args |= ARG_MESS_WITH_MSR_AT; args 304 tools/testing/selftests/powerpc/signal/sigfuz.c args |= ARG_COMPLETE; args 309 tools/testing/selftests/powerpc/signal/sigfuz.c args |= ARG_FOREVER; args 321 tools/testing/selftests/powerpc/signal/sigfuz.c if (!args) args 322 tools/testing/selftests/powerpc/signal/sigfuz.c args = ARG_COMPLETE; args 45 tools/testing/selftests/ptrace/get_syscall_info.c static const unsigned long args[][7] = { args 93 tools/testing/selftests/ptrace/get_syscall_info.c for (unsigned int i = 0; i < ARRAY_SIZE(args); ++i) { args 94 tools/testing/selftests/ptrace/get_syscall_info.c syscall(args[i][0], args 95 tools/testing/selftests/ptrace/get_syscall_info.c args[i][1], args[i][2], args[i][3], args 96 tools/testing/selftests/ptrace/get_syscall_info.c args[i][4], args[i][5], args[i][6]); args 120 tools/testing/selftests/ptrace/get_syscall_info.c (void *) &info.entry.args[6] - (void *) &info; args 187 tools/testing/selftests/ptrace/get_syscall_info.c exp_args = args[ptrace_stop / 2]; args 206 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(exp_args[1], info.entry.args[0]) { args 209 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(exp_args[2], info.entry.args[1]) { args 212 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(exp_args[3], info.entry.args[2]) { args 215 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(exp_args[4], info.entry.args[3]) { args 218 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(exp_args[5], info.entry.args[4]) { args 221 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(exp_args[6], info.entry.args[5]) { args 268 tools/testing/selftests/ptrace/get_syscall_info.c ASSERT_EQ(ARRAY_SIZE(args) * 2, ptrace_stop); args 60 tools/testing/selftests/rseq/rseq.h #define rseq_log(fmt, args...) \ args 62 tools/testing/selftests/rseq/rseq.h ## args, __func__) args 64 tools/testing/selftests/rseq/rseq.h #define rseq_bug(fmt, args...) \ args 66 tools/testing/selftests/rseq/rseq.h rseq_log(fmt, ##args); \ args 88 tools/testing/selftests/seccomp/seccomp_bpf.c __u64 args[6]; args 209 tools/testing/selftests/seccomp/seccomp_bpf.c int seccomp(unsigned int op, unsigned int flags, void *args) args 212 tools/testing/selftests/seccomp/seccomp_bpf.c return syscall(__NR_seccomp, op, flags, args); args 217 tools/testing/selftests/seccomp/seccomp_bpf.c #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n])) args 219 tools/testing/selftests/seccomp/seccomp_bpf.c #define syscall_arg(_n) (offsetof(struct seccomp_data, args[_n]) + sizeof(__u32)) args 1370 tools/testing/selftests/seccomp/seccomp_bpf.c pid_t tracee, int status, void *args); args 1373 tools/testing/selftests/seccomp/seccomp_bpf.c tracer_func_t tracer_func, void *args, bool ptrace_syscall) args 1421 tools/testing/selftests/seccomp/seccomp_bpf.c tracer_func(_metadata, tracee, status, args); args 1435 tools/testing/selftests/seccomp/seccomp_bpf.c tracer_func_t func, void *args, bool ptrace_syscall) args 1451 tools/testing/selftests/seccomp/seccomp_bpf.c start_tracer(_metadata, pipefd[1], tracee, func, args, args 1484 tools/testing/selftests/seccomp/seccomp_bpf.c void *args) args 1488 tools/testing/selftests/seccomp/seccomp_bpf.c struct tracer_args_poke_t *info = (struct tracer_args_poke_t *)args; args 1738 tools/testing/selftests/seccomp/seccomp_bpf.c int status, void *args) args 1778 tools/testing/selftests/seccomp/seccomp_bpf.c int status, void *args) args 42 tools/testing/selftests/sparc64/drivers/adi-test.c va_list args; args 44 tools/testing/selftests/sparc64/drivers/adi-test.c va_start(args, s); args 47 tools/testing/selftests/sparc64/drivers/adi-test.c vfprintf(stdout, s, args); args 48 tools/testing/selftests/sparc64/drivers/adi-test.c va_end(args); args 46 tools/testing/selftests/x86/pkey-helpers.h #define dprintf_level(level, args...) do { \ args 48 tools/testing/selftests/x86/pkey-helpers.h sigsafe_printf(args); \ args 50 tools/testing/selftests/x86/pkey-helpers.h #define dprintf0(args...) dprintf_level(0, args) args 51 tools/testing/selftests/x86/pkey-helpers.h #define dprintf1(args...) dprintf_level(1, args) args 52 tools/testing/selftests/x86/pkey-helpers.h #define dprintf2(args...) dprintf_level(2, args) args 53 tools/testing/selftests/x86/pkey-helpers.h #define dprintf3(args...) dprintf_level(3, args) args 54 tools/testing/selftests/x86/pkey-helpers.h #define dprintf4(args...) dprintf_level(4, args) args 55 tools/testing/selftests/x86/ptrace_syscall.c static void do_full_int80(struct syscall_args32 *args) args 58 tools/testing/selftests/x86/ptrace_syscall.c register unsigned long bp asm("bp") = args->arg5; args 60 tools/testing/selftests/x86/ptrace_syscall.c : "+a" (args->nr), args 61 tools/testing/selftests/x86/ptrace_syscall.c "+b" (args->arg0), "+c" (args->arg1), "+d" (args->arg2), args 62 tools/testing/selftests/x86/ptrace_syscall.c "+S" (args->arg3), "+D" (args->arg4), "+r" (bp) args 64 tools/testing/selftests/x86/ptrace_syscall.c args->arg5 = bp; args 66 tools/testing/selftests/x86/ptrace_syscall.c sys32_helper(args, int80_and_ret); args 78 tools/testing/selftests/x86/ptrace_syscall.c static void do_full_vsyscall32(struct syscall_args32 *args) args 80 tools/testing/selftests/x86/ptrace_syscall.c sys32_helper(args, vsyscall32); args 141 tools/testing/selftests/x86/ptrace_syscall.c struct syscall_args32 args = { args 147 tools/testing/selftests/x86/ptrace_syscall.c do_syscall(&args); args 149 tools/testing/selftests/x86/ptrace_syscall.c if (args.nr != getpid() || args 150 tools/testing/selftests/x86/ptrace_syscall.c args.arg0 != 10 || args.arg1 != 11 || args.arg2 != 12 || args 151 tools/testing/selftests/x86/ptrace_syscall.c args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) { args 160 tools/testing/selftests/x86/ptrace_syscall.c args.nr = 37; /* kill */ args 161 tools/testing/selftests/x86/ptrace_syscall.c args.arg0 = getpid(); args 162 tools/testing/selftests/x86/ptrace_syscall.c args.arg1 = SIGUSR1; args 163 tools/testing/selftests/x86/ptrace_syscall.c do_syscall(&args); args 164 tools/testing/selftests/x86/ptrace_syscall.c if (args.nr != 0 || args 165 tools/testing/selftests/x86/ptrace_syscall.c args.arg0 != getpid() || args.arg1 != SIGUSR1 || args.arg2 != 12 || args 166 tools/testing/selftests/x86/ptrace_syscall.c args.arg3 != 13 || args.arg4 != 14 || args.arg5 != 15) { args 66 tools/usb/usbip/libsrc/usbip_common.h #define err(fmt, args...) \ args 69 tools/usb/usbip/libsrc/usbip_common.h syslog(LOG_ERR, pr_fmt(fmt), "error", ##args); \ args 72 tools/usb/usbip/libsrc/usbip_common.h fprintf(stderr, pr_fmt(fmt), "error", ##args); \ args 76 tools/usb/usbip/libsrc/usbip_common.h #define info(fmt, args...) \ args 79 tools/usb/usbip/libsrc/usbip_common.h syslog(LOG_INFO, pr_fmt(fmt), "info", ##args); \ args 82 tools/usb/usbip/libsrc/usbip_common.h fprintf(stderr, pr_fmt(fmt), "info", ##args); \ args 86 tools/usb/usbip/libsrc/usbip_common.h #define dbg(fmt, args...) \ args 90 tools/usb/usbip/libsrc/usbip_common.h syslog(LOG_DEBUG, dbg_fmt(fmt), ##args); \ args 93 tools/usb/usbip/libsrc/usbip_common.h fprintf(stderr, dbg_fmt(fmt), ##args); \ args 525 usr/gen_init_cpio.c char *args, *type; args 597 usr/gen_init_cpio.c if (! (args = strtok(NULL, "\n"))) { args 607 usr/gen_init_cpio.c if ((rc = file_handler_table[type_idx].handler(args))) { args 36 virt/kvm/eventfd.c kvm_arch_irqfd_allowed(struct kvm *kvm, struct kvm_irqfd *args) args 282 virt/kvm/eventfd.c kvm_irqfd_assign(struct kvm *kvm, struct kvm_irqfd *args) args 294 virt/kvm/eventfd.c if (!kvm_arch_irqfd_allowed(kvm, args)) args 302 virt/kvm/eventfd.c irqfd->gsi = args->gsi; args 308 virt/kvm/eventfd.c f = fdget(args->fd); args 322 virt/kvm/eventfd.c if (args->flags & KVM_IRQFD_FLAG_RESAMPLE) { args 325 virt/kvm/eventfd.c resamplefd = eventfd_ctx_fdget(args->resamplefd); args 527 virt/kvm/eventfd.c kvm_irqfd_deassign(struct kvm *kvm, struct kvm_irqfd *args) args 532 virt/kvm/eventfd.c eventfd = eventfd_ctx_fdget(args->fd); args 539 virt/kvm/eventfd.c if (irqfd->eventfd == eventfd && irqfd->gsi == args->gsi) { args 567 virt/kvm/eventfd.c kvm_irqfd(struct kvm *kvm, struct kvm_irqfd *args) args 569 virt/kvm/eventfd.c if (args->flags & ~(KVM_IRQFD_FLAG_DEASSIGN | KVM_IRQFD_FLAG_RESAMPLE)) args 572 virt/kvm/eventfd.c if (args->flags & KVM_IRQFD_FLAG_DEASSIGN) args 573 virt/kvm/eventfd.c return kvm_irqfd_deassign(kvm, args); args 575 virt/kvm/eventfd.c return kvm_irqfd_assign(kvm, args); args 787 virt/kvm/eventfd.c struct kvm_ioeventfd *args) args 794 virt/kvm/eventfd.c eventfd = eventfd_ctx_fdget(args->fd); args 805 virt/kvm/eventfd.c p->addr = args->addr; args 807 virt/kvm/eventfd.c p->length = args->len; args 811 virt/kvm/eventfd.c if (args->flags & KVM_IOEVENTFD_FLAG_DATAMATCH) args 812 virt/kvm/eventfd.c p->datamatch = args->datamatch; args 850 virt/kvm/eventfd.c struct kvm_ioeventfd *args) args 857 virt/kvm/eventfd.c eventfd = eventfd_ctx_fdget(args->fd); args 864 virt/kvm/eventfd.c bool wildcard = !(args->flags & KVM_IOEVENTFD_FLAG_DATAMATCH); args 868 virt/kvm/eventfd.c p->addr != args->addr || args 869 virt/kvm/eventfd.c p->length != args->len || args 873 virt/kvm/eventfd.c if (!p->wildcard && p->datamatch != args->datamatch) args 892 virt/kvm/eventfd.c static int kvm_deassign_ioeventfd(struct kvm *kvm, struct kvm_ioeventfd *args) args 894 virt/kvm/eventfd.c enum kvm_bus bus_idx = ioeventfd_bus_from_flags(args->flags); args 895 virt/kvm/eventfd.c int ret = kvm_deassign_ioeventfd_idx(kvm, bus_idx, args); args 897 virt/kvm/eventfd.c if (!args->len && bus_idx == KVM_MMIO_BUS) args 898 virt/kvm/eventfd.c kvm_deassign_ioeventfd_idx(kvm, KVM_FAST_MMIO_BUS, args); args 904 virt/kvm/eventfd.c kvm_assign_ioeventfd(struct kvm *kvm, struct kvm_ioeventfd *args) args 909 virt/kvm/eventfd.c bus_idx = ioeventfd_bus_from_flags(args->flags); args 911 virt/kvm/eventfd.c switch (args->len) { args 923 virt/kvm/eventfd.c if (args->addr + args->len < args->addr) args 927 virt/kvm/eventfd.c if (args->flags & ~KVM_IOEVENTFD_VALID_FLAG_MASK) args 931 virt/kvm/eventfd.c if (!args->len && (args->flags & KVM_IOEVENTFD_FLAG_DATAMATCH)) args 934 virt/kvm/eventfd.c ret = kvm_assign_ioeventfd_idx(kvm, bus_idx, args); args 941 virt/kvm/eventfd.c if (!args->len && bus_idx == KVM_MMIO_BUS) { args 942 virt/kvm/eventfd.c ret = kvm_assign_ioeventfd_idx(kvm, KVM_FAST_MMIO_BUS, args); args 950 virt/kvm/eventfd.c kvm_deassign_ioeventfd_idx(kvm, bus_idx, args); args 956 virt/kvm/eventfd.c kvm_ioeventfd(struct kvm *kvm, struct kvm_ioeventfd *args) args 958 virt/kvm/eventfd.c if (args->flags & KVM_IOEVENTFD_FLAG_DEASSIGN) args 959 virt/kvm/eventfd.c return kvm_deassign_ioeventfd(kvm, args); args 961 virt/kvm/eventfd.c return kvm_assign_ioeventfd(kvm, args); args 3338 virt/kvm/kvm_main.c if (cap->flags || (cap->args[0] & ~1)) args 3340 virt/kvm/kvm_main.c kvm->manual_dirty_log_protect = cap->args[0];