/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 48 xfs_ifork_t *ifp, in xfs_validate_extents() argument 57 xfs_bmbt_rec_host_t *ep = xfs_iext_get_ext(ifp, i); in xfs_validate_extents() 66 #define xfs_validate_extents(ifp, nrecs, fmt) argument 250 xfs_ifork_t *ifp; in xfs_iformat_local() local 267 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iformat_local() 270 ifp->if_u1.if_data = NULL; in xfs_iformat_local() 271 else if (size <= sizeof(ifp->if_u2.if_inline_data)) in xfs_iformat_local() 272 ifp->if_u1.if_data = ifp->if_u2.if_inline_data; in xfs_iformat_local() 275 ifp->if_u1.if_data = kmem_alloc(real_size, KM_SLEEP | KM_NOFS); in xfs_iformat_local() 277 ifp->if_bytes = size; in xfs_iformat_local() [all …]
|
D | xfs_symlink_remote.c | 181 struct xfs_ifork *ifp) in xfs_symlink_local_to_remote() argument 190 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote() 191 xfs_trans_log_buf(tp, bp, 0, ifp->if_bytes - 1); in xfs_symlink_local_to_remote() 200 ifp->if_bytes + sizeof(struct xfs_dsymlink_hdr)); in xfs_symlink_local_to_remote() 205 buf += xfs_symlink_hdr_set(mp, ip->i_ino, 0, ifp->if_bytes, bp); in xfs_symlink_local_to_remote() 206 memcpy(buf, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote() 208 ifp->if_bytes - 1); in xfs_symlink_local_to_remote()
|
D | xfs_bmap.c | 342 xfs_ifork_t *ifp; /* fork structure */ in xfs_bmap_check_leaf_extents() local 357 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_check_leaf_extents() 358 block = ifp->if_broot; in xfs_bmap_check_leaf_extents() 364 xfs_check_block(block, mp, 1, ifp->if_broot_bytes); in xfs_bmap_check_leaf_extents() 365 pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, 1, ifp->if_broot_bytes); in xfs_bmap_check_leaf_extents() 502 xfs_ifork_t *ifp; /* inode fork pointer */ in xfs_bmap_trace_exlist() local 508 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_trace_exlist() 509 ASSERT(cnt == (ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t))); in xfs_bmap_trace_exlist() 672 xfs_ifork_t *ifp; /* inode fork data */ in xfs_bmap_btree_to_extents() local 678 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_btree_to_extents() [all …]
|
D | xfs_bmap_btree.c | 383 xfs_ifork_t *ifp, in xfs_check_nostate_extents() argument 388 xfs_bmbt_rec_host_t *ep = xfs_iext_get_ext(ifp, idx); in xfs_check_nostate_extents() 544 struct xfs_ifork *ifp; in xfs_bmbt_get_minrecs() local 546 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, in xfs_bmbt_get_minrecs() 550 ifp->if_broot_bytes, level == 0) / 2; in xfs_bmbt_get_minrecs() 562 struct xfs_ifork *ifp; in xfs_bmbt_get_maxrecs() local 564 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, in xfs_bmbt_get_maxrecs() 568 ifp->if_broot_bytes, level == 0); in xfs_bmbt_get_maxrecs() 785 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmbt_init_cursor() local 792 cur->bc_nlevels = be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmbt_init_cursor()
|
D | xfs_attr_leaf.c | 500 xfs_ifork_t *ifp; in xfs_attr_shortform_create() local 506 ifp = dp->i_afp; in xfs_attr_shortform_create() 507 ASSERT(ifp != NULL); in xfs_attr_shortform_create() 508 ASSERT(ifp->if_bytes == 0); in xfs_attr_shortform_create() 510 ifp->if_flags &= ~XFS_IFEXTENTS; /* just in case */ in xfs_attr_shortform_create() 512 ifp->if_flags |= XFS_IFINLINE; in xfs_attr_shortform_create() 514 ASSERT(ifp->if_flags & XFS_IFINLINE); in xfs_attr_shortform_create() 517 hdr = (xfs_attr_sf_hdr_t *)ifp->if_u1.if_data; in xfs_attr_shortform_create() 535 xfs_ifork_t *ifp; in xfs_attr_shortform_add() local 543 ifp = dp->i_afp; in xfs_attr_shortform_add() [all …]
|
D | xfs_dir2_block.c | 1073 struct xfs_ifork *ifp; in xfs_dir2_sf_to_block() local 1080 ifp = XFS_IFORK_PTR(dp, XFS_DATA_FORK); in xfs_dir2_sf_to_block() 1081 ASSERT(ifp->if_flags & XFS_IFINLINE); in xfs_dir2_sf_to_block() 1090 oldsfp = (xfs_dir2_sf_hdr_t *)ifp->if_u1.if_data; in xfs_dir2_sf_to_block() 1092 ASSERT(ifp->if_bytes == dp->i_d.di_size); in xfs_dir2_sf_to_block() 1093 ASSERT(ifp->if_u1.if_data != NULL); in xfs_dir2_sf_to_block() 1101 sfp = kmem_alloc(ifp->if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block() 1102 memcpy(sfp, oldsfp, ifp->if_bytes); in xfs_dir2_sf_to_block() 1104 xfs_idata_realloc(dp, -ifp->if_bytes, XFS_DATA_FORK); in xfs_dir2_sf_to_block()
|
D | xfs_shared.h | 236 struct xfs_inode *ip, struct xfs_ifork *ifp);
|
D | xfs_bmap.h | 224 int xfs_check_nostate_extents(struct xfs_ifork *ifp, xfs_extnum_t idx,
|
D | xfs_btree.c | 533 struct xfs_ifork *ifp; in xfs_btree_get_iroot() local 535 ifp = XFS_IFORK_PTR(cur->bc_private.b.ip, cur->bc_private.b.whichfork); in xfs_btree_get_iroot() 536 return (struct xfs_btree_block *)ifp->if_broot; in xfs_btree_get_iroot() 3201 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_btree_kill_iroot() local 3261 block = ifp->if_broot; in xfs_btree_kill_iroot()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | core.c | 89 struct brcmf_if *ifp; in brcmf_get_ifp() local 97 ifp = NULL; in brcmf_get_ifp() 100 ifp = drvr->iflist[bssidx]; in brcmf_get_ifp() 102 return ifp; in brcmf_get_ifp() 107 struct brcmf_if *ifp; in _brcmf_set_multicast_list() local 116 ifp = container_of(work, struct brcmf_if, multicast_work); in _brcmf_set_multicast_list() 118 brcmf_dbg(TRACE, "Enter, idx=%d\n", ifp->bssidx); in _brcmf_set_multicast_list() 120 ndev = ifp->ndev; in _brcmf_set_multicast_list() 145 err = brcmf_fil_iovar_data_set(ifp, "mcast_list", buf, buflen); in _brcmf_set_multicast_list() 158 err = brcmf_fil_iovar_int_set(ifp, "allmulti", cmd_value); in _brcmf_set_multicast_list() [all …]
|
D | fwil.c | 107 brcmf_fil_cmd_data(struct brcmf_if *ifp, u32 cmd, void *data, u32 len, bool set) in brcmf_fil_cmd_data() argument 109 struct brcmf_pub *drvr = ifp->drvr; in brcmf_fil_cmd_data() 120 err = brcmf_proto_set_dcmd(drvr, ifp->ifidx, cmd, data, len); in brcmf_fil_cmd_data() 122 err = brcmf_proto_query_dcmd(drvr, ifp->ifidx, cmd, data, len); in brcmf_fil_cmd_data() 133 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_set() argument 137 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set() 139 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d\n", ifp->ifidx, cmd, len); in brcmf_fil_cmd_data_set() 143 err = brcmf_fil_cmd_data(ifp, cmd, data, len, true); in brcmf_fil_cmd_data_set() 144 mutex_unlock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set() 150 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_get() argument [all …]
|
D | btcoex.c | 113 static s32 brcmf_btcoex_params_write(struct brcmf_if *ifp, u32 addr, u32 data) in brcmf_btcoex_params_write() argument 122 return brcmf_fil_iovar_data_set(ifp, "btc_params", in brcmf_btcoex_params_write() 132 static s32 brcmf_btcoex_params_read(struct brcmf_if *ifp, u32 addr, u32 *data) in brcmf_btcoex_params_read() argument 136 return brcmf_fil_iovar_int_get(ifp, "btc_params", data); in brcmf_btcoex_params_read() 152 struct brcmf_if *ifp = brcmf_get_ifp(btci->cfg->pub, 0); in brcmf_btcoex_boost_wifi() local 161 brcmf_btcoex_params_read(ifp, 50, &btci->reg50); in brcmf_btcoex_boost_wifi() 162 brcmf_btcoex_params_read(ifp, 51, &btci->reg51); in brcmf_btcoex_boost_wifi() 163 brcmf_btcoex_params_read(ifp, 64, &btci->reg64); in brcmf_btcoex_boost_wifi() 164 brcmf_btcoex_params_read(ifp, 65, &btci->reg65); in brcmf_btcoex_boost_wifi() 165 brcmf_btcoex_params_read(ifp, 71, &btci->reg71); in brcmf_btcoex_boost_wifi() [all …]
|
D | feature.c | 91 static void brcmf_feat_iovar_int_get(struct brcmf_if *ifp, in brcmf_feat_iovar_int_get() argument 97 err = brcmf_fil_iovar_int_get(ifp, name, &data); in brcmf_feat_iovar_int_get() 100 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get() 114 static void brcmf_feat_iovar_int_set(struct brcmf_if *ifp, in brcmf_feat_iovar_int_set() argument 119 err = brcmf_fil_iovar_int_set(ifp, name, val); in brcmf_feat_iovar_int_set() 122 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_set() 131 struct brcmf_if *ifp = brcmf_get_ifp(drvr, 0); in brcmf_feat_attach() local 133 brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_MCHAN, "mchan"); in brcmf_feat_attach() 134 brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_PNO, "pfn"); in brcmf_feat_attach() 136 brcmf_feat_iovar_int_get(ifp, BRCMF_FEAT_WOWL, "wowl"); in brcmf_feat_attach() [all …]
|
D | common.c | 39 int brcmf_c_preinit_dcmds(struct brcmf_if *ifp) in brcmf_c_preinit_dcmds() argument 50 err = brcmf_fil_iovar_data_get(ifp, "cur_etheraddr", ifp->mac_addr, in brcmf_c_preinit_dcmds() 51 sizeof(ifp->mac_addr)); in brcmf_c_preinit_dcmds() 56 memcpy(ifp->drvr->mac, ifp->mac_addr, sizeof(ifp->drvr->mac)); in brcmf_c_preinit_dcmds() 58 err = brcmf_fil_cmd_data_get(ifp, BRCMF_C_GET_REVINFO, in brcmf_c_preinit_dcmds() 60 ri = &ifp->drvr->revinfo; in brcmf_c_preinit_dcmds() 87 err = brcmf_fil_iovar_data_get(ifp, "ver", buf, sizeof(buf)); in brcmf_c_preinit_dcmds() 101 strlcpy(ifp->drvr->fwver, ptr, sizeof(ifp->drvr->fwver)); in brcmf_c_preinit_dcmds() 104 err = brcmf_fil_iovar_int_set(ifp, "mpc", 1); in brcmf_c_preinit_dcmds() 114 err = brcmf_fil_iovar_int_set(ifp, "bcn_timeout", in brcmf_c_preinit_dcmds() [all …]
|
D | cfg80211.c | 435 send_key_to_dongle(struct brcmf_if *ifp, struct brcmf_wsec_key *key) in send_key_to_dongle() argument 442 brcmf_netdev_wait_pend8021x(ifp); in send_key_to_dongle() 444 err = brcmf_fil_bsscfg_data_set(ifp, "wsec_key", &key_le, in send_key_to_dongle() 453 brcmf_configure_arp_offload(struct brcmf_if *ifp, bool enable) in brcmf_configure_arp_offload() argument 465 err = brcmf_fil_iovar_int_set(ifp, "arp_ol", mode); in brcmf_configure_arp_offload() 471 err = brcmf_fil_iovar_int_set(ifp, "arpoe", enable); in brcmf_configure_arp_offload() 488 struct brcmf_if *ifp; in brcmf_cfg80211_update_proto_addr_mode() local 491 ifp = vif->ifp; in brcmf_cfg80211_update_proto_addr_mode() 496 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode() 499 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode() [all …]
|
D | fwil.h | 87 s32 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len); 88 s32 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len); 89 s32 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data); 90 s32 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data); 92 s32 brcmf_fil_iovar_data_set(struct brcmf_if *ifp, char *name, const void *data, 94 s32 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, char *name, void *data, 96 s32 brcmf_fil_iovar_int_set(struct brcmf_if *ifp, char *name, u32 data); 97 s32 brcmf_fil_iovar_int_get(struct brcmf_if *ifp, char *name, u32 *data); 99 s32 brcmf_fil_bsscfg_data_set(struct brcmf_if *ifp, char *name, void *data, 101 s32 brcmf_fil_bsscfg_data_get(struct brcmf_if *ifp, char *name, void *data, [all …]
|
D | fweh.c | 147 static int brcmf_fweh_call_event_handler(struct brcmf_if *ifp, in brcmf_fweh_call_event_handler() argument 155 if (ifp) { in brcmf_fweh_call_event_handler() 156 fweh = &ifp->drvr->fweh; in brcmf_fweh_call_event_handler() 160 err = fweh->evt_handler[code](ifp, emsg, data); in brcmf_fweh_call_event_handler() 181 struct brcmf_if *ifp; in brcmf_fweh_handle_if_event() local 207 ifp = drvr->iflist[ifevent->bssidx]; in brcmf_fweh_handle_if_event() 212 ifp = brcmf_add_if(drvr, ifevent->bssidx, ifevent->ifidx, in brcmf_fweh_handle_if_event() 214 if (IS_ERR(ifp)) in brcmf_fweh_handle_if_event() 217 brcmf_fws_add_interface(ifp); in brcmf_fweh_handle_if_event() 219 if (brcmf_net_attach(ifp, false) < 0) in brcmf_fweh_handle_if_event() [all …]
|
D | p2p.c | 434 static int brcmf_p2p_set_firmware(struct brcmf_if *ifp, u8 *p2p_mac) in brcmf_p2p_set_firmware() argument 438 brcmf_fil_cmd_int_set(ifp, BRCMF_C_DOWN, 1); in brcmf_p2p_set_firmware() 439 brcmf_fil_iovar_int_set(ifp, "apsta", 1); in brcmf_p2p_set_firmware() 440 brcmf_fil_cmd_int_set(ifp, BRCMF_C_UP, 1); in brcmf_p2p_set_firmware() 447 brcmf_fil_iovar_int_set(ifp, "p2p_disc", 0); in brcmf_p2p_set_firmware() 449 ret = brcmf_fil_iovar_data_set(ifp, "p2p_da_override", p2p_mac, in brcmf_p2p_set_firmware() 469 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; in brcmf_p2p_generate_bss_mac() 526 static s32 brcmf_p2p_set_discover_state(struct brcmf_if *ifp, u8 state, in brcmf_p2p_set_discover_state() argument 536 ret = brcmf_fil_bsscfg_data_set(ifp, "p2p_state", &discover_state, in brcmf_p2p_set_discover_state() 556 (void)brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_SCAN, 0, 0); in brcmf_p2p_deinit_discovery() [all …]
|
D | fwsignal.h | 24 void brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb); 25 int brcmf_fws_process_skb(struct brcmf_if *ifp, struct sk_buff *skb); 27 void brcmf_fws_reset_interface(struct brcmf_if *ifp); 28 void brcmf_fws_add_interface(struct brcmf_if *ifp); 29 void brcmf_fws_del_interface(struct brcmf_if *ifp);
|
D | core.h | 205 int brcmf_netdev_wait_pend8021x(struct brcmf_if *ifp); 210 int brcmf_net_attach(struct brcmf_if *ifp, bool rtnl_locked); 213 void brcmf_remove_interface(struct brcmf_if *ifp); 215 void brcmf_txflowblock_if(struct brcmf_if *ifp, 217 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success); 218 void brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb); 219 void brcmf_net_setcarrier(struct brcmf_if *ifp, bool on);
|
D | vendor.c | 35 struct brcmf_if *ifp; in brcmf_cfg80211_vndr_cmds_dcmd_handler() local 48 ifp = vif->ifp; in brcmf_cfg80211_vndr_cmds_dcmd_handler() 50 brcmf_dbg(TRACE, "ifidx=%d, cmd=%d\n", ifp->ifidx, cmdhdr->cmd); in brcmf_cfg80211_vndr_cmds_dcmd_handler() 78 ret = brcmf_fil_cmd_data_set(ifp, cmdhdr->cmd, dcmd_buf, in brcmf_cfg80211_vndr_cmds_dcmd_handler() 81 ret = brcmf_fil_cmd_data_get(ifp, cmdhdr->cmd, dcmd_buf, in brcmf_cfg80211_vndr_cmds_dcmd_handler()
|
D | proto.h | 28 struct sk_buff *skb, 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()
|
D | p2p.h | 160 void brcmf_p2p_ifp_removed(struct brcmf_if *ifp); 169 int brcmf_p2p_notify_listen_complete(struct brcmf_if *ifp, 172 void brcmf_p2p_cancel_remain_on_channel(struct brcmf_if *ifp); 173 int brcmf_p2p_notify_action_frame_rx(struct brcmf_if *ifp, 176 int brcmf_p2p_notify_action_tx_complete(struct brcmf_if *ifp, 184 s32 brcmf_p2p_notify_rx_mgmt_p2p_probereq(struct brcmf_if *ifp,
|
D | fwsignal.c | 760 brcmf_fws_macdesc_find(struct brcmf_fws_info *fws, struct brcmf_if *ifp, u8 *da) in brcmf_fws_macdesc_find() argument 771 if (multicast && ifp->fws_desc) { in brcmf_fws_macdesc_find() 772 entry = ifp->fws_desc; in brcmf_fws_macdesc_find() 778 entry = ifp->fws_desc; in brcmf_fws_macdesc_find() 975 struct brcmf_if *ifp = brcmf_get_ifp(fws->drvr, if_id); in brcmf_fws_flow_control_check() local 977 if (WARN_ON(!ifp)) in brcmf_fws_flow_control_check() 980 if ((ifp->netif_stop & BRCMF_NETIF_STOP_REASON_FWS_FC) && in brcmf_fws_flow_control_check() 982 brcmf_txflowblock_if(ifp, in brcmf_fws_flow_control_check() 984 if (!(ifp->netif_stop & BRCMF_NETIF_STOP_REASON_FWS_FC) && in brcmf_fws_flow_control_check() 987 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FWS_FC, true); in brcmf_fws_flow_control_check() [all …]
|
D | cfg80211.h | 191 struct brcmf_if *ifp; member 234 struct brcmf_if *ifp; member 235 s32 (*run)(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, 454 struct brcmf_if *ifp = netdev_priv(nd); in ndev_to_prof() local 455 return &ifp->vif->profile; in ndev_to_prof() 460 struct brcmf_if *ifp = netdev_priv(ndev); in ndev_to_vif() local 461 return ifp->vif; in ndev_to_vif() 476 enum nl80211_iftype brcmf_cfg80211_get_iftype(struct brcmf_if *ifp); 498 struct brcmf_if *ifp, bool aborted,
|
D | fweh.h | 226 typedef int (*brcmf_fweh_handler_t)(struct brcmf_if *ifp, 244 int (*evt_handler[BRCMF_E_LAST])(struct brcmf_if *ifp, 252 int (*handler)(struct brcmf_if *ifp, 257 int brcmf_fweh_activate_events(struct brcmf_if *ifp); 260 void brcmf_fweh_p2pdev_setup(struct brcmf_if *ifp, bool ongoing);
|
D | debug.c | 48 static int brcmf_debug_psm_watchdog_notify(struct brcmf_if *ifp, in brcmf_debug_psm_watchdog_notify() argument 52 brcmf_dbg(TRACE, "enter: idx=%d\n", ifp->bssidx); in brcmf_debug_psm_watchdog_notify() 54 return brcmf_debug_create_memdump(ifp->drvr->bus_if, data, in brcmf_debug_psm_watchdog_notify()
|
D | feature.h | 81 bool brcmf_feat_is_enabled(struct brcmf_if *ifp, enum brcmf_feat_id id); 91 bool brcmf_feat_is_quirk_enabled(struct brcmf_if *ifp,
|
D | common.h | 21 int brcmf_c_preinit_dcmds(struct brcmf_if *ifp);
|
D | flowring.c | 188 struct brcmf_if *ifp; in brcmf_flowring_block() local 224 ifp = brcmf_get_ifp(drvr, ifidx); in brcmf_flowring_block() 225 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FLOW, blocked); in brcmf_flowring_block()
|
D | bcdc.c | 276 struct sk_buff *pktbuf, struct brcmf_if **ifp) in brcmf_proto_bcdc_hdrpull() argument 322 *ifp = tmp_if; in brcmf_proto_bcdc_hdrpull()
|
D | msgbuf.c | 525 struct sk_buff *skb, struct brcmf_if **ifp) in brcmf_msgbuf_hdrpull() argument 1083 struct brcmf_if *ifp; in brcmf_msgbuf_rx_skb() local 1085 ifp = brcmf_get_ifp(msgbuf->drvr, ifidx); in brcmf_msgbuf_rx_skb() 1086 if (!ifp || !ifp->ndev) { in brcmf_msgbuf_rx_skb() 1091 brcmf_netif_rx(ifp, skb); in brcmf_msgbuf_rx_skb()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_eeprom.c | 114 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 202 ifp = (struct qib_flash *)buf; in qib_get_eeprom_info() 204 csum = flash_csum(ifp, 0); in qib_get_eeprom_info() 205 if (csum != ifp->if_csum) { in qib_get_eeprom_info() 208 csum, ifp->if_csum); in qib_get_eeprom_info() [all …]
|
/linux-4.4.14/net/ipv6/ |
D | addrconf.c | 152 static void addrconf_join_anycast(struct inet6_ifaddr *ifp); 153 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp); 164 static void addrconf_dad_start(struct inet6_ifaddr *ifp); 166 static void addrconf_dad_completed(struct inet6_ifaddr *ifp); 277 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument 279 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work() 280 __in6_ifa_put(ifp); in addrconf_del_dad_work() 291 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument 294 if (!delayed_work_pending(&ifp->dad_work)) in addrconf_mod_dad_work() 295 in6_ifa_hold(ifp); in addrconf_mod_dad_work() [all …]
|
D | ndisc.c | 488 struct inet6_ifaddr *ifp; in ndisc_send_na() local 494 ifp = ipv6_get_ifaddr(dev_net(dev), solicited_addr, dev, 1); in ndisc_send_na() 495 if (ifp) { in ndisc_send_na() 497 if (ifp->flags & IFA_F_OPTIMISTIC) in ndisc_send_na() 499 inc_opt |= ifp->idev->cnf.force_tllao; in ndisc_send_na() 500 in6_ifa_put(ifp); in ndisc_send_na() 616 struct inet6_ifaddr *ifp = ipv6_get_ifaddr(dev_net(dev), saddr, in ndisc_send_rs() local 618 if (ifp) { in ndisc_send_rs() 619 if (ifp->flags & IFA_F_OPTIMISTIC) { in ndisc_send_rs() 622 in6_ifa_put(ifp); in ndisc_send_rs() [all …]
|
D | ip6_output.c | 973 struct inet6_ifaddr *ifp; in ip6_dst_lookup_tail() local 977 ifp = ipv6_get_ifaddr(net, &fl6->saddr, in ip6_dst_lookup_tail() 980 redirect = (ifp && ifp->flags & IFA_F_OPTIMISTIC); in ip6_dst_lookup_tail() 981 if (ifp) in ip6_dst_lookup_tail() 982 in6_ifa_put(ifp); in ip6_dst_lookup_tail()
|
D | route.c | 2568 void rt6_remove_prefsrc(struct inet6_ifaddr *ifp) in rt6_remove_prefsrc() argument 2570 struct net *net = dev_net(ifp->idev->dev); in rt6_remove_prefsrc() 2572 .dev = ifp->idev->dev, in rt6_remove_prefsrc() 2574 .addr = &ifp->addr, in rt6_remove_prefsrc()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_eeprom.c | 676 static u8 flash_csum(struct ipath_flash *ifp, int adjust) in flash_csum() argument 678 u8 *ip = (u8 *) ifp; in flash_csum() 686 len = ifp->if_length; in flash_csum() 691 csum -= ifp->if_csum; in flash_csum() 694 ifp->if_csum = csum; in flash_csum() 709 struct ipath_flash *ifp; in ipath_get_eeprom_info() local 767 ifp = (struct ipath_flash *)buf; in ipath_get_eeprom_info() 769 csum = flash_csum(ifp, 0); in ipath_get_eeprom_info() 770 if (csum != ifp->if_csum) { in ipath_get_eeprom_info() 772 "0x%x, not 0x%x\n", csum, ifp->if_csum); in ipath_get_eeprom_info() [all …]
|
/linux-4.4.14/drivers/block/aoe/ |
D | aoenet.c | 58 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()
|
D | aoeblk.c | 65 struct aoeif *ifp, *e; in aoedisk_show_netif() local 74 ifp = (*t)->ifs; in aoedisk_show_netif() 75 e = ifp + NAOEIFS; in aoedisk_show_netif() 76 for (; ifp < e && ifp->nd; ifp++) { in aoedisk_show_netif() 78 if (*nnd == ifp->nd) in aoedisk_show_netif() 81 *nd++ = ifp->nd; in aoedisk_show_netif() 117 struct aoeif *ifp, *ife; in aoedisk_debugfs_show() local 144 ifp = (*t)->ifs; in aoedisk_debugfs_show() 145 ife = ifp + ARRAY_SIZE((*t)->ifs); in aoedisk_debugfs_show() 146 for (; ifp->nd && ifp < ife; ifp++) { in aoedisk_debugfs_show() [all …]
|
D | aoecmd.c | 133 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in aoehdr_atainit() 159 struct aoeif *ifp; in ifrotate() local 161 ifp = t->ifp; in ifrotate() 162 ifp++; in ifrotate() 163 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) in ifrotate() 164 ifp = t->ifs; in ifrotate() 165 if (ifp->nd == NULL) in ifrotate() 167 return t->ifp = ifp; in ifrotate() 274 && t->ifp->nd) { in newframe() 365 skb->dev = t->ifp->nd; in ata_rw_frameinit() [all …]
|
D | aoedev.c | 497 struct aoeif *ifp; in freetgt() local 499 for (ifp = t->ifs; ifp < &t->ifs[NAOEIFS]; ++ifp) { in freetgt() 500 if (!ifp->nd) in freetgt() 502 dev_put(ifp->nd); in freetgt()
|
D | aoe.h | 139 struct aoeif *ifp; /* current aoeif in use */ member 239 int is_aoe_netif(struct net_device *ifp);
|
/linux-4.4.14/include/net/ |
D | addrconf.h | 177 void addrconf_dad_failure(struct inet6_ifaddr *ifp); 312 void inet6_ifa_finish_destroy(struct inet6_ifaddr *ifp); 314 static inline void in6_ifa_put(struct inet6_ifaddr *ifp) in in6_ifa_put() argument 316 if (atomic_dec_and_test(&ifp->refcnt)) in in6_ifa_put() 317 inet6_ifa_finish_destroy(ifp); in in6_ifa_put() 320 static inline void __in6_ifa_put(struct inet6_ifaddr *ifp) in __in6_ifa_put() argument 322 atomic_dec(&ifp->refcnt); in __in6_ifa_put() 325 static inline void in6_ifa_hold(struct inet6_ifaddr *ifp) in in6_ifa_hold() argument 327 atomic_inc(&ifp->refcnt); in in6_ifa_hold()
|
D | ip6_route.h | 137 void rt6_remove_prefsrc(struct inet6_ifaddr *ifp);
|
/linux-4.4.14/fs/xfs/ |
D | xfs_bmap_util.c | 306 xfs_ifork_t *ifp, in xfs_bmap_count_leaves() argument 314 xfs_bmbt_rec_host_t *frp = xfs_iext_get_ext(ifp, idx + b); in xfs_bmap_count_leaves() 347 xfs_ifork_t *ifp, /* inode fork pointer */ in xfs_bmap_count_tree() argument 387 xfs_bmap_count_tree(mp, tp, ifp, bno, level, count)) < 0)) { in xfs_bmap_count_tree() 428 xfs_ifork_t *ifp; /* fork structure */ in xfs_bmap_count_blocks() local 435 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_count_blocks() 437 xfs_bmap_count_leaves(ifp, 0, in xfs_bmap_count_blocks() 438 ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t), in xfs_bmap_count_blocks() 446 block = ifp->if_broot; in xfs_bmap_count_blocks() 449 pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, 1, ifp->if_broot_bytes); in xfs_bmap_count_blocks() [all …]
|
D | xfs_qm.c | 1099 xfs_ifork_t *ifp; /* inode fork pointer */ in xfs_qm_get_rtblks() local 1104 ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_qm_get_rtblks() 1105 if (!(ifp->if_flags & XFS_IFEXTENTS)) { in xfs_qm_get_rtblks() 1110 nextents = ifp->if_bytes / (uint)sizeof(xfs_bmbt_rec_t); in xfs_qm_get_rtblks() 1112 rtblks += xfs_bmbt_get_blockcount(xfs_iext_get_ext(ifp, idx)); in xfs_qm_get_rtblks()
|
D | xfs_trace.h | 270 struct xfs_ifork *ifp = (state & BMAP_ATTRFORK) ? 274 xfs_bmbt_get_all(xfs_iext_get_ext(ifp, idx), &r);
|
/linux-4.4.14/drivers/usb/core/ |
D | config.c | 146 int asnum, struct usb_host_interface *ifp, int num_ep, in usb_parse_endpoint() argument 178 if (ifp->desc.bNumEndpoints >= num_ep) in usb_parse_endpoint() 181 endpoint = &ifp->endpoint[ifp->desc.bNumEndpoints]; in usb_parse_endpoint() 182 ++ifp->desc.bNumEndpoints; in usb_parse_endpoint()
|
/linux-4.4.14/net/core/ |
D | netpoll.c | 735 struct inet6_ifaddr *ifp; in netpoll_setup() local 738 list_for_each_entry(ifp, &idev->addr_list, if_list) { in netpoll_setup() 739 if (ipv6_addr_type(&ifp->addr) & IPV6_ADDR_LINKLOCAL) in netpoll_setup() 741 np->local_ip.in6 = ifp->addr; in netpoll_setup()
|
D | pktgen.c | 2174 struct inet6_ifaddr *ifp; in pktgen_setup_inject() local 2177 list_for_each_entry(ifp, &idev->addr_list, if_list) { in pktgen_setup_inject() 2178 if ((ifp->scope & IFA_LINK) && in pktgen_setup_inject() 2179 !(ifp->flags & IFA_F_TENTATIVE)) { in pktgen_setup_inject() 2180 pkt_dev->cur_in6_saddr = ifp->addr; in pktgen_setup_inject()
|
/linux-4.4.14/drivers/staging/most/mostcore/ |
D | mostcore.h | 192 struct most_interface *ifp; member
|
D | core.c | 1196 if (unlikely(enqueue(mbo->ifp, mbo->hdm_channel_id, mbo))) { in hdm_enqueue_thread() 1287 mbo->ifp = c->iface; in arm_mbo_chain()
|
/linux-4.4.14/fs/btrfs/ |
D | backref.c | 2000 struct inode_fs_paths *ifp; local 2007 ifp = kmalloc(sizeof(*ifp), GFP_NOFS); 2008 if (!ifp) { 2013 ifp->btrfs_path = path; 2014 ifp->fspath = fspath; 2015 ifp->fs_root = fs_root; 2017 return ifp;
|
/linux-4.4.14/drivers/infiniband/core/ |
D | roce_gid_mgmt.c | 296 struct inet6_ifaddr *ifp; in enum_netdev_ipv6_ips() local 315 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in enum_netdev_ipv6_ips() 324 entry->sin6.sin6_addr = ifp->addr; in enum_netdev_ipv6_ips()
|
/linux-4.4.14/net/sctp/ |
D | ipv6.c | 383 struct inet6_ifaddr *ifp; in sctp_v6_copy_addrlist() local 393 list_for_each_entry(ifp, &in6_dev->addr_list, if_list) { in sctp_v6_copy_addrlist() 399 addr->a.v6.sin6_addr = ifp->addr; in sctp_v6_copy_addrlist()
|
/linux-4.4.14/drivers/staging/most/hdm-usb/ |
D | hdm_usb.c | 393 mdev = to_mdev(mbo->ifp); in hdm_write_completion() 558 mdev = to_mdev(mbo->ifp); in hdm_read_completion() 931 mdev = to_mdev(mbo->ifp); in wq_clear_halt()
|
/linux-4.4.14/drivers/staging/slicoss/ |
D | slic.h | 390 void *ifp; member
|
/linux-4.4.14/drivers/staging/most/aim-cdev/ |
D | cdev.c | 364 channel = get_channel(mbo->ifp, mbo->hdm_channel_id); in aim_rx_completion()
|
/linux-4.4.14/drivers/staging/most/aim-network/ |
D | networking.c | 435 nd = get_net_dev_context(mbo->ifp); in aim_rx_data()
|
/linux-4.4.14/drivers/staging/most/aim-v4l2/ |
D | video.c | 412 get_aim_dev(mbo->ifp, mbo->hdm_channel_id); in aim_rx_data()
|
/linux-4.4.14/drivers/staging/most/aim-sound/ |
D | sound.c | 683 struct channel *channel = get_channel(mbo->ifp, mbo->hdm_channel_id); in audio_rx_completion()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 3055 struct inet6_ifaddr *ifp; in get_lladdr() local 3058 list_for_each_entry(ifp, &idev->addr_list, if_list) { in get_lladdr() 3059 if (ifp->scope == IFA_LINK && in get_lladdr() 3060 !(ifp->flags & banned_flags)) { in get_lladdr() 3061 memcpy(addr, &ifp->addr, 16); in get_lladdr()
|