Home
last modified time | relevance | path

Searched full:ifp (Results 1 – 25 of 88) sorted by relevance

1234

/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
108 err = brcmf_fil_iovar_int_set(ifp, "arp_ol", mode); in brcmf_configure_arp_nd_offload()
[all …]
H A 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);
85 s32 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data) in brcmf_fil_cmd_int_set() argument
90 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, value=%d\n", ifp->ifidx, cmd, data); in brcmf_fil_cmd_int_set()
91 err = brcmf_fil_cmd_data_set(ifp, cmd, &data_le, sizeof(data_le)); in brcmf_fil_cmd_int_set()
96 s32 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data) in brcmf_fil_cmd_int_get() argument
100 err = brcmf_fil_cmd_data_get(ifp, cmd, data, sizeof(*data)); in brcmf_fil_cmd_int_get()
103 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, value=%d\n", ifp->ifidx, cmd, *data); in brcmf_fil_cmd_int_get()
108 s32 brcmf_fil_cmd_int_query(struct brcmf_if *ifp, u32 cmd, u32 *data) in brcmf_fil_cmd_int_query() argument
113 return brcmf_fil_cmd_int_get(ifp, cmd, data); in brcmf_fil_cmd_int_query()
[all …]
H A Dfeature.c143 struct brcmf_if *ifp = brcmf_get_ifp(drv, 0); in brcmf_feat_wlc_version_overrides() local
149 err = brcmf_fil_iovar_data_get(ifp, "wlc_ver", &ver, sizeof(ver)); in brcmf_feat_wlc_version_overrides()
180 * @ifp: interface to query.
184 static void brcmf_feat_iovar_int_get(struct brcmf_if *ifp, in brcmf_feat_iovar_int_get() argument
191 ifp->fwil_fwerr = true; in brcmf_feat_iovar_int_get()
193 err = brcmf_fil_iovar_int_get(ifp, name, &data); in brcmf_feat_iovar_int_get()
196 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get()
202 ifp->fwil_fwerr = false; in brcmf_feat_iovar_int_get()
205 static void brcmf_feat_iovar_data_set(struct brcmf_if *ifp, in brcmf_feat_iovar_data_set() argument
212 ifp->fwil_fwerr = true; in brcmf_feat_iovar_data_set()
[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 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 Dbtcoex.c99 * @ifp: interface
103 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()
118 * @ifp: interface
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()
[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 Dfweh.c97 struct brcmf_if *ifp, in brcmf_fweh_call_event_handler() argument
105 if (ifp) { in brcmf_fweh_call_event_handler()
106 fweh = ifp->drvr->fweh; in brcmf_fweh_call_event_handler()
110 err = fweh->evt_handler[fwcode](ifp, emsg, data); in brcmf_fweh_call_event_handler()
131 struct brcmf_if *ifp; in brcmf_fweh_handle_if_event() local
156 ifp = drvr->iflist[ifevent->bsscfgidx]; in brcmf_fweh_handle_if_event()
161 ifp = brcmf_add_if(drvr, ifevent->bsscfgidx, ifevent->ifidx, in brcmf_fweh_handle_if_event()
163 if (IS_ERR(ifp)) in brcmf_fweh_handle_if_event()
166 brcmf_proto_add_if(drvr, ifp); in brcmf_fweh_handle_if_event()
168 if (brcmf_net_attach(ifp, false) < 0) in brcmf_fweh_handle_if_event()
[all …]
H A Dp2p.c426 * @ifp: ifp to use for iovars (primary).
429 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()
533 * @ifp: low-level interface object.
[all …]
H A Dfwvid.h15 void (*feat_attach)(struct brcmf_if *ifp);
16 int (*set_sae_password)(struct brcmf_if *ifp, struct cfg80211_crypto_settings *crypto);
30 static inline void brcmf_fwvid_feat_attach(struct brcmf_if *ifp) in brcmf_fwvid_feat_attach() argument
32 const struct brcmf_fwvid_ops *vops = ifp->drvr->vops; in brcmf_fwvid_feat_attach()
37 vops->feat_attach(ifp); in brcmf_fwvid_feat_attach()
40 static inline int brcmf_fwvid_set_sae_password(struct brcmf_if *ifp, in brcmf_fwvid_set_sae_password() argument
43 const struct brcmf_fwvid_ops *vops = ifp->drvr->vops; in brcmf_fwvid_set_sae_password()
48 return vops->set_sae_password(ifp, crypto); in brcmf_fwvid_set_sae_password()
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 Dfwsignal.c709 /* depending on use may need ifp->bsscfgidx instead */ in brcmf_fws_macdesc_init()
747 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()
[all …]
H A Dbcdc.c282 struct sk_buff *pktbuf, struct brcmf_if **ifp) in brcmf_proto_bcdc_hdrpull() argument
301 brcmf_dbg(INFO, "no matching ifp found\n"); in brcmf_proto_bcdc_hdrpull()
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
[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()
/linux/fs/xfs/libxfs/
H A Dxfs_inode_fork.c40 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_init_local_fork() local
62 ifp->if_data = new_data; in xfs_init_local_fork()
64 ifp->if_data = NULL; in xfs_init_local_fork()
67 ifp->if_bytes = size; in xfs_init_local_fork()
112 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_iformat_extents() local
135 ifp->if_bytes = 0; in xfs_iformat_extents()
136 ifp->if_data = NULL; in xfs_iformat_extents()
137 ifp->if_height = 0; in xfs_iformat_extents()
141 xfs_iext_first(ifp, &icur); in xfs_iformat_extents()
158 xfs_iext_next(ifp, &icur); in xfs_iformat_extents()
[all …]
H A 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_data; in xfs_iext_find_first_leaf()
164 if (!ifp->if_height) in xfs_iext_find_first_leaf()
[all …]
H A Dxfs_bmap.c136 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_needs_btree() local
139 ifp->if_format == XFS_DINODE_FMT_EXTENTS && in xfs_bmap_needs_btree()
140 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_needs_btree()
148 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_wants_extents() local
151 ifp->if_format == XFS_DINODE_FMT_BTREE && in xfs_bmap_wants_extents()
152 ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_wants_extents()
349 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); in xfs_bmap_check_leaf_extents() local
362 if (ifp->if_format != XFS_DINODE_FMT_BTREE) in xfs_bmap_check_leaf_extents()
370 block = ifp->if_broot; in xfs_bmap_check_leaf_extents()
376 xfs_check_block(block, mp, 1, ifp->if_broot_bytes); in xfs_bmap_check_leaf_extents()
[all …]
/linux/net/ipv6/
H A Daddrconf.c154 static void addrconf_join_anycast(struct inet6_ifaddr *ifp);
155 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp);
167 static void addrconf_dad_start(struct inet6_ifaddr *ifp);
169 static void addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id,
319 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument
321 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work()
322 __in6_ifa_put(ifp); in addrconf_del_dad_work()
332 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument
335 in6_ifa_hold(ifp); in addrconf_mod_dad_work()
336 if (mod_delayed_work(addrconf_wq, &ifp->dad_work, delay)) in addrconf_mod_dad_work()
[all …]
/linux/drivers/infiniband/hw/qib/
H A 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 …]
/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 Daoeblk.c63 struct aoeif *ifp, *e; in aoedisk_show_netif() local
72 ifp = (*t)->ifs; in aoedisk_show_netif()
73 e = ifp + NAOEIFS; in aoedisk_show_netif()
74 for (; ifp < e && ifp->nd; ifp++) { in aoedisk_show_netif()
76 if (*nnd == ifp->nd) in aoedisk_show_netif()
79 *nd++ = ifp->nd; in aoedisk_show_netif()
115 struct aoeif *ifp, *ife; in aoe_debugfs_show() local
142 ifp = (*t)->ifs; in aoe_debugfs_show()
143 ife = ifp + ARRAY_SIZE((*t)->ifs); in aoe_debugfs_show()
144 for (; ifp->nd && ifp < ife; ifp++) { in aoe_debugfs_show()
[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()
188 strncpy(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
309 ifp = xfs_ifork_ptr(sc->ip, XFS_DATA_FORK); in xrep_symlink_swap_prep()
[all …]
H A Dbmap.c486 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, info->whichfork); in xchk_bmapbt_rec() local
522 if (!xfs_iext_lookup_extent(ip, ifp, irec.br_startoff, &icur, in xchk_bmapbt_rec()
541 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->ip, whichfork); in xchk_bmap_btree() local
548 info->was_loaded = !xfs_need_iread_extents(ifp); in xchk_bmap_btree()
579 struct xfs_ifork *ifp; in xchk_bmap_check_rmap() local
593 ifp = xfs_ifork_ptr(sc->ip, sbcri->whichfork); in xchk_bmap_check_rmap()
594 if (!ifp) { in xchk_bmap_check_rmap()
599 have_map = xfs_iext_lookup_extent(sc->ip, ifp, rec->rm_offset, in xchk_bmap_check_rmap()
631 have_map = xfs_iext_next_extent(ifp, &sbcri->icur, &irec); in xchk_bmap_check_rmap()
680 struct xfs_ifork *ifp = &ip->i_af; in xchk_bmap_check_empty_attrfork() local
[all …]

1234