/linux-master/tools/testing/selftests/powerpc/signal/ |
H A D | sigfuz.c | 57 static int args; variable 116 if (args & ARG_MESS_WITH_MSR_AT) { 187 if (args & ARG_MESS_WITH_TM_BEFORE) { 227 if (args & ARG_MESS_WITH_TM_AT) { 236 if (!(args & ARG_FOREVER)) 295 args |= ARG_MESS_WITH_TM_BEFORE; 298 args |= ARG_MESS_WITH_TM_AT; 301 args |= ARG_MESS_WITH_MSR_AT; 304 args |= ARG_COMPLETE; 309 args | [all...] |
/linux-master/tools/testing/selftests/exec/ |
H A D | null-argv.c | 50 static char * const args[] = { NULL }; local 74 FORK(execve(argv[0], args, NULL)); 75 FORK(execve(argv[0], args, envp));
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | test_profiler.c | 12 __u64 args[] = {1, 2, 3}; local 16 test_attr.ctx_in = args; 17 test_attr.ctx_size_in = sizeof(args);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_stacktrace_build_id.c | 43 int oncpu(struct pt_regs *args) argument 55 key = bpf_get_stackid(args, &stackmap, BPF_F_USER_STACK); 60 bpf_get_stack(args, stack_p, max_len,
|
/linux-master/arch/loongarch/include/asm/ |
H A D | syscall.h | 58 unsigned long *args) 60 args[0] = regs->orig_a0; 61 memcpy(&args[1], ®s->regs[5], 5 * sizeof(long)); 56 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, unsigned long *args) argument
|
/linux-master/drivers/usb/gadget/function/ |
H A D | storage_common.h | 18 #define VLDBG(lun, fmt, args...) do { } while (0) 21 #define _LMSG(func, lun, fmt, args...) \ 25 (lun)->name, ## args); \ 27 func("%s: " fmt, (lun)->name, ## args); \ 30 #define LDBG(lun, fmt, args...) _LMSG(pr_debug, lun, fmt, ## args) 31 #define LERROR(lun, fmt, args...) _LMSG(pr_err, lun, fmt, ## args) 32 #define LWARN(lun, fmt, args...) _LMSG(pr_warn, lun, fmt, ## args) [all...] |
/linux-master/drivers/gpu/drm/virtio/ |
H A D | virtgpu_gem.c | 63 struct drm_mode_create_dumb *args) 71 if (args->bpp != 32) 74 pitch = args->width * 4; 75 args->size = pitch * args->height; 76 args->size = ALIGN(args->size, PAGE_SIZE); 79 params.width = args->width; 80 params.height = args->height; 81 params.size = args 61 virtio_gpu_mode_dumb_create(struct drm_file *file_priv, struct drm_device *dev, struct drm_mode_create_dumb *args) argument [all...] |
/linux-master/fs/hfsplus/ |
H A D | options.c | 75 substring_t args[MAX_OPT_ARGS]; local 85 token = match_token(p, tokens, args); 103 substring_t args[MAX_OPT_ARGS]; local 113 token = match_token(p, tokens, args); 116 if (match_fourchar(&args[0], &sbi->creator)) { 122 if (match_fourchar(&args[0], &sbi->type)) { 128 if (match_octal(&args[0], &tmp)) { 135 if (match_int(&args[0], &tmp)) { 148 if (match_int(&args[0], &tmp)) { 161 if (match_int(&args[ [all...] |
/linux-master/tools/perf/scripts/python/ |
H A D | flamegraph.py | 71 def __init__(self, args): 72 self.args = args 120 if self.args.input == "-": 135 if self.args.format == "html": 138 "colorscheme": self.args.colorscheme, 144 if self.args.format == "html": 145 if os.path.isfile(self.args.template): 146 template = f"file://{self.args.template}" 148 if not self.args [all...] |
/linux-master/tools/cgroup/ |
H A D | memcg_shrinker.py | 42 args = parser.parse_args() 65 if args.lines and n >= args.lines:
|
/linux-master/tools/testing/selftests/powerpc/syscalls/ |
H A D | rtas_filter.c | 44 __be32 args[16]; member in struct:rtas_args 45 __be32 *rets; /* Pointer to return values in args[]. */ 111 struct rtas_args args; local 126 args.token = cpu_to_be32(token); 127 args.nargs = cpu_to_be32(nargs); 128 args.nret = cpu_to_be32(nrets); 131 args.args[i] = (__be32) va_arg(ap, unsigned long); 136 rc = syscall(__NR_rtas, &args); 143 *(rets[0]) = be32_to_cpu(args [all...] |
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | bench_bpf_loop.c | 15 } args = { variable in typeref:struct:__anon5767 33 args.nr_loops = strtol(arg, NULL, 10); 88 ctx.skel->bss->nr_loops = args.nr_loops;
|
H A D | bench_htab_mem.c | 43 } args = { variable in typeref:struct:htab_mem_args 68 args.value_size = strtoul(arg, NULL, 10); 69 if (args.value_size > 4096) { 70 fprintf(stderr, "too big value size %u\n", args.value_size); 75 args.use_case = strdup(arg); 76 if (!args.use_case) { 82 args.preallocated = true; 98 if (!strcmp(use_cases[2].name, args.use_case) && env.producer_cnt % 2) { 99 fprintf(stderr, "%s needs an even number of producers\n", args.use_case); 163 ctx.uc = htab_mem_find_use_case_or_exit(args [all...] |
/linux-master/arch/sh/mm/ |
H A D | cache-j2.c | 27 static void j2_flush_icache(void *args) argument 34 static void j2_flush_dcache(void *args) argument 41 static void j2_flush_both(void *args) argument
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | guest_sprintf.c | 118 int guest_vsnprintf(char *buf, int n, const char *fmt, va_list args) argument 174 field_width = va_arg(args, int); 190 precision = va_arg(args, int); 219 (uint8_t)va_arg(args, int)); 225 s = va_arg(args, char *); 243 (uint64_t)va_arg(args, void *), 16, 249 long *ip = va_arg(args, long *); 252 int *ip = va_arg(args, int *); 287 num = va_arg(args, uint64_t); 289 num = (uint16_t)va_arg(args, in [all...] |
/linux-master/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | biosattr-interface.c | 125 struct bios_args *args = NULL; local 133 bios_args_size = struct_size(args, data, insize); 134 args = kmalloc(bios_args_size, GFP_KERNEL); 135 if (!args) 139 input.pointer = args; 142 args->signature = 0x55434553; 143 args->command = command; 144 args->commandtype = query; 145 args->datasize = insize; 146 memcpy(args [all...] |
/linux-master/scripts/ |
H A D | Makefile.vmlinux_o | 38 vmlinux-objtool-args-$(delay-objtool) += $(objtool-args-y) 39 vmlinux-objtool-args-$(CONFIG_GCOV_KERNEL) += --no-unreachable 40 vmlinux-objtool-args-$(CONFIG_NOINSTR_VALIDATION) += --noinstr \ 43 objtool-args = $(vmlinux-objtool-args-y) --link
|
/linux-master/fs/btrfs/ |
H A D | messages.c | 141 va_list args; local 143 va_start(args, fmt); 145 vaf.va = &args; 149 va_end(args); 215 va_list args; local 224 va_start(args, fmt); 239 vaf.va = &args; 253 va_end(args); 294 va_list args; local 299 va_start(args, fm [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2.h | 47 enum xfs_dir2_fmt xfs_dir2_format(struct xfs_da_args *args, int *error); 79 int xfs_dir_lookup_args(struct xfs_da_args *args); 80 int xfs_dir_createname_args(struct xfs_da_args *args); 81 int xfs_dir_removename_args(struct xfs_da_args *args); 82 int xfs_dir_replace_args(struct xfs_da_args *args); 87 extern int xfs_dir2_sf_to_block(struct xfs_da_args *args); 92 extern int xfs_dir2_shrink_inode(struct xfs_da_args *args, xfs_dir2_db_t db, 97 extern void xfs_dir2_data_log_entry(struct xfs_da_args *args, 99 extern void xfs_dir2_data_log_header(struct xfs_da_args *args, 101 extern void xfs_dir2_data_log_unused(struct xfs_da_args *args, [all...] |
/linux-master/kernel/ |
H A D | panic.c | 283 va_list args; local 334 va_start(args, fmt); 335 len = vscnprintf(buf, sizeof(buf), fmt, args); 336 va_end(args); 664 va_list args; member in struct:warn_args 668 struct pt_regs *regs, struct warn_args *args) 684 if (args) 685 vprintk(args->fmt, args->args); 667 __warn(const char *file, int line, void *caller, unsigned taint, struct pt_regs *regs, struct warn_args *args) argument 713 struct warn_args args; local 735 va_list args; local [all...] |
/linux-master/tools/hv/ |
H A D | vmbus_testing | 72 args = parse_args() 73 if (not args.action): 76 arg_set = { k for (k,v) in vars(args).items() if v and k != "action" } 77 arg_set.add(args.action) 78 path = args.path if "path" in arg_set else None 84 set_test_state(state_path, dev_state.on.value, args.quiet) 88 validate_delay_values(args.delay_time) 89 if (args.enable_all): 90 set_delay_all_devices(file_map, args.delay_time, 91 args [all...] |
/linux-master/fs/fuse/ |
H A D | file.c | 30 FUSE_ARGS(args); 42 args.opcode = opcode; 43 args.nodeid = nodeid; 44 args.in_numargs = 1; 45 args.in_args[0].size = sizeof(inarg); 46 args.in_args[0].value = &inarg; 47 args.out_numargs = 1; 48 args.out_args[0].size = sizeof(*outargp); 49 args.out_args[0].value = outargp; 51 return fuse_simple_request(fm, &args); 93 fuse_release_end(struct fuse_mount *fm, struct fuse_args *args, int error) argument 106 struct fuse_args *args = (ra ? &ra->args : NULL); local 632 struct fuse_args *args = &ia->ap.args; local 751 fuse_aio_complete_req(struct fuse_mount *fm, struct fuse_args *args, int err) argument 912 fuse_readpages_end(struct fuse_mount *fm, struct fuse_args *args, int err) argument 1053 struct fuse_args *args = &ia->ap.args; local 1798 struct fuse_args *args = &wpa->ia.ap.args; variable in typeref:struct:fuse_args 1906 fuse_writepage_end(struct fuse_mount *fm, struct fuse_args *args, int error) argument 2622 fuse_lk_fill(struct fuse_args *args, struct file *file, const struct file_lock *fl, int opcode, pid_t pid, int flock, struct fuse_lk_in *inarg) argument [all...] |
H A D | ioctl.c | 13 static ssize_t fuse_send_ioctl(struct fuse_mount *fm, struct fuse_args *args, argument 18 args->out_args[0].size = sizeof(*outarg); 19 args->out_args[0].value = outarg; 21 ret = fuse_simple_request(fm, args); 316 ap.args.opcode = FUSE_IOCTL; 317 ap.args.nodeid = ff->nodeid; 318 ap.args.in_numargs = 1; 319 ap.args.in_args[0].size = sizeof(inarg); 320 ap.args.in_args[0].value = &inarg; 322 ap.args [all...] |
/linux-master/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_context.c | 173 const struct drm_i915_gem_context_param *args) 175 s64 priority = args->value; 177 if (args->size) 367 const struct drm_i915_gem_context_param *args) 372 if (args->size) 378 if (upper_32_bits(args->value)) 381 vm = i915_gem_vm_lookup(fpriv, args->value); 736 const struct drm_i915_gem_context_param *args) 741 u64_to_user_ptr(args->value); 751 if (args 172 validate_priority(struct drm_i915_private *i915, const struct drm_i915_gem_context_param *args) argument 365 set_proto_ctx_vm(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, const struct drm_i915_gem_context_param *args) argument 734 set_proto_ctx_engines(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, const struct drm_i915_gem_context_param *args) argument 814 set_proto_ctx_sseu(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, struct drm_i915_gem_context_param *args) argument 878 set_proto_ctx_param(struct drm_i915_file_private *fpriv, struct i915_gem_proto_context *pc, struct drm_i915_gem_context_param *args) argument 1810 struct drm_i915_gem_vm_control *args = data; local 1853 struct drm_i915_gem_vm_control *args = data; local 1870 get_ppgtt(struct drm_i915_file_private *file_priv, struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) argument 2005 set_sseu(struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) argument 2061 set_persistence(struct i915_gem_context *ctx, const struct drm_i915_gem_context_param *args) argument 2070 set_priority(struct i915_gem_context *ctx, const struct drm_i915_gem_context_param *args) argument 2098 get_protected(struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) argument 2107 ctx_setparam(struct drm_i915_file_private *fpriv, struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) argument 2281 struct drm_i915_gem_context_create_ext *args = data; local 2353 struct drm_i915_gem_context_destroy *args = data; local 2385 get_sseu(struct i915_gem_context *ctx, struct drm_i915_gem_context_param *args) argument 2444 struct drm_i915_gem_context_param *args = data; local 2516 struct drm_i915_gem_context_param *args = data; local 2550 struct drm_i915_reset_stats *args = data; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_abi16.c | 49 struct nv_device_v0 args = { local 60 0, NV_DEVICE, &args, sizeof(args), 465 } *args = data; local 470 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { 471 switch (args->v0.type) { 485 if (args->v0.token != ~0ULL) { 486 if (!(chan = nouveau_abi16_chan(abi16, args->v0.token))) 488 args->v0.object = nvif_handle(&chan->chan->user); 489 args 617 struct nv_dma_v0 args = {}; local [all...] |