/linux-6.6.21/drivers/platform/chrome/ |
D | cros_ec_lpc.c | 96 int in_range = cros_ec_lpc_mec_in_range(offset, length); in cros_ec_lpc_mec_read_bytes() local 98 if (in_range < 0) in cros_ec_lpc_mec_read_bytes() 101 return in_range ? in cros_ec_lpc_mec_read_bytes() 115 int in_range = cros_ec_lpc_mec_in_range(offset, length); in cros_ec_lpc_mec_write_bytes() local 117 if (in_range < 0) in cros_ec_lpc_mec_write_bytes() 120 return in_range ? in cros_ec_lpc_mec_write_bytes()
|
/linux-6.6.21/drivers/s390/cio/ |
D | blacklist.c | 286 int in_range; member 336 if (!iter->in_range) { in cio_ignore_proc_seq_show() 344 iter->in_range = 1; in cio_ignore_proc_seq_show() 351 iter->in_range = 0; in cio_ignore_proc_seq_show()
|
/linux-6.6.21/fs/ext2/ |
D | balloc.c | 522 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || in ext2_free_blocks() 523 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || in ext2_free_blocks() 524 in_range (block, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks() 526 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks() 1370 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks() 1371 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext2_new_blocks() 1372 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks() 1374 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
|
/linux-6.6.21/drivers/iio/ |
D | industrialio-gts-helper.c | 794 int iio_find_closest_gain_low(struct iio_gts *gts, int gain, bool *in_range) in iio_find_closest_gain_low() argument 799 *in_range = false; in iio_find_closest_gain_low() 803 *in_range = true; in iio_find_closest_gain_low() 825 *in_range = true; in iio_find_closest_gain_low() 830 *in_range = false; in iio_find_closest_gain_low()
|
/linux-6.6.21/lib/ |
D | logic_pio.c | 148 if (in_range(pio, range->io_start, range->size)) { in find_io_range() 215 if (in_range(addr, range->hw_start, range->size)) { in logic_pio_trans_cpuaddr()
|
/linux-6.6.21/drivers/pinctrl/renesas/ |
D | core.c | 347 int in_range; in sh_pfc_config_mux() local 361 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); in sh_pfc_config_mux() 362 if (!in_range) { in sh_pfc_config_mux() 367 in_range = 1; in sh_pfc_config_mux() 372 in_range = sh_pfc_enum_in_range(enum_id, range); in sh_pfc_config_mux() 379 if (in_range && enum_id == range->force) in sh_pfc_config_mux() 385 if (!in_range) in sh_pfc_config_mux()
|
/linux-6.6.21/include/linux/iio/ |
D | iio-gts-helper.h | 180 int iio_find_closest_gain_low(struct iio_gts *gts, int gain, bool *in_range);
|
/linux-6.6.21/include/linux/ |
D | minmax.h | 261 #define in_range(val, start, len) \ macro
|
/linux-6.6.21/fs/btrfs/ |
D | ordered-data.c | 138 if (in_range(file_offset, entry->file_offset, entry->num_bytes)) in tree_search() 519 if (!in_range(file_offset, entry->file_offset, entry->num_bytes)) in btrfs_dec_test_ordered_pending() 893 if (!in_range(file_offset, entry->file_offset, entry->num_bytes)) in btrfs_lookup_ordered_extent()
|
D | file-item.c | 309 if (in_range(disk_bytenr, csum_start, csum_len)) in search_csum_tree() 326 ASSERT(in_range(disk_bytenr, csum_start, csum_len)); in search_csum_tree()
|
D | relocation.c | 174 in_range(node->bytenr, rc->block_group->start, in mark_block_processed() 1109 if (!in_range(bytenr, rc->block_group->start, in replace_file_extents() 3083 if (in_range(cluster->boundary[*cluster_nr] - offset, in relocate_one_page()
|
D | extent-io-tree.c | 1474 if (in_range(start, state->start, state->end - state->start + 1)) { in find_first_clear_extent_bit()
|
D | extent-tree.c | 1269 if (!in_range(sb_start, start, bytes_left) && in btrfs_issue_discard() 1270 !in_range(sb_end, start, bytes_left) && in btrfs_issue_discard() 1271 !in_range(start, sb_start, BTRFS_SUPER_INFO_SIZE)) in btrfs_issue_discard()
|
D | volumes.c | 1433 if (in_range(physical_start, *start, len) || in contains_pending_extent() 1434 in_range(*start, physical_start, in contains_pending_extent()
|
D | block-group.c | 2106 if (!in_range(physical, map->stripes[i].physical, in btrfs_rmap_block()
|
D | extent_io.c | 4567 ASSERT(in_range(bytenr, page_start, PAGE_SIZE)); in get_next_extent_buffer()
|
/linux-6.6.21/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gmu.c | 683 if (!in_range(blk->addr, bo->iova, bo->size)) in fw_block_mem() 724 if (in_range(blk->addr, itcm_base, SZ_16K)) { in a6xx_gmu_fw_load() 729 } else if (in_range(blk->addr, dtcm_base, SZ_16K)) { in a6xx_gmu_fw_load()
|
/linux-6.6.21/fs/ext4/ |
D | extents_status.c | 274 if (es1 && in_range(lblk, es1->es_lblk, es1->es_len)) { in __es_find_extent_range() 647 if (in_range(es->es_lblk, ee_block, ee_len)) { in ext4_es_insert_extent_ext_check() 1002 if (es1 && in_range(lblk, es1->es_lblk, es1->es_len)) { in ext4_es_lookup_extent()
|
D | extents.c | 3430 BUG_ON(!in_range(map->m_lblk, ee_block, ee_len)); in ext4_ext_convert_to_initialized() 4075 } else if (in_range(lblk, es.es_lblk, es.es_len)) { in ext4_ext_determine_insert_hole() 4179 if (in_range(map->m_lblk, ee_block, ee_len)) { in ext4_ext_map_blocks() 5660 if (!in_range(lblk1, e1_blk, e1_len) || in ext4_swap_extents() 5661 !in_range(lblk2, e2_blk, e2_len)) { in ext4_swap_extents()
|
D | fast_commit.c | 1966 if (in_range(blk, state->fc_regions[i].pblk, in ext4_fc_replay_check_excluded()
|
/linux-6.6.21/mm/ |
D | filemap.c | 3515 if (in_range(vmf->address, addr, count * PAGE_SIZE)) in filemap_map_folio_range() 3529 if (in_range(vmf->address, addr, count * PAGE_SIZE)) in filemap_map_folio_range()
|
D | memory.c | 4356 bool prefault = in_range(vmf->address, addr, nr * PAGE_SIZE); in set_pte_range()
|