/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | p2p.c | 426 * @ifp: ifp to use for iovars (primary). 429 static int brcmf_p2p_set_firmware(struct brcmf_if *ifp, u8 *p2p_mac) argument 431 struct brcmf_pub *drvr = ifp->drvr; 434 brcmf_fil_cmd_int_set(ifp, BRCMF_C_DOWN, 1); 435 brcmf_fil_iovar_int_set(ifp, "apsta", 1); 436 brcmf_fil_cmd_int_set(ifp, BRCMF_C_UP, 1); 443 brcmf_fil_iovar_int_set(ifp, "p2p_disc", 0); 445 ret = brcmf_fil_iovar_data_set(ifp, "p2p_da_override", p2p_mac, 465 struct brcmf_if *pri_ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; 538 brcmf_p2p_set_discover_state(struct brcmf_if *ifp, u8 state, u16 chanspec, u16 listen_ms) argument 772 brcmf_p2p_run_escan(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, struct cfg80211_scan_request *request) argument 1011 brcmf_p2p_notify_listen_complete(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) argument 1044 brcmf_p2p_cancel_remain_on_channel(struct brcmf_if *ifp) argument 1302 struct brcmf_if *ifp = p2p->bss_idx[P2PAPI_BSSCFG_PRIMARY].vif->ifp; local 1340 struct brcmf_if *ifp; local 1385 brcmf_p2p_notify_action_frame_rx(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) argument 1493 brcmf_p2p_notify_action_tx_complete(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) argument 1723 struct brcmf_if *ifp = netdev_priv(ndev); local 1933 brcmf_p2p_notify_rx_mgmt_p2p_probereq(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) argument 2009 struct brcmf_if *ifp; local 2101 brcmf_p2p_request_p2p_if(struct brcmf_p2p_info *p2p, struct brcmf_if *ifp, u8 ea[ETH_ALEN], enum brcmf_fil_p2p_if_types iftype) argument 2127 struct brcmf_if *ifp = netdev_priv(pri_ndev); local 2137 struct brcmf_if *ifp = netdev_priv(pri_ndev); local 2235 struct brcmf_if *ifp = netdev_priv(cfg_to_ndev(cfg)); local 2268 struct brcmf_if *ifp = netdev_priv(cfg_to_ndev(cfg)); local 2437 brcmf_p2p_ifp_removed(struct brcmf_if *ifp, bool locked) argument [all...] |
H A D | common.h | 64 void brcmf_c_set_joinpref_default(struct brcmf_if *ifp); 72 int brcmf_c_preinit_dcmds(struct brcmf_if *ifp); 73 int brcmf_c_set_cur_etheraddr(struct brcmf_if *ifp, const u8 *addr);
|
H A D | cfg80211.h | 209 * @ifp: lower layer interface pointer 221 struct brcmf_if *ifp; member in struct:brcmf_cfg80211_vif 265 struct brcmf_if *ifp; member in struct:escan_info 266 s32 (*run)(struct brcmf_cfg80211_info *cfg, struct brcmf_if *ifp, 423 struct brcmf_if *ifp = netdev_priv(nd); local 424 return &ifp->vif->profile; 429 struct brcmf_if *ifp = netdev_priv(ndev); local 430 return ifp->vif; 446 enum nl80211_iftype brcmf_cfg80211_get_iftype(struct brcmf_if *ifp); 465 struct brcmf_if *ifp, boo [all...] |
H A D | bcdc.c | 282 struct sk_buff *pktbuf, struct brcmf_if **ifp) 301 brcmf_dbg(INFO, "no matching ifp found\n"); 328 if (ifp != NULL) 329 *ifp = tmp_if; 336 struct brcmf_if *ifp = brcmf_get_ifp(drvr, ifidx); local 342 return brcmf_fws_process_skb(ifp, skb); 369 struct brcmf_if *ifp; local 375 if (brcmf_proto_bcdc_hdrpull(bus_if->drvr, false, txp, &ifp)) 378 brcmf_txfinalize(ifp, txp, success); 400 static void brcmf_proto_bcdc_rxreorder(struct brcmf_if *ifp, argument 281 brcmf_proto_bcdc_hdrpull(struct brcmf_pub *drvr, bool do_fws, struct sk_buff *pktbuf, struct brcmf_if **ifp) argument 407 brcmf_proto_bcdc_add_if(struct brcmf_if *ifp) argument 413 brcmf_proto_bcdc_del_if(struct brcmf_if *ifp) argument 419 brcmf_proto_bcdc_reset_if(struct brcmf_if *ifp) argument [all...] |
H A D | feature.h | 111 * @ifp: interface instance. 116 bool brcmf_feat_is_enabled(struct brcmf_if *ifp, enum brcmf_feat_id id); 121 * @ifp: interface instance. 126 bool brcmf_feat_is_quirk_enabled(struct brcmf_if *ifp,
|
H A D | fwsignal.c | 709 /* depending on use may need ifp->bsscfgidx instead */ 747 brcmf_fws_macdesc_find(struct brcmf_fws_info *fws, struct brcmf_if *ifp, u8 *da) argument 758 if (multicast && ifp->fws_desc) { 759 entry = ifp->fws_desc; 765 entry = ifp->fws_desc; 962 struct brcmf_if *ifp = brcmf_get_ifp(fws->drvr, if_id); local 964 if (WARN_ON(!ifp)) 967 if ((ifp->netif_stop & BRCMF_NETIF_STOP_REASON_FWS_FC) && 969 brcmf_txflowblock_if(ifp, 971 if (!(ifp 1447 struct brcmf_if *ifp; local 1595 brcmf_fws_notify_credit_map(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) argument 1629 brcmf_fws_notify_bcmc_credit_support(struct brcmf_if *ifp, const struct brcmf_event_msg *e, void *data) argument 1667 brcmf_fws_rxreorder(struct brcmf_if *ifp, struct sk_buff *pkt) argument 1840 brcmf_fws_hdrpull(struct brcmf_if *ifp, s16 siglen, struct sk_buff *skb) argument 2113 brcmf_fws_process_skb(struct brcmf_if *ifp, struct sk_buff *skb) argument 2154 brcmf_fws_reset_interface(struct brcmf_if *ifp) argument 2165 brcmf_fws_add_interface(struct brcmf_if *ifp) argument 2182 brcmf_fws_del_interface(struct brcmf_if *ifp) argument 2345 struct brcmf_if *ifp; local 2500 struct brcmf_if *ifp; local [all...] |
H A D | fweh.h | 283 typedef int (*brcmf_fweh_handler_t)(struct brcmf_if *ifp, 350 int (*handler)(struct brcmf_if *ifp, 355 int brcmf_fweh_activate_events(struct brcmf_if *ifp); 359 void brcmf_fweh_p2pdev_setup(struct brcmf_if *ifp, bool ongoing);
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cyw/ |
H A D | core.c | 16 static int brcmf_cyw_set_sae_pwd(struct brcmf_if *ifp, argument 19 struct brcmf_pub *drvr = ifp->drvr; 33 err = brcmf_fil_iovar_data_set(ifp, "sae_password", &sae_pwd,
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_bmap.c | 134 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 137 ifp->if_format == XFS_DINODE_FMT_EXTENTS && 138 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork); 146 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 149 ifp->if_format == XFS_DINODE_FMT_BTREE && 150 ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork); 347 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 360 if (ifp->if_format != XFS_DINODE_FMT_BTREE) 368 block = ifp->if_broot; 374 xfs_check_block(block, mp, 1, ifp 567 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 643 struct xfs_ifork *ifp; /* inode fork pointer */ local 767 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 783 xfs_bmap_local_to_extents( xfs_trans_t *tp, xfs_inode_t *ip, xfs_extlen_t total, int *logflagsp, int whichfork, void (*init_fn)(struct xfs_trans *tp, struct xfs_buf *bp, struct xfs_inode *ip, struct xfs_ifork *ifp)) argument 796 struct xfs_ifork *ifp; /* inode fork pointer */ local 1162 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 1213 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 1266 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 1313 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 1348 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 1414 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 1450 struct xfs_ifork *ifp = xfs_ifork_ptr(bma->ip, whichfork); local 2018 struct xfs_ifork *ifp; /* inode fork pointer */ local 2570 struct xfs_ifork *ifp; /* inode fork pointer */ local 2714 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 3969 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 4066 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 4193 struct xfs_ifork *ifp = xfs_ifork_ptr(bma->ip, whichfork); local 4291 struct xfs_ifork *ifp = xfs_ifork_ptr(bma->ip, whichfork); local 4368 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, fork); local 4389 struct xfs_ifork *ifp = xfs_ifork_ptr(bma->ip, whichfork); local 4428 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 4610 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 4744 struct xfs_ifork *ifp; local 4907 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 5030 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, XFS_COW_FORK); local 5115 struct xfs_ifork *ifp; /* inode fork pointer */ local 5363 struct xfs_ifork *ifp; /* inode fork pointer */ local 5723 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 5851 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 5966 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 6067 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local [all...] |
H A D | xfs_symlink_remote.h | 19 struct xfs_inode *ip, struct xfs_ifork *ifp);
|
H A D | xfs_symlink_remote.c | 172 struct xfs_ifork *ifp) 181 memcpy(bp->b_addr, ifp->if_data, ifp->if_bytes); 182 xfs_trans_log_buf(tp, bp, 0, ifp->if_bytes - 1); 191 ifp->if_bytes + sizeof(struct xfs_dsymlink_hdr)); 196 buf += xfs_symlink_hdr_set(mp, ip->i_ino, 0, ifp->if_bytes, bp); 197 memcpy(buf, ifp->if_data, ifp->if_bytes); 199 ifp->if_bytes - 1); 168 xfs_symlink_local_to_remote( struct xfs_trans *tp, struct xfs_buf *bp, struct xfs_inode *ip, struct xfs_ifork *ifp) argument
|
H A D | xfs_bmap_btree.c | 301 struct xfs_ifork *ifp = xfs_btree_ifork_ptr(cur); local 304 ifp->if_broot_bytes, level == 0) / 2; 316 struct xfs_ifork *ifp = xfs_btree_ifork_ptr(cur); local 319 ifp->if_broot_bytes, level == 0); 583 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 585 cur->bc_nlevels = be16_to_cpu(ifp->if_broot->bb_level) + 1; 613 struct xfs_ifork *ifp; local 626 ifp = xfs_ifork_ptr(cur->bc_ino.ip, whichfork); 627 xfs_idestroy_fork(ifp); 628 memcpy(ifp, ifak [all...] |
/linux-master/drivers/block/aoe/ |
H A D | aoeblk.c | 63 struct aoeif *ifp, *e; local 72 ifp = (*t)->ifs; 73 e = ifp + NAOEIFS; 74 for (; ifp < e && ifp->nd; ifp++) { 76 if (*nnd == ifp->nd) 79 *nd++ = ifp->nd; 115 struct aoeif *ifp, *ife; local 142 ifp [all...] |
H A D | aoecmd.c | 132 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); 158 struct aoeif *ifp; local 160 ifp = t->ifp; 161 ifp++; 162 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) 163 ifp = t->ifs; 164 if (ifp->nd == NULL) 166 return t->ifp 417 struct net_device *ifp; local 538 ejectif(struct aoetgt *t, struct aoeif *ifp) argument 730 struct aoeif *ifp; local 1074 struct aoeif *ifp; local [all...] |
H A D | aoedev.c | 502 struct aoeif *ifp; local 504 for (ifp = t->ifs; ifp < &t->ifs[NAOEIFS]; ++ifp) { 505 if (!ifp->nd) 507 dev_put(ifp->nd);
|
/linux-master/fs/xfs/scrub/ |
H A D | dqiterate.c | 47 struct xfs_ifork *ifp = xfs_ifork_ptr(cursor->quota_ip, local 61 cursor->if_seq == ifp->if_seq && 79 cursor->if_seq = ifp->if_seq; 91 struct xfs_ifork *ifp = xfs_ifork_ptr(cursor->quota_ip, local 132 cursor->if_seq = ifp->if_seq;
|
H A D | bmap.c | 473 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, info->whichfork); local 509 if (!xfs_iext_lookup_extent(ip, ifp, irec.br_startoff, &icur, 528 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->ip, whichfork); local 535 info->was_loaded = !xfs_need_iread_extents(ifp); 566 struct xfs_ifork *ifp; local 580 ifp = xfs_ifork_ptr(sc->ip, sbcri->whichfork); 581 if (!ifp) { 586 have_map = xfs_iext_lookup_extent(sc->ip, ifp, rec->rm_offset, 618 have_map = xfs_iext_next_extent(ifp, &sbcri->icur, &irec); 667 struct xfs_ifork *ifp local 711 struct xfs_ifork *ifp = &ip->i_df; local 856 struct xfs_ifork *ifp; local 919 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local [all...] |
H A D | bmap_repair.c | 373 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, rb->whichfork); local 383 for_each_xfs_iext(ifp, &icur, &irec) { 525 struct xfs_ifork *ifp = rb->new_bmapbt.ifake.if_fork; local 529 ASSERT(ifp->if_bytes == 0); 532 xfs_iext_first(ifp, &icur); 542 xfs_iext_insert_raw(ifp, &icur, &irec); 544 ifp->if_nextents++; 546 xfs_iext_next(ifp, &icur); 550 ifp->if_nextents); 716 struct xfs_ifork *ifp local [all...] |
H A D | cow_repair.c | 368 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, XFS_COW_FORK); local 370 if (!xfs_iext_lookup_extent(ip, ifp, startoff, icur, got)) 535 struct xfs_ifork *ifp = xfs_ifork_ptr(sc->ip, XFS_COW_FORK); local 541 if (!ifp) 552 if (ifp->if_format != XFS_DINODE_FMT_EXTENTS) { 553 ifp->if_format = XFS_DINODE_FMT_EXTENTS; 554 ifp->if_nextents = 0; 568 for_each_xfs_iext(ifp, &icur, &xc->irec) {
|
H A D | attr.c | 48 struct xfs_ifork *ifp; local 56 ifp = xfs_ifork_ptr(sc->ip, XFS_ATTR_FORK); 57 if (!ifp) 60 return xfs_ifork_has_extents(ifp); 530 struct xfs_ifork *ifp = &sc->ip->i_af; local 531 struct xfs_attr_sf_hdr *sf = ifp->if_data; 534 unsigned char *end = ifp->if_data + ifp->if_bytes; 538 bitmap_zero(ab->usedmap, ifp->if_bytes);
|
/linux-master/include/net/ |
H A D | addrconf.h | 248 void addrconf_dad_failure(struct sk_buff *skb, struct inet6_ifaddr *ifp); 423 void inet6_ifa_finish_destroy(struct inet6_ifaddr *ifp); 425 static inline void in6_ifa_put(struct inet6_ifaddr *ifp) argument 427 if (refcount_dec_and_test(&ifp->refcnt)) 428 inet6_ifa_finish_destroy(ifp); 431 static inline void __in6_ifa_put(struct inet6_ifaddr *ifp) argument 433 refcount_dec(&ifp->refcnt); 436 static inline void in6_ifa_hold(struct inet6_ifaddr *ifp) argument 438 refcount_inc(&ifp->refcnt); 441 static inline bool in6_ifa_hold_safe(struct inet6_ifaddr *ifp) argument [all...] |
/linux-master/net/ipv6/ |
H A D | ndisc.c | 527 struct inet6_ifaddr *ifp; local 533 ifp = ipv6_get_ifaddr(dev_net(dev), solicited_addr, dev, 1); 534 if (ifp) { 536 if (ifp->flags & IFA_F_OPTIMISTIC) 538 inc_opt |= READ_ONCE(ifp->idev->cnf.force_tllao); 539 in6_ifa_put(ifp); 688 struct inet6_ifaddr *ifp = ipv6_get_ifaddr(dev_net(dev), saddr, local 690 if (ifp) { 691 if (ifp->flags & IFA_F_OPTIMISTIC) { 694 in6_ifa_put(ifp); 797 struct inet6_ifaddr *ifp; local 1003 struct inet6_ifaddr *ifp; local [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_bmap_util.c | 82 struct xfs_ifork *ifp, 89 for_each_xfs_iext(ifp, &icur, &got) { 112 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, whichfork); local 120 if (!ifp) 123 switch (ifp->if_format) { 144 *nextents = xfs_bmap_count_leaves(ifp, count); 266 struct xfs_ifork *ifp; local 344 ifp = xfs_ifork_ptr(ip, whichfork); 346 switch (ifp->if_format) { 372 if (!xfs_iext_lookup_extent(ip, ifp, bn 81 xfs_bmap_count_leaves( struct xfs_ifork *ifp, xfs_filblks_t *count) argument 450 struct xfs_ifork *ifp = &ip->i_df; local 1119 struct xfs_ifork *ifp = &ip->i_df; local [all...] |
H A D | xfs_reflink.c | 585 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, XFS_COW_FORK); local 592 if (!xfs_iext_lookup_extent_before(ip, ifp, &end_fsb, &icur, &got)) 602 xfs_iext_prev(ifp, &icur); 641 xfs_iext_prev(ifp, &icur); 644 if (!xfs_iext_get_extent(ifp, &icur, &got)) 649 if (!ifp->if_bytes) 729 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, XFS_COW_FORK); local 735 if (ifp->if_bytes == 0) { 767 if (!xfs_iext_lookup_extent(ip, ifp, *offset_fsb, &icur, &got) || 781 if (!xfs_iext_next_extent(ifp, 1567 struct xfs_ifork *ifp; local [all...] |
/linux-master/drivers/media/i2c/ |
H A D | mt9m114.c | 351 /* Indices into the mt9m114.ifp.tpg array. */ 411 } ifp; member in struct:mt9m114 907 u16 frame_rate = sensor->ifp.frame_rate << 8; 940 ret = __v4l2_ctrl_handler_setup(&sensor->ifp.hdl); 1455 return container_of(ctrl->handler, struct mt9m114, ifp.hdl); 1508 unsigned int pattern = sensor->ifp.tpg[MT9M114_TPG_PATTERN]->val; 1518 sensor->ifp.tpg[MT9M114_TPG_RED]->val, &ret); 1521 sensor->ifp.tpg[MT9M114_TPG_GREEN]->val, &ret); 1524 sensor->ifp.tpg[MT9M114_TPG_BLUE]->val, &ret); 1564 return container_of(sd, struct mt9m114, ifp [all...] |