Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/arm/mm/
Dpageattr.c38 static bool in_range(unsigned long start, unsigned long size, in in_range() function
59 if (!in_range(start, size, MODULES_VADDR, MODULES_END) && in change_memory_common()
60 !in_range(start, size, VMALLOC_START, VMALLOC_END)) in change_memory_common()
/Linux-v4.19/lib/
Dbitmap.c519 int at_start, in_range, in_partial_range; in __bitmap_parselist() local
527 in_range = 0; in __bitmap_parselist()
562 in_range = 0; in __bitmap_parselist()
571 in_range = 0; in __bitmap_parselist()
578 if (at_start || in_range) in __bitmap_parselist()
581 in_range = 1; in __bitmap_parselist()
590 if (!in_range) in __bitmap_parselist()
606 if (at_start && in_range) in __bitmap_parselist()
Dlogic_pio.c23 #define in_range(b, first, len) ((b) >= (first) && (b) < (first) + (len)) macro
126 if (in_range(pio, range->io_start, range->size)) in find_io_range()
186 if (in_range(addr, range->hw_start, range->size)) in logic_pio_trans_cpuaddr()
/Linux-v4.19/drivers/s390/cio/
Dblacklist.c281 int in_range; member
330 if (!iter->in_range) { in cio_ignore_proc_seq_show()
338 iter->in_range = 1; in cio_ignore_proc_seq_show()
345 iter->in_range = 0; in cio_ignore_proc_seq_show()
/Linux-v4.19/drivers/pinctrl/sh-pfc/
Dcore.c342 int in_range; in sh_pfc_config_mux() local
356 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); in sh_pfc_config_mux()
357 if (!in_range) { in sh_pfc_config_mux()
362 in_range = 1; in sh_pfc_config_mux()
367 in_range = sh_pfc_enum_in_range(enum_id, range); in sh_pfc_config_mux()
374 if (in_range && enum_id == range->force) in sh_pfc_config_mux()
380 if (!in_range) in sh_pfc_config_mux()
/Linux-v4.19/net/netfilter/
Dnf_nat_proto_udp.c114 .in_range = nf_nat_l4proto_in_range,
125 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_unknown.c52 .in_range = unknown_in_range,
Dnf_nat_proto_sctp.c72 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_dccp.c77 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_tcp.c80 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_core.c178 static int in_range(const struct nf_nat_l3proto *l3proto, in in_range() function
187 !l3proto->in_range(tuple, range)) in in_range()
191 l4proto->in_range(tuple, NF_NAT_MANIP_SRC, in in_range()
232 if (in_range(l3proto, l4proto, result, range)) in find_appropriate_src()
349 if (in_range(l3proto, l4proto, orig_tuple, range)) { in get_unique_tuple()
374 l4proto->in_range(tuple, maniptype, in get_unique_tuple()
/Linux-v4.19/fs/ext2/
Dballoc.c39 #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) macro
527 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || in ext2_free_blocks()
528 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || in ext2_free_blocks()
529 in_range (block, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks()
531 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks()
1395 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks()
1396 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext2_new_blocks()
1397 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
1399 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
/Linux-v4.19/include/net/netfilter/
Dnf_nat_l4proto.h25 bool (*in_range)(const struct nf_conntrack_tuple *tuple, member
Dnf_nat_l3proto.h9 bool (*in_range)(const struct nf_conntrack_tuple *t, member
/Linux-v4.19/net/ipv4/netfilter/
Dnf_nat_proto_icmp.c78 .in_range = icmp_in_range,
Dnf_nat_proto_gre.c126 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_l3proto_ipv4.c164 .in_range = nf_nat_ipv4_in_range,
/Linux-v4.19/net/ipv6/netfilter/
Dnf_nat_proto_icmpv6.c85 .in_range = icmpv6_in_range,
Dnf_nat_l3proto_ipv6.c175 .in_range = nf_nat_ipv6_in_range,
/Linux-v4.19/net/tipc/
Dcore.h177 static inline int in_range(u16 val, u16 min, u16 max) in in_range() function
Dlink.c1589 if (in_range(peers_tol, TIPC_MIN_LINK_TOL, TIPC_MAX_LINK_TOL)) { in tipc_link_proto_rcv()
1594 if (in_range(peers_prio, l->priority + 1, TIPC_MAX_LINK_PRI)) in tipc_link_proto_rcv()
1618 if (in_range(peers_tol, TIPC_MIN_LINK_TOL, TIPC_MAX_LINK_TOL)) { in tipc_link_proto_rcv()
1624 in_range(peers_prio, 1, TIPC_MAX_LINK_PRI)) { in tipc_link_proto_rcv()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2135 static int in_range(int val, int lo, int hi) in in_range() function
2166 if (!in_range(t.intr_lat, 0, M_NEWTIMER) || in cxgb_extension_ioctl()
2167 !in_range(t.cong_thres, 0, 255) || in cxgb_extension_ioctl()
2168 !in_range(t.txq_size[0], MIN_TXQ_ENTRIES, in cxgb_extension_ioctl()
2170 !in_range(t.txq_size[1], MIN_TXQ_ENTRIES, in cxgb_extension_ioctl()
2172 !in_range(t.txq_size[2], MIN_CTRL_TXQ_ENTRIES, in cxgb_extension_ioctl()
2174 !in_range(t.fl_size[0], MIN_FL_ENTRIES, in cxgb_extension_ioctl()
2176 !in_range(t.fl_size[1], MIN_FL_ENTRIES, in cxgb_extension_ioctl()
2178 !in_range(t.rspq_size, MIN_RSPQ_ENTRIES, in cxgb_extension_ioctl()
/Linux-v4.19/fs/ext4/
Dextents_status.c263 if (in_range(lblk, es1->es_lblk, es1->es_len)) { in ext4_es_find_delayed_extent_range()
493 if (in_range(es->es_lblk, ee_block, ee_len)) { in ext4_es_insert_extent_ext_check()
798 if (in_range(lblk, es1->es_lblk, es1->es_len)) { in ext4_es_lookup_extent()
Dmballoc.c4819 if (in_range(ext4_block_bitmap(sb, gdp), block, count) || in ext4_free_blocks()
4820 in_range(ext4_inode_bitmap(sb, gdp), block, count) || in ext4_free_blocks()
4821 in_range(block, ext4_inode_table(sb, gdp), in ext4_free_blocks()
4823 in_range(block + count - 1, ext4_inode_table(sb, gdp), in ext4_free_blocks()
5002 if (in_range(ext4_block_bitmap(sb, desc), block, count) || in ext4_group_add_blocks()
5003 in_range(ext4_inode_bitmap(sb, desc), block, count) || in ext4_group_add_blocks()
5004 in_range(block, ext4_inode_table(sb, desc), sbi->s_itb_per_group) || in ext4_group_add_blocks()
5005 in_range(block + count - 1, ext4_inode_table(sb, desc), in ext4_group_add_blocks()
/Linux-v4.19/drivers/xen/
Dgntdev.c482 static bool in_range(struct gntdev_grant_map *map, in in_range() function
502 if (!in_range(map, start, end)) in unmap_if_in_range()

12