Home
last modified time | relevance | path

Searched refs:prog_size (Results 1 – 8 of 8) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/bpf/
Dbpf_common.c52 size_t prog_size, char *log_buf, size_t log_size) in bpf_init_prog_attr() argument
56 size_t prog_len = prog_size / sizeof(*prog); in bpf_init_prog_attr()
59 if (!buf || prog_size > buf_size) { in bpf_init_prog_attr()
60 buf = tst_alloc(prog_size); in bpf_init_prog_attr()
61 buf_size = prog_size; in bpf_init_prog_attr()
64 memcpy(buf, prog, prog_size); in bpf_init_prog_attr()
Dbpf_common.h14 size_t prog_size, char *log_buf, size_t log_size);
/third_party/littlefs/bd/
Dlfs_rambd.c19 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_rambd_createcfg()
53 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count); in lfs_rambd_create()
98 LFS_ASSERT(off % cfg->prog_size == 0); in lfs_rambd_prog()
99 LFS_ASSERT(size % cfg->prog_size == 0); in lfs_rambd_prog()
Dlfs_filebd.c24 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_filebd_createcfg()
50 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_filebd_create()
115 LFS_ASSERT(off % cfg->prog_size == 0); in lfs_filebd_prog()
116 LFS_ASSERT(size % cfg->prog_size == 0); in lfs_filebd_prog()
Dlfs_testbd.c26 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_testbd_createcfg()
79 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_testbd_create()
179 LFS_ASSERT(off % cfg->prog_size == 0); in lfs_testbd_prog()
180 LFS_ASSERT(size % cfg->prog_size == 0); in lfs_testbd_prog()
/third_party/littlefs/
Dlfs.h199 lfs_size_t prog_size; member
Dlfs.c149 lfs_size_t diff = lfs_alignup(pcache->size, lfs->cfg->prog_size); in lfs_bd_flush()
235 pcache->off = lfs_aligndown(off, lfs->cfg->prog_size); in lfs_bd_prog()
912 dir->off % lfs->cfg->prog_size == 0); in lfs_dir_fetchmatch()
1345 lfs->cfg->prog_size); in lfs_dir_commitcrc()
1597 lfs->cfg->prog_size))) { in lfs_dir_compact()
1773 LFS_ASSERT(commit.off % lfs->cfg->prog_size == 0); in lfs_dir_compact()
1949 LFS_ASSERT(commit.off % lfs->cfg->prog_size == 0); in lfs_dir_commit()
3490 LFS_ASSERT(lfs->cfg->prog_size != 0);
3496 LFS_ASSERT(lfs->cfg->cache_size % lfs->cfg->prog_size == 0);
4934 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count,
[all …]
DREADME.md51 .prog_size = 16,