Home
last modified time | relevance | path

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

/lk-master/lib/fs/spifs/
A Dspifs.c79 uint32_t capacity; member
223 result += file->metadata.capacity; in used_space()
651 if (file_entry->capacity == 0) { in spifs_mount()
745 uint32_t capacity; in spifs_create() local
747 capacity = spifs->page_size; in spifs_create()
749 capacity = ROUNDUP(len, spifs->page_size); in spifs_create()
752 uint32_t open_run = find_open_run(spifs, capacity); in spifs_create()
767 file->metadata.capacity = capacity; in spifs_create()
773 (ssize_t)capacity) { in spifs_create()
918 if (off + len > file->metadata.capacity) { in spifs_write()
[all …]
/lk-master/dev/virtio/block/
A Dvirtio-block.c29 uint64_t capacity; member
122 LTRACEF("capacity 0x%llx\n", config->capacity); in virtio_block_init()
146 config->blk_size, config->capacity, in virtio_block_init()
155 printf("found virtio block device of size %lld\n", config->capacity * config->blk_size); in virtio_block_init()
/lk-master/external/lib/heap/dlmalloc/include/lib/
A Ddlmalloc.h546 mspace create_mspace(size_t capacity, int locked);
565 mspace create_mspace_with_base(void* base, size_t capacity, int locked);
/lk-master/lib/fs/include/lib/
A Dfs.h29 uint64_t capacity; member
/lk-master/external/lib/heap/dlmalloc/
A Ddlmalloc.c1311 DLMALLOC_EXPORT mspace create_mspace(size_t capacity, int locked);
1330 DLMALLOC_EXPORT mspace create_mspace_with_base(void* base, size_t capacity, int locked);
5475 mspace create_mspace(size_t capacity, int locked) { in create_mspace() argument
5480 if (capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace()
5481 size_t rs = ((capacity == 0)? mparams.granularity : in create_mspace()
5482 (capacity + TOP_FOOT_SIZE + msize)); in create_mspace()
5494 mspace create_mspace_with_base(void* base, size_t capacity, int locked) { in create_mspace_with_base() argument
5499 if (capacity > msize + TOP_FOOT_SIZE && in create_mspace_with_base()
5500 capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) { in create_mspace_with_base()
5501 m = init_user_mstate((char*)base, capacity); in create_mspace_with_base()
/lk-master/lib/fs/spifs/test/
A Dspifstest.c385 status = fs_write_file(handle, buf, stat.capacity, 1); in test_write_past_end_of_capacity()

Completed in 25 milliseconds