/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | get_branch_snapshot.c | 18 static inline bool in_range(__u64 val) in in_range() function 34 if (in_range(entries[i].from) && in_range(entries[i].to)) in BPF_PROG()
|
/linux-6.3-rc2/arch/arm/mm/ |
A D | pageattr.c | 28 static bool in_range(unsigned long start, unsigned long size, in in_range() function 66 if (!in_range(start, size, MODULES_VADDR, MODULES_END) && in change_memory_common() 67 !in_range(start, size, VMALLOC_START, VMALLOC_END)) in change_memory_common()
|
/linux-6.3-rc2/drivers/platform/chrome/ |
A D | cros_ec_lpc.c | 95 int in_range = cros_ec_lpc_mec_in_range(offset, length); in cros_ec_lpc_mec_read_bytes() local 97 if (in_range < 0) in cros_ec_lpc_mec_read_bytes() 100 return in_range ? in cros_ec_lpc_mec_read_bytes() 114 int in_range = cros_ec_lpc_mec_in_range(offset, length); in cros_ec_lpc_mec_write_bytes() local 116 if (in_range < 0) in cros_ec_lpc_mec_write_bytes() 119 return in_range ? in cros_ec_lpc_mec_write_bytes()
|
/linux-6.3-rc2/drivers/s390/cio/ |
A 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.3-rc2/lib/ |
A D | logic_pio.c | 24 #define in_range(b, first, len) ((b) >= (first) && (b) < (first) + (len)) macro 151 if (in_range(pio, range->io_start, range->size)) { in find_io_range() 218 if (in_range(addr, range->hw_start, range->size)) { in logic_pio_trans_cpuaddr()
|
/linux-6.3-rc2/fs/ext2/ |
A D | balloc.c | 39 #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) macro 524 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || in ext2_free_blocks() 525 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || in ext2_free_blocks() 526 in_range (block, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks() 528 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks() 1375 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks() 1376 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext2_new_blocks() 1377 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks() 1379 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
|
/linux-6.3-rc2/drivers/gpu/drm/arm/display/komeda/ |
A D | komeda_pipeline_state.c | 308 if (!in_range(&layer->hsize_in, src_w)) { in komeda_layer_check_cfg() 313 if (!in_range(&layer->vsize_in, src_h)) { in komeda_layer_check_cfg() 455 if (!in_range(&scaler->hsize, hsize_in) || in komeda_scaler_check_cfg() 456 !in_range(&scaler->hsize, hsize_out)) { in komeda_scaler_check_cfg() 461 if (!in_range(&scaler->vsize, vsize_in) || in komeda_scaler_check_cfg() 462 !in_range(&scaler->vsize, vsize_out)) { in komeda_scaler_check_cfg() 577 if (!in_range(&splitter->hsize, dflow->in_w)) { in komeda_splitter_validate() 583 if (!in_range(&splitter->vsize, dflow->in_h)) { in komeda_splitter_validate() 627 if (!in_range(&merger->hsize_merged, output->out_w)) { in komeda_merger_validate() 633 if (!in_range(&merger->vsize_merged, output->out_h)) { in komeda_merger_validate() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/arm/display/include/ |
A D | malidp_utils.h | 38 static inline bool in_range(struct malidp_range *rg, u32 v) in in_range() function
|
/linux-6.3-rc2/drivers/pinctrl/renesas/ |
A D | core.c | 348 int in_range; in sh_pfc_config_mux() local 362 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); in sh_pfc_config_mux() 363 if (!in_range) { in sh_pfc_config_mux() 368 in_range = 1; in sh_pfc_config_mux() 373 in_range = sh_pfc_enum_in_range(enum_id, range); in sh_pfc_config_mux() 380 if (in_range && enum_id == range->force) in sh_pfc_config_mux() 386 if (!in_range) in sh_pfc_config_mux()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | misc.h | 11 #define in_range(b, first, len) ((b) >= (first) && (b) < (first) + (len)) macro
|
A D | file-item.c | 308 if (in_range(disk_bytenr, csum_start, csum_len)) in search_csum_tree() 325 ASSERT(in_range(disk_bytenr, csum_start, csum_len)); in search_csum_tree() 368 ASSERT(in_range(disk_bytenr, cur, bvec.bv_len)); in search_file_offset_in_bio() 834 !in_range(offset, ordered->file_offset, in btrfs_csum_one_bio()
|
A D | ordered-data.c | 138 if (in_range(file_offset, entry->file_offset, entry->num_bytes)) in tree_search() 462 if (!in_range(file_offset, entry->file_offset, entry->num_bytes)) in btrfs_dec_test_ordered_pending() 836 if (!in_range(file_offset, entry->file_offset, entry->num_bytes)) in btrfs_lookup_ordered_extent()
|
A D | relocation.c | 174 in_range(node->bytenr, rc->block_group->start, in mark_block_processed() 1108 if (!in_range(bytenr, rc->block_group->start, in replace_file_extents() 3047 if (in_range(cluster->boundary[*cluster_nr] - offset, in relocate_one_page()
|
A D | extent-io-tree.c | 1459 if (in_range(start, state->start, state->end - state->start + 1)) { in find_first_clear_extent_bit()
|
A D | extent-tree.c | 1233 if (!in_range(sb_start, start, bytes_left) && in btrfs_issue_discard() 1234 !in_range(sb_end, start, bytes_left) && in btrfs_issue_discard() 1235 !in_range(start, sb_start, BTRFS_SUPER_INFO_SIZE)) in btrfs_issue_discard()
|
/linux-6.3-rc2/net/tipc/ |
A D | core.h | 200 static inline int in_range(u16 val, u16 min, u16 max) in in_range() function
|
A D | link.c | 1626 if (in_range(seqno, start, end)) in tipc_link_advance_transmq() 2251 if (in_range(peers_tol, TIPC_MIN_LINK_TOL, TIPC_MAX_LINK_TOL)) { in tipc_link_proto_rcv() 2256 if (in_range(peers_prio, l->priority + 1, TIPC_MAX_LINK_PRI)) in tipc_link_proto_rcv() 2299 if (in_range(peers_tol, TIPC_MIN_LINK_TOL, TIPC_MAX_LINK_TOL)) { in tipc_link_proto_rcv() 2305 in_range(peers_prio, 1, TIPC_MAX_LINK_PRI)) { in tipc_link_proto_rcv()
|
/linux-6.3-rc2/drivers/virt/acrn/ |
A D | ioreq.c | 354 static bool in_range(struct acrn_ioreq_range *range, in in_range() function 392 if (in_range(range, req)) { in find_ioreq_client()
|
/linux-6.3-rc2/drivers/gpu/drm/msm/adreno/ |
A D | a6xx_gmu.c | 684 static int in_range(u32 addr, u32 start, u32 size) in in_range() function 691 if (!in_range(blk->addr, bo->iova, bo->size)) in fw_block_mem() 732 if (in_range(blk->addr, itcm_base, SZ_16K)) { in a6xx_gmu_fw_load() 737 } else if (in_range(blk->addr, dtcm_base, SZ_16K)) { in a6xx_gmu_fw_load()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/ |
A D | cxgb3_main.c | 2129 static int in_range(int val, int lo, int hi) in in_range() function 2165 if (!in_range(t.intr_lat, 0, M_NEWTIMER) || in cxgb_siocdevprivate() 2166 !in_range(t.cong_thres, 0, 255) || in cxgb_siocdevprivate() 2167 !in_range(t.txq_size[0], MIN_TXQ_ENTRIES, in cxgb_siocdevprivate() 2169 !in_range(t.txq_size[1], MIN_TXQ_ENTRIES, in cxgb_siocdevprivate() 2171 !in_range(t.txq_size[2], MIN_CTRL_TXQ_ENTRIES, in cxgb_siocdevprivate() 2173 !in_range(t.fl_size[0], MIN_FL_ENTRIES, in cxgb_siocdevprivate() 2175 !in_range(t.fl_size[1], MIN_FL_ENTRIES, in cxgb_siocdevprivate() 2177 !in_range(t.rspq_size, MIN_RSPQ_ENTRIES, in cxgb_siocdevprivate()
|
/linux-6.3-rc2/net/netfilter/ |
A D | nf_nat_core.c | 245 static int in_range(const struct nf_conntrack_tuple *tuple, in in_range() function 294 if (in_range(result, range)) in find_appropriate_src() 526 if (in_range(orig_tuple, range)) { in get_unique_tuple()
|
/linux-6.3-rc2/fs/ext4/ |
A D | extents_status.c | 272 if (in_range(lblk, es1->es_lblk, es1->es_len)) { in __es_find_extent_range() 616 if (in_range(es->es_lblk, ee_block, ee_len)) { in ext4_es_insert_extent_ext_check() 936 if (in_range(lblk, es1->es_lblk, es1->es_len)) { in ext4_es_lookup_extent()
|
A D | extents.c | 3454 BUG_ON(!in_range(map->m_lblk, ee_block, ee_len)); in ext4_ext_convert_to_initialized() 4141 if (in_range(map->m_lblk, ee_block, ee_len)) { in ext4_ext_map_blocks() 5659 if (!in_range(lblk1, e1_blk, e1_len) || in ext4_swap_extents() 5660 !in_range(lblk2, e2_blk, e2_len)) { in ext4_swap_extents()
|
A D | fast_commit.c | 1966 if (in_range(blk, state->fc_regions[i].pblk, in ext4_fc_replay_check_excluded()
|
/linux-6.3-rc2/fs/ufs/ |
A D | util.h | 18 #define in_range(b,first,len) ((b)>=(first)&&(b)<(first)+(len)) macro
|