OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BDRV_SECTOR_SIZE
(Results
1 - 4
of
4
) sorted by null
/external/qemu/block/
raw-posix.c
390
ret = raw_pread(bs, sector_num *
BDRV_SECTOR_SIZE
, buf,
391
nb_sectors *
BDRV_SECTOR_SIZE
);
392
if (ret == (nb_sectors *
BDRV_SECTOR_SIZE
))
479
ret = raw_pwrite(bs, sector_num *
BDRV_SECTOR_SIZE
, buf,
480
nb_sectors *
BDRV_SECTOR_SIZE
);
481
if (ret == (nb_sectors *
BDRV_SECTOR_SIZE
))
494
if ((uintptr_t) qiov->iov[i].iov_base %
BDRV_SECTOR_SIZE
) {
703
total_size = options->value.n /
BDRV_SECTOR_SIZE
;
713
if (ftruncate(fd, total_size *
BDRV_SECTOR_SIZE
) != 0) {
976
total_size = options->value.n /
BDRV_SECTOR_SIZE
;
[
all
...]
vpc.c
390
memset(buf, 0, sectors *
BDRV_SECTOR_SIZE
);
393
sectors *
BDRV_SECTOR_SIZE
);
394
if (ret != sectors *
BDRV_SECTOR_SIZE
) {
401
buf += sectors *
BDRV_SECTOR_SIZE
;
429
ret = bdrv_pwrite(bs->file, offset, buf, sectors *
BDRV_SECTOR_SIZE
);
430
if (ret != sectors *
BDRV_SECTOR_SIZE
) {
436
buf += sectors *
BDRV_SECTOR_SIZE
;
/external/qemu/
block.c
794
buf = qemu_malloc(COMMIT_BUF_SECTORS *
BDRV_SECTOR_SIZE
);
899
return bdrv_check_byte_request(bs, sector_num *
BDRV_SECTOR_SIZE
,
900
nb_sectors *
BDRV_SECTOR_SIZE
);
976
uint8_t tmp_buf[
BDRV_SECTOR_SIZE
];
983
len = (
BDRV_SECTOR_SIZE
- offset) & (
BDRV_SECTOR_SIZE
- 1);
990
memcpy(buf, tmp_buf + (offset & (
BDRV_SECTOR_SIZE
- 1)), len);
1021
uint8_t tmp_buf[
BDRV_SECTOR_SIZE
];
1028
len = (
BDRV_SECTOR_SIZE
- offset) & (
BDRV_SECTOR_SIZE
- 1)
[
all
...]
block.h
41
#define
BDRV_SECTOR_SIZE
(1ULL << BDRV_SECTOR_BITS)
42
#define BDRV_SECTOR_MASK ~(
BDRV_SECTOR_SIZE
- 1)
Completed in 50 milliseconds