cxgbi_ppm
static void ppm_mark_entries(struct cxgbi_ppm *ppm, int i, int count,
static int ppm_get_cpu_entries(struct cxgbi_ppm *ppm, unsigned int count,
static int ppm_get_entries(struct cxgbi_ppm *ppm, unsigned int count,
static void ppm_unmark_entries(struct cxgbi_ppm *ppm, int i, int count)
void cxgbi_ppm_ppod_release(struct cxgbi_ppm *ppm, u32 idx)
int cxgbi_ppm_ppods_reserve(struct cxgbi_ppm *ppm, unsigned short nr_pages,
void cxgbi_ppm_make_ppod_hdr(struct cxgbi_ppm *ppm, u32 tag,
static void ppm_free(struct cxgbi_ppm *ppm)
struct cxgbi_ppm *ppm = container_of(kref,
struct cxgbi_ppm,
int cxgbi_ppm_release(struct cxgbi_ppm *ppm)
struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*ppm_pp);
alloc_sz = sizeof(struct cxgbi_ppm) +
ppm = (struct cxgbi_ppm *)(*ppm_pp);
int cxgbi_ppm_find_page_index(struct cxgbi_ppm *ppm, unsigned long pgsz)
static inline int cxgbi_ppm_is_ddp_tag(struct cxgbi_ppm *ppm, u32 tag)
static inline int cxgbi_ppm_sw_tag_is_usable(struct cxgbi_ppm *ppm,
static inline int cxgbi_ppm_make_non_ddp_tag(struct cxgbi_ppm *ppm,
static inline u32 cxgbi_ppm_decode_non_ddp_tag(struct cxgbi_ppm *ppm,
static inline u32 cxgbi_ppm_ddp_tag_get_idx(struct cxgbi_ppm *ppm,
cxgbi_ppm_get_tag_caller_data(struct cxgbi_ppm *ppm,
static inline int cxgbi_ppm_ddp_tag_update_sw_bits(struct cxgbi_ppm *ppm,
int cxgbi_ppm_find_page_index(struct cxgbi_ppm *ppm, unsigned long pgsz);
void cxgbi_ppm_make_ppod_hdr(struct cxgbi_ppm *ppm, u32 tag,
void cxgbi_ppm_ppod_release(struct cxgbi_ppm *, u32 idx);
int cxgbi_ppm_ppods_reserve(struct cxgbi_ppm *, unsigned short nr_pages,
int cxgbi_ppm_release(struct cxgbi_ppm *ppm);
static struct cxgbi_ppm *cdev2ppm(struct cxgbi_device *cdev)
static int ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbi_sock *csk,
static void ddp_clear_map(struct cxgbi_device *cdev, struct cxgbi_ppm *ppm,
struct cxgbi_ppm *ppm,
static int ddp_ppod_write_idata(struct cxgbi_ppm *ppm, struct cxgbi_sock *csk,
static int ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbi_sock *csk,
static struct cxgbi_ppm *cdev2ppm(struct cxgbi_device *cdev)
return (struct cxgbi_ppm *)(*((struct cxgb4_lld_info *)
struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*ppm_pp);
struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev);
struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev);
struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev);
struct cxgbi_ppm *ppm = cdev->cdev2ppm(cdev);
struct cxgbi_ppm *ppm = csk->cdev->cdev2ppm(csk->cdev);
struct cxgbi_ppm *ppm;
struct cxgbi_ppm* (*cdev2ppm)(struct cxgbi_device *);
int (*csk_ddp_set_map)(struct cxgbi_ppm *, struct cxgbi_sock *,
struct cxgbi_ppm *,
struct cxgbi_ppm *cdev2ppm(struct cxgbit_device *cdev)
return (struct cxgbi_ppm *)(*cdev->lldi.iscsi_ppm);
cxgbit_ddp_set_map(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk,
struct cxgbi_ppm *ppm = cdev2ppm(cdev);
struct cxgbi_ppm *ppm = cdev2ppm(cdev);
struct cxgbi_ppm *ppm = (struct cxgbi_ppm *)(*lldi->iscsi_ppm);
cxgbit_ppod_init_idata(struct cxgbit_device *cdev, struct cxgbi_ppm *ppm,
cxgbit_ppod_write_idata(struct cxgbi_ppm *ppm, struct cxgbit_sock *csk,
struct cxgbi_ppm *ppm = cdev2ppm(cdev);
struct cxgbi_ppm *ppm = *csk->com.cdev->lldi.iscsi_ppm;
struct cxgbi_ppm *ppm = cdev2ppm(csk->com.cdev);