Home
last modified time | relevance | path

Searched refs:pg_sz (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise06.c43 #define CHUNK_PAGES (CHUNK_SZ / pg_sz)
50 static int pg_sz; variable
62 pg_sz = getpagesize(); in setup()
110 long pages = size / pg_sz; in dirty_pages()
113 ptr[i * pg_sz] = 'x'; in dirty_pages()
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux_nvme.c391 uint32_t pg_sz = sg_get_page_size(); in sntl_cache_identity() local
394 up = sg_memalign(pg_sz, pg_sz, &ptp->free_nvme_id_ctlp, vb > 3); in sntl_cache_identity()
404 cmd.data_len = pg_sz; in sntl_cache_identity()
419 uint32_t pg_sz = sg_get_page_size(); in sntl_inq() local
465 nvme_id_ns = sg_memalign(pg_sz, pg_sz, &free_nvme_id_ns, in sntl_inq()
475 cmd.data_len = pg_sz; in sntl_inq()
723 uint32_t pg_sz = sg_get_page_size(); in sntl_senddiag() local
799 if (! is_aligned(dop, pg_sz)) { /* caller best use sg_memalign(,pg_sz) */ in sntl_senddiag()
844 uint32_t pg_sz = sg_get_page_size(); in sntl_recvdiag() local
858 if (! is_aligned(dip, pg_sz)) { /* caller best use sg_memalign(,pg_sz) */ in sntl_recvdiag()
[all …]
Dsg_lib.c1830 uint32_t pg_sz = sg_get_page_size(); in sg_print_sense() local
1834 cp = (char *)sg_memalign(pg_sz, pg_sz, &free_cp, 0); in sg_print_sense()
1837 sg_get_sense_str(leadin, sbp, sb_len, raw_sinfo, pg_sz, cp); in sg_print_sense()