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

12

/linux-4.4.14/arch/mips/lib/
H A Ddelay.c58 void __ndelay(unsigned long ns) __ndelay() argument
/linux-4.4.14/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.4.14/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.4.14/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.c908 __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.c208 static unsigned int kernfs_name_hash(const char *name, const void *ns) kernfs_name_hash() argument
852 const void *ns = NULL; kernfs_iop_lookup() local
1382 static struct kernfs_node *kernfs_dir_pos(const void *ns, kernfs_dir_pos() argument
1416 static struct kernfs_node *kernfs_dir_next_pos(const void *ns, kernfs_dir_next_pos() argument
1437 const void *ns = NULL; kernfs_fop_readdir() local
224 kernfs_name_compare(unsigned int hash, const char *name, const void *ns, const struct kernfs_node *kn) kernfs_name_compare() argument
664 kernfs_find_ns(struct kernfs_node *parent, const unsigned char *name, const void *ns) kernfs_find_ns() argument
707 kernfs_find_and_get_ns(struct kernfs_node *parent, const char *name, const void *ns) kernfs_find_and_get_ns() argument
787 kernfs_create_dir_ns(struct kernfs_node *parent, const char *name, umode_t mode, void *priv, const void *ns) kernfs_create_dir_ns() argument
1269 kernfs_remove_by_name_ns(struct kernfs_node *parent, const char *name, const void *ns) kernfs_remove_by_name_ns() argument
/linux-4.4.14/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.4.14/fs/sysfs/
H A Dmount.c30 void *ns; sysfs_mount() local
52 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.c240 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
321 sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) sysfs_create_file_ns() argument
410 sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) sysfs_remove_file_ns() argument
/linux-4.4.14/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 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.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 Dtime.h233 static __always_inline void timespec_add_ns(struct timespec *a, u64 ns) timespec_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 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 Dktime.h178 s64 ns = kt.tv64; ktime_divns() local
H A Dtime64.h219 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) timespec64_add_ns() argument
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 Dptrace.h175 struct pid_namespace *ns; ptrace_event_pid() local
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 Dsysfs.h296 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) sysfs_create_dir_ns() argument
329 sysfs_create_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) sysfs_create_file_ns() argument
348 sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, const void *ns) sysfs_remove_file_ns() argument
393 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.h241 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) hrtimer_add_expires_ns() argument
/linux-4.4.14/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.4.14/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.4.14/arch/cris/arch-v10/kernel/
H A Dtime.c31 unsigned long ns; get_ns_in_jiffie() local
/linux-4.4.14/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.4.14/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.4.14/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
500 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) pid_nr_ns() argument
539 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) task_tgid_nr_ns() argument
556 struct pid *find_ge_pid(int nr, struct pid_namespace *ns) find_ge_pid() argument
520 __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.c62 struct user_namespace *ns, *parent_ns = new->user_ns; create_user_ns() local
138 void free_user_ns(struct user_namespace *ns) free_user_ns() argument
239 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) make_kuid() argument
307 kgid_t make_kgid(struct user_namespace *ns, gid_t gid) make_kgid() argument
374 kprojid_t make_kprojid(struct user_namespace *ns, projid_t projid) make_kprojid() argument
432 struct user_namespace *ns = seq->private; uid_m_show() local
453 struct user_namespace *ns = seq->private; gid_m_show() local
474 struct user_namespace *ns = seq->private; projid_m_show() local
507 struct user_namespace *ns = seq->private; uid_m_start() local
514 struct user_namespace *ns = seq->private; gid_m_start() local
521 struct user_namespace *ns = seq->private; projid_m_start() local
601 struct user_namespace *ns = seq->private; map_write() local
768 struct user_namespace *ns = seq->private; proc_uid_map_write() local
785 struct user_namespace *ns = seq->private; proc_gid_map_write() local
802 struct user_namespace *ns = seq->private; proc_projid_map_write() local
856 struct user_namespace *ns = seq->private; proc_setgroups_show() local
869 struct user_namespace *ns = seq->private; proc_setgroups_write() local
932 bool userns_may_setgroups(const struct user_namespace *ns) userns_may_setgroups() argument
948 static inline struct user_namespace *to_user_ns(struct ns_common *ns) to_user_ns() argument
964 static void userns_put(struct ns_common *ns) userns_put() argument
969 static int userns_install(struct nsproxy *nsproxy, struct ns_common *ns) userns_install() argument
816 new_idmap_permitted(const struct file *file, struct user_namespace *ns, int cap_setid, struct uid_gid_map *new_map) new_idmap_permitted() argument
/linux-4.4.14/fs/proc/
H A Dself.c12 struct pid_namespace *ns = dentry->d_sb->s_fs_info; proc_self_readlink() local
23 struct pid_namespace *ns = dentry->d_sb->s_fs_info; proc_self_follow_link() local
48 struct pid_namespace *ns = s->s_fs_info; proc_setup_self() local
H A Dthread_self.c12 struct pid_namespace *ns = dentry->d_sb->s_fs_info; proc_thread_self_readlink() local
24 struct pid_namespace *ns = dentry->d_sb->s_fs_info; proc_thread_self_follow_link() local
49 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
153 struct pid_namespace *ns; proc_kill_sb() local
264 int pid_ns_prepare_proc(struct pid_namespace *ns) pid_ns_prepare_proc() argument
276 void pid_ns_release_proc(struct pid_namespace *ns) pid_ns_release_proc() argument
H A Darray.c142 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, task_state() argument
354 int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, proc_pid_status() argument
375 static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, do_task_stat() argument
555 int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, proc_tid_stat() argument
561 int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, proc_tgid_stat() argument
567 int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, proc_pid_statm() argument
/linux-4.4.14/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.4.14/drivers/net/ethernet/intel/e1000e/
H A Dptp.c114 u64 ns; e1000e_phc_gettime() local
139 u64 ns; e1000e_phc_settime() local
/linux-4.4.14/arch/tile/kernel/vdso/
H A Dvgettimeofday.c67 u64 ns; do_realtime() local
86 u64 ns; do_monotonic() local
/linux-4.4.14/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.4.14/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
748 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.c131 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, apparmor_capable() argument
/linux-4.4.14/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
484 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
615 struct ipc_namespace *ns; do_msgsnd() local
830 struct ipc_namespace *ns; do_msgrcv() local
1021 void msg_init_ns(struct ipc_namespace *ns) msg_init_ns() argument
1033 void msg_exit_ns(struct ipc_namespace *ns) msg_exit_ns() argument
H A Dmqueue.c111 struct ipc_namespace *ns; get_ns_from_inode() local
308 struct ipc_namespace *ns = data; mqueue_fill_super() local
330 struct ipc_namespace *ns = current->nsproxy->ipc_ns; mqueue_mount() local
1407 int mq_init_ns(struct ipc_namespace *ns) mq_init_ns() argument
1425 void mq_clear_sbinfo(struct ipc_namespace *ns) mq_clear_sbinfo() argument
1430 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.4.14/kernel/sched/
H A Dstats.h253 account_group_exec_runtime(struct task_struct *tsk, unsigned long long ns) account_group_exec_runtime() argument
/linux-4.4.14/arch/s390/include/asm/
H A Dtimex.h157 unsigned long long ns; tod_to_ns() local
/linux-4.4.14/arch/mips/vdso/
H A Dgettimeofday.c128 u64 ns; do_realtime() local
150 u64 ns; do_monotonic() local
/linux-4.4.14/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.c82 struct timespec timespec_add(struct timespec ts, unsigned long long ns) timespec_add() argument
H A Dnanosleep.c102 struct timespec timespec_add(struct timespec ts, unsigned long long ns) timespec_add() argument
112 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
H A Dadjtick.c60 struct timespec nsec_to_ts(long long ns) nsec_to_ts() argument
/linux-4.4.14/drivers/spi/
H A Dspi-bitbang.c61 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
87 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
113 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.4.14/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.4.14/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.c277 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.c353 static int daqp_ns_to_timer(unsigned int *ns, unsigned int flags) daqp_ns_to_timer() argument
/linux-4.4.14/drivers/misc/
H A Dioc4.c208 u64 ns = period; ioc4_clock_calibrate() local
/linux-4.4.14/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
369 static u64 of_bus_isa_map(__be32 *addr, const __be32 *range, int na, int ns, of_bus_isa_map() argument
556 int na, ns, pna, pns; __of_translate_address() local
645 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
479 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.4.14/drivers/net/ethernet/renesas/
H A Dravb_ptp.c69 static int ravb_ptp_update_compare(struct ravb_private *priv, u32 ns) ravb_ptp_update_compare() argument
/linux-4.4.14/arch/x86/entry/vdso/
H A Dvclock_gettime.c221 u64 ns; do_realtime() local
242 u64 ns; do_monotonic() local
/linux-4.4.14/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.4.14/fs/
H A Dnsfs.c28 struct ns_common *ns = inode->i_private; ns_prune_dentry() local
42 struct ns_common *ns = inode->i_private; nsfs_evict() local
54 struct ns_common *ns; ns_get_path() local
112 struct ns_common *ns; ns_get_name() local
H A Dproc_namespace.c22 struct mnt_namespace *ns = p->ns; mounts_poll() local
239 struct mnt_namespace *ns = NULL; mounts_open_common() local
H A Dmount.h9 struct ns_common ns; member in struct:mnt_namespace
103 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 Dpnode.c32 get_peer_under_root(struct mount *mnt, struct mnt_namespace *ns, const struct path *root) get_peer_under_root() argument
H A Dinode.c1957 struct user_namespace *ns; inode_owner_or_capable() local
/linux-4.4.14/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.4.14/arch/mips/cavium-octeon/
H A Dcsrc-octeon.c152 void __ndelay(unsigned long ns) __ndelay() argument
/linux-4.4.14/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.4.14/sound/drivers/pcsp/
H A Dpcsp_lib.c46 u64 ns; pcsp_timer_update() local
132 u64 ns; pcsp_do_timer() local
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_flock.c140 struct ldlm_namespace *ns = ldlm_res_to_ns(res); ldlm_process_flock_lock() local
H A Dldlm_internal.h81 static inline int ldlm_ns_empty(struct ldlm_namespace *ns) ldlm_ns_empty() argument
H A Dldlm_lockd.c119 void ldlm_handle_bl_callback(struct ldlm_namespace *ns, ldlm_handle_bl_callback() argument
416 static int ldlm_bl_to_thread(struct ldlm_namespace *ns, ldlm_bl_to_thread() argument
446 int ldlm_bl_to_thread_lock(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, ldlm_bl_to_thread_lock() argument
452 int ldlm_bl_to_thread_list(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, ldlm_bl_to_thread_list() argument
536 struct ldlm_namespace *ns; ldlm_callback_handler() local
157 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
306 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
381 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.c219 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_remove_from_lru_nolock() local
235 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_remove_from_lru() local
249 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_add_to_lru_nolock() local
267 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_add_to_lru() local
280 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); ldlm_lock_touch_in_lru() local
464 int ldlm_lock_change_resource(struct ldlm_namespace *ns, struct ldlm_lock *lock, ldlm_lock_change_resource() argument
772 struct ldlm_namespace *ns; ldlm_lock_decref_internal() local
1195 ldlm_mode_t ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags, ldlm_lock_match() argument
1454 struct ldlm_lock *ldlm_lock_create(struct ldlm_namespace *ns, ldlm_lock_create() argument
1517 ldlm_error_t ldlm_lock_enqueue(struct ldlm_namespace *ns, ldlm_lock_enqueue() argument
1711 int ldlm_run_ast_work(struct ldlm_namespace *ns, struct list_head *rpc_list, ldlm_run_ast_work() argument
1810 struct ldlm_namespace *ns; ldlm_lock_cancel() local
H A Dldlm_pool.c341 struct ldlm_namespace *ns; ldlm_cli_pool_shrink() local
561 struct ldlm_namespace *ns = ldlm_pl2ns(pl); ldlm_pool_sysfs_init() local
573 struct ldlm_namespace *ns = ldlm_pl2ns(pl); ldlm_pool_debugfs_init() local
671 int ldlm_pool_init(struct ldlm_pool *pl, struct ldlm_namespace *ns, ldlm_pool_init() argument
816 struct ldlm_namespace *ns; ldlm_pools_count() local
870 struct ldlm_namespace *ns; ldlm_pools_scan() local
930 struct ldlm_namespace *ns; ldlm_pools_recalc() local
H A Dldlm_request.c287 static void failed_lock_cleanup(struct ldlm_namespace *ns, failed_lock_cleanup() argument
338 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; ldlm_cli_enqueue_fini() local
575 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; ldlm_prep_elc_req() local
660 struct ldlm_namespace *ns; ldlm_cli_enqueue() local
1013 struct ldlm_namespace *ns; ldlm_cli_cancel() local
1108 static ldlm_policy_res_t ldlm_cancel_no_wait_policy(struct ldlm_namespace *ns, ldlm_cancel_no_wait_policy() argument
1144 static ldlm_policy_res_t ldlm_cancel_lrur_policy(struct ldlm_namespace *ns, ldlm_cancel_lrur_policy() argument
1183 static ldlm_policy_res_t ldlm_cancel_passed_policy(struct ldlm_namespace *ns, ldlm_cancel_passed_policy() argument
1203 static ldlm_policy_res_t ldlm_cancel_aged_policy(struct ldlm_namespace *ns, ldlm_cancel_aged_policy() argument
1224 static ldlm_policy_res_t ldlm_cancel_default_policy(struct ldlm_namespace *ns, ldlm_cancel_default_policy() argument
1240 ldlm_cancel_lru_policy(struct ldlm_namespace *ns, int flags) ldlm_cancel_lru_policy() argument
1294 static int ldlm_prepare_lru_list(struct ldlm_namespace *ns, ldlm_prepare_lru_list() argument
1426 int ldlm_cancel_lru_local(struct ldlm_namespace *ns, ldlm_cancel_lru_local() argument
1446 int ldlm_cancel_lru(struct ldlm_namespace *ns, int nr, ldlm_cancel_lru() argument
1581 int ldlm_cli_cancel_unused_resource(struct ldlm_namespace *ns, ldlm_cli_cancel_unused_resource() argument
1639 int ldlm_cli_cancel_unused(struct ldlm_namespace *ns, ldlm_cli_cancel_unused() argument
1720 static void ldlm_namespace_foreach(struct ldlm_namespace *ns, ldlm_namespace_foreach() argument
1739 int ldlm_resource_iterate(struct ldlm_namespace *ns, ldlm_resource_iterate() argument
1929 static void ldlm_cancel_unused_locks_for_replay(struct ldlm_namespace *ns) ldlm_cancel_unused_locks_for_replay() argument
1949 struct ldlm_namespace *ns = imp->imp_obd->obd_namespace; ldlm_replay_locks() local
H A Dldlm_resource.c158 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, resource_count_show() local
174 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, lock_count_show() local
188 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, lock_unused_count_show() local
198 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, lru_size_show() local
210 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, lru_size_store() local
295 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, lru_max_age_show() local
304 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, lru_max_age_store() local
323 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, early_lock_cancel_show() local
334 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, early_lock_cancel_store() local
364 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, ldlm_ns_release() local
375 static void ldlm_namespace_debugfs_unregister(struct ldlm_namespace *ns) ldlm_namespace_debugfs_unregister() argument
387 static void ldlm_namespace_sysfs_unregister(struct ldlm_namespace *ns) ldlm_namespace_sysfs_unregister() argument
393 static int ldlm_namespace_sysfs_register(struct ldlm_namespace *ns) ldlm_namespace_sysfs_register() argument
414 static int ldlm_namespace_debugfs_register(struct ldlm_namespace *ns) ldlm_namespace_debugfs_register() argument
609 static void ldlm_namespace_register(struct ldlm_namespace *ns, ldlm_namespace_register() argument
627 struct ldlm_namespace *ns = NULL; ldlm_namespace_new() local
838 int ldlm_namespace_cleanup(struct ldlm_namespace *ns, __u64 flags) ldlm_namespace_cleanup() argument
856 static int __ldlm_namespace_free(struct ldlm_namespace *ns, int force) __ldlm_namespace_free() argument
906 void ldlm_namespace_free_prior(struct ldlm_namespace *ns, ldlm_namespace_free_prior() argument
939 static void ldlm_namespace_unregister(struct ldlm_namespace *ns, ldlm_namespace_unregister() argument
957 void ldlm_namespace_free_post(struct ldlm_namespace *ns) ldlm_namespace_free_post() argument
980 void ldlm_namespace_get(struct ldlm_namespace *ns) ldlm_namespace_get() argument
987 static int ldlm_namespace_get_return(struct ldlm_namespace *ns) ldlm_namespace_get_return() argument
992 void ldlm_namespace_put(struct ldlm_namespace *ns) ldlm_namespace_put() argument
1002 void ldlm_namespace_move_to_active_locked(struct ldlm_namespace *ns, ldlm_namespace_move_to_active_locked() argument
1011 void ldlm_namespace_move_to_inactive_locked(struct ldlm_namespace *ns, ldlm_namespace_move_to_inactive_locked() argument
1067 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
1312 struct ldlm_namespace *ns; list_for_each() local
1339 void ldlm_namespace_dump(int level, struct ldlm_namespace *ns) ldlm_namespace_dump() argument
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ptp.c146 s64 ns = ktime_to_ns(ktime_get_real()); fm10k_ts_reset() local
311 u64 ns = timespec64_to_ns(ts); fm10k_ptp_settime() local
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c63 u64 ns; i40e_ptp_read() local
86 u64 ns = timespec64_to_ns(ts); i40e_ptp_write() local
310 u64 ns; i40e_ptp_tx_hwtstamp() local
347 u64 ns; i40e_ptp_rx_hwtstamp() local
367 i40e_ptp_convert_to_hwtstamp(skb_hwtstamps(skb), ns); i40e_ptp_rx_hwtstamp() local
/linux-4.4.14/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.4.14/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.4.14/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.c765 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.4.14/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.4.14/drivers/devfreq/exynos/
H A Dexynos_ppmu.h66 unsigned long long ns; member in struct:exynos_ppmu
/linux-4.4.14/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.4.14/arch/tile/include/arch/
H A Dmpipe_shm.h61 uint_reg_t ns : 1; member in struct:__anon2775::__anon2776
/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Dtime.c62 unsigned long ns; get_ns_in_jiffie() local
/linux-4.4.14/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.c1028 void *ns = NULL; kobj_ns_grab_current() local
1041 const void *ns = NULL; kobj_ns_netlink() local
1054 const void *ns = NULL; kobj_ns_initial() local
1065 void kobj_ns_drop(enum kobj_ns_type type, void *ns) kobj_ns_drop() argument
/linux-4.4.14/security/selinux/include/
H A Dobjsec.h82 struct net *ns; /* network namespace */ member in struct:netif_security_struct
/linux-4.4.14/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.4.14/fs/ntfs/
H A Dunistr.c340 unsigned char *ns; ntfs_ucstonls() local
/linux-4.4.14/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.h66 struct ns_common ns; member in struct:net
/linux-4.4.14/tools/perf/scripts/python/
H A Dcompaction-times.py48 def ns(sec, nsec): function
/linux-4.4.14/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c256 unsigned long s, ns; perl_process_tracepoint() local
/linux-4.4.14/virt/kvm/arm/
H A Darch_timer.c48 static void timer_arm(struct arch_timer_cpu *timer, u64 ns) timer_arm() argument
106 u64 ns; kvm_timer_compute_delta() local
122 u64 ns; kvm_timer_expire() local
/linux-4.4.14/drivers/isdn/capi/
H A Dcapiutil.c582 size_t ns = 2 * cdb->size; bufprint() local
/linux-4.4.14/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.4.14/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.4.14/drivers/nvme/host/
H A Dnvme.h114 static inline u64 nvme_block_nr(struct nvme_ns *ns, sector_t sector) nvme_block_nr() argument
151 static inline int nvme_nvm_ns_supported(struct nvme_ns *ns, struct nvme_id_ns *id) nvme_nvm_ns_supported() argument
H A Dlightnvm.c276 struct nvme_ns *ns = nvmdev->q->queuedata; nvme_nvm_identity() local
314 struct nvme_ns *ns = nvmdev->q->queuedata; nvme_nvm_get_l2p_tbl() local
363 struct nvme_ns *ns = q->queuedata; nvme_nvm_get_bb_tbl() local
421 struct nvme_ns *ns = nvmdev->q->queuedata; nvme_nvm_set_bb_tbl() local
469 struct nvme_ns *ns = q->queuedata; nvme_nvm_submit_io() local
509 struct nvme_ns *ns = q->queuedata; nvme_nvm_erase_block() local
522 struct nvme_ns *ns = nvmdev->q->queuedata; nvme_nvm_create_dma_pool() local
581 int nvme_nvm_ns_supported(struct nvme_ns *ns, struct nvme_id_ns *id) nvme_nvm_ns_supported() argument
439 nvme_nvm_rqtocmd(struct request *rq, struct nvm_rq *rqd, struct nvme_ns *ns, struct nvme_nvm_command *c) nvme_nvm_rqtocmd() argument
/linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_desc.c468 u64 ns; sxgbe_get_rx_timestamp() local
/linux-4.4.14/drivers/ata/
H A Dpata_at91.c189 static unsigned long calc_mck_cycles(unsigned long ns, unsigned long mck_hz) calc_mck_cycles() argument
/linux-4.4.14/fs/lockd/
H A Dmon.c262 s64 ns; nsm_init_private() local
/linux-4.4.14/net/irda/
H A Dirlap.c714 int irlap_validate_ns_received(struct irlap_cb *self, int ns) irlap_validate_ns_received() argument
/linux-4.4.14/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.4.14/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
484 s64 ns; igb_ptp_feature_enable_i210() local
/linux-4.4.14/drivers/net/
H A Dsb1000.c748 int ioaddr, ns; sb1000_rx() local
/linux-4.4.14/drivers/pci/host/
H A Dpci-xgene.c434 const int na = 3, ns = 2; pci_dma_range_parser_init() local
H A Dpcie-rcar.c880 const int na = 3, ns = 2; pci_dma_range_parser_init() local
/linux-4.4.14/drivers/pci/
H A Dxen-pcifront.c120 s64 ns, ns_timeout; do_pci_op() local
/linux-4.4.14/drivers/net/ethernet/freescale/
H A Dfec_ptp.c116 u64 ns; fec_ptp_enable_pps() local
396 u64 ns; fec_ptp_gettime() local
422 u64 ns; fec_ptp_settime() local
538 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.4.14/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
H A Ddrbd_worker.c823 union drbd_state os, ns; drbd_resync_finished() local
1637 union drbd_state ns; drbd_start_resync() local
/linux-4.4.14/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
484 u32 ns, md, ctl; __clk_rcg_set_rate() local
562 u32 ns, src; clk_rcg_bypass2_set_rate() local
633 u32 ns, src; clk_rcg_pixel_set_rate() local
704 u32 ns; clk_rcg_esc_set_rate() local
/linux-4.4.14/net/atm/
H A Dclip.c783 struct neigh_seq_state ns; member in struct:clip_seq_state
/linux-4.4.14/net/core/
H A Dnet_namespace.c346 struct net *ns = p; net_drop_ns() local
469 struct ns_common *ns; get_net_ns_by_fd() local
976 static inline struct net *to_net_ns(struct ns_common *ns) to_net_ns() argument
981 static void netns_put(struct ns_common *ns) netns_put() argument
986 static int netns_install(struct nsproxy *nsproxy, struct ns_common *ns) netns_install() argument
/linux-4.4.14/net/tipc/
H A Dname_table.c449 struct name_seq *ns; nametbl_find_seq() local
/linux-4.4.14/scripts/genksyms/
H A Dgenksyms.c166 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) find_symbol() argument
/linux-4.4.14/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.4.14/security/
H A Dcommoncap.c74 struct user_namespace *ns = targ_ns; cap_capable() local
/linux-4.4.14/fs/ocfs2/cluster/
H A Dnodemanager.c667 struct o2nm_node_group *ns = NULL; o2nm_cluster_group_make_group() local
/linux-4.4.14/include/net/irda/
H A Dirlap.h108 __u8 ns; /* Sequence number of frame sent */ member in struct:irlap_info
/linux-4.4.14/arch/powerpc/kernel/
H A Dsysfs.c93 static unsigned int get_idle_ticks_bit(u64 ns) get_idle_ticks_bit() argument
/linux-4.4.14/net/l2tp/
H A Dl2tp_core.h103 u32 ns; /* session NR state (send) */ member in struct:l2tp_session
/linux-4.4.14/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.4.14/drivers/staging/lustre/lnet/lnet/
H A Dapi-ni.c1532 lnet_ni_status_t *ns = &pinfo->pi_ni[i]; lnet_create_ping_info() local
/linux-4.4.14/drivers/staging/lustre/lustre/mgc/
H A Dmgc_request.c1065 struct ldlm_namespace *ns = obd->obd_namespace; mgc_import_event() local
/linux-4.4.14/drivers/staging/gdm724x/
H A Dgdm_lte.c237 struct neighbour_solicitation *ns; gdm_lte_emulate_ndp() local
/linux-4.4.14/drivers/i2c/busses/
H A Di2c-axxia.c130 static u32 ns_to_clk(u64 ns, u32 clk_mhz) ns_to_clk() argument
/linux-4.4.14/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.4.14/drivers/net/wireless/mwifiex/
H A Dwmm.c120 u64 ns; mwifiex_get_random_ba_threshold() local
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/
H A Dcxgb2.c299 struct net_device_stats *ns = &p->netstats; t1_get_stats() local
/linux-4.4.14/drivers/block/aoe/
H A Daoecmd.c980 ata_ident_fixstring(u16 *id, int ns) ata_ident_fixstring() argument
/linux-4.4.14/drivers/gpu/drm/i915/
H A Ddvo_ns2501.c394 struct ns2501_priv *ns = dvo->dev_priv; ns2501_readb() local
439 struct ns2501_priv *ns = dvo->dev_priv; ns2501_writeb() local
475 struct ns2501_priv *ns; ns2501_init() local
553 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); ns2501_mode_set() local
657 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); ns2501_dpms() local
693 struct ns2501_priv *ns = dvo->dev_priv; ns2501_destroy() local
/linux-4.4.14/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.4.14/arch/x86/kernel/
H A Dtsc.c203 unsigned long long ns; cycles_2_ns() local
/linux-4.4.14/drivers/clk/st/
H A Dclkgen-fsyn.c801 unsigned long ns; clk_fs216c65_get_rate() local
824 unsigned long ns; clk_fs432c65_get_rate() local
843 unsigned long ns; clk_fs660c32_dig_get_rate() local
/linux-4.4.14/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

Completed in 7811 milliseconds

12