Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/pinctrl/sh-pfc/
Dcore.c328 int in_range; in sh_pfc_config_mux() local
342 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); in sh_pfc_config_mux()
343 if (!in_range) { in sh_pfc_config_mux()
348 in_range = 1; in sh_pfc_config_mux()
353 in_range = sh_pfc_enum_in_range(enum_id, range); in sh_pfc_config_mux()
360 if (in_range && enum_id == range->force) in sh_pfc_config_mux()
366 if (!in_range) in sh_pfc_config_mux()
/linux-4.1.27/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-4.1.27/fs/ext2/
Dballoc.c37 #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) macro
525 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || in ext2_free_blocks()
526 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || in ext2_free_blocks()
527 in_range (block, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks()
529 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks()
1372 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks()
1373 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext2_new_blocks()
1374 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
1376 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
/linux-4.1.27/lib/
Dbitmap.c509 int at_start, in_range; in __bitmap_parselist() local
515 in_range = 0; in __bitmap_parselist()
543 if (at_start || in_range) in __bitmap_parselist()
546 in_range = 1; in __bitmap_parselist()
554 if (!in_range) in __bitmap_parselist()
/linux-4.1.27/net/netfilter/
Dnf_nat_proto_unknown.c52 .in_range = unknown_in_range,
Dnf_nat_core.c154 static int in_range(const struct nf_nat_l3proto *l3proto, in in_range() function
163 !l3proto->in_range(tuple, range)) in in_range()
167 l4proto->in_range(tuple, NF_NAT_MANIP_SRC, in in_range()
207 if (in_range(l3proto, l4proto, result, range)) in find_appropriate_src()
321 if (in_range(l3proto, l4proto, orig_tuple, range)) { in get_unique_tuple()
345 if (l4proto->in_range(tuple, maniptype, in get_unique_tuple()
Dnf_nat_proto_udp.c71 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_tcp.c80 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_sctp.c60 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_dccp.c79 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_proto_udplite.c70 .in_range = nf_nat_l4proto_in_range,
/linux-4.1.27/fs/ext3/
Dballoc.c34 #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) macro
542 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || in ext3_free_blocks_sb()
543 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || in ext3_free_blocks_sb()
544 in_range (block, le32_to_cpu(desc->bg_inode_table), in ext3_free_blocks_sb()
546 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), in ext3_free_blocks_sb()
1659 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext3_new_blocks()
1660 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext3_new_blocks()
1661 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext3_new_blocks()
1663 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), in ext3_new_blocks()
/linux-4.1.27/include/net/netfilter/
Dnf_nat_l4proto.h24 bool (*in_range)(const struct nf_conntrack_tuple *tuple, member
Dnf_nat_l3proto.h8 bool (*in_range)(const struct nf_conntrack_tuple *t, member
/linux-4.1.27/net/ipv4/netfilter/
Dnf_nat_proto_icmp.c78 .in_range = icmp_in_range,
Dnf_nat_proto_gre.c125 .in_range = nf_nat_l4proto_in_range,
Dnf_nat_l3proto_ipv4.c177 .in_range = nf_nat_ipv4_in_range,
/linux-4.1.27/net/ipv6/netfilter/
Dnf_nat_proto_icmpv6.c85 .in_range = icmpv6_in_range,
Dnf_nat_l3proto_ipv6.c184 .in_range = nf_nat_ipv6_in_range,
/linux-4.1.27/drivers/staging/comedi/drivers/
Dserial2002.c57 struct serial2002_range_table_t in_range[32], out_range[32]; member
500 range = devpriv->in_range; in serial2002_setup_subdevs()
512 range = devpriv->in_range; in serial2002_setup_subdevs()
/linux-4.1.27/fs/ext4/
Dfile.c498 if (es.es_len != 0 && in_range(last, es.es_lblk, es.es_len)) { in ext4_seek_data()
571 if (es.es_len != 0 && in_range(last, es.es_lblk, es.es_len)) { in ext4_seek_hole()
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.c4762 if (in_range(ext4_block_bitmap(sb, gdp), block, count) || in ext4_free_blocks()
4763 in_range(ext4_inode_bitmap(sb, gdp), block, count) || in ext4_free_blocks()
4764 in_range(block, ext4_inode_table(sb, gdp), in ext4_free_blocks()
4766 in_range(block + count - 1, ext4_inode_table(sb, gdp), in ext4_free_blocks()
4933 if (in_range(ext4_block_bitmap(sb, desc), block, count) || in ext4_group_add_blocks()
4934 in_range(ext4_inode_bitmap(sb, desc), block, count) || in ext4_group_add_blocks()
4935 in_range(block, ext4_inode_table(sb, desc), sbi->s_itb_per_group) || in ext4_group_add_blocks()
4936 in_range(block + count - 1, ext4_inode_table(sb, desc), in ext4_group_add_blocks()
Dextents.c3429 BUG_ON(!in_range(map->m_lblk, ee_block, ee_len)); in ext4_ext_convert_to_initialized()
4330 if (in_range(map->m_lblk, ee_block, ee_len)) { in ext4_ext_map_blocks()
5603 if (!in_range(lblk1, e1_blk, e1_len) || in ext4_swap_extents()
5604 !in_range(lblk2, e2_blk, e2_len)) { in ext4_swap_extents()
Dext4.h3017 #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) macro
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2122 static int in_range(int val, int lo, int hi) in in_range() function
2151 if (!in_range(t.intr_lat, 0, M_NEWTIMER) || in cxgb_extension_ioctl()
2152 !in_range(t.cong_thres, 0, 255) || in cxgb_extension_ioctl()
2153 !in_range(t.txq_size[0], MIN_TXQ_ENTRIES, in cxgb_extension_ioctl()
2155 !in_range(t.txq_size[1], MIN_TXQ_ENTRIES, in cxgb_extension_ioctl()
2157 !in_range(t.txq_size[2], MIN_CTRL_TXQ_ENTRIES, in cxgb_extension_ioctl()
2159 !in_range(t.fl_size[0], MIN_FL_ENTRIES, in cxgb_extension_ioctl()
2161 !in_range(t.fl_size[1], MIN_FL_ENTRIES, in cxgb_extension_ioctl()
2163 !in_range(t.rspq_size, MIN_RSPQ_ENTRIES, in cxgb_extension_ioctl()
/linux-4.1.27/fs/ufs/
Dutil.h17 #define in_range(b,first,len) ((b)>=(first)&&(b)<(first)+(len)) macro