Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_int.c36 struct qed_sb_info sb_info; member
1224 struct qed_sb_info *sb_info; in qed_int_sp_dpc() local
1233 sb_info = &p_hwfn->p_sp_sb->sb_info; in qed_int_sp_dpc()
1235 if (!sb_info) { in qed_int_sp_dpc()
1253 qed_sb_ack(sb_info, IGU_INT_DISABLE, 0); in qed_int_sp_dpc()
1256 if (!sb_info->sb_virt) { in qed_int_sp_dpc()
1260 u32 tmp_index = sb_info->sb_ack; in qed_int_sp_dpc()
1262 rc = qed_sb_update_sb_idx(sb_info); in qed_int_sp_dpc()
1265 tmp_index, sb_info->sb_ack); in qed_int_sp_dpc()
1282 qed_sb_ack(sb_info, IGU_INT_ENABLE, 1); in qed_int_sp_dpc()
[all …]
Dqed_int.h104 struct qed_sb_info *sb_info,
117 struct qed_sb_info *sb_info);
133 struct qed_sb_info *sb_info,
213 struct qed_sb_info *sb_info; member
Dqed_main.c1468 struct qed_sb_info *sb_info, in qed_sb_init() argument
1496 rc = qed_int_sb_init(p_hwfn, p_ptt, sb_info, sb_virt_addr, in qed_sb_init()
1500 rc = qed_int_sb_init(p_hwfn, NULL, sb_info, sb_virt_addr, in qed_sb_init()
1508 struct qed_sb_info *sb_info, in qed_sb_release() argument
1529 rc = qed_int_sb_release(p_hwfn, sb_info, rel_sb_id); in qed_sb_release()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c354 struct qed_sb_info *sb_info, u16 sb_id) in qedi_alloc_and_init_sb() argument
370 ret = qedi_ops->common->sb_init(qedi->cdev, sb_info, sb_virt, sb_phys, in qedi_alloc_and_init_sb()
384 struct qed_sb_info *sb_info; in qedi_free_sb() local
388 sb_info = &qedi->sb_array[id]; in qedi_free_sb()
389 if (sb_info->sb_virt) in qedi_free_sb()
391 sizeof(*sb_info->sb_virt), in qedi_free_sb()
392 (void *)sb_info->sb_virt, in qedi_free_sb()
393 sb_info->sb_phys); in qedi_free_sb()
449 fp->sb_info = &qedi->sb_array[id]; in qedi_int_fp()
474 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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_if.h881 struct qed_sb_info *sb_info,
888 struct qed_sb_info *sb_info,
1364 static inline u16 qed_sb_update_sb_idx(struct qed_sb_info *sb_info) in qed_sb_update_sb_idx() argument
1369 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
1371 if (sb_info->sb_ack != prod) { in qed_sb_update_sb_idx()
1372 sb_info->sb_ack = prod; in qed_sb_update_sb_idx()
1394 static inline void qed_sb_ack(struct qed_sb_info *sb_info, in qed_sb_ack() argument
1400 igu_ack = ((sb_info->sb_ack << IGU_PROD_CONS_UPDATE_SB_INDEX_SHIFT) | in qed_sb_ack()
1406 DIRECT_REG_WR(sb_info->igu_addr, igu_ack); in qed_sb_ack()
/kernel/linux/linux-5.10/fs/kernfs/
Dmount.c279 struct kernfs_super_info *sb_info = kernfs_info(sb); in kernfs_test_super() local
282 return sb_info->root == info->root && sb_info->ns == info->ns; in kernfs_test_super()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_main.c890 kfree(fp->sb_info); in qede_free_fp_array()
932 fp->sb_info = kzalloc(sizeof(*fp->sb_info), GFP_KERNEL); in qede_alloc_fp_array()
933 if (!fp->sb_info) { in qede_alloc_fp_array()
1387 static void qede_free_mem_sb(struct qede_dev *edev, struct qed_sb_info *sb_info, in qede_free_mem_sb() argument
1390 if (sb_info->sb_virt) { in qede_free_mem_sb()
1391 edev->ops->common->sb_release(edev->cdev, sb_info, sb_id, in qede_free_mem_sb()
1393 dma_free_coherent(&edev->pdev->dev, sizeof(*sb_info->sb_virt), in qede_free_mem_sb()
1394 (void *)sb_info->sb_virt, sb_info->sb_phys); in qede_free_mem_sb()
1395 memset(sb_info, 0, sizeof(*sb_info)); in qede_free_mem_sb()
1401 struct qed_sb_info *sb_info, u16 sb_id) in qede_alloc_mem_sb() argument
[all …]
Dqede_fp.c1397 qed_sb_update_sb_idx(fp->sb_info); in qede_poll_is_more_work()
1464 qed_sb_ack(fp->sb_info, IGU_INT_ENABLE, 1); in qede_poll()
1487 qed_sb_ack(fp->sb_info, IGU_INT_DISABLE, 0 /*do not update*/); in qede_msix_fp_int()
Dqede.h469 struct qed_sb_info *sb_info; member
Dqede_ethtool.c1431 qed_sb_ack(edev->fp_array[i].sb_info, IGU_INT_ENABLE, 1); in qede_netif_start()
1444 qed_sb_ack(edev->fp_array[i].sb_info, IGU_INT_DISABLE, 0); in qede_netif_stop()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dmain.c302 struct qed_sb_info *sb_info, u16 sb_id) in qedr_alloc_mem_sb() argument
313 rc = dev->ops->common->sb_init(dev->cdev, sb_info, in qedr_alloc_mem_sb()
327 struct qed_sb_info *sb_info, int sb_id) in qedr_free_mem_sb() argument
329 if (sb_info->sb_virt) { in qedr_free_mem_sb()
330 dev->ops->common->sb_release(dev->cdev, sb_info, sb_id, in qedr_free_mem_sb()
332 dma_free_coherent(&dev->pdev->dev, sizeof(*sb_info->sb_virt), in qedr_free_mem_sb()
333 (void *)sb_info->sb_virt, sb_info->sb_phys); in qedr_free_mem_sb()
/kernel/linux/linux-5.10/drivers/scsi/qedf/
Dqedf_main.c2190 struct qed_sb_info *sb_info = fp->sb_info; in qedf_fp_has_work() local
2191 struct status_block_e4 *sb = sb_info->sb_virt; in qedf_fp_has_work()
2217 struct qed_sb_info *sb_info = fp->sb_info; in qedf_process_completions() local
2218 struct status_block_e4 *sb = sb_info->sb_virt; in qedf_process_completions()
2322 if (!fp->sb_info) { in qedf_msix_handler()
2331 qed_sb_ack(fp->sb_info, IGU_INT_DISABLE, 0 /*do not update*/); in qedf_msix_handler()
2338 qed_sb_update_sb_idx(fp->sb_info); in qedf_msix_handler()
2345 qed_sb_ack(fp->sb_info, IGU_INT_ENABLE, 1); in qedf_msix_handler()
2707 struct qed_sb_info *sb_info, u16 sb_id) in qedf_alloc_and_init_sb() argument
2723 ret = qed_ops->common->sb_init(qedf->cdev, sb_info, sb_virt, sb_phys, in qedf_alloc_and_init_sb()
[all …]
Dqedf.h243 struct qed_sb_info *sb_info; member
/kernel/linux/linux-5.10/fs/ecryptfs/
Dmain.c621 struct ecryptfs_sb_info *sb_info = ecryptfs_superblock_to_private(sb); in ecryptfs_kill_block_super() local
623 if (!sb_info) in ecryptfs_kill_block_super()
625 ecryptfs_destroy_mount_crypt_stat(&sb_info->mount_crypt_stat); in ecryptfs_kill_block_super()
626 kmem_cache_free(ecryptfs_sb_info_cache, sb_info); in ecryptfs_kill_block_super()
Decryptfs_kernel.h481 struct ecryptfs_sb_info *sb_info) in ecryptfs_set_superblock_private() argument
483 sb->s_fs_info = sb_info; in ecryptfs_set_superblock_private()
/kernel/linux/linux-5.10/mm/
Dshmem.c1073 struct shmem_sb_info *sb_info = SHMEM_SB(inode->i_sb); in shmem_getattr() local
1082 if (is_huge_enabled(sb_info)) in shmem_getattr()