Home
last modified time | relevance | path

Searched full:args (Results 1 – 25 of 3837) sorted by relevance

12345678910>>...154

/openbmc/linux/arch/sparc/prom/
H A Dmisc_64.c23 unsigned long args[5]; in prom_service_exists() local
25 args[0] = (unsigned long) "test"; in prom_service_exists()
26 args[1] = 1; in prom_service_exists()
27 args[2] = 1; in prom_service_exists()
28 args[3] = (unsigned long) service_name; in prom_service_exists()
29 args[4] = (unsigned long) -1; in prom_service_exists()
31 p1275_cmd_direct(args); in prom_service_exists()
33 if (args[4]) in prom_service_exists()
41 unsigned long args[3]; in prom_sun4v_guest_soft_state() local
45 args[0] = (unsigned long) svc; in prom_sun4v_guest_soft_state()
[all …]
H A Dtree_64.c22 unsigned long args[5]; in prom_node_to_node() local
24 args[0] = (unsigned long) type; in prom_node_to_node()
25 args[1] = 1; in prom_node_to_node()
26 args[2] = 1; in prom_node_to_node()
27 args[3] = (unsigned int) node; in prom_node_to_node()
28 args[4] = (unsigned long) -1; in prom_node_to_node()
30 p1275_cmd_direct(args); in prom_node_to_node()
32 return (phandle) args[4]; in prom_node_to_node()
95 unsigned long args[6]; in prom_getproplen() local
100 args[0] = (unsigned long) "getproplen"; in prom_getproplen()
[all …]
/openbmc/phosphor-virtual-sensor/
H A Dthresholds.hpp88 template <typename... Args>
89 auto alarmHigh(Args... args) in alarmHigh()
91 return warningAlarmHigh(std::forward<Args>(args)...); in alarmHigh()
94 template <typename... Args>
95 auto alarmLow(Args... args) in alarmLow()
97 return warningAlarmLow(std::forward<Args>(args)...); in alarmLow()
100 template <typename... Args>
101 auto alarmHighSignalAsserted(Args... args) in alarmHighSignalAsserted()
103 return warningHighAlarmAsserted(std::forward<Args>(args)...); in alarmHighSignalAsserted()
106 template <typename... Args>
[all …]
/openbmc/linux/mm/
H A Ddebug_vm_pgtable.c77 static void __init pte_basic_tests(struct pgtable_debug_args *args, int idx) in pte_basic_tests() argument
80 pte_t pte = pfn_pte(args->fixed_pte_pfn, prot); in pte_basic_tests()
97 WARN_ON(!pte_write(pte_mkwrite(pte_wrprotect(pte), args->vma))); in pte_basic_tests()
100 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite(pte, args->vma)))); in pte_basic_tests()
105 static void __init pte_advanced_tests(struct pgtable_debug_args *args) in pte_advanced_tests() argument
121 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_advanced_tests()
126 if (WARN_ON(!args->ptep)) in pte_advanced_tests()
129 pte = pfn_pte(args->pte_pfn, args->page_prot); in pte_advanced_tests()
130 set_pte_at(args->mm, args->vaddr, args->ptep, pte); in pte_advanced_tests()
132 ptep_set_wrprotect(args->mm, args->vaddr, args->ptep); in pte_advanced_tests()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/
H A Doutp.c32 struct nvif_outp_dp_mst_vcpi_v0 args; in nvif_outp_dp_mst_vcpi() local
35 args.version = 0; in nvif_outp_dp_mst_vcpi()
36 args.head = head; in nvif_outp_dp_mst_vcpi()
37 args.start_slot = start_slot; in nvif_outp_dp_mst_vcpi()
38 args.num_slots = num_slots; in nvif_outp_dp_mst_vcpi()
39 args.pbn = pbn; in nvif_outp_dp_mst_vcpi()
40 args.aligned_pbn = aligned_pbn; in nvif_outp_dp_mst_vcpi()
42 ret = nvif_object_mthd(&outp->object, NVIF_OUTP_V0_DP_MST_VCPI, &args, sizeof(args)); in nvif_outp_dp_mst_vcpi()
45 args.head, args.start_slot, args.num_slots, args.pbn, args.aligned_pbn); in nvif_outp_dp_mst_vcpi()
60 struct nvif_outp_dp_aux_pwr_v0 args; in nvif_outp_dp_aux_pwr() local
[all …]
H A Dobject.c36 } *args = data; in nvif_object_ioctl() local
38 if (size >= sizeof(*args) && args->v0.version == 0) { in nvif_object_ioctl()
40 args->v0.object = nvif_handle(object); in nvif_object_ioctl()
42 args->v0.object = 0; in nvif_object_ioctl()
43 args->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; in nvif_object_ioctl()
63 } *args = NULL; in nvif_object_sclass_get() local
68 size = sizeof(*args) + cnt * sizeof(args->sclass.oclass[0]); in nvif_object_sclass_get()
69 if (!(args = kmalloc(size, GFP_KERNEL))) in nvif_object_sclass_get()
71 args->ioctl.version = 0; in nvif_object_sclass_get()
72 args->ioctl.type = NVIF_IOCTL_V0_SCLASS; in nvif_object_sclass_get()
[all …]
H A Dvmm.c39 struct nvif_vmm_map_v0 *args; in nvif_vmm_map() local
43 if (sizeof(*args) + argc > sizeof(stack)) { in nvif_vmm_map()
44 if (!(args = kmalloc(sizeof(*args) + argc, GFP_KERNEL))) in nvif_vmm_map()
47 args = (void *)stack; 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()
53 args->memory = nvif_handle(&mem->object); in nvif_vmm_map()
54 args->offset = offset; in nvif_vmm_map()
55 memcpy(args->data, argv, argc); in nvif_vmm_map()
[all …]
/openbmc/linux/fs/btrfs/
H A Dmessages.h26 #define btrfs_printk(fs_info, fmt, args...) \ argument
27 _btrfs_printk(fs_info, fmt, ##args)
35 #define btrfs_printk(fs_info, fmt, args...) \ argument
36 btrfs_no_printk(fs_info, fmt, ##args)
39 #define btrfs_emerg(fs_info, fmt, args...) \ argument
40 btrfs_printk(fs_info, KERN_EMERG fmt, ##args)
41 #define btrfs_alert(fs_info, fmt, args...) \ argument
42 btrfs_printk(fs_info, KERN_ALERT fmt, ##args)
43 #define btrfs_crit(fs_info, fmt, args...) \ argument
44 btrfs_printk(fs_info, KERN_CRIT fmt, ##args)
[all …]
/openbmc/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_pes.c59 static u32 vidtv_pes_write_header_stuffing(struct pes_header_write_args *args) in vidtv_pes_write_header_stuffing() argument
67 if (args->n_pes_h_s_bytes > PES_HEADER_MAX_STUFFING_BYTES) { in vidtv_pes_write_header_stuffing()
70 args->n_pes_h_s_bytes = PES_HEADER_MAX_STUFFING_BYTES; in vidtv_pes_write_header_stuffing()
73 return vidtv_memset(args->dest_buf, in vidtv_pes_write_header_stuffing()
74 args->dest_offset, in vidtv_pes_write_header_stuffing()
75 args->dest_buf_sz, in vidtv_pes_write_header_stuffing()
77 args->n_pes_h_s_bytes); in vidtv_pes_write_header_stuffing()
80 static u32 vidtv_pes_write_pts_dts(struct pes_header_write_args *args) in vidtv_pes_write_pts_dts() argument
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()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Datombios_crtc.c45 SET_CRTC_OVERSCAN_PS_ALLOCATION args; in amdgpu_atombios_crtc_overscan_setup() local
49 memset(&args, 0, sizeof(args)); in amdgpu_atombios_crtc_overscan_setup()
51 args.ucCRTC = amdgpu_crtc->crtc_id; in amdgpu_atombios_crtc_overscan_setup()
55 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
56 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
57 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
58 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup()
65args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup()
66args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in amdgpu_atombios_crtc_overscan_setup()
68args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup()
[all …]
H A Datombios_encoders.c318 DAC_ENCODER_CONTROL_PS_ALLOCATION args; in amdgpu_atombios_encoder_setup_dac() local
321 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dac()
334 args.ucAction = action; in amdgpu_atombios_encoder_setup_dac()
335 args.ucDacStandard = ATOM_DAC1_PS2; in amdgpu_atombios_encoder_setup_dac()
336 args.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dac()
338 amdgpu_atom_execute_table(adev->mode_info.atom_context, index, (uint32_t *)&args); in amdgpu_atombios_encoder_setup_dac()
381 union dvo_encoder_control args; in amdgpu_atombios_encoder_setup_dvo() local
385 memset(&args, 0, sizeof(args)); in amdgpu_atombios_encoder_setup_dvo()
395 args.ext_tmds.sXTmdsEncoder.ucEnable = action; in amdgpu_atombios_encoder_setup_dvo()
398 args.ext_tmds.sXTmdsEncoder.ucMisc |= PANEL_ENCODER_MISC_DUAL; in amdgpu_atombios_encoder_setup_dvo()
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_dir2.c74 struct xfs_da_args *args, in xfs_ascii_ci_compname() argument
81 if (args->namelen != len) in xfs_ascii_ci_compname()
86 if (args->name[i] == name[i]) in xfs_ascii_ci_compname()
88 if (xfs_ascii_ci_xfrm(args->name[i]) != in xfs_ascii_ci_compname()
231 struct xfs_da_args *args; in xfs_dir_init() local
239 args = kmem_zalloc(sizeof(*args), KM_NOFS); in xfs_dir_init()
240 if (!args) in xfs_dir_init()
243 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_init()
244 args->dp = dp; in xfs_dir_init()
245 args->trans = tp; in xfs_dir_init()
[all …]
H A Dxfs_attr.c45 STATIC int xfs_attr_shortform_addname(xfs_da_args_t *args);
50 STATIC int xfs_attr_leaf_get(xfs_da_args_t *args);
51 STATIC int xfs_attr_leaf_removename(xfs_da_args_t *args);
52 STATIC int xfs_attr_leaf_hasname(struct xfs_da_args *args, struct xfs_buf **bp);
53 STATIC int xfs_attr_leaf_try_add(struct xfs_da_args *args);
58 STATIC int xfs_attr_node_get(xfs_da_args_t *args);
59 STATIC void xfs_attr_restore_rmt_blk(struct xfs_da_args *args);
63 STATIC int xfs_attr_node_lookup(struct xfs_da_args *args,
123 trace_xfs_attr_fillstate(state->args);
171 trace_xfs_attr_refillstate(state->args);
[all …]
/openbmc/linux/drivers/net/wireless/marvell/libertas_tf/
H A Ddeb_defs.h49 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) \ argument
51 printk(KERN_DEBUG DRV_NAME grpnam ": " fmt, ## args); } while (0)
53 #define LBTF_DEB_LL(grp, grpnam, fmt, args...) do {} while (0) argument
58 #define lbtf_deb_enter_args(grp, fmt, args...) \ argument
59 LBTF_DEB_LL(grp | LBTF_DEB_ENTER, " enter", "%s(" fmt ")\n", __func__, ## args);
62 #define lbtf_deb_leave_args(grp, fmt, args...) \ argument
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
[all …]
/openbmc/qemu/tests/migration/guestperf/
H A Dshell.py42 # Test args
53 # Hardware args
68 def get_engine(self, args): argument
69 return Engine(binary=args.binary,
70 dst_host=args.dst_host,
71 kernel=args.kernel,
72 initrd=args.initrd,
73 transport=args.transport,
74 sleep=args.sleep,
75 debug=args.debug,
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dgen_robot_valid.py38 def valid_init(var_name, *args, **kwargs): argument
40 Do initialization for variable validation and return var_name, args and kwargs.
48 args The positional arguments to be passed to a validation function.
54 args = fa.args_to_objects(args)
56 return var_value, args, kwargs
131 def valid_type(var_name, *args, **kwargs): argument
132 var_value, args, kwargs = valid_init(var_name, *args, **kwargs)
134 var_value, *args, var_name=var_name, **kwargs
139 def valid_value(var_name, *args, **kwargs): argument
140 var_value, args, kwargs = valid_init(var_name, *args, **kwargs)
[all …]
/openbmc/bmcweb/http/
H A Dlogging.hpp84 template <LogLevel level, typename... Args>
85 inline void vlog(std::format_string<Args...>&& format, Args&&... args, in vlog() argument
112 std::format(std::move(format), std::forward<Args>(args)...); in vlog()
127 template <typename... Args>
131 BMCWEB_LOG_CRITICAL(std::format_string<Args...> format, Args&&... args, in BMCWEB_LOG_CRITICAL()
135 crow::vlog<crow::LogLevel::Critical, Args...>( in BMCWEB_LOG_CRITICAL()
136 std::move(format), std::forward<Args>(args)..., loc); in BMCWEB_LOG_CRITICAL()
140 template <typename... Args>
144 BMCWEB_LOG_ERROR(std::format_string<Args...> format, Args&&... args, in BMCWEB_LOG_ERROR()
148 crow::vlog<crow::LogLevel::Error, Args...>( in BMCWEB_LOG_ERROR()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dnettest.c163 va_list args; in log_msg() local
171 va_start(args, format); in log_msg()
172 vfprintf(stdout, format, args); in log_msg()
173 va_end(args); in log_msg()
181 va_list args; in log_error() local
189 va_start(args, format); in log_error()
190 vfprintf(stderr, format, args); in log_error()
191 va_end(args); in log_error()
199 va_list args; in log_err_errno() local
207 va_start(args, fmt); in log_err_errno()
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_rtas.c19 static void kvm_rtas_set_xive(struct kvm_vcpu *vcpu, struct rtas_args *args) in kvm_rtas_set_xive() argument
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()
40 args->rets[0] = cpu_to_be32(rc); in kvm_rtas_set_xive()
43 static void kvm_rtas_get_xive(struct kvm_vcpu *vcpu, struct rtas_args *args) in kvm_rtas_get_xive() argument
48 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive()
53 irq = be32_to_cpu(args->args[0]); in kvm_rtas_get_xive()
65 args->rets[1] = cpu_to_be32(server); in kvm_rtas_get_xive()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dioctl.c38 } *args = data; in nvkm_ioctl_nop() local
42 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in nvkm_ioctl_nop()
43 nvif_ioctl(object, "nop vers %lld\n", args->v0.version); in nvkm_ioctl_nop()
44 args->v0.version = NVIF_VERSION_LATEST; in nvkm_ioctl_nop()
76 } *args = data; in nvkm_ioctl_sclass() local
81 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, true))) { in nvkm_ioctl_sclass()
83 args->v0.version, args->v0.count); in nvkm_ioctl_sclass()
84 if (size != args->v0.count * sizeof(args->v0.oclass[0])) in nvkm_ioctl_sclass()
88 if (i < args->v0.count) { in nvkm_ioctl_sclass()
89 args->v0.oclass[i].oclass = oclass.base.oclass; in nvkm_ioctl_sclass()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c177 struct kfd_ioctl_get_version_args *args = data; in kfd_ioctl_get_version() local
179 args->major_version = KFD_IOCTL_MAJOR_VERSION; in kfd_ioctl_get_version()
180 args->minor_version = KFD_IOCTL_MINOR_VERSION; in kfd_ioctl_get_version()
186 struct kfd_ioctl_create_queue_args *args) in set_queue_properties_from_user() argument
193 if ((args->queue_percentage & 0xFF) > KFD_MAX_QUEUE_PERCENTAGE) { in set_queue_properties_from_user()
198 if (args->queue_priority > KFD_MAX_QUEUE_PRIORITY) { in set_queue_properties_from_user()
203 if ((args->ring_base_address) && in set_queue_properties_from_user()
204 (!access_ok((const void __user *) args->ring_base_address, in set_queue_properties_from_user()
210 if (!is_power_of_2(args->ring_size) && (args->ring_size != 0)) { in set_queue_properties_from_user()
215 if (!access_ok((const void __user *) args->read_pointer_address, in set_queue_properties_from_user()
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dbpf_tracing.h637 #define ___bpf_ctx_cast2(x, args...) ___bpf_ctx_cast1(args), (void *)ctx[1] argument
638 #define ___bpf_ctx_cast3(x, args...) ___bpf_ctx_cast2(args), (void *)ctx[2] argument
639 #define ___bpf_ctx_cast4(x, args...) ___bpf_ctx_cast3(args), (void *)ctx[3] argument
640 #define ___bpf_ctx_cast5(x, args...) ___bpf_ctx_cast4(args), (void *)ctx[4] argument
641 #define ___bpf_ctx_cast6(x, args...) ___bpf_ctx_cast5(args), (void *)ctx[5] argument
642 #define ___bpf_ctx_cast7(x, args...) ___bpf_ctx_cast6(args), (void *)ctx[6] argument
643 #define ___bpf_ctx_cast8(x, args...) ___bpf_ctx_cast7(args), (void *)ctx[7] argument
644 #define ___bpf_ctx_cast9(x, args...) ___bpf_ctx_cast8(args), (void *)ctx[8] argument
645 #define ___bpf_ctx_cast10(x, args...) ___bpf_ctx_cast9(args), (void *)ctx[9] argument
646 #define ___bpf_ctx_cast11(x, args...) ___bpf_ctx_cast10(args), (void *)ctx[10] argument
[all …]
/openbmc/linux/fs/fuse/
H A Dxattr.c18 FUSE_ARGS(args); in fuse_setxattr()
30 args.opcode = FUSE_SETXATTR; in fuse_setxattr()
31 args.nodeid = get_node_id(inode); in fuse_setxattr()
32 args.in_numargs = 3; in fuse_setxattr()
33 args.in_args[0].size = fm->fc->setxattr_ext ? in fuse_setxattr()
35 args.in_args[0].value = &inarg; in fuse_setxattr()
36 args.in_args[1].size = strlen(name) + 1; in fuse_setxattr()
37 args.in_args[1].value = name; in fuse_setxattr()
38 args.in_args[2].size = size; in fuse_setxattr()
39 args.in_args[2].value = value; in fuse_setxattr()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Duvmm.c50 } *args = argv; in nvkm_uvmm_mthd_pfnclr() local
55 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false))) { in nvkm_uvmm_mthd_pfnclr()
56 addr = args->v0.addr; in nvkm_uvmm_mthd_pfnclr()
57 size = args->v0.size; in nvkm_uvmm_mthd_pfnclr()
78 } *args = argv; in nvkm_uvmm_mthd_pfnmap() local
84 if (!(ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, true))) { in nvkm_uvmm_mthd_pfnmap()
85 page = args->v0.page; in nvkm_uvmm_mthd_pfnmap()
86 addr = args->v0.addr; in nvkm_uvmm_mthd_pfnmap()
87 size = args->v0.size; in nvkm_uvmm_mthd_pfnmap()
88 phys = args->v0.phys; in nvkm_uvmm_mthd_pfnmap()
[all …]
/openbmc/qemu/tests/qtest/
H A Dhd-geo-test.c257 char *args; in test_ide_none() local
261 args = g_strjoinv(" ", argv); in test_ide_none()
262 qts = qtest_init(args); in test_ide_none()
264 g_free(args); in test_ide_none()
272 char *args; in test_ide_mbr() local
284 args = g_strjoinv(" ", argv); in test_ide_mbr()
285 qts = qtest_init(args); in test_ide_mbr()
287 g_free(args); in test_ide_mbr()
343 char *args, *opts; in test_ide_drive_user() local
357 args = g_strjoinv(" ", argv); in test_ide_drive_user()
[all …]

12345678910>>...154