Lines Matching refs:cow

143     int cow);
1614 vm_offset_t start, vm_offset_t end, vm_prot_t prot, vm_prot_t max, int cow, in vm_map_insert1() argument
1626 (cow & MAP_COPY_ON_WRITE) == 0, in vm_map_insert1()
1628 KASSERT(object == NULL || (cow & MAP_NOFAULT) == 0 || in vm_map_insert1()
1629 (cow & MAP_SPLIT_BOUNDARY_MASK) != 0, in vm_map_insert1()
1631 object, cow)); in vm_map_insert1()
1659 if ((cow & MAP_CREATE_GUARD) != 0 && (object != NULL || in vm_map_insert1()
1664 if (cow & MAP_COPY_ON_WRITE) in vm_map_insert1()
1666 if (cow & MAP_NOFAULT) in vm_map_insert1()
1668 if (cow & MAP_DISABLE_SYNCER) in vm_map_insert1()
1670 if (cow & MAP_DISABLE_COREDUMP) in vm_map_insert1()
1672 if (cow & MAP_STACK_AREA) in vm_map_insert1()
1674 if (cow & MAP_WRITECOUNT) in vm_map_insert1()
1676 if (cow & MAP_VN_EXEC) in vm_map_insert1()
1678 if ((cow & MAP_CREATE_GUARD) != 0) in vm_map_insert1()
1680 if ((cow & MAP_CREATE_STACK_GAP) != 0) in vm_map_insert1()
1682 if (cow & MAP_INHERIT_SHARE) in vm_map_insert1()
1686 if ((cow & MAP_SPLIT_BOUNDARY_MASK) != 0) { in vm_map_insert1()
1688 bidx = (cow & MAP_SPLIT_BOUNDARY_MASK) >> in vm_map_insert1()
1699 if ((cow & (MAP_ACC_NO_CHARGE | MAP_NOFAULT | MAP_CREATE_GUARD)) != 0) in vm_map_insert1()
1701 if ((cow & MAP_ACC_CHARGED) || ((prot & VM_PROT_WRITE) && in vm_map_insert1()
1703 if (!(cow & MAP_ACC_CHARGED) && !swap_reserve(end - start)) in vm_map_insert1()
1737 (cow & (MAP_STACK_AREA | MAP_VN_EXEC)) == 0 && in vm_map_insert1()
1826 if ((cow & (MAP_PREFAULT | MAP_PREFAULT_PARTIAL)) != 0) { in vm_map_insert1()
1828 end - start, cow & MAP_PREFAULT_PARTIAL); in vm_map_insert1()
1847 vm_offset_t start, vm_offset_t end, vm_prot_t prot, vm_prot_t max, int cow) in vm_map_insert() argument
1852 cow, &res)); in vm_map_insert()
1967 vm_prot_t max, int cow) in vm_map_fixed() argument
1973 KASSERT((cow & MAP_STACK_AREA) == 0 || object == NULL, in vm_map_fixed()
1977 if ((cow & MAP_CHECK_EXCL) == 0) { in vm_map_fixed()
1982 if ((cow & MAP_STACK_AREA) != 0) { in vm_map_fixed()
1984 prot, max, cow); in vm_map_fixed()
1987 prot, max, cow); in vm_map_fixed()
2010 clustering_anon_allowed(vm_offset_t addr, int cow) in clustering_anon_allowed() argument
2017 return (addr == 0 || (cow & MAP_NO_HINT) != 0); in clustering_anon_allowed()
2120 vm_prot_t prot, vm_prot_t max, int cow) in vm_map_find() argument
2126 find_space, prot, max, cow); in vm_map_find()
2135 vm_prot_t prot, vm_prot_t max, int cow) in vm_map_find_locked() argument
2141 KASSERT((cow & MAP_STACK_AREA) == 0 || object == NULL, in vm_map_find_locked()
2143 MPASS((cow & MAP_REMAP) == 0 || (find_space == VMFS_NO_SPACE && in vm_map_find_locked()
2144 (cow & MAP_STACK_AREA) == 0)); in vm_map_find_locked()
2154 update_anon = cluster = clustering_anon_allowed(*addr, cow) && in vm_map_find_locked()
2157 (cow & (MAP_INHERIT_SHARE | MAP_STACK_AREA)) == 0 && in vm_map_find_locked()
2265 } else if ((cow & MAP_REMAP) != 0) { in vm_map_find_locked()
2272 if ((cow & MAP_STACK_AREA) != 0) { in vm_map_find_locked()
2274 max, cow); in vm_map_find_locked()
2277 prot, max, cow); in vm_map_find_locked()
2307 int cow) in vm_map_find_min() argument
2314 cow |= MAP_NO_HINT; in vm_map_find_min()
2319 find_space, prot, max, cow); in vm_map_find_min()
4566 vm_prot_t prot, vm_prot_t max, int cow) in vm_map_stack() argument
4583 max, cow); in vm_map_stack()
4596 vm_size_t growsize, vm_prot_t prot, vm_prot_t max, int cow) in vm_map_stack_locked() argument
4603 KASSERT((cow & MAP_STACK_AREA) != 0, in vm_map_stack_locked()
4641 rv = vm_map_insert1(map, NULL, 0, bot, top, prot, max, cow, in vm_map_stack_locked()