Home
last modified time | relevance | path

Searched refs:bdi (Results 1 – 10 of 10) sorted by relevance

/external/kernel-headers/original/linux/
Dbacking-dev.h62 void default_unplug_io_fn(struct backing_dev_info *bdi, struct page *page);
64 int writeback_acquire(struct backing_dev_info *bdi);
65 int writeback_in_progress(struct backing_dev_info *bdi);
66 void writeback_release(struct backing_dev_info *bdi);
68 static inline int bdi_congested(struct backing_dev_info *bdi, int bdi_bits) in bdi_congested() argument
70 if (bdi->congested_fn) in bdi_congested()
71 return bdi->congested_fn(bdi->congested_data, bdi_bits); in bdi_congested()
72 return (bdi->state & bdi_bits); in bdi_congested()
75 static inline int bdi_read_congested(struct backing_dev_info *bdi) in bdi_read_congested() argument
77 return bdi_congested(bdi, 1 << BDI_read_congested); in bdi_read_congested()
[all …]
Dblkdev.h630 static inline void blk_run_backing_dev(struct backing_dev_info *bdi, in blk_run_backing_dev() argument
633 if (bdi && bdi->unplug_io_fn) in blk_run_backing_dev()
634 bdi->unplug_io_fn(bdi, page); in blk_run_backing_dev()
/external/qemu/
Dsavevm.c1246 BlockDriverInfo bdi1, *bdi = &bdi1; in do_savevm() local
1296 if (bdrv_get_info(bs, bdi) < 0 || bdi->vm_state_offset <= 0) { in do_savevm()
1347 BlockDriverInfo bdi1, *bdi = &bdi1; in do_loadvm() local
1395 if (bdrv_get_info(bs, bdi) < 0 || bdi->vm_state_offset <= 0) { in do_loadvm()
Dblock_int.h96 int (*bdrv_get_info)(BlockDriverState *bs, BlockDriverInfo *bdi);
Dqemu-io.c1368 BlockDriverInfo bdi; in info_f() local
1377 ret = bdrv_get_info(bs, &bdi); in info_f()
1381 cvtstr(bdi.cluster_size, s1, sizeof(s1)); in info_f()
1382 cvtstr(bdi.vm_state_offset, s2, sizeof(s2)); in info_f()
Dblock.h199 int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi);
Dblock.c1744 int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) in bdrv_get_info() argument
1751 memset(bdi, 0, sizeof(*bdi)); in bdrv_get_info()
1752 return drv->bdrv_get_info(bs, bdi); in bdrv_get_info()
/external/qemu/block/
Dqcow2.c1233 static int qcow_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) in qcow_get_info() argument
1236 bdi->cluster_size = s->cluster_size; in qcow_get_info()
1237 bdi->vm_state_offset = qcow_vm_state_offset(s); in qcow_get_info()
Dqcow.c924 static int qcow_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) in qcow_get_info() argument
927 bdi->cluster_size = s->cluster_size; in qcow_get_info()
/external/clang/include/clang/Basic/
DBuiltinsHexagon.def649 BUILTIN(__builtin_HEXAGON_F2_dfclass,"bdi","")