/drivers/net/netdevsim/ |
D | netdev.c | 31 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit() local 53 struct netdevsim *ns = netdev_priv(dev); in nsim_change_mtu() local 66 struct netdevsim *ns = netdev_priv(dev); in nsim_get_stats64() local 84 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_mac() local 98 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_vlan() local 113 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_rate() local 132 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_spoofchk() local 144 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_rss_query_en() local 156 struct netdevsim *ns = netdev_priv(dev); in nsim_set_vf_trust() local 169 struct netdevsim *ns = netdev_priv(dev); in nsim_get_vf_config() local [all …]
|
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 70 struct netdevsim *ns = netdev_priv(dev); in nsim_get_ringparam() local 78 struct netdevsim *ns = netdev_priv(dev); in nsim_set_ringparam() local 90 struct netdevsim *ns = netdev_priv(dev); in nsim_get_fecparam() local 101 struct netdevsim *ns = netdev_priv(dev); in nsim_set_fecparam() local 128 static void nsim_ethtool_ring_init(struct netdevsim *ns) in nsim_ethtool_ring_init() [all …]
|
D | bpf.c | 41 struct netdevsim *ns; member 87 static bool nsim_xdp_offload_active(struct netdevsim *ns) in nsim_xdp_offload_active() 104 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) in nsim_bpf_offload() 123 struct netdevsim *ns = cb_priv; in nsim_bpf_setup_tc_block_cb() local 173 int nsim_bpf_disable_tc(struct netdevsim *ns) in nsim_bpf_disable_tc() 180 static int nsim_xdp_offload_prog(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_xdp_offload_prog() 193 nsim_xdp_set_prog(struct netdevsim *ns, struct netdev_bpf *bpf, in nsim_xdp_set_prog() 293 static int nsim_setup_prog_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_checks() 307 nsim_setup_prog_hw_checks(struct netdevsim *ns, struct netdev_bpf *bpf) in nsim_setup_prog_hw_checks() 488 nsim_bpf_map_alloc(struct netdevsim *ns, struct bpf_offloaded_map *offmap) in nsim_bpf_map_alloc() [all …]
|
D | ipsec.c | 16 struct netdevsim *ns = filp->private_data; in nsim_dbg_netdev_ops_read() local 132 struct netdevsim *ns; in nsim_ipsec_add_sa() local 197 struct netdevsim *ns = netdev_priv(xs->xso.real_dev); in nsim_ipsec_del_sa() local 214 struct netdevsim *ns = netdev_priv(xs->xso.real_dev); in nsim_ipsec_offload_ok() local 228 bool nsim_ipsec_tx(struct netdevsim *ns, struct sk_buff *skb) in nsim_ipsec_tx() 275 void nsim_ipsec_init(struct netdevsim *ns) in nsim_ipsec_init() 291 void nsim_ipsec_teardown(struct netdevsim *ns) in nsim_ipsec_teardown()
|
D | udp_tunnels.c | 15 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_set_port() local 44 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_unset_port() local 73 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_sync_table() local 113 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnels_info_reset_write() local 133 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnels_info_create() local
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_cmd.c | 43 static int mlx5_cmd_stub_update_root_ft(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_update_root_ft() 51 static int mlx5_cmd_stub_create_flow_table(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_create_flow_table() 61 static int mlx5_cmd_stub_destroy_flow_table(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_destroy_flow_table() 67 static int mlx5_cmd_stub_modify_flow_table(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_modify_flow_table() 74 static int mlx5_cmd_stub_create_flow_group(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_create_flow_group() 82 static int mlx5_cmd_stub_destroy_flow_group(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_destroy_flow_group() 89 static int mlx5_cmd_stub_create_fte(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_create_fte() 97 static int mlx5_cmd_stub_update_fte(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_update_fte() 106 static int mlx5_cmd_stub_delete_fte(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_delete_fte() 113 static int mlx5_cmd_stub_packet_reformat_alloc(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_stub_packet_reformat_alloc() [all …]
|
D | fs_core.c | 384 static struct fs_prio *find_prio(struct mlx5_flow_namespace *ns, in find_prio() 419 struct mlx5_flow_namespace *ns; in find_root() local 1121 static struct mlx5_flow_table *__mlx5_create_flow_table(struct mlx5_flow_namespace *ns, in __mlx5_create_flow_table() 1206 struct mlx5_flow_table *mlx5_create_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_flow_table() 1214 mlx5_create_vport_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_vport_flow_table() 1221 mlx5_create_lag_demux_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_lag_demux_flow_table() 1236 mlx5_create_auto_grouped_flow_table(struct mlx5_flow_namespace *ns, in mlx5_create_auto_grouped_flow_table() 2278 struct mlx5_flow_namespace *ns; in mlx5_get_flow_namespace() local 2363 static struct fs_prio *_fs_create_prio(struct mlx5_flow_namespace *ns, in _fs_create_prio() 2384 static struct fs_prio *fs_create_prio_chained(struct mlx5_flow_namespace *ns, in fs_create_prio_chained() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | fs_dr.c | 18 static int mlx5_cmd_dr_update_root_ft(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_update_root_ft() 27 static int set_miss_action(struct mlx5_flow_root_namespace *ns, in set_miss_action() 62 static int mlx5_cmd_dr_create_flow_table(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_create_flow_table() 104 static int mlx5_cmd_dr_destroy_flow_table(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_destroy_flow_table() 131 static int mlx5_cmd_dr_modify_flow_table(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_modify_flow_table() 141 static int mlx5_cmd_dr_create_flow_group(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_create_flow_group() 175 static int mlx5_cmd_dr_destroy_flow_group(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_destroy_flow_group() 225 static int mlx5_cmd_dr_create_fte(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_create_fte() 544 static int mlx5_cmd_dr_packet_reformat_alloc(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_packet_reformat_alloc() 593 static void mlx5_cmd_dr_packet_reformat_dealloc(struct mlx5_flow_root_namespace *ns, in mlx5_cmd_dr_packet_reformat_dealloc() [all …]
|
/drivers/nvme/host/ |
D | multipath.c | 53 bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags) in nvme_mpath_set_disk_name() 70 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() local 99 struct nvme_ns *ns; in nvme_kick_requeue_lists() local 118 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path() 139 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths() local 149 void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths() 168 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled() 187 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path() local 224 struct nvme_ns *ns) in nvme_next_ns() 236 struct nvme_ns *ns, *found = NULL; in nvme_round_robin_path() local [all …]
|
D | ioctl.c | 62 struct nvme_ns *ns = q->queuedata; in nvme_submit_user_cmd() local 113 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io() 177 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid() 190 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd() 237 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64() 323 static int nvme_ns_ioctl(struct nvme_ns *ns, unsigned int cmd, in nvme_ns_ioctl() 349 static int __nvme_ioctl(struct nvme_ns *ns, unsigned int cmd, void __user *arg) in __nvme_ioctl() 359 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl() local 366 struct nvme_ns *ns = in nvme_ns_chr_ioctl() local 373 static int nvme_ns_head_ctrl_ioctl(struct nvme_ns *ns, unsigned int cmd, in nvme_ns_head_ctrl_ioctl() [all …]
|
D | zns.c | 10 int nvme_revalidate_zones(struct nvme_ns *ns) in nvme_revalidate_zones() 49 int nvme_update_zone_info(struct nvme_ns *ns, unsigned lbaf) in nvme_update_zone_info() 114 static void *nvme_zns_alloc_report_buffer(struct nvme_ns *ns, in nvme_zns_alloc_report_buffer() 144 static int nvme_zone_parse_entry(struct nvme_ns *ns, in nvme_zone_parse_entry() 167 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector, in nvme_ns_report_zones() 229 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req, in nvme_setup_zone_mgmt_send()
|
D | core.c | 129 static void nvme_set_queue_dying(struct nvme_ns *ns) in nvme_set_queue_dying() 589 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns() local 597 static inline bool nvme_get_ns(struct nvme_ns *ns) in nvme_get_ns() 602 void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns() 822 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush() 829 static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req, in nvme_setup_discard() 899 static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns, in nvme_setup_write_zeroes() 918 static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, in nvme_setup_rw() 988 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req) in nvme_setup_cmd() 1138 u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode) in nvme_command_effects() [all …]
|
/drivers/mtd/nand/raw/ |
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 497 static int ns_debugfs_create(struct nandsim *ns) in ns_debugfs_create() 522 static void ns_debugfs_remove(struct nandsim *ns) in ns_debugfs_remove() 533 static int __init ns_alloc_device(struct nandsim *ns) in ns_alloc_device() 605 static void ns_free_device(struct nandsim *ns) in ns_free_device() 640 struct nandsim *ns = nand_get_controller_data(chip); in ns_init() local [all …]
|
/drivers/clk/qcom/ |
D | clk-rcg.c | 18 static u32 ns_to_src(struct src_sel *s, u32 ns) in ns_to_src() 25 static u32 src_to_ns(struct src_sel *s, u8 src, u32 ns) in src_to_ns() 41 u32 ns; in clk_rcg_get_parent() local 68 u32 ns, reg; in clk_dyn_rcg_get_parent() local 97 u32 ns; in clk_rcg_set_parent() local 113 static u32 ns_to_pre_div(struct pre_div *p, u32 ns) in ns_to_pre_div() 120 static u32 pre_div_to_ns(struct pre_div *p, u8 pre_div, u32 ns) in pre_div_to_ns() 149 static u32 ns_m_to_n(struct mn *mn, u32 ns, u32 m) in ns_m_to_n() 163 static u32 mn_to_ns(struct mn *mn, u32 m, u32 n, u32 ns) in mn_to_ns() 200 u32 ns, md, reg; in configure_bank() local [all …]
|
/drivers/block/drbd/ |
D | drbd_state.c | 26 union drbd_state ns; member 468 union drbd_state os, union drbd_state ns) in cl_wide_st_chg() 483 union drbd_state ns; in apply_mask_val() local 493 union drbd_state ns; in drbd_change_state() local 520 union drbd_state os, ns; in _req_st_cond() local 568 union drbd_state os, ns; in drbd_req_state() local 715 static void print_st(struct drbd_device *device, const char *name, union drbd_state ns) in print_st() 734 union drbd_state ns, enum drbd_state_rv err) in print_st_err() 743 static long print_state_change(char *pb, union drbd_state os, union drbd_state ns, in print_state_change() 774 …tic void drbd_pr_state_change(struct drbd_device *device, union drbd_state os, union drbd_state ns, in drbd_pr_state_change() [all …]
|
/drivers/scsi/bfa/ |
D | bfa_fcs_lport.c | 3723 bfa_fcs_lport_ns_sm_offline(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_offline() 3744 bfa_fcs_lport_ns_sm_plogi_sending(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_sending() 3767 bfa_fcs_lport_ns_sm_plogi(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi() 3802 bfa_fcs_lport_ns_sm_plogi_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_plogi_retry() 3828 bfa_fcs_lport_ns_sm_sending_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rnn_id() 3850 bfa_fcs_lport_ns_sm_rnn_id(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id() 3890 bfa_fcs_lport_ns_sm_rnn_id_retry(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rnn_id_retry() 3913 bfa_fcs_lport_ns_sm_sending_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_sending_rsnn_nn() 3936 bfa_fcs_lport_ns_sm_rsnn_nn(struct bfa_fcs_lport_ns_s *ns, in bfa_fcs_lport_ns_sm_rsnn_nn() 3975 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 …]
|
/drivers/nvme/target/ |
D | core.c | 439 struct nvmet_ns *ns = container_of(ref, struct nvmet_ns, ref); in nvmet_destroy_namespace() local 444 void nvmet_put_namespace(struct nvmet_ns *ns) in nvmet_put_namespace() 449 static void nvmet_ns_dev_disable(struct nvmet_ns *ns) in nvmet_ns_dev_disable() 455 static int nvmet_p2pmem_ns_enable(struct nvmet_ns *ns) in nvmet_p2pmem_ns_enable() 503 struct nvmet_ns *ns) in nvmet_p2pmem_ns_add_p2p() 538 bool nvmet_ns_revalidate(struct nvmet_ns *ns) in nvmet_ns_revalidate() 550 int nvmet_ns_enable(struct nvmet_ns *ns) in nvmet_ns_enable() 616 void nvmet_ns_disable(struct nvmet_ns *ns) in nvmet_ns_disable() 657 void nvmet_ns_free(struct nvmet_ns *ns) in nvmet_ns_free() 671 struct nvmet_ns *ns; in nvmet_ns_alloc() local [all …]
|
D | io-cmd-bdev.c | 50 void nvmet_bdev_ns_disable(struct nvmet_ns *ns) in nvmet_bdev_ns_disable() 58 static void nvmet_bdev_ns_enable_integrity(struct nvmet_ns *ns) in nvmet_bdev_ns_enable_integrity() 74 int nvmet_bdev_ns_enable(struct nvmet_ns *ns) in nvmet_bdev_ns_enable() 108 void nvmet_bdev_ns_revalidate(struct nvmet_ns *ns) in nvmet_bdev_ns_revalidate() 349 struct nvmet_ns *ns = req->ns; in nvmet_bdev_discard_range() local
|
/drivers/of/ |
D | fdt_address.c | 22 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ argument 71 int na, int ns, int pna) in fdt_bus_default_map() 112 int na, int ns, int pna, const char *rprop) in fdt_translate_one() 169 int na, ns, pna, pns; in fdt_translate_address() local
|
/drivers/ptp/ |
D | ptp_qoriq.c | 30 u64 ns; in tmr_cnt_read() local 41 static void tmr_cnt_write(struct ptp_qoriq *ptp_qoriq, u64 ns) in tmr_cnt_write() 55 u64 ns; in set_alarm() local 229 u64 ns; in ptp_qoriq_gettime() local 248 u64 ns; in ptp_qoriq_settime() local
|
D | ptp_dte.c | 62 static void dte_write_nco(void __iomem *regs, s64 ns) in dte_write_nco() 83 s64 ns; in dte_read_nco() local 99 s64 ns; in dte_write_nco_delta() local 128 s64 ns = 0; in dte_read_nco_with_ovf() local
|
/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | ipsec.c | 1013 static int fpga_ipsec_fs_create_flow_group(struct mlx5_flow_root_namespace *ns, in fpga_ipsec_fs_create_flow_group() 1056 static int fpga_ipsec_fs_create_fte(struct mlx5_flow_root_namespace *ns, in fpga_ipsec_fs_create_fte() 1108 static int fpga_ipsec_fs_update_fte(struct mlx5_flow_root_namespace *ns, in fpga_ipsec_fs_update_fte() 1139 static int fpga_ipsec_fs_delete_fte(struct mlx5_flow_root_namespace *ns, in fpga_ipsec_fs_delete_fte() 1177 mlx5_fpga_ipsec_fs_create_flow_group_egress(struct mlx5_flow_root_namespace *ns, in mlx5_fpga_ipsec_fs_create_flow_group_egress() 1186 mlx5_fpga_ipsec_fs_create_fte_egress(struct mlx5_flow_root_namespace *ns, in mlx5_fpga_ipsec_fs_create_fte_egress() 1195 mlx5_fpga_ipsec_fs_update_fte_egress(struct mlx5_flow_root_namespace *ns, in mlx5_fpga_ipsec_fs_update_fte_egress() 1206 mlx5_fpga_ipsec_fs_delete_fte_egress(struct mlx5_flow_root_namespace *ns, in mlx5_fpga_ipsec_fs_delete_fte_egress() 1214 mlx5_fpga_ipsec_fs_create_flow_group_ingress(struct mlx5_flow_root_namespace *ns, in mlx5_fpga_ipsec_fs_create_flow_group_ingress() 1223 mlx5_fpga_ipsec_fs_create_fte_ingress(struct mlx5_flow_root_namespace *ns, in mlx5_fpga_ipsec_fs_create_fte_ingress() [all …]
|
/drivers/net/ethernet/xscale/ |
D | ptp_ixp46x.c | 44 u64 ns; in ixp_systime_read() local 57 static void ixp_systime_write(struct ixp46x_ts_regs *regs, u64 ns) in ixp_systime_write() 168 u64 ns; in ptp_ixp_gettime() local 186 u64 ns; in ptp_ixp_settime() local
|
/drivers/gpu/drm/i915/display/ |
D | dvo_ns2501.c | 395 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_readb() local 440 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_writeb() local 476 struct ns2501_priv *ns; in ns2501_init() local 554 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_mode_set() local 658 struct ns2501_priv *ns = (struct ns2501_priv *)(dvo->dev_priv); in ns2501_dpms() local 694 struct ns2501_priv *ns = dvo->dev_priv; in ns2501_destroy() local
|
/drivers/net/ethernet/ti/ |
D | cpts.c | 258 u64 ns; in cpts_ptp_gettimeex() local 276 u64 ns; in cpts_ptp_settime() local 409 u64 ns; in cpts_overflow_check() local 476 u64 ns = 0; in cpts_find_ts() local 510 u64 ns; in cpts_rx_timestamp() local 618 u64 frac, maxsec, ns; in cpts_calc_mult_shift() local
|