Searched refs:pg_sz (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise06.c | 31 #define CHUNK_PAGES (CHUNK_SZ / pg_sz) 38 static int pg_sz; variable 50 pg_sz = getpagesize(); in setup() 97 long pages = size / pg_sz; in dirty_pages() 100 ptr[i * pg_sz] = 'x'; in dirty_pages()
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_pt_linux_nvme.c | 391 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 …]
|
D | sg_lib.c | 1830 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()
|