Searched refs:pg_size (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | ldc_shm.c | 357 uint64_t pg_shift, pg_size, pg_size_code, pg_mask; in i_ldc_mem_bind_handle() local 456 pg_size = MMU_PAGESIZE; in i_ldc_mem_bind_handle() 457 pg_size_code = page_szc(pg_size); in i_ldc_mem_bind_handle() 459 pg_mask = ~(pg_size - 1); in i_ldc_mem_bind_handle() 463 ldcp->id, vaddr, pg_size, pg_size_code, pg_shift); in i_ldc_mem_bind_handle() 466 v_align = (caddr_t)(((uintptr_t)vaddr) & ~(pg_size - 1)); in i_ldc_mem_bind_handle() 467 v_offset = ((uintptr_t)vaddr) & (pg_size - 1); in i_ldc_mem_bind_handle() 469 npages = (len+v_offset)/pg_size; in i_ldc_mem_bind_handle() 470 npages = ((len+v_offset)%pg_size == 0) ? npages : npages+1; in i_ldc_mem_bind_handle() 585 psize = min((pg_size - v_offset), len); in i_ldc_mem_bind_handle() [all …]
|
/titanic_50/usr/src/cmd/sendmail/db/include/ |
H A D | db_page.h | 202 #define P_INIT(pg, pg_size, n, pg_prev, pg_next, btl, pg_type) do { \ argument 207 HOFFSET(pg) = pg_size; \
|
/titanic_50/usr/src/uts/common/io/chxge/com/ |
H A D | tp.c | 45 static inline u32 pm_num_pages(u32 size, u32 pg_size) in pm_num_pages() argument 47 u32 num = size / pg_size; in pm_num_pages()
|