Searched refs:pg_sz (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise06.c | 62 static int pg_sz, stat_refresh_sup; variable 105 pg_sz = getpagesize(); in setup() 149 CHUNK_SZ / 1024, CHUNK_SZ / pg_sz, MEM_LIMIT / 1024, PASS_THRESHOLD_KB); in setup() 160 long pages = size / pg_sz; in dirty_pages() 163 ptr[i * pg_sz] = 'x'; in dirty_pages()
|
/third_party/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()
|