/linux-master/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_task_queue.h | 21 * @arg: Generic integer argument for tasklet function (optional) 31 int (*func)(struct iosm_imem *ipc_imem, int arg, void *msg, 33 int arg; member in struct:ipc_task_queue_args 84 * @arg: Integer argument for func 93 int (*func)(struct iosm_imem *ipc_imem, int arg, 95 int arg, void *msg, size_t size, bool wait);
|
/linux-master/drivers/scsi/elx/efct/ |
H A D | efct_unsol.h | 11 efct_unsolicited_cb(void *arg, struct efc_hw_sequence *seq);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | btf_type_tag_percpu.c | 18 int BPF_PROG(test_percpu1, struct bpf_testmod_btf_type_tag_1 *arg) argument 20 g = arg->a; 25 int BPF_PROG(test_percpu2, struct bpf_testmod_btf_type_tag_2 *arg) argument 27 g = arg->p->a;
|
/linux-master/include/linux/ |
H A D | memfd.h | 8 extern long memfd_fcntl(struct file *file, unsigned int cmd, unsigned int arg);
|
/linux-master/include/linux/sched/ |
H A D | vhost_task.h | 7 struct vhost_task *vhost_task_create(bool (*fn)(void *), void *arg,
|
/linux-master/drivers/input/serio/ |
H A D | i8042.h | 63 #define dbg(format, arg...) \ 67 (int) (jiffies - i8042_start_time), ##arg); \ 82 #define dbg(format, arg...) \ 85 printk(KERN_DEBUG pr_fmt(format), ##arg); \
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-debug.h | 11 #define pvr2_trace(msk, fmt, arg...) do {if (msk & pvrusb2_debug) pr_info("pvrusb2: " fmt "\n", ##arg); } while (0)
|
/linux-master/arch/x86/mm/ |
H A D | pgtable_32.c | 76 static int __init parse_vmalloc(char *arg) argument 78 if (!arg) 82 __VMALLOC_RESERVE = memparse(arg, &arg) + VMALLOC_OFFSET; 92 static int __init parse_reservetop(char *arg) argument 96 if (!arg) 99 address = memparse(arg, &arg);
|
/linux-master/tools/lib/symbol/ |
H A D | kallsyms.h | 25 int kallsyms__parse(const char *filename, void *arg, 26 int (*process_symbol)(void *arg, const char *name,
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calc_math.c | 71 float dcn_bw_floor2(const float arg, const float significance) argument 75 return ((int) (arg / significance)) * significance; 77 float dcn_bw_floor(const float arg) argument 79 return ((int) (arg)); 82 float dcn_bw_ceil(const float arg) argument 84 return (int) (arg + 0.99999); 87 float dcn_bw_ceil2(const float arg, const float significance) argument 91 return ((int) (arg / significance + 0.99999)) * significance;
|
/linux-master/tools/perf/trace/beauty/ |
H A D | seccomp.c | 9 static size_t syscall_arg__scnprintf_seccomp_op(char *bf, size_t size, struct syscall_arg *arg) argument 11 bool show_prefix = arg->show_string_prefix; 13 int op = arg->val; 34 struct syscall_arg *arg) 36 bool show_prefix = arg->show_string_prefix; 38 int printed = 0, flags = arg->val; 33 syscall_arg__scnprintf_seccomp_flags(char *bf, size_t size, struct syscall_arg *arg) argument
|
H A D | perf_event_open.c | 19 struct syscall_arg *arg) 21 bool show_prefix = arg->show_string_prefix; 23 int printed = 0, flags = arg->val; 77 static size_t syscall_arg__scnprintf_augmented_perf_event_attr(struct syscall_arg *arg, char *bf, size_t size) argument 79 return perf_event_attr___scnprintf((void *)arg->augmented.args, bf, size, arg->trace->show_zeros); 82 static size_t syscall_arg__scnprintf_perf_event_attr(char *bf, size_t size, struct syscall_arg *arg) argument 84 if (arg->augmented.args) 85 return syscall_arg__scnprintf_augmented_perf_event_attr(arg, bf, size); 87 return scnprintf(bf, size, "%#lx", arg 18 syscall_arg__scnprintf_perf_flags(char *bf, size_t size, struct syscall_arg *arg) argument [all...] |
/linux-master/drivers/media/firewire/ |
H A D | firedtv-ci.c | 44 static int fdtv_ca_get_caps(void *arg) argument 46 struct ca_caps *cap = arg; 55 static int fdtv_ca_get_slot_info(struct firedtv *fdtv, void *arg) argument 58 struct ca_slot_info *slot = arg; 73 static int fdtv_ca_app_info(struct firedtv *fdtv, void *arg) argument 75 struct ca_msg *reply = arg; 80 static int fdtv_ca_info(struct firedtv *fdtv, void *arg) argument 82 struct ca_msg *reply = arg; 87 static int fdtv_ca_get_mmi(struct firedtv *fdtv, void *arg) argument 89 struct ca_msg *reply = arg; 94 fdtv_ca_get_msg(struct firedtv *fdtv, void *arg) argument 122 fdtv_ca_pmt(struct firedtv *fdtv, void *arg) argument 143 fdtv_ca_send_msg(struct firedtv *fdtv, void *arg) argument 174 fdtv_ca_ioctl(struct file *file, unsigned int cmd, void *arg) argument [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_ioc32.c | 48 unsigned long arg) 53 if (copy_from_user(&req32, (void __user *)arg, sizeof(req32))) 71 * @arg: the ioctl argument (from userspace) 76 long i915_ioc32_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument 83 return drm_compat_ioctl(filp, cmd, arg); 89 ret = (*fn) (filp, cmd, arg); 91 ret = drm_ioctl(filp, cmd, arg); 47 compat_i915_getparam(struct file *file, unsigned int cmd, unsigned long arg) argument
|
/linux-master/tools/perf/util/intel-pt-decoder/ |
H A D | intel-pt-log.h | 39 #define intel_pt_log_packet(arg, ...) \ 42 __intel_pt_log_packet(arg, ##__VA_ARGS__); \ 45 #define intel_pt_log_insn(arg, ...) \ 48 __intel_pt_log_insn(arg, ##__VA_ARGS__); \ 51 #define intel_pt_log_insn_no_data(arg, ...) \ 54 __intel_pt_log_insn_no_data(arg, ##__VA_ARGS__); \
|
/linux-master/tools/lib/thermal/ |
H A D | sampling.c | 11 static int handle_thermal_sample(struct nl_msg *n, void *arg) argument 16 struct thermal_handler_param *thp = arg; 26 nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TEMP]), arg); 32 thermal_error_t thermal_sampling_handle(struct thermal_handler *th, void *arg) argument 34 struct thermal_handler_param thp = { .th = th, .arg = arg };
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_mmu.h | 30 int (*handler)(void *arg, unsigned long iova, int flags, void *data); 31 void *arg; member in struct:msm_mmu 47 static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg, argument 48 int (*handler)(void *arg, unsigned long iova, int flags, void *data)) 50 mmu->arg = arg;
|
/linux-master/drivers/media/cec/core/ |
H A D | cec-priv.h | 14 #define dprintk(lvl, fmt, arg...) \ 17 pr_info("cec-%s: " fmt, adap->name, ## arg); \ 20 #define call_op(adap, op, arg...) \ 22 adap->ops->op(adap, ## arg) : 0) 24 #define call_void_op(adap, op, arg...) \ 27 adap->ops->op(adap, ## arg); \
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | stv6110x_priv.h | 20 #define dprintk(__y, __z, format, arg...) do { \ 23 printk(KERN_ERR "%s: " format "\n", __func__, ##arg); \ 25 printk(KERN_NOTICE "%s: " format "\n", __func__, ##arg); \ 27 printk(KERN_INFO "%s: " format "\n", __func__, ##arg); \ 29 printk(KERN_DEBUG "%s: " format "\n", __func__, ##arg); \ 32 printk(format, ##arg); \
|
/linux-master/tools/perf/util/ |
H A D | trace-event-parse.c | 157 find_arg_field(struct tep_format_field *prev_state_field, struct tep_print_arg *arg) argument 161 if (!arg) 164 if (arg->type == TEP_PRINT_FIELD) 165 return &arg->field; 167 if (arg->type == TEP_PRINT_OP) { 168 field = find_arg_field(prev_state_field, arg->op.left); 171 field = find_arg_field(prev_state_field, arg->op.right); 179 test_flags(struct tep_format_field *prev_state_field, struct tep_print_arg *arg) argument 183 field = find_arg_field(prev_state_field, arg->flags.field); 187 return arg 191 search_op(struct tep_format_field *prev_state_field, struct tep_print_arg *arg) argument 216 struct tep_print_arg *arg; local [all...] |
/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | wsm.c | 83 void *arg, u16 cmd, long tmo); 92 void *arg, 105 int wsm_configuration(struct cw1200_common *priv, struct wsm_configuration *arg) argument 112 WSM_PUT32(buf, arg->dot11MaxTransmitMsduLifeTime); 113 WSM_PUT32(buf, arg->dot11MaxReceiveLifeTime); 114 WSM_PUT32(buf, arg->dot11RtsThreshold); 117 WSM_PUT16(buf, arg->dpdData_size + 12); 119 WSM_PUT(buf, arg->dot11StationId, ETH_ALEN); 121 WSM_PUT(buf, arg->dpdData, arg 91 wsm_generic_confirm(struct cw1200_common *priv, void *arg, struct wsm_buf *buf) argument 134 wsm_configuration_confirm(struct cw1200_common *priv, struct wsm_configuration *arg, struct wsm_buf *buf) argument 163 wsm_reset(struct cw1200_common *priv, const struct wsm_reset *arg) argument 214 wsm_read_mib_confirm(struct cw1200_common *priv, struct wsm_mib *arg, struct wsm_buf *buf) argument 267 wsm_write_mib_confirm(struct cw1200_common *priv, struct wsm_mib *arg, struct wsm_buf *buf) argument 287 wsm_scan(struct cw1200_common *priv, const struct wsm_scan *arg) argument 407 wsm_join_confirm(struct cw1200_common *priv, struct wsm_join_cnf *arg, struct wsm_buf *buf) argument 425 wsm_join(struct cw1200_common *priv, struct wsm_join *arg) argument 463 wsm_set_bss_params(struct cw1200_common *priv, const struct wsm_set_bss_params *arg) argument 489 wsm_add_key(struct cw1200_common *priv, const struct wsm_add_key *arg) argument 511 wsm_remove_key(struct cw1200_common *priv, const struct wsm_remove_key *arg) argument 535 wsm_set_tx_queue_params(struct cw1200_common *priv, const struct wsm_set_tx_queue_params *arg, u8 id) argument 564 wsm_set_edca_params(struct cw1200_common *priv, const struct wsm_edca_params *arg) argument 611 wsm_switch_channel(struct cw1200_common *priv, const struct wsm_switch_channel *arg) argument 640 wsm_set_pm(struct cw1200_common *priv, const struct wsm_set_pm *arg) argument 666 wsm_start(struct cw1200_common *priv, const struct wsm_start *arg) argument 699 wsm_beacon_transmit(struct cw1200_common *priv, const struct wsm_beacon_transmit *arg) argument 748 wsm_map_link(struct cw1200_common *priv, const struct wsm_map_link *arg) argument 771 wsm_update_ie(struct cw1200_common *priv, const struct wsm_update_ie *arg) argument 977 wsm_scan_started(struct cw1200_common *priv, void *arg, struct wsm_buf *buf) argument 995 struct wsm_scan_complete arg; local 1010 struct wsm_join_complete arg; local 1052 struct wsm_suspend_resume arg; local 1072 wsm_cmd_send(struct cw1200_common *priv, struct wsm_buf *buf, void *arg, u16 cmd, long tmo) argument [all...] |
/linux-master/drivers/edac/ |
H A D | edac_mc.h | 48 #define edac_printk(level, prefix, fmt, arg...) \ 49 printk(level "EDAC " prefix ": " fmt, ##arg) 51 #define edac_mc_printk(mci, level, fmt, arg...) \ 52 printk(level "EDAC MC%d: " fmt, mci->mc_idx, ##arg) 54 #define edac_mc_chipset_printk(mci, level, prefix, fmt, arg...) \ 55 printk(level "EDAC " prefix " MC%d: " fmt, mci->mc_idx, ##arg) 57 #define edac_device_printk(ctl, level, fmt, arg...) \ 58 printk(level "EDAC DEVICE%d: " fmt, ctl->dev_idx, ##arg) 60 #define edac_pci_printk(ctl, level, fmt, arg...) \ 61 printk(level "EDAC PCI%d: " fmt, ctl->pci_idx, ##arg) [all...] |
/linux-master/sound/pci/hda/ |
H A D | hda_hwdep.c | 22 struct hda_verb_ioctl __user *arg) 26 if (get_user(verb, &arg->verb)) 30 if (put_user(res, &arg->res)) 36 struct hda_verb_ioctl __user *arg) 40 if (get_user(verb, &arg->verb)) 52 if (put_user(res, &arg->res)) 61 unsigned int cmd, unsigned long arg) 64 void __user *argp = (void __user *)arg; 79 unsigned int cmd, unsigned long arg) 81 return hda_hwdep_ioctl(hw, file, cmd, (unsigned long)compat_ptr(arg)); 21 verb_write_ioctl(struct hda_codec *codec, struct hda_verb_ioctl __user *arg) argument 35 get_wcap_ioctl(struct hda_codec *codec, struct hda_verb_ioctl __user *arg) argument 60 hda_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, unsigned int cmd, unsigned long arg) argument 78 hda_hwdep_ioctl_compat(struct snd_hwdep *hw, struct file *file, unsigned int cmd, unsigned long arg) argument [all...] |
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_logmsg.h | 57 #define lpfc_vlog_msg(vport, level, mask, fmt, arg...) \ 60 fmt, (vport)->phba->brd_no, vport->vpi, ##arg); } 62 #define lpfc_log_msg(phba, level, mask, fmt, arg...) \ 69 fmt, phba->brd_no, ##arg); \ 73 #define lpfc_printf_vlog(vport, level, mask, fmt, arg...) \ 79 fmt, (vport)->phba->brd_no, vport->vpi, ##arg); \ 82 (vport)->phba->brd_no, (vport)->vpi, ##arg); \ 86 #define lpfc_printf_log(phba, level, mask, fmt, arg...) \ 95 fmt, phba->brd_no, ##arg); \ 97 lpfc_dbg_print(phba, "%d:" fmt, phba->brd_no, ##arg); \ [all...] |
/linux-master/io_uring/ |
H A D | register.c | 34 static int io_eventfd_register(struct io_ring_ctx *ctx, void __user *arg, argument 38 __s32 __user *fds = arg; 89 static __cold int io_probe(struct io_ring_ctx *ctx, void __user *arg, argument 104 if (copy_from_user(p, arg, size)) 122 if (copy_to_user(arg, p, size)) 161 void __user *arg, unsigned int nr_args) 175 if (!arg || nr_args > IORING_MAX_RESTRICTIONS) 182 res = memdup_user(arg, size); 271 void __user *arg, unsigned len) 286 (const compat_ulong_t __user *)arg, 160 io_register_restrictions(struct io_ring_ctx *ctx, void __user *arg, unsigned int nr_args) argument 270 io_register_iowq_aff(struct io_ring_ctx *ctx, void __user *arg, unsigned len) argument [all...] |