Home
last modified time | relevance | path

Searched refs:in_range (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dget_branch_snapshot.c18 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 Dpageattr.c28 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 Dcros_ec_lpc.c95 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 Dblacklist.c286 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 Dlogic_pio.c24 #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 Dballoc.c39 #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 Dkomeda_pipeline_state.c308 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 Dmalidp_utils.h38 static inline bool in_range(struct malidp_range *rg, u32 v) in in_range() function
/linux-6.3-rc2/drivers/pinctrl/renesas/
A Dcore.c348 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 Dmisc.h11 #define in_range(b, first, len) ((b) >= (first) && (b) < (first) + (len)) macro
A Dfile-item.c308 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 Dordered-data.c138 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 Drelocation.c174 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 Dextent-io-tree.c1459 if (in_range(start, state->start, state->end - state->start + 1)) { in find_first_clear_extent_bit()
A Dextent-tree.c1233 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 Dcore.h200 static inline int in_range(u16 val, u16 min, u16 max) in in_range() function
A Dlink.c1626 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 Dioreq.c354 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 Da6xx_gmu.c684 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 Dcxgb3_main.c2129 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 Dnf_nat_core.c245 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 Dextents_status.c272 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 Dextents.c3454 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 Dfast_commit.c1966 if (in_range(blk, state->fc_regions[i].pblk, in ext4_fc_replay_check_excluded()
/linux-6.3-rc2/fs/ufs/
A Dutil.h18 #define in_range(b,first,len) ((b)>=(first)&&(b)<(first)+(len)) macro

Completed in 102 milliseconds

12