Home
last modified time | relevance | path

Searched full:arg (Results 1 – 25 of 61) sorted by relevance

123

/Documentation/translations/zh_CN/dev-tools/
Dkcov.rst315 struct kcov_remote_arg *arg;
328 arg = calloc(1, sizeof(*arg) + sizeof(uint64_t));
329 if (!arg)
331 arg->trace_mode = KCOV_TRACE_PC;
332 arg->area_size = COVER_SIZE;
333 arg->num_handles = 1;
334 arg->common_handle = kcov_remote_handle(KCOV_SUBSYSTEM_COMMON,
336 arg->handles[0] = kcov_remote_handle(KCOV_SUBSYSTEM_USB,
338 if (ioctl(fd, KCOV_REMOTE_ENABLE, arg))
339 perror("ioctl"), free(arg), exit(1);
[all …]
/Documentation/driver-api/media/drivers/ccs/
Dmk-ccs-regs237 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 . ($m…
318 …$hdr_data .= sprintf "#define %-62s %s", "CCS_LIM_" . (uc ${this{name}} . "_MAX_$arg"), $max . ($m…
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}->{elsize} != 1 ?
[all …]
/Documentation/dev-tools/
Dkcov.rst330 struct kcov_remote_arg *arg;
343 arg = calloc(1, sizeof(*arg) + sizeof(uint64_t));
344 if (!arg)
346 arg->trace_mode = KCOV_TRACE_PC;
347 arg->area_size = COVER_SIZE;
348 arg->num_handles = 1;
349 arg->common_handle = kcov_remote_handle(KCOV_SUBSYSTEM_COMMON,
351 arg->handles[0] = kcov_remote_handle(KCOV_SUBSYSTEM_USB,
353 if (ioctl(fd, KCOV_REMOTE_ENABLE, arg))
354 perror("ioctl"), free(arg), exit(1);
[all …]
/Documentation/driver-api/driver-model/
Ddesign-patterns.rst48 static irqreturn_t foo_handler(int irq, void *arg)
50 struct foo *foo = arg;
85 static irqreturn_t foo_handler(int irq, void *arg)
87 struct foo *foo = arg;
/Documentation/cdrom/
Dcdrom-standard.rst465 unsigned int cmd, void *arg)
471 single function, repeating the arguments *cmd* and *arg*. Note that
476 location of *arg*, and reserves stack-memory for the argument. This
493 unsigned int cmd, unsigned long arg)
589 CDROM_SET_OPTIONS /* set options specified in (int)arg */
590 CDROM_CLEAR_OPTIONS /* clear options specified in (int)arg */
804 unsigned int cmd, unsigned long arg)
827 If *arg\not=0*, set behavior to auto-close (close
842 Get sub-channel data in argument *arg* of type
845 Read Table of Contents header, in *arg* of type
[all …]
/Documentation/translations/zh_CN/core-api/
Dmemory-hotplug.rst56 struct notifier_block *self, unsigned long action, void *arg);
59 数(action)是上述的事件类型之一。第三个参数(arg)传递一个指向
Dpadata.rst149 程时都会调用这个函数。然后,定义线程函数,它接受三个参数: ``start`` 、 ``end`` 和 ``arg`` ,
/Documentation/trace/
Dfprobetrace.rst44 ARG : Fetch "ARG" function argument using BTF (only for function
75 Function arguments can be accessed at exit probe using $arg<N> fetcharg. This
113 If user unsures the name of arguments, ``$arg*`` will be helpful. The ``$arg*``
116 # echo 'f:myprobe vfs_read $arg*' >> dynamic_events
168 # echo 'f vfs_read $arg*' >> dynamic_events
192 # echo 't sched_switch $arg*' >> dynamic_events
Devents.rst959 with a variable arg list of probe fields. For example, to add a
1048 possible arg addition, which is simply to append the given string as
1051 struct dynevent_arg arg;
1053 dynevent_arg_init(&arg, NULL, 0);
1055 arg.str = name;
1057 ret = dynevent_arg_add(cmd, &arg);
1059 The arg object is first initialized using dynevent_arg_init() and in
1062 the arg.
1064 Here's another more complicated example using an 'arg pair', which is
1066 together as a unit, for example, a 'type field_name;' arg or a simple
[all …]
/Documentation/target/
Dtarget-export-device22 while getopts "hp:" arg; do
23 case $arg in
/Documentation/core-api/
Dmemory-hotplug.rst49 struct notifier_block *self, unsigned long action, void *arg);
54 The third argument (arg) passes a pointer of struct memory_notify::
/Documentation/userspace-api/ioctl/
Dioctl-decoding.rst28 So for example 0x82187201 is a read with arg length of 0x218,
/Documentation/admin-guide/mm/
Dpagemap.rst258 struct pm_scan_arg arg = {
259 .size = sizeof(arg),
269 struct pm_scan_arg arg = {
270 .size = sizeof(arg),
/Documentation/userspace-api/media/v4l/
Dv4l2grab.c.rst40 static void xioctl(int fh, int request, void *arg)
45 r = v4l2_ioctl(fh, request, arg);
/Documentation/admin-guide/device-mapper/
Dcache-policies.rst118 <#feature_args> [<feature arg>]*
119 <policy> <#policy_args> [<policy arg>]*
Dsnapshot.rst35 [<# feature args> [<arg>]*]
74 [<# feature args> [<arg>]*]
/Documentation/
Dconf.py217 for arg in sys.argv:
218 if arg.startswith('version='):
219 c_version = arg[8:]
220 elif arg.startswith('release='):
221 c_release = arg[8:]
/Documentation/arch/riscv/
Dvector.rst24 * prctl(PR_RISCV_V_SET_CONTROL, unsigned long arg)
43 arg: The control argument is a 5-bit value consisting of 3 parts, and
/Documentation/arch/arm64/
Dsme.rst181 prctl(PR_SME_SET_VL, unsigned long arg)
184 arg == vl | flags. Other threads of the calling process are unaffected.
204 prctl(PR_SME_SET_VL, arg & ~PR_SME_SET_VL_ONEXEC)
222 PR_SME_SET_VL_ONEXEC is present in arg), is set to the largest value
233 present in arg; otherwise, the reported vector length is the deferred
Dsve.rst201 prctl(PR_SVE_SET_VL, unsigned long arg)
204 arg == vl | flags. Other threads of the calling process are unaffected.
224 prctl(PR_SVE_SET_VL, arg & ~PR_SVE_SET_VL_ONEXEC)
243 PR_SVE_SET_VL_ONEXEC is present in arg), is set to the largest value
254 present in arg; otherwise, the reported vector length is the deferred
/Documentation/driver-api/surface_aggregator/
Dclient.rst175 int perform_request(struct ssam_controller *ctrl, u32 arg, u32 *ret)
182 __le32 arg_le = cpu_to_le32(arg);
253 static int __ssam_tmp_perf_mode_set(struct ssam_controller *ctrl, const __le32 *arg);
256 said function. In this example, the argument is provided via the ``arg``
/Documentation/sound/designs/
Dseq-oss.rst211 int (*ioctl)(snd_seq_oss_arg_t *p, unsigned int cmd, unsigned long arg);
259 #. Set the new port address on ``arg->addr``.
260 #. Set the private data record pointer on ``arg->private_data``.
/Documentation/devicetree/bindings/soc/ti/
Dkeystone-navigator-dma.txt98 - A DMA channel number as a phandle arg.
/Documentation/admin-guide/laptops/
Dasus-laptop.rst181 echo $((10#$arg-60)) > /sys/devices/platform/asus-laptop/display
183 will usually do the trick ($arg is the 0000006n-like event passed to acpid).
/Documentation/bpf/
Dkfuncs.rst372 according to the C standard to be passed to the same kfunc arg, even if their
519 ``struct task_struct *`` that was passed as e.g. a tracepoint arg, or a
520 struct_ops callback arg. For example:
601 /* A task should always be found, as %task is a tracepoint arg. */

123