Home
last modified time | relevance | path

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

123

/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcore.c67 char *brcmf_ifname(struct brcmf_if *ifp) in brcmf_ifname() argument
69 if (!ifp) in brcmf_ifname()
72 if (ifp->ndev) in brcmf_ifname()
73 return ifp->ndev->name; in brcmf_ifname()
80 struct brcmf_if *ifp; in brcmf_get_ifp() local
88 ifp = NULL; in brcmf_get_ifp()
91 ifp = drvr->iflist[bsscfgidx]; in brcmf_get_ifp()
93 return ifp; in brcmf_get_ifp()
96 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable) in brcmf_configure_arp_nd_offload() argument
101 if (enable && brcmf_is_apmode_operating(ifp in brcmf_configure_arp_nd_offload()
140 struct brcmf_if *ifp = container_of(work, struct brcmf_if, _brcmf_set_multicast_list() local
212 struct brcmf_if *ifp = container_of(work, struct brcmf_if, _brcmf_update_ndtable() local
240 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_set_mac_address() local
257 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_set_multicast_list() local
297 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_start_xmit() local
384 brcmf_txflowblock_if(struct brcmf_if * ifp,enum brcmf_netif_stop_reason reason,bool state) brcmf_txflowblock_if() argument
408 brcmf_netif_rx(struct brcmf_if * ifp,struct sk_buff * skb) brcmf_netif_rx() argument
434 brcmf_netif_mon_rx(struct brcmf_if * ifp,struct sk_buff * skb) brcmf_netif_mon_rx() argument
484 brcmf_rx_hdrpull(struct brcmf_pub * drvr,struct sk_buff * skb,struct brcmf_if ** ifp) brcmf_rx_hdrpull() argument
505 struct brcmf_if *ifp; brcmf_rx_frame() local
530 struct brcmf_if *ifp; brcmf_rx_event() local
543 brcmf_txfinalize(struct brcmf_if * ifp,struct sk_buff * txp,bool success) brcmf_txfinalize() argument
573 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_ethtool_get_drvinfo() local
592 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_stop() local
605 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_netdev_open() local
645 brcmf_net_attach(struct brcmf_if * ifp,bool locked) brcmf_net_attach() argument
704 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_net_mon_open() local
730 struct brcmf_if *ifp = netdev_priv(ndev); brcmf_net_mon_stop() local
759 brcmf_net_mon_attach(struct brcmf_if * ifp) brcmf_net_mon_attach() argument
777 brcmf_net_setcarrier(struct brcmf_if * ifp,bool on) brcmf_net_setcarrier() argument
825 brcmf_net_p2p_attach(struct brcmf_if * ifp) brcmf_net_p2p_attach() argument
857 struct brcmf_if *ifp; brcmf_add_if() local
923 struct brcmf_if *ifp; brcmf_del_if() local
968 brcmf_remove_interface(struct brcmf_if * ifp,bool locked) brcmf_remove_interface() argument
978 brcmf_psm_watchdog_notify(struct brcmf_if * ifp,const struct brcmf_event_msg * evtmsg,void * data) brcmf_psm_watchdog_notify() argument
1006 struct brcmf_if *ifp; brcmf_inetaddr_changed() local
1096 struct brcmf_if *ifp; brcmf_inet6addr_changed() local
1235 struct brcmf_if *ifp; brcmf_bus_started() local
1532 struct brcmf_if *ifp = bus_if->drvr->iflist[0]; brcmf_iovar_data_set() local
1537 brcmf_get_pend_8021x_cnt(struct brcmf_if * ifp) brcmf_get_pend_8021x_cnt() argument
1542 brcmf_netdev_wait_pend8021x(struct brcmf_if * ifp) brcmf_netdev_wait_pend8021x() argument
[all...]
H A 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_query(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 …]
H A Dfwil.c97 brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set) in brcmf_fil_cmd_data() argument
99 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_cmd_data()
110 err = brcmf_proto_set_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
113 err = brcmf_proto_query_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data()
123 if (ifp->fwil_fwerr) in brcmf_fil_cmd_data()
130 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_set() argument
134 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
136 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d\n", ifp->ifidx, cmd, len); in brcmf_fil_cmd_data_set()
140 err = brcmf_fil_cmd_data(ifp, cmd, data, len, true); in brcmf_fil_cmd_data_set()
141 mutex_unlock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set()
[all …]
H A 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
114 err = brcmf_fil_iovar_data_set(ifp, var, dload_buf, in brcmf_c_download()
120 static int brcmf_c_download_blob(struct brcmf_if *ifp, in brcmf_c_download_blob() argument
124 struct brcmf_pub *drvr = ifp->drvr; in brcmf_c_download_blob()
152 err = brcmf_c_download(ifp, dl_flag, chunk_buf, chunk_len, in brcmf_c_download_blob()
165 err = brcmf_fil_iovar_int_get(ifp, statvar, &status); in brcmf_c_download_blob()
177 static int brcmf_c_process_clm_blob(struct brcmf_if *ifp) in brcmf_c_process_clm_blob() argument
[all …]
H A Dcfg80211.c548 send_key_to_dongle(struct brcmf_if *ifp, struct brcmf_wsec_key *key) in send_key_to_dongle() argument
550 struct brcmf_pub *drvr = ifp->drvr; in send_key_to_dongle()
556 brcmf_netdev_wait_pend8021x(ifp); in send_key_to_dongle()
558 err = brcmf_fil_bsscfg_data_set(ifp, "wsec_key", &key_le, in send_key_to_dongle()
570 struct brcmf_if *ifp; in brcmf_cfg80211_update_proto_addr_mode() local
573 ifp = vif->ifp; in brcmf_cfg80211_update_proto_addr_mode()
578 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
581 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode()
600 static void brcmf_set_vif_sta_macaddr(struct brcmf_if *ifp, u8 *mac_addr) in brcmf_set_vif_sta_macaddr() argument
602 u8 mac_idx = ifp->drvr->sta_mac_idx; in brcmf_set_vif_sta_macaddr()
[all …]
H A Dproto.h20 struct sk_buff *skb, struct brcmf_if **ifp);
35 void (*rxreorder)(struct brcmf_if *ifp, struct sk_buff *skb);
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 …]
H A 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 …]
H A Dp2p.c455 static int brcmf_p2p_set_firmware(struct brcmf_if *ifp, u8 *p2p_mac) in brcmf_p2p_set_firmware() argument
457 struct brcmf_pub *drvr = ifp->drvr; in brcmf_p2p_set_firmware()
460 brcmf_fil_cmd_int_set(ifp, BRCMF_C_DOWN, 1); in brcmf_p2p_set_firmware()
461 brcmf_fil_iovar_int_set(ifp, "apsta", 1); in brcmf_p2p_set_firmware()
462 brcmf_fil_cmd_int_set(ifp, BRCMF_C_UP, 1); in brcmf_p2p_set_firmware()
469 brcmf_fil_iovar_int_set(ifp, "p2p_disc", 0); in brcmf_p2p_set_firmware()
471 ret = brcmf_fil_iovar_data_set(ifp, "p2p_da_override", p2p_mac, in brcmf_p2p_set_firmware()
491 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac()
564 static s32 brcmf_p2p_set_discover_state(struct brcmf_if *ifp, u8 state, in brcmf_p2p_set_discover_state() argument
574 ret = brcmf_fil_bsscfg_data_set(ifp, "p2p_state", &discover_state, in brcmf_p2p_set_discover_state()
[all …]
H A Dfweh.c98 struct brcmf_if *ifp, in brcmf_fweh_call_event_handler() argument
106 if (ifp) { in brcmf_fweh_call_event_handler()
107 fweh = ifp->drvr->fweh; in brcmf_fweh_call_event_handler()
111 err = fweh->evt_handler[fwcode](ifp, emsg, data); in brcmf_fweh_call_event_handler()
132 struct brcmf_if *ifp; in brcmf_fweh_handle_if_event() local
162 ifp = drvr->iflist[ifevent->bsscfgidx]; in brcmf_fweh_handle_if_event()
167 ifp = brcmf_add_if(drvr, ifevent->bsscfgidx, ifevent->ifidx, in brcmf_fweh_handle_if_event()
169 if (IS_ERR(ifp)) in brcmf_fweh_handle_if_event()
172 brcmf_proto_add_if(drvr, ifp); in brcmf_fweh_handle_if_event()
174 if (brcmf_net_attach(ifp, false) < 0) in brcmf_fweh_handle_if_event()
[all …]
H A Dcore.h207 int brcmf_netdev_wait_pend8021x(struct brcmf_if *ifp);
210 char *brcmf_ifname(struct brcmf_if *ifp);
212 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable);
213 int brcmf_net_attach(struct brcmf_if *ifp, bool locked);
216 void brcmf_remove_interface(struct brcmf_if *ifp, bool locked);
217 void brcmf_txflowblock_if(struct brcmf_if *ifp,
219 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success);
220 void brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb);
221 void brcmf_netif_mon_rx(struct brcmf_if *ifp, struct sk_buff *skb);
223 int brcmf_net_mon_attach(struct brcmf_if *ifp);
[all …]
H A 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);
46 void brcmf_fws_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb);
H A Dp2p.h152 void brcmf_p2p_ifp_removed(struct brcmf_if *ifp, bool rtnl_locked);
162 int brcmf_p2p_notify_listen_complete(struct brcmf_if *ifp,
165 void brcmf_p2p_cancel_remain_on_channel(struct brcmf_if *ifp);
166 int brcmf_p2p_notify_action_frame_rx(struct brcmf_if *ifp,
169 int brcmf_p2p_notify_action_tx_complete(struct brcmf_if *ifp,
172 bool brcmf_p2p_send_action_frame(struct brcmf_if *ifp,
176 s32 brcmf_p2p_notify_rx_mgmt_p2p_probereq(struct brcmf_if *ifp,
H A Dbcdc.c282 struct sk_buff *pktbuf, struct brcmf_if **ifp) in brcmf_proto_bcdc_hdrpull() argument
328 if (ifp != NULL) in brcmf_proto_bcdc_hdrpull()
329 *ifp = tmp_if; in brcmf_proto_bcdc_hdrpull()
336 struct brcmf_if *ifp = brcmf_get_ifp(drvr, ifidx); in brcmf_proto_bcdc_tx_queue_data() local
342 return brcmf_fws_process_skb(ifp, skb); in brcmf_proto_bcdc_tx_queue_data()
369 struct brcmf_if *ifp; in brcmf_proto_bcdc_txcomplete() local
375 if (brcmf_proto_bcdc_hdrpull(bus_if->drvr, false, txp, &ifp)) in brcmf_proto_bcdc_txcomplete()
378 brcmf_txfinalize(ifp, txp, success); in brcmf_proto_bcdc_txcomplete()
400 static void brcmf_proto_bcdc_rxreorder(struct brcmf_if *ifp, in brcmf_proto_bcdc_rxreorder() argument
403 brcmf_fws_rxreorder(ifp, skb); in brcmf_proto_bcdc_rxreorder()
[all …]
H A Dfwsignal.c747 brcmf_fws_macdesc_find(struct brcmf_fws_info *fws, struct brcmf_if *ifp, u8 *da) in brcmf_fws_macdesc_find() argument
758 if (multicast && ifp->fws_desc) { in brcmf_fws_macdesc_find()
759 entry = ifp->fws_desc; in brcmf_fws_macdesc_find()
765 entry = ifp->fws_desc; in brcmf_fws_macdesc_find()
962 struct brcmf_if *ifp = brcmf_get_ifp(fws->drvr, if_id); in brcmf_fws_flow_control_check() local
964 if (WARN_ON(!ifp)) in brcmf_fws_flow_control_check()
967 if ((ifp->netif_stop & BRCMF_NETIF_STOP_REASON_FWS_FC) && in brcmf_fws_flow_control_check()
969 brcmf_txflowblock_if(ifp, in brcmf_fws_flow_control_check()
971 if (!(ifp->netif_stop & BRCMF_NETIF_STOP_REASON_FWS_FC) && in brcmf_fws_flow_control_check()
974 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FWS_FC, true); in brcmf_fws_flow_control_check()
[all …]
H A 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()
H A Dcfg80211.h245 struct brcmf_if *ifp; member
292 struct brcmf_if *ifp; member
293 s32 (*run)(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp,
450 struct brcmf_if *ifp = netdev_priv(nd); in ndev_to_prof() local
451 return &ifp->vif->profile; in ndev_to_prof()
456 struct brcmf_if *ifp = netdev_priv(ndev); in ndev_to_vif() local
457 return ifp->vif; in ndev_to_vif()
491 struct brcmf_if *ifp, bool aborted,
498 int brcmf_set_wsec(struct brcmf_if *ifp, const u8 *key, u16 key_len, u16 flags);
/linux/fs/xfs/libxfs/
H A Dxfs_inode_fork.h82 static inline bool xfs_ifork_has_extents(struct xfs_ifork *ifp) in xfs_ifork_has_extents() argument
84 return ifp->if_format == XFS_DINODE_FMT_EXTENTS || in xfs_ifork_has_extents()
85 ifp->if_format == XFS_DINODE_FMT_BTREE; in xfs_ifork_has_extents()
88 static inline xfs_extnum_t xfs_ifork_nextents(struct xfs_ifork *ifp) in xfs_ifork_nextents() argument
90 if (!ifp) in xfs_ifork_nextents()
92 return ifp->if_nextents; in xfs_ifork_nextents()
95 static inline int8_t xfs_ifork_format(struct xfs_ifork *ifp) in xfs_ifork_format() argument
97 if (!ifp) in xfs_ifork_format()
99 return ifp->if_format; in xfs_ifork_format()
170 void xfs_idestroy_fork(struct xfs_ifork *ifp);
[all …]
H A Dxfs_rtrefcount_btree.c57 struct xfs_ifork *ifp = xfs_btree_ifork_ptr(cur); in xfs_rtrefcountbt_get_minrecs() local
59 return xfs_rtrefcountbt_maxrecs(cur->bc_mp, ifp->if_broot_bytes, in xfs_rtrefcountbt_get_minrecs()
72 struct xfs_ifork *ifp = xfs_btree_ifork_ptr(cur); in xfs_rtrefcountbt_get_maxrecs() local
74 return xfs_rtrefcountbt_maxrecs(cur->bc_mp, ifp->if_broot_bytes, in xfs_rtrefcountbt_get_maxrecs()
308 struct xfs_ifork *ifp = xfs_btree_ifork_ptr(cur); in xfs_rtrefcountbt_broot_realloc() local
311 unsigned int old_size = ifp->if_broot_bytes; in xfs_rtrefcountbt_broot_realloc()
318 return ifp->if_broot; in xfs_rtrefcountbt_broot_realloc()
328 return xfs_broot_realloc(ifp, new_size); in xfs_rtrefcountbt_broot_realloc()
336 broot = xfs_broot_realloc(ifp, new_size); in xfs_rtrefcountbt_broot_realloc()
347 ASSERT(ifp->if_broot != NULL && old_size > 0); in xfs_rtrefcountbt_broot_realloc()
[all …]
H A Dxfs_rtrmap_btree.c59 struct xfs_ifork *ifp = xfs_btree_ifork_ptr(cur); in xfs_rtrmapbt_get_minrecs() local
61 return xfs_rtrmapbt_maxrecs(cur->bc_mp, ifp->if_broot_bytes, in xfs_rtrmapbt_get_minrecs()
74 struct xfs_ifork *ifp = xfs_btree_ifork_ptr(cur); in xfs_rtrmapbt_get_maxrecs() local
76 return xfs_rtrmapbt_maxrecs(cur->bc_mp, ifp->if_broot_bytes, in xfs_rtrmapbt_get_maxrecs()
409 struct xfs_ifork *ifp = xfs_btree_ifork_ptr(cur); in xfs_rtrmapbt_broot_realloc() local
412 unsigned int old_size = ifp->if_broot_bytes; in xfs_rtrmapbt_broot_realloc()
419 return ifp->if_broot; in xfs_rtrmapbt_broot_realloc()
429 return xfs_broot_realloc(ifp, new_size); in xfs_rtrmapbt_broot_realloc()
437 broot = xfs_broot_realloc(ifp, new_size); in xfs_rtrmapbt_broot_realloc()
448 ASSERT(ifp->if_broot != NULL && old_size > 0); in xfs_rtrmapbt_broot_realloc()
[all …]
/linux/net/ipv6/
H A Daddrconf.c156 static void addrconf_join_anycast(struct inet6_ifaddr *ifp);
157 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp);
169 static void addrconf_dad_start(struct inet6_ifaddr *ifp);
171 static void addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id,
323 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument
325 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work()
326 __in6_ifa_put(ifp); in addrconf_del_dad_work()
336 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument
339 in6_ifa_hold(ifp); in addrconf_mod_dad_work()
340 if (mod_delayed_work(addrconf_wq, &ifp in addrconf_mod_dad_work()
987 inet6_ifa_finish_destroy(struct inet6_ifaddr * ifp) inet6_ifa_finish_destroy() argument
1010 ipv6_link_dev_addr(struct inet6_dev * idev,struct inet6_ifaddr * ifp) ipv6_link_dev_addr() argument
1039 struct inet6_ifaddr *ifp; ipv6_chk_same_addr() local
1234 check_cleanup_prefix_route(struct inet6_ifaddr * ifp,unsigned long * expires) check_cleanup_prefix_route() argument
1272 cleanup_prefix_route(struct inet6_ifaddr * ifp,unsigned long expires,bool del_rt,bool del_peer) cleanup_prefix_route() argument
1304 ipv6_del_addr(struct inet6_ifaddr * ifp) ipv6_del_addr() argument
1369 ipv6_create_tempaddr(struct inet6_ifaddr * ifp,bool block) ipv6_create_tempaddr() argument
1924 struct inet6_ifaddr *ifp; __ipv6_get_lladdr() local
1959 const struct inet6_ifaddr *ifp; ipv6_count_addresses() local
1993 struct inet6_ifaddr *ifp; __ipv6_chk_addr_and_flags() local
2104 struct inet6_ifaddr *ifp, *result = NULL; ipv6_get_ifaddr() local
2125 addrconf_dad_stop(struct inet6_ifaddr * ifp,int dad_failed) addrconf_dad_stop() argument
2158 addrconf_dad_end(struct inet6_ifaddr * ifp) addrconf_dad_end() argument
2172 addrconf_dad_failure(struct sk_buff * skb,struct inet6_ifaddr * ifp) addrconf_dad_failure() argument
2276 addrconf_join_anycast(struct inet6_ifaddr * ifp) addrconf_join_anycast() argument
2288 addrconf_leave_anycast(struct inet6_ifaddr * ifp) addrconf_leave_anycast() argument
2422 struct inet6_ifaddr *ifp; ipv6_inherit_eui64() local
2592 delete_tempaddrs(struct inet6_dev * idev,struct inet6_ifaddr * ifp) delete_tempaddrs() argument
2610 manage_tempaddrs(struct inet6_dev * idev,struct inet6_ifaddr * ifp,__u32 valid_lft,__u32 prefered_lft,bool create,unsigned long now) manage_tempaddrs() argument
2702 struct inet6_ifaddr *ifp = ipv6_get_ifaddr(net, addr, dev, 1); addrconf_prefix_rcv_add_addr() local
3041 struct inet6_ifaddr *ifp; inet6_addr_add() local
3111 struct inet6_ifaddr *ifp; inet6_addr_del() local
3214 struct inet6_ifaddr *ifp; add_addr() local
3326 struct inet6_ifaddr *ifp; addrconf_add_linklocal() local
3603 fixup_permanent_addr(struct net * net,struct inet6_dev * idev,struct inet6_ifaddr * ifp) fixup_permanent_addr() argument
3640 struct inet6_ifaddr *ifp; addrconf_permanent_addr() local
4104 addrconf_dad_kick(struct inet6_ifaddr * ifp) addrconf_dad_kick() argument
4128 addrconf_dad_begin(struct inet6_ifaddr * ifp) addrconf_dad_begin() argument
4197 addrconf_dad_start(struct inet6_ifaddr * ifp) addrconf_dad_start() argument
4214 struct inet6_ifaddr *ifp = container_of(to_delayed_work(w), addrconf_dad_work() local
4326 ipv6_lonely_lladdr(struct inet6_ifaddr * ifp) ipv6_lonely_lladdr() argument
4343 addrconf_dad_completed(struct inet6_ifaddr * ifp,bool bump_id,bool send_na) addrconf_dad_completed() argument
4421 struct inet6_ifaddr *ifp; addrconf_dad_run() local
4521 struct inet6_ifaddr *ifp = (struct inet6_ifaddr *)v; if6_seq_show() local
4573 struct inet6_ifaddr *ifp = NULL; ipv6_chk_home_addr() local
4604 struct inet6_ifaddr *ifp; ipv6_chk_rpl_srh_loop() local
4647 struct inet6_ifaddr *ifp; addrconf_verify_rtnl() local
4843 modify_prefix_route(struct net * net,struct inet6_ifaddr * ifp,unsigned long expires,u32 flags,bool modify_peer) modify_prefix_route() argument
4888 inet6_addr_modify(struct net * net,struct inet6_ifaddr * ifp,struct ifa6_config * cfg,clock_t expires,u32 flags) inet6_addr_modify() argument
5927 struct inet6_ifaddr *ifp; inet6_set_iftoken() local
6300 __ipv6_ifa_notify(int event,struct inet6_ifaddr * ifp) __ipv6_ifa_notify() argument
6356 ipv6_ifa_notify(int event,struct inet6_ifaddr * ifp) ipv6_ifa_notify() argument
[all...]
/linux/fs/xfs/scrub/
H A Dsymlink_repair.c170 struct xfs_ifork *ifp; in xrep_symlink_salvage_inline() local
173 ifp = xfs_ifork_ptr(ip, XFS_DATA_FORK); in xrep_symlink_salvage_inline()
174 if (!ifp->if_data) in xrep_symlink_salvage_inline()
182 old_target = ifp->if_data; in xrep_symlink_salvage_inline()
187 nr = min(XFS_SYMLINK_MAXLEN, ifp->if_bytes); in xrep_symlink_salvage_inline()
188 memcpy(target_buf, ifp->if_data, nr); in xrep_symlink_salvage_inline()
251 struct xfs_ifork *ifp, in xrep_symlink_local_to_remote() argument
257 xfs_symlink_local_to_remote(tp, bp, ip, ifp, NULL); in xrep_symlink_local_to_remote()
264 sizeof(struct xfs_dsymlink_hdr) + ifp->if_bytes - 1); in xrep_symlink_local_to_remote()
307 struct xfs_ifork *ifp; in xrep_symlink_swap_prep() local
[all …]
H A Dbmap.c533 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, info->whichfork); in xchk_bmapbt_rec() local
569 if (!xfs_iext_lookup_extent(ip, ifp, irec.br_startoff, &icur, in xchk_bmapbt_rec()
588 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->ip, whichfork); in xchk_bmap_btree() local
595 info->was_loaded = !xfs_need_iread_extents(ifp); in xchk_bmap_btree()
626 struct xfs_ifork *ifp; in xchk_bmap_check_rmap() local
640 ifp = xfs_ifork_ptr(sc->ip, sbcri->whichfork); in xchk_bmap_check_rmap()
641 if (!ifp) { in xchk_bmap_check_rmap()
646 have_map = xfs_iext_lookup_extent(sc->ip, ifp, rec->rm_offset, in xchk_bmap_check_rmap()
677 have_map = xfs_iext_next_extent(ifp, &sbcri->icur, &irec); in xchk_bmap_check_rmap()
750 struct xfs_ifork *ifp = &ip->i_af; in xchk_bmap_check_empty_attrfork() local
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/
H A Dcore.c26 static int brcmf_cyw_set_sae_pwd(struct brcmf_if *ifp, in brcmf_cyw_set_sae_pwd() argument
29 struct brcmf_pub *drvr = ifp->drvr; in brcmf_cyw_set_sae_pwd()
43 err = brcmf_fil_iovar_data_set(ifp, "sae_password", &sae_pwd, in brcmf_cyw_set_sae_pwd()
79 static int brcmf_cyw_activate_events(struct brcmf_if *ifp) in brcmf_cyw_activate_events() argument
81 struct brcmf_fweh_info *fweh = ifp->drvr->fweh; in brcmf_cyw_activate_events()
95 err = brcmf_fil_iovar_data_set(ifp, "event_msgs_ext", eventmask_msg, in brcmf_cyw_activate_events()
146 err = brcmf_fil_cmd_data_get(vif->ifp, BRCMF_C_GET_CHANNEL, in brcmf_cyw_mgmt_tx()
170 err = brcmf_fil_bsscfg_data_set(vif->ifp, "mgmt_frame", in brcmf_cyw_mgmt_tx()
199 struct brcmf_if *ifp; in brcmf_cyw_external_auth() local
206 ifp = netdev_priv(dev); in brcmf_cyw_external_auth()
[all …]
/linux/drivers/block/aoe/
H A Daoenet.c57 struct net_device *ifp; in tx() local
61 ifp = skb->dev; in tx()
64 ifp ? ifp->name : "netif", in tx()
66 dev_put(ifp); 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()
H A Daoecmd.c132 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in aoehdr_atainit()
158 struct aoeif *ifp; in ifrotate() local
160 ifp = t->ifp; in ifrotate()
161 ifp++; in ifrotate()
162 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) in ifrotate()
163 ifp = t->ifs; in ifrotate()
164 if (ifp->nd == NULL) in ifrotate()
166 return t->ifp = ifp; in ifrotate()
273 && t->ifp->nd) { in newframe()
364 dev_hold(t->ifp->nd); in ata_rw_frameinit()
[all …]

123