/linux-3.3/ipc/ |
D | namespace.c | 22 struct ipc_namespace *ns; in create_ipc_ns() local 57 struct ipc_namespace *ns = tsk->nsproxy->ipc_ns; in copy_ipcs() local 72 void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids, in free_ipcs() 94 static void free_ipc_ns(struct ipc_namespace *ns) in free_ipc_ns() 135 void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns() 147 struct ipc_namespace *ns = NULL; in ipcns_get() local 159 static void ipcns_put(void *ns) in ipcns_put() 164 static int ipcns_install(struct nsproxy *nsproxy, void *ns) in ipcns_install()
|
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 | ipcns_notifier.c | 28 struct ipc_namespace *ns; in ipcns_callback() local 56 int register_ipcns_notifier(struct ipc_namespace *ns) in register_ipcns_notifier() 69 int cond_register_ipcns_notifier(struct ipc_namespace *ns) in cond_register_ipcns_notifier() 83 void unregister_ipcns_notifier(struct ipc_namespace *ns) in unregister_ipcns_notifier()
|
D | shm.c | 49 struct ipc_namespace *ns; member 59 #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) argument 72 void shm_init_ns(struct ipc_namespace *ns) in shm_init_ns() 86 static void do_shm_rmid(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in do_shm_rmid() 101 void shm_exit_ns(struct ipc_namespace *ns) in shm_exit_ns() 131 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) in shm_lock() 147 static inline struct shmid_kernel *shm_lock_check(struct ipc_namespace *ns, in shm_lock_check() 158 static inline void shm_rmid(struct ipc_namespace *ns, struct shmid_kernel *s) in shm_rmid() 188 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_destroy() 213 static bool shm_may_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_may_destroy() [all …]
|
D | msg.c | 70 #define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS]) argument 86 void recompute_msgmni(struct ipc_namespace *ns) in recompute_msgmni() 111 void msg_init_ns(struct ipc_namespace *ns) in msg_init_ns() 124 void msg_exit_ns(struct ipc_namespace *ns) in msg_exit_ns() 147 static inline struct msg_queue *msg_lock(struct ipc_namespace *ns, int id) in msg_lock() 157 static inline struct msg_queue *msg_lock_check(struct ipc_namespace *ns, in msg_lock_check() 168 static inline void msg_rmid(struct ipc_namespace *ns, struct msg_queue *s) in msg_rmid() 180 static int newque(struct ipc_namespace *ns, struct ipc_params *params) in newque() 279 static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeque() 314 struct ipc_namespace *ns; in SYSCALL_DEFINE2() local [all …]
|
D | sem.c | 139 #define sem_ids(ns) ((ns)->ids[IPC_SEM_IDS]) argument 167 void sem_init_ns(struct ipc_namespace *ns) in sem_init_ns() 178 void sem_exit_ns(struct ipc_namespace *ns) in sem_exit_ns() 197 static inline struct sem_array *sem_lock(struct ipc_namespace *ns, int id) in sem_lock() 207 static inline struct sem_array *sem_lock_check(struct ipc_namespace *ns, in sem_lock_check() 237 static inline void sem_rmid(struct ipc_namespace *ns, struct sem_array *s) in sem_rmid() 284 static int newary(struct ipc_namespace *ns, struct ipc_params *params) in newary() 369 struct ipc_namespace *ns; in SYSCALL_DEFINE3() local 742 static void freeary(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp) in freeary() 801 static int semctl_nolock(struct ipc_namespace *ns, int semid, in semctl_nolock() [all …]
|
/linux-3.3/kernel/ |
D | utsname.c | 38 struct uts_namespace *ns; in clone_uts_ns() local 77 struct uts_namespace *ns; in free_uts_ns() local 86 struct uts_namespace *ns = NULL; in utsns_get() local 100 static void utsns_put(void *ns) in utsns_put() 105 static int utsns_install(struct nsproxy *nsproxy, void *ns) in utsns_install()
|
D | acct.c | 90 struct pid_namespace *ns; member 167 struct pid_namespace *ns) in acct_file_reopen() 200 struct pid_namespace *ns; in acct_on() local 325 void acct_exit_ns(struct pid_namespace *ns) in acct_exit_ns() 455 struct pid_namespace *ns, struct file *file) in do_acct_process() 603 static void acct_process_in_ns(struct pid_namespace *ns) in acct_process_in_ns() 636 struct pid_namespace *ns; in acct_process() local
|
D | user_namespace.c | 27 struct user_namespace *ns; in create_user_ns() local 73 struct user_namespace *ns = in free_user_ns_work() local 81 struct user_namespace *ns = in free_user_ns() local
|
D | pid.c | 40 #define pid_hashfn(nr, ns) \ argument 245 struct pid_namespace *ns; in put_pid() local 282 struct pid *alloc_pid(struct pid_namespace *ns) in alloc_pid() 330 struct pid *find_pid_ns(int nr, struct pid_namespace *ns) in find_pid_ns() 421 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns() 470 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() 490 struct pid_namespace *ns) in __task_pid_nr_ns() 508 pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns() 525 struct pid *find_ge_pid(int nr, struct pid_namespace *ns) in find_ge_pid()
|
D | user.c | 39 #define uidhashentry(ns, uid) ((ns)->uidhash_table + __uidhashfn((uid))) argument 117 struct user_namespace *ns = current_user_ns(); in find_user() local 139 struct user_struct *alloc_uid(struct user_namespace *ns, uid_t uid) in alloc_uid()
|
D | pid_namespace.c | 74 struct pid_namespace *ns; in create_pid_namespace() local 116 static void destroy_pid_namespace(struct pid_namespace *ns) in destroy_pid_namespace() 136 struct pid_namespace *ns, *parent; in free_pid_ns() local
|
/linux-3.3/include/linux/ |
D | pid_namespace.h | 40 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 51 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() 60 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 66 copy_pid_ns(unsigned long flags, struct pid_namespace *ns) in copy_pid_ns() 73 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() 78 static inline void zap_pid_ns_processes(struct pid_namespace *ns) in zap_pid_ns_processes()
|
D | ipc_namespace.h | 82 static inline int register_ipcns_notifier(struct ipc_namespace *ns) in register_ipcns_notifier() 84 static inline int cond_register_ipcns_notifier(struct ipc_namespace *ns) in cond_register_ipcns_notifier() 86 static inline void unregister_ipcns_notifier(struct ipc_namespace *ns) { } in unregister_ipcns_notifier() 88 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned() 99 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns() 105 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() 123 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() 128 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
|
D | user_namespace.h | 23 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 33 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns() 44 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 54 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
|
D | utsname.h | 59 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns() 68 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns() 73 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns() 77 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns()
|
/linux-3.3/security/apparmor/ |
D | policy.c | 278 struct aa_namespace *ns; in alloc_namespace() local 322 static void free_namespace(struct aa_namespace *ns) in free_namespace() 374 struct aa_namespace *ns = NULL; in aa_find_namespace() local 391 struct aa_namespace *ns, *root; in aa_prepare_namespace() local 551 static void destroy_namespace(struct aa_namespace *ns) in destroy_namespace() 572 static void __remove_namespace(struct aa_namespace *ns) in __remove_namespace() 604 struct aa_namespace *ns, *tmp; in __ns_list_release() local 631 struct aa_namespace *ns = root_ns; in aa_free_root_ns() local 834 static struct aa_policy *__lookup_parent(struct aa_namespace *ns, in __lookup_parent() 897 struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *hname) in aa_lookup_profile() [all …]
|
D | domain.c | 102 struct aa_namespace *ns, in change_profile_perms() 179 static struct aa_profile *find_attach(struct aa_namespace *ns, in find_attach() 248 struct aa_namespace *ns = profile->ns; in x_table_lookup() local 310 struct aa_namespace *ns = profile->ns; in x_to_profile() local 347 struct aa_namespace *ns; in apparmor_bprm_set_creds() local 732 struct aa_namespace *ns = NULL; in aa_change_profile() local
|
/linux-3.3/drivers/mtd/nand/ |
D | nandsim.c | 199 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0) argument 202 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0))) argument 205 #define NS_STATUS_FAILED(ns) (NAND_STATUS_FAIL | NS_STATUS_OK(ns)) argument 208 #define NS_RAW_OFFSET(ns) \ argument 212 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz) argument 459 static int alloc_device(struct nandsim *ns) in alloc_device() 521 static void free_device(struct nandsim *ns) in free_device() 564 struct nandsim *ns = chip->priv; in init_nandsim() local 714 static void free_nandsim(struct nandsim *ns) in free_nandsim() 722 static int parse_badblocks(struct nandsim *ns, struct mtd_info *mtd) in parse_badblocks() [all …]
|
/linux-3.3/fs/proc/ |
D | root.c | 34 struct pid_namespace *ns = (struct pid_namespace *)data; in proc_set_super() local 102 struct pid_namespace *ns; in proc_mount() local 145 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()
|
/linux-3.3/arch/x86/include/asm/ |
D | timer.h | 63 unsigned long long ns = per_cpu(cyc2ns_offset, cpu); in __cycles_2_ns() local 73 unsigned long long ns; in cycles_2_ns() local
|
/linux-3.3/net/ax25/ |
D | ax25_std_in.c | 145 static int ax25_std_state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int n… in ax25_std_state3_machine() 270 static int ax25_std_state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int n… in ax25_std_state4_machine() 425 int queued = 0, frametype, ns, nr, pf; in ax25_std_frame_in() local
|
/linux-3.3/arch/x86/vdso/ |
D | vclock_gettime.c | 87 unsigned long seq, ns; in do_realtime() local 100 unsigned long seq, ns, secs; in do_monotonic() local 135 unsigned long seq, ns, secs; in do_monotonic_coarse() local
|
/linux-3.3/drivers/of/ |
D | address.c | 11 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ argument 59 int na, int ns, int pna) in of_bus_default_map() 132 static u64 of_bus_pci_map(u32 *addr, const __be32 *range, int na, int ns, in of_bus_pci_map() 171 int onesize, i, na, ns; in of_get_pci_address() local 241 static u64 of_bus_isa_map(u32 *addr, const __be32 *range, int na, int ns, in of_bus_isa_map() 333 int na, int ns, int pna, const char *rprop) in of_translate_one() 409 int na, ns, pna, pns; in __of_translate_address() local 499 int onesize, i, na, ns; in of_get_address() local
|
/linux-3.3/fs/sysfs/ |
D | dir.c | 565 const void *ns, in sysfs_find_dirent() 622 const void *ns, in sysfs_get_dirent() 637 enum kobj_ns_type type, const void *ns, const char *name, in create_dir() 707 const void *ns = NULL; in sysfs_create_dir() local 736 const void *ns; in sysfs_lookup() local 921 static struct sysfs_dirent *sysfs_dir_pos(const void *ns, in sysfs_dir_pos() 958 static struct sysfs_dirent *sysfs_dir_next_pos(const void *ns, in sysfs_dir_next_pos() 978 const void *ns; in sysfs_readdir() local
|