/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | core.c | 46 char *brcmf_ifname(struct brcmf_if *ifp) in brcmf_ifname() argument 48 if (!ifp) in brcmf_ifname() 51 if (ifp->ndev) in brcmf_ifname() 52 return ifp->ndev->name; in brcmf_ifname() 59 struct brcmf_if *ifp; in brcmf_get_ifp() local 67 ifp = NULL; in brcmf_get_ifp() 70 ifp = drvr->iflist[bsscfgidx]; in brcmf_get_ifp() 72 return ifp; in brcmf_get_ifp() 75 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable) in brcmf_configure_arp_nd_offload() argument 87 err = brcmf_fil_iovar_int_set(ifp, "arp_ol", mode); in brcmf_configure_arp_nd_offload() [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, in brcmf_fil_cmd_data() 123 err = brcmf_proto_query_dcmd(drvr, ifp->ifidx, cmd, in brcmf_fil_cmd_data() 133 if (ifp->fwil_fwerr) in brcmf_fil_cmd_data() 140 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len) in brcmf_fil_cmd_data_set() argument 144 mutex_lock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set() 146 brcmf_dbg(FIL, "ifidx=%d, cmd=%d, len=%d\n", ifp->ifidx, cmd, len); in brcmf_fil_cmd_data_set() 150 err = brcmf_fil_cmd_data(ifp, cmd, data, len, true); in brcmf_fil_cmd_data_set() 151 mutex_unlock(&ifp->drvr->proto_block); in brcmf_fil_cmd_data_set() [all …]
|
D | feature.c | 139 static void brcmf_feat_iovar_int_get(struct brcmf_if *ifp, in brcmf_feat_iovar_int_get() argument 146 ifp->fwil_fwerr = true; in brcmf_feat_iovar_int_get() 148 err = brcmf_fil_iovar_int_get(ifp, name, &data); in brcmf_feat_iovar_int_get() 151 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get() 157 ifp->fwil_fwerr = false; in brcmf_feat_iovar_int_get() 160 static void brcmf_feat_iovar_data_set(struct brcmf_if *ifp, in brcmf_feat_iovar_data_set() argument 167 ifp->fwil_fwerr = true; in brcmf_feat_iovar_data_set() 169 err = brcmf_fil_iovar_data_set(ifp, name, data, len); in brcmf_feat_iovar_data_set() 172 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_data_set() 178 ifp->fwil_fwerr = false; in brcmf_feat_iovar_data_set() [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 | cfg80211.c | 458 send_key_to_dongle(struct brcmf_if *ifp, struct brcmf_wsec_key *key) in send_key_to_dongle() argument 465 brcmf_netdev_wait_pend8021x(ifp); in send_key_to_dongle() 467 err = brcmf_fil_bsscfg_data_set(ifp, "wsec_key", &key_le, in send_key_to_dongle() 479 struct brcmf_if *ifp; in brcmf_cfg80211_update_proto_addr_mode() local 482 ifp = vif->ifp; in brcmf_cfg80211_update_proto_addr_mode() 487 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode() 490 brcmf_proto_configure_addr_mode(ifp->drvr, ifp->ifidx, in brcmf_cfg80211_update_proto_addr_mode() 509 static int brcmf_cfg80211_request_ap_if(struct brcmf_if *ifp) in brcmf_cfg80211_request_ap_if() argument 516 bsscfgidx = brcmf_get_first_free_bsscfgidx(ifp->drvr); in brcmf_cfg80211_request_ap_if() 524 err = brcmf_fil_bsscfg_data_set(ifp, "bsscfg:ssid", &mbss_ssid_le, in brcmf_cfg80211_request_ap_if() [all …]
|
D | proto.h | 31 struct sk_buff *skb, struct brcmf_if **ifp); 46 void (*rxreorder)(struct brcmf_if *ifp, struct sk_buff *skb); 47 void (*add_if)(struct brcmf_if *ifp); 48 void (*del_if)(struct brcmf_if *ifp); 49 void (*reset_if)(struct brcmf_if *ifp); 61 struct brcmf_if **ifp) in brcmf_proto_hdrpull() argument 68 if (ifp) in brcmf_proto_hdrpull() 69 *ifp = NULL; in brcmf_proto_hdrpull() 71 ifp = &tmp; in brcmf_proto_hdrpull() 72 return drvr->proto->hdrpull(drvr, do_fws, skb, ifp); in brcmf_proto_hdrpull() [all …]
|
D | common.c | 91 void brcmf_c_set_joinpref_default(struct brcmf_if *ifp) in brcmf_c_set_joinpref_default() argument 106 err = brcmf_fil_iovar_data_set(ifp, "join_pref", join_pref_params, in brcmf_c_set_joinpref_default() 112 static int brcmf_c_download(struct brcmf_if *ifp, u16 flag, in brcmf_c_download() argument 125 err = brcmf_fil_iovar_data_set(ifp, "clmload", dload_buf, len); in brcmf_c_download() 130 static int brcmf_c_process_clm_blob(struct brcmf_if *ifp) in brcmf_c_process_clm_blob() argument 132 struct brcmf_bus *bus = ifp->drvr->bus_if; in brcmf_c_process_clm_blob() 176 err = brcmf_c_download(ifp, dl_flag, chunk_buf, chunk_len); in brcmf_c_process_clm_blob() 188 err = brcmf_fil_iovar_int_get(ifp, "clmload_status", &status); in brcmf_c_process_clm_blob() 202 int brcmf_c_preinit_dcmds(struct brcmf_if *ifp) in brcmf_c_preinit_dcmds() argument 214 err = brcmf_fil_iovar_data_get(ifp, "cur_etheraddr", ifp->mac_addr, in brcmf_c_preinit_dcmds() [all …]
|
D | fweh.c | 105 static int brcmf_fweh_call_event_handler(struct brcmf_if *ifp, in brcmf_fweh_call_event_handler() argument 113 if (ifp) { in brcmf_fweh_call_event_handler() 114 fweh = &ifp->drvr->fweh; in brcmf_fweh_call_event_handler() 118 err = fweh->evt_handler[code](ifp, emsg, data); in brcmf_fweh_call_event_handler() 139 struct brcmf_if *ifp; in brcmf_fweh_handle_if_event() local 165 ifp = drvr->iflist[ifevent->bsscfgidx]; in brcmf_fweh_handle_if_event() 170 ifp = brcmf_add_if(drvr, ifevent->bsscfgidx, ifevent->ifidx, in brcmf_fweh_handle_if_event() 172 if (IS_ERR(ifp)) in brcmf_fweh_handle_if_event() 175 brcmf_proto_add_if(drvr, ifp); in brcmf_fweh_handle_if_event() 177 if (brcmf_net_attach(ifp, false) < 0) in brcmf_fweh_handle_if_event() [all …]
|
D | fwil.h | 90 s32 brcmf_fil_cmd_data_set(struct brcmf_if *ifp, u32 cmd, void *data, u32 len); 91 s32 brcmf_fil_cmd_data_get(struct brcmf_if *ifp, u32 cmd, void *data, u32 len); 92 s32 brcmf_fil_cmd_int_set(struct brcmf_if *ifp, u32 cmd, u32 data); 93 s32 brcmf_fil_cmd_int_get(struct brcmf_if *ifp, u32 cmd, u32 *data); 95 s32 brcmf_fil_iovar_data_set(struct brcmf_if *ifp, char *name, const void *data, 97 s32 brcmf_fil_iovar_data_get(struct brcmf_if *ifp, char *name, void *data, 99 s32 brcmf_fil_iovar_int_set(struct brcmf_if *ifp, char *name, u32 data); 100 s32 brcmf_fil_iovar_int_get(struct brcmf_if *ifp, char *name, u32 *data); 102 s32 brcmf_fil_bsscfg_data_set(struct brcmf_if *ifp, char *name, void *data, 104 s32 brcmf_fil_bsscfg_data_get(struct brcmf_if *ifp, char *name, void *data, [all …]
|
D | pno.c | 100 static int brcmf_pno_channel_config(struct brcmf_if *ifp, in brcmf_pno_channel_config() argument 106 return brcmf_fil_iovar_data_set(ifp, "pfn_cfg", cfg, sizeof(*cfg)); in brcmf_pno_channel_config() 109 static int brcmf_pno_config(struct brcmf_if *ifp, u32 scan_freq, in brcmf_pno_config() argument 133 err = brcmf_fil_iovar_int_set(ifp, "pfnmem", pfnmem); in brcmf_pno_config() 139 err = brcmf_fil_iovar_int_get(ifp, "pfnmem", &pfnmem); in brcmf_pno_config() 152 err = brcmf_fil_iovar_data_set(ifp, "pfn_set", &pfn_param, in brcmf_pno_config() 161 static int brcmf_pno_set_random(struct brcmf_if *ifp, struct brcmf_pno_info *pi) in brcmf_pno_set_random() argument 194 err = brcmf_fil_iovar_data_set(ifp, "pfn_macaddr", &pfn_mac, in brcmf_pno_set_random() 202 static int brcmf_pno_add_ssid(struct brcmf_if *ifp, struct cfg80211_ssid *ssid, in brcmf_pno_add_ssid() argument 219 err = brcmf_fil_iovar_data_set(ifp, "pfn_add", &pfn, sizeof(pfn)); in brcmf_pno_add_ssid() [all …]
|
D | p2p.c | 435 static int brcmf_p2p_set_firmware(struct brcmf_if *ifp, u8 *p2p_mac) in brcmf_p2p_set_firmware() argument 439 brcmf_fil_cmd_int_set(ifp, BRCMF_C_DOWN, 1); in brcmf_p2p_set_firmware() 440 brcmf_fil_iovar_int_set(ifp, "apsta", 1); in brcmf_p2p_set_firmware() 441 brcmf_fil_cmd_int_set(ifp, BRCMF_C_UP, 1); in brcmf_p2p_set_firmware() 448 brcmf_fil_iovar_int_set(ifp, "p2p_disc", 0); in brcmf_p2p_set_firmware() 450 ret = brcmf_fil_iovar_data_set(ifp, "p2p_da_override", p2p_mac, in brcmf_p2p_set_firmware() 525 static s32 brcmf_p2p_set_discover_state(struct brcmf_if *ifp, u8 state, in brcmf_p2p_set_discover_state() argument 535 ret = brcmf_fil_bsscfg_data_set(ifp, "p2p_state", &discover_state, in brcmf_p2p_set_discover_state() 555 (void)brcmf_p2p_set_discover_state(vif->ifp, WL_P2P_DISC_ST_SCAN, 0, 0); in brcmf_p2p_deinit_discovery() 559 (void)brcmf_fil_iovar_int_set(vif->ifp, "p2p_disc", 0); in brcmf_p2p_deinit_discovery() [all …]
|
D | core.h | 206 int brcmf_netdev_wait_pend8021x(struct brcmf_if *ifp); 209 char *brcmf_ifname(struct brcmf_if *ifp); 211 void brcmf_configure_arp_nd_offload(struct brcmf_if *ifp, bool enable); 212 int brcmf_net_attach(struct brcmf_if *ifp, bool rtnl_locked); 215 void brcmf_remove_interface(struct brcmf_if *ifp, bool rtnl_locked); 216 void brcmf_txflowblock_if(struct brcmf_if *ifp, 218 void brcmf_txfinalize(struct brcmf_if *ifp, struct sk_buff *txp, bool success); 219 void brcmf_netif_rx(struct brcmf_if *ifp, struct sk_buff *skb); 220 void brcmf_netif_mon_rx(struct brcmf_if *ifp, struct sk_buff *skb); 221 void brcmf_net_setcarrier(struct brcmf_if *ifp, bool on);
|
D | fwsignal.h | 26 void brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb); 27 int brcmf_fws_process_skb(struct brcmf_if *ifp, struct sk_buff *skb); 29 void brcmf_fws_reset_interface(struct brcmf_if *ifp); 30 void brcmf_fws_add_interface(struct brcmf_if *ifp); 31 void brcmf_fws_del_interface(struct brcmf_if *ifp); 34 void brcmf_fws_rxreorder(struct brcmf_if *ifp, struct sk_buff *skb);
|
D | bcdc.c | 291 struct sk_buff *pktbuf, struct brcmf_if **ifp) in brcmf_proto_bcdc_hdrpull() argument 337 if (ifp != NULL) in brcmf_proto_bcdc_hdrpull() 338 *ifp = tmp_if; in brcmf_proto_bcdc_hdrpull() 345 struct brcmf_if *ifp = brcmf_get_ifp(drvr, ifidx); in brcmf_proto_bcdc_tx_queue_data() local 351 return brcmf_fws_process_skb(ifp, skb); in brcmf_proto_bcdc_tx_queue_data() 378 struct brcmf_if *ifp; in brcmf_proto_bcdc_txcomplete() local 385 if (brcmf_proto_bcdc_hdrpull(bus_if->drvr, false, txp, &ifp)) in brcmf_proto_bcdc_txcomplete() 388 brcmf_txfinalize(ifp, txp, success); in brcmf_proto_bcdc_txcomplete() 410 static void brcmf_proto_bcdc_rxreorder(struct brcmf_if *ifp, in brcmf_proto_bcdc_rxreorder() argument 413 brcmf_fws_rxreorder(ifp, skb); in brcmf_proto_bcdc_rxreorder() [all …]
|
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 | fwsignal.c | 771 brcmf_fws_macdesc_find(struct brcmf_fws_info *fws, struct brcmf_if *ifp, u8 *da) in brcmf_fws_macdesc_find() argument 782 if (multicast && ifp->fws_desc) { in brcmf_fws_macdesc_find() 783 entry = ifp->fws_desc; in brcmf_fws_macdesc_find() 789 entry = ifp->fws_desc; in brcmf_fws_macdesc_find() 986 struct brcmf_if *ifp = brcmf_get_ifp(fws->drvr, if_id); in brcmf_fws_flow_control_check() local 988 if (WARN_ON(!ifp)) in brcmf_fws_flow_control_check() 991 if ((ifp->netif_stop & BRCMF_NETIF_STOP_REASON_FWS_FC) && in brcmf_fws_flow_control_check() 993 brcmf_txflowblock_if(ifp, in brcmf_fws_flow_control_check() 995 if (!(ifp->netif_stop & BRCMF_NETIF_STOP_REASON_FWS_FC) && in brcmf_fws_flow_control_check() 998 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FWS_FC, true); in brcmf_fws_flow_control_check() [all …]
|
D | p2p.h | 158 void brcmf_p2p_ifp_removed(struct brcmf_if *ifp, bool rtnl_locked); 167 int brcmf_p2p_notify_listen_complete(struct brcmf_if *ifp, 170 void brcmf_p2p_cancel_remain_on_channel(struct brcmf_if *ifp); 171 int brcmf_p2p_notify_action_frame_rx(struct brcmf_if *ifp, 174 int brcmf_p2p_notify_action_tx_complete(struct brcmf_if *ifp, 182 s32 brcmf_p2p_notify_rx_mgmt_p2p_probereq(struct brcmf_if *ifp,
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 136 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_init_local_fork() local 152 ifp->if_u1.if_data = kmem_alloc(real_size, KM_SLEEP | KM_NOFS); in xfs_init_local_fork() 153 memcpy(ifp->if_u1.if_data, data, size); in xfs_init_local_fork() 155 ifp->if_u1.if_data[size] = '\0'; in xfs_init_local_fork() 157 ifp->if_u1.if_data = NULL; in xfs_init_local_fork() 160 ifp->if_bytes = size; in xfs_init_local_fork() 161 ifp->if_flags &= ~(XFS_IFEXTENTS | XFS_IFBROOT); in xfs_init_local_fork() 162 ifp->if_flags |= XFS_IFINLINE; in xfs_init_local_fork() 206 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iformat_extents() local 228 ifp->if_bytes = 0; in xfs_iformat_extents() [all …]
|
D | xfs_iext_tree.c | 132 inline xfs_extnum_t xfs_iext_count(struct xfs_ifork *ifp) in xfs_iext_count() argument 134 return ifp->if_bytes / sizeof(struct xfs_iext_rec); in xfs_iext_count() 137 static inline int xfs_iext_max_recs(struct xfs_ifork *ifp) in xfs_iext_max_recs() argument 139 if (ifp->if_height == 1) in xfs_iext_max_recs() 140 return xfs_iext_count(ifp); in xfs_iext_max_recs() 149 static inline bool xfs_iext_valid(struct xfs_ifork *ifp, in xfs_iext_valid() argument 154 if (cur->pos < 0 || cur->pos >= xfs_iext_max_recs(ifp)) in xfs_iext_valid() 163 struct xfs_ifork *ifp) in xfs_iext_find_first_leaf() argument 165 struct xfs_iext_node *node = ifp->if_u1.if_root; in xfs_iext_find_first_leaf() 168 if (!ifp->if_height) in xfs_iext_find_first_leaf() [all …]
|
D | xfs_inode_fork.h | 103 xfs_extnum_t xfs_iext_count(struct xfs_ifork *ifp); 111 struct xfs_ifork *ifp, xfs_fileoff_t bno, 115 struct xfs_ifork *ifp, xfs_fileoff_t *end, 118 bool xfs_iext_get_extent(struct xfs_ifork *ifp, 130 static inline bool xfs_iext_next_extent(struct xfs_ifork *ifp, in xfs_iext_next_extent() argument 133 xfs_iext_next(ifp, cur); in xfs_iext_next_extent() 134 return xfs_iext_get_extent(ifp, cur, gotp); in xfs_iext_next_extent() 137 static inline bool xfs_iext_prev_extent(struct xfs_ifork *ifp, in xfs_iext_prev_extent() argument 140 xfs_iext_prev(ifp, cur); in xfs_iext_prev_extent() 141 return xfs_iext_get_extent(ifp, cur, gotp); in xfs_iext_prev_extent() [all …]
|
D | xfs_symlink_remote.c | 172 struct xfs_ifork *ifp) in xfs_symlink_local_to_remote() argument 181 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote() 182 xfs_trans_log_buf(tp, bp, 0, ifp->if_bytes - 1); in xfs_symlink_local_to_remote() 191 ifp->if_bytes + sizeof(struct xfs_dsymlink_hdr)); in xfs_symlink_local_to_remote() 196 buf += xfs_symlink_hdr_set(mp, ip->i_ino, 0, ifp->if_bytes, bp); in xfs_symlink_local_to_remote() 197 memcpy(buf, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote() 199 ifp->if_bytes - 1); in xfs_symlink_local_to_remote() 209 struct xfs_ifork *ifp; in xfs_symlink_shortform_verify() local 213 ifp = XFS_IFORK_PTR(ip, XFS_DATA_FORK); in xfs_symlink_shortform_verify() 214 sfp = (char *)ifp->if_u1.if_data; in xfs_symlink_shortform_verify() [all …]
|
D | xfs_bmap.c | 329 struct xfs_ifork *ifp; /* fork structure */ in xfs_bmap_check_leaf_extents() local 348 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_check_leaf_extents() 349 block = ifp->if_broot; in xfs_bmap_check_leaf_extents() 355 xfs_check_block(block, mp, 1, ifp->if_broot_bytes); in xfs_bmap_check_leaf_extents() 356 pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, 1, ifp->if_broot_bytes); in xfs_bmap_check_leaf_extents() 598 struct xfs_ifork *ifp; /* inode fork data */ in xfs_bmap_btree_to_extents() local 605 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_btree_to_extents() 607 ASSERT(ifp->if_flags & XFS_IFEXTENTS); in xfs_bmap_btree_to_extents() 609 rblock = ifp->if_broot; in xfs_bmap_btree_to_extents() 612 ASSERT(xfs_bmbt_maxrecs(mp, ifp->if_broot_bytes, 0) == 1); in xfs_bmap_btree_to_extents() [all …]
|
/Linux-v4.19/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 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-v4.19/net/ipv6/ |
D | addrconf.c | 166 static void addrconf_join_anycast(struct inet6_ifaddr *ifp); 167 static void addrconf_leave_anycast(struct inet6_ifaddr *ifp); 178 static void addrconf_dad_start(struct inet6_ifaddr *ifp); 180 static void addrconf_dad_completed(struct inet6_ifaddr *ifp, bool bump_id, 310 static void addrconf_del_dad_work(struct inet6_ifaddr *ifp) in addrconf_del_dad_work() argument 312 if (cancel_delayed_work(&ifp->dad_work)) in addrconf_del_dad_work() 313 __in6_ifa_put(ifp); in addrconf_del_dad_work() 324 static void addrconf_mod_dad_work(struct inet6_ifaddr *ifp, in addrconf_mod_dad_work() argument 327 in6_ifa_hold(ifp); in addrconf_mod_dad_work() 328 if (mod_delayed_work(addrconf_wq, &ifp->dad_work, delay)) in addrconf_mod_dad_work() [all …]
|
/Linux-v4.19/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()
|