Home
last modified time | relevance | path

Searched defs:ns (Results 1 – 200 of 292) sorted by relevance

12

/linux-4.1.27/ipc/
Dnamespace.c22 struct ipc_namespace *ns; in create_ipc_ns() local
55 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
70 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids, in free_ipcs()
93 static void free_ipc_ns(struct ipc_namespace *ns) in free_ipc_ns()
121 void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
131 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) in to_ipc_ns()
138 struct ipc_namespace *ns = NULL; in ipcns_get() local
150 static void ipcns_put(struct ns_common *ns) in ipcns_put()
157 struct ipc_namespace *ns = to_ipc_ns(new); in ipcns_install() local
Dutil.h28 static inline void mq_clear_sbinfo(struct ipc_namespace *ns) { } in mq_clear_sbinfo()
29 static inline void mq_put_mnt(struct ipc_namespace *ns) { } in mq_put_mnt()
41 static inline void sem_init_ns(struct ipc_namespace *ns) { } in sem_init_ns()
42 static inline void msg_init_ns(struct ipc_namespace *ns) { } in msg_init_ns()
43 static inline void shm_init_ns(struct ipc_namespace *ns) { } in shm_init_ns()
45 static inline void sem_exit_ns(struct ipc_namespace *ns) { } in sem_exit_ns()
46 static inline void msg_exit_ns(struct ipc_namespace *ns) { } in msg_exit_ns()
47 static inline void shm_exit_ns(struct ipc_namespace *ns) { } in shm_exit_ns()
Dshm.c52 struct ipc_namespace *ns; member
62 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) argument
75 void shm_init_ns(struct ipc_namespace *ns) in shm_init_ns()
89 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid()
104 void shm_exit_ns(struct ipc_namespace *ns) in shm_exit_ns()
130 static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id) in shm_obtain_object()
140 static inline struct shmid_kernel *shm_obtain_object_check(struct ipc_namespace *ns, int id) in shm_obtain_object_check()
154 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) in shm_lock()
183 static inline void shm_rmid(struct ipc_namespace *ns, struct shmid_kernel *s) in shm_rmid()
228 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_destroy()
[all …]
Dmsg.c75 #define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS]) argument
77 static inline struct msg_queue *msq_obtain_object(struct ipc_namespace *ns, int id) in msq_obtain_object()
87 static inline struct msg_queue *msq_obtain_object_check(struct ipc_namespace *ns, in msq_obtain_object_check()
98 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) in msg_rmid()
119 static int newque(struct ipc_namespace *ns, struct ipc_params *params) in newque()
212 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeque()
243 struct ipc_namespace *ns; in SYSCALL_DEFINE2() local
339 static int msgctl_down(struct ipc_namespace *ns, int msqid, int cmd, in msgctl_down()
412 static int msgctl_nolock(struct ipc_namespace *ns, int msqid, in msgctl_nolock()
525 struct ipc_namespace *ns; in SYSCALL_DEFINE3() local
[all …]
Dsem.c143 #define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS]) argument
173 void sem_init_ns(struct ipc_namespace *ns) in sem_init_ns()
184 void sem_exit_ns(struct ipc_namespace *ns) in sem_exit_ns()
398 static inline struct sem_array *sem_obtain_lock(struct ipc_namespace *ns, in sem_obtain_lock()
421 static inline struct sem_array *sem_obtain_object(struct ipc_namespace *ns, int id) in sem_obtain_object()
431 static inline struct sem_array *sem_obtain_object_check(struct ipc_namespace *ns, in sem_obtain_object_check()
448 static inline void sem_rmid(struct ipc_namespace *ns, struct sem_array *s) in sem_rmid()
494 static int newary(struct ipc_namespace *ns, struct ipc_params *params) in newary()
584 struct ipc_namespace *ns; in SYSCALL_DEFINE3() local
1087 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary()
[all …]
Dutil.c279 static int ipcget_new(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget_new()
305 static int ipc_check_perms(struct ipc_namespace *ns, in ipc_check_perms()
337 static int ipcget_public(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget_public()
487 int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) in ipcperms()
640 int ipcget(struct ipc_namespace *ns, struct ipc_ids *ids, in ipcget()
687 struct kern_ipc_perm *ipcctl_pre_down_nolock(struct ipc_namespace *ns, in ipcctl_pre_down_nolock()
739 struct ipc_namespace *ns; member
Dmqueue.c112 struct ipc_namespace *ns; in get_ns_from_inode() local
309 struct ipc_namespace *ns = data; in mqueue_fill_super() local
331 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in mqueue_mount() local
1395 int mq_init_ns(struct ipc_namespace *ns) in mq_init_ns()
1413 void mq_clear_sbinfo(struct ipc_namespace *ns) in mq_clear_sbinfo()
1418 void mq_put_mnt(struct ipc_namespace *ns) in mq_put_mnt()
Dipc_sysctl.c55 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in proc_ipc_dointvec_minmax_orphans() local
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c159 struct ldlm_namespace *ns = m->private; in lprocfs_ns_resources_seq_show() local
173 struct ldlm_namespace *ns = m->private; in lprocfs_ns_locks_seq_show() local
184 struct ldlm_namespace *ns = m->private; in lprocfs_lru_size_seq_show() local
196 struct ldlm_namespace *ns = ((struct seq_file *)file->private_data)->private; in lprocfs_lru_size_seq_write() local
284 struct ldlm_namespace *ns = m->private; in lprocfs_elc_seq_show() local
294 struct ldlm_namespace *ns = ((struct seq_file *)file->private_data)->private; in lprocfs_elc_seq_write() local
310 void ldlm_namespace_proc_unregister(struct ldlm_namespace *ns) in ldlm_namespace_proc_unregister()
330 int ldlm_namespace_proc_register(struct ldlm_namespace *ns) in ldlm_namespace_proc_register()
389 #define ldlm_namespace_proc_unregister(ns) ({; }) argument
390 #define ldlm_namespace_proc_register(ns) ({0; }) argument
[all …]
Dldlm_request.c395 int ldlm_cli_enqueue_local(struct ldlm_namespace *ns, in ldlm_cli_enqueue_local()
460 static void failed_lock_cleanup(struct ldlm_namespace *ns, in failed_lock_cleanup()
511 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_cli_enqueue_fini() local
748 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_prep_elc_req() local
854 struct ldlm_namespace *ns; in ldlm_cli_enqueue() local
1313 struct ldlm_namespace *ns; in ldlm_cli_cancel() local
1408 static ldlm_policy_res_t ldlm_cancel_no_wait_policy(struct ldlm_namespace *ns, in ldlm_cancel_no_wait_policy()
1444 static ldlm_policy_res_t ldlm_cancel_lrur_policy(struct ldlm_namespace *ns, in ldlm_cancel_lrur_policy()
1483 static ldlm_policy_res_t ldlm_cancel_passed_policy(struct ldlm_namespace *ns, in ldlm_cancel_passed_policy()
1503 static ldlm_policy_res_t ldlm_cancel_aged_policy(struct ldlm_namespace *ns, in ldlm_cancel_aged_policy()
[all …]
Dldlm_lock.c155 void ldlm_register_intent(struct ldlm_namespace *ns, ldlm_res_policy arg) in ldlm_register_intent()
229 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_remove_from_lru_nolock() local
245 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_remove_from_lru() local
264 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_add_to_lru_nolock() local
282 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_add_to_lru() local
295 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_touch_in_lru() local
484 int ldlm_lock_change_resource(struct ldlm_namespace *ns, struct ldlm_lock *lock, in ldlm_lock_change_resource()
792 struct ldlm_namespace *ns; in ldlm_lock_decref_internal() local
1225 ldlm_mode_t ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags, in ldlm_lock_match()
1490 struct ldlm_lock *ldlm_lock_create(struct ldlm_namespace *ns, in ldlm_lock_create()
[all …]
Dldlm_lockd.c142 void ldlm_handle_bl_callback(struct ldlm_namespace *ns, in ldlm_handle_bl_callback()
181 struct ldlm_namespace *ns, in ldlm_handle_cp_callback()
330 struct ldlm_namespace *ns, in ldlm_handle_gl_callback()
405 struct ldlm_namespace *ns, in init_blwi()
439 static int ldlm_bl_to_thread(struct ldlm_namespace *ns, in ldlm_bl_to_thread()
470 int ldlm_bl_to_thread_lock(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, in ldlm_bl_to_thread_lock()
476 int ldlm_bl_to_thread_list(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, in ldlm_bl_to_thread_list()
560 struct ldlm_namespace *ns; in ldlm_callback_handler() local
Dldlm_pool.c531 struct ldlm_namespace *ns; in ldlm_cli_pool_shrink() local
743 struct ldlm_namespace *ns = ldlm_pl2ns(pl); in ldlm_pool_proc_init() local
855 int ldlm_pool_init(struct ldlm_pool *pl, struct ldlm_namespace *ns, in ldlm_pool_init()
1057 struct ldlm_namespace *ns; in ldlm_pools_count() local
1111 struct ldlm_namespace *ns; in ldlm_pools_scan() local
1185 struct ldlm_namespace *ns; in ldlm_pools_recalc() local
Dldlm_internal.h88 static inline int ldlm_ns_empty(struct ldlm_namespace *ns) in ldlm_ns_empty()
Dldlm_flock.c250 struct ldlm_namespace *ns = ldlm_res_to_ns(res); in ldlm_process_flock_lock() local
/linux-4.1.27/kernel/
Dutsname.c38 struct uts_namespace *ns; in clone_uts_ns() local
85 struct uts_namespace *ns; in free_uts_ns() local
93 static inline struct uts_namespace *to_uts_ns(struct ns_common *ns) in to_uts_ns()
100 struct uts_namespace *ns = NULL; in utsns_get() local
114 static void utsns_put(struct ns_common *ns) in utsns_put()
121 struct uts_namespace *ns = to_uts_ns(new); in utsns_install() local
Duser_namespace.c61 struct user_namespace *ns, *parent_ns = new->user_ns; in create_user_ns() local
137 void free_user_ns(struct user_namespace *ns) in free_user_ns()
238 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) in make_kuid()
306 kgid_t make_kgid(struct user_namespace *ns, gid_t gid) in make_kgid()
373 kprojid_t make_kprojid(struct user_namespace *ns, projid_t projid) in make_kprojid()
431 struct user_namespace *ns = seq->private; in uid_m_show() local
452 struct user_namespace *ns = seq->private; in gid_m_show() local
473 struct user_namespace *ns = seq->private; in projid_m_show() local
506 struct user_namespace *ns = seq->private; in uid_m_start() local
513 struct user_namespace *ns = seq->private; in gid_m_start() local
[all …]
Dpid_namespace.c75 struct pid_namespace *ns = container_of(work, struct pid_namespace, proc_work); in proc_cleanup_work() local
85 struct pid_namespace *ns; in create_pid_namespace() local
142 static void destroy_pid_namespace(struct pid_namespace *ns) in destroy_pid_namespace()
165 struct pid_namespace *ns; in free_pid_ns() local
171 void put_pid_ns(struct pid_namespace *ns) in put_pid_ns()
337 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) in to_pid_ns()
344 struct pid_namespace *ns; in pidns_get() local
355 static void pidns_put(struct ns_common *ns) in pidns_put()
360 static int pidns_install(struct nsproxy *nsproxy, struct ns_common *ns) in pidns_install()
Dpid.c42 #define pid_hashfn(nr, ns) \ argument
239 struct pid_namespace *ns; in put_pid() local
268 struct pid_namespace *ns = upid->ns; in free_pid() local
297 struct pid *alloc_pid(struct pid_namespace *ns) in alloc_pid()
359 void disable_pid_allocation(struct pid_namespace *ns) in disable_pid_allocation()
366 struct pid *find_pid_ns(int nr, struct pid_namespace *ns) in find_pid_ns()
452 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns()
501 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns()
522 struct pid_namespace *ns) in __task_pid_nr_ns()
540 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
[all …]
Dacct.c88 struct pid_namespace *ns; member
141 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) in acct_get()
194 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() local
294 void acct_exit_ns(struct pid_namespace *ns) in acct_exit_ns()
501 struct pid_namespace *ns = acct->ns; in do_acct_process() local
570 static void slow_acct_process(struct pid_namespace *ns) in slow_acct_process()
589 struct pid_namespace *ns; in acct_process() local
Dcapability.c296 struct user_namespace *ns, int cap) in has_ns_capability()
336 struct user_namespace *ns, int cap) in has_ns_capability_noaudit()
375 bool ns_capable(struct user_namespace *ns, int cap) in ns_capable()
420 bool file_ns_capable(const struct file *file, struct user_namespace *ns, in file_ns_capable()
444 struct user_namespace *ns = current_user_ns(); in capable_wrt_inode_uidgid() local
Dnsproxy.c158 void free_nsproxy(struct nsproxy *ns) in free_nsproxy()
203 struct nsproxy *ns; in switch_task_namespaces() local
226 struct ns_common *ns; in SYSCALL_DEFINE2() local
Ddelayacct.c54 s64 ns = ktime_get_ns() - *start; in delayacct_end() local
Dsys.c331 struct user_namespace *ns = current_user_ns(); in SYSCALL_DEFINE2() local
388 struct user_namespace *ns = current_user_ns(); in SYSCALL_DEFINE1() local
464 struct user_namespace *ns = current_user_ns(); in SYSCALL_DEFINE2() local
535 struct user_namespace *ns = current_user_ns(); in SYSCALL_DEFINE1() local
582 struct user_namespace *ns = current_user_ns(); in SYSCALL_DEFINE3() local
669 struct user_namespace *ns = current_user_ns(); in SYSCALL_DEFINE3() local
1808 struct user_namespace *ns = current_user_ns(); in validate_prctl_map() local
Dptrace.c210 static int ptrace_has_cap(struct user_namespace *ns, unsigned int mode) in ptrace_has_cap()
/linux-4.1.27/include/linux/
Dutsname.h27 struct ns_common ns; member
32 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns()
41 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns()
46 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns()
50 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns()
Duser_namespace.h34 struct ns_common ns; member
48 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
59 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
77 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
95 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
99 static inline bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups()
Dpid_namespace.h47 struct ns_common ns; member
55 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns()
71 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns()
77 struct user_namespace *user_ns, struct pid_namespace *ns) in copy_pid_ns()
84 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns()
88 static inline void zap_pid_ns_processes(struct pid_namespace *ns) in zap_pid_ns_processes()
Dproc_ns.h48 static inline int pid_ns_prepare_proc(struct pid_namespace *ns) { return 0; } in pid_ns_prepare_proc()
49 static inline void pid_ns_release_proc(struct pid_namespace *ns) {} in pid_ns_release_proc()
60 static inline int ns_alloc_inum(struct ns_common *ns) in ns_alloc_inum()
66 #define ns_free_inum(ns) proc_free_inum((ns)->inum) argument
Dipc_namespace.h62 struct ns_common ns; member
73 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned()
112 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns()
119 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
129 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
137 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
142 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
Dnsproxy.h73 static inline void put_nsproxy(struct nsproxy *ns) in put_nsproxy()
80 static inline void get_nsproxy(struct nsproxy *ns) in get_nsproxy()
Duidgid.h130 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
135 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
178 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
183 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
Dprojid.h57 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) in kprojid_has_mapping()
82 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) in kprojid_has_mapping()
Dkernfs.h123 const void *ns; /* namespace tag */ member
346 const void *ns) in kernfs_find_and_get_ns()
367 umode_t mode, void *priv, const void *ns) in kernfs_create_dir_ns()
373 void *priv, const void *ns, struct lock_class_key *key) in __kernfs_create_file()
389 const char *name, const void *ns) in kernfs_remove_by_name_ns()
409 bool *new_sb_created, const void *ns) in kernfs_mount_ns()
434 void *priv, const void *ns) in kernfs_create_file_ns()
Dpid.h53 struct pid_namespace *ns; member
136 struct pid_namespace *ns = NULL; in ns_of_pid() local
Dcapability.h223 struct user_namespace *ns, int cap) in has_ns_capability()
232 struct user_namespace *ns, int cap) in has_ns_capability_noaudit()
240 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable()
Dacct.h33 #define acct_exit_ns(ns) do { } while (0) argument
Dktime.h178 s64 ns = kt.tv64; in ktime_divns() local
283 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime()
Dsysfs.h283 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
318 const void *ns) in sysfs_create_file_ns()
337 const void *ns) in sysfs_remove_file_ns()
382 const char *new_name, const void *ns) in sysfs_rename_link_ns()
Dtimecounter.h82 u64 ns = (u64) cycles; in cyclecounter_cyc2ns() local
Dtime.h233 static __always_inline void timespec_add_ns(struct timespec *a, u64 ns) in timespec_add_ns()
Dtime64.h182 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) in timespec64_add_ns()
Dptrace.h174 struct pid_namespace *ns; in ptrace_event_pid() local
Dhrtimer.h230 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
Dnvme.h144 static inline u64 nvme_block_nr(struct nvme_ns *ns, sector_t sector) in nvme_block_nr()
/linux-4.1.27/drivers/mtd/nand/
Dnandsim.c203 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0) argument
206 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0))) argument
209 #define NS_STATUS_FAILED(ns) (NAND_STATUS_FAIL | NS_STATUS_OK(ns)) argument
212 #define NS_RAW_OFFSET(ns) \ argument
216 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz) argument
560 static void nandsim_debugfs_remove(struct nandsim *ns) in nandsim_debugfs_remove()
572 static int alloc_device(struct nandsim *ns) in alloc_device()
635 static void free_device(struct nandsim *ns) in free_device()
670 struct nandsim *ns = chip->priv; in init_nandsim() local
808 static void free_nandsim(struct nandsim *ns) in free_nandsim()
[all …]
Dtxx9ndfmc.c255 #define TXX9NDFMC_NS_TO_CYC(gbusclk, ns) \ argument
/linux-4.1.27/security/apparmor/
Dpolicy.c277 struct aa_namespace *ns; in alloc_namespace() local
319 static void free_namespace(struct aa_namespace *ns) in free_namespace()
360 struct aa_namespace *ns = NULL; in aa_find_namespace() local
377 struct aa_namespace *ns, *root; in aa_prepare_namespace() local
488 static void destroy_namespace(struct aa_namespace *ns) in destroy_namespace()
512 static void __remove_namespace(struct aa_namespace *ns) in __remove_namespace()
528 struct aa_namespace *ns, *tmp; in __ns_list_release() local
555 struct aa_namespace *ns = root_ns; in aa_free_root_ns() local
789 static struct aa_policy *__lookup_parent(struct aa_namespace *ns, in __lookup_parent()
852 struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *hname) in aa_lookup_profile()
[all …]
Ddomain.c96 struct aa_namespace *ns, in change_profile_perms()
173 static struct aa_profile *find_attach(struct aa_namespace *ns, in find_attach()
242 struct aa_namespace *ns = profile->ns; in x_table_lookup() local
304 struct aa_namespace *ns = profile->ns; in x_to_profile() local
341 struct aa_namespace *ns; in apparmor_bprm_set_creds() local
752 struct aa_namespace *ns = NULL; in aa_change_profile() local
Dapparmorfs.c477 void __aa_fs_namespace_rmdir(struct aa_namespace *ns) in __aa_fs_namespace_rmdir()
501 int __aa_fs_namespace_mkdir(struct aa_namespace *ns, struct dentry *parent, in __aa_fs_namespace_mkdir()
570 struct aa_namespace *ns) in __next_namespace()
606 struct aa_namespace *ns) in __first_profile()
628 struct aa_namespace *ns = p->ns; in __next_profile() local
714 struct aa_namespace *ns = f->private; in p_next() local
730 struct aa_namespace *root = f->private, *ns; in p_stop() local
Dprocattr.c42 struct aa_namespace *ns = profile->ns; in aa_getprocattr() local
Dpolicy_unpack.c640 static int verify_header(struct aa_ext *e, int required, const char **ns) in verify_header()
749 int aa_unpack(void *udata, size_t size, struct list_head *lh, const char **ns) in aa_unpack()
/linux-4.1.27/security/keys/
Dpersistent.c22 static int key_create_persistent_register(struct user_namespace *ns) in key_create_persistent_register()
42 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent()
75 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent()
131 struct user_namespace *ns = current_user_ns(); in keyctl_get_persistent() local
/linux-4.1.27/drivers/clk/qcom/
Dclk-rcg.c26 static u32 ns_to_src(struct src_sel *s, u32 ns) in ns_to_src()
33 static u32 src_to_ns(struct src_sel *s, u8 src, u32 ns) in src_to_ns()
49 u32 ns; in clk_rcg_get_parent() local
76 u32 ns, reg; in clk_dyn_rcg_get_parent() local
105 u32 ns; in clk_rcg_set_parent() local
121 static u32 ns_to_pre_div(struct pre_div *p, u32 ns) in ns_to_pre_div()
128 static u32 pre_div_to_ns(struct pre_div *p, u8 pre_div, u32 ns) in pre_div_to_ns()
157 static u32 ns_m_to_n(struct mn *mn, u32 ns, u32 m) in ns_m_to_n()
171 static u32 mn_to_ns(struct mn *mn, u32 m, u32 n, u32 ns) in mn_to_ns()
208 u32 ns, md, reg; in configure_bank() local
[all …]
/linux-4.1.27/security/selinux/
Dnetif.c56 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) in sel_netif_hashfn()
71 static inline struct sel_netif *sel_netif_find(const struct net *ns, in sel_netif_find()
136 static int sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid_slow()
203 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid) in sel_netif_sid()
229 static void sel_netif_kill(const struct net *ns, int ifindex) in sel_netif_kill()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_state.c37 union drbd_state ns; member
238 union drbd_state os, union drbd_state ns) in cl_wide_st_chg()
253 union drbd_state ns; in apply_mask_val() local
263 union drbd_state ns; in drbd_change_state() local
290 union drbd_state os, ns; in _req_st_cond() local
338 union drbd_state os, ns; in drbd_req_state() local
441 static void print_st(struct drbd_device *device, const char *name, union drbd_state ns) in print_st()
460 union drbd_state ns, enum drbd_state_rv err) in print_st_err()
469 static long print_state_change(char *pb, union drbd_state os, union drbd_state ns, in print_state_change()
500 …tic void drbd_pr_state_change(struct drbd_device *device, union drbd_state os, union drbd_state ns, in drbd_pr_state_change()
[all …]
Ddrbd_worker.c845 union drbd_state os, ns; in drbd_resync_finished() local
1659 union drbd_state ns; in drbd_start_resync() local
/linux-4.1.27/drivers/block/
Dnvme-scsi.c671 static int nvme_trans_standard_inquiry_page(struct nvme_ns *ns, in nvme_trans_standard_inquiry_page()
737 static int nvme_trans_supported_vpd_pages(struct nvme_ns *ns, in nvme_trans_supported_vpd_pages()
760 static int nvme_trans_unit_serial_page(struct nvme_ns *ns, in nvme_trans_unit_serial_page()
779 static int nvme_trans_device_id_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_device_id_page()
860 static int nvme_trans_ext_inq_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_ext_inq_page()
944 static int nvme_trans_bdev_limits_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_limits_page()
964 static int nvme_trans_bdev_char_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_char_page()
994 static int nvme_trans_log_supp_pages(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_supp_pages()
1022 static int nvme_trans_log_info_exceptions(struct nvme_ns *ns, in nvme_trans_log_info_exceptions()
1089 static int nvme_trans_log_temperature(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_temperature()
[all …]
Dnvme-core.c506 struct nvme_ns *ns = req->rq_disk->private_data; in nvme_dif_remap() local
551 static void nvme_init_integrity(struct nvme_ns *ns) in nvme_init_integrity()
582 static void nvme_init_integrity(struct nvme_ns *ns) in nvme_init_integrity()
720 static void nvme_submit_discard(struct nvme_queue *nvmeq, struct nvme_ns *ns, in nvme_submit_discard()
744 static void nvme_submit_flush(struct nvme_queue *nvmeq, struct nvme_ns *ns, in nvme_submit_flush()
760 struct nvme_ns *ns) in nvme_submit_iod()
816 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_queue_rq() local
1086 int nvme_submit_io_cmd(struct nvme_dev *dev, struct nvme_ns *ns, in nvme_submit_io_cmd()
1746 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io()
1836 static int nvme_user_cmd(struct nvme_dev *dev, struct nvme_ns *ns, in nvme_user_cmd()
[all …]
/linux-4.1.27/fs/proc/
Droot.c35 struct pid_namespace *ns = (struct pid_namespace *)data; in proc_set_super() local
105 struct pid_namespace *ns; in proc_mount() local
151 struct pid_namespace *ns; in proc_kill_sb() local
262 int pid_ns_prepare_proc(struct pid_namespace *ns) in pid_ns_prepare_proc()
274 void pid_ns_release_proc(struct pid_namespace *ns) in pid_ns_release_proc()
Dself.c13 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_readlink() local
24 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_follow_link() local
50 struct pid_namespace *ns = s->s_fs_info; in proc_setup_self() local
Dthread_self.c13 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_thread_self_readlink() local
25 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_thread_self_follow_link() local
51 struct pid_namespace *ns = s->s_fs_info; in proc_setup_thread_self() local
Darray.c134 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, in task_state()
343 int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, in proc_pid_status()
364 static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, in do_task_stat()
544 int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tid_stat()
550 int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tgid_stat()
556 int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, in proc_pid_statm()
Dbase.c199 static int proc_pid_cmdline(struct seq_file *m, struct pid_namespace *ns, in proc_pid_cmdline()
211 static int proc_pid_auxv(struct seq_file *m, struct pid_namespace *ns, in proc_pid_auxv()
233 static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns, in proc_pid_wchan()
272 static int proc_pid_stack(struct seq_file *m, struct pid_namespace *ns, in proc_pid_stack()
309 static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns, in proc_pid_schedstat()
381 static int proc_oom_score(struct seq_file *m, struct pid_namespace *ns, in proc_oom_score()
422 static int proc_pid_limits(struct seq_file *m, struct pid_namespace *ns, in proc_pid_limits()
464 static int proc_pid_syscall(struct seq_file *m, struct pid_namespace *ns, in proc_pid_syscall()
582 struct pid_namespace *ns; in proc_single_show() local
1957 struct pid_namespace *ns; member
[all …]
Dproc_net.c110 struct nsproxy *ns; in get_proc_task_net() local
/linux-4.1.27/fs/
Dnsfs.c27 struct ns_common *ns = inode->i_private; in ns_prune_dentry() local
41 struct ns_common *ns = inode->i_private; in nsfs_evict() local
53 struct ns_common *ns; in ns_get_path() local
111 struct ns_common *ns; in ns_get_name() local
Dnamespace.c700 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint() local
779 static void touch_mnt_namespace(struct mnt_namespace *ns) in touch_mnt_namespace()
790 static void __touch_mnt_namespace(struct mnt_namespace *ns) in __touch_mnt_namespace()
1643 struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns()
2723 static void free_mnt_ns(struct mnt_namespace *ns) in free_mnt_ns()
2763 struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, in copy_mnt_ns()
2856 struct mnt_namespace *ns; in mount_subtree() local
3069 struct mnt_namespace *ns; in init_mount_tree() local
3136 void put_mnt_ns(struct mnt_namespace *ns) in put_mnt_ns()
3201 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in fs_fully_visible() local
[all …]
Dmount.h9 struct ns_common ns; member
102 static inline void get_mnt_ns(struct mnt_namespace *ns) in get_mnt_ns()
121 struct mnt_namespace *ns; member
Dproc_namespace.c21 struct mnt_namespace *ns = p->ns; in mounts_poll() local
238 struct mnt_namespace *ns = NULL; in mounts_open_common() local
Dpnode.c33 struct mnt_namespace *ns, in get_peer_under_root()
/linux-4.1.27/drivers/gpu/drm/i915/
Ddvo_ns2501.c379 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_readb() local
424 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_writeb() local
460 struct ns2501_priv *ns; in ns2501_init() local
537 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_mode_set() local
577 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_dpms() local
615 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_destroy() local
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_fcs_lport.c3711 bfa_fcs_lport_ns_sm_offline(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_offline()
3732 bfa_fcs_lport_ns_sm_plogi_sending(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_sending()
3755 bfa_fcs_lport_ns_sm_plogi(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi()
3790 bfa_fcs_lport_ns_sm_plogi_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_retry()
3816 bfa_fcs_lport_ns_sm_sending_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rnn_id()
3838 bfa_fcs_lport_ns_sm_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id()
3878 bfa_fcs_lport_ns_sm_rnn_id_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id_retry()
3901 bfa_fcs_lport_ns_sm_sending_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rsnn_nn()
3924 bfa_fcs_lport_ns_sm_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rsnn_nn()
3963 bfa_fcs_lport_ns_sm_rsnn_nn_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rsnn_nn_retry()
[all …]
/linux-4.1.27/net/ax25/
Dax25_std_in.c144 static int ax25_std_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int n… in ax25_std_state3_machine()
269 static int ax25_std_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int n… in ax25_std_state4_machine()
424 int queued = 0, frametype, ns, nr, pf; in ax25_std_frame_in() local
Dax25_ds_in.c148 static int ax25_ds_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr… in ax25_ds_state3_machine()
284 int queued = 0, frametype, ns, nr, pf; in ax25_ds_frame_in() local
Dax25_subr.c100 int ax25_decode(ax25_cb *ax25, struct sk_buff *skb, int *ns, int *nr, int *pf) in ax25_decode()
/linux-4.1.27/drivers/of/
Dfdt_address.c23 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ argument
72 int na, int ns, int pna) in fdt_bus_default_map()
113 int na, int ns, int pna, const char *rprop) in fdt_translate_one()
170 int na, ns, pna, pns; in fdt_translate_address() local
Daddress.c15 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument
62 int na, int ns, int pna) in of_bus_default_map()
140 static u64 of_bus_pci_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_pci_map()
181 int onesize, i, na, ns; in of_get_pci_address() local
235 const int na = 3, ns = 2; in of_pci_range_parser_init() local
255 const int na = 3, ns = 2; in of_pci_range_parser_one() local
363 static u64 of_bus_isa_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_isa_map()
475 int na, int ns, int pna, const char *rprop) in of_translate_one()
549 int na, ns, pna, pns; in __of_translate_address() local
638 int onesize, i, na, ns; in of_get_address() local
/linux-4.1.27/fs/kernfs/
Ddir.c185 static unsigned int kernfs_name_hash(const char *name, const void *ns) in kernfs_name_hash()
202 const void *ns, const struct kernfs_node *kn) in kernfs_name_compare()
643 const void *ns) in kernfs_find_ns()
685 const char *name, const void *ns) in kernfs_find_and_get_ns()
766 void *priv, const void *ns) in kernfs_create_dir_ns()
829 const void *ns = NULL; in kernfs_iop_lookup() local
1247 const void *ns) in kernfs_remove_by_name_ns()
1359 static struct kernfs_node *kernfs_dir_pos(const void *ns, in kernfs_dir_pos()
1393 static struct kernfs_node *kernfs_dir_next_pos(const void *ns, in kernfs_dir_next_pos()
1414 const void *ns = NULL; in kernfs_fop_readdir() local
Dmount.c148 bool *new_sb_created, const void *ns) in kernfs_mount_ns()
226 struct super_block *kernfs_pin_sb(struct kernfs_root *root, const void *ns) in kernfs_pin_sb()
Dkernfs-internal.h66 const void *ns; member
Dfile.c913 void *priv, const void *ns, in __kernfs_create_file()
/linux-4.1.27/fs/sysfs/
Dmount.c30 void *ns; in sysfs_mount() local
48 void *ns = (void *)kernfs_super_ns(sb); in sysfs_kill_sb() local
Dfile.c240 umode_t mode, const void *ns) in sysfs_add_file_mode_ns()
320 const void *ns) in sysfs_create_file_ns()
409 const void *ns) in sysfs_remove_file_ns()
Ddir.c41 int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
Dsymlink.c123 const void *ns = NULL; in sysfs_delete_link() local
/linux-4.1.27/drivers/ptp/
Dptp_ixp46x.c56 u64 ns; in ixp_systime_read() local
69 static void ixp_systime_write(struct ixp46x_ts_regs *regs, u64 ns) in ixp_systime_write()
180 u64 ns; in ptp_ixp_gettime() local
200 u64 ns; in ptp_ixp_settime() local
Dptp_pch.c159 u64 ns; in pch_systime_read() local
172 static void pch_systime_write(struct pch_ts_regs __iomem *regs, u64 ns) in pch_systime_write()
257 u64 ns; in pch_rx_snap_read() local
274 u64 ns; in pch_tx_snap_read() local
454 u64 ns; in ptp_pch_gettime() local
472 u64 ns; in ptp_pch_settime() local
/linux-4.1.27/drivers/net/ethernet/ti/
Dcpts.c172 u64 ns; in cpts_ptp_gettime() local
188 u64 ns; in cpts_ptp_settime() local
288 u64 ns = 0; in cpts_find_ts() local
325 u64 ns; in cpts_rx_timestamp() local
340 u64 ns; in cpts_tx_timestamp() local
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c124 u64 ns = 0, clock_edge = 0; in ixgbe_ptp_setup_sdp() local
286 u64 ns; in ixgbe_ptp_gettime() local
311 u64 ns; in ixgbe_ptp_settime() local
464 u64 regval = 0, ns; in ixgbe_ptp_tx_hwtstamp() local
529 u64 regval = 0, ns; in ixgbe_ptp_rx_hwtstamp() local
/linux-4.1.27/arch/sparc/kernel/
Dof_device_32.c49 int na, int ns, int pna) in of_bus_pci_map()
121 int na, int ns, int pna) in of_bus_ambapp_map()
190 int na, int ns, int pna) in build_one_resource()
249 int na, ns; in build_device_resources() local
Dof_device_64.c87 int na, int ns, int pna) in of_bus_simba_map()
102 int na, int ns, int pna) in of_bus_pci_map()
244 int na, int ns, int pna) in build_one_resource()
319 int na, ns; in build_device_resources() local
Dof_device_common.c96 const u32 *size, int na, int ns) in of_out_of_range()
111 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna) in of_bus_default_map()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c173 u64 ns; in mlx4_en_phc_gettime() local
197 u64 ns = timespec64_to_ns(ts); in mlx4_en_phc_settime() local
261 u64 ns, zero = 0; in mlx4_en_init_timestamp() local
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c64 u64 ns; in i40e_ptp_read() local
87 u64 ns = timespec64_to_ns(ts); in i40e_ptp_write() local
311 u64 ns; in i40e_ptp_tx_hwtstamp() local
348 u64 ns; in i40e_ptp_rx_hwtstamp() local
/linux-4.1.27/tools/perf/scripts/python/
Dfutex-contention.py24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
/linux-4.1.27/security/tomoyo/
Dcommon.c343 void tomoyo_init_policy_namespace(struct tomoyo_policy_namespace *ns) in tomoyo_init_policy_namespace()
485 (struct tomoyo_policy_namespace *ns, const unsigned int profile) in tomoyo_assign_profile()
527 struct tomoyo_profile *tomoyo_profile(const struct tomoyo_policy_namespace *ns, in tomoyo_profile()
731 struct tomoyo_policy_namespace *ns = in tomoyo_read_profile() local
1100 static int tomoyo_write_domain2(struct tomoyo_policy_namespace *ns, in tomoyo_write_domain2()
1149 struct tomoyo_policy_namespace *ns; in tomoyo_write_domain() local
1744 struct tomoyo_policy_namespace *ns = in tomoyo_read_group() local
1800 struct tomoyo_policy_namespace *ns = in tomoyo_read_policy() local
1857 struct tomoyo_policy_namespace *ns = in tomoyo_read_exception() local
2472 struct list_head *ns; in tomoyo_set_namespace_cursor() local
[all …]
Ddomain.c332 (const struct tomoyo_policy_namespace *ns, in tomoyo_transition_type()
425 struct tomoyo_policy_namespace *ns; in tomoyo_find_namespace() local
Daudit.c321 static bool tomoyo_get_audit(const struct tomoyo_policy_namespace *ns, in tomoyo_get_audit()
Dgc.c514 struct tomoyo_policy_namespace *ns; in tomoyo_collect_entry() local
Dutil.c975 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, in tomoyo_get_mode()
Dcommon.h682 struct tomoyo_policy_namespace *ns; member
778 struct tomoyo_policy_namespace *ns; member
797 struct list_head *ns; member
817 struct tomoyo_policy_namespace *ns; member
/linux-4.1.27/tools/testing/selftests/timers/
Dnanosleep.c101 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
111 int nanosleep_test(int clockid, long long ns) in nanosleep_test()
Dnsleep-lat.c90 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
109 int nanosleep_lat_test(int clockid, long long ns) in nanosleep_lat_test()
Dmqueue-lat.c59 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
Dleap-a-day.c78 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
Draw_skew.c63 struct timespec nsec_to_ts(long long ns) in nsec_to_ts()
/linux-4.1.27/net/rose/
Drose_in.c104 static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr,… in rose_state3_machine()
266 int queued = 0, frametype, ns, nr, q, d, m; in rose_process_rx_frame() local
Drose_subr.c201 int rose_decode(struct sk_buff *skb, int *ns, int *nr, int *q, int *d, int *m) in rose_decode()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dptp.c114 u64 ns; in e1000e_phc_gettime() local
139 u64 ns; in e1000e_phc_settime() local
/linux-4.1.27/drivers/net/ethernet/freescale/
Dfec_ptp.c116 u64 ns; in fec_ptp_enable_pps() local
397 u64 ns; in fec_ptp_gettime() local
423 u64 ns; in fec_ptp_settime() local
545 u64 ns; in fec_time_keep() local
Dgianfar_ptp.c159 u64 ns; in tmr_cnt_read() local
170 static void tmr_cnt_write(struct etsects *etsects, u64 ns) in tmr_cnt_write()
182 u64 ns; in set_alarm() local
210 u64 ns; in isr() local
328 u64 ns; in ptp_gianfar_gettime() local
346 u64 ns; in ptp_gianfar_settime() local
/linux-4.1.27/drivers/spi/
Dspi-bitbang.c64 unsigned ns, in bitbang_txrx_8()
90 unsigned ns, in bitbang_txrx_16()
116 unsigned ns, in bitbang_txrx_32()
/linux-4.1.27/arch/tile/kernel/vdso/
Dvgettimeofday.c67 u64 ns; in do_realtime() local
86 u64 ns; in do_monotonic() local
/linux-4.1.27/net/llc/
Dllc_c_ev.c59 static u16 llc_util_ns_inside_rx_window(u8 ns, u8 vr, u8 rw) in llc_util_ns_inside_rx_window()
201 const u8 ns = LLC_I_GET_NS(pdu); in llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns() local
213 const u8 ns = LLC_I_GET_NS(pdu); in llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns() local
225 const u8 ns = LLC_I_GET_NS(pdu); in llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns() local
268 const u8 ns = LLC_I_GET_NS(pdu); in llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns() local
280 const u8 ns = LLC_I_GET_NS(pdu); in llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns() local
292 const u8 ns = LLC_I_GET_NS(pdu); in llc_conn_ev_rx_i_rsp_fbit_set_x_unexpd_ns() local
303 const u8 ns = LLC_I_GET_NS(pdu); in llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns() local
Dllc_pdu.c107 void llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr) in llc_pdu_init_as_i_cmd()
/linux-4.1.27/arch/mips/include/asm/
Ddelay.h20 #define ndelay(ns) __ndelay(ns) argument
/linux-4.1.27/net/x25/
Dx25_in.c204 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, … in x25_state3_machine()
384 int queued = 0, frametype, ns, nr, q, d, m; in x25_process_rx_frame() local
Dx25_subr.c270 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, in x25_decode()
/linux-4.1.27/arch/mips/lib/
Ddelay.c58 void __ndelay(unsigned long ns) in __ndelay()
/linux-4.1.27/net/core/
Dnet_namespace.c306 struct net *ns = p; in net_drop_ns() local
424 struct ns_common *ns; in get_net_ns_by_fd() local
935 static inline struct net *to_net_ns(struct ns_common *ns) in to_net_ns()
940 static void netns_put(struct ns_common *ns) in netns_put()
945 static int netns_install(struct nsproxy *nsproxy, struct ns_common *ns) in netns_install()
Dnet-sysfs.c851 const void *ns = NULL; in rx_queue_namespace() local
1246 const void *ns = NULL; in netdev_queue_namespace() local
1375 struct net *ns = current->nsproxy->net_ns; in net_grab_current_ns() local
1539 const void *ns) in netdev_class_create_file_ns()
1546 const void *ns) in netdev_class_remove_file_ns()
/linux-4.1.27/sound/drivers/pcsp/
Dpcsp_lib.c46 u64 ns; in pcsp_timer_update() local
132 u64 ns; in pcsp_do_timer() local
/linux-4.1.27/tools/perf/util/
Dtsc.c6 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) in perf_time_to_tsc()
/linux-4.1.27/arch/powerpc/boot/
Dsimpleboot.c31 const u32 *na, *ns, *reg, *timebase; in platform_init() local
Daddnote.c123 long nnote, nnote2, ns; in main() local
/linux-4.1.27/arch/x86/vdso/
Dvclock_gettime.c233 u64 ns; in do_realtime() local
254 u64 ns; in do_monotonic() local
/linux-4.1.27/lib/
Dkobject_uevent.c103 const void *sock_ns, *ns; in kobj_bcast_filter() local
120 const void *init_ns, *ns; in kobj_usermode_filter() local
Dkobject.c1010 void *ns = NULL; in kobj_ns_grab_current() local
1023 const void *ns = NULL; in kobj_ns_netlink() local
1036 const void *ns = NULL; in kobj_ns_initial() local
1047 void kobj_ns_drop(enum kobj_ns_type type, void *ns) in kobj_ns_drop()
/linux-4.1.27/virt/kvm/arm/
Darch_timer.c46 static void timer_arm(struct arch_timer_cpu *timer, u64 ns) in timer_arm()
166 u64 ns; in kvm_timer_sync_hwstate() local
/linux-4.1.27/kernel/time/
Dsched_clock.c145 u64 ns; in update_sched_clock() local
170 u64 res, wrap, new_mask, new_epoch, cyc, ns; in sched_clock_register() local
Dtimecounter.c85 u64 ns = (u64) cycles; in cc_cyc2ns_backwards() local
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_ptp.c171 u64 ns; in igb_ptp_systim_to_hwtstamp() local
292 u64 ns; in igb_ptp_gettime_82576() local
327 u64 ns; in igb_ptp_settime_82576() local
470 s64 ns; in igb_ptp_feature_enable_i210() local
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_dlm.h509 static inline int ns_is_client(struct ldlm_namespace *ns) in ns_is_client()
522 static inline int ns_is_server(struct ldlm_namespace *ns) in ns_is_server()
535 static inline int ns_connect_cancelset(struct ldlm_namespace *ns) in ns_connect_cancelset()
544 static inline int ns_connect_lru_resize(struct ldlm_namespace *ns) in ns_connect_lru_resize()
550 static inline void ns_register_cancel(struct ldlm_namespace *ns, in ns_register_cancel()
966 ldlm_ns_name(struct ldlm_namespace *ns) in ldlm_ns_name()
997 struct ldlm_namespace *ns = ldlm_res_to_ns(res); in ldlm_lvbo_init() local
1007 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lvbo_size() local
1017 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lvbo_fill() local
/linux-4.1.27/arch/cris/arch-v10/kernel/
Dtime.c31 unsigned long ns; in get_ns_in_jiffie() local
/linux-4.1.27/security/apparmor/include/
Dpolicy.h204 struct aa_namespace *ns; member
378 static inline struct aa_namespace *aa_get_namespace(struct aa_namespace *ns) in aa_get_namespace()
392 static inline void aa_put_namespace(struct aa_namespace *ns) in aa_put_namespace()
/linux-4.1.27/net/nfc/hci/
Dllc_shdlc.c60 int ns; /* next seq num for send */ member
235 struct sk_buff *skb, int ns, int nr) in llc_shdlc_rcv_i_frame()
475 int ns; in llc_shdlc_handle_rcv_queue() local
516 static int llc_shdlc_w_used(int ns, int dnr) in llc_shdlc_w_used()
/linux-4.1.27/drivers/media/i2c/cx25840/
Dcx25840-ir.c153 static inline u16 ns_to_clock_divider(unsigned int ns) in ns_to_clock_divider()
207 static inline u16 ns_to_lpf_count(unsigned int ns) in ns_to_lpf_count()
306 static u64 ns_to_pulse_clocks(u32 ns) in ns_to_pulse_clocks()
443 static u32 txclk_tx_s_max_pulse_width(struct i2c_client *c, u32 ns, in txclk_tx_s_max_pulse_width()
456 static u32 rxclk_rx_s_max_pulse_width(struct i2c_client *c, u32 ns, in rxclk_rx_s_max_pulse_width()
/linux-4.1.27/drivers/net/ethernet/adi/
Dbfin_mac.c856 u64 ns; in bfin_tx_hwtstamp() local
873 u64 regval, ns; in bfin_rx_hwtstamp() local
917 u64 ns; in bfin_ptp_time_read() local
930 static void bfin_ptp_time_write(struct bfin_mac_local *lp, u64 ns) in bfin_ptp_time_write()
988 u64 ns; in bfin_ptp_gettime() local
1007 u64 ns; in bfin_ptp_settime() local
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_hwtstamp.c132 u64 ns; in stmmac_get_systime() local
Dstmmac_ptp.c113 u64 ns; in stmmac_get_time() local
Dnorm_desc.c234 u64 ns; in ndesc_get_timestamp() local
Denh_desc.c351 u64 ns; in enh_desc_get_timestamp() local
Dstmmac_main.c347 u64 ns; in stmmac_get_tx_hwtstamp() local
389 u64 ns; in stmmac_get_rx_hwtstamp() local
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_ptp.c145 s64 ns = ktime_to_ns(ktime_get_real()); in fm10k_ts_reset() local
310 u64 ns = timespec64_to_ns(ts); in fm10k_ptp_settime() local
/linux-4.1.27/include/linux/regulator/
Dfixed.h73 #define regulator_register_fixed(id, s, ns) regulator_register_always_on(id, \ argument
/linux-4.1.27/drivers/media/pci/cx23885/
Dcx23888-ir.c187 static inline u16 ns_to_clock_divider(unsigned int ns) in ns_to_clock_divider()
241 static inline u16 ns_to_lpf_count(unsigned int ns) in ns_to_lpf_count()
314 static u64 ns_to_pulse_clocks(u32 ns) in ns_to_pulse_clocks()
458 static u32 txclk_tx_s_max_pulse_width(struct cx23885_dev *dev, u32 ns, in txclk_tx_s_max_pulse_width()
471 static u32 rxclk_rx_s_max_pulse_width(struct cx23885_dev *dev, u32 ns, in rxclk_rx_s_max_pulse_width()
/linux-4.1.27/net/netrom/
Dnr_in.c155 unsigned short nr, ns; in nr_state3_machine() local
Dnr_subr.c104 int nr_in_rx_window(struct sock *sk, unsigned short ns) in nr_in_rx_window()
/linux-4.1.27/arch/s390/include/asm/
Dtimex.h156 unsigned long long ns; in tod_to_ns() local
/linux-4.1.27/drivers/pcmcia/
Di82365.c448 static u_int __init set_bridge_opts(u_short s, u_short ns) in set_bridge_opts()
565 static int to_cycles(int ns) in to_cycles()
673 static void __init add_pcic(int ns, int type) in add_pcic()
755 int i, j, sock, k, ns, id; in isa_probe() local
Di82092.c284 static int to_cycles(int ns) in to_cycles()
Dpd6729.c37 #define to_cycles(ns) ((ns)/120) argument
Dtcic.c190 static int to_cycles(int ns) in to_cycles()
/linux-4.1.27/drivers/base/
Dclass.c90 const void *ns) in class_create_file_ns()
103 const void *ns) in class_remove_file_ns()
/linux-4.1.27/arch/mips/cavium-octeon/
Dcsrc-octeon.c152 void __ndelay(unsigned long ns) in __ndelay()
/linux-4.1.27/drivers/misc/
Dioc4.c208 u64 ns = period; in ioc4_clock_calibrate() local
/linux-4.1.27/arch/cris/arch-v32/kernel/
Dtime.c62 unsigned long ns; in get_ns_in_jiffie() local
/linux-4.1.27/drivers/devfreq/exynos/
Dexynos_ppmu.h66 unsigned long long ns; member
/linux-4.1.27/drivers/clk/st/
Dclkgen-fsyn.c800 unsigned long ns; in clk_fs216c65_get_rate() local
823 unsigned long ns; in clk_fs432c65_get_rate() local
842 unsigned long ns; in clk_fs660c32_dig_get_rate() local
/linux-4.1.27/drivers/cpufreq/
Dsa1110-cpufreq.c125 static inline u_int ns_to_cycles(u_int ns, u_int khz) in ns_to_cycles()
/linux-4.1.27/drivers/staging/comedi/drivers/
Ddt2814.c103 static int dt2814_ns_to_timer(unsigned int *ns, unsigned int flags) in dt2814_ns_to_timer()
Damplc_pci230.c629 static unsigned int pci230_divide_ns(uint64_t ns, unsigned int timebase, in pci230_divide_ns()
655 static unsigned int pci230_choose_clk_count(uint64_t ns, unsigned int *count, in pci230_choose_clk_count()
669 static void pci230_ns_to_single_timer(unsigned int *ns, unsigned int flags) in pci230_ns_to_single_timer()
679 unsigned int mode, uint64_t ns, in pci230_ct_setup_ns_mode()
Dni_labpc_common.c301 enum scan_mode mode, unsigned int ns) in labpc_set_ai_convert_period()
329 enum scan_mode mode, unsigned int ns) in labpc_set_ai_scan_period()
Dcomedi_8254.c376 unsigned int ns; in comedi_8254_cascade_ns_to_timer() local
Daddi_apci_3xxx.c470 unsigned int *ns, unsigned int flags) in apci3xxx_ai_ns_to_timer()
Dquatech_daqp_cs.c341 static int daqp_ns_to_timer(unsigned int *ns, unsigned int flags) in daqp_ns_to_timer()
/linux-4.1.27/net/l2tp/
Dl2tp_core.c95 u32 ns; member
379 u32 ns = L2TP_SKB_CB(skb)->ns; in l2tp_recv_queue_skb() local
643 u32 ns, nr; in l2tp_recv_common() local
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c1909 struct nid_stat *ns; in nidstats_key() local
1931 struct nid_stat *ns; in nidstats_get() local
1940 struct nid_stat *ns; in nidstats_put_locked() local
/linux-4.1.27/drivers/ssb/
Ddriver_extif.c86 void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) in ssb_extif_timing_init()
Ddriver_mipscore.c296 unsigned long hz, ns; in ssb_mipscore_init() local
Ddriver_chipcommon.c435 unsigned long ns) in ssb_chipco_timing_init()
/linux-4.1.27/fs/ntfs/
Dunistr.c340 unsigned char *ns; in ntfs_ucstonls() local
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_reint.c73 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in mdc_resource_get_unused() local
/linux-4.1.27/tools/perf/util/scripting-engines/
Dtrace-event-perl.c255 unsigned long s, ns; in perl_process_tracepoint() local
/linux-4.1.27/drivers/memory/
Djz4780-nemc.c149 static uint32_t jz4780_nemc_ns_to_cycles(struct jz4780_nemc *nemc, uint32_t ns) in jz4780_nemc_ns_to_cycles()
/linux-4.1.27/include/net/
Dcodel.h69 u64 ns = ktime_get_ns(); in codel_get_time() local
Dlapb.h72 unsigned short nr, ns; /* N(R), N(S) */ member
Dnet_namespace.h63 struct ns_common ns; member
/linux-4.1.27/fs/ncpfs/
Dncplib_kernel.c454 __u8 ns, __u8 volnum, __le32 dirent, in ncp_obtain_DOS_dir_base()
528 int ns = ncp_get_known_namespace(server, volume); in ncp_update_known_namespace() local
710 const char* name, __u8 ns, __le16 attr) in ncp_DeleteNSEntry()
/linux-4.1.27/kernel/sched/
Dstats.h257 unsigned long long ns) in account_group_exec_runtime()
/linux-4.1.27/drivers/mtd/nand/bcm47xxnflash/
Dops_bcm4706.c42 static inline u8 bcm47xxnflash_ops_bcm4706_ns_to_cycle(u16 ns, u16 clock) in bcm47xxnflash_ops_bcm4706_ns_to_cycle()
/linux-4.1.27/drivers/ata/
Dpata_at91.c178 static unsigned long calc_mck_cycles(unsigned long ns, unsigned long mck_hz) in calc_mck_cycles()
/linux-4.1.27/drivers/net/phy/
Ddp83640.c101 u64 ns; member
292 u64 ns; in phy2txts() local
882 u64 ns; in decode_txts() local
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_desc.c468 u64 ns; in sxgbe_get_rx_timestamp() local
/linux-4.1.27/arch/powerpc/include/asm/
Deeh.h427 int ns) in eeh_readsb()
435 int ns) in eeh_readsw()
/linux-4.1.27/security/selinux/include/
Dobjsec.h82 struct net *ns; /* network namespace */ member
/linux-4.1.27/net/irda/
Dirlap.c714 int irlap_validate_ns_received(struct irlap_cb *self, int ns) in irlap_validate_ns_received()
/linux-4.1.27/drivers/net/ethernet/sfc/
Dptp.c405 static void efx_ptp_ns_to_s_ns(s64 ns, u32 *nic_major, u32 *nic_minor) in efx_ptp_ns_to_s_ns()
435 static void efx_ptp_ns_to_s27(s64 ns, u32 *nic_major, u32 *nic_minor) in efx_ptp_ns_to_s27()
456 u32 ns = (u32)(((u64)nic_minor * NSEC_PER_SEC + in efx_ptp_s27_to_ktime() local
/linux-4.1.27/drivers/isdn/capi/
Dcapiutil.c582 size_t ns = 2 * cdb->size; in bufprint() local
/linux-4.1.27/security/
Dcommoncap.c79 struct user_namespace *ns = targ_ns; in cap_capable() local
/linux-4.1.27/include/linux/ssb/
Dssb_driver_extif.h211 void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) in ssb_extif_timing_init()
/linux-4.1.27/drivers/pci/host/
Dpci-xgene.c393 const int na = 3, ns = 2; in pci_dma_range_parser_init() local
/linux-4.1.27/drivers/mmc/host/
Dmxs-mmc.c335 static unsigned short mxs_ns_to_ssp_ticks(unsigned clock_rate, unsigned ns) in mxs_ns_to_ssp_ticks()
/linux-4.1.27/scripts/genksyms/
Dgenksyms.c166 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) in find_symbol()
/linux-4.1.27/drivers/i2c/busses/
Di2c-axxia.c126 static u32 ns_to_clk(u64 ns, u32 clk_mhz) in ns_to_clk()
/linux-4.1.27/fs/lockd/
Dmon.c320 s64 ns; in nsm_init_private() local
/linux-4.1.27/drivers/net/ethernet/octeon/
Docteon_mgmt.c293 u64 ns; in octeon_mgmt_clean_tx_buffers() local
408 u64 ns = *(u64 *)skb->data; in octeon_mgmt_receive_one() local
/linux-4.1.27/include/net/irda/
Dirlap.h108 __u8 ns; /* Sequence number of frame sent */ member
/linux-4.1.27/net/atm/
Dclip.c780 struct neigh_seq_state ns; member
/linux-4.1.27/arch/x86/kernel/
Dtsc.c204 unsigned long long ns; in cycles_2_ns() local

12