Home
last modified time | relevance | path

Searched refs:sb_info (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_int.c36 struct qed_sb_info sb_info; member
1244 struct qed_sb_info *sb_info; in qed_int_sp_dpc() local
1253 sb_info = &p_hwfn->p_sp_sb->sb_info; in qed_int_sp_dpc()
1255 if (!sb_info) { in qed_int_sp_dpc()
1273 qed_sb_ack(sb_info, IGU_INT_DISABLE, 0); in qed_int_sp_dpc()
1276 if (!sb_info->sb_virt) { in qed_int_sp_dpc()
1280 u32 tmp_index = sb_info->sb_ack; in qed_int_sp_dpc()
1282 rc = qed_sb_update_sb_idx(sb_info); in qed_int_sp_dpc()
1285 tmp_index, sb_info->sb_ack); in qed_int_sp_dpc()
1302 qed_sb_ack(sb_info, IGU_INT_ENABLE, 1); in qed_int_sp_dpc()
[all …]
Dqed_int.h107 struct qed_sb_info *sb_info,
122 struct qed_sb_info *sb_info);
138 struct qed_sb_info *sb_info,
238 struct qed_sb_info *sb_info; member
Dqed_main.c1449 struct qed_sb_info *sb_info, in qed_sb_init() argument
1477 rc = qed_int_sb_init(p_hwfn, p_ptt, sb_info, sb_virt_addr, in qed_sb_init()
1481 rc = qed_int_sb_init(p_hwfn, NULL, sb_info, sb_virt_addr, in qed_sb_init()
1489 struct qed_sb_info *sb_info, in qed_sb_release() argument
1510 rc = qed_int_sb_release(p_hwfn, sb_info, rel_sb_id); in qed_sb_release()
/linux-6.1.9/fs/reiserfs/
Dprocfs.c228 struct reiserfs_sb_info *sb_info = REISERFS_SB(sb); in show_on_disk_super() local
229 struct reiserfs_super_block *rs = sb_info->s_rs; in show_on_disk_super()
272 struct reiserfs_sb_info *sb_info = REISERFS_SB(sb); in show_oidmap() local
273 struct reiserfs_super_block *rs = sb_info->s_rs; in show_oidmap()
289 if (sb_info->oidmap.use_file && (sb_info->oidmap.mapf != NULL)) { in show_oidmap()
290 loff_t size = file_inode(sb_info->oidmap.mapf)->i_size; in show_oidmap()
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_debugfs.c138 struct qed_sb_info *sb_info = NULL; in qedi_gbl_ctx_show() local
152 sb_info = fp->sb_info; in qedi_gbl_ctx_show()
153 sb = sb_info->sb_virt; in qedi_gbl_ctx_show()
Dqedi_main.c352 struct qed_sb_info *sb_info, u16 sb_id) in qedi_alloc_and_init_sb() argument
368 ret = qedi_ops->common->sb_init(qedi->cdev, sb_info, sb_virt, sb_phys, in qedi_alloc_and_init_sb()
382 struct qed_sb_info *sb_info; in qedi_free_sb() local
386 sb_info = &qedi->sb_array[id]; in qedi_free_sb()
387 if (sb_info->sb_virt) in qedi_free_sb()
389 sizeof(*sb_info->sb_virt), in qedi_free_sb()
390 (void *)sb_info->sb_virt, in qedi_free_sb()
391 sb_info->sb_phys); in qedi_free_sb()
447 fp->sb_info = &qedi->sb_array[id]; in qedi_int_fp()
472 ret = qedi_alloc_and_init_sb(qedi, fp->sb_info, fp->sb_id); in qedi_prepare_fp()
[all …]
Dqedi.h168 struct qed_sb_info *sb_info; member
/linux-6.1.9/arch/s390/hypfs/
Dinode.c52 struct hypfs_sb_info *sb_info = sb->s_fs_info; in hypfs_update_update() local
53 struct inode *inode = d_inode(sb_info->update_file); in hypfs_update_update()
55 sb_info->last_update = ktime_get_seconds(); in hypfs_update_update()
326 struct hypfs_sb_info *sb_info = sb->s_fs_info; in hypfs_kill_super() local
330 if (sb_info && sb_info->update_file) in hypfs_kill_super()
331 hypfs_remove(sb_info->update_file); in hypfs_kill_super()
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
Dqede_main.c514 char *p_sb = (char *)fp->sb_info->sb_virt; in qede_fp_sb_dump()
535 fp->id, fp->sb_info->igu_sb_id, txq->index, txq->ndev_txq_id, txq->cos, in qede_txq_fp_log_metadata()
555 rc = edev->ops->common->get_sb_info(edev->cdev, fp->sb_info, (u16)fp->id, &sb_dbg); in qede_tx_log_print()
569 txq->index, fp->sb_info->igu_sb_id, in qede_tx_log_print()
940 kfree(fp->sb_info); in qede_free_fp_array()
992 fp->sb_info = kzalloc(sizeof(*fp->sb_info), GFP_KERNEL); in qede_alloc_fp_array()
993 if (!fp->sb_info) { in qede_alloc_fp_array()
1443 static void qede_free_mem_sb(struct qede_dev *edev, struct qed_sb_info *sb_info, in qede_free_mem_sb() argument
1446 if (sb_info->sb_virt) { in qede_free_mem_sb()
1447 edev->ops->common->sb_release(edev->cdev, sb_info, sb_id, in qede_free_mem_sb()
[all …]
Dqede_fp.c1379 qed_sb_update_sb_idx(fp->sb_info); in qede_poll_is_more_work()
1447 qed_sb_ack(fp->sb_info, IGU_INT_ENABLE, 1); in qede_poll()
1470 qed_sb_ack(fp->sb_info, IGU_INT_DISABLE, 0 /*do not update*/); in qede_msix_fp_int()
Dqede.h467 struct qed_sb_info *sb_info; member
Dqede_ethtool.c1455 qed_sb_ack(edev->fp_array[i].sb_info, IGU_INT_ENABLE, 1); in qede_netif_start()
1468 qed_sb_ack(edev->fp_array[i].sb_info, IGU_INT_DISABLE, 0); in qede_netif_stop()
/linux-6.1.9/include/linux/qed/
Dqed_if.h909 struct qed_sb_info *sb_info,
916 struct qed_sb_info *sb_info,
1424 static inline u16 qed_sb_update_sb_idx(struct qed_sb_info *sb_info) in qed_sb_update_sb_idx() argument
1429 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
1431 if (sb_info->sb_ack != prod) { in qed_sb_update_sb_idx()
1432 sb_info->sb_ack = prod; in qed_sb_update_sb_idx()
1452 static inline void qed_sb_ack(struct qed_sb_info *sb_info, in qed_sb_ack() argument
1458 igu_ack = ((sb_info->sb_ack << IGU_PROD_CONS_UPDATE_SB_INDEX_SHIFT) | in qed_sb_ack()
1464 DIRECT_REG_WR(sb_info->igu_addr, igu_ack); in qed_sb_ack()
/linux-6.1.9/fs/kernfs/
Dmount.c281 struct kernfs_super_info *sb_info = kernfs_info(sb); in kernfs_test_super() local
284 return sb_info->root == info->root && sb_info->ns == info->ns; in kernfs_test_super()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dmain.c272 struct qed_sb_info *sb_info, u16 sb_id) in qedr_alloc_mem_sb() argument
283 rc = dev->ops->common->sb_init(dev->cdev, sb_info, in qedr_alloc_mem_sb()
297 struct qed_sb_info *sb_info, int sb_id) in qedr_free_mem_sb() argument
299 if (sb_info->sb_virt) { in qedr_free_mem_sb()
300 dev->ops->common->sb_release(dev->cdev, sb_info, sb_id, in qedr_free_mem_sb()
302 dma_free_coherent(&dev->pdev->dev, sizeof(*sb_info->sb_virt), in qedr_free_mem_sb()
303 (void *)sb_info->sb_virt, sb_info->sb_phys); in qedr_free_mem_sb()
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_main.c2194 struct qed_sb_info *sb_info = fp->sb_info; in qedf_fp_has_work() local
2195 struct status_block *sb = sb_info->sb_virt; in qedf_fp_has_work()
2221 struct qed_sb_info *sb_info = fp->sb_info; in qedf_process_completions() local
2222 struct status_block *sb = sb_info->sb_virt; in qedf_process_completions()
2326 if (!fp->sb_info) { in qedf_msix_handler()
2335 qed_sb_ack(fp->sb_info, IGU_INT_DISABLE, 0 /*do not update*/); in qedf_msix_handler()
2342 qed_sb_update_sb_idx(fp->sb_info); in qedf_msix_handler()
2349 qed_sb_ack(fp->sb_info, IGU_INT_ENABLE, 1); in qedf_msix_handler()
2711 struct qed_sb_info *sb_info, u16 sb_id) in qedf_alloc_and_init_sb() argument
2727 ret = qed_ops->common->sb_init(qedf->cdev, sb_info, sb_virt, sb_phys, in qedf_alloc_and_init_sb()
[all …]
Dqedf.h248 struct qed_sb_info *sb_info; member
/linux-6.1.9/fs/ecryptfs/
Dmain.c627 struct ecryptfs_sb_info *sb_info = ecryptfs_superblock_to_private(sb); in ecryptfs_kill_block_super() local
629 if (!sb_info) in ecryptfs_kill_block_super()
631 ecryptfs_destroy_mount_crypt_stat(&sb_info->mount_crypt_stat); in ecryptfs_kill_block_super()
632 kmem_cache_free(ecryptfs_sb_info_cache, sb_info); in ecryptfs_kill_block_super()
Decryptfs_kernel.h478 struct ecryptfs_sb_info *sb_info) in ecryptfs_set_superblock_private() argument
480 sb->s_fs_info = sb_info; in ecryptfs_set_superblock_private()