Home
last modified time | relevance | path

Searched refs:ifp (Results 1 – 25 of 82) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcore.c65 char *brcmf_ifname(struct brcmf_if *ifp) in brcmf_ifname() argument
67 if (!ifp) in brcmf_ifname()
70 if (ifp->ndev) in brcmf_ifname()
71 return ifp->ndev->name; in brcmf_ifname()
78 struct brcmf_if *ifp; in brcmf_get_ifp() local
86 ifp = NULL; in brcmf_get_ifp()
89 ifp = drvr->iflist[bsscfgidx]; in brcmf_get_ifp()
91 return ifp; in brcmf_get_ifp()
94 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable) in brcmf_configure_arp_nd_offload() argument
106 err = brcmf_fil_iovar_int_set(ifp, "arp_ol", mode); in brcmf_configure_arp_nd_offload()
[all …]
Dfwil.c96 brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set) in brcmf_fil_cmd_data() argument
98 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_cmd_data()
109 err = brcmf_proto_set_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
112 err = brcmf_proto_query_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
122 if (ifp->fwil_fwerr) in brcmf_fil_cmd_data()
129 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_set() argument
133 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
135 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d\n", ifp->ifidx, cmd, len); in brcmf_fil_cmd_data_set()
139 err = brcmf_fil_cmd_data(ifp, cmd, data, len, true); in brcmf_fil_cmd_data_set()
140 mutex_unlock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
[all …]
Dfeature.c136 static void brcmf_feat_iovar_int_get(struct brcmf_if *ifp, in brcmf_feat_iovar_int_get() argument
143 ifp->fwil_fwerr = true; in brcmf_feat_iovar_int_get()
145 err = brcmf_fil_iovar_int_get(ifp, name, &data); in brcmf_feat_iovar_int_get()
148 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get()
154 ifp->fwil_fwerr = false; in brcmf_feat_iovar_int_get()
157 static void brcmf_feat_iovar_data_set(struct brcmf_if *ifp, in brcmf_feat_iovar_data_set() argument
164 ifp->fwil_fwerr = true; in brcmf_feat_iovar_data_set()
166 err = brcmf_fil_iovar_data_set(ifp, name, data, len); in brcmf_feat_iovar_data_set()
169 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_data_set()
175 ifp->fwil_fwerr = false; in brcmf_feat_iovar_data_set()
[all …]
Dbtcoex.c103 static s32 brcmf_btcoex_params_write(struct brcmf_if *ifp, u32 addr, u32 data) in brcmf_btcoex_params_write() argument
112 return brcmf_fil_iovar_data_set(ifp, "btc_params", in brcmf_btcoex_params_write()
122 static s32 brcmf_btcoex_params_read(struct brcmf_if *ifp, u32 addr, u32 *data) in brcmf_btcoex_params_read() argument
126 return brcmf_fil_iovar_int_get(ifp, "btc_params", data); in brcmf_btcoex_params_read()
142 struct brcmf_if *ifp = brcmf_get_ifp(btci->cfg->pub, 0); in brcmf_btcoex_boost_wifi() local
151 brcmf_btcoex_params_read(ifp, 50, &btci->reg50); in brcmf_btcoex_boost_wifi()
152 brcmf_btcoex_params_read(ifp, 51, &btci->reg51); in brcmf_btcoex_boost_wifi()
153 brcmf_btcoex_params_read(ifp, 64, &btci->reg64); in brcmf_btcoex_boost_wifi()
154 brcmf_btcoex_params_read(ifp, 65, &btci->reg65); in brcmf_btcoex_boost_wifi()
155 brcmf_btcoex_params_read(ifp, 71, &btci->reg71); in brcmf_btcoex_boost_wifi()
[all …]
Dcfg80211.c471 send_key_to_dongle(struct brcmf_if *ifp, struct brcmf_wsec_key *key) in send_key_to_dongle() argument
473 struct brcmf_pub *drvr = ifp->drvr; in send_key_to_dongle()
479 brcmf_netdev_wait_pend8021x(ifp); in send_key_to_dongle()
481 err = brcmf_fil_bsscfg_data_set(ifp, "wsec_key", &key_le, in send_key_to_dongle()
493 struct brcmf_if *ifp; in brcmf_cfg80211_update_proto_addr_mode() local
496 ifp = vif->ifp; in brcmf_cfg80211_update_proto_addr_mode()
501 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
504 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
523 static int brcmf_cfg80211_request_ap_if(struct brcmf_if *ifp) in brcmf_cfg80211_request_ap_if() argument
525 struct brcmf_pub *drvr = ifp->drvr; in brcmf_cfg80211_request_ap_if()
[all …]
Dproto.h20 struct sk_buff *skb, struct brcmf_if **ifp);
35 void (*rxreorder)(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq);
36 void (*add_if)(struct brcmf_if *ifp);
37 void (*del_if)(struct brcmf_if *ifp);
38 void (*reset_if)(struct brcmf_if *ifp);
50 struct brcmf_if **ifp) in brcmf_proto_hdrpull() argument
57 if (ifp) in brcmf_proto_hdrpull()
58 *ifp = NULL; in brcmf_proto_hdrpull()
60 ifp = &tmp; in brcmf_proto_hdrpull()
61 return drvr->proto->hdrpull(drvr, do_fws, skb, ifp); in brcmf_proto_hdrpull()
[all …]
Dcommon.c80 void brcmf_c_set_joinpref_default(struct brcmf_if *ifp) in brcmf_c_set_joinpref_default() argument
82 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_set_joinpref_default()
96 err = brcmf_fil_iovar_data_set(ifp, "join_pref", join_pref_params, in brcmf_c_set_joinpref_default()
102 static int brcmf_c_download(struct brcmf_if *ifp, u16 flag, in brcmf_c_download() argument
115 err = brcmf_fil_iovar_data_set(ifp, "clmload", dload_buf, len); in brcmf_c_download()
120 static int brcmf_c_process_clm_blob(struct brcmf_if *ifp) in brcmf_c_process_clm_blob() argument
122 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_process_clm_blob()
167 err = brcmf_c_download(ifp, dl_flag, chunk_buf, chunk_len); in brcmf_c_process_clm_blob()
179 err = brcmf_fil_iovar_int_get(ifp, "clmload_status", &status); in brcmf_c_process_clm_blob()
193 int brcmf_c_preinit_dcmds(struct brcmf_if *ifp) in brcmf_c_preinit_dcmds() argument
[all …]
Dpno.c93 static int brcmf_pno_channel_config(struct brcmf_if *ifp, in brcmf_pno_channel_config() argument
99 return brcmf_fil_iovar_data_set(ifp, "pfn_cfg", cfg, sizeof(*cfg)); in brcmf_pno_channel_config()
102 static int brcmf_pno_config(struct brcmf_if *ifp, u32 scan_freq, in brcmf_pno_config() argument
105 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_config()
127 err = brcmf_fil_iovar_int_set(ifp, "pfnmem", pfnmem); in brcmf_pno_config()
133 err = brcmf_fil_iovar_int_get(ifp, "pfnmem", &pfnmem); in brcmf_pno_config()
146 err = brcmf_fil_iovar_data_set(ifp, "pfn_set", &pfn_param, in brcmf_pno_config()
155 static int brcmf_pno_set_random(struct brcmf_if *ifp, struct brcmf_pno_info *pi) in brcmf_pno_set_random() argument
157 struct brcmf_pub *drvr = ifp->drvr; in brcmf_pno_set_random()
189 err = brcmf_fil_iovar_data_set(ifp, "pfn_macaddr", &pfn_mac, in brcmf_pno_set_random()
[all …]
Dfwil.h82 s32 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len);
83 s32 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len);
84 s32 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data);
85 s32 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data);
87 s32 brcmf_fil_iovar_data_set(struct brcmf_if *ifp, char *name, const void *data,
89 s32 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, char *name, void *data,
91 s32 brcmf_fil_iovar_int_set(struct brcmf_if *ifp, char *name, u32 data);
92 s32 brcmf_fil_iovar_int_get(struct brcmf_if *ifp, char *name, u32 *data);
94 s32 brcmf_fil_bsscfg_data_set(struct brcmf_if *ifp, char *name, void *data,
96 s32 brcmf_fil_bsscfg_data_get(struct brcmf_if *ifp, char *name, void *data,
[all …]
Dfweh.c96 struct brcmf_if *ifp, in brcmf_fweh_call_event_handler() argument
104 if (ifp) { in brcmf_fweh_call_event_handler()
105 fweh = &ifp->drvr->fweh; in brcmf_fweh_call_event_handler()
109 err = fweh->evt_handler[code](ifp, emsg, data); in brcmf_fweh_call_event_handler()
130 struct brcmf_if *ifp; in brcmf_fweh_handle_if_event() local
155 ifp = drvr->iflist[ifevent->bsscfgidx]; in brcmf_fweh_handle_if_event()
160 ifp = brcmf_add_if(drvr, ifevent->bsscfgidx, ifevent->ifidx, in brcmf_fweh_handle_if_event()
162 if (IS_ERR(ifp)) in brcmf_fweh_handle_if_event()
165 brcmf_proto_add_if(drvr, ifp); in brcmf_fweh_handle_if_event()
167 if (brcmf_net_attach(ifp, false) < 0) in brcmf_fweh_handle_if_event()
[all …]
Dp2p.c429 static int brcmf_p2p_set_firmware(struct brcmf_if *ifp, u8 *p2p_mac) in brcmf_p2p_set_firmware() argument
431 struct brcmf_pub *drvr = ifp->drvr; in brcmf_p2p_set_firmware()
434 brcmf_fil_cmd_int_set(ifp, BRCMF_C_DOWN, 1); in brcmf_p2p_set_firmware()
435 brcmf_fil_iovar_int_set(ifp, "apsta", 1); in brcmf_p2p_set_firmware()
436 brcmf_fil_cmd_int_set(ifp, BRCMF_C_UP, 1); in brcmf_p2p_set_firmware()
443 brcmf_fil_iovar_int_set(ifp, "p2p_disc", 0); in brcmf_p2p_set_firmware()
445 ret = brcmf_fil_iovar_data_set(ifp, "p2p_da_override", p2p_mac, in brcmf_p2p_set_firmware()
465 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac()
538 static s32 brcmf_p2p_set_discover_state(struct brcmf_if *ifp, u8 state, in brcmf_p2p_set_discover_state() argument
548 ret = brcmf_fil_bsscfg_data_set(ifp, "p2p_state", &discover_state, in brcmf_p2p_set_discover_state()
[all …]
Dcore.h198 int brcmf_netdev_wait_pend8021x(struct brcmf_if *ifp);
201 char *brcmf_ifname(struct brcmf_if *ifp);
203 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable);
204 int brcmf_net_attach(struct brcmf_if *ifp, bool rtnl_locked);
207 void brcmf_remove_interface(struct brcmf_if *ifp, bool rtnl_locked);
208 void brcmf_txflowblock_if(struct brcmf_if *ifp,
210 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success);
211 void brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq);
212 void brcmf_netif_mon_rx(struct brcmf_if *ifp, struct sk_buff *skb);
214 int brcmf_net_mon_attach(struct brcmf_if *ifp);
[all …]
Dfwsignal.h37 void brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb);
38 int brcmf_fws_process_skb(struct brcmf_if *ifp, struct sk_buff *skb);
40 void brcmf_fws_reset_interface(struct brcmf_if *ifp);
41 void brcmf_fws_add_interface(struct brcmf_if *ifp);
42 void brcmf_fws_del_interface(struct brcmf_if *ifp);
45 void brcmf_fws_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb, bool inirq);
Dbcdc.c280 struct sk_buff *pktbuf, struct brcmf_if **ifp) in brcmf_proto_bcdc_hdrpull() argument
326 if (ifp != NULL) in brcmf_proto_bcdc_hdrpull()
327 *ifp = tmp_if; in brcmf_proto_bcdc_hdrpull()
334 struct brcmf_if *ifp = brcmf_get_ifp(drvr, ifidx); in brcmf_proto_bcdc_tx_queue_data() local
340 return brcmf_fws_process_skb(ifp, skb); in brcmf_proto_bcdc_tx_queue_data()
367 struct brcmf_if *ifp; in brcmf_proto_bcdc_txcomplete() local
374 if (brcmf_proto_bcdc_hdrpull(bus_if->drvr, false, txp, &ifp)) in brcmf_proto_bcdc_txcomplete()
377 brcmf_txfinalize(ifp, txp, success); in brcmf_proto_bcdc_txcomplete()
399 static void brcmf_proto_bcdc_rxreorder(struct brcmf_if *ifp, in brcmf_proto_bcdc_rxreorder() argument
402 brcmf_fws_rxreorder(ifp, skb, inirq); in brcmf_proto_bcdc_rxreorder()
[all …]
Dvendor.c24 struct brcmf_if *ifp; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local
38 ifp = vif->ifp; in brcmf_cfg80211_vndr_cmds_dcmd_handler()
40 brcmf_dbg(TRACE, "ifidx=%d, cmd=%d\n", ifp->ifidx, cmdhdr->cmd); in brcmf_cfg80211_vndr_cmds_dcmd_handler()
68 ret = brcmf_fil_cmd_data_set(ifp, cmdhdr->cmd, dcmd_buf, in brcmf_cfg80211_vndr_cmds_dcmd_handler()
71 ret = brcmf_fil_cmd_data_get(ifp, cmdhdr->cmd, dcmd_buf, in brcmf_cfg80211_vndr_cmds_dcmd_handler()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_inode_fork.c36 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_init_local_fork() local
52 ifp->if_u1.if_data = kmem_alloc(real_size, KM_NOFS); in xfs_init_local_fork()
53 memcpy(ifp->if_u1.if_data, data, size); in xfs_init_local_fork()
55 ifp->if_u1.if_data[size] = '\0'; in xfs_init_local_fork()
57 ifp->if_u1.if_data = NULL; in xfs_init_local_fork()
60 ifp->if_bytes = size; in xfs_init_local_fork()
61 ifp->if_flags &= ~(XFS_IFEXTENTS | XFS_IFBROOT); in xfs_init_local_fork()
62 ifp->if_flags |= XFS_IFINLINE; in xfs_init_local_fork()
106 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iformat_extents() local
128 ifp->if_bytes = 0; in xfs_iformat_extents()
[all …]
Dxfs_iext_tree.c128 inline xfs_extnum_t xfs_iext_count(struct xfs_ifork *ifp) in xfs_iext_count() argument
130 return ifp->if_bytes / sizeof(struct xfs_iext_rec); in xfs_iext_count()
133 static inline int xfs_iext_max_recs(struct xfs_ifork *ifp) in xfs_iext_max_recs() argument
135 if (ifp->if_height == 1) in xfs_iext_max_recs()
136 return xfs_iext_count(ifp); in xfs_iext_max_recs()
145 static inline bool xfs_iext_valid(struct xfs_ifork *ifp, in xfs_iext_valid() argument
150 if (cur->pos < 0 || cur->pos >= xfs_iext_max_recs(ifp)) in xfs_iext_valid()
159 struct xfs_ifork *ifp) in xfs_iext_find_first_leaf() argument
161 struct xfs_iext_node *node = ifp->if_u1.if_root; in xfs_iext_find_first_leaf()
164 if (!ifp->if_height) in xfs_iext_find_first_leaf()
[all …]
Dxfs_inode_fork.h63 static inline bool xfs_ifork_has_extents(struct xfs_ifork *ifp) in xfs_ifork_has_extents() argument
65 return ifp->if_format == XFS_DINODE_FMT_EXTENTS || in xfs_ifork_has_extents()
66 ifp->if_format == XFS_DINODE_FMT_BTREE; in xfs_ifork_has_extents()
69 static inline xfs_extnum_t xfs_ifork_nextents(struct xfs_ifork *ifp) in xfs_ifork_nextents() argument
71 if (!ifp) in xfs_ifork_nextents()
73 return ifp->if_nextents; in xfs_ifork_nextents()
76 static inline int8_t xfs_ifork_format(struct xfs_ifork *ifp) in xfs_ifork_format() argument
78 if (!ifp) in xfs_ifork_format()
80 return ifp->if_format; in xfs_ifork_format()
89 void xfs_idestroy_fork(struct xfs_ifork *ifp);
[all …]
Dxfs_symlink_remote.c169 struct xfs_ifork *ifp) in xfs_symlink_local_to_remote() argument
178 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote()
179 xfs_trans_log_buf(tp, bp, 0, ifp->if_bytes - 1); in xfs_symlink_local_to_remote()
188 ifp->if_bytes + sizeof(struct xfs_dsymlink_hdr)); in xfs_symlink_local_to_remote()
193 buf += xfs_symlink_hdr_set(mp, ip->i_ino, 0, ifp->if_bytes, bp); in xfs_symlink_local_to_remote()
194 memcpy(buf, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote()
196 ifp->if_bytes - 1); in xfs_symlink_local_to_remote()
207 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_symlink_shortform_verify() local
208 char *sfp = (char *)ifp->if_u1.if_data; in xfs_symlink_shortform_verify()
209 int size = ifp->if_bytes; in xfs_symlink_shortform_verify()
[all …]
Dxfs_bmap.c123 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_needs_btree() local
126 ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_bmap_needs_btree()
127 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_needs_btree()
135 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_wants_extents() local
138 ifp->if_format == XFS_DINODE_FMT_BTREE && in xfs_bmap_wants_extents()
139 ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_wants_extents()
321 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_check_leaf_extents() local
334 if (ifp->if_format != XFS_DINODE_FMT_BTREE) in xfs_bmap_check_leaf_extents()
342 block = ifp->if_broot; in xfs_bmap_check_leaf_extents()
348 xfs_check_block(block, mp, 1, ifp->if_broot_bytes); in xfs_bmap_check_leaf_extents()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_eeprom.c114 static u8 flash_csum(struct qib_flash *ifp, int adjust) in flash_csum() argument
116 u8 *ip = (u8 *) ifp; in flash_csum()
124 len = ifp->if_length; in flash_csum()
129 csum -= ifp->if_csum; in flash_csum()
132 ifp->if_csum = csum; in flash_csum()
147 struct qib_flash *ifp; in qib_get_eeprom_info() local
197 ifp = (struct qib_flash *)buf; in qib_get_eeprom_info()
199 csum = flash_csum(ifp, 0); in qib_get_eeprom_info()
200 if (csum != ifp->if_csum) { in qib_get_eeprom_info()
203 csum, ifp->if_csum); in qib_get_eeprom_info()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Daddrconf.c161 static void addrconf_join_anycast(struct inet6_ifaddr *ifp);
162 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp);
174 static void addrconf_dad_start(struct inet6_ifaddr *ifp);
176 static void addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id,
308 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument
310 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work()
311 __in6_ifa_put(ifp); in addrconf_del_dad_work()
322 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument
325 in6_ifa_hold(ifp); in addrconf_mod_dad_work()
326 if (mod_delayed_work(addrconf_wq, &ifp->dad_work, delay)) in addrconf_mod_dad_work()
[all …]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_addrconf.c95 static void nip_link_dev_addr(struct ninet_dev *idev, struct ninet_ifaddr *ifp) in nip_link_dev_addr() argument
97 list_add_tail(&ifp->if_list, &idev->addr_list); in nip_link_dev_addr()
288 struct ninet_ifaddr *ifp; in ninet_addr_add() local
322 ifp = nip_add_addr(idev, pfx, ifa_flags_tmp, in ninet_addr_add()
325 if (!IS_ERR(ifp)) { in ninet_addr_add()
326 nin_ifa_put(ifp); in ninet_addr_add()
327 nip_ins_rt(ifp->rt); in ninet_addr_add()
328 nip_dbg("success, ifp->refcnt=%u", refcount_read(&ifp->refcnt)); in ninet_addr_add()
332 return PTR_ERR(ifp); in ninet_addr_add()
336 void ninet_ifa_finish_destroy(struct ninet_ifaddr *ifp) in ninet_ifa_finish_destroy() argument
[all …]
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/
Dnip_addrconf.h96 void ninet_ifa_finish_destroy(struct ninet_ifaddr *ifp);
98 static inline void nin_ifa_put(struct ninet_ifaddr *ifp) in nin_ifa_put() argument
100 if (refcount_dec_and_test(&ifp->refcnt)) in nin_ifa_put()
101 ninet_ifa_finish_destroy(ifp); in nin_ifa_put()
104 static inline void __nin_ifa_put(struct ninet_ifaddr *ifp) in __nin_ifa_put() argument
106 refcount_dec(&ifp->refcnt); in __nin_ifa_put()
109 static inline void nin_ifa_hold(struct ninet_ifaddr *ifp) in nin_ifa_hold() argument
111 refcount_inc(&ifp->refcnt); in nin_ifa_hold()
/kernel/linux/linux-5.10/drivers/block/aoe/
Daoenet.c58 struct net_device *ifp; in tx() local
62 ifp = skb->dev; in tx()
65 ifp ? ifp->name : "netif", in tx()
73 is_aoe_netif(struct net_device *ifp) in is_aoe_netif() argument
89 if (strlen(ifp->name) == len && !strncmp(ifp->name, p, len)) in is_aoe_netif()
131 aoenet_rcv(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt, struct net_device *… in aoenet_rcv() argument
138 if (dev_net(ifp) != &init_net) in aoenet_rcv()
144 if (!is_aoe_netif(ifp)) in aoenet_rcv()

1234