/Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_common.c | 82 static void nfp_net_reconfig_start(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start() 92 static void nfp_net_reconfig_start_async(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start_async() 103 static bool nfp_net_reconfig_check_done(struct nfp_net *nn, bool last_check) in nfp_net_reconfig_check_done() 125 static bool __nfp_net_reconfig_wait(struct nfp_net *nn, unsigned long deadline) in __nfp_net_reconfig_wait() 147 static int nfp_net_reconfig_wait(struct nfp_net *nn, unsigned long deadline) in nfp_net_reconfig_wait() 160 struct nfp_net *nn = from_timer(nn, t, reconfig_timer); in nfp_net_reconfig_timer() local 188 static void nfp_net_reconfig_post(struct nfp_net *nn, u32 update) in nfp_net_reconfig_post() 208 static void nfp_net_reconfig_sync_enter(struct nfp_net *nn) in nfp_net_reconfig_sync_enter() 239 static void nfp_net_reconfig_wait_posted(struct nfp_net *nn) in nfp_net_reconfig_wait_posted() 259 int __nfp_net_reconfig(struct nfp_net *nn, u32 update) in __nfp_net_reconfig() [all …]
|
D | ccm_mbox.c | 54 static u32 nfp_ccm_mbox_max_msg(struct nfp_net *nn) in nfp_ccm_mbox_max_msg() 116 static bool nfp_ccm_mbox_is_first(struct nfp_net *nn, struct sk_buff *skb) in nfp_ccm_mbox_is_first() 121 static bool nfp_ccm_mbox_should_run(struct nfp_net *nn, struct sk_buff *skb) in nfp_ccm_mbox_should_run() 128 static void nfp_ccm_mbox_mark_next_runner(struct nfp_net *nn) in nfp_ccm_mbox_mark_next_runner() 144 nfp_ccm_mbox_write_tlv(struct nfp_net *nn, u32 off, u32 type, u32 len) in nfp_ccm_mbox_write_tlv() 151 static void nfp_ccm_mbox_copy_in(struct nfp_net *nn, struct sk_buff *last) in nfp_ccm_mbox_copy_in() 199 nfp_ccm_mbox_find_req(struct nfp_net *nn, __be16 tag, struct sk_buff *last) in nfp_ccm_mbox_find_req() 214 static void nfp_ccm_mbox_copy_out(struct nfp_net *nn, struct sk_buff *last) in nfp_ccm_mbox_copy_out() 355 nfp_ccm_mbox_mark_all_err(struct nfp_net *nn, struct sk_buff *last, int err) in nfp_ccm_mbox_mark_all_err() 374 static void nfp_ccm_mbox_run_queue_unlock(struct nfp_net *nn) in nfp_ccm_mbox_run_queue_unlock() [all …]
|
D | nfp_net_dp.c | 57 struct nfp_net *nn = r_vec->nfp_net; in nfp_net_tx_ring_init() local 79 struct nfp_net *nn = r_vec->nfp_net; in nfp_net_rx_ring_init() local 183 int nfp_net_tx_rings_prepare(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_tx_rings_prepare() 339 int nfp_net_rx_rings_prepare(struct nfp_net *nn, struct nfp_net_dp *dp) in nfp_net_rx_rings_prepare() 383 nfp_net_rx_ring_hw_cfg_write(struct nfp_net *nn, in nfp_net_rx_ring_hw_cfg_write() 393 nfp_net_tx_ring_hw_cfg_write(struct nfp_net *nn, in nfp_net_tx_ring_hw_cfg_write() 406 void nfp_net_vec_clear_ring_data(struct nfp_net *nn, unsigned int idx) in nfp_net_vec_clear_ring_data() 420 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_tx() local 425 bool __nfp_ctrl_tx(struct nfp_net *nn, struct sk_buff *skb) in __nfp_ctrl_tx() 432 bool nfp_ctrl_tx(struct nfp_net *nn, struct sk_buff *skb) in nfp_ctrl_tx()
|
D | nfp_net_ethtool.c | 220 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_drvinfo() local 309 struct nfp_net *nn; in nfp_net_get_link_ksettings() local 428 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_ringparam() local 437 static int nfp_net_set_ring_size(struct nfp_net *nn, u32 rxd_cnt, u32 txd_cnt) in nfp_net_set_ring_size() 457 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_set_ringparam() local 529 struct nfp_net *nn = netdev_priv(netdev); in nfp_test_fw() local 639 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats_count() local 647 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats_strings() local 681 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats() local 783 static unsigned int nfp_vnic_get_tlv_stats_count(struct nfp_net *nn) in nfp_vnic_get_tlv_stats_count() [all …]
|
D | nfp_net_main.c | 80 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() 92 struct nfp_net *nn, *next; in nfp_net_pf_free_vnics() local 105 struct nfp_net *nn; in nfp_net_pf_alloc_vnic() local 141 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic() 187 struct nfp_net *nn; in nfp_net_pf_alloc_vnics() local 219 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic() 234 struct nfp_net *nn; in nfp_net_pf_alloc_irqs() local 279 struct nfp_net *nn; in nfp_net_pf_init_vnics() local 557 struct nfp_net *nn; in nfp_net_notify_port_speed() local 604 struct nfp_net *nn, *next; in nfp_net_refresh_port_table_sync() local [all …]
|
D | nfp_netvf_main.c | 29 struct nfp_net *nn; member 61 static void nfp_netvf_get_mac_addr(struct nfp_net *nn) in nfp_netvf_get_mac_addr() 89 struct nfp_net *nn; in nfp_netvf_pci_probe() local 302 struct nfp_net *nn; in nfp_netvf_pci_remove() local
|
D | nfp_net.h | 28 #define nn_pr(nn, lvl, fmt, args...) \ argument 38 #define nn_err(nn, fmt, args...) nn_pr(nn, KERN_ERR, fmt, ## args) argument 39 #define nn_warn(nn, fmt, args...) nn_pr(nn, KERN_WARNING, fmt, ## args) argument 40 #define nn_info(nn, fmt, args...) nn_pr(nn, KERN_INFO, fmt, ## args) argument 41 #define nn_dbg(nn, fmt, args...) nn_pr(nn, KERN_DEBUG, fmt, ## args) argument 711 static inline u16 nn_readb(struct nfp_net *nn, int off) in nn_readb() 716 static inline void nn_writeb(struct nfp_net *nn, int off, u8 val) in nn_writeb() 721 static inline u16 nn_readw(struct nfp_net *nn, int off) in nn_readw() 726 static inline void nn_writew(struct nfp_net *nn, int off, u16 val) in nn_writew() 731 static inline u32 nn_readl(struct nfp_net *nn, int off) in nn_readl() [all …]
|
D | nfp_net_debugfs.c | 18 struct nfp_net *nn; in nfp_rx_q_show() local 84 struct nfp_net *nn; in nfp_tx_q_show() local 124 void nfp_net_debugfs_vnic_add(struct nfp_net *nn, struct dentry *ddir) in nfp_net_debugfs_vnic_add()
|
D | nfp_app_nic.c | 12 struct nfp_net *nn, unsigned int id) in nfp_app_nic_vnic_init_phy_port() 32 int nfp_app_nic_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_nic_vnic_alloc()
|
D | nfp_app.h | 207 static inline int nfp_app_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_vnic_alloc() 213 static inline void nfp_app_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_free() 219 static inline int nfp_app_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_init() 226 static inline void nfp_app_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_clean() 308 struct nfp_net *nn) in nfp_app_extra_cap() 329 static inline int nfp_app_bpf(struct nfp_app *app, struct nfp_net *nn, in nfp_app_bpf() 337 static inline int nfp_app_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_app_xdp_offload()
|
/Linux-v6.1/fs/nfsd/ |
D | nfssvc.c | 182 nfsd_netns_free_versions(struct nfsd_net *nn) in nfsd_netns_free_versions() 191 nfsd_netns_init_versions(struct nfsd_net *nn) in nfsd_netns_init_versions() 201 int nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change) in nfsd_vers() 226 nfsd_adjust_nfsd_versions4(struct nfsd_net *nn) in nfsd_adjust_nfsd_versions4() 237 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change) in nfsd_minorversion() 277 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_nrthreads() local 289 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_init_socks() local 341 static bool nfsd_needs_lockd(struct nfsd_net *nn) in nfsd_needs_lockd() 354 void nfsd_copy_write_verifier(__be32 verf[2], struct nfsd_net *nn) in nfsd_copy_write_verifier() 365 static void nfsd_reset_write_verifier_locked(struct nfsd_net *nn) in nfsd_reset_write_verifier_locked() [all …]
|
D | nfscache.c | 89 struct nfsd_net *nn) in nfsd_reply_cache_alloc() 115 struct nfsd_net *nn) in nfsd_reply_cache_free_locked() 132 struct nfsd_net *nn) in nfsd_reply_cache_free() 151 static int nfsd_reply_cache_stats_init(struct nfsd_net *nn) in nfsd_reply_cache_stats_init() 156 static void nfsd_reply_cache_stats_destroy(struct nfsd_net *nn) in nfsd_reply_cache_stats_destroy() 161 int nfsd_reply_cache_init(struct nfsd_net *nn) in nfsd_reply_cache_init() 205 void nfsd_reply_cache_shutdown(struct nfsd_net *nn) in nfsd_reply_cache_shutdown() 240 nfsd_cache_bucket_find(__be32 xid, struct nfsd_net *nn) in nfsd_cache_bucket_find() 247 static long prune_bucket(struct nfsd_drc_bucket *b, struct nfsd_net *nn, in prune_bucket() 270 static long nfsd_prune_bucket(struct nfsd_drc_bucket *b, struct nfsd_net *nn) in nfsd_prune_bucket() [all …]
|
D | nfs4recover.c | 170 const char *dname, int len, struct nfsd_net *nn) in __nfsd4_create_reclaim_record_grace() 198 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_create_clid_dir() local 289 nfsd4_list_rec_dir(recdir_func *f, struct nfsd_net *nn) in nfsd4_list_rec_dir() 339 nfsd4_unlink_clid_dir(char *name, int namlen, struct nfsd_net *nn) in nfsd4_unlink_clid_dir() 366 struct nfsd_net *nn) in __nfsd4_remove_reclaim_record_grace() 390 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_remove_clid_dir() local 425 purge_old(struct dentry *parent, struct dentry *child, struct nfsd_net *nn) in purge_old() 458 nfsd4_recdir_purge_old(struct nfsd_net *nn) in nfsd4_recdir_purge_old() 480 load_recdir(struct dentry *parent, struct dentry *child, struct nfsd_net *nn) in load_recdir() 507 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd4_recdir_load() local [all …]
|
D | nfs4state.c | 163 static void nfsd4_dec_courtesy_client_count(struct nfsd_net *nn, in nfsd4_dec_courtesy_client_count() 172 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked() local 188 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in renew_client_locked() local 207 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in put_client_renew_locked() local 221 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in put_client_renew() local 248 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_put_session_locked() local 260 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_put_session() local 269 struct nfsd_net *nn) in find_blocked_lock() 291 struct nfsd_net *nn) in find_or_allocate_block() 333 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in remove_blocked_locks() local [all …]
|
D | nfsctl.c | 147 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in exports_net_open() local 524 nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, in nfsd_print_version_support() 551 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in __write_versions() local 691 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_names() local 707 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_addfd() local 741 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_addxprt() local 874 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxblksize() local 923 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxconn() local 939 time64_t *time, struct nfsd_net *nn) in __nfsd4_write_time() 971 time64_t *time, struct nfsd_net *nn) in nfsd4_write_time() [all …]
|
D | stats.h | 81 static inline void nfsd_stats_payload_misses_inc(struct nfsd_net *nn) in nfsd_stats_payload_misses_inc() 86 static inline void nfsd_stats_drc_mem_usage_add(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_add() 91 static inline void nfsd_stats_drc_mem_usage_sub(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_sub()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/crypto/ |
D | tls.c | 31 static void nfp_net_crypto_set_op(struct nfp_net *nn, u8 opcode, bool on) in nfp_net_crypto_set_op() 46 __nfp_net_tls_conn_cnt_changed(struct nfp_net *nn, int add, in __nfp_net_tls_conn_cnt_changed() 72 nfp_net_tls_conn_cnt_changed(struct nfp_net *nn, int add, in nfp_net_tls_conn_cnt_changed() 91 nfp_net_tls_conn_add(struct nfp_net *nn, enum tls_offload_ctx_dir direction) in nfp_net_tls_conn_add() 97 nfp_net_tls_conn_remove(struct nfp_net *nn, enum tls_offload_ctx_dir direction) in nfp_net_tls_conn_remove() 103 nfp_net_tls_alloc_simple(struct nfp_net *nn, size_t req_sz, gfp_t flags) in nfp_net_tls_alloc_simple() 111 nfp_net_tls_communicate_simple(struct nfp_net *nn, struct sk_buff *skb, in nfp_net_tls_communicate_simple() 135 static void nfp_net_tls_del_fw(struct nfp_net *nn, __be32 *fw_handle) in nfp_net_tls_del_fw() 161 nfp_net_tls_assign_conn_id(struct nfp_net *nn, in nfp_net_tls_assign_conn_id() 175 nfp_net_tls_set_ipv4(struct nfp_net *nn, struct nfp_crypto_req_add_v4 *req, in nfp_net_tls_set_ipv4() [all …]
|
/Linux-v6.1/fs/nfs/ |
D | client.c | 201 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_cleanup_cb_ident_idr() local 209 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_cb_idr_remove_locked() local 257 struct nfs_net *nn; in nfs_put_client() local 284 struct nfs_net *nn = net_generic(data->net, nfs_net_id); in nfs_match_client() local 402 struct nfs_net *nn = net_generic(cl_init->net, nfs_net_id); in nfs_get_client() local 917 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_server_insert_lists() local 931 struct nfs_net *nn; in nfs_server_remove_lists() local 1136 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_clients_init() local 1151 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_clients_exit() local 1190 struct nfs_net *nn = net_generic(seq_file_net(m), nfs_net_id); in nfs_server_list_start() local [all …]
|
D | nfs4client.c | 31 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_get_cb_ident_idr() local 491 struct nfs_net *nn = net_generic(keep->cl_net, nfs_net_id); in nfs4_swap_callback_idents() local 525 struct nfs_client **prev, struct nfs_net *nn) in nfs4_match_client() 585 struct nfs_net *nn = net_generic(new->cl_net, nfs_net_id); in nfs40_walk_client_list() local 752 struct nfs_net *nn = net_generic(new->cl_net, nfs_net_id); in nfs41_walk_client_list() local 810 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4_find_client_ident() local 855 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4_find_client_sessionid() local
|
/Linux-v6.1/drivers/fpga/ |
D | dfl-n3000-nios.c | 167 struct n3000_nios *nn = dev_get_drvdata(dev); in nios_fw_version_show() local 190 static int get_retimer_mode(struct n3000_nios *nn, unsigned int mode_stat_reg, in get_retimer_mode() 211 struct n3000_nios *nn = dev_get_drvdata(dev); in retimer_A_mode_show() local 226 struct n3000_nios *nn = dev_get_drvdata(dev); in retimer_B_mode_show() local 242 struct n3000_nios *nn = dev_get_drvdata(dev); in fec_mode_show() local 296 static int n3000_nios_init_done_check(struct n3000_nios *nn) in n3000_nios_init_done_check() 415 static int create_altera_spi_controller(struct n3000_nios *nn) in create_altera_spi_controller() 451 static void destroy_altera_spi_controller(struct n3000_nios *nn) in destroy_altera_spi_controller() 480 struct n3000_nios *nn = context; in n3000_nios_reg_write() local 499 struct n3000_nios *nn = context; in n3000_nios_reg_read() local [all …]
|
/Linux-v6.1/fs/ocfs2/cluster/ |
D | tcp.c | 282 static u8 o2net_num_from_nn(struct o2net_node *nn) in o2net_num_from_nn() 290 static int o2net_prep_nsw(struct o2net_node *nn, struct o2net_status_wait *nsw) in o2net_prep_nsw() 310 static void o2net_complete_nsw_locked(struct o2net_node *nn, in o2net_complete_nsw_locked() 326 static void o2net_complete_nsw(struct o2net_node *nn, in o2net_complete_nsw() 348 static void o2net_complete_nodes_nsw(struct o2net_node *nn) in o2net_complete_nodes_nsw() 364 static int o2net_nsw_completed(struct o2net_node *nn, in o2net_nsw_completed() 486 static void o2net_set_nn_state(struct o2net_node *nn, in o2net_set_nn_state() 693 static void o2net_ensure_shutdown(struct o2net_node *nn, in o2net_ensure_shutdown() 716 struct o2net_node *nn = o2net_nn_from_num(sc->sc_node->nd_num); in o2net_shutdown_sc() local 933 struct o2net_node *nn = o2net_nn_from_num(sc->sc_node->nd_num); in o2net_sendpage() local [all …]
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.c | 24 static bool nfp_net_ebpf_capable(struct nfp_net *nn) in nfp_net_ebpf_capable() 38 nfp_bpf_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_bpf_xdp_offload() 57 static const char *nfp_bpf_extra_cap(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_extra_cap() 63 nfp_bpf_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_bpf_vnic_alloc() 97 static void nfp_bpf_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_bpf_vnic_free() 109 struct nfp_net *nn = cb_priv; in nfp_bpf_setup_tc_block_cb() local 168 struct nfp_net *nn = netdev_priv(netdev); in nfp_bpf_setup_tc() local 184 struct nfp_net *nn = netdev_priv(netdev); in nfp_bpf_check_mtu() local
|
D | offload.c | 221 struct nfp_net *nn = netdev_priv(prog->aux->offload->netdev); in nfp_bpf_translate() local 425 int nfp_ndo_bpf(struct nfp_app *app, struct nfp_net *nn, struct netdev_bpf *bpf) in nfp_ndo_bpf() 484 bool nfp_bpf_offload_check_mtu(struct nfp_net *nn, struct bpf_prog *prog, in nfp_bpf_offload_check_mtu() 496 nfp_net_bpf_load(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_load() 551 nfp_net_bpf_start(struct nfp_net *nn, struct netlink_ext_ack *extack) in nfp_net_bpf_start() 564 static int nfp_net_bpf_stop(struct nfp_net *nn) in nfp_net_bpf_stop() 575 int nfp_net_bpf_offload(struct nfp_net *nn, struct bpf_prog *prog, in nfp_net_bpf_offload()
|
/Linux-v6.1/fs/nfs/blocklayout/ |
D | rpc_pipefs.c | 56 struct nfs_net *nn = net_generic(net, nfs_net_id); in bl_resolve_deviceid() local 114 struct nfs_net *nn = net_generic(file_inode(filp)->i_sb->s_fs_info, in bl_pipe_downcall() local 169 struct nfs_net *nn = net_generic(net, nfs_net_id); in rpc_pipefs_event() local 234 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4blocklayout_net_init() local 253 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4blocklayout_net_exit() local
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 176 struct nfp_net *nn; in nfp_abm_kill_reprs_all() local 208 struct nfp_net *nn; in nfp_abm_eswitch_set_switchdev() local 257 nfp_abm_vnic_set_mac(struct nfp_pf *pf, struct nfp_abm *abm, struct nfp_net *nn, in nfp_abm_vnic_set_mac() 313 nfp_abm_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, unsigned int id) in nfp_abm_vnic_alloc() 362 static void nfp_abm_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_abm_vnic_free() 372 static int nfp_abm_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_abm_vnic_init()
|