Home
last modified time | relevance | path

Searched refs:cache_sz (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/remap_file_pages/
Dremap_file_pages02.c88 size_t cache_sz; variable
207 data01 = mmap(NULL, cache_sz, PROT_READ | PROT_WRITE, in setup01()
229 testcase[test].start = data + cache_sz; in setup02()
242 testcase[test].size = cache_sz + page_sz; in setup03()
284 cache_sz = cache_pages * page_sz; in setup()
285 cache_contents = malloc(cache_sz * sizeof(char)); in setup()
300 if (write(fd, cache_contents, cache_sz) != cache_sz) { in setup()
303 cache_sz, errno, strerror(errno)); in setup()
308 cache_sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in setup()
328 munmap(data, cache_sz); in cleanup()
[all …]
Dremap_file_pages01.c97 size_t cache_sz; variable
159 if (write(fd, cache_contents, cache_sz) != cache_sz) { in test_nonlinear()
162 cache_sz, errno, strerror(errno)); in test_nonlinear()
237 cache_sz = cache_pages * page_sz; in setup()
238 cache_contents = malloc(cache_sz * sizeof(char)); in setup()
/external/selinux/libsemanage/src/
Ddatabase_llist.c58 dbase->cache_sz++; in dbase_llist_cache_prepend()
225 *response = dbase->cache_sz; in dbase_llist_count()
296 dbase->cache_sz--; in dbase_llist_del()
329 dbase->cache_sz = 0; in dbase_llist_clear()
344 tmp_count = dbase->cache_sz; in dbase_llist_list()
Ddatabase_llist.h27 unsigned int cache_sz; member
39 dbase->cache_sz = 0; in dbase_llist_cache_init()