Home
last modified time | relevance | path

Searched refs:which (Results 1 – 25 of 2244) sorted by relevance

12345678910>>...90

/linux/tools/testing/selftests/powerpc/dexcr/
H A Ddexcr_test.c16 static int dexcr_prctl_onexec_test_child(unsigned long which, const char *status) in dexcr_prctl_onexec_test_child() argument
19 unsigned long aspect = pr_which_to_aspect(which); in dexcr_prctl_onexec_test_child()
20 int ctrl = pr_get_dexcr(which); in dexcr_prctl_onexec_test_child()
48 static int dexcr_prctl_aspect_test(unsigned long which) in dexcr_prctl_aspect_test() argument
50 unsigned long aspect = pr_which_to_aspect(which); in dexcr_prctl_aspect_test()
57 SKIP_IF_MSG(!pr_dexcr_aspect_supported(which), "DEXCR aspect not supported"); in dexcr_prctl_aspect_test()
58 SKIP_IF_MSG(!pr_dexcr_aspect_editable(which), "DEXCR aspect not editable with prctl"); in dexcr_prctl_aspect_test()
61 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET | PR_PPC_DEXCR_CTRL_CLEAR); in dexcr_prctl_aspect_test()
66 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET_ONEXEC | PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC); in dexcr_prctl_aspect_test()
72 err = pr_set_dexcr(which, PR_PPC_DEXCR_CTRL_SET); in dexcr_prctl_aspect_test()
[all …]
H A Ddexcr.c47 unsigned int pr_which_to_aspect(unsigned long which) in pr_which_to_aspect() argument
49 switch (which) { in pr_which_to_aspect()
63 int pr_get_dexcr(unsigned long which) in pr_get_dexcr() argument
65 return prctl(PR_PPC_GET_DEXCR, which, 0UL, 0UL, 0UL); in pr_get_dexcr()
68 int pr_set_dexcr(unsigned long which, unsigned long ctrl) in pr_set_dexcr() argument
70 return prctl(PR_PPC_SET_DEXCR, which, ctrl, 0UL, 0UL); in pr_set_dexcr()
73 bool pr_dexcr_aspect_supported(unsigned long which) in pr_dexcr_aspect_supported() argument
75 if (pr_get_dexcr(which) == -1) in pr_dexcr_aspect_supported()
81 bool pr_dexcr_aspect_editable(unsigned long which) in pr_dexcr_aspect_editable() argument
83 return pr_get_dexcr(which) & PR_PPC_DEXCR_CTRL_EDITABLE; in pr_dexcr_aspect_editable()
/linux/drivers/staging/greybus/
H A Dgpio.c62 static int gb_gpio_activate_operation(struct gb_gpio_controller *ggc, u8 which) in gb_gpio_activate_operation() argument
72 request.which = which; in gb_gpio_activate_operation()
80 ggc->lines[which].active = true; in gb_gpio_activate_operation()
86 u8 which) in gb_gpio_deactivate_operation() argument
93 request.which = which; in gb_gpio_deactivate_operation()
97 dev_err(dev, "failed to deactivate gpio %u\n", which); in gb_gpio_deactivate_operation()
101 ggc->lines[which].active = false; in gb_gpio_deactivate_operation()
108 u8 which) in gb_gpio_get_direction_operation() argument
116 request.which = which; in gb_gpio_get_direction_operation()
126 which, direction); in gb_gpio_get_direction_operation()
[all …]
/linux/tools/testing/kunit/test_data/
H A Dtest_is_test_passed-no_tests_run_no_header.log39 Using a channel type which is configured out of UML
41 Using a channel type which is configured out of UML
43 Using a channel type which is configured out of UML
45 Using a channel type which is configured out of UML
47 Using a channel type which is configured out of UML
49 Using a channel type which is configured out of UML
51 Using a channel type which is configured out of UML
53 Using a channel type which is configured out of UML
55 Using a channel type which is configured out of UML
57 Using a channel type which is configured out of UML
[all …]
H A Dtest_output_isolated_correctly.log61 Using a channel type which is configured out of UML
63 Using a channel type which is configured out of UML
65 Using a channel type which is configured out of UML
67 Using a channel type which is configured out of UML
69 Using a channel type which is configured out of UML
71 Using a channel type which is configured out of UML
73 Using a channel type which is configured out of UML
75 Using a channel type which is configured out of UML
77 Using a channel type which is configured out of UML
79 Using a channel type which is configured out of UML
[all …]
/linux/drivers/staging/media/av7110/
H A Dav7110_ipack.c17 p->which = 0; in av7110_ipack_reset()
221 p->which = 0; in av7110_ipack_instant_repack()
280 if (p->mpeg == 1 && p->which < 2000) { in av7110_ipack_instant_repack()
286 while (!p->which && c < count && p->check == 0xff) { in av7110_ipack_instant_repack()
297 if ((p->check & 0xc0) == 0x40 && !p->which) { in av7110_ipack_instant_repack()
304 p->which = 1; in av7110_ipack_instant_repack()
312 p->which = 2; in av7110_ipack_instant_repack()
317 if (p->which == 1) { in av7110_ipack_instant_repack()
323 p->which = 2; in av7110_ipack_instant_repack()
331 p->which = 3; in av7110_ipack_instant_repack()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtailcall6.c13 int count, which; variable
19 if (__builtin_constant_p(which)) in classifier_0()
21 bpf_tail_call(skb, &jmp_table, which); in classifier_0()
28 if (__builtin_constant_p(which)) in entry()
30 bpf_tail_call(skb, &jmp_table, which); in entry()
/linux/include/uapi/linux/
H A Dv4l2-subdev.h39 __u32 which; member
59 __u32 which; member
86 __u32 which; member
113 __u32 which; member
130 __u32 which; member
153 __u32 which; member
175 __u32 which; member
239 __u32 which; member
/linux/arch/powerpc/kernel/
H A Ddexcr.c31 static int prctl_to_aspect(unsigned long which, unsigned int *aspect) in early_initcall()
33 switch (which) { in early_initcall()
53 int get_dexcr_prctl(struct task_struct *task, unsigned long which) in get_dexcr_prctl() argument
58 ret = prctl_to_aspect(which, &aspect); in get_dexcr_prctl()
78 int set_dexcr_prctl(struct task_struct *task, unsigned long which, unsigned long ctrl) in set_dexcr_prctl() argument
84 err = prctl_to_aspect(which, &aspect); in set_dexcr_prctl()
/linux/tools/testing/selftests/timers/
H A Dposix_timers.c106 static void check_itimer(int which, const char *name) in check_itimer()
116 if (which == ITIMER_VIRTUAL) in check_itimer()
118 else if (which == ITIMER_PROF) { in check_itimer()
122 else if (which == ITIMER_REAL) in check_itimer()
128 if (setitimer(which, &val, NULL) < 0) in check_itimer()
131 if (which == ITIMER_VIRTUAL) in check_itimer()
133 else if (which == ITIMER_PROF) in check_itimer()
135 else if (which == ITIMER_REAL) in check_timer_create() argument
144 static void check_timer_create(int which) in check_timer_create()
146 const char *name = clock_name(which); in check_timer_create()
100 check_itimer(int which,const char * name) check_itimer() argument
457 check_sigev_none(int which,const char * name) check_sigev_none() argument
495 check_gettime(int which,const char * name) check_gettime() argument
548 check_overrun(int which,const char * name) check_overrun() argument
[all...]
/linux/arch/riscv/kernel/
H A Dfpu.S108 #define get_f32(which) fmv.x.s a0, which; j 2f argument
109 #define put_f32(which) fmv.s.x which, a1; j 2f argument
111 # define get_f64(which) fmv.x.d a0, which; j 2f argument
112 # define put_f64(which) fmv.d.x which, a1; j 2f argument
114 # define get_f64(which) fsd which, 0(a1); j 2f argument
115 # define put_f64(which) fld which, 0(a1); j 2f argument
/linux/include/linux/ceph/
H A Dosd_client.h467 unsigned int which, u16 opcode, u32 flags);
470 unsigned int which,
476 unsigned int which, u16 opcode,
480 unsigned int which, u64 length);
482 unsigned int which, u64 offset_inc);
486 unsigned int which);
489 unsigned int which,
495 unsigned int which,
500 unsigned int which,
504 unsigned int which,
[all …]
/linux/Documentation/hwmon/
H A Dpeci-cputemp.rst7 One of Intel server CPUs listed below which is connected to a PECI bus.
36 This driver implements a generic PECI hwmon feature which provides Digital
50 which is also known as Tcontrol.
51 temp1_crit Provides shutdown temperature of the CPU package which
55 package. Returns Tcontrol, the temperature at which
62 which is also known as Tcontrol.
63 temp2_crit Provides shutdown temperature of the CPU package which
67 package. Returns Tcontrol, the temperature at which
72 package which is also known as Fan Temperature target.
74 temperature at which fans should be engaged.
[all …]
/linux/tools/power/cpupower/lib/
H A Dcpuidle.c113 /* read access to files which contain one numeric value */
137 enum idlestate_value which) in cpuidle_state_get_one_value() argument
144 if (which >= MAX_IDLESTATE_VALUE_FILES) in cpuidle_state_get_one_value()
148 idlestate_value_files[which], in cpuidle_state_get_one_value()
162 /* read access to files which contain one string */
178 enum idlestate_string which) in cpuidle_state_get_one_string()
184 if (which >= MAX_IDLESTATE_STRING_FILES) in cpuidle_state_get_one_string()
188 idlestate_string_files[which], in cpuidle_state_get_one_string()
335 /* read access to files which contain one string */
351 static char *sysfs_cpuidle_get_one_string(enum cpuidle_string which) in sysfs_cpuidle_get_one_string()
177 cpuidle_state_get_one_string(unsigned int cpu,unsigned int idlestate,enum idlestate_string which) cpuidle_state_get_one_string() argument
350 sysfs_cpuidle_get_one_string(enum cpuidle_string which) sysfs_cpuidle_get_one_string() argument
[all...]
/linux/include/linux/
H A Dskmsg.h186 #define sk_msg_iter_prev(msg, which) \ argument
187 sk_msg_iter_var_prev(msg->sg.which)
189 #define sk_msg_iter_next(msg, which) \ argument
190 sk_msg_iter_var_next(msg->sg.which)
200 int which, u32 size) in sk_msg_xfer() argument
202 dst->sg.data[which] = src->sg.data[which]; in sk_msg_xfer()
203 __assign_bit(which, dst->sg.copy, test_bit(which, src->sg.copy)); in sk_msg_xfer()
204 dst->sg.data[which].length = size; in sk_msg_xfer()
207 src->sg.data[which].length -= size; in sk_msg_xfer()
208 src->sg.data[which].offset += size; in sk_msg_xfer()
[all …]
/linux/Documentation/timers/
H A Dhpet.rst10 each of which can generate oneshot interrupts and at least one of which has
12 also called "timers", which can be misleading since usually timers are
17 role. Many x86 BIOS writers don't route HPET interrupts at all, which
24 platform code which uses timer 0 or 1 as the main timer to intercept HPET
28 The driver provides a userspace API which resembles the API found in the
/linux/tools/power/cpupower/utils/helpers/
H A Dsysfs.c205 enum idlestate_value which) in sysfs_idlestate_get_one_value() argument
212 if (which >= MAX_IDLESTATE_VALUE_FILES) in sysfs_idlestate_get_one_value()
216 idlestate_value_files[which], in sysfs_idlestate_get_one_value()
245 enum idlestate_string which) in sysfs_idlestate_get_one_string() argument
251 if (which >= MAX_IDLESTATE_STRING_FILES) in sysfs_idlestate_get_one_string()
255 idlestate_string_files[which], in sysfs_idlestate_get_one_string()
412 static char *sysfs_cpuidle_get_one_string(enum cpuidle_string which) in sysfs_cpuidle_get_one_string() argument
418 if (which >= MAX_CPUIDLE_STRING_FILES) in sysfs_cpuidle_get_one_string()
421 len = sysfs_cpuidle_read_file(cpuidle_string_files[which], in sysfs_cpuidle_get_one_string()
/linux/kernel/time/
H A Ditimer.c26 * Returns the delta between the expiry time and now, which can be
36 * then we return 0 - which is correct. in itimer_get_remtime()
76 static int do_getitimer(int which, struct itimerspec64 *value) in do_getitimer() argument
80 switch (which) { in do_getitimer()
113 SYSCALL_DEFINE2(getitimer, int, which, struct __kernel_old_itimerval __user *, value) in SYSCALL_DEFINE2() argument
116 int error = do_getitimer(which, &get_buffer); in SYSCALL_DEFINE2()
141 COMPAT_SYSCALL_DEFINE2(getitimer, int, which, in COMPAT_SYSCALL_DEFINE2() argument
145 int error = do_getitimer(which, &get_buffer); in COMPAT_SYSCALL_DEFINE2()
225 static int do_setitimer(int which, struct itimerspec64 *value, in do_setitimer() argument
232 switch (which) { in do_setitimer()
351 SYSCALL_DEFINE3(setitimer,int,which,struct __kernel_old_itimerval __user *,value,struct __kernel_old_itimerval __user *,ovalue) SYSCALL_DEFINE3() argument
397 COMPAT_SYSCALL_DEFINE3(setitimer,int,which,struct old_itimerval32 __user *,value,struct old_itimerval32 __user *,ovalue) COMPAT_SYSCALL_DEFINE3() argument
[all...]
/linux/drivers/mtd/chips/
H A DKconfig22 This option enables JEDEC-style probing of flash chips which are not
24 CFI-targeted flash drivers for any chips which are identified which
40 configuration options which allow you to do so.
49 This option defines the way in which the CPU attempts to arrange
51 'NO', which is the default when CONFIG_MTD_CFI_ADV_OPTIONS isn't
79 some other configuration options which would allow you to reduce
82 which are supported by the current code will be enabled.
88 If you wish to support CFI devices on a physical bus which is
95 If you wish to support CFI devices on a physical bus which is
102 If you wish to support CFI devices on a physical bus which is
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-api.c247 if (cs->which && in prepare_ext_ctrls()
248 (cs->which < V4L2_CTRL_WHICH_DEF_VAL || in prepare_ext_ctrls()
249 cs->which > V4L2_CTRL_WHICH_MAX_VAL) && in prepare_ext_ctrls()
250 V4L2_CTRL_ID2WHICH(id) != cs->which) { in prepare_ext_ctrls()
253 cs->which, id); in prepare_ext_ctrls()
279 (cs->which == V4L2_CTRL_WHICH_MIN_VAL || in prepare_ext_ctrls()
280 cs->which == V4L2_CTRL_WHICH_MAX_VAL)) { in prepare_ext_ctrls()
283 cs->which, id); in prepare_ext_ctrls()
295 if (cs->which == V4L2_CTRL_WHICH_REQUEST_VAL) in prepare_ext_ctrls()
394 static int class_check(struct v4l2_ctrl_handler *hdl, u32 which) in class_check() argument
[all …]
/linux/arch/alpha/kernel/
H A Derr_titan.c74 titan_parse_p_serror(int which, u64 serror, int print) in titan_parse_p_serror() argument
116 err_print_prefix, which, serror); in titan_parse_p_serror()
141 titan_parse_p_perror(int which, int port, u64 perror, int print) in titan_parse_p_perror() argument
233 err_print_prefix, which, in titan_parse_p_perror()
275 titan_parse_p_agperror(int which, u64 agperror, int print) in titan_parse_p_agperror() argument
326 which, agperror); in titan_parse_p_agperror()
358 titan_parse_p_chip(int which, u64 serror, u64 gperror, in titan_parse_p_chip() argument
362 status |= titan_parse_p_serror(which, serror, print); in titan_parse_p_chip()
363 status |= titan_parse_p_perror(which, 0, gperror, print); in titan_parse_p_chip()
364 status |= titan_parse_p_perror(which, 1, aperror, print); in titan_parse_p_chip()
[all …]
/linux/Documentation/
H A Datomic_bitops.txt33 All RMW atomic operations have a '__' prefixed variant which is non-atomic.
42 which is why the generic version maps to clear_bit_unlock(), see atomic_t.txt.
63 Except for a successful test_and_set_bit_lock() which has ACQUIRE semantics,
64 clear_bit_unlock() which has RELEASE semantics and test_bit_acquire which has
/linux/net/bridge/netfilter/
H A DKconfig110 This option adds the among match, which allows matching the MAC source
119 This option adds the ARP match, which allows ARP and RARP header field
127 This option adds the IP match, which allows basic IP header field
136 This option adds the IP6 match, which allows basic IPV6 header field
144 This option adds the limit match, which allows you to control
145 the rate at which a rule can be matched. This match is the
154 This option adds the mark match, which allows matching frames based on
164 This option adds the packet type match, which allows matching on the
174 This option adds the Spanning Tree Protocol match, which
182 This option adds the 802.1Q vlan match, which allows the filtering of
[all …]
/linux/Documentation/security/
H A Dsak.rst8 An operating system's Secure Attention Key is a security tool which is
10 is an undefeatable way of killing all programs which could be
42 systems which implement C2 level security. This author does not
46 2. On the PC keyboard, SAK kills all applications which have
49 Unfortunately this includes a number of things which you don't
54 You can identify processes which will be killed by SAK with the
67 initscript which launches gpm and changing it thusly:
86 These commands cause **all** daemons which are launched by the
/linux/tools/include/nolibc/sys/
H A Dwait.h24 int _sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage) in sys_waitid() argument
26 return __nolibc_syscall5(__NR_waitid, which, pid, infop, options, rusage); in sys_waitid()
30 int waitid(int which, pid_t pid, siginfo_t *infop, int options) in waitid() argument
32 return __sysret(_sys_waitid(which, pid, infop, options, NULL)); in waitid()

12345678910>>...90