Home
last modified time | relevance | path

Searched defs:bd (Results 1 – 2 of 2) sorted by relevance

/system/dev/bus/virtio/
A Dblock.cpp48 BlockDevice* bd = static_cast<BlockDevice*>(ctx); in virtio_block_get_size() local
66 BlockDevice* bd = static_cast<BlockDevice*>(ctx); in virtio_block_query() local
73 BlockDevice* bd = static_cast<BlockDevice*>(ctx); in virtio_block_queue() local
86 BlockDevice* bd = static_cast<BlockDevice*>(ctx); in virtio_block_ioctl() local
103 BlockDevice* bd = static_cast<BlockDevice*>(ctx); in virtio_block_unbind() local
108 fbl::unique_ptr<BlockDevice> bd(static_cast<BlockDevice*>(ctx)); in virtio_block_release() local
176 auto bd = static_cast<BlockDevice*>(ctx); in Init() local
/system/ulib/ftl/ftln/
A Dftlnp.h93 #define SET_MAP_BLK(bd) (bd = MAP_BLK_STATE) argument
95 #define NUM_USED(bd) (((bd)&USED_MASK) >> 20) argument
96 #define DEC_USED(bd) ((bd) -= (1 << 20)) argument
97 #define INC_USED(bd) ((bd) += (1 << 20)) argument
98 #define GET_RC(bd) ((bd)&RC_MASK) argument
99 #define SET_RC(bd, n) ((bd) = ((bd) & ~RC_MASK) | n) argument

Completed in 9 milliseconds