Searched refs:ns (Results 1 – 2 of 2) sorted by relevance
1029 void *ns = NULL; in kobj_ns_grab_current() local1034 ns = kobj_ns_ops_tbl[type]->grab_current_ns(); in kobj_ns_grab_current()1037 return ns; in kobj_ns_grab_current()1042 const void *ns = NULL; in kobj_ns_netlink() local1047 ns = kobj_ns_ops_tbl[type]->netlink_ns(sk); in kobj_ns_netlink()1050 return ns; in kobj_ns_netlink()1055 const void *ns = NULL; in kobj_ns_initial() local1060 ns = kobj_ns_ops_tbl[type]->initial_ns(); in kobj_ns_initial()1063 return ns; in kobj_ns_initial()1066 void kobj_ns_drop(enum kobj_ns_type type, void *ns) in kobj_ns_drop() argument[all …]
103 const void *sock_ns, *ns; in kobj_bcast_filter() local104 ns = kobj->ktype->namespace(kobj); in kobj_bcast_filter()106 return sock_ns != ns; in kobj_bcast_filter()120 const void *init_ns, *ns; in kobj_usermode_filter() local121 ns = kobj->ktype->namespace(kobj); in kobj_usermode_filter()123 return ns != init_ns; in kobj_usermode_filter()