Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/s390/cio/
Dblacklist.c259 int in_range; member
308 if (!iter->in_range) { in cio_ignore_proc_seq_show()
315 iter->in_range = 1; in cio_ignore_proc_seq_show()
321 iter->in_range = 0; in cio_ignore_proc_seq_show()
/linux-3.4.99/drivers/sh/
Dpfc.c391 int in_range, pos, field, value; in pinmux_config_gpio() local
433 in_range = enum_in_range(enum_id, &gpioc->function); in pinmux_config_gpio()
434 if (!in_range) { in pinmux_config_gpio()
445 in_range = enum_in_range(enum_id, range); in pinmux_config_gpio()
452 if (in_range && enum_id == range->force) in pinmux_config_gpio()
463 in_range = 1; in pinmux_config_gpio()
467 if (!in_range) in pinmux_config_gpio()
/linux-3.4.99/fs/ext2/
Dballoc.c37 #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) macro
536 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || in ext2_free_blocks()
537 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || in ext2_free_blocks()
538 in_range (block, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks()
540 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), in ext2_free_blocks()
1383 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext2_new_blocks()
1384 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext2_new_blocks()
1385 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
1387 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), in ext2_new_blocks()
/linux-3.4.99/net/ipv4/netfilter/
Dnf_nat_proto_unknown.c50 .in_range = unknown_in_range,
Dnf_nat_core.c83 in_range(const struct nf_conntrack_tuple *tuple, in in_range() function
100 proto->in_range(tuple, NF_NAT_MANIP_SRC, in in_range()
141 if (in_range(result, range)) { in find_appropriate_src()
224 if (in_range(orig_tuple, range)) { in get_unique_tuple()
251 if (proto->in_range(tuple, maniptype, &range->min, in get_unique_tuple()
Dnf_nat_proto_tcp.c86 .in_range = nf_nat_proto_in_range,
Dnf_nat_proto_udp.c77 .in_range = nf_nat_proto_in_range,
Dnf_nat_proto_icmp.c78 .in_range = icmp_in_range,
Dnf_nat_proto_sctp.c74 .in_range = nf_nat_proto_in_range,
Dnf_nat_proto_udplite.c76 .in_range = nf_nat_proto_in_range,
Dnf_nat_proto_dccp.c84 .in_range = nf_nat_proto_in_range,
Dnf_nat_proto_gre.c123 .in_range = nf_nat_proto_in_range,
/linux-3.4.99/lib/
Dbitmap.c602 int exp_digit, in_range; in __bitmap_parselist() local
608 in_range = 0; in __bitmap_parselist()
636 if (exp_digit || in_range) in __bitmap_parselist()
639 in_range = 1; in __bitmap_parselist()
648 if (!in_range) in __bitmap_parselist()
/linux-3.4.99/include/net/netfilter/
Dnf_nat_protocol.h21 bool (*in_range)(const struct nf_conntrack_tuple *tuple, member
/linux-3.4.99/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()
1658 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || in ext3_new_blocks()
1659 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || in ext3_new_blocks()
1660 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), in ext3_new_blocks()
1662 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), in ext3_new_blocks()
/linux-3.4.99/drivers/staging/comedi/drivers/
Dserial2002.c83 struct serial2002_range_table_t in_range[32], out_range[32]; member
589 range = devpriv->in_range; in serial_2002_open()
603 range = devpriv->in_range; in serial_2002_open()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2118 static int in_range(int val, int lo, int hi) in in_range() function
2147 if (!in_range(t.intr_lat, 0, M_NEWTIMER) || in cxgb_extension_ioctl()
2148 !in_range(t.cong_thres, 0, 255) || in cxgb_extension_ioctl()
2149 !in_range(t.txq_size[0], MIN_TXQ_ENTRIES, in cxgb_extension_ioctl()
2151 !in_range(t.txq_size[1], MIN_TXQ_ENTRIES, in cxgb_extension_ioctl()
2153 !in_range(t.txq_size[2], MIN_CTRL_TXQ_ENTRIES, in cxgb_extension_ioctl()
2155 !in_range(t.fl_size[0], MIN_FL_ENTRIES, in cxgb_extension_ioctl()
2157 !in_range(t.fl_size[1], MIN_FL_ENTRIES, in cxgb_extension_ioctl()
2159 !in_range(t.rspq_size, MIN_RSPQ_ENTRIES, in cxgb_extension_ioctl()
/linux-3.4.99/fs/ext4/
Dmballoc.c4601 if (in_range(ext4_block_bitmap(sb, gdp), block, count) || in ext4_free_blocks()
4602 in_range(ext4_inode_bitmap(sb, gdp), block, count) || in ext4_free_blocks()
4603 in_range(block, ext4_inode_table(sb, gdp), in ext4_free_blocks()
4605 in_range(block + count - 1, ext4_inode_table(sb, gdp), in ext4_free_blocks()
4770 if (in_range(ext4_block_bitmap(sb, desc), block, count) || in ext4_group_add_blocks()
4771 in_range(ext4_inode_bitmap(sb, desc), block, count) || in ext4_group_add_blocks()
4772 in_range(block, ext4_inode_table(sb, desc), sbi->s_itb_per_group) || in ext4_group_add_blocks()
4773 in_range(block + count - 1, ext4_inode_table(sb, desc), in ext4_group_add_blocks()
Dextents.c2084 if (in_range(block, cex->ec_block, cex->ec_len)) { in ext4_ext_check_cache()
3085 BUG_ON(!in_range(map->m_lblk, ee_block, ee_len)); in ext4_ext_convert_to_initialized()
3943 if (in_range(map->m_lblk, ee_block, ee_len)) { in ext4_ext_map_blocks()
Dext4.h2355 #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) macro
/linux-3.4.99/fs/ufs/
Dutil.h17 #define in_range(b,first,len) ((b)>=(first)&&(b)<(first)+(len)) macro