/linux-4.1.27/ipc/ |
D | namespace.c | 22 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
|
D | util.h | 28 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()
|
D | shm.c | 52 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 …]
|
D | msg.c | 75 #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 …]
|
D | sem.c | 143 #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 …]
|
D | util.c | 279 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
|
D | mqueue.c | 112 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()
|
D | ipc_sysctl.c | 55 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in proc_ipc_dointvec_minmax_orphans() local
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_resource.c | 159 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 …]
|
D | ldlm_request.c | 395 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 …]
|
D | ldlm_lock.c | 155 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 …]
|
D | ldlm_lockd.c | 142 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
|
D | ldlm_pool.c | 531 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
|
D | ldlm_internal.h | 88 static inline int ldlm_ns_empty(struct ldlm_namespace *ns) in ldlm_ns_empty()
|
D | ldlm_flock.c | 250 struct ldlm_namespace *ns = ldlm_res_to_ns(res); in ldlm_process_flock_lock() local
|
/linux-4.1.27/kernel/ |
D | utsname.c | 38 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
|
D | user_namespace.c | 61 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 …]
|
D | pid_namespace.c | 75 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()
|
D | pid.c | 42 #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 …]
|
D | acct.c | 88 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
|
D | capability.c | 296 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
|
D | nsproxy.c | 158 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
|
D | delayacct.c | 54 s64 ns = ktime_get_ns() - *start; in delayacct_end() local
|
D | sys.c | 331 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
|
D | ptrace.c | 210 static int ptrace_has_cap(struct user_namespace *ns, unsigned int mode) in ptrace_has_cap()
|
/linux-4.1.27/include/linux/ |
D | utsname.h | 27 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()
|
D | user_namespace.h | 34 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()
|
D | pid_namespace.h | 47 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()
|
D | proc_ns.h | 48 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
|
D | ipc_namespace.h | 62 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()
|
D | nsproxy.h | 73 static inline void put_nsproxy(struct nsproxy *ns) in put_nsproxy() 80 static inline void get_nsproxy(struct nsproxy *ns) in get_nsproxy()
|
D | uidgid.h | 130 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()
|
D | projid.h | 57 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()
|
D | kernfs.h | 123 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()
|
D | pid.h | 53 struct pid_namespace *ns; member 136 struct pid_namespace *ns = NULL; in ns_of_pid() local
|
D | capability.h | 223 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()
|
D | acct.h | 33 #define acct_exit_ns(ns) do { } while (0) argument
|
D | ktime.h | 178 s64 ns = kt.tv64; in ktime_divns() local 283 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime()
|
D | sysfs.h | 283 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()
|
D | timecounter.h | 82 u64 ns = (u64) cycles; in cyclecounter_cyc2ns() local
|
D | time.h | 233 static __always_inline void timespec_add_ns(struct timespec *a, u64 ns) in timespec_add_ns()
|
D | time64.h | 182 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) in timespec64_add_ns()
|
D | ptrace.h | 174 struct pid_namespace *ns; in ptrace_event_pid() local
|
D | hrtimer.h | 230 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
|
D | nvme.h | 144 static inline u64 nvme_block_nr(struct nvme_ns *ns, sector_t sector) in nvme_block_nr()
|
/linux-4.1.27/drivers/mtd/nand/ |
D | nandsim.c | 203 #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 …]
|
D | txx9ndfmc.c | 255 #define TXX9NDFMC_NS_TO_CYC(gbusclk, ns) \ argument
|
/linux-4.1.27/security/apparmor/ |
D | policy.c | 277 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 …]
|
D | domain.c | 96 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
|
D | apparmorfs.c | 477 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
|
D | procattr.c | 42 struct aa_namespace *ns = profile->ns; in aa_getprocattr() local
|
D | policy_unpack.c | 640 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/ |
D | persistent.c | 22 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/ |
D | clk-rcg.c | 26 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/ |
D | netif.c | 56 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/ |
D | drbd_state.c | 37 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 …]
|
D | drbd_worker.c | 845 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/ |
D | nvme-scsi.c | 671 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 …]
|
D | nvme-core.c | 506 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/ |
D | root.c | 35 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()
|
D | self.c | 13 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
|
D | thread_self.c | 13 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
|
D | array.c | 134 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()
|
D | base.c | 199 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 …]
|
D | proc_net.c | 110 struct nsproxy *ns; in get_proc_task_net() local
|
/linux-4.1.27/fs/ |
D | nsfs.c | 27 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
|
D | namespace.c | 700 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 …]
|
D | mount.h | 9 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
|
D | proc_namespace.c | 21 struct mnt_namespace *ns = p->ns; in mounts_poll() local 238 struct mnt_namespace *ns = NULL; in mounts_open_common() local
|
D | pnode.c | 33 struct mnt_namespace *ns, in get_peer_under_root()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | dvo_ns2501.c | 379 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/ |
D | bfa_fcs_lport.c | 3711 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/ |
D | ax25_std_in.c | 144 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
|
D | ax25_ds_in.c | 148 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
|
D | ax25_subr.c | 100 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/ |
D | fdt_address.c | 23 #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
|
D | address.c | 15 #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/ |
D | dir.c | 185 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
|
D | mount.c | 148 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()
|
D | kernfs-internal.h | 66 const void *ns; member
|
D | file.c | 913 void *priv, const void *ns, in __kernfs_create_file()
|
/linux-4.1.27/fs/sysfs/ |
D | mount.c | 30 void *ns; in sysfs_mount() local 48 void *ns = (void *)kernfs_super_ns(sb); in sysfs_kill_sb() local
|
D | file.c | 240 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()
|
D | dir.c | 41 int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
|
D | symlink.c | 123 const void *ns = NULL; in sysfs_delete_link() local
|
/linux-4.1.27/drivers/ptp/ |
D | ptp_ixp46x.c | 56 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
|
D | ptp_pch.c | 159 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/ |
D | cpts.c | 172 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/ |
D | ixgbe_ptp.c | 124 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/ |
D | of_device_32.c | 49 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
|
D | of_device_64.c | 87 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
|
D | of_device_common.c | 96 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/ |
D | en_clock.c | 173 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/ |
D | i40e_ptp.c | 64 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/ |
D | futex-contention.py | 24 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/ |
D | common.c | 343 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 …]
|
D | domain.c | 332 (const struct tomoyo_policy_namespace *ns, in tomoyo_transition_type() 425 struct tomoyo_policy_namespace *ns; in tomoyo_find_namespace() local
|
D | audit.c | 321 static bool tomoyo_get_audit(const struct tomoyo_policy_namespace *ns, in tomoyo_get_audit()
|
D | gc.c | 514 struct tomoyo_policy_namespace *ns; in tomoyo_collect_entry() local
|
D | util.c | 975 int tomoyo_get_mode(const struct tomoyo_policy_namespace *ns, const u8 profile, in tomoyo_get_mode()
|
D | common.h | 682 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/ |
D | nanosleep.c | 101 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()
|
D | nsleep-lat.c | 90 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()
|
D | mqueue-lat.c | 59 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
|
D | leap-a-day.c | 78 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
|
D | raw_skew.c | 63 struct timespec nsec_to_ts(long long ns) in nsec_to_ts()
|
/linux-4.1.27/net/rose/ |
D | rose_in.c | 104 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
|
D | rose_subr.c | 201 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/ |
D | ptp.c | 114 u64 ns; in e1000e_phc_gettime() local 139 u64 ns; in e1000e_phc_settime() local
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 116 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
|
D | gianfar_ptp.c | 159 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/ |
D | spi-bitbang.c | 64 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/ |
D | vgettimeofday.c | 67 u64 ns; in do_realtime() local 86 u64 ns; in do_monotonic() local
|
/linux-4.1.27/net/llc/ |
D | llc_c_ev.c | 59 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
|
D | llc_pdu.c | 107 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/ |
D | delay.h | 20 #define ndelay(ns) __ndelay(ns) argument
|
/linux-4.1.27/net/x25/ |
D | x25_in.c | 204 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
|
D | x25_subr.c | 270 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/ |
D | delay.c | 58 void __ndelay(unsigned long ns) in __ndelay()
|
/linux-4.1.27/net/core/ |
D | net_namespace.c | 306 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()
|
D | net-sysfs.c | 851 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/ |
D | pcsp_lib.c | 46 u64 ns; in pcsp_timer_update() local 132 u64 ns; in pcsp_do_timer() local
|
/linux-4.1.27/tools/perf/util/ |
D | tsc.c | 6 u64 perf_time_to_tsc(u64 ns, struct perf_tsc_conversion *tc) in perf_time_to_tsc()
|
/linux-4.1.27/arch/powerpc/boot/ |
D | simpleboot.c | 31 const u32 *na, *ns, *reg, *timebase; in platform_init() local
|
D | addnote.c | 123 long nnote, nnote2, ns; in main() local
|
/linux-4.1.27/arch/x86/vdso/ |
D | vclock_gettime.c | 233 u64 ns; in do_realtime() local 254 u64 ns; in do_monotonic() local
|
/linux-4.1.27/lib/ |
D | kobject_uevent.c | 103 const void *sock_ns, *ns; in kobj_bcast_filter() local 120 const void *init_ns, *ns; in kobj_usermode_filter() local
|
D | kobject.c | 1010 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/ |
D | arch_timer.c | 46 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/ |
D | sched_clock.c | 145 u64 ns; in update_sched_clock() local 170 u64 res, wrap, new_mask, new_epoch, cyc, ns; in sched_clock_register() local
|
D | timecounter.c | 85 u64 ns = (u64) cycles; in cc_cyc2ns_backwards() local
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 171 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/ |
D | lustre_dlm.h | 509 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/ |
D | time.c | 31 unsigned long ns; in get_ns_in_jiffie() local
|
/linux-4.1.27/security/apparmor/include/ |
D | policy.h | 204 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/ |
D | llc_shdlc.c | 60 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/ |
D | cx25840-ir.c | 153 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/ |
D | bfin_mac.c | 856 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/ |
D | stmmac_hwtstamp.c | 132 u64 ns; in stmmac_get_systime() local
|
D | stmmac_ptp.c | 113 u64 ns; in stmmac_get_time() local
|
D | norm_desc.c | 234 u64 ns; in ndesc_get_timestamp() local
|
D | enh_desc.c | 351 u64 ns; in enh_desc_get_timestamp() local
|
D | stmmac_main.c | 347 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/ |
D | fm10k_ptp.c | 145 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/ |
D | fixed.h | 73 #define regulator_register_fixed(id, s, ns) regulator_register_always_on(id, \ argument
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23888-ir.c | 187 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/ |
D | nr_in.c | 155 unsigned short nr, ns; in nr_state3_machine() local
|
D | nr_subr.c | 104 int nr_in_rx_window(struct sock *sk, unsigned short ns) in nr_in_rx_window()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | timex.h | 156 unsigned long long ns; in tod_to_ns() local
|
/linux-4.1.27/drivers/pcmcia/ |
D | i82365.c | 448 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
|
D | i82092.c | 284 static int to_cycles(int ns) in to_cycles()
|
D | pd6729.c | 37 #define to_cycles(ns) ((ns)/120) argument
|
D | tcic.c | 190 static int to_cycles(int ns) in to_cycles()
|
/linux-4.1.27/drivers/base/ |
D | class.c | 90 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/ |
D | csrc-octeon.c | 152 void __ndelay(unsigned long ns) in __ndelay()
|
/linux-4.1.27/drivers/misc/ |
D | ioc4.c | 208 u64 ns = period; in ioc4_clock_calibrate() local
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
D | time.c | 62 unsigned long ns; in get_ns_in_jiffie() local
|
/linux-4.1.27/drivers/devfreq/exynos/ |
D | exynos_ppmu.h | 66 unsigned long long ns; member
|
/linux-4.1.27/drivers/clk/st/ |
D | clkgen-fsyn.c | 800 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/ |
D | sa1110-cpufreq.c | 125 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/ |
D | dt2814.c | 103 static int dt2814_ns_to_timer(unsigned int *ns, unsigned int flags) in dt2814_ns_to_timer()
|
D | amplc_pci230.c | 629 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()
|
D | ni_labpc_common.c | 301 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()
|
D | comedi_8254.c | 376 unsigned int ns; in comedi_8254_cascade_ns_to_timer() local
|
D | addi_apci_3xxx.c | 470 unsigned int *ns, unsigned int flags) in apci3xxx_ai_ns_to_timer()
|
D | quatech_daqp_cs.c | 341 static int daqp_ns_to_timer(unsigned int *ns, unsigned int flags) in daqp_ns_to_timer()
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_core.c | 95 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/ |
D | obd_config.c | 1909 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/ |
D | driver_extif.c | 86 void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) in ssb_extif_timing_init()
|
D | driver_mipscore.c | 296 unsigned long hz, ns; in ssb_mipscore_init() local
|
D | driver_chipcommon.c | 435 unsigned long ns) in ssb_chipco_timing_init()
|
/linux-4.1.27/fs/ntfs/ |
D | unistr.c | 340 unsigned char *ns; in ntfs_ucstonls() local
|
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/ |
D | mdc_reint.c | 73 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in mdc_resource_get_unused() local
|
/linux-4.1.27/tools/perf/util/scripting-engines/ |
D | trace-event-perl.c | 255 unsigned long s, ns; in perl_process_tracepoint() local
|
/linux-4.1.27/drivers/memory/ |
D | jz4780-nemc.c | 149 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/ |
D | codel.h | 69 u64 ns = ktime_get_ns(); in codel_get_time() local
|
D | lapb.h | 72 unsigned short nr, ns; /* N(R), N(S) */ member
|
D | net_namespace.h | 63 struct ns_common ns; member
|
/linux-4.1.27/fs/ncpfs/ |
D | ncplib_kernel.c | 454 __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/ |
D | stats.h | 257 unsigned long long ns) in account_group_exec_runtime()
|
/linux-4.1.27/drivers/mtd/nand/bcm47xxnflash/ |
D | ops_bcm4706.c | 42 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/ |
D | pata_at91.c | 178 static unsigned long calc_mck_cycles(unsigned long ns, unsigned long mck_hz) in calc_mck_cycles()
|
/linux-4.1.27/drivers/net/phy/ |
D | dp83640.c | 101 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/ |
D | sxgbe_desc.c | 468 u64 ns; in sxgbe_get_rx_timestamp() local
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | eeh.h | 427 int ns) in eeh_readsb() 435 int ns) in eeh_readsw()
|
/linux-4.1.27/security/selinux/include/ |
D | objsec.h | 82 struct net *ns; /* network namespace */ member
|
/linux-4.1.27/net/irda/ |
D | irlap.c | 714 int irlap_validate_ns_received(struct irlap_cb *self, int ns) in irlap_validate_ns_received()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | ptp.c | 405 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/ |
D | capiutil.c | 582 size_t ns = 2 * cdb->size; in bufprint() local
|
/linux-4.1.27/security/ |
D | commoncap.c | 79 struct user_namespace *ns = targ_ns; in cap_capable() local
|
/linux-4.1.27/include/linux/ssb/ |
D | ssb_driver_extif.h | 211 void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) in ssb_extif_timing_init()
|
/linux-4.1.27/drivers/pci/host/ |
D | pci-xgene.c | 393 const int na = 3, ns = 2; in pci_dma_range_parser_init() local
|
/linux-4.1.27/drivers/mmc/host/ |
D | mxs-mmc.c | 335 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/ |
D | genksyms.c | 166 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) in find_symbol()
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-axxia.c | 126 static u32 ns_to_clk(u64 ns, u32 clk_mhz) in ns_to_clk()
|
/linux-4.1.27/fs/lockd/ |
D | mon.c | 320 s64 ns; in nsm_init_private() local
|
/linux-4.1.27/drivers/net/ethernet/octeon/ |
D | octeon_mgmt.c | 293 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/ |
D | irlap.h | 108 __u8 ns; /* Sequence number of frame sent */ member
|
/linux-4.1.27/net/atm/ |
D | clip.c | 780 struct neigh_seq_state ns; member
|
/linux-4.1.27/arch/x86/kernel/ |
D | tsc.c | 204 unsigned long long ns; in cycles_2_ns() local
|