Searched refs:maxphys (Results 1 – 17 of 17) sorted by relevance
| /f-stack/freebsd/kern/ |
| H A D | subr_param.c | 107 u_long maxphys; /* max raw I/O transfer size */ variable 299 maxphys = MAXPHYS; in init_param2() 300 TUNABLE_ULONG_FETCH("kern.maxphys", &maxphys); in init_param2() 301 if (maxphys == 0) { in init_param2() 302 maxphys = MAXPHYS; in init_param2() 303 } else if (__bitcountl(maxphys) != 1) { /* power of two */ in init_param2() 304 if (flsl(maxphys) == NBBY * sizeof(maxphys)) in init_param2() 305 maxphys = MAXPHYS; in init_param2() 307 maxphys = 1UL << flsl(maxphys); in init_param2() 309 if (maxphys < PAGE_SIZE) in init_param2() [all …]
|
| H A D | kern_physio.c | 75 (uio->uio_resid > dev->si_iosize_max || uio->uio_resid > maxphys || in physio() 84 if (uio->uio_resid > maxphys) in physio() 87 uio->uio_resid, maxphys); in physio() 107 maxpages = btoc(MIN(uio->uio_resid, maxphys)) + 1; in physio() 151 if (bp->bio_length > maxphys) in physio() 152 bp->bio_length = maxphys; in physio()
|
| H A D | kern_mib.c | 156 lvalue = maxphys; in sysctl_maxphys() 164 SYSCTL_PROC(_kern, KERN_MAXPHYS, maxphys, CTLTYPE_LONG | CTLFLAG_RDTUN | 168 SYSCTL_ULONG(_kern, KERN_MAXPHYS, maxphys, 170 &maxphys, 0, "Maximum block I/O access size");
|
| H A D | vfs_bio.c | 1003 if (maxbcachebuf > maxphys) in maxbcachebuf_adjust() 1004 maxbcachebuf = maxphys; in maxbcachebuf_adjust() 1122 if (biotmap_sz / INT_MAX > maxphys) in kern_vfs_bio_buffer_alloc() 1125 bio_transient_maxcnt = biotmap_sz / maxphys; in kern_vfs_bio_buffer_alloc() 1167 unmapped_buf = (caddr_t)kva_alloc(maxphys); in bufinit() 1306 maxphys, ("b_data + b_offset unmapped %p", bp)); in vfs_buf_check_mapped() 3200 maxcl = maxphys / size; in vfs_bio_awrite()
|
| H A D | vfs_default.c | 979 if (iosize > maxphys) in vop_stdallocate() 980 iosize = maxphys; in vop_stdallocate()
|
| H A D | vfs_aio.c | 1247 if (job->uiop->uio_iov[i].iov_len > maxphys) { in aio_qbio() 1323 atop(maxphys) + 1); in aio_qbio() 2438 MPASS(pbuf->b_npages <= atop(maxphys) + 1); in aio_biocleanup() 2448 MPASS(bp->bio_ma_n <= atop(maxphys) + 1); in aio_biocleanup()
|
| H A D | kern_sendfile.c | 927 rhpages = min(howmany(maxphys, PAGE_SIZE), rhpages); in vn_sendfile()
|
| /f-stack/freebsd/vm/ |
| H A D | vm_init.c | 215 size = (long)nbuf * BKVASIZE + (long)bio_transient_maxcnt * maxphys; in vm_ksubmap_init() 236 size = (long)bio_transient_maxcnt * maxphys; in vm_ksubmap_init()
|
| H A D | vnode_pager.c | 820 KASSERT(count <= atop(maxphys), in vnode_pager_generic_getpages() 920 if (rbehind + rahead + count > atop(maxphys)) { in vnode_pager_generic_getpages() 923 trim = rbehind + rahead + count - atop(maxphys) + 1; in vnode_pager_generic_getpages() 934 KASSERT(rbehind + rahead + count <= atop(maxphys), in vnode_pager_generic_getpages() 936 rbehind, rahead, count, maxphys)); in vnode_pager_generic_getpages() 1018 KASSERT(bp->b_npages <= atop(maxphys), in vnode_pager_generic_getpages()
|
| H A D | vm_pager.h | 119 #define PBUF_PAGES (atop(maxphys) + 1)
|
| H A D | vm_map.h | 400 #define VM_FAULT_READ_AHEAD_MAX min(atop(maxphys) - 1, UINT8_MAX)
|
| H A D | swap_pager.c | 604 nsw_cluster_max = min(maxphys / PAGE_SIZE, MAX_PAGEOUT_CLUSTER); in swap_pager_swap_init()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_geom.c | 382 maxio = maxphys - (maxphys % cp->provider->sectorsize); in vdev_geom_io()
|
| H A D | zvol_os.c | 1229 dev->si_iosize_max = maxphys; in zvol_rename_minor() 1370 dev->si_iosize_max = maxphys; in zvol_create_minor_impl()
|
| /f-stack/freebsd/sys/ |
| H A D | systm.h | 77 extern u_long maxphys; /* max raw I/O transfer size */
|
| /f-stack/freebsd/mips/ingenic/ |
| H A D | jz4780_mmc.c | 61 #define JZ_MSC_DMA_MAX_SIZE maxphys
|
| /f-stack/freebsd/net/ |
| H A D | if.c | 3210 max_len = maxphys - 1; in ifconf()
|