Home
last modified time | relevance | path

Searched defs:nn (Results 1 – 25 of 74) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c101 static void nfp_net_reconfig_start(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start()
111 static void nfp_net_reconfig_start_async(struct nfp_net *nn, u32 update) in nfp_net_reconfig_start_async()
122 static bool nfp_net_reconfig_check_done(struct nfp_net *nn, bool last_check) in nfp_net_reconfig_check_done()
144 static bool __nfp_net_reconfig_wait(struct nfp_net *nn, unsigned long deadline) in __nfp_net_reconfig_wait()
166 static int nfp_net_reconfig_wait(struct nfp_net *nn, unsigned long deadline) in nfp_net_reconfig_wait()
179 struct nfp_net *nn = from_timer(nn, t, reconfig_timer); in nfp_net_reconfig_timer() local
207 static void nfp_net_reconfig_post(struct nfp_net *nn, u32 update) in nfp_net_reconfig_post()
227 static void nfp_net_reconfig_sync_enter(struct nfp_net *nn) in nfp_net_reconfig_sync_enter()
258 static void nfp_net_reconfig_wait_posted(struct nfp_net *nn) in nfp_net_reconfig_wait_posted()
278 int __nfp_net_reconfig(struct nfp_net *nn, u32 update) in __nfp_net_reconfig()
[all …]
Dccm_mbox.c54 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 …]
Dnfp_net_ethtool.c216 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_drvinfo() local
284 struct nfp_net *nn; in nfp_net_get_link_ksettings() local
385 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_get_ringparam() local
393 static int nfp_net_set_ring_size(struct nfp_net *nn, u32 rxd_cnt, u32 txd_cnt) in nfp_net_set_ring_size()
410 struct nfp_net *nn = netdev_priv(netdev); in nfp_net_set_ringparam() local
447 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats_count() local
455 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats_strings() local
489 struct nfp_net *nn = netdev_priv(netdev); in nfp_vnic_get_sw_stats() local
591 static unsigned int nfp_vnic_get_tlv_stats_count(struct nfp_net *nn) in nfp_vnic_get_tlv_stats_count()
596 static u8 *nfp_vnic_get_tlv_stats_strings(struct nfp_net *nn, u8 *data) in nfp_vnic_get_tlv_stats_strings()
[all …]
Dnfp_net_main.c85 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic()
97 struct nfp_net *nn, *next; in nfp_net_pf_free_vnics() local
110 struct nfp_net *nn; in nfp_net_pf_alloc_vnic() local
147 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic()
193 struct nfp_net *nn; in nfp_net_pf_alloc_vnics() local
222 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic()
237 struct nfp_net *nn; in nfp_net_pf_alloc_irqs() local
282 struct nfp_net *nn; in nfp_net_pf_init_vnics() local
550 struct nfp_net *nn, *next; in nfp_net_refresh_port_table_sync() local
764 struct nfp_net *nn, *next; in nfp_net_pci_remove() local
Dnfp_netvf_main.c28 struct nfp_net *nn; member
49 static void nfp_netvf_get_mac_addr(struct nfp_net *nn) in nfp_netvf_get_mac_addr()
76 struct nfp_net *nn; in nfp_netvf_pci_probe() local
286 struct nfp_net *nn; in nfp_netvf_pci_remove() local
Dnfp_app_nic.c12 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()
Dnfp_net.h27 #define nn_pr(nn, lvl, fmt, args...) \ argument
37 #define nn_err(nn, fmt, args...) nn_pr(nn, KERN_ERR, fmt, ## args) argument
38 #define nn_warn(nn, fmt, args...) nn_pr(nn, KERN_WARNING, fmt, ## args) argument
39 #define nn_info(nn, fmt, args...) nn_pr(nn, KERN_INFO, fmt, ## args) argument
40 #define nn_dbg(nn, fmt, args...) nn_pr(nn, KERN_DEBUG, fmt, ## args) argument
702 static inline u16 nn_readb(struct nfp_net *nn, int off) in nn_readb()
707 static inline void nn_writeb(struct nfp_net *nn, int off, u8 val) in nn_writeb()
712 static inline u16 nn_readw(struct nfp_net *nn, int off) in nn_readw()
717 static inline void nn_writew(struct nfp_net *nn, int off, u16 val) in nn_writew()
722 static inline u32 nn_readl(struct nfp_net *nn, int off) in nn_readl()
[all …]
Dnfp_net_debugfs.c17 struct nfp_net *nn; in nfp_rx_q_show() local
79 struct nfp_net *nn; in nfp_tx_q_show() local
148 void nfp_net_debugfs_vnic_add(struct nfp_net *nn, struct dentry *ddir) in nfp_net_debugfs_vnic_add()
Dnfp_app.h198 static inline int nfp_app_vnic_alloc(struct nfp_app *app, struct nfp_net *nn, in nfp_app_vnic_alloc()
204 static inline void nfp_app_vnic_free(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_free()
210 static inline int nfp_app_vnic_init(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_init()
217 static inline void nfp_app_vnic_clean(struct nfp_app *app, struct nfp_net *nn) in nfp_app_vnic_clean()
299 struct nfp_net *nn) in nfp_app_extra_cap()
320 static inline int nfp_app_bpf(struct nfp_app *app, struct nfp_net *nn, in nfp_app_bpf()
328 static inline int nfp_app_xdp_offload(struct nfp_app *app, struct nfp_net *nn, in nfp_app_xdp_offload()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfssvc.c188 nfsd_netns_free_versions(struct nfsd_net *nn) in nfsd_netns_free_versions()
197 nfsd_netns_init_versions(struct nfsd_net *nn) in nfsd_netns_init_versions()
207 int nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change) in nfsd_vers()
232 nfsd_adjust_nfsd_versions4(struct nfsd_net *nn) in nfsd_adjust_nfsd_versions4()
243 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change) in nfsd_minorversion()
283 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_nrthreads() local
295 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_init_socks() local
347 static bool nfsd_needs_lockd(struct nfsd_net *nn) in nfsd_needs_lockd()
352 void nfsd_copy_boot_verifier(__be32 verf[2], struct nfsd_net *nn) in nfsd_copy_boot_verifier()
369 static void nfsd_reset_boot_verifier_locked(struct nfsd_net *nn) in nfsd_reset_boot_verifier_locked()
[all …]
Dnfs4recover.c170 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 …]
Dnfscache.c88 nfsd_cache_hash(__be32 xid, struct nfsd_net *nn) in nfsd_cache_hash()
95 struct nfsd_net *nn) in nfsd_reply_cache_alloc()
121 struct nfsd_net *nn) in nfsd_reply_cache_free_locked()
138 struct nfsd_net *nn) in nfsd_reply_cache_free()
157 int nfsd_reply_cache_init(struct nfsd_net *nn) in nfsd_reply_cache_init()
194 void nfsd_reply_cache_shutdown(struct nfsd_net *nn) in nfsd_reply_cache_shutdown()
228 prune_bucket(struct nfsd_drc_bucket *b, struct nfsd_net *nn) in prune_bucket()
254 prune_cache_entries(struct nfsd_net *nn) in prune_cache_entries()
274 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_count() local
283 struct nfsd_net *nn = container_of(shrink, in nfsd_reply_cache_scan() local
[all …]
Dnfsctl.c144 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in exports_net_open() local
544 nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, in nfsd_print_version_support()
571 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in __write_versions() local
712 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_names() local
728 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_addfd() local
763 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_addxprt() local
897 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxblksize() local
946 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxconn() local
962 time64_t *time, struct nfsd_net *nn) in __nfsd4_write_time()
994 time64_t *time, struct nfsd_net *nn) in nfsd4_write_time()
[all …]
Dnfs4state.c146 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked() local
160 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in renew_client_locked() local
177 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in put_client_renew_locked() local
191 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in put_client_renew() local
218 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_put_session_locked() local
230 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_put_session() local
239 struct nfsd_net *nn) in find_blocked_lock()
260 struct nfsd_net *nn) in find_or_allocate_block()
292 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in remove_blocked_locks() local
770 static int nfs4_init_cp_state(struct nfsd_net *nn, copy_stateid_t *stid, in nfs4_init_cp_state()
[all …]
Dexport.c922 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in exp_rootfh() local
963 struct nfsd_net *nn = net_generic(cd->net, nfsd_net_id); in exp_find() local
1021 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_get_by_name() local
1052 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_find() local
1270 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_init() local
1306 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_flush() local
1318 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_shutdown() local
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c31 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 …]
/kernel/linux/linux-5.10/fs/nfs/
Dclient.c202 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_cleanup_cb_ident_idr() local
210 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_cb_idr_remove_locked() local
260 struct nfs_net *nn; in nfs_put_client() local
287 struct nfs_net *nn = net_generic(data->net, nfs_net_id); in nfs_match_client() local
405 struct nfs_net *nn = net_generic(cl_init->net, nfs_net_id); in nfs_get_client() local
879 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_server_insert_lists() local
893 struct nfs_net *nn; in nfs_server_remove_lists() local
1104 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_clients_init() local
1119 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_clients_exit() local
1158 struct nfs_net *nn = net_generic(seq_file_net(m), nfs_net_id); in nfs_server_list_start() local
[all …]
Dnfs4client.c31 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_get_cb_ident_idr() local
462 struct nfs_net *nn = net_generic(keep->cl_net, nfs_net_id); in nfs4_swap_callback_idents() local
496 struct nfs_client **prev, struct nfs_net *nn) in nfs4_match_client()
556 struct nfs_net *nn = net_generic(new->cl_net, nfs_net_id); in nfs40_walk_client_list() local
722 struct nfs_net *nn = net_generic(new->cl_net, nfs_net_id); in nfs41_walk_client_list() local
780 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4_find_client_ident() local
825 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4_find_client_sessionid() local
Dcallback.c46 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4_callback_up_net() local
186 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_callback_down_net() local
198 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_callback_up_net() local
Ddns_resolve.c352 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_dns_resolve_name() local
386 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_dns_resolver_cache_init() local
404 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_dns_resolver_cache_destroy() local
430 struct nfs_net *nn = net_generic(net, nfs_net_id); in rpc_pipefs_event() local
/kernel/linux/linux-5.10/fs/ocfs2/cluster/
Dtcp.c284 static u8 o2net_num_from_nn(struct o2net_node *nn) in o2net_num_from_nn()
292 static int o2net_prep_nsw(struct o2net_node *nn, struct o2net_status_wait *nsw) in o2net_prep_nsw()
312 static void o2net_complete_nsw_locked(struct o2net_node *nn, in o2net_complete_nsw_locked()
328 static void o2net_complete_nsw(struct o2net_node *nn, in o2net_complete_nsw()
350 static void o2net_complete_nodes_nsw(struct o2net_node *nn) in o2net_complete_nodes_nsw()
366 static int o2net_nsw_completed(struct o2net_node *nn, in o2net_nsw_completed()
488 static void o2net_set_nn_state(struct o2net_node *nn, in o2net_set_nn_state()
695 static void o2net_ensure_shutdown(struct o2net_node *nn, in o2net_ensure_shutdown()
718 struct o2net_node *nn = o2net_nn_from_num(sc->sc_node->nd_num); in o2net_shutdown_sc() local
935 struct o2net_node *nn = o2net_nn_from_num(sc->sc_node->nd_num); in o2net_sendpage() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c24 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
Doffload.c221 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()
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
Drpc_pipefs.c57 struct nfs_net *nn = net_generic(net, nfs_net_id); in bl_resolve_deviceid() local
115 struct nfs_net *nn = net_generic(file_inode(filp)->i_sb->s_fs_info, in bl_pipe_downcall() local
170 struct nfs_net *nn = net_generic(net, nfs_net_id); in rpc_pipefs_event() local
235 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4blocklayout_net_init() local
254 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4blocklayout_net_exit() local
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c176 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()

123