/kernel/ |
H A D | sysctl.c | 239 .mode = 0555, 244 .mode = 0555, 249 .mode = 0555, 254 .mode = 0555, 259 .mode = 0555, 286 .mode = 0644, 294 .mode = 0644, 303 .mode = 0644, 312 .mode = 0644, 322 .mode [all...] |
H A D | utsname_sysctl.c | 74 .mode = 0444, 81 .mode = 0444, 88 .mode = 0444, 95 .mode = 0644, 103 .mode = 0644, 113 .mode = 0555,
|
H A D | seccomp.c | 212 if (current->seccomp.mode && current->seccomp.mode != seccomp_mode) 223 task->seccomp.mode = seccomp_mode; 225 * Make sure TIF_SECCOMP cannot be set before the mode (and 252 * either not in the correct seccomp mode or it did not have an ancestral 271 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED || 272 (thread->seccomp.mode == SECCOMP_MODE_FILTER && 326 if (thread->seccomp.mode == SECCOMP_MODE_DISABLED) { 554 * Secure computing mode 1 allows only read/write/exit/sigreturn. 592 int mode local 689 int mode = current->seccomp.mode; local [all...] |
H A D | audit.h | 93 umode_t mode; member in struct:audit_names 170 umode_t mode; member in struct:audit_context::__anon2::__anon4 194 umode_t mode; member in struct:audit_context::__anon2::__anon8
|
H A D | ptrace.c | 210 static int ptrace_has_cap(struct user_namespace *ns, unsigned int mode) argument 212 if (mode & PTRACE_MODE_NOAUDIT) 219 static int __ptrace_may_access(struct task_struct *task, unsigned int mode) argument 244 if (ptrace_has_cap(tcred->user_ns, mode)) 255 !ptrace_has_cap(__task_cred(task)->user_ns, mode)) { 261 return security_ptrace_access_check(task, mode); 264 bool ptrace_may_access(struct task_struct *task, unsigned int mode) argument 268 err = __ptrace_may_access(task, mode);
|
H A D | auditsc.c | 175 umode_t mode = (umode_t)val; local 182 ((n->mode & S_IFMT) == mode)) 1212 audit_log_format(ab, "ouid=%u ogid=%u mode=%#ho", 1215 context->ipc.mode); 1234 "qbytes=%lx ouid=%u ogid=%u mode=%#ho", 1243 "oflag=0x%x mode=%#ho mq_flags=0x%lx mq_maxmsg=%ld " 1245 context->mq_open.oflag, context->mq_open.mode, 2096 * @mode: mode bit 2100 __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) argument 2200 __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) argument [all...] |
H A D | kmod.c | 123 * Load a module using the user mode module loader. The function returns 710 .mode = 0600, 717 .mode = 0600,
|
H A D | softirq.c | 616 * @mode: hrtimer mode (HRTIMER_MODE_ABS/HRTIMER_MODE_REL) 620 clockid_t which_clock, enum hrtimer_mode mode) 622 hrtimer_init(&ttimer->timer, which_clock, mode); 618 tasklet_hrtimer_init(struct tasklet_hrtimer *ttimer, enum hrtimer_restart (*function)(struct hrtimer *), clockid_t which_clock, enum hrtimer_mode mode) argument
|
H A D | ksysfs.c | 182 .mode = S_IRUGO,
|
H A D | pid_namespace.c | 277 .mode = 0666, /* permissions are checked in the handler */
|
H A D | cgroup.c | 981 * cgroup_file_mode - deduce file mode of a control file 984 * returns cft->mode if ->mode is not 0 991 umode_t mode = 0; local 993 if (cft->mode) 994 return cft->mode; 997 mode |= S_IRUGO; 1000 mode |= S_IWUSR; 1002 return mode; 4235 .mode 4585 cgroup_mkdir(struct kernfs_node *parent_kn, const char *name, umode_t mode) argument [all...] |
/kernel/sched/ |
H A D | wait.c | 64 static void __wake_up_common(wait_queue_head_t *q, unsigned int mode, argument 72 if (curr->func(curr, mode, wake_flags, key) && 81 * @mode: which threads 88 void __wake_up(wait_queue_head_t *q, unsigned int mode, argument 94 __wake_up_common(q, mode, nr_exclusive, 0, key); 102 void __wake_up_locked(wait_queue_head_t *q, unsigned int mode, int nr) argument 104 __wake_up_common(q, mode, nr, 0, NULL); 108 void __wake_up_locked_key(wait_queue_head_t *q, unsigned int mode, void *key) argument 110 __wake_up_common(q, mode, 1, 0, key); 117 * @mode 131 __wake_up_sync_key(wait_queue_head_t *q, unsigned int mode, int nr_exclusive, void *key) argument 152 __wake_up_sync(wait_queue_head_t *q, unsigned int mode, int nr_exclusive) argument 275 abort_exclusive_wait(wait_queue_head_t *q, wait_queue_t *wait, unsigned int mode, void *key) argument 290 autoremove_wake_function(wait_queue_t *wait, unsigned mode, int sync, void *key) argument 300 wake_bit_function(wait_queue_t *wait, unsigned mode, int sync, void *arg) argument 321 __wait_on_bit(wait_queue_head_t *wq, struct wait_bit_queue *q, wait_bit_action_f *action, unsigned mode) argument 336 out_of_line_wait_on_bit(void *word, int bit, wait_bit_action_f *action, unsigned mode) argument 346 out_of_line_wait_on_bit_timeout( void *word, int bit, wait_bit_action_f *action, unsigned mode, unsigned long timeout) argument 359 __wait_on_bit_lock(wait_queue_head_t *wq, struct wait_bit_queue *q, wait_bit_action_f *action, unsigned mode) argument 379 out_of_line_wait_on_bit_lock(void *word, int bit, wait_bit_action_f *action, unsigned mode) argument 444 wake_atomic_t_function(wait_queue_t *wait, unsigned mode, int sync, void *arg) argument 465 __wait_on_atomic_t(wait_queue_head_t *wq, struct wait_bit_queue *q, int (*action)(atomic_t *), unsigned mode) argument 493 out_of_line_wait_on_atomic_t(atomic_t *p, int (*action)(atomic_t *), unsigned mode) argument [all...] |
H A D | core.c | 1309 * kernel-mode, without any delay. (to get signals handled.) 2875 * we haven't yet exited the RCU idle mode. Do it here manually until 3004 int default_wake_function(wait_queue_t *curr, unsigned mode, int wake_flags, argument 3007 return try_to_wake_up(curr->private, mode, wake_flags); 4986 .mode = 0555, 4994 .mode = 0555, 5014 * procname are dynamically allocated and could fail but the mode 5018 for (entry = *tablep; entry->mode; entry++) { 5035 umode_t mode, proc_handler *proc_handler, 5041 entry->mode 5033 set_table_entry(struct ctl_table *entry, const char *procname, void *data, int maxlen, umode_t mode, proc_handler *proc_handler, bool load_idx) argument [all...] |
/kernel/time/ |
H A D | clockevents.c | 98 * clockevents_set_mode - set the operating mode of a clock event device 100 * @mode: new mode 105 enum clock_event_mode mode) 107 if (dev->mode != mode) { 108 dev->set_mode(mode, dev); 109 dev->mode = mode; 115 if (mode 104 clockevents_set_mode(struct clock_event_device *dev, enum clock_event_mode mode) argument [all...] |
H A D | tick-broadcast-hrtimer.c | 21 static void bc_set_mode(enum clock_event_mode mode, argument 24 switch (mode) {
|
H A D | tick-oneshot.c | 35 * tick_resume_onshot - resume oneshot mode 46 * tick_setup_oneshot - setup the event device for oneshot mode (hres or nohz) 58 * tick_switch_to_oneshot - switch to oneshot mode 69 "could not switch to one-shot mode:"); 76 printk(" %s does not support one-shot mode.\n", 82 td->mode = TICKDEV_MODE_ONESHOT; 90 * tick_check_oneshot_mode - check whether the system is in oneshot mode 100 ret = __this_cpu_read(tick_cpu_device.mode) == TICKDEV_MODE_ONESHOT; 108 * tick_init_highres - switch to high resolution mode
|
H A D | tick-common.c | 105 if (dev->mode != CLOCK_EVT_MODE_ONESHOT) 110 * periodic mode: 117 * Have to be careful here. If we're in oneshot mode, 191 * Startup in periodic mode first. 193 td->mode = TICKDEV_MODE_PERIODIC; 211 * device is registered as a placeholder for broadcast mode. 219 if (td->mode == TICKDEV_MODE_PERIODIC) 355 * We just set the mode and remove it from the lists. 362 td->mode = TICKDEV_MODE_PERIODIC; 366 * the set mode functio [all...] |
H A D | hrtimer.c | 402 enum hrtimer_mode mode); 405 enum hrtimer_mode mode) 408 __hrtimer_init(timer, clock_id, mode); 425 enum hrtimer_mode mode) 428 trace_hrtimer_init(timer, clockid, mode); 452 * Enable / Disable high resolution mode 468 * hrtimer_high_res_enabled - query, if the highres mode is enabled 476 * Is the high resolution mode active ? 644 * Switch to high resolution mode 660 "mode o 404 hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) argument 424 debug_init(struct hrtimer *timer, clockid_t clockid, enum hrtimer_mode mode) argument 919 __hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, unsigned long delta_ns, const enum hrtimer_mode mode, int wakeup) argument 1006 hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, unsigned long delta_ns, const enum hrtimer_mode mode) argument 1025 hrtimer_start(struct hrtimer *timer, ktime_t tim, const enum hrtimer_mode mode) argument 1139 __hrtimer_init(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) argument 1169 hrtimer_init(struct hrtimer *timer, clockid_t clock_id, enum hrtimer_mode mode) argument 1499 do_nanosleep(struct hrtimer_sleeper *t, enum hrtimer_mode mode) argument 1565 hrtimer_nanosleep(struct timespec *rqtp, struct timespec __user *rmtp, const enum hrtimer_mode mode, const clockid_t clockid) argument 1760 schedule_hrtimeout_range_clock(ktime_t *expires, unsigned long delta, const enum hrtimer_mode mode, int clock) argument 1830 schedule_hrtimeout_range(ktime_t *expires, unsigned long delta, const enum hrtimer_mode mode) argument 1860 schedule_hrtimeout(ktime_t *expires, const enum hrtimer_mode mode) argument [all...] |
H A D | tick-broadcast.c | 58 * Start the device in periodic mode 77 if (tick_broadcast_device.mode == TICKDEV_MODE_ONESHOT && 105 * where we did not switch to oneshot mode because the per cpu 108 * notification the systems stays stuck in periodic mode 166 * mode disabled. This signals, that the device needs to be 174 if (tick_broadcast_device.mode == TICKDEV_MODE_PERIODIC) 196 switch (tick_broadcast_device.mode) { 199 * If the system is in oneshot mode we can 212 * If the system is in periodic mode, check 304 * The device is in periodic mode [all...] |
H A D | timer_list.c | 205 SEQ_printf(m, "Tick Device: mode: %d\n", td->mode); 223 SEQ_printf(m, " mode: %d\n", dev->mode);
|
H A D | posix-timers.c | 829 enum hrtimer_mode mode; local 851 mode = flags & TIMER_ABSTIME ? HRTIMER_MODE_ABS : HRTIMER_MODE_REL; 852 hrtimer_init(&timr->it.real.timer, timr->it_clock, mode); 863 if (mode == HRTIMER_MODE_REL) { 869 hrtimer_start_expires(timer, mode);
|
/kernel/power/ |
H A D | user.c | 38 int mode; member in struct:snapshot_data 75 data->mode = O_RDONLY; 88 data->mode = O_WRONLY; 126 pm_notifier_call_chain(data->mode == O_RDONLY ? 251 if (data->mode != O_RDONLY || !data->frozen || data->ready) { 266 if (data->mode != O_WRONLY || !data->frozen ||
|
H A D | hibernate.c | 160 * normal mode of operation. 174 * Use the platform driver to switch the machine to the normal mode of 205 * Use the platform driver to switch the system to the normal mode of operation 737 * attempts to recover gracefully and make the kernel return to the normal mode 883 * /sys/power/disk - Control hibernation mode. 891 * hibernation mode to use. Reading from this file causes the available modes 903 * To select a given hibernation mode it is necessary to write the mode's 930 /* not a valid mode, continue with loop */ 949 int mode local [all...] |
H A D | power.h | 74 .mode = 0644, \
|
/kernel/bpf/ |
H A D | verifier.c | 1664 u8 mode = BPF_MODE(insn->code); local 1666 if (mode == BPF_ABS || mode == BPF_IND) { 1669 } else if (mode == BPF_IMM) { 1676 verbose("invalid BPF_LD mode\n");
|