Lines Matching refs:sg_frags
1630 int frag_size, sg_frags; in bnx2fc_split_bd() local
1632 sg_frags = 0; in bnx2fc_split_bd()
1638 bd[bd_index + sg_frags].buf_addr_lo = addr & 0xffffffff; in bnx2fc_split_bd()
1639 bd[bd_index + sg_frags].buf_addr_hi = addr >> 32; in bnx2fc_split_bd()
1640 bd[bd_index + sg_frags].buf_len = (u16)frag_size; in bnx2fc_split_bd()
1641 bd[bd_index + sg_frags].flags = 0; in bnx2fc_split_bd()
1644 sg_frags++; in bnx2fc_split_bd()
1647 return sg_frags; in bnx2fc_split_bd()
1661 int sg_frags; in bnx2fc_map_sg() local
1677 sg_frags = bnx2fc_split_bd(io_req, addr, sg_len, in bnx2fc_map_sg()
1681 sg_frags = 1; in bnx2fc_map_sg()
1687 bd_count += sg_frags; in bnx2fc_map_sg()