Searched refs:arg (Results 201 - 225 of 3423) sorted by relevance

1234567891011>>

/linux-master/mm/kasan/
H A Dtags.c46 static int __init early_kasan_flag_stacktrace(char *arg) argument
48 if (!arg)
51 if (!strcmp(arg, "off"))
53 else if (!strcmp(arg, "on"))
63 static int __init early_kasan_flag_stack_ring_size(char *arg) argument
65 if (!arg)
68 return kstrtoul(arg, 0, &stack_ring.size);
/linux-master/drivers/gpu/drm/amd/display/dc/basics/
H A Dconversion.c36 struct fixed31_32 arg,
47 arg));
52 arg,
71 arg, dc_fixpt_zero))
104 static struct fixed31_32 int_frac_to_fixed_point(uint16_t arg, argument
112 result.value = (long long)(arg & value_mask) <<
115 if (arg & sign_mask)
35 fixed_point_to_int_frac( struct fixed31_32 arg, uint8_t integer_bits, uint8_t fractional_bits) argument
/linux-master/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.c459 int err, arg; local
461 arg = pullup ? 1 : 2;
463 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PU, arg & 1);
468 !!(arg & 2));
526 int err, arg; local
528 arg = pullup ? MTK_PULLUP : MTK_PULLDOWN;
535 err = mtk_hw_set_value(hw, desc, PINCTRL_PIN_REG_PULLSEL, arg);
576 u32 pullup, u32 arg)
580 if (arg == MTK_DISABLE) {
583 } else if ((arg
574 mtk_pinconf_bias_set_pu_pd(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
604 mtk_pinconf_bias_set_pullsel_pullen(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
629 mtk_pinconf_bias_set_pupd_r1_r0(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
668 mtk_hw_pin_rsel_lookup(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg, u32 *rsel_val) argument
706 mtk_pinconf_bias_set_rsel(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
740 mtk_pinconf_bias_set_combo(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 pullup, u32 arg) argument
968 mtk_pinconf_drive_set(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
1023 mtk_pinconf_drive_set_rev1(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
1062 mtk_pinconf_drive_set_raw(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
1076 mtk_pinconf_adv_pull_set(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, bool pullup, u32 arg) argument
1162 mtk_pinconf_adv_drive_set(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
1213 mtk_pinconf_adv_drive_set_raw(struct mtk_pinctrl *hw, const struct mtk_pin_desc *desc, u32 arg) argument
[all...]
/linux-master/drivers/thunderbolt/
H A Dtunnel.h150 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \
159 ## arg); \
162 #define tb_tunnel_WARN(tunnel, fmt, arg...) \
163 __TB_TUNNEL_PRINT(tb_WARN, tunnel, fmt, ##arg)
164 #define tb_tunnel_warn(tunnel, fmt, arg...) \
165 __TB_TUNNEL_PRINT(tb_warn, tunnel, fmt, ##arg)
166 #define tb_tunnel_info(tunnel, fmt, arg...) \
167 __TB_TUNNEL_PRINT(tb_info, tunnel, fmt, ##arg)
168 #define tb_tunnel_dbg(tunnel, fmt, arg...) \
169 __TB_TUNNEL_PRINT(tb_dbg, tunnel, fmt, ##arg)
[all...]
/linux-master/tools/perf/trace/beauty/
H A Dopen_flags.c80 size_t syscall_arg__scnprintf_open_flags(char *bf, size_t size, struct syscall_arg *arg) argument
82 int flags = arg->val;
85 arg->mask |= 1 << (arg->idx + 1); /* Mask the mode parm */
87 return open__scnprintf_flags(flags, bf, size, arg->show_string_prefix);
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_ctl_drv.c26 static long adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg);
90 unsigned long arg)
101 if (copy_from_user(cfg_data, (void __user *)arg, sizeof(*cfg_data))) {
186 unsigned long arg)
192 ret = adf_ctl_alloc_resources(&ctl_data, arg);
262 unsigned long arg)
267 ret = adf_ctl_alloc_resources(&ctl_data, arg);
295 unsigned long arg)
301 ret = adf_ctl_alloc_resources(&ctl_data, arg);
327 unsigned long arg)
89 adf_ctl_alloc_resources(struct adf_user_cfg_ctl_data **ctl_data, unsigned long arg) argument
185 adf_ctl_ioctl_dev_config(struct file *fp, unsigned int cmd, unsigned long arg) argument
261 adf_ctl_ioctl_dev_stop(struct file *fp, unsigned int cmd, unsigned long arg) argument
294 adf_ctl_ioctl_dev_start(struct file *fp, unsigned int cmd, unsigned long arg) argument
326 adf_ctl_ioctl_get_num_devices(struct file *fp, unsigned int cmd, unsigned long arg) argument
338 adf_ctl_ioctl_get_status(struct file *fp, unsigned int cmd, unsigned long arg) argument
377 adf_ctl_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) argument
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.h42 int (*fn)(const char *cgroup, void *arg),
43 void *arg);
48 int (*fn)(const char *cgroup, void *arg),
49 void *arg);
52 extern int alloc_anon(const char *cgroup, void *arg);
/linux-master/tools/perf/tests/shell/coresight/unroll_loop_thread/
H A Dunroll_loop_thread.c15 static void *thrfn(void *arg) argument
17 struct args *a = arg;
41 static pthread_t new_thr(void *(*fn) (void *arg), void *arg) argument
47 pthread_create(&t, &attr, fn, arg);
/linux-master/tools/perf/tests/shell/coresight/memcpy_thread/
H A Dmemcpy_thread.c16 static void *thrfn(void *arg) argument
18 struct args *a = arg;
32 static pthread_t new_thr(void *(*fn) (void *arg), void *arg) argument
38 pthread_create(&t, &attr, fn, arg);
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.h185 #define hw_dbg(hw, format, arg...) \
186 netdev_dbg(ixgbe_hw_to_netdev(hw), format, ## arg)
187 #define hw_err(hw, format, arg...) \
188 netdev_err(ixgbe_hw_to_netdev(hw), format, ## arg)
189 #define e_dev_info(format, arg...) \
190 dev_info(&adapter->pdev->dev, format, ## arg)
191 #define e_dev_warn(format, arg...) \
192 dev_warn(&adapter->pdev->dev, format, ## arg)
193 #define e_dev_err(format, arg...) \
194 dev_err(&adapter->pdev->dev, format, ## arg)
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_ioc32.c92 unsigned long arg)
98 if (copy_from_user(&v32, (void __user *)arg, sizeof(v32)))
122 if (copy_to_user((void __user *)arg, &v32, sizeof(v32)))
133 unsigned long arg)
139 if (copy_from_user(&uq32, (void __user *)arg, sizeof(uq32)))
154 if (copy_to_user((void __user *)arg, &uq32, sizeof(uq32)))
160 unsigned long arg)
176 unsigned long arg)
179 drm_client32_t __user *argp = (void __user *)arg;
215 unsigned long arg)
91 compat_drm_version(struct file *file, unsigned int cmd, unsigned long arg) argument
132 compat_drm_getunique(struct file *file, unsigned int cmd, unsigned long arg) argument
159 compat_drm_setunique(struct file *file, unsigned int cmd, unsigned long arg) argument
175 compat_drm_getclient(struct file *file, unsigned int cmd, unsigned long arg) argument
214 compat_drm_getstats(struct file *file, unsigned int cmd, unsigned long arg) argument
234 compat_drm_update_draw(struct file *file, unsigned int cmd, unsigned long arg) argument
260 compat_drm_wait_vblank(struct file *file, unsigned int cmd, unsigned long arg) argument
301 compat_drm_mode_addfb2(struct file *file, unsigned int cmd, unsigned long arg) argument
362 drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) argument
[all...]
/linux-master/arch/um/kernel/skas/
H A Duaccess.c65 int (*op)(unsigned long addr, int len, void *arg), void *arg)
84 n = (*op)(addr, len, arg);
96 int (*op)(unsigned long, int, void *), void *arg)
103 n = do_op_one_page(addr, size, is_write, op, arg);
115 n = do_op_one_page(addr, PAGE_SIZE, is_write, op, arg);
127 n = do_op_one_page(addr, remain, is_write, op, arg);
138 static int copy_chunk_from_user(unsigned long from, int len, void *arg) argument
140 unsigned long *to_ptr = arg, to = *to_ptr;
153 static int copy_chunk_to_user(unsigned long to, int len, void *arg) argument
64 do_op_one_page(unsigned long addr, int len, int is_write, int (*op)(unsigned long addr, int len, void *arg), void *arg) argument
95 buffer_op(unsigned long addr, int len, int is_write, int (*op)(unsigned long, int, void *), void *arg) argument
168 strncpy_chunk_from_user(unsigned long from, int len, void *arg) argument
209 strnlen_chunk(unsigned long str, int len, void *arg) argument
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Datom.c183 uint32_t idx, val = 0xCDCDCDCD, align, arg; local
185 arg = attr & 7;
187 switch (arg) {
373 uint32_t align = (attr >> 3) & 7, arg = attr & 7; local
374 switch (arg) {
438 static uint32_t atom_get_dst(atom_exec_context *ctx, int arg, uint8_t attr, argument
442 arg | atom_dst_to_src[(attr >> 3) &
447 static void atom_skip_dst(atom_exec_context *ctx, int arg, uint8_t attr, int *ptr) argument
450 arg | atom_dst_to_src[(attr >> 3) & 7][(attr >> 6) &
454 static void atom_put_dst(atom_exec_context *ctx, int arg, uint8_ argument
598 atom_op_add(atom_exec_context *ctx, int *ptr, int arg) argument
612 atom_op_and(atom_exec_context *ctx, int *ptr, int arg) argument
626 atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) argument
631 atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) argument
647 atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) argument
659 atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) argument
673 atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) argument
685 atom_op_div(atom_exec_context *ctx, int *ptr, int arg) argument
702 atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) argument
707 atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) argument
760 atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) argument
777 atom_op_move(atom_exec_context *ctx, int *ptr, int arg) argument
794 atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) argument
805 atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) argument
810 atom_op_or(atom_exec_context *ctx, int *ptr, int arg) argument
824 atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) argument
830 atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) argument
835 atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) argument
840 atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) argument
845 atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) argument
859 atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) argument
866 atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) argument
893 atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) argument
900 atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) argument
916 atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) argument
932 atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) argument
951 atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) argument
970 atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) argument
984 atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) argument
1011 atom_op_test(atom_exec_context *ctx, int *ptr, int arg) argument
1023 atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) argument
1037 atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) argument
1044 int arg; member in struct:__anon495
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Dcx24120.c158 u8 arg[CX24120_MAX_CMD_LEN]; member in struct:cx24120_cmd
384 cx24120_writeregs(state, CX24120_REG_CMD_ARGS, &cmd->arg[0],
402 /* Send a message and fill arg[] with the results */
422 cmd->arg[i] = cx24120_readreg(state, (cmd->len + i + 1));
448 cmd.arg[0] = 0x01;
449 cmd.arg[1] = 0x00;
450 cmd.arg[2] = enable ? 0 : (u8)(-1);
451 cmd.arg[3] = 0x01;
475 cmd.arg[0] = seq; /* sequental number - can be 0,1,2 */
476 cmd.arg[
[all...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dwmi.c1700 const struct wmi_channel_arg *arg)
1707 if (arg->passive)
1709 if (arg->allow_ibss)
1711 if (arg->allow_ht)
1713 if (arg->allow_vht)
1715 if (arg->ht40plus)
1717 if (arg->chan_radar)
1721 ch->mhz = __cpu_to_le32(arg->freq);
1722 ch->band_center_freq1 = __cpu_to_le32(arg->band_center_freq1);
1723 if (arg
1699 ath10k_wmi_put_wmi_channel(struct ath10k *ar, struct wmi_channel *ch, const struct wmi_channel_arg *arg) argument
2170 ath10k_wmi_op_pull_scan_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_scan_ev_arg *arg) argument
2191 struct wmi_scan_ev_arg arg = {}; local
2284 ath10k_wmi_op_pull_mgmt_rx_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_mgmt_rx_ev_arg *arg) argument
2335 ath10k_wmi_10_4_op_pull_mgmt_rx_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_mgmt_rx_ev_arg *arg) argument
2446 struct wmi_tlv_mgmt_tx_compl_ev_arg arg; local
2472 struct wmi_tlv_mgmt_tx_bundle_compl_ev_arg arg; local
2502 struct wmi_mgmt_rx_ev_arg arg = {}; local
2652 ath10k_wmi_op_pull_ch_info_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_ch_info_ev_arg *arg) argument
2671 ath10k_wmi_10_4_op_pull_ch_info_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_ch_info_ev_arg *arg) argument
2775 struct wmi_ch_info_ev_arg arg = {}; local
2822 struct wmi_echo_ev_arg arg = {}; local
3422 ath10k_wmi_op_pull_vdev_start_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_vdev_start_ev_arg *arg) argument
3441 struct wmi_vdev_start_ev_arg arg = {}; local
3478 ath10k_wmi_op_pull_peer_kick_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_peer_kick_ev_arg *arg) argument
3494 struct wmi_peer_kick_ev_arg arg = {}; local
3663 ath10k_wmi_op_pull_swba_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_swba_ev_arg *arg) argument
3708 ath10k_wmi_10_2_4_op_pull_swba_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_swba_ev_arg *arg) argument
3752 ath10k_wmi_10_4_op_pull_swba_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_swba_ev_arg *arg) argument
3816 struct wmi_swba_ev_arg arg = {}; local
4299 ath10k_wmi_op_pull_phyerr_ev_hdr(struct ath10k *ar, struct sk_buff *skb, struct wmi_phyerr_hdr_arg *arg) argument
4317 ath10k_wmi_10_4_op_pull_phyerr_ev_hdr(struct ath10k *ar, struct sk_buff *skb, struct wmi_phyerr_hdr_arg *arg) argument
4337 ath10k_wmi_op_pull_phyerr_ev(struct ath10k *ar, const void *phyerr_buf, int left_len, struct wmi_phyerr_ev_arg *arg) argument
4381 ath10k_wmi_10_4_op_pull_phyerr_ev(struct ath10k *ar, const void *phyerr_buf, int left_len, struct wmi_phyerr_ev_arg *arg) argument
4490 ath10k_wmi_10_4_op_pull_dfs_status_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_dfs_status_ev_arg *arg) argument
4532 struct wmi_roam_ev_arg arg = {}; local
5419 ath10k_wmi_main_op_pull_svc_rdy_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_svc_rdy_ev_arg *arg) argument
5461 ath10k_wmi_10x_op_pull_svc_rdy_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_svc_rdy_ev_arg *arg) argument
5511 struct wmi_svc_rdy_ev_arg arg = {}; local
5681 ath10k_wmi_op_pull_rdy_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_rdy_ev_arg *arg) argument
5698 ath10k_wmi_op_pull_roam_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_roam_ev_arg *arg) argument
5713 ath10k_wmi_op_pull_echo_ev(struct ath10k *ar, struct sk_buff *skb, struct wmi_echo_ev_arg *arg) argument
5726 struct wmi_rdy_ev_arg arg = {}; local
5751 struct wmi_svc_avail_ev_arg arg = {}; local
6858 ath10k_wmi_start_scan_verify(const struct wmi_start_scan_arg *arg) argument
6873 ath10k_wmi_start_scan_tlvs_len(const struct wmi_start_scan_arg *arg) argument
6900 ath10k_wmi_put_start_scan_common(struct wmi_start_scan_common *cmn, const struct wmi_start_scan_arg *arg) argument
6930 ath10k_wmi_put_start_scan_tlvs(u8 *tlvs, const struct wmi_start_scan_arg *arg) argument
6995 ath10k_wmi_op_gen_start_scan(struct ath10k *ar, const struct wmi_start_scan_arg *arg) argument
7024 ath10k_wmi_10x_op_gen_start_scan(struct ath10k *ar, const struct wmi_start_scan_arg *arg) argument
7050 ath10k_wmi_start_scan_init(struct ath10k *ar, struct wmi_start_scan_arg *arg) argument
7077 ath10k_wmi_op_gen_stop_scan(struct ath10k *ar, const struct wmi_stop_scan_arg *arg) argument
7156 ath10k_wmi_op_gen_vdev_start(struct ath10k *ar, const struct wmi_vdev_start_request_arg *arg, bool restart) argument
7296 ath10k_wmi_op_gen_vdev_install_key(struct ath10k *ar, const struct wmi_vdev_install_key_arg *arg) argument
7332 ath10k_wmi_op_gen_vdev_spectral_conf(struct ath10k *ar, const struct wmi_vdev_spectral_conf_arg *arg) argument
7547 ath10k_wmi_op_gen_scan_chan_list(struct ath10k *ar, const struct wmi_scan_chan_list_arg *arg) argument
7574 ath10k_wmi_peer_assoc_fill(struct ath10k *ar, void *buf, const struct wmi_peer_assoc_complete_arg *arg) argument
7616 ath10k_wmi_peer_assoc_fill_main(struct ath10k *ar, void *buf, const struct wmi_peer_assoc_complete_arg *arg) argument
7626 ath10k_wmi_peer_assoc_fill_10_1(struct ath10k *ar, void *buf, const struct wmi_peer_assoc_complete_arg *arg) argument
7633 ath10k_wmi_peer_assoc_fill_10_2(struct ath10k *ar, void *buf, const struct wmi_peer_assoc_complete_arg *arg) argument
7652 ath10k_wmi_peer_assoc_fill_10_4(struct ath10k *ar, void *buf, const struct wmi_peer_assoc_complete_arg *arg) argument
7663 ath10k_wmi_peer_assoc_check_arg(const struct wmi_peer_assoc_complete_arg *arg) argument
7676 ath10k_wmi_op_gen_peer_assoc(struct ath10k *ar, const struct wmi_peer_assoc_complete_arg *arg) argument
7701 ath10k_wmi_10_1_op_gen_peer_assoc(struct ath10k *ar, const struct wmi_peer_assoc_complete_arg *arg) argument
7726 ath10k_wmi_10_2_op_gen_peer_assoc(struct ath10k *ar, const struct wmi_peer_assoc_complete_arg *arg) argument
7751 ath10k_wmi_10_4_op_gen_peer_assoc(struct ath10k *ar, const struct wmi_peer_assoc_complete_arg *arg) argument
7844 ath10k_wmi_set_wmm_param(struct wmi_wmm_params *params, const struct wmi_wmm_params_arg *arg) argument
7856 ath10k_wmi_op_gen_pdev_set_wmm(struct ath10k *ar, const struct wmi_wmm_params_all_arg *arg) argument
8899 ath10k_wmi_10_4_gen_tdls_peer_update(struct ath10k *ar, const struct wmi_tdls_peer_update_cmd_arg *arg, const struct wmi_tdls_peer_capab_arg *cap, const struct wmi_channel_arg *chan_arg) argument
8957 ath10k_wmi_10_4_gen_radar_found(struct ath10k *ar, const struct ath10k_radar_found_info *arg) argument
8983 ath10k_wmi_10_4_gen_per_peer_per_tid_cfg(struct ath10k *ar, const struct wmi_per_peer_per_tid_cfg_arg *arg) argument
9058 ath10k_wmi_10_2_4_op_gen_bb_timing(struct ath10k *ar, const struct wmi_bb_timing_cfg_arg *arg) argument
[all...]
/linux-master/net/sunrpc/auth_gss/
H A Dgss_rpc_upcall.c202 static void gssp_free_receive_pages(struct gssx_arg_accept_sec_context *arg) argument
206 for (i = 0; i < arg->npages && arg->pages[i]; i++)
207 __free_page(arg->pages[i]);
209 kfree(arg->pages);
212 static int gssp_alloc_receive_pages(struct gssx_arg_accept_sec_context *arg) argument
216 arg->npages = DIV_ROUND_UP(NGROUPS_MAX * 4, PAGE_SIZE);
217 arg->pages = kcalloc(arg->npages, sizeof(struct page *), GFP_KERNEL);
218 if (!arg
277 struct gssx_arg_accept_sec_context arg = { local
[all...]
/linux-master/net/atm/
H A Dioctl.c52 unsigned long arg, int compat)
58 void __user *argp = (void __user *)arg;
159 error = ic->ioctl(sock, cmd, arg);
196 if (get_user(carg, &csioc->arg))
206 if (get_user(buf, &sioc->arg))
218 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
220 return do_vcc_ioctl(sock, cmd, arg, 0);
278 unsigned long arg)
280 struct compat_atm_iobuf __user *iobuf32 = compat_ptr(arg);
290 unsigned long arg)
51 do_vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg, int compat) argument
277 do_atm_iobuf(struct socket *sock, unsigned int cmd, unsigned long arg) argument
289 do_atmif_sioc(struct socket *sock, unsigned int cmd, unsigned long arg) argument
301 do_atm_ioctl(struct socket *sock, unsigned int cmd32, unsigned long arg) argument
354 vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
[all...]
/linux-master/drivers/firmware/efi/test/
H A Defi_test.c139 static long efi_runtime_get_variable(unsigned long arg) argument
151 getvariable_user = (struct efi_getvariable __user *)arg;
229 static long efi_runtime_set_variable(unsigned long arg) argument
239 setvariable_user = (struct efi_setvariable __user *)arg;
277 static long efi_runtime_get_time(unsigned long arg) argument
285 gettime_user = (struct efi_gettime __user *)arg;
315 static long efi_runtime_set_time(unsigned long arg) argument
322 settime_user = (struct efi_settime __user *)arg;
336 static long efi_runtime_get_waketime(unsigned long arg) argument
344 getwakeuptime_user = (struct efi_getwakeuptime __user *)arg;
373 efi_runtime_set_waketime(unsigned long arg) argument
403 efi_runtime_get_nextvariablename(unsigned long arg) argument
504 efi_runtime_get_nexthighmonocount(unsigned long arg) argument
535 efi_runtime_reset_system(unsigned long arg) argument
559 efi_runtime_query_variableinfo(unsigned long arg) argument
595 efi_runtime_query_capsulecaps(unsigned long arg) argument
666 efi_runtime_get_supported_mask(unsigned long arg) argument
679 efi_test_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/linux-master/drivers/pinctrl/
H A Dpinctrl-zynqmp.c257 unsigned int arg, param = pinconf_to_config_param(*config); local
263 ret = zynqmp_pm_pinctrl_get_config(pin, param, &arg);
267 ret = zynqmp_pm_pinctrl_get_config(pin, param, &arg);
268 if (arg != PM_PINCTRL_BIAS_PULL_UP)
271 arg = 1;
275 ret = zynqmp_pm_pinctrl_get_config(pin, param, &arg);
276 if (arg != PM_PINCTRL_BIAS_PULL_DOWN)
279 arg = 1;
283 ret = zynqmp_pm_pinctrl_get_config(pin, param, &arg);
284 if (arg !
355 unsigned int arg = pinconf_to_config_argument(configs[i]); local
[all...]
/linux-master/fs/ceph/
H A Dioctl.c18 static long ceph_ioctl_get_layout(struct file *file, void __user *arg) argument
31 if (copy_to_user(arg, &l, sizeof(l)))
65 static long ceph_ioctl_set_layout(struct file *file, void __user *arg) argument
75 if (copy_from_user(&l, arg, sizeof(l)))
137 static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg) argument
146 if (copy_from_user(&l, arg, sizeof(l)))
180 static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg) argument
195 if (copy_from_user(&dl, arg, sizeof(dl)))
236 if (copy_to_user(arg, &dl, sizeof(dl)))
294 static long ceph_set_encryption_policy(struct file *file, unsigned long arg) argument
359 ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dvmap.c103 info->arg[0] = nvbios_rd32(bios, vmap + 0x08);
104 info->arg[1] = nvbios_rd32(bios, vmap + 0x0c);
105 info->arg[2] = nvbios_rd32(bios, vmap + 0x10);
112 info->arg[0] = nvbios_rd32(bios, vmap + 0x0a);
113 info->arg[1] = nvbios_rd32(bios, vmap + 0x0e);
114 info->arg[2] = nvbios_rd32(bios, vmap + 0x12);
115 info->arg[3] = nvbios_rd32(bios, vmap + 0x16);
116 info->arg[4] = nvbios_rd32(bios, vmap + 0x1a);
117 info->arg[5] = nvbios_rd32(bios, vmap + 0x1e);
/linux-master/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_param.c103 } arg; member in struct:atl1e_option
128 if (*value >= opt->arg.r.min && *value <= opt->arg.r.max) {
138 for (i = 0; i < opt->arg.l.nr; i++) {
139 ent = &opt->arg.l.p[i];
186 .arg = { .r = { .min = ATL1E_MIN_TX_DESC_CNT,
205 .arg = { .r = { .min = ATL1E_MIN_RX_MEM_SIZE,
225 .arg = { .r = { .min = INT_MOD_MIN_CNT,
244 .arg = { .r = { .min = MEDIA_TYPE_AUTO_SENSOR,
/linux-master/drivers/net/wwan/iosm/
H A Diosm_ipc_task_queue.c24 args->response = args->func(args->ipc_imem, args->arg,
78 int arg, void *msg,
79 int (*func)(struct iosm_imem *ipc_imem, int arg,
105 ipc_task->args[pos].arg = arg;
141 int (*func)(struct iosm_imem *ipc_imem, int arg,
143 int arg, void *msg, size_t size, bool wait)
157 ret = ipc_task_queue_add_task(imem, arg, copy, func,
161 "add task failed for %ps %d, %p, %zu, %d", func, arg,
77 ipc_task_queue_add_task(struct iosm_imem *ipc_imem, int arg, void *msg, int (*func)(struct iosm_imem *ipc_imem, int arg, void *msg, size_t size), size_t size, bool is_copy, bool wait) argument
140 ipc_task_queue_send_task(struct iosm_imem *imem, int (*func)(struct iosm_imem *ipc_imem, int arg, void *msg, size_t size), int arg, void *msg, size_t size, bool wait) argument
/linux-master/tools/lib/thermal/
H A Dthermal_nl.c19 static int nl_seq_check_handler(struct nl_msg *msg, void *arg) argument
25 void *arg)
27 int *ret = arg;
35 static int nl_finish_handler(struct nl_msg *msg, void *arg) argument
37 int *ret = arg;
45 static int nl_ack_handler(struct nl_msg *msg, void *arg) argument
47 int *ret = arg;
75 static int nl_family_handler(struct nl_msg *msg, void *arg) argument
77 struct handler_args *grp = arg;
24 nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *nl_err, void *arg) argument
/linux-master/arch/riscv/kernel/
H A Dstacktrace.c22 bool (*fn)(void *, unsigned long), void *arg)
47 if (unlikely(!__kernel_text_address(pc) || (level++ >= 0 && !fn(arg, pc))))
66 if (unlikely(!__kernel_text_address(pc) || !fn(arg, pc)))
80 struct pt_regs *regs, bool (*fn)(void *, unsigned long), void *arg)
102 if (__kernel_text_address(pc) && unlikely(!fn(arg, pc)))
110 static bool print_trace_address(void *arg, unsigned long pc) argument
112 const char *loglvl = arg;
130 static bool save_wchan(void *arg, unsigned long pc) argument
133 unsigned long *p = arg;
21 walk_stackframe(struct task_struct *task, struct pt_regs *regs, bool (*fn)(void *, unsigned long), void *arg) argument
79 walk_stackframe(struct task_struct *task, struct pt_regs *regs, bool (*fn)(void *, unsigned long), void *arg) argument

Completed in 274 milliseconds

1234567891011>>