Searched defs:page_sz (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h92 uint32_t page_sz; /* page size for mmap alignment */ member in struct:db_hdr
296 static int init_hdr(struct di_devlink_handle *hdp, long page_sz,
298 static size_t size_db(struct di_devlink_handle *hdp, long page_sz,
H A Ddevinfo_devlink.c226 long page_sz; local
241 if ((page_sz = sysconf(_SC_PAGE_SIZE)) == -1) {
275 sz = size_db(hdp, page_sz, count);
296 rv = invalid_db(hdp, sz, page_sz);
298 rv = init_hdr(hdp, page_sz, count);
490 invalid_db(struct di_devlink_handle *hdp, size_t fsize, long page_sz) argument
500 if (DB_HDR(hdp)->page_sz == 0 || DB_HDR(hdp)->page_sz != page_sz) {
512 assert(sz % page_sz
780 init_hdr(struct di_devlink_handle *hdp, long page_sz, uint32_t *count) argument
2953 size_db(struct di_devlink_handle *hdp, long page_sz, uint32_t *count) argument
[all...]

Completed in 19 milliseconds