/linux-master/drivers/dma-buf/ |
H A D | st-dma-resv.c | 38 static int sanitycheck(void *arg) argument 63 static int test_signaling(void *arg) argument 65 enum dma_resv_usage usage = (unsigned long)arg; 109 static int test_for_each(void *arg) argument 111 enum dma_resv_usage usage = (unsigned long)arg; 170 static int test_for_each_unlocked(void *arg) argument 172 enum dma_resv_usage usage = (unsigned long)arg; 244 static int test_get_fences(void *arg) argument 246 enum dma_resv_usage usage = (unsigned long)arg;
|
/linux-master/drivers/pinctrl/actions/ |
H A D | pinctrl-owl.c | 80 static void owl_write_field(struct owl_pinctrl *pctrl, u32 reg, u32 arg, argument 88 owl_update_bits(pctrl->base + reg, mask, (arg << bit)); 261 u32 reg, bit, width, arg; local 269 arg = owl_read_field(pctrl, reg, bit, width); 274 ret = pctrl->soc->padctl_val2arg(info, param, &arg); 278 *config = pinconf_to_config_packed(param, arg); 292 u32 reg, bit, width, arg; local 299 arg = pinconf_to_config_argument(configs[i]); 308 ret = pctrl->soc->padctl_arg2val(info, param, &arg); 314 owl_write_field(pctrl, reg, arg, bi 350 owl_group_pinconf_arg2val(const struct owl_pingroup *g, unsigned int param, u32 *arg) argument 386 owl_group_pinconf_val2arg(const struct owl_pingroup *g, unsigned int param, u32 *arg) argument 429 u32 reg, bit, width, arg; local 458 u32 reg, bit, width, arg; local [all...] |
/linux-master/sound/firewire/motu/ |
H A D | motu-hwdep.c | 117 static int hwdep_get_info(struct snd_motu *motu, void __user *arg) argument 130 if (copy_to_user(arg, &info, sizeof(info))) 185 unsigned int cmd, unsigned long arg) 191 return hwdep_get_info(motu, (void __user *)arg); 210 err = copy_to_user((void __user *)arg, meter, sizeof(*meter)); 232 err = copy_to_user((void __user *)arg, meter, sizeof(*meter)); 254 err = copy_to_user((void __user *)arg, param, sizeof(*param)); 268 unsigned int cmd, unsigned long arg) 271 (unsigned long)compat_ptr(arg)); 184 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument 267 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ctx.c | 64 mbx->req.arg = kcalloc(mbx->req.num, 66 if (!mbx->req.arg) 68 mbx->rsp.arg = kcalloc(mbx->rsp.num, 70 if (!mbx->rsp.arg) { 71 kfree(mbx->req.arg); 72 mbx->req.arg = NULL; 75 mbx->req.arg[0] = type; 85 kfree(cmd->req.arg); 86 cmd->req.arg = NULL; 87 kfree(cmd->rsp.arg); [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | hwesleep.c | 33 union acpi_object arg; local 41 arg_list.pointer = &arg; 42 arg.type = ACPI_TYPE_INTEGER; 43 arg.integer.value = (u64)integer_argument;
|
/linux-master/scripts/gdb/linux/ |
H A D | proc.py | 31 def invoke(self, arg, from_tty): 45 def invoke(self, arg, from_tty): 90 def invoke(self, arg, from_tty): 105 def invoke(self, arg, from_tty): 153 def invoke(self, arg, from_tty): 154 argv = gdb.string_to_argv(arg) 235 def invoke(self, arg, from_tty): 240 if len(arg) == 0: 243 filename = arg
|
/linux-master/arch/um/drivers/ |
H A D | harddog_kern.c | 124 unsigned int cmd, unsigned long arg) 126 void __user *argp= (void __user *)arg; 148 unsigned int cmd, unsigned long arg) 153 ret = harddog_ioctl_unlocked(file, cmd, arg); 123 harddog_ioctl_unlocked(struct file *file, unsigned int cmd, unsigned long arg) argument 147 harddog_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/include/linux/ |
H A D | fsverity.h | 140 int fsverity_ioctl_enable(struct file *filp, const void __user *arg); 144 int fsverity_ioctl_measure(struct file *filp, void __user *arg); 187 const void __user *arg) 194 static inline int fsverity_ioctl_measure(struct file *filp, void __user *arg) argument 186 fsverity_ioctl_enable(struct file *filp, const void __user *arg) argument
|
H A D | dnotify.h | 41 static inline int fcntl_dirnotify(int fd, struct file *filp, unsigned int arg) argument
|
/linux-master/drivers/firmware/ |
H A D | arm_sdei.c | 82 #define CROSSCALL_INIT(arg, event) \ 84 arg.event = event; \ 85 arg.first_error = 0; \ 86 atomic_set(&arg.errors, 0); \ 92 struct sdei_crosscall_args arg; local 94 CROSSCALL_INIT(arg, event); 95 fn(&arg); 97 return arg.first_error; 103 struct sdei_crosscall_args arg; local 105 CROSSCALL_INIT(arg, even 112 sdei_cross_call_return(struct sdei_crosscall_args *arg, int err) argument 392 struct sdei_crosscall_args *arg = data; local 438 struct sdei_crosscall_args *arg = data; local 480 struct sdei_crosscall_args *arg = data; local 547 sdei_api_event_register(u32 event_num, unsigned long entry_point, void *arg, u64 flags, u64 affinity) argument 560 struct sdei_crosscall_args *arg = data; local 569 sdei_event_register(u32 event_num, sdei_event_callback *cb, void *arg) argument 1084 sdei_event_handler(struct pt_regs *regs, struct sdei_registered_event *arg) argument [all...] |
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_gem.h | 27 int lsdc_show_buffer_object(struct seq_file *m, void *arg);
|
/linux-master/drivers/vfio/ |
H A D | device_cdev.c | 57 struct vfio_device_bind_iommufd __user *arg) 64 static_assert(__same_type(arg->out_devid, df->devid)); 68 if (copy_from_user(&bind, arg, minsz)) 108 ret = copy_to_user(&arg->out_devid, &df->devid, 156 struct vfio_device_attach_iommufd_pt __user *arg) 165 if (copy_from_user(&attach, arg, minsz)) 176 if (copy_to_user(&arg->pt_id, &attach.pt_id, sizeof(attach.pt_id))) { 192 struct vfio_device_detach_iommufd_pt __user *arg) 200 if (copy_from_user(&detach, arg, minsz)) 56 vfio_df_ioctl_bind_iommufd(struct vfio_device_file *df, struct vfio_device_bind_iommufd __user *arg) argument 155 vfio_df_ioctl_attach_pt(struct vfio_device_file *df, struct vfio_device_attach_iommufd_pt __user *arg) argument 191 vfio_df_ioctl_detach_pt(struct vfio_device_file *df, struct vfio_device_detach_iommufd_pt __user *arg) argument
|
/linux-master/drivers/misc/sgi-gru/ |
H A D | grufile.c | 121 static int gru_create_new_context(unsigned long arg) argument 128 if (copy_from_user(&req, (void __user *)arg, sizeof(req))) 158 static long gru_get_config_info(unsigned long arg) argument 174 if (copy_to_user((void __user *)arg, &info, sizeof(info))) 185 unsigned long arg) 189 gru_dbg(grudev, "file %p, req 0x%x, 0x%lx\n", file, req, arg); 193 err = gru_create_new_context(arg); 196 err = gru_set_context_option(arg); 199 err = gru_get_exception_detail(arg); 202 err = gru_user_unload_context(arg); 184 gru_file_unlocked_ioctl(struct file *file, unsigned int req, unsigned long arg) argument [all...] |
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf.h | 28 irqreturn_t otx2_cptvf_pfvf_mbox_intr(int irq, void *arg);
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_drv.h | 118 unsigned int cmd, unsigned long arg);
|
/linux-master/Documentation/driver-api/media/drivers/ccs/ |
H A D | mk-ccs-regs | 237 foreach my $arg (@{$this->{args}}) { 238 my $apref = $h->{$arg}; 310 my ($arg, $min, $max, $elsize, @discontig) = split /\s+/; 317 $hdr_data .= sprintf "#define %-62s %s", "CCS_LIM_" . (uc ${this{name}} . "_MIN_$arg"), $min . ($min =~ /0x/i ? "" : "U") . "\n"; 318 $hdr_data .= sprintf "#define %-62s %s", "CCS_LIM_" . (uc ${this{name}} . "_MAX_$arg"), $max . ($max =~ /0x/i ? "" : "U") . "\n"; 322 $h->{$arg} = { "min" => $min, 327 $this{discontig} = $arg if @discontig; 338 foreach my $arg (@{$this{args}}) { 339 my $d = $h->{$arg}->{discontig}; 340 my $times = $h->{$arg} [all...] |
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | guest_modes.c | 86 void for_each_guest_mode(void (*func)(enum vm_guest_mode, void *), void *arg) argument 96 func(i, arg); 114 void guest_modes_cmdline(const char *arg) argument 126 mode = atoi_non_negative("Guest mode ID", arg);
|
/linux-master/net/sched/ |
H A D | cls_cgroup.c | 81 void **arg, u32 flags, 148 static int cls_cgroup_delete(struct tcf_proto *tp, void *arg, bool *last, argument 154 static void cls_cgroup_walk(struct tcf_proto *tp, struct tcf_walker *arg, argument 159 if (arg->count < arg->skip) 164 if (arg->fn(tp, head, arg) < 0) { 165 arg->stop = 1; 169 arg->count++; 78 cls_cgroup_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, void **arg, u32 flags, struct netlink_ext_ack *extack) argument
|
/linux-master/drivers/platform/x86/amd/pmf/ |
H A D | tee-if.c | 48 struct tee_ioctl_invoke_arg *arg, 51 memset(arg, 0, sizeof(*arg)); 54 arg->func = cmd; 55 arg->session = dev->session_id; 56 arg->num_params = MAX_TEE_PARAM; 166 struct tee_ioctl_invoke_arg arg; local 182 amd_pmf_prepare_args(dev, TA_PMF_COMMAND_POLICY_BUILDER_ENACT_POLICIES, &arg, param); 184 ret = tee_client_invoke_func(dev->tee_ctx, &arg, param); 185 if (ret < 0 || arg 47 amd_pmf_prepare_args(struct amd_pmf_dev *dev, int cmd, struct tee_ioctl_invoke_arg *arg, struct tee_param *param) argument 205 struct tee_ioctl_invoke_arg arg; local [all...] |
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss_device.h | 56 struct snd_seq_oss_arg arg; member in struct:seq_oss_synthinfo 112 int snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long arg); 143 snd_seq_oss_control(struct seq_oss_devinfo *dp, unsigned int type, void *arg) argument 148 err = snd_seq_kernel_client_ctl(dp->cseq, type, arg);
|
/linux-master/sound/core/ |
H A D | timer_compat.c | 80 unsigned long arg) 82 void __user *argp = compat_ptr(arg); 115 unsigned long arg) 120 return __snd_timer_user_ioctl_compat(file, cmd, arg); 79 __snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg) argument 114 snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/drivers/media/test-drivers/visl/ |
H A D | visl.h | 80 #define dprintk(dev, fmt, arg...) \ 81 v4l2_dbg(1, visl_debug, &(dev)->v4l2_dev, "%s: " fmt, __func__, ## arg) 90 #define frame_dprintk(dev, current, fmt, arg...) \ 95 dprintk(dev, fmt, ## arg); \
|
/linux-master/tools/bpf/bpftool/ |
H A D | main.h | 92 int detect_common_prefix(const char *arg, ...); 93 void fprint_hex(FILE *f, void *arg, unsigned int n, const char *sep); 155 int do_prog(int argc, char **arg) __weak; 156 int do_map(int argc, char **arg) __weak; 157 int do_link(int argc, char **arg) __weak; 159 int do_cgroup(int argc, char **arg) __weak; 160 int do_perf(int argc, char **arg) __weak; 161 int do_net(int argc, char **arg) __weak; 162 int do_tracelog(int argc, char **arg) __weak;
|
/linux-master/arch/mips/rb532/ |
H A D | prom.c | 36 static inline int match_tag(char *arg, const char *tag) argument 38 return strncmp(arg, tag, strlen(tag)) == 0; 41 static inline unsigned long tag2ul(char *arg, const char *tag) argument 45 num = arg + strlen(tag); 70 /* parses out the "mem=xx" arg */
|
/linux-master/arch/x86/kernel/apic/ |
H A D | msi.c | 280 msi_alloc_info_t *arg) 282 init_irq_alloc_info(arg, NULL); 285 arg->type = X86_IRQ_ALLOC_TYPE_PCI_MSIX; 287 arg->type = X86_IRQ_ALLOC_TYPE_PCI_MSI; 324 irq_hw_number_t hwirq, msi_alloc_info_t *arg) 326 irq_domain_set_info(domain, virq, arg->devid, info->chip, NULL, 327 handle_edge_irq, arg->data, "edge"); 364 int dmar_alloc_hwirq(int id, int node, void *arg) argument 376 info.data = arg; 279 pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec, msi_alloc_info_t *arg) argument 322 dmar_msi_init(struct irq_domain *domain, struct msi_domain_info *info, unsigned int virq, irq_hw_number_t hwirq, msi_alloc_info_t *arg) argument
|