| /linux-4.4.14/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() 484 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 | 111 struct ipc_namespace *ns; in get_ns_from_inode() local 308 struct ipc_namespace *ns = data; in mqueue_fill_super() local 330 struct ipc_namespace *ns = current->nsproxy->ipc_ns; in mqueue_mount() local 1407 int mq_init_ns(struct ipc_namespace *ns) in mq_init_ns() 1425 void mq_clear_sbinfo(struct ipc_namespace *ns) in mq_clear_sbinfo() 1430 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.4.14/drivers/staging/lustre/lustre/ldlm/ |
| D | ldlm_resource.c | 158 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in resource_count_show() local 174 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lock_count_show() local 188 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lock_unused_count_show() local 198 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_size_show() local 210 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_size_store() local 295 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_max_age_show() local 304 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in lru_max_age_store() local 323 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in early_lock_cancel_show() local 334 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in early_lock_cancel_store() local 364 struct ldlm_namespace *ns = container_of(kobj, struct ldlm_namespace, in ldlm_ns_release() local [all …]
|
| D | ldlm_request.c | 287 static void failed_lock_cleanup(struct ldlm_namespace *ns, in failed_lock_cleanup() 338 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_cli_enqueue_fini() local 575 struct ldlm_namespace *ns = exp->exp_obd->obd_namespace; in ldlm_prep_elc_req() local 660 struct ldlm_namespace *ns; in ldlm_cli_enqueue() local 1013 struct ldlm_namespace *ns; in ldlm_cli_cancel() local 1108 static ldlm_policy_res_t ldlm_cancel_no_wait_policy(struct ldlm_namespace *ns, in ldlm_cancel_no_wait_policy() 1144 static ldlm_policy_res_t ldlm_cancel_lrur_policy(struct ldlm_namespace *ns, in ldlm_cancel_lrur_policy() 1183 static ldlm_policy_res_t ldlm_cancel_passed_policy(struct ldlm_namespace *ns, in ldlm_cancel_passed_policy() 1203 static ldlm_policy_res_t ldlm_cancel_aged_policy(struct ldlm_namespace *ns, in ldlm_cancel_aged_policy() 1224 static ldlm_policy_res_t ldlm_cancel_default_policy(struct ldlm_namespace *ns, in ldlm_cancel_default_policy() [all …]
|
| D | ldlm_lock.c | 219 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_remove_from_lru_nolock() local 235 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_remove_from_lru() local 249 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_add_to_lru_nolock() local 267 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_add_to_lru() local 280 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lock_touch_in_lru() local 464 int ldlm_lock_change_resource(struct ldlm_namespace *ns, struct ldlm_lock *lock, in ldlm_lock_change_resource() 772 struct ldlm_namespace *ns; in ldlm_lock_decref_internal() local 1195 ldlm_mode_t ldlm_lock_match(struct ldlm_namespace *ns, __u64 flags, in ldlm_lock_match() 1454 struct ldlm_lock *ldlm_lock_create(struct ldlm_namespace *ns, in ldlm_lock_create() 1517 ldlm_error_t ldlm_lock_enqueue(struct ldlm_namespace *ns, in ldlm_lock_enqueue() [all …]
|
| D | ldlm_lockd.c | 119 void ldlm_handle_bl_callback(struct ldlm_namespace *ns, in ldlm_handle_bl_callback() 158 struct ldlm_namespace *ns, in ldlm_handle_cp_callback() 307 struct ldlm_namespace *ns, in ldlm_handle_gl_callback() 382 struct ldlm_namespace *ns, in init_blwi() 416 static int ldlm_bl_to_thread(struct ldlm_namespace *ns, in ldlm_bl_to_thread() 446 int ldlm_bl_to_thread_lock(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, in ldlm_bl_to_thread_lock() 452 int ldlm_bl_to_thread_list(struct ldlm_namespace *ns, struct ldlm_lock_desc *ld, in ldlm_bl_to_thread_list() 536 struct ldlm_namespace *ns; in ldlm_callback_handler() local
|
| D | ldlm_pool.c | 341 struct ldlm_namespace *ns; in ldlm_cli_pool_shrink() local 561 struct ldlm_namespace *ns = ldlm_pl2ns(pl); in ldlm_pool_sysfs_init() local 573 struct ldlm_namespace *ns = ldlm_pl2ns(pl); in ldlm_pool_debugfs_init() local 671 int ldlm_pool_init(struct ldlm_pool *pl, struct ldlm_namespace *ns, in ldlm_pool_init() 816 struct ldlm_namespace *ns; in ldlm_pools_count() local 870 struct ldlm_namespace *ns; in ldlm_pools_scan() local 930 struct ldlm_namespace *ns; in ldlm_pools_recalc() local
|
| D | ldlm_flock.c | 140 struct ldlm_namespace *ns = ldlm_res_to_ns(res); in ldlm_process_flock_lock() local
|
| D | ldlm_internal.h | 81 static inline int ldlm_ns_empty(struct ldlm_namespace *ns) in ldlm_ns_empty()
|
| /linux-4.4.14/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 | 62 struct user_namespace *ns, *parent_ns = new->user_ns; in create_user_ns() local 138 void free_user_ns(struct user_namespace *ns) in free_user_ns() 239 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) in make_kuid() 307 kgid_t make_kgid(struct user_namespace *ns, gid_t gid) in make_kgid() 374 kprojid_t make_kprojid(struct user_namespace *ns, projid_t projid) in make_kprojid() 432 struct user_namespace *ns = seq->private; in uid_m_show() local 453 struct user_namespace *ns = seq->private; in gid_m_show() local 474 struct user_namespace *ns = seq->private; in projid_m_show() local 507 struct user_namespace *ns = seq->private; in uid_m_start() local 514 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() 500 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() 521 struct pid_namespace *ns) in __task_pid_nr_ns() 539 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 1806 struct user_namespace *ns = current_user_ns(); in validate_prctl_map() local
|
| /linux-4.4.14/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 | 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 | 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 | 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 351 const void *ns) in kernfs_find_and_get_ns() 376 umode_t mode, void *priv, const void *ns) in kernfs_create_dir_ns() 382 void *priv, const void *ns, struct lock_class_key *key) in __kernfs_create_file() 398 const char *name, const void *ns) in kernfs_remove_by_name_ns() 418 bool *new_sb_created, const void *ns) in kernfs_mount_ns() 443 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 | 296 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() 331 const void *ns) in sysfs_create_file_ns() 350 const void *ns) in sysfs_remove_file_ns() 395 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 | ptrace.h | 175 struct pid_namespace *ns; in ptrace_event_pid() local
|
| D | time64.h | 219 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) in timespec64_add_ns()
|
| D | hrtimer.h | 241 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
|
| /linux-4.4.14/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 807 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.4.14/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 748 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.4.14/drivers/nvme/host/ |
| D | scsi.c | 523 static int nvme_trans_standard_inquiry_page(struct nvme_ns *ns, in nvme_trans_standard_inquiry_page() 567 static int nvme_trans_supported_vpd_pages(struct nvme_ns *ns, in nvme_trans_supported_vpd_pages() 587 static int nvme_trans_unit_serial_page(struct nvme_ns *ns, in nvme_trans_unit_serial_page() 603 static int nvme_trans_device_id_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_device_id_page() 669 static int nvme_trans_ext_inq_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_ext_inq_page() 734 static int nvme_trans_bdev_limits_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_limits_page() 754 static int nvme_trans_bdev_char_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_char_page() 784 static int nvme_trans_log_supp_pages(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_supp_pages() 812 static int nvme_trans_log_info_exceptions(struct nvme_ns *ns, in nvme_trans_log_info_exceptions() 859 static int nvme_trans_log_temperature(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_temperature() [all …]
|
| D | pci.c | 524 struct nvme_ns *ns = req->rq_disk->private_data; in nvme_dif_remap() local 553 static void nvme_init_integrity(struct nvme_ns *ns) in nvme_init_integrity() 584 static void nvme_init_integrity(struct nvme_ns *ns) in nvme_init_integrity() 750 static void nvme_submit_discard(struct nvme_queue *nvmeq, struct nvme_ns *ns, in nvme_submit_discard() 772 static void nvme_submit_flush(struct nvme_queue *nvmeq, struct nvme_ns *ns, in nvme_submit_flush() 786 struct nvme_ns *ns) in nvme_submit_iod() 844 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_queue_rq() local 1805 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io() 1882 static int nvme_user_cmd(struct nvme_dev *dev, struct nvme_ns *ns, in nvme_user_cmd() 1934 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl() local [all …]
|
| D | lightnvm.c | 276 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_identity() local 314 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_get_l2p_tbl() local 363 struct nvme_ns *ns = q->queuedata; in nvme_nvm_get_bb_tbl() local 421 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_set_bb_tbl() local 440 struct nvme_ns *ns, struct nvme_nvm_command *c) in nvme_nvm_rqtocmd() 469 struct nvme_ns *ns = q->queuedata; in nvme_nvm_submit_io() local 509 struct nvme_ns *ns = q->queuedata; in nvme_nvm_erase_block() local 522 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_create_dma_pool() local 581 int nvme_nvm_ns_supported(struct nvme_ns *ns, struct nvme_id_ns *id) in nvme_nvm_ns_supported()
|
| D | nvme.h | 114 static inline u64 nvme_block_nr(struct nvme_ns *ns, sector_t sector) in nvme_block_nr() 151 static inline int nvme_nvm_ns_supported(struct nvme_ns *ns, struct nvme_id_ns *id) in nvme_nvm_ns_supported()
|
| /linux-4.4.14/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.4.14/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 | 823 union drbd_state os, ns; in drbd_resync_finished() local 1637 union drbd_state ns; in drbd_start_resync() local
|
| /linux-4.4.14/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.4.14/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.4.14/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 153 struct pid_namespace *ns; in proc_kill_sb() local 264 int pid_ns_prepare_proc(struct pid_namespace *ns) in pid_ns_prepare_proc() 276 void pid_ns_release_proc(struct pid_namespace *ns) in pid_ns_release_proc()
|
| D | self.c | 12 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_readlink() local 23 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_self_follow_link() local 48 struct pid_namespace *ns = s->s_fs_info; in proc_setup_self() local
|
| D | thread_self.c | 12 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_thread_self_readlink() local 24 struct pid_namespace *ns = dentry->d_sb->s_fs_info; in proc_thread_self_follow_link() local 49 struct pid_namespace *ns = s->s_fs_info; in proc_setup_thread_self() local
|
| D | array.c | 142 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, in task_state() 354 int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, in proc_pid_status() 375 static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, in do_task_stat() 555 int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tid_stat() 561 int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tgid_stat() 567 int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, in proc_pid_statm()
|
| D | base.c | 403 static int proc_pid_auxv(struct seq_file *m, struct pid_namespace *ns, in proc_pid_auxv() 425 static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns, in proc_pid_wchan() 464 static int proc_pid_stack(struct seq_file *m, struct pid_namespace *ns, in proc_pid_stack() 501 static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns, in proc_pid_schedstat() 576 static int proc_oom_score(struct seq_file *m, struct pid_namespace *ns, in proc_oom_score() 617 static int proc_pid_limits(struct seq_file *m, struct pid_namespace *ns, in proc_pid_limits() 659 static int proc_pid_syscall(struct seq_file *m, struct pid_namespace *ns, in proc_pid_syscall() 777 struct pid_namespace *ns; in proc_single_show() local 2153 struct pid_namespace *ns; member 2571 static int proc_tid_io_accounting(struct seq_file *m, struct pid_namespace *ns, in proc_tid_io_accounting() [all …]
|
| D | proc_net.c | 110 struct nsproxy *ns; in get_proc_task_net() local
|
| /linux-4.4.14/fs/ |
| D | nsfs.c | 28 struct ns_common *ns = inode->i_private; in ns_prune_dentry() local 42 struct ns_common *ns = inode->i_private; in nsfs_evict() local 54 struct ns_common *ns; in ns_get_path() local 112 struct ns_common *ns; in ns_get_name() local
|
| D | namespace.c | 711 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint() local 790 static void touch_mnt_namespace(struct mnt_namespace *ns) in touch_mnt_namespace() 801 static void __touch_mnt_namespace(struct mnt_namespace *ns) in __touch_mnt_namespace() 1654 struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns() 2732 static void free_mnt_ns(struct mnt_namespace *ns) in free_mnt_ns() 2772 struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, in copy_mnt_ns() 2865 struct mnt_namespace *ns; in mount_subtree() local 3078 struct mnt_namespace *ns; in init_mount_tree() local 3145 void put_mnt_ns(struct mnt_namespace *ns) in put_mnt_ns() 3210 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in fs_fully_visible() local [all …]
|
| D | mount.h | 9 struct ns_common ns; member 103 static inline void get_mnt_ns(struct mnt_namespace *ns) in get_mnt_ns() 121 struct mnt_namespace *ns; member
|
| D | proc_namespace.c | 22 struct mnt_namespace *ns = p->ns; in mounts_poll() local 239 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.4.14/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.4.14/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.4.14/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 369 static u64 of_bus_isa_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_isa_map() 481 int na, int ns, int pna, const char *rprop) in of_translate_one() 556 int na, ns, pna, pns; in __of_translate_address() local 645 int onesize, i, na, ns; in of_get_address() local
|
| /linux-4.4.14/fs/sysfs/ |
| D | mount.c | 30 void *ns; in sysfs_mount() local 52 void *ns = (void *)kernfs_super_ns(sb); in sysfs_kill_sb() local
|
| D | file.c | 242 umode_t mode, const void *ns) in sysfs_add_file_mode_ns() 322 const void *ns) in sysfs_create_file_ns() 411 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.4.14/fs/kernfs/ |
| D | dir.c | 208 static unsigned int kernfs_name_hash(const char *name, const void *ns) in kernfs_name_hash() 225 const void *ns, const struct kernfs_node *kn) in kernfs_name_compare() 666 const void *ns) in kernfs_find_ns() 708 const char *name, const void *ns) in kernfs_find_and_get_ns() 789 void *priv, const void *ns) in kernfs_create_dir_ns() 852 const void *ns = NULL; in kernfs_iop_lookup() local 1270 const void *ns) in kernfs_remove_by_name_ns() 1382 static struct kernfs_node *kernfs_dir_pos(const void *ns, in kernfs_dir_pos() 1416 static struct kernfs_node *kernfs_dir_next_pos(const void *ns, in kernfs_dir_next_pos() 1437 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 | 912 void *priv, const void *ns, in __kernfs_create_file()
|
| /linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/i915/ |
| D | dvo_ns2501.c | 394 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_readb() local 439 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_writeb() local 475 struct ns2501_priv *ns; in ns2501_init() local 553 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_mode_set() local 657 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_dpms() local 693 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_destroy() local
|
| /linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ptp.c | 63 u64 ns; in i40e_ptp_read() local 86 u64 ns = timespec64_to_ns(ts); in i40e_ptp_write() local 310 u64 ns; in i40e_ptp_tx_hwtstamp() local 347 u64 ns; in i40e_ptp_rx_hwtstamp() local
|
| /linux-4.4.14/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
|
| D | compaction-times.py | 48 def ns(sec, nsec): function 51 def time(ns): argument 70 def __init__(self, ns): argument
|
| /linux-4.4.14/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()
|
| /linux-4.4.14/tools/testing/selftests/timers/ |
| D | nanosleep.c | 102 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add() 112 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 | raw_skew.c | 63 struct timespec nsec_to_ts(long long ns) in nsec_to_ts()
|
| D | leap-a-day.c | 82 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
|
| D | adjtick.c | 60 struct timespec nsec_to_ts(long long ns) in nsec_to_ts()
|
| /linux-4.4.14/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.4.14/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.4.14/drivers/spi/ |
| D | spi-bitbang.c | 66 unsigned ns, in bitbang_txrx_8() 92 unsigned ns, in bitbang_txrx_16() 118 unsigned ns, in bitbang_txrx_32()
|
| /linux-4.4.14/drivers/net/ethernet/freescale/ |
| D | fec_ptp.c | 116 u64 ns; in fec_ptp_enable_pps() local 396 u64 ns; in fec_ptp_gettime() local 422 u64 ns; in fec_ptp_settime() local 538 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.4.14/arch/mips/vdso/ |
| D | gettimeofday.c | 128 u64 ns; in do_realtime() local 150 u64 ns; in do_monotonic() local
|
| /linux-4.4.14/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.4.14/arch/tile/kernel/vdso/ |
| D | vgettimeofday.c | 67 u64 ns; in do_realtime() local 86 u64 ns; in do_monotonic() local
|
| /linux-4.4.14/virt/kvm/arm/ |
| D | arch_timer.c | 48 static void timer_arm(struct arch_timer_cpu *timer, u64 ns) in timer_arm() 106 u64 ns; in kvm_timer_compute_delta() local 122 u64 ns; in kvm_timer_expire() local
|
| /linux-4.4.14/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.4.14/arch/mips/include/asm/ |
| D | delay.h | 20 #define ndelay(ns) __ndelay(ns) argument
|
| /linux-4.4.14/arch/mips/lib/ |
| D | delay.c | 58 void __ndelay(unsigned long ns) in __ndelay()
|
| /linux-4.4.14/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.4.14/net/core/ |
| D | net_namespace.c | 346 struct net *ns = p; in net_drop_ns() local 469 struct ns_common *ns; in get_net_ns_by_fd() local 976 static inline struct net *to_net_ns(struct ns_common *ns) in to_net_ns() 981 static void netns_put(struct ns_common *ns) in netns_put() 986 static int netns_install(struct nsproxy *nsproxy, struct ns_common *ns) in netns_install()
|
| D | net-sysfs.c | 871 const void *ns = NULL; in rx_queue_namespace() local 1263 const void *ns = NULL; in netdev_queue_namespace() local 1392 struct net *ns = current->nsproxy->net_ns; in net_grab_current_ns() local 1565 const void *ns) in netdev_class_create_file_ns() 1572 const void *ns) in netdev_class_remove_file_ns()
|
| /linux-4.4.14/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.4.14/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.4.14/arch/x86/entry/vdso/ |
| D | vclock_gettime.c | 221 u64 ns; in do_realtime() local 242 u64 ns; in do_monotonic() local
|
| /linux-4.4.14/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 | 1028 void *ns = NULL; in kobj_ns_grab_current() local 1041 const void *ns = NULL; in kobj_ns_netlink() local 1054 const void *ns = NULL; in kobj_ns_initial() local 1065 void kobj_ns_drop(enum kobj_ns_type type, void *ns) in kobj_ns_drop()
|
| /linux-4.4.14/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.4.14/arch/cris/arch-v10/kernel/ |
| D | time.c | 31 unsigned long ns; in get_ns_in_jiffie() local
|
| /linux-4.4.14/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.4.14/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 484 s64 ns; in igb_ptp_feature_enable_i210() local
|
| /linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/net/ethernet/intel/fm10k/ |
| D | fm10k_ptp.c | 146 s64 ns = ktime_to_ns(ktime_get_real()); in fm10k_ts_reset() local 311 u64 ns = timespec64_to_ns(ts); in fm10k_ptp_settime() local
|
| /linux-4.4.14/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 | 348 u64 ns; in stmmac_get_tx_hwtstamp() local 390 u64 ns; in stmmac_get_rx_hwtstamp() local
|
| /linux-4.4.14/include/linux/regulator/ |
| D | fixed.h | 73 #define regulator_register_fixed(id, s, ns) regulator_register_always_on(id, \ argument
|
| /linux-4.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/include/ |
| D | lustre_dlm.h | 466 static inline int ns_connect_cancelset(struct ldlm_namespace *ns) in ns_connect_cancelset() 475 static inline int ns_connect_lru_resize(struct ldlm_namespace *ns) in ns_connect_lru_resize() 481 static inline void ns_register_cancel(struct ldlm_namespace *ns, in ns_register_cancel() 893 ldlm_ns_name(struct ldlm_namespace *ns) in ldlm_ns_name() 924 struct ldlm_namespace *ns = ldlm_res_to_ns(res); in ldlm_lvbo_init() local 934 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lvbo_size() local 944 struct ldlm_namespace *ns = ldlm_lock_to_ns(lock); in ldlm_lvbo_fill() local
|
| /linux-4.4.14/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.4.14/arch/s390/include/asm/ |
| D | timex.h | 157 unsigned long long ns; in tod_to_ns() local
|
| /linux-4.4.14/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.4.14/arch/mips/cavium-octeon/ |
| D | csrc-octeon.c | 152 void __ndelay(unsigned long ns) in __ndelay()
|
| /linux-4.4.14/drivers/misc/ |
| D | ioc4.c | 208 u64 ns = period; in ioc4_clock_calibrate() local
|
| /linux-4.4.14/arch/cris/arch-v32/kernel/ |
| D | time.c | 62 unsigned long ns; in get_ns_in_jiffie() local
|
| /linux-4.4.14/drivers/devfreq/exynos/ |
| D | exynos_ppmu.h | 66 unsigned long long ns; member
|
| /linux-4.4.14/drivers/clk/st/ |
| D | clkgen-fsyn.c | 801 unsigned long ns; in clk_fs216c65_get_rate() local 824 unsigned long ns; in clk_fs432c65_get_rate() local 843 unsigned long ns; in clk_fs660c32_dig_get_rate() local
|
| /linux-4.4.14/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.4.14/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
|
| /linux-4.4.14/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.4.14/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.4.14/fs/ntfs/ |
| D | unistr.c | 340 unsigned char *ns; in ntfs_ucstonls() local
|
| /linux-4.4.14/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.4.14/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.4.14/tools/perf/util/scripting-engines/ |
| D | trace-event-perl.c | 256 unsigned long s, ns; in perl_process_tracepoint() local
|
| /linux-4.4.14/drivers/net/ethernet/renesas/ |
| D | ravb_ptp.c | 69 static int ravb_ptp_update_compare(struct ravb_private *priv, u32 ns) in ravb_ptp_update_compare()
|
| /linux-4.4.14/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.4.14/kernel/sched/ |
| D | stats.h | 254 unsigned long long ns) in account_group_exec_runtime()
|
| /linux-4.4.14/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.4.14/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 | 66 struct ns_common ns; member
|
| /linux-4.4.14/drivers/net/phy/ |
| D | dp83640.c | 102 u64 ns; member 293 u64 ns; in phy2txts() local 894 u64 ns; in decode_txts() local
|
| /linux-4.4.14/drivers/net/ethernet/samsung/sxgbe/ |
| D | sxgbe_desc.c | 468 u64 ns; in sxgbe_get_rx_timestamp() local
|
| /linux-4.4.14/drivers/ata/ |
| D | pata_at91.c | 189 static unsigned long calc_mck_cycles(unsigned long ns, unsigned long mck_hz) in calc_mck_cycles()
|
| /linux-4.4.14/arch/powerpc/include/asm/ |
| D | eeh.h | 432 int ns) in eeh_readsb() 440 int ns) in eeh_readsw()
|
| /linux-4.4.14/security/selinux/include/ |
| D | objsec.h | 82 struct net *ns; /* network namespace */ member
|
| /linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
| D | lio_main.c | 1528 u64 ns; in liquidio_ptp_gettime() local 1553 u64 ns; in liquidio_ptp_settime() local 1776 u64 ns; in liquidio_push_packet() local 2531 u64 ns = resp->timestamp; in handle_timestamp() local
|
| /linux-4.4.14/net/irda/ |
| D | irlap.c | 714 int irlap_validate_ns_received(struct irlap_cb *self, int ns) in irlap_validate_ns_received()
|
| /linux-4.4.14/drivers/net/ethernet/sfc/ |
| D | ptp.c | 402 static void efx_ptp_ns_to_s_ns(s64 ns, u32 *nic_major, u32 *nic_minor) in efx_ptp_ns_to_s_ns() 432 static void efx_ptp_ns_to_s27(s64 ns, u32 *nic_major, u32 *nic_minor) in efx_ptp_ns_to_s27() 453 u32 ns = (u32)(((u64)nic_minor * NSEC_PER_SEC + in efx_ptp_s27_to_ktime() local
|
| /linux-4.4.14/drivers/isdn/capi/ |
| D | capiutil.c | 582 size_t ns = 2 * cdb->size; in bufprint() local
|
| /linux-4.4.14/security/ |
| D | commoncap.c | 74 struct user_namespace *ns = targ_ns; in cap_capable() local
|
| /linux-4.4.14/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.4.14/fs/lockd/ |
| D | mon.c | 262 s64 ns; in nsm_init_private() local
|
| /linux-4.4.14/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.4.14/scripts/genksyms/ |
| D | genksyms.c | 166 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) in find_symbol()
|
| /linux-4.4.14/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.4.14/net/atm/ |
| D | clip.c | 783 struct neigh_seq_state ns; member
|
| /linux-4.4.14/drivers/pci/host/ |
| D | pci-xgene.c | 434 const int na = 3, ns = 2; in pci_dma_range_parser_init() local
|
| /linux-4.4.14/include/net/irda/ |
| D | irlap.h | 108 __u8 ns; /* Sequence number of frame sent */ member
|
| /linux-4.4.14/drivers/i2c/busses/ |
| D | i2c-axxia.c | 130 static u32 ns_to_clk(u64 ns, u32 clk_mhz) in ns_to_clk()
|