Home
last modified time | relevance | path

Searched refs:budget_map (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/scsi/
Dscsi_scan.c221 bool need_alloc = !sdev->budget_map.map; in scsi_realloc_sdev_budget_map()
232 if (!need_alloc && new_shift != sdev->budget_map.shift) in scsi_realloc_sdev_budget_map()
244 sb_backup = sdev->budget_map; in scsi_realloc_sdev_budget_map()
246 ret = sbitmap_init_node(&sdev->budget_map, in scsi_realloc_sdev_budget_map()
251 sbitmap_resize(&sdev->budget_map, depth); in scsi_realloc_sdev_budget_map()
255 sdev->budget_map = sb_backup; in scsi_realloc_sdev_budget_map()
1087 WARN_ON_ONCE(sdev->max_queue_depth > sdev->budget_map.depth); in scsi_add_lun()
Dscsi_lib.c301 sbitmap_put(&sdev->budget_map, cmd->budget_token); in scsi_device_unbusy()
1257 token = sbitmap_get(&sdev->budget_map); in scsi_dev_queue_ready()
1277 sbitmap_put(&sdev->budget_map, token); in scsi_dev_queue_ready()
1656 sbitmap_put(&sdev->budget_map, budget_token); in scsi_mq_put_budget()
Dscsi.c229 sbitmap_resize(&sdev->budget_map, sdev->queue_depth); in scsi_change_queue_depth()
Dscsi_sysfs.c483 sbitmap_free(&sdev->budget_map); in scsi_device_dev_release_usercontext()
/linux-6.1.9/include/scsi/
Dscsi_device.h115 struct sbitmap budget_map; member
612 return sbitmap_weight(&sdev->budget_map); in scsi_device_busy()
/linux-6.1.9/drivers/ufs/core/
Dufshcd.c1116 pending += sbitmap_weight(&sdev->budget_map); in ufshcd_pending_cmds()