| /linux/drivers/net/netdevsim/ |
| H A D | ethtool.c | 14 struct netdevsim *ns = netdev_priv(dev); in nsim_get_pause_stats() local 25 struct netdevsim *ns = netdev_priv(dev); in nsim_get_pauseparam() local 35 struct netdevsim *ns = netdev_priv(dev); in nsim_set_pauseparam() local 50 struct netdevsim *ns = netdev_priv(dev); in nsim_get_coalesce() local 61 struct netdevsim *ns = netdev_priv(dev); in nsim_set_coalesce() local 72 struct netdevsim *ns = netdev_priv(dev); in nsim_get_ringparam() local 86 struct netdevsim *ns = netdev_priv(dev); in nsim_set_ringparam() local 98 struct netdevsim *ns = netdev_priv(dev); in nsim_get_channels() local 107 struct netdevsim *ns = netdev_priv(dev); in nsim_wake_queues() local 123 struct netdevsim *ns = netdev_priv(dev); in nsim_set_channels() local [all …]
|
| H A D | netdev.c | 42 struct netdevsim *ns = netdev_priv(dev); in nsim_start_peer_tx_queue() local 125 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit() local 197 struct netdevsim *ns = netdev_priv(dev); in nsim_change_mtu() local 210 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_mac() local 224 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_vlan() local 239 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_rate() local 258 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_spoofchk() local 270 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_rss_query_en() local 282 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_trust() local 295 struct netdevsim *ns = netdev_priv(dev); in nsim_get_vf_config() local [all …]
|
| H A D | psp.c | 18 nsim_do_psp(struct sk_buff *skb, struct netdevsim *ns, in nsim_do_psp() 135 struct netdevsim *ns = psd->drv_priv; in nsim_rx_spi_alloc() local 155 struct netdevsim *ns = psd->drv_priv; in nsim_assoc_add() local 167 struct netdevsim *ns = psd->drv_priv; in nsim_key_rotate() local 182 struct netdevsim *ns = psd->drv_priv; in nsim_assoc_del() local 191 struct netdevsim *ns = psd->drv_priv; in nsim_get_stats() local 221 static void __nsim_psp_uninit(struct netdevsim *ns, bool teardown) in __nsim_psp_uninit() 236 void nsim_psp_uninit(struct netdevsim *ns) in nsim_psp_uninit() 247 struct netdevsim *ns = file->private_data; in nsim_psp_rereg_write() local 274 int nsim_psp_init(struct netdevsim *ns) in nsim_psp_init()
|
| H A D | udp_tunnels.c | 15 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_set_port() local 41 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_unset_port() local 68 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_sync_table() local 108 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnels_info_reset_write() local 128 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnels_info_create() local 191 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnels_info_destroy() local
|
| /linux/ipc/ |
| H A D | namespace.c | 29 static struct ucounts *inc_ipc_namespaces(struct user_namespace *ns) in inc_ipc_namespaces() argument 42 struct ipc_namespace *ns; in create_ipc_ns() local 112 copy_ipcs(u64 flags,struct user_namespace * user_ns,struct ipc_namespace * ns) copy_ipcs() argument 127 free_ipcs(struct ipc_namespace * ns,struct ipc_ids * ids,void (* free)(struct ipc_namespace *,struct kern_ipc_perm *)) free_ipcs() argument 150 free_ipc_ns(struct ipc_namespace * ns) free_ipc_ns() argument 202 put_ipc_ns(struct ipc_namespace * ns) put_ipc_ns() argument 216 struct ipc_namespace *ns = NULL; ipcns_get() local 228 ipcns_put(struct ns_common * ns) ipcns_put() argument 236 struct ipc_namespace *ns = to_ipc_ns(new); ipcns_install() local 246 ipcns_owner(struct ns_common * ns) ipcns_owner() argument [all...] |
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | fs_dr.c | 12 static int mlx5_cmd_dr_update_root_ft(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_update_root_ft() 21 static int set_miss_action(struct mlx5_flow_root_namespace *ns, in set_miss_action() 56 static int mlx5_cmd_dr_create_flow_table(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_create_flow_table() 99 static int mlx5_cmd_dr_destroy_flow_table(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_destroy_flow_table() 126 static int mlx5_cmd_dr_modify_flow_table(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_modify_flow_table() 136 static int mlx5_cmd_dr_create_flow_group(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_create_flow_group() 170 static int mlx5_cmd_dr_destroy_flow_group(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_destroy_flow_group() 252 static int mlx5_cmd_dr_create_fte(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_create_fte() 632 static int mlx5_cmd_dr_packet_reformat_alloc(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_packet_reformat_alloc() 682 static void mlx5_cmd_dr_packet_reformat_dealloc(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_packet_reformat_dealloc() [all …]
|
| /linux/security/apparmor/ |
| H A D | policy_ns.c | 107 struct aa_ns *ns; in alloc_ns() local 148 void aa_free_ns(struct aa_ns *ns) in aa_free_ns() 176 struct aa_ns *ns = view; in __aa_lookupn_ns() local 207 struct aa_ns *ns = NULL; in aa_lookupn_ns() local 219 struct aa_ns *ns; in __aa_create_ns() local 261 struct aa_ns *ns; in __aa_find_or_create_ns() local 286 struct aa_ns *ns; in aa_prepare_ns() local 306 static void destroy_ns(struct aa_ns *ns) in destroy_ns() 336 void __aa_remove_ns(struct aa_ns *ns) in __aa_remove_ns() 352 struct aa_ns *ns, *tmp; in __ns_list_release() local [all …]
|
| /linux/include/linux/ |
| H A D | ns_common.h | 16 static __always_inline bool is_ns_init_inum(const struct ns_common *ns) in is_ns_init_inum() 23 static __always_inline bool is_ns_init_id(const struct ns_common *ns) in is_ns_init_id() 60 static __always_inline __must_check int __ns_ref_active_read(const struct ns_common *ns) in __ns_ref_active_read() 65 static __always_inline __must_check int __ns_ref_read(const struct ns_common *ns) in __ns_ref_read() 70 static __always_inline __must_check bool __ns_ref_put(struct ns_common *ns) in __ns_ref_put() 84 static __always_inline __must_check bool __ns_ref_get(struct ns_common *ns) in __ns_ref_get() 97 static __always_inline void __ns_ref_inc(struct ns_common *ns) in __ns_ref_inc() 107 static __always_inline __must_check bool __ns_ref_dec_and_lock(struct ns_common *ns, in __ns_ref_dec_and_lock() 136 static __always_inline struct ns_common *__must_check ns_get_unless_inactive(struct ns_common *ns) in ns_get_unless_inactive()
|
| H A D | cgroup_namespace.h | 8 struct ns_common ns; member 18 static inline struct cgroup_namespace *to_cg_ns(struct ns_common *ns) in to_cg_ns() 32 static inline void get_cgroup_ns(struct cgroup_namespace *ns) in get_cgroup_ns() 37 static inline void put_cgroup_ns(struct cgroup_namespace *ns) in put_cgroup_ns() 45 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns() 53 static inline void get_cgroup_ns(struct cgroup_namespace *ns) { } in get_cgroup_ns() 54 static inline void put_cgroup_ns(struct cgroup_namespace *ns) { } in put_cgroup_ns()
|
| H A D | ipc_namespace.h | 80 struct ns_common ns; member 89 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned() 128 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns() 132 static inline struct ipc_namespace *to_ipc_ns(struct ns_common *ns) in to_ipc_ns() 140 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() 147 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero() 160 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs() 168 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() 173 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero() 178 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns() [all …]
|
| H A D | uts_namespace.h | 15 struct ns_common ns; member 21 static inline struct uts_namespace *to_uts_ns(struct ns_common *ns) in to_uts_ns() 26 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns() 35 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns() 43 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns() 47 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns()
|
| H A D | export.h | 33 #define ___EXPORT_SYMBOL(sym, license, ns...) \ argument 48 #define __EXPORT_SYMBOL(sym, license, ns) argument 52 #define __EXPORT_SYMBOL(sym, license, ns) __GENKSYMS_EXPORT_SYMBOL(sym) argument 56 #define __EXPORT_SYMBOL(sym, license, ns) \ argument 75 #define __EXPORT_SYMBOL(sym, license, ns) \ argument 91 #define EXPORT_SYMBOL_NS(sym, ns) __EXPORT_SYMBOL(sym, "", ns) argument 92 #define EXPORT_SYMBOL_NS_GPL(sym, ns) __EXPORT_SYMBOL(sym, "GPL", ns) argument
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-pidns.c | 40 FIXTURE(ns) FIXTURE() argument 46 FIXTURE_SETUP(ns) FIXTURE_SETUP() argument 94 FIXTURE_TEARDOWN(ns) FIXTURE_TEARDOWN() argument 103 TEST_F(ns,pidns_mount_string_path) TEST_F() argument 115 TEST_F(ns,pidns_fsconfig_string_path) TEST_F() argument 133 TEST_F(ns,pidns_fsconfig_fd) TEST_F() argument 151 TEST_F(ns,pidns_reconfigure_remount) TEST_F() argument 165 TEST_F(ns,pidns_reconfigure_fsconfig_string_path) TEST_F() argument 188 TEST_F(ns,pidns_reconfigure_fsconfig_fd) TEST_F() argument [all...] |
| /linux/kernel/ |
| H A D | utsname.c | 21 static struct ucounts *inc_uts_namespaces(struct user_namespace *ns) in inc_uts_namespaces() 39 struct uts_namespace *ns; in clone_uts_ns() local 96 void free_uts_ns(struct uts_namespace *ns) in free_uts_ns() 108 struct uts_namespace *ns = NULL; in utsns_get() local 122 static void utsns_put(struct ns_common *ns) in utsns_put() 130 struct uts_namespace *ns = to_uts_ns(new); in utsns_install() local 142 static struct user_namespace *utsns_owner(struct ns_common *ns) in utsns_owner()
|
| H A D | nscommon.c | 11 static void ns_debug(struct ns_common *ns, const struct proc_ns_operations *ops) in ns_debug() 56 int __ns_common_init(struct ns_common *ns, u32 ns_type, const struct proc_ns_operations *ops, int i… in __ns_common_init() 92 void __ns_common_free(struct ns_common *ns) in __ns_common_free() 97 struct ns_common *__must_check ns_owner(struct ns_common *ns) in ns_owner() 164 void __ns_ref_active_put(struct ns_common *ns) in __ns_ref_active_put() 282 void __ns_ref_active_get(struct ns_common *ns) in __ns_ref_active_get()
|
| H A D | user_namespace.c | 34 static struct ucounts *inc_user_namespaces(struct user_namespace *ns, kuid_t uid) in inc_user_namespaces() 85 struct user_namespace *ns, *parent_ns = new->user_ns; in create_user_ns() local 199 struct user_namespace *parent, *ns = in free_user_ns() local 231 void __put_user_ns(struct user_namespace *ns) in __put_user_ns() 422 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) in make_kuid() 490 kgid_t make_kgid(struct user_namespace *ns, gid_t gid) in make_kgid() 557 kprojid_t make_kprojid(struct user_namespace *ns, projid_t projid) in make_kprojid() 615 struct user_namespace *ns = seq->private; in uid_m_show() local 636 struct user_namespace *ns = seq->private; in gid_m_show() local 657 struct user_namespace *ns = seq->private; in projid_m_show() local [all …]
|
| H A D | nstree.c | 197 void __ns_tree_add_raw(struct ns_common *ns, struct ns_tree_root *ns_tree) in __ns_tree_add_raw() 233 void __ns_tree_remove(struct ns_common *ns, struct ns_tree_root *ns_tree) in __ns_tree_remove() 265 const struct ns_common *ns = node_to_ns(node); in ns_find() local 277 const struct ns_common *ns = node_to_ns_unified(node); in ns_find_unified() local 365 struct ns_common *__ns_tree_adjoined_rcu(struct ns_common *ns, in __ns_tree_adjoined_rcu() 392 u64 __ns_tree_gen_id(struct ns_common *ns, u64 id) in __ns_tree_gen_id() 476 struct ns_common *ns; in lookup_ns_owner_at() local 496 struct ns_common *ns; in lookup_ns_id() local 510 const struct ns_common *ns) in ns_requested() 516 struct ns_common *ns) in may_list_ns() [all …]
|
| H A D | capability.c | 277 struct user_namespace *ns, int cap) in has_ns_capability() 302 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 330 static bool ns_capable_common(struct user_namespace *ns, in ns_capable_common() 360 bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 378 bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 397 bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() 450 bool file_ns_capable(const struct file *file, struct user_namespace *ns, in file_ns_capable() 472 bool privileged_wrt_inode_uidgid(struct user_namespace *ns, in privileged_wrt_inode_uidgid() 493 struct user_namespace *ns = current_user_ns(); in capable_wrt_inode_uidgid() local 508 bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns) in ptracer_capable()
|
| /linux/drivers/nvme/host/ |
| H A D | multipath.c | 149 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() local 180 struct nvme_ns *ns = rq->q->queuedata; nvme_mpath_start_request() local 204 struct nvme_ns *ns = rq->q->queuedata; nvme_mpath_end_request() local 218 struct nvme_ns *ns; nvme_kick_requeue_lists() local 242 nvme_mpath_clear_current_path(struct nvme_ns * ns) nvme_mpath_clear_current_path() argument 259 struct nvme_ns *ns; nvme_mpath_clear_ctrl_paths() local 274 struct nvme_ns *ns; nvme_mpath_revalidate_paths() local 310 nvme_path_is_disabled(struct nvme_ns * ns) nvme_path_is_disabled() argument 331 struct nvme_ns *found = NULL, *fallback = NULL, *ns; __nvme_find_path() local 370 nvme_next_ns(struct nvme_ns_head * head,struct nvme_ns * ns) nvme_next_ns() argument 383 struct nvme_ns *ns, *found = NULL; nvme_round_robin_path() local 432 struct nvme_ns *best_opt = NULL, *best_nonopt = NULL, *ns; nvme_queue_depth_path() local 467 nvme_path_is_optimized(struct nvme_ns * ns) nvme_path_is_optimized() argument 477 struct nvme_ns *ns; nvme_numa_path() local 502 struct nvme_ns *ns; nvme_available_path() local 537 struct nvme_ns *ns; nvme_ns_head_submit_bio() local 596 struct nvme_ns *ns; nvme_ns_head_get_unique_id() local 612 struct nvme_ns *ns; nvme_ns_head_report_zones() local 790 nvme_mpath_set_live(struct nvme_ns * ns) nvme_mpath_set_live() argument 883 nvme_update_ns_ana_state(struct nvme_ana_group_desc * desc,struct nvme_ns * ns) nvme_update_ns_ana_state() argument 926 struct nvme_ns *ns; nvme_update_ana_state() local 1098 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); ana_state_show() local 1107 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); queue_depth_show() local 1122 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); numa_nodes_show() local 1189 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); multipath_failover_count_show() local 1199 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); multipath_failover_count_store() local 1286 struct nvme_ns *ns; nvme_mpath_add_sysfs_link() local 1346 nvme_mpath_remove_sysfs_link(struct nvme_ns * ns) nvme_mpath_remove_sysfs_link() argument 1361 nvme_mpath_add_disk(struct nvme_ns * ns,__le32 anagrpid) nvme_mpath_add_disk() argument [all...] |
| H A D | ioctl.c | 61 static bool nvme_ns_cmd_allowed(struct nvme_ns *ns, struct nvme_command *c, in nvme_ns_cmd_allowed() 96 static bool nvme_cmd_allowed(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_cmd_allowed() 137 struct nvme_ns *ns = q->queuedata; in nvme_alloc_user_request() local 161 struct nvme_ns *ns = q->queuedata; in nvme_map_user_request() local 198 struct nvme_ns *ns = q->queuedata; in nvme_submit_user_cmd() local 237 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio, in nvme_submit_io() 304 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid() 316 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd() 364 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64() 481 static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_uring_cmd_io() [all …]
|
| H A D | zns.c | 38 int nvme_query_zone_info(struct nvme_ns *ns, unsigned lbaf, in nvme_query_zone_info() 108 void nvme_update_zone_info(struct nvme_ns *ns, struct queue_limits *lim, in nvme_update_zone_info() 119 static void *nvme_zns_alloc_report_buffer(struct nvme_ns *ns, in nvme_zns_alloc_report_buffer() 149 static int nvme_zone_parse_entry(struct nvme_ns *ns, in nvme_zone_parse_entry() 176 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector, in nvme_ns_report_zones() 239 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req, in nvme_setup_zone_mgmt_send()
|
| /linux/tools/testing/selftests/filesystems/ |
| H A D | fclog.c | 27 FIXTURE(ns) in FIXTURE() argument 32 FIXTURE_SETUP(ns) in FIXTURE_SETUP() argument 43 FIXTURE_TEARDOWN(ns) in FIXTURE_TEARDOWN() argument 49 TEST_F(ns, fscontext_log_enodata) in TEST_F() argument 62 TEST_F(ns, fscontext_log_errorfc) in TEST_F() argument 78 TEST_F(ns, fscontext_log_errorfc_after_fsmount) in TEST_F() argument 103 TEST_F(ns, fscontext_log_emsgsize) in TEST_F() argument
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | fs_hws.c | 130 static int mlx5_cmd_hws_create_ns(struct mlx5_flow_root_namespace *ns) in mlx5_cmd_hws_create_ns() argument 154 static int mlx5_cmd_hws_destroy_ns(struct mlx5_flow_root_namespace *ns) in mlx5_cmd_hws_destroy_ns() argument 160 mlx5_cmd_hws_set_peer(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_root_namespace * peer_ns,u16 peer_vhca_id) mlx5_cmd_hws_set_peer() argument 173 mlx5_fs_set_ft_default_miss(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,struct mlx5_flow_table * next_ft) mlx5_fs_set_ft_default_miss() argument 197 mlx5_fs_add_flow_table_dest_action(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft) mlx5_fs_add_flow_table_dest_action() argument 220 mlx5_fs_del_flow_table_dest_action(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft) mlx5_fs_del_flow_table_dest_action() argument 241 mlx5_cmd_hws_create_flow_table(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,struct mlx5_flow_table_attr * ft_attr,struct mlx5_flow_table * next_ft) mlx5_cmd_hws_create_flow_table() argument 301 mlx5_cmd_hws_destroy_flow_table(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft) mlx5_cmd_hws_destroy_flow_table() argument 324 mlx5_cmd_hws_modify_flow_table(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,struct mlx5_flow_table * next_ft) mlx5_cmd_hws_modify_flow_table() argument 334 mlx5_cmd_hws_update_root_ft(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,u32 underlay_qpn,bool disconnect) mlx5_cmd_hws_update_root_ft() argument 343 mlx5_cmd_hws_create_flow_group(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,u32 * in,struct mlx5_flow_group * fg) mlx5_cmd_hws_create_flow_group() argument 373 mlx5_cmd_hws_destroy_flow_group(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,struct mlx5_flow_group * fg) mlx5_cmd_hws_destroy_flow_group() argument 695 mlx5_fs_destroy_fs_action(struct mlx5_flow_root_namespace * ns,struct mlx5_fs_hws_rule_action * fs_action) mlx5_fs_destroy_fs_action() argument 716 mlx5_fs_destroy_fs_actions(struct mlx5_flow_root_namespace * ns,struct mlx5_fs_hws_rule_action ** fs_actions,int * num_fs_actions) mlx5_fs_destroy_fs_actions() argument 739 mlx5_fs_fte_get_hws_actions(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,struct mlx5_flow_group * group,struct fs_fte * fte,struct mlx5hws_rule_action ** ractions) mlx5_fs_fte_get_hws_actions() argument 1067 mlx5_cmd_hws_create_fte(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,struct mlx5_flow_group * group,struct fs_fte * fte) mlx5_cmd_hws_create_fte() argument 1107 mlx5_cmd_hws_delete_fte(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,struct fs_fte * fte) mlx5_cmd_hws_delete_fte() argument 1126 mlx5_cmd_hws_update_fte(struct mlx5_flow_root_namespace * ns,struct mlx5_flow_table * ft,struct mlx5_flow_group * group,int modify_mask,struct fs_fte * fte) mlx5_cmd_hws_update_fte() argument 1267 mlx5_cmd_hws_packet_reformat_alloc(struct mlx5_flow_root_namespace * ns,struct mlx5_pkt_reformat_params * params,enum mlx5_flow_namespace_type namespace,struct mlx5_pkt_reformat * pkt_reformat) mlx5_cmd_hws_packet_reformat_alloc() argument 1366 mlx5_cmd_hws_packet_reformat_dealloc(struct mlx5_flow_root_namespace * ns,struct mlx5_pkt_reformat * pkt_reformat) mlx5_cmd_hws_packet_reformat_dealloc() argument 1459 mlx5_cmd_hws_modify_header_alloc(struct mlx5_flow_root_namespace * ns,u8 namespace,u8 num_actions,void * modify_actions,struct mlx5_modify_hdr * modify_hdr) mlx5_cmd_hws_modify_header_alloc() argument 1517 mlx5_cmd_hws_modify_header_dealloc(struct mlx5_flow_root_namespace * ns,struct mlx5_modify_hdr * modify_hdr) mlx5_cmd_hws_modify_header_dealloc() argument 1544 struct mlx5_flow_root_namespace *ns; mlx5_fs_hws_action_get_pkt_reformat_id() local 1587 mlx5_cmd_hws_create_match_definer(struct mlx5_flow_root_namespace * ns,u16 format_id,u32 * match_mask) mlx5_cmd_hws_create_match_definer() argument 1593 mlx5_cmd_hws_destroy_match_definer(struct mlx5_flow_root_namespace * ns,int definer_id) mlx5_cmd_hws_destroy_match_definer() argument 1599 mlx5_cmd_hws_get_capabilities(struct mlx5_flow_root_namespace * ns,enum fs_flow_table_type ft_type) mlx5_cmd_hws_get_capabilities() argument [all...] |
| /linux/drivers/mtd/nand/raw/ |
| H A D | nandsim.c | 189 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0) argument 192 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0))) argument 195 #define NS_STATUS_FAILED(ns) (NAND_STATUS_FAIL | NS_STATUS_OK(ns)) argument 198 #define NS_RAW_OFFSET(ns) \ argument 202 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz) argument 205 #define NS_PAGE_BYTE_SHIFT(ns) ((ns)->regs.column + (ns)->regs.off) argument 500 static int ns_debugfs_create(struct nandsim *ns) in ns_debugfs_create() 525 static void ns_debugfs_remove(struct nandsim *ns) in ns_debugfs_remove() 536 static int __init ns_alloc_device(struct nandsim *ns) in ns_alloc_device() 607 static void ns_free_device(struct nandsim *ns) in ns_free_device() [all …]
|
| /linux/kernel/cgroup/ |
| H A D | namespace.c | 12 static struct ucounts *inc_cgroup_namespaces(struct user_namespace *ns) in inc_cgroup_namespaces() 36 void free_cgroup_ns(struct cgroup_namespace *ns) in free_cgroup_ns() 92 static int cgroupns_install(struct nsset *nsset, struct ns_common *ns) in cgroupns_install() 114 struct cgroup_namespace *ns = NULL; in cgroupns_get() local 128 static void cgroupns_put(struct ns_common *ns) in cgroupns_put() 133 static struct user_namespace *cgroupns_owner(struct ns_common *ns) in cgroupns_owner()
|