/linux/arch/sparc/prom/ |
A D | misc_64.c | 26 args[1] = 1; in prom_service_exists() 27 args[2] = 1; in prom_service_exists() 33 if (args[4]) in prom_service_exists() 46 args[1] = 0; in prom_sun4v_guest_soft_state() 47 args[2] = 0; in prom_sun4v_guest_soft_state() 61 args[1] = 1; in prom_reboot() 62 args[2] = 0; in prom_reboot() 76 args[1] = 1; in prom_feval() 77 args[2] = 1; in prom_feval() 100 args[1] = 0; in prom_cmdline() [all …]
|
A D | tree_64.c | 25 args[1] = 1; in prom_node_to_node() 26 args[2] = 1; in prom_node_to_node() 101 args[1] = 2; in prom_getproplen() 102 args[2] = 1; in prom_getproplen() 128 args[1] = 4; in prom_getproperty() 129 args[2] = 1; in prom_getproperty() 248 args[1] = 3; in prom_firstprop() 249 args[2] = 1; in prom_firstprop() 251 args[4] = 0; in prom_firstprop() 280 args[1] = 3; in prom_nextprop() [all …]
|
/linux/mm/ |
A D | debug_vm_pgtable.c | 144 set_pte_at(args->mm, args->vaddr, args->ptep, pte); in pte_advanced_tests() 146 ptep_set_wrprotect(args->mm, args->vaddr, args->ptep); in pte_advanced_tests() 149 ptep_get_and_clear(args->mm, args->vaddr, args->ptep); in pte_advanced_tests() 156 set_pte_at(args->mm, args->vaddr, args->ptep, pte); in pte_advanced_tests() 169 set_pte_at(args->mm, args->vaddr, args->ptep, pte); in pte_advanced_tests() 655 pte_clear(args->mm, args->vaddr, args->ptep); in pte_clear_tests() 1145 args->pgdp = pgd_offset(args->mm, args->vaddr); in init_args() 1146 args->p4dp = p4d_alloc(args->mm, args->pgdp, args->vaddr); in init_args() 1155 args->pudp = pud_alloc(args->mm, args->p4dp, args->vaddr); in init_args() 1164 args->pmdp = pmd_alloc(args->mm, args->pudp, args->vaddr); in init_args() [all …]
|
/linux/fs/xfs/libxfs/ |
A D | xfs_attr.c | 154 args->hashval = xfs_da_hashname(args->name, args->namelen); in xfs_attr_get() 517 error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, in xfs_attr_set_iter() 722 args->hashval = xfs_da_hashname(args->name, args->namelen); in xfs_attr_set() 897 args->blkno2 = args->blkno; in xfs_attr_save_rmt_blk() 898 args->index2 = args->index; in xfs_attr_save_rmt_blk() 899 args->rmtblkno2 = args->rmtblkno; in xfs_attr_save_rmt_blk() 900 args->rmtblkcnt2 = args->rmtblkcnt; in xfs_attr_save_rmt_blk() 909 args->blkno = args->blkno2; in xfs_attr_restore_rmt_blk() 910 args->index = args->index2; in xfs_attr_restore_rmt_blk() 911 args->rmtblkno = args->rmtblkno2; in xfs_attr_restore_rmt_blk() [all …]
|
A D | xfs_dir2.c | 226 args = kmem_zalloc(sizeof(*args), KM_NOFS); in xfs_dir_init() 227 if (!args) in xfs_dir_init() 263 args = kmem_zalloc(sizeof(*args), KM_NOFS); in xfs_dir_createname() 264 if (!args) in xfs_dir_createname() 362 args = kmem_zalloc(sizeof(*args), KM_NOFS); in xfs_dir_lookup() 431 args = kmem_zalloc(sizeof(*args), KM_NOFS); in xfs_dir_removename() 432 if (!args) in xfs_dir_removename() 492 args = kmem_zalloc(sizeof(*args), KM_NOFS); in xfs_dir_replace() 493 if (!args) in xfs_dir_replace() 611 args->dp->i_disk_size != args->geo->blksize)) in xfs_dir2_isblock() [all …]
|
A D | xfs_alloc.c | 396 ASSERT(args->mod < args->prod); in xfs_alloc_fix_len() 400 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len() 1092 error = xfs_rmap_free(args->tp, args->agbp, args->pag, fbno, 1, in xfs_alloc_ag_vextent_small() 1137 ASSERT(args->mod < args->prod); in xfs_alloc_ag_vextent() 1169 error = xfs_rmap_alloc(args->tp, args->agbp, args->pag, in xfs_alloc_ag_vextent() 1170 args->agbno, args->len, &args->oinfo); in xfs_alloc_ag_vextent() 1185 xfs_ag_resv_alloc_extent(args->pag, args->resv, args); in xfs_alloc_ag_vextent() 1270 args->len = XFS_AGBLOCK_MIN(tend, args->agbno + args->maxlen) in xfs_alloc_ag_vextent_exact() 1849 args->agbno + args->len > in xfs_alloc_ag_vextent_size() 3191 args->minlen > args->maxlen || args->minlen > agsize || in xfs_alloc_vextent() [all …]
|
A D | xfs_attr_leaf.c | 753 memcpy(&sfe->nameval[args->namelen], args->value, args->valuelen); in xfs_attr_shortform_add() 1491 if ((args->blkno2 == args->blkno) && in xfs_attr3_leaf_add_work() 1492 (args->index2 <= args->index)) { in xfs_attr3_leaf_add_work() 1527 args->rmtvaluelen = args->valuelen; in xfs_attr3_leaf_add_work() 1695 args = state->args; in xfs_attr3_leaf_rebalance() 1815 args->index = args->index2 = blk2->index; in xfs_attr3_leaf_rebalance() 2753 error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, &bp); in xfs_attr3_leaf_clearflag() 2817 error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, &bp); in xfs_attr3_leaf_setflag() 2876 error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, &bp1); in xfs_attr3_leaf_flipflags() 2883 if (args->blkno2 != args->blkno) { in xfs_attr3_leaf_flipflags() [all …]
|
/linux/drivers/media/test-drivers/vidtv/ |
A D | vidtv_pes.c | 92 if (!args->send_pts && args->send_dts) in vidtv_pes_write_pts_dts() 100 if (args->send_pts && args->send_dts) { in vidtv_pes_write_pts_dts() 147 if (args->send_pts && args->send_dts) in vidtv_pes_write_h() 153 pes_optional.length = vidtv_pes_op_get_len(args->send_pts, args->send_dts) + in vidtv_pes_write_h() 172 pts_dts_args = *args; in vidtv_pes_write_h() 246 args->pcr); in vidtv_pes_write_stuffing() 297 nbytes += vidtv_pes_write_stuffing(&args, args.dest_offset + nbytes, in vidtv_pes_write_ts_h() 309 .pid = args->pid, in vidtv_pes_write_into() 310 .pcr = args->pcr, in vidtv_pes_write_into() 318 .pts = args->pts, in vidtv_pes_write_into() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | atombios_crtc.c | 50 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_overscan_setup() 92 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_scaler_setup() 122 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_lock() 138 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_enable() 154 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_blank() 170 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_powergate() 183 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_powergate_init() 200 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_set_dtd_timing() 276 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_program_ss() 384 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_adjust_pll() [all …]
|
A D | atombios_encoders.c | 324 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dac() 337 args.ucAction = action; in amdgpu_atombios_encoder_setup_dac() 388 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dvo() 592 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dig_encoder() 683 args.v4.ucHPD_ID = 0; in amdgpu_atombios_encoder_setup_dig_encoder() 805 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dig_transmitter() 1148 args.v6.ucHPDSel = 0; in amdgpu_atombios_encoder_setup_dig_transmitter() 1187 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_set_edp_panel_power() 1247 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_external_encoder() 1468 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_set_crtc_source() [all …]
|
/linux/tools/testing/selftests/net/ |
A D | nettest.c | 277 if ((args->ifindex && args->bind_key_ifindex >= 0) || args->bind_key_ifindex >= 1) { in tcp_md5sig() 579 args->ifindex = get_ifidx(args->dev); in resolve_devices() 817 convert_addr(args, args->md5_prefix_str, in validate_addresses() 958 } else if (args->ifindex && args->use_cmsg) { in send_msg() 1404 sd = socket(args->version, args->type, args->protocol); in lsock_init() 1485 args->dev = args->server_dev; in do_server() 1611 sd = socket(args->version, args->type, args->protocol); in connectsock() 1693 if ((args->use_setsockopt || args->use_cmsg) && !args->ifindex) { in do_client() 1697 if (args->use_setsockopt || args->use_cmsg) in do_client() 1719 args->password = args->client_pw; in do_client() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvif/ |
A D | object.c | 38 if (size >= sizeof(*args) && args->v0.version == 0) { in nvif_object_ioctl() 97 kfree(args); in nvif_object_sclass_get() 107 } args = { in nvif_object_rd() local 126 } args = { in nvif_object_wr() local 144 } *args; in nvif_object_mthd() local 173 } args = { in nvif_object_unmap_handle() local 177 nvif_object_ioctl(object, &args, sizeof(args), NULL); in nvif_object_unmap_handle() 187 } *args; in nvif_object_map_handle() local 249 } args = { in nvif_object_dtor() local 257 nvif_object_ioctl(object, &args, sizeof(args), NULL); in nvif_object_dtor() [all …]
|
A D | vmm.c | 44 if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL))) in nvif_vmm_map() 50 args->version = 0; in nvif_vmm_map() 51 args->addr = addr; in nvif_vmm_map() 52 args->size = size; in nvif_vmm_map() 58 args, sizeof(*args) + argc); in nvif_vmm_map() 60 kfree(args); in nvif_vmm_map() 85 args.page = page; in nvif_vmm_get() 87 args.size = size; in nvif_vmm_get() 99 &args, sizeof(args)); in nvif_vmm_get() 153 &args, sizeof(args)); in nvif_vmm_ctor() [all …]
|
/linux/drivers/net/wireless/marvell/libertas_tf/ |
A D | deb_defs.h | 64 __func__, ##args); 65 #define lbtf_deb_main(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MAIN, " main", fmt, ##args) argument 66 #define lbtf_deb_net(fmt, args...) LBTF_DEB_LL(LBTF_DEB_NET, " net", fmt, ##args) argument 67 #define lbtf_deb_mesh(fmt, args...) LBTF_DEB_LL(LBTF_DEB_MESH, " mesh", fmt, ##args) argument 73 #define lbtf_deb_11d(fmt, args...) LBTF_DEB_LL(LBTF_DEB_11D, " 11d", fmt, ##args) argument 77 #define lbtf_deb_cmd(fmt, args...) LBTF_DEB_LL(LBTF_DEB_CMD, " cmd", fmt, ##args) argument 78 #define lbtf_deb_rx(fmt, args...) LBTF_DEB_LL(LBTF_DEB_RX, " rx", fmt, ##args) argument 79 #define lbtf_deb_tx(fmt, args...) LBTF_DEB_LL(LBTF_DEB_TX, " tx", fmt, ##args) argument 80 #define lbtf_deb_fw(fmt, args...) LBTF_DEB_LL(LBTF_DEB_FW, " fw", fmt, ##args) argument 81 #define lbtf_deb_usb(fmt, args...) LBTF_DEB_LL(LBTF_DEB_USB, " usb", fmt, ##args) argument [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | ioctl.c | 62 args->v0.version, args->v0.count); in nvkm_ioctl_sclass() 97 args->v0.version, args->v0.handle, args->v0.oclass, in nvkm_ioctl_new() 98 args->v0.route, args->v0.token, args->v0.object); in nvkm_ioctl_new() 176 args->v0.version, args->v0.method); in nvkm_ioctl_mthd() 201 args->v0.version, args->v0.size, args->v0.addr); in nvkm_ioctl_rd() 237 args->v0.version, args->v0.size, args->v0.addr, in nvkm_ioctl_wr() 309 args->v0.version, args->v0.event); in nvkm_ioctl_ntfy_new() 335 args->v0.version, args->v0.index); in nvkm_ioctl_ntfy_del() 354 args->v0.version, args->v0.index); in nvkm_ioctl_ntfy_get() 373 args->v0.version, args->v0.index); in nvkm_ioctl_ntfy_put() [all …]
|
/linux/tools/perf/examples/bpf/ |
A D | augmented_raw_syscalls.c | 139 const void *sockaddr_arg = (const void *)args->args[1]; in sys_enter_connect() 140 unsigned int socklen = args->args[2]; in sys_enter_connect() 158 const void *sockaddr_arg = (const void *)args->args[4]; in sys_enter_sendto() 159 unsigned int socklen = args->args[5]; in sys_enter_sendto() 177 const void *filename_arg = (const void *)args->args[0]; in sys_enter_open() 192 const void *filename_arg = (const void *)args->args[1]; in sys_enter_openat() 207 const void *oldpath_arg = (const void *)args->args[0], in sys_enter_rename() 208 *newpath_arg = (const void *)args->args[1]; in sys_enter_rename() 224 const void *oldpath_arg = (const void *)args->args[1], in sys_enter_renameat() 225 *newpath_arg = (const void *)args->args[3]; in sys_enter_renameat() [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_chardev.c | 695 args->buf_size_in_bytes - sizeof(*args)); in kfd_ioctl_dbg_address_watch() 807 args->buf_size_in_bytes - sizeof(*args)); in kfd_ioctl_dbg_wave_control() 1064 args->auto_reset != 0, args->node_id, in kfd_ioctl_create_event() 1065 &args->event_id, &args->event_trigger_data, in kfd_ioctl_create_event() 1109 args->timeout, &args->wait_result); in kfd_ioctl_wait_events() 1324 dev->kgd, args->va_addr, args->size, in kfd_ioctl_alloc_memory_of_gpu() 1439 if (args->n_success > args->n_devices) { in kfd_ioctl_map_memory_to_gpu() 1550 if (args->n_success > args->n_devices) { in kfd_ioctl_unmap_memory_from_gpu() 1836 args->start_addr, args->size, args->op, args->nattr); in kfd_ioctl_svm() 1840 if (!args->start_addr || !args->size) in kfd_ioctl_svm() [all …]
|
/linux/drivers/media/pci/cx18/ |
A D | cx18-driver.h | 166 #define CX18_DEBUG_API(fmt, args...) CX18_DEBUG(CX18_DBGFLG_API, "api", fmt , ## args) argument 167 #define CX18_DEBUG_DMA(fmt, args...) CX18_DEBUG(CX18_DBGFLG_DMA, "dma", fmt , ## args) argument 170 #define CX18_DEBUG_I2C(fmt, args...) CX18_DEBUG(CX18_DBGFLG_I2C, "i2c", fmt , ## args) argument 171 #define CX18_DEBUG_IRQ(fmt, args...) CX18_DEBUG(CX18_DBGFLG_IRQ, "irq", fmt , ## args) argument 188 #define CX18_ERR(fmt, args...) v4l2_err(&cx->v4l2_dev, fmt , ## args) argument 189 #define CX18_WARN(fmt, args...) v4l2_warn(&cx->v4l2_dev, fmt , ## args) argument 190 #define CX18_INFO(fmt, args...) v4l2_info(&cx->v4l2_dev, fmt , ## args) argument 237 #define CX18_ERR_DEV(dev, fmt, args...) v4l2_err(dev, fmt , ## args) argument 238 #define CX18_WARN_DEV(dev, fmt, args...) v4l2_warn(dev, fmt , ## args) argument 239 #define CX18_INFO_DEV(dev, fmt, args...) v4l2_info(dev, fmt , ## args) argument [all …]
|
/linux/fs/cachefiles/ |
A D | daemon.c | 252 for (args = data; *args; args++) in cachefiles_daemon_write() 259 args = skip_spaces(++args); in cachefiles_daemon_write() 333 frun = simple_strtoul(args, &args, 10); in cachefiles_daemon_frun() 334 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_frun() 358 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_fcull() 382 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_fstop() 405 brun = simple_strtoul(args, &args, 10); in cachefiles_daemon_brun() 406 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_brun() 430 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_bcull() 454 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_bstop() [all …]
|
/linux/arch/powerpc/kvm/ |
A D | book3s_rtas.c | 24 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive() 29 irq = be32_to_cpu(args->args[0]); in kvm_rtas_set_xive() 30 server = be32_to_cpu(args->args[1]); in kvm_rtas_set_xive() 31 priority = be32_to_cpu(args->args[2]); in kvm_rtas_set_xive() 53 irq = be32_to_cpu(args->args[0]); in kvm_rtas_get_xive() 81 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_off() 103 irq = be32_to_cpu(args->args[0]); in kvm_rtas_int_on() 203 if (copy_from_user(&args, argp, sizeof(args))) in kvm_vm_ioctl_rtas_define_token() 209 rc = rtas_token_define(kvm, args.name, args.token); in kvm_vm_ioctl_rtas_define_token() 245 if (be32_to_cpu(args.nargs) >= ARRAY_SIZE(args.args)) { in kvmppc_rtas_hcall() [all …]
|
/linux/drivers/net/wireless/marvell/libertas/ |
A D | defs.h | 58 #define lbs_deb_main(fmt, args...) LBS_DEB_LL(LBS_DEB_MAIN, " main", fmt, ##args) argument 59 #define lbs_deb_net(fmt, args...) LBS_DEB_LL(LBS_DEB_NET, " net", fmt, ##args) argument 60 #define lbs_deb_mesh(fmt, args...) LBS_DEB_LL(LBS_DEB_MESH, " mesh", fmt, ##args) argument 61 #define lbs_deb_wext(fmt, args...) LBS_DEB_LL(LBS_DEB_WEXT, " wext", fmt, ##args) argument 66 #define lbs_deb_11d(fmt, args...) LBS_DEB_LL(LBS_DEB_11D, " 11d", fmt, ##args) argument 70 #define lbs_deb_cmd(fmt, args...) LBS_DEB_LL(LBS_DEB_CMD, " cmd", fmt, ##args) argument 71 #define lbs_deb_rx(fmt, args...) LBS_DEB_LL(LBS_DEB_RX, " rx", fmt, ##args) argument 72 #define lbs_deb_tx(fmt, args...) LBS_DEB_LL(LBS_DEB_TX, " tx", fmt, ##args) argument 73 #define lbs_deb_fw(fmt, args...) LBS_DEB_LL(LBS_DEB_FW, " fw", fmt, ##args) argument 74 #define lbs_deb_usb(fmt, args...) LBS_DEB_LL(LBS_DEB_USB, " usb", fmt, ##args) argument [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
A D | rootnv50.c | 42 } *args = data; in nv50_disp_root_mthd_() local 56 args->v0.version, args->v0.method, args->v0.head); in nv50_disp_root_mthd_() 63 args->v1.version, args->v1.method, in nv50_disp_root_mthd_() 64 args->v1.hasht, args->v1.hashm); in nv50_disp_root_mthd_() 99 } *args = data; in nv50_disp_root_mthd_() local 180 args->v0.version, args->v0.state, in nv50_disp_root_mthd_() 181 args->v0.max_ac_packet, args->v0.rekey, in nv50_disp_root_mthd_() 222 args->v0.version, args->v0.script); in nv50_disp_root_mthd_() 238 args->v0.version, args->v0.state); in nv50_disp_root_mthd_() 254 args->v0.version, args->v0.start_slot, in nv50_disp_root_mthd_() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | atombios_encoders.c | 358 memset(&args, 0, sizeof(args)); in atombios_dac_setup() 410 memset(&args, 0, sizeof(args)); in atombios_tv_setup() 499 memset(&args, 0, sizeof(args)); in atombios_dvo_setup() 579 memset(&args, 0, sizeof(args)); in atombios_digital_setup() 871 memset(&args, 0, sizeof(args)); in atombios_dig_encoder_setup2() 1066 memset(&args, 0, sizeof(args)); in atombios_dig_transmitter_setup2() 1408 memset(&args, 0, sizeof(args)); in atombios_set_edp_panel_power() 1468 memset(&args, 0, sizeof(args)); in atombios_external_encoder_setup() 1548 memset(&args, 0, sizeof(args)); in atombios_yuv_setup() 1583 memset(&args, 0, sizeof(args)); in radeon_atom_encoder_dpms_avivo() [all …]
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_chan.c | 203 args.start = 0; in nouveau_channel_prep() 216 args.limit = args.start + device->info.ram_user - 1; in nouveau_channel_prep() 220 args.start = 0; in nouveau_channel_prep() 233 args.start = 0; in nouveau_channel_prep() 239 NV_DMA_FROM_MEMORY, &args, sizeof(args), in nouveau_channel_prep() 270 } args; in nouveau_channel_ind() local 368 *oclass++, &args, sizeof(args), in nouveau_channel_dma() 420 NV_DMA_IN_MEMORY, &args, sizeof(args), in nouveau_channel_init() 445 NV_DMA_IN_MEMORY, &args, sizeof(args), in nouveau_channel_init() 543 } args = { in nouveau_channels_init() local [all …]
|
/linux/net/bpf/ |
A D | bpf_dummy_struct_ops.c | 32 args = kzalloc(sizeof(*args), GFP_KERNEL); in dummy_ops_init_args() 33 if (!args) in dummy_ops_init_args() 37 if (copy_from_user(args->args, ctx_in, size_in)) in dummy_ops_init_args() 41 u_state = u64_to_user_ptr(args->args[0]); in dummy_ops_init_args() 46 return args; in dummy_ops_init_args() 48 kfree(args); in dummy_ops_init_args() 56 u_state = u64_to_user_ptr(args->args[0]); in dummy_ops_copy_args() 69 if (args->args[0]) in dummy_ops_call_op() 71 return test(state, args->args[1], args->args[2], in dummy_ops_call_op() 72 args->args[3], args->args[4]); in dummy_ops_call_op() [all …]
|