Searched defs:ns (Results 1 - 200 of 284) sorted by relevance

12

/linux-4.1.27/arch/mips/lib/
H A Ddelay.c58 void __ndelay(unsigned long ns) __ndelay() argument
/linux-4.1.27/tools/perf/util/
H A Dtsc.c6 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) perf_time_to_tsc() argument
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_hwtstamp.c132 u64 ns; stmmac_get_systime() local
H A Dstmmac_ptp.c113 u64 ns; stmmac_get_time() local
H A Dnorm_desc.c234 u64 ns; ndesc_get_timestamp() local
H A Denh_desc.c351 u64 ns; enh_desc_get_timestamp() local
/linux-4.1.27/fs/sysfs/
H A Dmount.c30 void *ns; sysfs_mount() local
48 void *ns = (void *)kernfs_super_ns(sb); sysfs_kill_sb() local
H A Ddir.c41 int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) sysfs_create_dir_ns() argument
H A Dsymlink.c123 const void *ns = NULL; sysfs_delete_link() local
H A Dfile.c238 sysfs_add_file_mode_ns(struct kernfs_node *parent, const struct attribute *attr, bool is_bin, umode_t mode, const void *ns) sysfs_add_file_mode_ns() argument
319 sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) sysfs_create_file_ns() argument
408 sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) sysfs_remove_file_ns() argument
/linux-4.1.27/fs/kernfs/
H A Dkernfs-internal.h66 const void *ns; member in struct:kernfs_super_info
H A Dmount.c226 struct super_block *kernfs_pin_sb(struct kernfs_root *root, const void *ns) kernfs_pin_sb() argument
146 kernfs_mount_ns(struct file_system_type *fs_type, int flags, struct kernfs_root *root, unsigned long magic, bool *new_sb_created, const void *ns) kernfs_mount_ns() argument
H A Dfile.c909 __kernfs_create_file(struct kernfs_node *parent, const char *name, umode_t mode, loff_t size, const struct kernfs_ops *ops, void *priv, const void *ns, struct lock_class_key *key) __kernfs_create_file() argument
H A Ddir.c185 static unsigned int kernfs_name_hash(const char *name, const void *ns) kernfs_name_hash() argument
829 const void *ns = NULL; kernfs_iop_lookup() local
1359 static struct kernfs_node *kernfs_dir_pos(const void *ns, kernfs_dir_pos() argument
1393 static struct kernfs_node *kernfs_dir_next_pos(const void *ns, kernfs_dir_next_pos() argument
1414 const void *ns = NULL; kernfs_fop_readdir() local
201 kernfs_name_compare(unsigned int hash, const char *name, const void *ns, const struct kernfs_node *kn) kernfs_name_compare() argument
641 kernfs_find_ns(struct kernfs_node *parent, const unsigned char *name, const void *ns) kernfs_find_ns() argument
684 kernfs_find_and_get_ns(struct kernfs_node *parent, const char *name, const void *ns) kernfs_find_and_get_ns() argument
764 kernfs_create_dir_ns(struct kernfs_node *parent, const char *name, umode_t mode, void *priv, const void *ns) kernfs_create_dir_ns() argument
1246 kernfs_remove_by_name_ns(struct kernfs_node *parent, const char *name, const void *ns) kernfs_remove_by_name_ns() argument
/linux-4.1.27/include/linux/
H A Dnsproxy.h73 static inline void put_nsproxy(struct nsproxy *ns) put_nsproxy() argument
80 static inline void get_nsproxy(struct nsproxy *ns) get_nsproxy() argument
H A Dtimecounter.h82 u64 ns = (u64) cycles; cyclecounter_cyc2ns() local
H A Dpid.h53 struct pid_namespace *ns; member in struct:upid
136 struct pid_namespace *ns = NULL; ns_of_pid() local
H A Dproc_ns.h48 static inline int pid_ns_prepare_proc(struct pid_namespace *ns) { return 0; } pid_ns_release_proc() argument
49 static inline void pid_ns_release_proc(struct pid_namespace *ns) {} pid_ns_release_proc() argument
60 static inline int ns_alloc_inum(struct ns_common *ns) ns_alloc_inum() argument
H A Dprojid.h57 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) kprojid_has_mapping() argument
82 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) kprojid_has_mapping() argument
H A Dutsname.h27 struct ns_common ns; member in struct:uts_namespace
32 static inline void get_uts_ns(struct uts_namespace *ns) get_uts_ns() argument
41 static inline void put_uts_ns(struct uts_namespace *ns) put_uts_ns() argument
46 static inline void get_uts_ns(struct uts_namespace *ns) get_uts_ns() argument
50 static inline void put_uts_ns(struct uts_namespace *ns) put_uts_ns() argument
H A Dpid_namespace.h47 struct ns_common ns; member in struct:pid_namespace
55 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) get_pid_ns() argument
71 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) get_pid_ns() argument
84 static inline void put_pid_ns(struct pid_namespace *ns) put_pid_ns() argument
88 static inline void zap_pid_ns_processes(struct pid_namespace *ns) zap_pid_ns_processes() argument
76 copy_pid_ns(unsigned long flags, struct user_namespace *user_ns, struct pid_namespace *ns) copy_pid_ns() argument
H A Dtime.h233 static __always_inline void timespec_add_ns(struct timespec *a, u64 ns) timespec_add_ns() argument
H A Dtime64.h182 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) timespec64_add_ns() argument
H A Duser_namespace.h34 struct ns_common ns; member in struct:user_namespace
48 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) get_user_ns() argument
59 static inline void put_user_ns(struct user_namespace *ns) put_user_ns() argument
77 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) get_user_ns() argument
95 static inline void put_user_ns(struct user_namespace *ns) put_user_ns() argument
99 static inline bool userns_may_setgroups(const struct user_namespace *ns) userns_may_setgroups() argument
H A Dktime.h178 s64 ns = kt.tv64; ktime_divns() local
H A Dptrace.h174 struct pid_namespace *ns; ptrace_event_pid() local
H A Duidgid.h130 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) kuid_has_mapping() argument
135 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) kgid_has_mapping() argument
178 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) kuid_has_mapping() argument
183 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) kgid_has_mapping() argument
H A Dcapability.h240 static inline bool ns_capable(struct user_namespace *ns, int cap) ns_capable() argument
222 has_ns_capability(struct task_struct *t, struct user_namespace *ns, int cap) has_ns_capability() argument
231 has_ns_capability_noaudit(struct task_struct *t, struct user_namespace *ns, int cap) has_ns_capability_noaudit() argument
H A Dipc_namespace.h62 struct ns_common ns; member in struct:ipc_namespace
73 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} shm_destroy_orphaned() argument
112 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } mq_init_ns() argument
119 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) get_ipc_ns() argument
137 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) get_ipc_ns() argument
142 static inline void put_ipc_ns(struct ipc_namespace *ns) put_ipc_ns() argument
128 copy_ipcs(unsigned long flags, struct user_namespace *user_ns, struct ipc_namespace *ns) copy_ipcs() argument
H A Dnvme.h144 static inline u64 nvme_block_nr(struct nvme_ns *ns, sector_t sector) nvme_block_nr() argument
H A Dsysfs.h283 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) sysfs_create_dir_ns() argument
316 sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) sysfs_create_file_ns() argument
335 sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) sysfs_remove_file_ns() argument
380 sysfs_rename_link_ns(struct kobject *k, struct kobject *t, const char *old_name, const char *new_name, const void *ns) sysfs_rename_link_ns() argument
H A Dhrtimer.h230 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) hrtimer_add_expires_ns() argument
/linux-4.1.27/arch/powerpc/boot/
H A Dsimpleboot.c31 const u32 *na, *ns, *reg, *timebase; platform_init() local
H A Daddnote.c123 long nnote, nnote2, ns; main() local
/linux-4.1.27/net/ax25/
H A Dax25_ds_in.c148 static int ax25_ds_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) ax25_ds_state3_machine() argument
284 int queued = 0, frametype, ns, nr, pf; ax25_ds_frame_in() local
H A Dax25_std_in.c144 static int ax25_std_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) ax25_std_state3_machine() argument
269 static int ax25_std_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) ax25_std_state4_machine() argument
424 int queued = 0, frametype, ns, nr, pf; ax25_std_frame_in() local
H A Dax25_subr.c100 int ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) ax25_decode() argument
/linux-4.1.27/net/rose/
H A Drose_in.c104 static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) rose_state3_machine() argument
266 int queued = 0, frametype, ns, nr, q, d, m; rose_process_rx_frame() local
H A Drose_subr.c201 int rose_decode(struct sk_buff *skb, int *ns, int *nr, int *q, int *d, int *m) rose_decode() argument
/linux-4.1.27/fs/proc/
H A Dself.c13 struct pid_namespace *ns = dentry->d_sb->s_fs_info; proc_self_readlink() local
24 struct pid_namespace *ns = dentry->d_sb->s_fs_info; proc_self_follow_link() local
50 struct pid_namespace *ns = s->s_fs_info; proc_setup_self() local
H A Dthread_self.c13 struct pid_namespace *ns = dentry->d_sb->s_fs_info; proc_thread_self_readlink() local
25 struct pid_namespace *ns = dentry->d_sb->s_fs_info; proc_thread_self_follow_link() local
51 struct pid_namespace *ns = s->s_fs_info; proc_setup_thread_self() local
H A Dproc_net.c110 struct nsproxy *ns; get_proc_task_net() local
H A Droot.c35 struct pid_namespace *ns = (struct pid_namespace *)data; proc_set_super() local
105 struct pid_namespace *ns; proc_mount() local
151 struct pid_namespace *ns; proc_kill_sb() local
262 int pid_ns_prepare_proc(struct pid_namespace *ns) pid_ns_prepare_proc() argument
274 void pid_ns_release_proc(struct pid_namespace *ns) pid_ns_release_proc() argument
H A Darray.c134 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, task_state() argument
343 int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, proc_pid_status() argument
364 static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, do_task_stat() argument
544 int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, proc_tid_stat() argument
550 int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, proc_tgid_stat() argument
556 int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, proc_pid_statm() argument
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dtime.c31 unsigned long ns; get_ns_in_jiffie() local
/linux-4.1.27/kernel/time/
H A Dtimecounter.c85 u64 ns = (u64) cycles; cc_cyc2ns_backwards() local
H A Dsched_clock.c145 u64 ns; update_sched_clock() local
170 u64 res, wrap, new_mask, new_epoch, cyc, ns; sched_clock_register() local
/linux-4.1.27/kernel/
H A Dutsname.c38 struct uts_namespace *ns; clone_uts_ns() local
85 struct uts_namespace *ns; free_uts_ns() local
93 static inline struct uts_namespace *to_uts_ns(struct ns_common *ns) to_uts_ns() argument
100 struct uts_namespace *ns = NULL; utsns_get() local
114 static void utsns_put(struct ns_common *ns) utsns_put() argument
121 struct uts_namespace *ns = to_uts_ns(new); utsns_install() local
H A Dnsproxy.c158 void free_nsproxy(struct nsproxy *ns) free_nsproxy() argument
203 struct nsproxy *ns; switch_task_namespaces() local
226 struct ns_common *ns; SYSCALL_DEFINE2() local
H A Ddelayacct.c54 s64 ns = ktime_get_ns() - *start; delayacct_end() local
H A Dcapability.c375 bool ns_capable(struct user_namespace *ns, int cap) ns_capable() argument
420 bool file_ns_capable(const struct file *file, struct user_namespace *ns, file_ns_capable() argument
444 struct user_namespace *ns = current_user_ns(); capable_wrt_inode_uidgid() local
295 has_ns_capability(struct task_struct *t, struct user_namespace *ns, int cap) has_ns_capability() argument
335 has_ns_capability_noaudit(struct task_struct *t, struct user_namespace *ns, int cap) has_ns_capability_noaudit() argument
H A Dpid_namespace.c75 struct pid_namespace *ns = container_of(work, struct pid_namespace, proc_work); proc_cleanup_work() local
85 struct pid_namespace *ns; create_pid_namespace() local
142 static void destroy_pid_namespace(struct pid_namespace *ns) destroy_pid_namespace() argument
165 struct pid_namespace *ns; free_pid_ns() local
171 void put_pid_ns(struct pid_namespace *ns) put_pid_ns() argument
337 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) to_pid_ns() argument
344 struct pid_namespace *ns; pidns_get() local
355 static void pidns_put(struct ns_common *ns) pidns_put() argument
360 static int pidns_install(struct nsproxy *nsproxy, struct ns_common *ns) pidns_install() argument
H A Dacct.c88 struct pid_namespace *ns; member in struct:bsd_acct_struct
141 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) acct_get() argument
194 struct pid_namespace *ns = task_active_pid_ns(current); acct_on() local
294 void acct_exit_ns(struct pid_namespace *ns) acct_exit_ns() argument
501 struct pid_namespace *ns = acct->ns; do_acct_process() local
570 static void slow_acct_process(struct pid_namespace *ns) slow_acct_process() argument
589 struct pid_namespace *ns; acct_process() local
H A Dpid.c239 struct pid_namespace *ns; put_pid() local
268 struct pid_namespace *ns = upid->ns; free_pid() local
297 struct pid *alloc_pid(struct pid_namespace *ns) alloc_pid() argument
359 void disable_pid_allocation(struct pid_namespace *ns) disable_pid_allocation() argument
366 struct pid *find_pid_ns(int nr, struct pid_namespace *ns) find_pid_ns() argument
452 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) find_task_by_pid_ns() argument
501 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) pid_nr_ns() argument
540 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) task_tgid_nr_ns() argument
557 struct pid *find_ge_pid(int nr, struct pid_namespace *ns) find_ge_pid() argument
521 __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns) __task_pid_nr_ns() argument
H A Dptrace.c210 static int ptrace_has_cap(struct user_namespace *ns, unsigned int mode) ptrace_has_cap() argument
H A Duser_namespace.c61 struct user_namespace *ns, *parent_ns = new->user_ns; create_user_ns() local
137 void free_user_ns(struct user_namespace *ns) free_user_ns() argument
238 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) make_kuid() argument
306 kgid_t make_kgid(struct user_namespace *ns, gid_t gid) make_kgid() argument
373 kprojid_t make_kprojid(struct user_namespace *ns, projid_t projid) make_kprojid() argument
431 struct user_namespace *ns = seq->private; uid_m_show() local
452 struct user_namespace *ns = seq->private; gid_m_show() local
473 struct user_namespace *ns = seq->private; projid_m_show() local
506 struct user_namespace *ns = seq->private; uid_m_start() local
513 struct user_namespace *ns = seq->private; gid_m_start() local
520 struct user_namespace *ns = seq->private; projid_m_start() local
600 struct user_namespace *ns = seq->private; map_write() local
767 struct user_namespace *ns = seq->private; proc_uid_map_write() local
784 struct user_namespace *ns = seq->private; proc_gid_map_write() local
801 struct user_namespace *ns = seq->private; proc_projid_map_write() local
855 struct user_namespace *ns = seq->private; proc_setgroups_show() local
868 struct user_namespace *ns = seq->private; proc_setgroups_write() local
931 bool userns_may_setgroups(const struct user_namespace *ns) userns_may_setgroups() argument
947 static inline struct user_namespace *to_user_ns(struct ns_common *ns) to_user_ns() argument
963 static void userns_put(struct ns_common *ns) userns_put() argument
968 static int userns_install(struct nsproxy *nsproxy, struct ns_common *ns) userns_install() argument
815 new_idmap_permitted(const struct file *file, struct user_namespace *ns, int cap_setid, struct uid_gid_map *new_map) new_idmap_permitted() argument
H A Dsys.c331 struct user_namespace *ns = current_user_ns(); SYSCALL_DEFINE2() local
388 struct user_namespace *ns = current_user_ns(); SYSCALL_DEFINE1() local
464 struct user_namespace *ns = current_user_ns(); SYSCALL_DEFINE2() local
535 struct user_namespace *ns = current_user_ns(); SYSCALL_DEFINE1() local
582 struct user_namespace *ns = current_user_ns(); SYSCALL_DEFINE3() local
669 struct user_namespace *ns = current_user_ns(); SYSCALL_DEFINE3() local
1808 struct user_namespace *ns = current_user_ns(); validate_prctl_map() local
/linux-4.1.27/net/netrom/
H A Dnr_in.c155 unsigned short nr, ns; nr_state3_machine() local
H A Dnr_subr.c104 int nr_in_rx_window(struct sock *sk, unsigned short ns) nr_in_rx_window() argument
/linux-4.1.27/security/keys/
H A Dpersistent.c22 static int key_create_persistent_register(struct user_namespace *ns) key_create_persistent_register() argument
42 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, key_create_persistent() argument
75 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, key_get_persistent() argument
131 struct user_namespace *ns = current_user_ns(); keyctl_get_persistent() local
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dptp.c114 u64 ns; e1000e_phc_gettime() local
139 u64 ns; e1000e_phc_settime() local
/linux-4.1.27/arch/tile/kernel/vdso/
H A Dvgettimeofday.c67 u64 ns; do_realtime() local
86 u64 ns; do_monotonic() local
/linux-4.1.27/ipc/
H A Dipc_sysctl.c55 struct ipc_namespace *ns = current->nsproxy->ipc_ns; proc_ipc_dointvec_minmax_orphans() local
H A Dnamespace.c22 struct ipc_namespace *ns; create_ipc_ns() local
70 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids, free_ipcs() argument
93 static void free_ipc_ns(struct ipc_namespace *ns) free_ipc_ns() argument
121 void put_ipc_ns(struct ipc_namespace *ns) put_ipc_ns() argument
131 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) to_ipc_ns() argument
138 struct ipc_namespace *ns = NULL; ipcns_get() local
150 static void ipcns_put(struct ns_common *ns) ipcns_put() argument
157 struct ipc_namespace *ns = to_ipc_ns(new); ipcns_install() local
54 copy_ipcs(unsigned long flags, struct user_namespace *user_ns, struct ipc_namespace *ns) copy_ipcs() argument
H A Dutil.h28 static inline void mq_clear_sbinfo(struct ipc_namespace *ns) { } mq_put_mnt() argument
29 static inline void mq_put_mnt(struct ipc_namespace *ns) { } mq_put_mnt() argument
41 static inline void sem_init_ns(struct ipc_namespace *ns) { } msg_init_ns() argument
42 static inline void msg_init_ns(struct ipc_namespace *ns) { } shm_init_ns() argument
43 static inline void shm_init_ns(struct ipc_namespace *ns) { } shm_init_ns() argument
45 static inline void sem_exit_ns(struct ipc_namespace *ns) { } msg_exit_ns() argument
46 static inline void msg_exit_ns(struct ipc_namespace *ns) { } shm_exit_ns() argument
47 static inline void shm_exit_ns(struct ipc_namespace *ns) { } shm_exit_ns() argument
H A Dutil.c279 static int ipcget_new(struct ipc_namespace *ns, struct ipc_ids *ids, ipcget_new() argument
305 static int ipc_check_perms(struct ipc_namespace *ns, ipc_check_perms() argument
337 static int ipcget_public(struct ipc_namespace *ns, struct ipc_ids *ids, ipcget_public() argument
487 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) ipcperms() argument
640 int ipcget(struct ipc_namespace *ns, struct ipc_ids *ids, ipcget() argument
687 struct kern_ipc_perm *ipcctl_pre_down_nolock(struct ipc_namespace *ns, ipcctl_pre_down_nolock() argument
739 struct ipc_namespace *ns; member in struct:ipc_proc_iter
H A Dmsg.c77 static inline struct msg_queue *msq_obtain_object(struct ipc_namespace *ns, int id) msq_obtain_object() argument
87 static inline struct msg_queue *msq_obtain_object_check(struct ipc_namespace *ns, msq_obtain_object_check() argument
98 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) msg_rmid() argument
119 static int newque(struct ipc_namespace *ns, struct ipc_params *params) newque() argument
212 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) freeque() argument
243 struct ipc_namespace *ns; SYSCALL_DEFINE2() local
339 static int msgctl_down(struct ipc_namespace *ns, int msqid, int cmd, msgctl_down() argument
412 static int msgctl_nolock(struct ipc_namespace *ns, int msqid, msgctl_nolock() argument
525 struct ipc_namespace *ns; SYSCALL_DEFINE3() local
613 struct ipc_namespace *ns; do_msgsnd() local
828 struct ipc_namespace *ns; do_msgrcv() local
993 void msg_init_ns(struct ipc_namespace *ns) msg_init_ns() argument
1005 void msg_exit_ns(struct ipc_namespace *ns) msg_exit_ns() argument
H A Dmqueue.c112 struct ipc_namespace *ns; get_ns_from_inode() local
309 struct ipc_namespace *ns = data; mqueue_fill_super() local
331 struct ipc_namespace *ns = current->nsproxy->ipc_ns; mqueue_mount() local
1395 int mq_init_ns(struct ipc_namespace *ns) mq_init_ns() argument
1413 void mq_clear_sbinfo(struct ipc_namespace *ns) mq_clear_sbinfo() argument
1418 void mq_put_mnt(struct ipc_namespace *ns) mq_put_mnt() argument
H A Dsem.c173 void sem_init_ns(struct ipc_namespace *ns) sem_init_ns() argument
184 void sem_exit_ns(struct ipc_namespace *ns) sem_exit_ns() argument
398 static inline struct sem_array *sem_obtain_lock(struct ipc_namespace *ns, sem_obtain_lock() argument
421 static inline struct sem_array *sem_obtain_object(struct ipc_namespace *ns, int id) sem_obtain_object() argument
431 static inline struct sem_array *sem_obtain_object_check(struct ipc_namespace *ns, sem_obtain_object_check() argument
448 static inline void sem_rmid(struct ipc_namespace *ns, struct sem_array *s) sem_rmid() argument
494 static int newary(struct ipc_namespace *ns, struct ipc_params *params) newary() argument
584 struct ipc_namespace *ns; SYSCALL_DEFINE3() local
1087 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) freeary() argument
1178 static int semctl_nolock(struct ipc_namespace *ns, int semid, semctl_nolock() argument
1267 static int semctl_setval(struct ipc_namespace *ns, int semid, int semnum, semctl_setval() argument
1338 static int semctl_main(struct ipc_namespace *ns, int semid, int semnum, semctl_main() argument
1531 static int semctl_down(struct ipc_namespace *ns, int semid, semctl_down() argument
1590 struct ipc_namespace *ns; SYSCALL_DEFINE4() local
1688 static struct sem_undo *find_alloc_undo(struct ipc_namespace *ns, int semid) find_alloc_undo() argument
1803 struct ipc_namespace *ns; SYSCALL_DEFINE4() local
H A Dshm.c52 struct ipc_namespace *ns; member in struct:shm_file_data
75 void shm_init_ns(struct ipc_namespace *ns) shm_init_ns() argument
89 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) do_shm_rmid() argument
104 void shm_exit_ns(struct ipc_namespace *ns) shm_exit_ns() argument
130 static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id) shm_obtain_object() argument
140 static inline struct shmid_kernel *shm_obtain_object_check(struct ipc_namespace *ns, int id) shm_obtain_object_check() argument
154 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) shm_lock() argument
183 static inline void shm_rmid(struct ipc_namespace *ns, struct shmid_kernel *s) shm_rmid() argument
228 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) shm_destroy() argument
256 static bool shm_may_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) shm_may_destroy() argument
274 struct ipc_namespace *ns = sfd->ns; shm_close() local
301 struct ipc_namespace *ns = data; shm_try_destroy_orphaned() local
321 void shm_destroy_orphaned(struct ipc_namespace *ns) shm_destroy_orphaned() argument
332 struct ipc_namespace *ns = task->nsproxy->ipc_ns; exit_shm() local
517 static int newseg(struct ipc_namespace *ns, struct ipc_params *params) newseg() argument
654 struct ipc_namespace *ns; SYSCALL_DEFINE3() local
780 static void shm_get_stat(struct ipc_namespace *ns, unsigned long *rss, shm_get_stat() argument
811 static int shmctl_down(struct ipc_namespace *ns, int shmid, int cmd, shmctl_down() argument
867 static int shmctl_nolock(struct ipc_namespace *ns, int shmid, shmctl_nolock() argument
985 struct ipc_namespace *ns; SYSCALL_DEFINE3() local
1097 struct ipc_namespace *ns; do_shmat() local
/linux-4.1.27/arch/s390/include/asm/
H A Dtimex.h156 unsigned long long ns; tod_to_ns() local
/linux-4.1.27/kernel/sched/
H A Dstats.h256 account_group_exec_runtime(struct task_struct *tsk, unsigned long long ns) account_group_exec_runtime() argument
/linux-4.1.27/net/x25/
H A Dx25_in.c204 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) x25_state3_machine() argument
384 int queued = 0, frametype, ns, nr, q, d, m; x25_process_rx_frame() local
H A Dx25_subr.c270 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, x25_decode() argument
/linux-4.1.27/security/apparmor/
H A Dprocattr.c42 struct aa_namespace *ns = profile->ns; aa_getprocattr() local
H A Ddomain.c173 static struct aa_profile *find_attach(struct aa_namespace *ns, find_attach() argument
242 struct aa_namespace *ns = profile->ns; x_table_lookup() local
304 struct aa_namespace *ns = profile->ns; x_to_profile() local
341 struct aa_namespace *ns; apparmor_bprm_set_creds() local
752 struct aa_namespace *ns = NULL; aa_change_profile() local
95 change_profile_perms(struct aa_profile *profile, struct aa_namespace *ns, const char *name, u32 request, unsigned int start) change_profile_perms() argument
H A Dpolicy_unpack.c640 static int verify_header(struct aa_ext *e, int required, const char **ns) verify_header() argument
749 int aa_unpack(void *udata, size_t size, struct list_head *lh, const char **ns) aa_unpack() argument
H A Dapparmorfs.c477 void __aa_fs_namespace_rmdir(struct aa_namespace *ns) __aa_fs_namespace_rmdir() argument
501 int __aa_fs_namespace_mkdir(struct aa_namespace *ns, struct dentry *parent, __aa_fs_namespace_mkdir() argument
628 struct aa_namespace *ns = p->ns; __next_profile() local
714 struct aa_namespace *ns = f->private; p_next() local
730 struct aa_namespace *root = f->private, *ns; p_stop() local
569 __next_namespace(struct aa_namespace *root, struct aa_namespace *ns) __next_namespace() argument
605 __first_profile(struct aa_namespace *root, struct aa_namespace *ns) __first_profile() argument
H A Dpolicy.c277 struct aa_namespace *ns; alloc_namespace() local
319 static void free_namespace(struct aa_namespace *ns) free_namespace() argument
360 struct aa_namespace *ns = NULL; aa_find_namespace() local
377 struct aa_namespace *ns, *root; aa_prepare_namespace() local
488 static void destroy_namespace(struct aa_namespace *ns) destroy_namespace() argument
512 static void __remove_namespace(struct aa_namespace *ns) __remove_namespace() argument
528 struct aa_namespace *ns, *tmp; __ns_list_release() local
555 struct aa_namespace *ns = root_ns; aa_free_root_ns() local
789 static struct aa_policy *__lookup_parent(struct aa_namespace *ns, __lookup_parent() argument
852 struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *hname) aa_lookup_profile() argument
1040 static int __lookup_replace(struct aa_namespace *ns, const char *hname, __lookup_replace() argument
1071 struct aa_namespace *ns = NULL; aa_replace_profiles() local
1242 struct aa_namespace *root, *ns = NULL; aa_remove_profiles() local
H A Dlsm.c139 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, apparmor_capable() argument
/linux-4.1.27/tools/testing/selftests/timers/
H A Dmqueue-lat.c59 struct timespec timespec_add(struct timespec ts, unsigned long long ns) timespec_add() argument
H A Dleap-a-day.c78 struct timespec timespec_add(struct timespec ts, unsigned long long ns) timespec_add() argument
H A Dnanosleep.c101 struct timespec timespec_add(struct timespec ts, unsigned long long ns) timespec_add() argument
111 int nanosleep_test(int clockid, long long ns) nanosleep_test() argument
H A Dnsleep-lat.c90 struct timespec timespec_add(struct timespec ts, unsigned long long ns) timespec_add() argument
109 int nanosleep_lat_test(int clockid, long long ns) nanosleep_lat_test() argument
H A Draw_skew.c63 struct timespec nsec_to_ts(long long ns) nsec_to_ts() argument
/linux-4.1.27/drivers/misc/
H A Dioc4.c208 u64 ns = period; ioc4_clock_calibrate() local
/linux-4.1.27/drivers/spi/
H A Dspi-bitbang.c59 bitbang_txrx_8( struct spi_device *spi, u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits), unsigned ns, struct spi_transfer *t ) bitbang_txrx_8() argument
85 bitbang_txrx_16( struct spi_device *spi, u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits), unsigned ns, struct spi_transfer *t ) bitbang_txrx_16() argument
111 bitbang_txrx_32( struct spi_device *spi, u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits), unsigned ns, struct spi_transfer *t ) bitbang_txrx_32() argument
/linux-4.1.27/drivers/ssb/
H A Ddriver_extif.c86 void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) ssb_extif_timing_init() argument
H A Ddriver_mipscore.c296 unsigned long hz, ns; ssb_mipscore_init() local
H A Ddriver_chipcommon.c434 ssb_chipco_timing_init(struct ssb_chipcommon *cc, unsigned long ns) ssb_chipco_timing_init() argument
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Ddt2814.c103 static int dt2814_ns_to_timer(unsigned int *ns, unsigned int flags) dt2814_ns_to_timer() argument
H A Dcomedi_8254.c376 unsigned int ns; comedi_8254_cascade_ns_to_timer() local
H A Daddi_apci_3xxx.c469 apci3xxx_ai_ns_to_timer(struct comedi_device *dev, unsigned int *ns, unsigned int flags) apci3xxx_ai_ns_to_timer() argument
H A Dni_labpc_common.c300 labpc_set_ai_convert_period(struct comedi_cmd *cmd, enum scan_mode mode, unsigned int ns) labpc_set_ai_convert_period() argument
328 labpc_set_ai_scan_period(struct comedi_cmd *cmd, enum scan_mode mode, unsigned int ns) labpc_set_ai_scan_period() argument
H A Daddi_apci_3120.c275 apci3120_ns_to_timer(struct comedi_device *dev, unsigned int timer, unsigned int ns, unsigned int flags) apci3120_ns_to_timer() argument
H A Ddas16.c690 static unsigned int das16_set_pacer(struct comedi_device *dev, unsigned int ns, das16_set_pacer() argument
H A Ddt282x.c363 static unsigned int dt282x_ns_to_timer(unsigned int *ns, unsigned int flags) dt282x_ns_to_timer() argument
H A Dquatech_daqp_cs.c341 static int daqp_ns_to_timer(unsigned int *ns, unsigned int flags) daqp_ns_to_timer() argument
/linux-4.1.27/drivers/of/
H A Dfdt_address.c170 int na, ns, pna, pns; fdt_translate_address() local
71 fdt_bus_default_map(__be32 *addr, const __be32 *range, int na, int ns, int pna) fdt_bus_default_map() argument
110 fdt_translate_one(const void *blob, int parent, const struct of_bus *bus, const struct of_bus *pbus, __be32 *addr, int na, int ns, int pna, const char *rprop) fdt_translate_one() argument
H A Daddress.c140 static u64 of_bus_pci_map(__be32 *addr, const __be32 *range, int na, int ns, of_bus_pci_map() argument
181 int onesize, i, na, ns; of_get_pci_address() local
235 const int na = 3, ns = 2; of_pci_range_parser_init() local
255 const int na = 3, ns = 2; of_pci_range_parser_one() local
363 static u64 of_bus_isa_map(__be32 *addr, const __be32 *range, int na, int ns, of_bus_isa_map() argument
549 int na, ns, pna, pns; __of_translate_address() local
638 int onesize, i, na, ns; of_get_address() local
61 of_bus_default_map(__be32 *addr, const __be32 *range, int na, int ns, int pna) of_bus_default_map() argument
473 of_translate_one(struct device_node *parent, struct of_bus *bus, struct of_bus *pbus, __be32 *addr, int na, int ns, int pna, const char *rprop) of_translate_one() argument
/linux-4.1.27/arch/x86/vdso/
H A Dvclock_gettime.c233 u64 ns; do_realtime() local
254 u64 ns; do_monotonic() local
/linux-4.1.27/arch/sparc/kernel/
H A Dof_device_common.c111 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna) of_bus_default_map() argument
95 of_out_of_range(const u32 *addr, const u32 *base, const u32 *size, int na, int ns) of_out_of_range() argument
H A Dof_device_32.c249 int na, ns; build_device_resources() local
48 of_bus_pci_map(u32 *addr, const u32 *range, int na, int ns, int pna) of_bus_pci_map() argument
120 of_bus_ambapp_map(u32 *addr, const u32 *range, int na, int ns, int pna) of_bus_ambapp_map() argument
186 build_one_resource(struct device_node *parent, struct of_bus *bus, struct of_bus *pbus, u32 *addr, int na, int ns, int pna) build_one_resource() argument
H A Dof_device_64.c319 int na, ns; build_device_resources() local
86 of_bus_simba_map(u32 *addr, const u32 *range, int na, int ns, int pna) of_bus_simba_map() argument
101 of_bus_pci_map(u32 *addr, const u32 *range, int na, int ns, int pna) of_bus_pci_map() argument
240 build_one_resource(struct device_node *parent, struct of_bus *bus, struct of_bus *pbus, u32 *addr, int na, int ns, int pna) build_one_resource() argument
/linux-4.1.27/arch/mips/cavium-octeon/
H A Dcsrc-octeon.c152 void __ndelay(unsigned long ns) __ndelay() argument
/linux-4.1.27/fs/
H A Dnsfs.c27 struct ns_common *ns = inode->i_private; ns_prune_dentry() local
41 struct ns_common *ns = inode->i_private; nsfs_evict() local
53 struct ns_common *ns; ns_get_path() local
111 struct ns_common *ns; ns_get_name() local
H A Dproc_namespace.c21 struct mnt_namespace *ns = p->ns; mounts_poll() local
238 struct mnt_namespace *ns = NULL; mounts_open_common() local
H A Dpnode.c32 get_peer_under_root(struct mount *mnt, struct mnt_namespace *ns, const struct path *root) get_peer_under_root() argument
H A Dmount.h9 struct ns_common ns; member in struct:mnt_namespace
102 static inline void get_mnt_ns(struct mnt_namespace *ns) get_mnt_ns() argument
121 struct mnt_namespace *ns; member in struct:proc_mounts
H A Dinode.c1903 struct user_namespace *ns; inode_owner_or_capable() local
/linux-4.1.27/net/llc/
H A Dllc_pdu.c107 void llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr) llc_pdu_init_as_i_cmd() argument
H A Dllc_c_ev.c59 static u16 llc_util_ns_inside_rx_window(u8 ns, u8 vr, u8 rw) llc_util_ns_inside_rx_window() argument
201 const u8 ns = LLC_I_GET_NS(pdu); llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns() local
213 const u8 ns = LLC_I_GET_NS(pdu); llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns() local
225 const u8 ns = LLC_I_GET_NS(pdu); llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns() local
268 const u8 ns = LLC_I_GET_NS(pdu); llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns() local
280 const u8 ns = LLC_I_GET_NS(pdu); llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns() local
292 const u8 ns = LLC_I_GET_NS(pdu); llc_conn_ev_rx_i_rsp_fbit_set_x_unexpd_ns() local
303 const u8 ns = LLC_I_GET_NS(pdu); llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns() local
/linux-4.1.27/security/selinux/
H A Dnetif.c56 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) sel_netif_hashfn() argument
71 static inline struct sel_netif *sel_netif_find(const struct net *ns, sel_netif_find() argument
136 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) sel_netif_sid_slow() argument
203 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) sel_netif_sid() argument
229 static void sel_netif_kill(const struct net *ns, int ifindex) sel_netif_kill() argument
/linux-4.1.27/sound/drivers/pcsp/
H A Dpcsp_lib.c46 u64 ns; pcsp_timer_update() local
132 u64 ns; pcsp_do_timer() local
/linux-4.1.27/drivers/mtd/nand/bcm47xxnflash/
H A Dops_bcm4706.c42 static inline u8 bcm47xxnflash_ops_bcm4706_ns_to_cycle(u16 ns, u16 clock) bcm47xxnflash_ops_bcm4706_ns_to_cycle() argument
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ptp.c145 s64 ns = ktime_to_ns(ktime_get_real()); fm10k_ts_reset() local
310 u64 ns = timespec64_to_ns(ts); fm10k_ptp_settime() local
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c64 u64 ns; i40e_ptp_read() local
87 u64 ns = timespec64_to_ns(ts); i40e_ptp_write() local
311 u64 ns; i40e_ptp_tx_hwtstamp() local
348 u64 ns; i40e_ptp_rx_hwtstamp() local
368 i40e_ptp_convert_to_hwtstamp(skb_hwtstamps(skb), ns); i40e_ptp_rx_hwtstamp() local
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c173 u64 ns; mlx4_en_phc_gettime() local
197 u64 ns = timespec64_to_ns(ts); mlx4_en_phc_settime() local
261 u64 ns, zero = 0; mlx4_en_init_timestamp() local
/linux-4.1.27/drivers/memory/
H A Djz4780-nemc.c149 static uint32_t jz4780_nemc_ns_to_cycles(struct jz4780_nemc *nemc, uint32_t ns) jz4780_nemc_ns_to_cycles() argument
/linux-4.1.27/drivers/net/ethernet/ti/
H A Dcpts.c172 u64 ns; cpts_ptp_gettime() local
188 u64 ns; cpts_ptp_settime() local
288 u64 ns = 0; cpts_find_ts() local
325 u64 ns; cpts_rx_timestamp() local
340 u64 ns; cpts_tx_timestamp() local
/linux-4.1.27/drivers/ptp/
H A Dptp_ixp46x.c56 u64 ns; ixp_systime_read() local
69 static void ixp_systime_write(struct ixp46x_ts_regs *regs, u64 ns) ixp_systime_write() argument
180 u64 ns; ptp_ixp_gettime() local
200 u64 ns; ptp_ixp_settime() local
H A Dptp_pch.c159 u64 ns; pch_systime_read() local
172 static void pch_systime_write(struct pch_ts_regs __iomem *regs, u64 ns) pch_systime_write() argument
257 u64 ns; pch_rx_snap_read() local
274 u64 ns; pch_tx_snap_read() local
454 u64 ns; ptp_pch_gettime() local
472 u64 ns; ptp_pch_settime() local
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_internal.h88 static inline int ldlm_ns_empty(struct ldlm_namespace *ns) ldlm_ns_empty() argument
H A Dldlm_flock.c250 struct ldlm_namespace *ns = ldlm_res_to_ns(res); ldlm_process_flock_lock() local
H A Dldlm_lockd.c142 void ldlm_handle_bl_callback(struct ldlm_namespace *ns, ldlm_handle_bl_callback() argument
439 static int ldlm_bl_to_thread(struct ldlm_namespace *ns, ldlm_bl_to_thread() argument
470 int ldlm_bl_to_thread_lock(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, ldlm_bl_to_thread_lock() argument
476 int ldlm_bl_to_thread_list(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, ldlm_bl_to_thread_list() argument
560 struct ldlm_namespace *ns; ldlm_callback_handler() local
180 ldlm_handle_cp_callback(struct ptlrpc_request *req, struct ldlm_namespace *ns, struct ldlm_request *dlm_req, struct ldlm_lock *lock) ldlm_handle_cp_callback() argument
329 ldlm_handle_gl_callback(struct ptlrpc_request *req, struct ldlm_namespace *ns, struct ldlm_request *dlm_req, struct ldlm_lock *lock) ldlm_handle_gl_callback() argument
404 init_blwi(struct ldlm_bl_work_item *blwi, struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, struct list_head *cancels, int count, struct ldlm_lock *lock, ldlm_cancel_flags_t cancel_flags) init_blwi() argument
H A Dldlm_lock.c155 void ldlm_register_intent(struct ldlm_namespace *ns, ldlm_res_policy arg) ldlm_register_intent() argument
229 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_remove_from_lru_nolock() local
245 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_remove_from_lru() local
264 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_add_to_lru_nolock() local
282 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_add_to_lru() local
295 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_touch_in_lru() local
484 int ldlm_lock_change_resource(struct ldlm_namespace *ns, struct ldlm_lock *lock, ldlm_lock_change_resource() argument
792 struct ldlm_namespace *ns; ldlm_lock_decref_internal() local
1225 ldlm_mode_t ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags, ldlm_lock_match() argument
1490 struct ldlm_lock *ldlm_lock_create(struct ldlm_namespace *ns, ldlm_lock_create() argument
1557 ldlm_error_t ldlm_lock_enqueue(struct ldlm_namespace *ns, ldlm_lock_enqueue() argument
1805 int ldlm_run_ast_work(struct ldlm_namespace *ns, struct list_head *rpc_list, ldlm_run_ast_work() argument
1885 void ldlm_reprocess_all_ns(struct ldlm_namespace *ns) ldlm_reprocess_all_ns() argument
1952 struct ldlm_namespace *ns; ldlm_lock_cancel() local
2106 struct ldlm_namespace *ns; ldlm_lock_convert() local
H A Dldlm_pool.c531 struct ldlm_namespace *ns; ldlm_cli_pool_shrink() local
743 struct ldlm_namespace *ns = ldlm_pl2ns(pl); ldlm_pool_proc_init() local
855 int ldlm_pool_init(struct ldlm_pool *pl, struct ldlm_namespace *ns, ldlm_pool_init() argument
1057 struct ldlm_namespace *ns; ldlm_pools_count() local
1111 struct ldlm_namespace *ns; ldlm_pools_scan() local
1185 struct ldlm_namespace *ns; ldlm_pools_recalc() local
H A Dldlm_resource.c159 struct ldlm_namespace *ns = m->private; lprocfs_ns_resources_seq_show() local
173 struct ldlm_namespace *ns = m->private; lprocfs_ns_locks_seq_show() local
184 struct ldlm_namespace *ns = m->private; lprocfs_lru_size_seq_show() local
196 struct ldlm_namespace *ns = ((struct seq_file *)file->private_data)->private; lprocfs_lru_size_seq_write() local
284 struct ldlm_namespace *ns = m->private; lprocfs_elc_seq_show() local
294 struct ldlm_namespace *ns = ((struct seq_file *)file->private_data)->private; lprocfs_elc_seq_write() local
310 void ldlm_namespace_proc_unregister(struct ldlm_namespace *ns) ldlm_namespace_proc_unregister() argument
330 int ldlm_namespace_proc_register(struct ldlm_namespace *ns) ldlm_namespace_proc_register() argument
567 struct ldlm_namespace *ns = NULL; ldlm_namespace_new() local
784 int ldlm_namespace_cleanup(struct ldlm_namespace *ns, __u64 flags) ldlm_namespace_cleanup() argument
802 static int __ldlm_namespace_free(struct ldlm_namespace *ns, int force) __ldlm_namespace_free() argument
852 void ldlm_namespace_free_prior(struct ldlm_namespace *ns, ldlm_namespace_free_prior() argument
889 void ldlm_namespace_free_post(struct ldlm_namespace *ns) ldlm_namespace_free_post() argument
929 void ldlm_namespace_free(struct ldlm_namespace *ns, ldlm_namespace_free() argument
938 void ldlm_namespace_get(struct ldlm_namespace *ns) ldlm_namespace_get() argument
945 int ldlm_namespace_get_return(struct ldlm_namespace *ns) ldlm_namespace_get_return() argument
950 void ldlm_namespace_put(struct ldlm_namespace *ns) ldlm_namespace_put() argument
960 void ldlm_namespace_register(struct ldlm_namespace *ns, ldlm_side_t client) ldlm_namespace_register() argument
970 void ldlm_namespace_unregister(struct ldlm_namespace *ns, ldlm_side_t client) ldlm_namespace_unregister() argument
983 void ldlm_namespace_move_to_active_locked(struct ldlm_namespace *ns, ldlm_namespace_move_to_active_locked() argument
992 void ldlm_namespace_move_to_inactive_locked(struct ldlm_namespace *ns, ldlm_namespace_move_to_inactive_locked() argument
1050 ldlm_resource_get(struct ldlm_namespace *ns, struct ldlm_resource *parent, ldlm_resource_get() argument
1208 struct ldlm_namespace *ns = ldlm_res_to_ns(res); ldlm_resource_putref() local
1231 struct ldlm_namespace *ns = ldlm_res_to_ns(res); ldlm_resource_putref_locked() local
1338 struct ldlm_namespace *ns; list_for_each() local
1365 void ldlm_namespace_dump(int level, struct ldlm_namespace *ns) ldlm_namespace_dump() argument
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
H A Dmdc_reint.c73 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; mdc_resource_get_unused() local
H A Dmdc_locks.c192 struct ldlm_namespace *ns = class_exp2obd(exp)->obd_namespace; mdc_null_inode() local
/linux-4.1.27/drivers/pcmcia/
H A Di82092.c284 static int to_cycles(int ns) to_cycles() argument
H A Dtcic.c190 static int to_cycles(int ns) to_cycles() argument
H A Dcistpl.c767 int i, j, ns; parse_strings() local
H A Di82365.c448 static u_int __init set_bridge_opts(u_short s, u_short ns) set_bridge_opts() argument
565 static int to_cycles(int ns) to_cycles() argument
673 static void __init add_pcic(int ns, int type) add_pcic() argument
755 int i, j, sock, k, ns, id; isa_probe() local
/linux-4.1.27/drivers/gpu/drm/i915/
H A Ddvo_ns2501.c379 struct ns2501_priv *ns = dvo->dev_priv; ns2501_readb() local
424 struct ns2501_priv *ns = dvo->dev_priv; ns2501_writeb() local
460 struct ns2501_priv *ns; ns2501_init() local
537 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); ns2501_mode_set() local
577 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); ns2501_dpms() local
615 struct ns2501_priv *ns = dvo->dev_priv; ns2501_destroy() local
/linux-4.1.27/drivers/cpufreq/
H A Dsa1110-cpufreq.c125 static inline u_int ns_to_cycles(u_int ns, u_int khz) ns_to_cycles() argument
/linux-4.1.27/drivers/devfreq/exynos/
H A Dexynos_ppmu.h66 unsigned long long ns; member in struct:exynos_ppmu
/linux-4.1.27/arch/tile/include/arch/
H A Dmpipe_shm.h61 uint_reg_t ns : 1; member in struct:__anon2765::__anon2766
/linux-4.1.27/drivers/base/
H A Dclass.c89 class_create_file_ns(struct class *cls, const struct class_attribute *attr, const void *ns) class_create_file_ns() argument
102 class_remove_file_ns(struct class *cls, const struct class_attribute *attr, const void *ns) class_remove_file_ns() argument
/linux-4.1.27/fs/ntfs/
H A Dunistr.c340 unsigned char *ns; ntfs_ucstonls() local
/linux-4.1.27/include/net/
H A Dcodel.h69 u64 ns = ktime_get_ns(); codel_get_time() local
H A Dlapb.h72 unsigned short nr, ns; /* N(R), N(S) */ member in struct:lapb_frame
H A Dnet_namespace.h63 struct ns_common ns; member in struct:net
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Dtime.c62 unsigned long ns; get_ns_in_jiffie() local
/linux-4.1.27/lib/
H A Dkobject_uevent.c103 const void *sock_ns, *ns; kobj_bcast_filter() local
120 const void *init_ns, *ns; kobj_usermode_filter() local
H A Dkobject.c1010 void *ns = NULL; kobj_ns_grab_current() local
1023 const void *ns = NULL; kobj_ns_netlink() local
1036 const void *ns = NULL; kobj_ns_initial() local
1047 void kobj_ns_drop(enum kobj_ns_type type, void *ns) kobj_ns_drop() argument
/linux-4.1.27/security/selinux/include/
H A Dobjsec.h82 struct net *ns; /* network namespace */ member in struct:netif_security_struct
/linux-4.1.27/security/tomoyo/
H A Daudit.c321 static bool tomoyo_get_audit(const struct tomoyo_policy_namespace *ns, tomoyo_get_audit() argument
H A Ddomain.c425 struct tomoyo_policy_namespace *ns; tomoyo_find_namespace() local
331 tomoyo_transition_type(const struct tomoyo_policy_namespace *ns, const struct tomoyo_path_info *domainname, const struct tomoyo_path_info *program) tomoyo_transition_type() argument
H A Dgc.c514 struct tomoyo_policy_namespace *ns; tomoyo_collect_entry() local
H A Dutil.c975 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, tomoyo_get_mode() argument
/linux-4.1.27/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c255 unsigned long s, ns; perl_process_tracepoint() local
/linux-4.1.27/virt/kvm/arm/
H A Darch_timer.c46 static void timer_arm(struct arch_timer_cpu *timer, u64 ns) timer_arm() argument
166 u64 ns; kvm_timer_sync_hwstate() local
/linux-4.1.27/drivers/isdn/capi/
H A Dcapiutil.c582 size_t ns = 2 * cdb->size; bufprint() local
/linux-4.1.27/drivers/mmc/host/
H A Dmxs-mmc.c335 static unsigned short mxs_ns_to_ssp_ticks(unsigned clock_rate, unsigned ns) mxs_ns_to_ssp_ticks() argument
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c124 u64 ns = 0, clock_edge = 0; ixgbe_ptp_setup_sdp() local
286 u64 ns; ixgbe_ptp_gettime() local
311 u64 ns; ixgbe_ptp_settime() local
464 u64 regval = 0, ns; ixgbe_ptp_tx_hwtstamp() local
529 u64 regval = 0, ns; ixgbe_ptp_rx_hwtstamp() local
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_desc.c468 u64 ns; sxgbe_get_rx_timestamp() local
/linux-4.1.27/drivers/clk/qcom/
H A Dclk-rcg.c26 static u32 ns_to_src(struct src_sel *s, u32 ns) ns_to_src() argument
33 static u32 src_to_ns(struct src_sel *s, u8 src, u32 ns) src_to_ns() argument
49 u32 ns; clk_rcg_get_parent() local
76 u32 ns, reg; clk_dyn_rcg_get_parent() local
105 u32 ns; clk_rcg_set_parent() local
121 static u32 ns_to_pre_div(struct pre_div *p, u32 ns) ns_to_pre_div() argument
128 static u32 pre_div_to_ns(struct pre_div *p, u8 pre_div, u32 ns) pre_div_to_ns() argument
157 static u32 ns_m_to_n(struct mn *mn, u32 ns, u32 m) ns_m_to_n() argument
171 static u32 mn_to_ns(struct mn *mn, u32 m, u32 n, u32 ns) mn_to_ns() argument
208 u32 ns, md, reg; configure_bank() local
302 u32 ns, md, reg; clk_dyn_rcg_set_parent() local
353 u32 pre_div, m = 0, n = 0, ns, md, mode = 0; clk_rcg_recalc_rate() local
378 u32 m, n, pre_div, ns, md, mode, reg; clk_dyn_rcg_recalc_rate() local
489 u32 ns, md, ctl; __clk_rcg_set_rate() local
/linux-4.1.27/drivers/ata/
H A Dpata_at91.c178 static unsigned long calc_mck_cycles(unsigned long ns, unsigned long mck_hz) calc_mck_cycles() argument
/linux-4.1.27/net/irda/
H A Dirlap.c714 int irlap_validate_ns_received(struct irlap_cb *self, int ns) irlap_validate_ns_received() argument
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dfec_ptp.c116 u64 ns; fec_ptp_enable_pps() local
397 u64 ns; fec_ptp_gettime() local
423 u64 ns; fec_ptp_settime() local
545 u64 ns; fec_time_keep() local
H A Dgianfar_ptp.c159 u64 ns; tmr_cnt_read() local
170 static void tmr_cnt_write(struct etsects *etsects, u64 ns) tmr_cnt_write() argument
182 u64 ns; set_alarm() local
210 u64 ns; isr() local
328 u64 ns; ptp_gianfar_gettime() local
346 u64 ns; ptp_gianfar_settime() local
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c171 u64 ns; igb_ptp_systim_to_hwtstamp() local
292 u64 ns; igb_ptp_gettime_82576() local
327 u64 ns; igb_ptp_settime_82576() local
470 s64 ns; igb_ptp_feature_enable_i210() local
/linux-4.1.27/drivers/net/
H A Dsb1000.c748 int ioaddr, ns; sb1000_rx() local
/linux-4.1.27/drivers/ps3/
H A Dps3av_cmd.c513 static void ps3av_cnv_ns(u8 *ns, u32 fs, u32 video_vid) ps3av_cnv_ns() argument
/linux-4.1.27/drivers/pci/host/
H A Dpci-xgene.c393 const int na = 3, ns = 2; pci_dma_range_parser_init() local
H A Dpcie-designware.c352 u32 val, na, ns; dw_pcie_host_init() local
H A Dpcie-rcar.c855 const int na = 3, ns = 2; pci_dma_range_parser_init() local
/linux-4.1.27/drivers/pci/
H A Dxen-pcifront.c119 s64 ns, ns_timeout; do_pci_op() local
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_state.c37 union drbd_state ns; member in struct:after_state_chg_work
253 union drbd_state ns; apply_mask_val() local
263 union drbd_state ns; drbd_change_state() local
290 union drbd_state os, ns; _req_st_cond() local
338 union drbd_state os, ns; drbd_req_state() local
441 static void print_st(struct drbd_device *device, const char *name, union drbd_state ns) print_st() argument
469 static long print_state_change(char *pb, union drbd_state os, union drbd_state ns, print_state_change() argument
500 static void drbd_pr_state_change(struct drbd_device *device, union drbd_state os, union drbd_state ns, drbd_pr_state_change() argument
525 static void conn_pr_state_change(struct drbd_connection *connection, union drbd_state os, union drbd_state ns, conn_pr_state_change() argument
549 is_valid_state(struct drbd_device *device, union drbd_state ns) is_valid_state() argument
637 is_valid_soft_transition(union drbd_state os, union drbd_state ns, struct drbd_connection *connection) is_valid_soft_transition() argument
730 is_valid_transition(union drbd_state os, union drbd_state ns) is_valid_transition() argument
977 __drbd_set_state(struct drbd_device *device, union drbd_state ns, __drbd_set_state() argument
1687 union drbd_state ns, os; conn_is_valid_transition() local
1729 union drbd_state ns, os, ns_max = { }; conn_set_state() local
237 cl_wide_st_chg(struct drbd_device *device, union drbd_state os, union drbd_state ns) cl_wide_st_chg() argument
459 print_st_err(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum drbd_state_rv err) print_st_err() argument
768 sanitize_state(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum sanitize_state_warnings *warn) sanitize_state() argument
1255 after_state_ch(struct drbd_device *device, union drbd_state os, union drbd_state ns, enum chg_state_flags flags) after_state_ch() argument
/linux-4.1.27/fs/ocfs2/cluster/
H A Dnodemanager.c806 struct o2nm_node_group *ns = NULL; o2nm_cluster_group_make_group() local
/linux-4.1.27/fs/lockd/
H A Dmon.c320 s64 ns; nsm_init_private() local
/linux-4.1.27/include/net/irda/
H A Dirlap.h108 __u8 ns; /* Sequence number of frame sent */ member in struct:irlap_info
/linux-4.1.27/arch/powerpc/kernel/
H A Dsysfs.c93 static unsigned int get_idle_ticks_bit(u64 ns) get_idle_ticks_bit() argument
/linux-4.1.27/net/core/
H A Dnet_namespace.c306 struct net *ns = p; net_drop_ns() local
424 struct ns_common *ns; get_net_ns_by_fd() local
935 static inline struct net *to_net_ns(struct ns_common *ns) to_net_ns() argument
940 static void netns_put(struct ns_common *ns) netns_put() argument
945 static int netns_install(struct nsproxy *nsproxy, struct ns_common *ns) netns_install() argument
/linux-4.1.27/net/l2tp/
H A Dl2tp_core.h103 u32 ns; /* session NR state (send) */ member in struct:l2tp_session
H A Dl2tp_core.c95 u32 ns; member in struct:l2tp_skb_cb
379 u32 ns = L2TP_SKB_CB(skb)->ns; l2tp_recv_queue_skb() local
643 u32 ns, nr; l2tp_recv_common() local
/linux-4.1.27/net/atm/
H A Dclip.c780 struct neigh_seq_state ns; member in struct:clip_seq_state
/linux-4.1.27/net/nfc/hci/
H A Dllc_shdlc.c60 int ns; /* next seq num for send */ member in struct:llc_shdlc
475 int ns; llc_shdlc_handle_rcv_queue() local
516 static int llc_shdlc_w_used(int ns, int dnr) llc_shdlc_w_used() argument
234 llc_shdlc_rcv_i_frame(struct llc_shdlc *shdlc, struct sk_buff *skb, int ns, int nr) llc_shdlc_rcv_i_frame() argument
/linux-4.1.27/net/tipc/
H A Dname_table.c459 struct name_seq *ns; nametbl_find_seq() local
/linux-4.1.27/scripts/genksyms/
H A Dgenksyms.c166 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) find_symbol() argument
/linux-4.1.27/security/apparmor/include/
H A Dpolicy.h204 struct aa_namespace *ns; member in struct:aa_profile
378 static inline struct aa_namespace *aa_get_namespace(struct aa_namespace *ns) aa_get_namespace() argument
392 static inline void aa_put_namespace(struct aa_namespace *ns) aa_put_namespace() argument
/linux-4.1.27/security/
H A Dcommoncap.c79 struct user_namespace *ns = targ_ns; cap_capable() local
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-axxia.c126 static u32 ns_to_clk(u64 ns, u32 clk_mhz) ns_to_clk() argument
/linux-4.1.27/drivers/media/i2c/
H A Dmt9m032.c184 u32 ns; mt9m032_row_time() local
188 dev_dbg(to_dev(sensor), "MT9M032 line time: %u ns\n", ns); mt9m032_row_time() local
/linux-4.1.27/drivers/staging/gdm724x/
H A Dgdm_lte.c237 struct neighbour_solicitation *ns; gdm_lte_emulate_ndp() local
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dapi-ni.c1607 lnet_ni_status_t *ns = &pinfo->pi_ni[i]; lnet_create_ping_info() local
/linux-4.1.27/drivers/staging/lustre/lustre/mgc/
H A Dmgc_request.c1082 struct ldlm_namespace *ns = obd->obd_namespace; mgc_import_event() local
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dobd_config.c1909 struct nid_stat *ns; nidstats_key() local
1931 struct nid_stat *ns; nidstats_get() local
1940 struct nid_stat *ns; nidstats_put_locked() local
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
H A Dcxgb2.c299 struct net_device_stats *ns = &p->netstats; t1_get_stats() local
/linux-4.1.27/drivers/clk/st/
H A Dclkgen-fsyn.c800 unsigned long ns; clk_fs216c65_get_rate() local
823 unsigned long ns; clk_fs432c65_get_rate() local
842 unsigned long ns; clk_fs660c32_dig_get_rate() local
/linux-4.1.27/arch/x86/kernel/
H A Dtsc.c204 unsigned long long ns; cycles_2_ns() local
/linux-4.1.27/arch/tile/kernel/
H A Dhardwall.c945 int proc_pid_hardwall(struct seq_file *m, struct pid_namespace *ns, proc_pid_hardwall() argument
/linux-4.1.27/drivers/block/aoe/
H A Daoecmd.c980 ata_ident_fixstring(u16 *id, int ns) ata_ident_fixstring() argument
/linux-4.1.27/arch/mips/include/asm/lasat/
H A Dlasat.h237 static inline void lasat_ndelay(unsigned int ns) lasat_ndelay() argument
/linux-4.1.27/fs/ncpfs/
H A Ddir.c96 int ns = ncp_namespace(i); ncp_preserve_entry_case() local
H A Dncplib_kernel.c528 int ns = ncp_get_known_namespace(server, volume); ncp_update_known_namespace() local
453 ncp_obtain_DOS_dir_base(struct ncp_server *server, __u8 ns, __u8 volnum, __le32 dirent, const char *path, __le32 *DOS_dir_base) ncp_obtain_DOS_dir_base() argument
708 ncp_DeleteNSEntry(struct ncp_server *server, __u8 have_dir_base, __u8 volnum, __le32 dirent, const char* name, __u8 ns, __le16 attr) ncp_DeleteNSEntry() argument
/linux-4.1.27/include/linux/ssb/
H A Dssb_driver_extif.h211 void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) ssb_extif_timing_init() argument
/linux-4.1.27/arch/powerpc/include/asm/
H A Deeh.h426 eeh_readsb(const volatile void __iomem *addr, void * buf, int ns) eeh_readsb() argument
434 eeh_readsw(const volatile void __iomem *addr, void * buf, int ns) eeh_readsw() argument
/linux-4.1.27/net/nfc/
H A Dllcp_core.c1029 u8 dsap, ssap, ptype, ns, nr; nfc_llcp_recv_hdlc() local

Completed in 4232 milliseconds

12