Home
last modified time | relevance | path

Searched refs:sblk (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/fs/squashfs/
Dsuper.c82 struct squashfs_super_block *sblk = NULL; in squashfs_fill_super() local
111 msblk->bytes_used = sizeof(*sblk); in squashfs_fill_super()
112 sblk = squashfs_read_table(sb, SQUASHFS_START, sizeof(*sblk)); in squashfs_fill_super()
114 if (IS_ERR(sblk)) { in squashfs_fill_super()
116 err = PTR_ERR(sblk); in squashfs_fill_super()
117 sblk = NULL; in squashfs_fill_super()
124 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super()
134 le16_to_cpu(sblk->s_major), in squashfs_fill_super()
135 le16_to_cpu(sblk->s_minor), in squashfs_fill_super()
136 le16_to_cpu(sblk->compression)); in squashfs_fill_super()
[all …]
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbnx2.c891 struct status_block_msix *sblk; in bnx2_alloc_mem() local
895 sblk = (bp->status_blk + BNX2_SBLK_MSIX_ALIGN_SIZE * i); in bnx2_alloc_mem()
896 bnapi->status_blk.msix = sblk; in bnx2_alloc_mem()
898 &sblk->status_tx_quick_consumer_index; in bnx2_alloc_mem()
900 &sblk->status_rx_quick_consumer_index; in bnx2_alloc_mem()
2800 struct status_block *sblk = bnapi->status_blk.msi; in bnx2_phy_event_is_set() local
2804 new_link_state = sblk->status_attn_bits & event; in bnx2_phy_event_is_set()
2805 old_link_state = sblk->status_attn_bits_ack & event; in bnx2_phy_event_is_set()
3359 struct status_block *sblk = bnapi->status_blk.msi; in bnx2_interrupt() local
3367 if ((sblk->status_idx == bnapi->last_status_idx) && in bnx2_interrupt()
[all …]
Dcnic.c3007 struct status_block *sblk = status_blk; in cnic_service_bnx2() local
3009 return sblk->status_idx; in cnic_service_bnx2()
4481 struct status_block *sblk = cp->status_blk.gen; in cnic_init_bnx2_irq() local
4485 while (sblk->status_completion_producer_index && i < 10) { in cnic_init_bnx2_irq()
4492 if (sblk->status_completion_producer_index) in cnic_init_bnx2_irq()
4545 struct status_block_msix *sblk = cp->status_blk.bnx2; in cnic_init_bnx2_tx_ring() local
4550 cp->tx_cons_ptr = &sblk->status_tx_quick_consumer_index; in cnic_init_bnx2_tx_ring()
4613 struct status_block_msix *sblk = cp->status_blk.bnx2; in cnic_init_bnx2_rx_ring() local
4615 cp->rx_cons_ptr = &sblk->status_rx_quick_consumer_index; in cnic_init_bnx2_rx_ring()
4712 struct status_block *sblk = cp->status_blk.gen; in cnic_start_bnx2_hw() local
[all …]
Dtg3.c1032 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_has_work() local
1037 if (sblk->status & SD_STATUS_LINK_CHG) in tg3_has_work()
1042 if (sblk->idx[0].tx_consumer != tnapi->tx_cons) in tg3_has_work()
7001 struct tg3_hw_status *sblk = tp->napi[0].hw_status; in tg3_poll_link() local
7003 if (sblk->status & SD_STATUS_LINK_CHG) { in tg3_poll_link()
7004 sblk->status = SD_STATUS_UPDATED | in tg3_poll_link()
7005 (sblk->status & ~SD_STATUS_LINK_CHG); in tg3_poll_link()
7216 struct tg3_hw_status *sblk = tnapi->hw_status; in tg3_poll_msix() local
7231 tnapi->last_tag = sblk->status_tag; in tg3_poll_msix()
7236 if (likely(sblk->idx[0].tx_consumer == tnapi->tx_cons && in tg3_poll_msix()
[all …]