pfid 1358 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h u8 pfid; /* per-path PF number */ pfid 1361 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define BP_PORT(bp) (bp->pfid & 1) pfid 1362 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define BP_FUNC(bp) (bp->pfid) pfid 1364 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define BP_VN(bp) ((bp)->pfid >> 1) pfid 344 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u16 pfid) pfid 348 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 addr = BAR_CSTRORM_INTMEM + CSTORM_EVENT_RING_DATA_OFFSET(pfid); pfid 354 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u16 pfid) pfid 356 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c u32 addr = BAR_CSTRORM_INTMEM + CSTORM_EVENT_RING_PROD_OFFSET(pfid); pfid 11049 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->pfid = (bp->pf_num >> 1); /* 0..3 */ pfid 11051 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->pfid = (bp->pf_num & 0x6); /* 0, 2, 4, 6 */ pfid 11054 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->pfid = bp->pf_num; /* 0..7 */ pfid 11057 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c BNX2X_DEV_INFO("pf_id: %x", bp->pfid); pfid 11193 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c int pfid = BP_FUNC(bp); pfid 11202 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c bp->igu_base_sb = (CHIP_MODE_IS_4_PORT(bp) ? pfid : vn) * pfid 11206 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c (CHIP_MODE_IS_4_PORT(bp) ? pfid : vn); pfid 11219 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if ((fid & IGU_FID_PF_NUM_MASK) != pfid) pfid 1404 drivers/net/ethernet/broadcom/cnic.c type_16 |= (bp->pfid << SPE_HDR_FUNCTION_ID_SHIFT) & pfid 1454 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_TCP_VARS_FLAGS_OFFSET(bp->pfid), xstorm_flags); pfid 1457 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_TCP_VARS_FLAGS_OFFSET(bp->pfid), tstorm_flags); pfid 1466 drivers/net/ethernet/broadcom/cnic.c u32 pfid = bp->pfid; pfid 1483 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_TSTRORM_INTMEM + TSTORM_ISCSI_RQ_SIZE_OFFSET(pfid), pfid 1485 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_TSTRORM_INTMEM + TSTORM_ISCSI_PAGE_SIZE_OFFSET(pfid), pfid 1488 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_PAGE_SIZE_LOG_OFFSET(pfid), CNIC_PAGE_BITS); pfid 1490 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_NUM_OF_TASKS_OFFSET(pfid), pfid 1495 drivers/net/ethernet/broadcom/cnic.c USTORM_ISCSI_RQ_BUFFER_SIZE_OFFSET(pfid), pfid 1497 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_USTRORM_INTMEM + USTORM_ISCSI_PAGE_SIZE_OFFSET(pfid), pfid 1500 drivers/net/ethernet/broadcom/cnic.c USTORM_ISCSI_PAGE_SIZE_LOG_OFFSET(pfid), CNIC_PAGE_BITS); pfid 1502 drivers/net/ethernet/broadcom/cnic.c USTORM_ISCSI_NUM_OF_TASKS_OFFSET(pfid), pfid 1504 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_USTRORM_INTMEM + USTORM_ISCSI_RQ_SIZE_OFFSET(pfid), pfid 1506 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_USTRORM_INTMEM + USTORM_ISCSI_CQ_SIZE_OFFSET(pfid), pfid 1508 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_USTRORM_INTMEM + USTORM_ISCSI_R2TQ_SIZE_OFFSET(pfid), pfid 1512 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_XSTRORM_INTMEM + XSTORM_ISCSI_PAGE_SIZE_OFFSET(pfid), pfid 1515 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_PAGE_SIZE_LOG_OFFSET(pfid), CNIC_PAGE_BITS); pfid 1517 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_NUM_OF_TASKS_OFFSET(pfid), pfid 1519 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_XSTRORM_INTMEM + XSTORM_ISCSI_HQ_SIZE_OFFSET(pfid), pfid 1521 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_XSTRORM_INTMEM + XSTORM_ISCSI_SQ_SIZE_OFFSET(pfid), pfid 1523 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_XSTRORM_INTMEM + XSTORM_ISCSI_R2TQ_SIZE_OFFSET(pfid), pfid 1527 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_CSTRORM_INTMEM + CSTORM_ISCSI_PAGE_SIZE_OFFSET(pfid), pfid 1530 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_PAGE_SIZE_LOG_OFFSET(pfid), CNIC_PAGE_BITS); pfid 1532 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_NUM_OF_TASKS_OFFSET(pfid), pfid 1534 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_CSTRORM_INTMEM + CSTORM_ISCSI_CQ_SIZE_OFFSET(pfid), pfid 1536 drivers/net/ethernet/broadcom/cnic.c CNIC_WR16(dev, BAR_CSTRORM_INTMEM + CSTORM_ISCSI_HQ_SIZE_OFFSET(pfid), pfid 1550 drivers/net/ethernet/broadcom/cnic.c u32 pfid = bp->pfid; pfid 1562 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid), req2->error_bit_map[0]); pfid 1564 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid) + 4, pfid 1568 drivers/net/ethernet/broadcom/cnic.c USTORM_ISCSI_CQ_SQN_SIZE_OFFSET(pfid), req2->max_cq_sqn); pfid 1570 drivers/net/ethernet/broadcom/cnic.c USTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid), req2->error_bit_map[0]); pfid 1572 drivers/net/ethernet/broadcom/cnic.c USTORM_ISCSI_ERROR_BITMAP_OFFSET(pfid) + 4, pfid 1576 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_CQ_SQN_SIZE_OFFSET(pfid), req2->max_cq_sqn); pfid 2086 drivers/net/ethernet/broadcom/cnic.c u32 pfid = bp->pfid; pfid 2090 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_LOCAL_MAC_ADDR0_OFFSET(pfid), mac[0]); pfid 2092 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_LOCAL_MAC_ADDR1_OFFSET(pfid), mac[1]); pfid 2094 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_LOCAL_MAC_ADDR2_OFFSET(pfid), mac[2]); pfid 2096 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_LOCAL_MAC_ADDR3_OFFSET(pfid), mac[3]); pfid 2098 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_LOCAL_MAC_ADDR4_OFFSET(pfid), mac[4]); pfid 2100 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_LOCAL_MAC_ADDR5_OFFSET(pfid), mac[5]); pfid 2103 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_TCP_VARS_LSB_LOCAL_MAC_ADDR_OFFSET(pfid), mac[5]); pfid 2105 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_TCP_VARS_LSB_LOCAL_MAC_ADDR_OFFSET(pfid) + 1, pfid 2108 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_TCP_VARS_MID_LOCAL_MAC_ADDR_OFFSET(pfid), mac[3]); pfid 2110 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_TCP_VARS_MID_LOCAL_MAC_ADDR_OFFSET(pfid) + 1, pfid 2113 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_TCP_VARS_MSB_LOCAL_MAC_ADDR_OFFSET(pfid), mac[1]); pfid 2115 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_TCP_VARS_MSB_LOCAL_MAC_ADDR_OFFSET(pfid) + 1, pfid 2192 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_LOCAL_VLAN_OFFSET(bp->pfid), csk->vlan_id); pfid 4238 drivers/net/ethernet/broadcom/cnic.c u32 pfid = bp->pfid; pfid 4245 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_LOCAL_VLAN_OFFSET(pfid), 0); pfid 4254 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_TCP_VARS_TTL_OFFSET(pfid), DEF_TTL); pfid 4256 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_TCP_VARS_TOS_OFFSET(pfid), DEF_TOS); pfid 4258 drivers/net/ethernet/broadcom/cnic.c XSTORM_ISCSI_TCP_VARS_ADV_WND_SCL_OFFSET(pfid), 2); pfid 4260 drivers/net/ethernet/broadcom/cnic.c XSTORM_TCP_TX_SWS_TIMER_VAL_OFFSET(pfid), DEF_SWS_TIMER); pfid 4262 drivers/net/ethernet/broadcom/cnic.c CNIC_WR(dev, BAR_TSTRORM_INTMEM + TSTORM_TCP_MAX_CWND_OFFSET(pfid), pfid 5005 drivers/net/ethernet/broadcom/cnic.c data->general.func_id = bp->pfid; pfid 5055 drivers/net/ethernet/broadcom/cnic.c u32 pfid = bp->pfid; pfid 5058 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_PROD_OFFSET(pfid, 0); pfid 5081 drivers/net/ethernet/broadcom/cnic.c USTORM_FCOE_EQ_PROD_OFFSET(pfid); pfid 5096 drivers/net/ethernet/broadcom/cnic.c u32 pfid; pfid 5101 drivers/net/ethernet/broadcom/cnic.c pfid = bp->pfid; pfid 5124 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_CONS_OFFSET(pfid, 0), 0); pfid 5126 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_NEXT_PAGE_ADDR_OFFSET(pfid, 0), pfid 5129 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_NEXT_PAGE_ADDR_OFFSET(pfid, 0) + 4, pfid 5132 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_NEXT_EQE_ADDR_OFFSET(pfid, 0), pfid 5135 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_NEXT_EQE_ADDR_OFFSET(pfid, 0) + 4, pfid 5138 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_NEXT_PAGE_ADDR_VALID_OFFSET(pfid, 0), 1); pfid 5140 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_SB_NUM_OFFSET(pfid, 0), cp->status_blk_num); pfid 5142 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_SB_INDEX_OFFSET(pfid, 0), pfid 5146 drivers/net/ethernet/broadcom/cnic.c USTORM_ISCSI_GLOBAL_BUF_PHYS_ADDR_OFFSET(pfid), pfid 5149 drivers/net/ethernet/broadcom/cnic.c USTORM_ISCSI_GLOBAL_BUF_PHYS_ADDR_OFFSET(pfid) + 4, pfid 5153 drivers/net/ethernet/broadcom/cnic.c TSTORM_ISCSI_TCP_LOCAL_ADV_WND_OFFSET(pfid), DEF_RCV_BUF); pfid 5405 drivers/net/ethernet/broadcom/cnic.c CSTORM_ISCSI_EQ_CONS_OFFSET(bp->pfid, 0), 0); pfid 164 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c int err, pfid; pfid 170 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c pfid = find_first_bit(&pfmap, 16); pfid 171 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c clear_bit(pfid, &pfmap); pfid 174 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c if (!test_bit(pfid, &rvu->pf_notify_bmap)) { pfid 182 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c msg = otx2_mbox_alloc_msg_cgx_link_event(rvu, pfid); pfid 186 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c otx2_mbox_msg_send(&rvu->afpf_wq_info.mbox_up, pfid); pfid 187 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c err = otx2_mbox_wait_for_rsp(&rvu->afpf_wq_info.mbox_up, pfid); pfid 190 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c pfid); pfid 894 drivers/net/ethernet/qlogic/qed/qed.h u8 pfid = GET_FIELD(concrete_fid, PXP_CONCRETE_FID_PFID); pfid 902 drivers/net/ethernet/qlogic/qed/qed.h sw_fid = pfid; pfid 877 drivers/net/ethernet/qlogic/qed/qed_dev.c u8 pfid; pfid 889 drivers/net/ethernet/qlogic/qed/qed_dev.c pfid = abs_ppfid; pfid 891 drivers/net/ethernet/qlogic/qed/qed_dev.c pfid = abs_ppfid * p_hwfn->cdev->num_ports_in_engine + pfid 897 drivers/net/ethernet/qlogic/qed/qed_dev.c pfid << PXP_PRETEND_CONCRETE_FID_PFID_SHIFT); pfid 911 drivers/net/ethernet/qlogic/qed/qed_dev.c params.dst_pfid = pfid; pfid 921 drivers/net/ethernet/qlogic/qed/qed_dev.c pfid << PXP_PRETEND_CONCRETE_FID_PFID_SHIFT); pfid 1273 drivers/net/ethernet/qlogic/qed/qed_mcp.c struct public_func *p_data, int pfid) pfid 1281 drivers/net/ethernet/qlogic/qed/qed_mcp.c func_addr = SECTION_ADDR(mfw_path_offsize, pfid); pfid 1172 fs/cifs/cifsacl.c const char *path, const struct cifs_fid *pfid) pfid 1187 fs/cifs/cifsacl.c if (pfid && (ops->get_acl_by_fid)) pfid 1188 fs/cifs/cifsacl.c pntsd = ops->get_acl_by_fid(cifs_sb, pfid, &acllen); pfid 207 fs/cifs/cifsproto.h const char *path, const struct cifs_fid *pfid); pfid 736 fs/cifs/smb1ops.c cifs_sync_read(const unsigned int xid, struct cifs_fid *pfid, pfid 740 fs/cifs/smb1ops.c parms->netfid = pfid->netfid; pfid 745 fs/cifs/smb1ops.c cifs_sync_write(const unsigned int xid, struct cifs_fid *pfid, pfid 750 fs/cifs/smb1ops.c parms->netfid = pfid->netfid; pfid 630 fs/cifs/smb2ops.c int open_shroot(unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *pfid) pfid 649 fs/cifs/smb2ops.c memcpy(pfid, tcon->crfid.fid, sizeof(struct cifs_fid)); pfid 670 fs/cifs/smb2ops.c server->ops->new_lease_key(pfid); pfid 685 fs/cifs/smb2ops.c oparms.fid = pfid; pfid 721 fs/cifs/smb2ops.c .persistent_fid = pfid->persistent_fid, pfid 722 fs/cifs/smb2ops.c .volatile_fid = pfid->volatile_fid, pfid 730 fs/cifs/smb2ops.c memcpy(pfid, tcon->crfid.fid, sizeof(*pfid)); pfid 762 fs/cifs/smb2ops.c memcpy(tcon->crfid.fid, pfid, sizeof(struct cifs_fid)); pfid 1770 fs/cifs/smb2ops.c smb2_sync_read(const unsigned int xid, struct cifs_fid *pfid, pfid 1774 fs/cifs/smb2ops.c parms->persistent_fid = pfid->persistent_fid; pfid 1775 fs/cifs/smb2ops.c parms->volatile_fid = pfid->volatile_fid; pfid 1780 fs/cifs/smb2ops.c smb2_sync_write(const unsigned int xid, struct cifs_fid *pfid, pfid 1785 fs/cifs/smb2ops.c parms->persistent_fid = pfid->persistent_fid; pfid 1786 fs/cifs/smb2ops.c parms->volatile_fid = pfid->volatile_fid; pfid 1986 fs/cifs/smb2pdu.c struct cifs_fid *pfid = oparms->fid; pfid 2010 fs/cifs/smb2pdu.c memcpy(pfid->create_guid, buf->dcontext.CreateGuid, 16); pfid 70 fs/cifs/smb2proto.h struct cifs_fid *pfid);