Home
last modified time | relevance | path

Searched refs:last_dev (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/chelsio/
Dchcr_core.c85 u_ctx = drv_data.last_dev; in assign_chcr_device()
86 if (list_is_last(&drv_data.last_dev->entry, &drv_data.act_dev)) in assign_chcr_device()
87 drv_data.last_dev = list_first_entry(&drv_data.act_dev, in assign_chcr_device()
90 drv_data.last_dev = in assign_chcr_device()
91 list_next_entry(drv_data.last_dev, entry); in assign_chcr_device()
106 if (!drv_data.last_dev) in chcr_dev_add()
107 drv_data.last_dev = u_ctx; in chcr_dev_add()
131 if (drv_data.last_dev == u_ctx) { in chcr_dev_move()
132 if (list_is_last(&drv_data.last_dev->entry, &drv_data.act_dev)) in chcr_dev_move()
133 drv_data.last_dev = list_first_entry(&drv_data.act_dev, in chcr_dev_move()
[all …]
Dchcr_core.h81 struct uld_ctx *last_dev; member
/kernel/linux/linux-5.10/kernel/power/
Dmain.c398 int i, index, last_dev, last_errno, last_step; in suspend_stats_show() local
400 last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1; in suspend_stats_show()
401 last_dev %= REC_FAILED_NUM; in suspend_stats_show()
423 suspend_stats.failed_devs[last_dev]); in suspend_stats_show()
425 index = last_dev + REC_FAILED_NUM - i; in suspend_stats_show()
/kernel/linux/linux-5.10/fs/f2fs/
Dgc.c1932 int last_dev = sbi->s_ndevs - 1; in update_sb_metadata() local
1934 le32_to_cpu(raw_sb->devs[last_dev].total_segments); in update_sb_metadata()
1936 raw_sb->devs[last_dev].total_segments = in update_sb_metadata()
1958 int last_dev = sbi->s_ndevs - 1; in update_fs_metadata() local
1960 FDEV(last_dev).total_segments = in update_fs_metadata()
1961 (int)FDEV(last_dev).total_segments + segs; in update_fs_metadata()
1962 FDEV(last_dev).end_blk = in update_fs_metadata()
1963 (long long)FDEV(last_dev).end_blk + blks; in update_fs_metadata()
1965 FDEV(last_dev).nr_blkz = (int)FDEV(last_dev).nr_blkz + in update_fs_metadata()
1984 int last_dev = sbi->s_ndevs - 1; in f2fs_resize_fs() local
[all …]
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch960 + int error, last_dev;
968 + last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1;
969 + last_dev %= REC_FAILED_NUM;
972 + suspend_stats.failed_devs[last_dev]);
980 + last_dev = suspend_stats.last_failed_dev + REC_FAILED_NUM - 1;
981 + last_dev %= REC_FAILED_NUM;
984 + suspend_stats.failed_devs[last_dev]);
/kernel/linux/linux-5.10/fs/nfsd/
Dvfs.c955 static dev_t last_dev; in wait_for_concurrent_writes() local
959 || (last_ino == inode->i_ino && last_dev == inode->i_sb->s_dev)) { in wait_for_concurrent_writes()
970 last_dev = inode->i_sb->s_dev; in wait_for_concurrent_writes()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_init.c5848 int first_dev, last_dev; in qla2x00_find_all_fabric_devs() local
5904 last_dev = 0; in qla2x00_find_all_fabric_devs()
5922 if (last_dev) { in qla2x00_find_all_fabric_devs()
5944 last_dev = 1; in qla2x00_find_all_fabric_devs()