/freebsd/sys/kern/ |
H A D | subr_rman.c | 437 rman_res_t rstart, rend, amask; in rman_reserve_resource() local 497 rstart = ummax(s->r_start, start); in rman_reserve_resource() 504 rstart = (rstart + amask) & ~amask; in rman_reserve_resource() 505 } while ((rstart & amask) != 0 && rstart < end && in rman_reserve_resource() 506 rstart < s->r_end); in rman_reserve_resource() 507 rend = ummin(s->r_end, ummax(rstart + count - 1, end)); in rman_reserve_resource() 508 if (rstart > rend) { in rman_reserve_resource() 513 rstart, rend, (rend - rstart + 1), count); in rman_reserve_resource() 515 if ((rend - rstart) >= (count - 1)) { in rman_reserve_resource() 517 rstart, rend, (rend - rstart + 1)); in rman_reserve_resource() [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_timer.c | 119 rman_res_t rlen, rstart; in acpi_timer_identify() local 147 rstart = AcpiGbl_FADT.XPmTimerBlock.Address; in acpi_timer_identify() 148 if (bus_set_resource(dev, rtype, rid, rstart, rlen)) in acpi_timer_identify() 150 (rtype == SYS_RES_IOPORT) ? "port" : "mem", rstart, rlen); in acpi_timer_identify()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | space_map.c | 550 space_map_write_seg(space_map_t *sm, uint64_t rstart, uint64_t rend, in space_map_write_seg() argument 576 uint64_t size = (rend - rstart) >> sm->sm_shift; in space_map_write_seg() 577 uint64_t start = (rstart - sm->sm_start) >> sm->sm_shift; in space_map_write_seg() 580 ASSERT3U(rstart, >=, sm->sm_start); in space_map_write_seg() 581 ASSERT3U(rstart, <, sm->sm_start + sm->sm_size); in space_map_write_seg() 582 ASSERT3U(rend - rstart, <=, sm->sm_size); in space_map_write_seg()
|
H A D | range_tree.c | 324 uint64_t rstart = rs_get_start(rs, rt); in range_tree_add_impl() local 326 if (rstart <= start && rend >= end) { in range_tree_add_impl() 335 rt->rt_space -= rend - rstart; in range_tree_add_impl() 338 start = MIN(start, rstart); in range_tree_add_impl()
|
H A D | metaslab.c | 1575 uint64_t rstart = rs_get_start(rs, msp->ms_unflushed_frees); in metaslab_largest_unflushed_free() local 1576 uint64_t rsize = rs_get_end(rs, msp->ms_unflushed_frees) - rstart; in metaslab_largest_unflushed_free() 1580 boolean_t found = range_tree_find_in(msp->ms_defer[t], rstart, in metaslab_largest_unflushed_free() 1583 if (rstart == start) in metaslab_largest_unflushed_free() 1585 rsize = start - rstart; in metaslab_largest_unflushed_free() 1591 boolean_t found = range_tree_find_in(msp->ms_freed, rstart, in metaslab_largest_unflushed_free() 1594 rsize = start - rstart; in metaslab_largest_unflushed_free()
|
H A D | dsl_scan.c | 3318 uint64_t rstart = rs_get_start(rs, queue->q_exts_by_addr); in scan_io_queue_gather() local 3320 range_tree_remove(queue->q_exts_by_addr, rstart, rend - rstart); in scan_io_queue_gather()
|
/freebsd/sys/arm/arm/ |
H A D | bus_space_generic.c | 83 generic_bs_alloc(bus_space_tag_t t, bus_addr_t rstart, bus_addr_t rend, bus_size_t size, in generic_bs_alloc() argument
|
/freebsd/crypto/openssl/util/ |
H A D | check-format-commit.sh | 150 awk -v rstart=$RSTART -v rend=$REND -F':' '
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_data_sprom_subr.c | 1125 uint8_t rstart, rend; in bhnd_sprom_opcode_step() local 1130 rstart = (range & SPROM_OP_REV_START_MASK) >> in bhnd_sprom_opcode_step() 1136 error = bhnd_sprom_opcode_set_revs(state, rstart, rend); in bhnd_sprom_opcode_step()
|
/freebsd/stand/fdt/ |
H A D | fdt_loader_cmd.c | 750 uint64_t rstart, rsize; in fdt_fixup_memory() local 808 if (fdt_get_mem_rsv(fdtp, i, &rstart, &rsize)) in fdt_fixup_memory() 814 cpu_to_fdt64(rstart); in fdt_fixup_memory() 817 cpu_to_fdt32(rstart); in fdt_fixup_memory()
|
/freebsd/usr.sbin/pciconf/ |
H A D | pciconf.c | 1022 long rstart; in readit() local 1034 rend = rstart = strtol(reg, &end, 0); in readit() 1040 for (i = 1, r = rstart; r <= rend; i++, r += width) { in readit()
|
/freebsd/sys/geom/mirror/ |
H A D | g_mirror.c | 1233 off_t rstart, rend, sstart, send; in g_mirror_sync_collision() local 1238 rstart = bp->bio_offset; in g_mirror_sync_collision() 1249 if (rend > sstart && rstart < send) in g_mirror_sync_collision() 1263 off_t rstart, rend, sstart, send; in g_mirror_regular_collision() local 1271 rstart = bp->bio_offset; in g_mirror_regular_collision() 1273 if (rend > sstart && rstart < send) in g_mirror_regular_collision()
|
/freebsd/sys/geom/raid3/ |
H A D | g_raid3.c | 1500 off_t rstart, rend, sstart, send; in g_raid3_sync_collision() local 1506 rstart = bp->bio_offset; in g_raid3_sync_collision() 1519 if (rend > sstart && rstart < send) in g_raid3_sync_collision() 1532 off_t rstart, rend, sstart, send; in g_raid3_regular_collision() local 1540 rstart = bp->bio_offset; in g_raid3_regular_collision() 1542 if (rend > sstart && rstart < send) in g_raid3_regular_collision()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | bus_machdep.c | 161 bs_gen_alloc(bus_addr_t rstart __unused, bus_addr_t rend __unused, in bs_gen_alloc()
|
/freebsd/sys/x86/include/ |
H A D | bus.h | 173 int bus_space_alloc(bus_space_tag_t t, bus_addr_t rstart,
|
/freebsd/sys/arm/include/ |
H A D | bus.h | 491 int __bs_c(f,_bs_alloc) (bus_space_tag_t t, bus_addr_t rstart, \
|