Searched refs:in_range (Results 1 - 30 of 30) sorted by relevance

/linux-4.4.14/net/netfilter/
H A Dnf_nat_proto_unknown.c52 .in_range = unknown_in_range,
H A Dnf_nat_proto_sctp.c60 .in_range = nf_nat_l4proto_in_range,
H A Dnf_nat_proto_udp.c71 .in_range = nf_nat_l4proto_in_range,
H A Dnf_nat_proto_dccp.c79 .in_range = nf_nat_l4proto_in_range,
H A Dnf_nat_proto_tcp.c80 .in_range = nf_nat_l4proto_in_range,
H A Dnf_nat_proto_udplite.c70 .in_range = nf_nat_l4proto_in_range,
H A Dnf_nat_core.c153 static int in_range(const struct nf_nat_l3proto *l3proto, in_range() function
162 !l3proto->in_range(tuple, range)) in_range()
166 l4proto->in_range(tuple, NF_NAT_MANIP_SRC, in_range()
208 if (in_range(l3proto, l4proto, result, range)) find_appropriate_src()
325 if (in_range(l3proto, l4proto, orig_tuple, range)) { get_unique_tuple()
349 if (l4proto->in_range(tuple, maniptype, get_unique_tuple()
/linux-4.4.14/drivers/s390/cio/
H A Dblacklist.c281 int in_range; member in struct:ccwdev_iter
330 if (!iter->in_range) { cio_ignore_proc_seq_show()
338 iter->in_range = 1; cio_ignore_proc_seq_show()
345 iter->in_range = 0; cio_ignore_proc_seq_show()
/linux-4.4.14/include/net/netfilter/
H A Dnf_nat_l4proto.h24 bool (*in_range)(const struct nf_conntrack_tuple *tuple, member in struct:nf_nat_l4proto
H A Dnf_nat_l3proto.h8 bool (*in_range)(const struct nf_conntrack_tuple *t, member in struct:nf_nat_l3proto
/linux-4.4.14/drivers/pinctrl/sh-pfc/
H A Dcore.c324 int in_range; sh_pfc_config_mux() local
338 in_range = sh_pfc_enum_in_range(enum_id, &pfc->info->function); sh_pfc_config_mux()
339 if (!in_range) { sh_pfc_config_mux()
344 in_range = 1; sh_pfc_config_mux()
349 in_range = sh_pfc_enum_in_range(enum_id, range); sh_pfc_config_mux()
356 if (in_range && enum_id == range->force) sh_pfc_config_mux()
362 if (!in_range) sh_pfc_config_mux()
/linux-4.4.14/net/ipv4/netfilter/
H A Dnf_nat_proto_icmp.c78 .in_range = icmp_in_range,
H A Dnf_nat_proto_gre.c125 .in_range = nf_nat_l4proto_in_range,
H A Dnf_nat_l3proto_ipv4.c177 .in_range = nf_nat_ipv4_in_range,
/linux-4.4.14/net/ipv6/netfilter/
H A Dnf_nat_proto_icmpv6.c85 .in_range = icmpv6_in_range,
H A Dnf_nat_l3proto_ipv6.c184 .in_range = nf_nat_ipv6_in_range,
/linux-4.4.14/fs/ext2/
H A 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) || ext2_free_blocks()
526 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || ext2_free_blocks()
527 in_range (block, le32_to_cpu(desc->bg_inode_table), ext2_free_blocks()
529 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), ext2_free_blocks()
1372 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || ext2_new_blocks()
1373 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || ext2_new_blocks()
1374 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), ext2_new_blocks()
1376 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), ext2_new_blocks()
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dserial2002.c57 struct serial2002_range_table_t in_range[32], out_range[32]; member in struct:serial2002_private
499 range = devpriv->in_range; serial2002_setup_subdevs()
511 range = devpriv->in_range; serial2002_setup_subdevs()
/linux-4.4.14/net/tipc/
H A Dcore.h141 static inline int in_range(u16 val, u16 min, u16 max) in_range() function
H A Dlink.c1275 if (in_range(peers_tol, TIPC_MIN_LINK_TOL, TIPC_MAX_LINK_TOL)) tipc_link_proto_rcv()
1279 if (in_range(peers_prio, l->priority + 1, TIPC_MAX_LINK_PRI)) tipc_link_proto_rcv()
1299 if (in_range(peers_tol, TIPC_MIN_LINK_TOL, TIPC_MAX_LINK_TOL)) tipc_link_proto_rcv()
/linux-4.4.14/lib/
H A Dbitmap.c511 int at_start, in_range; __bitmap_parselist() local
517 in_range = 0; __bitmap_parselist()
549 if (at_start || in_range) __bitmap_parselist()
552 in_range = 1; __bitmap_parselist()
561 if (!in_range) __bitmap_parselist()
569 if (at_start && in_range) __bitmap_parselist()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c2122 static int in_range(int val, int lo, int hi) in_range() function
2151 if (!in_range(t.intr_lat, 0, M_NEWTIMER) || cxgb_extension_ioctl()
2152 !in_range(t.cong_thres, 0, 255) || cxgb_extension_ioctl()
2153 !in_range(t.txq_size[0], MIN_TXQ_ENTRIES, cxgb_extension_ioctl()
2155 !in_range(t.txq_size[1], MIN_TXQ_ENTRIES, cxgb_extension_ioctl()
2157 !in_range(t.txq_size[2], MIN_CTRL_TXQ_ENTRIES, cxgb_extension_ioctl()
2159 !in_range(t.fl_size[0], MIN_FL_ENTRIES, cxgb_extension_ioctl()
2161 !in_range(t.fl_size[1], MIN_FL_ENTRIES, cxgb_extension_ioctl()
2163 !in_range(t.rspq_size, MIN_RSPQ_ENTRIES, cxgb_extension_ioctl()
/linux-4.4.14/fs/ext4/
H A Dfile.c607 if (es.es_len != 0 && in_range(last, es.es_lblk, es.es_len)) { ext4_seek_data()
680 if (es.es_len != 0 && in_range(last, es.es_lblk, es.es_len)) { ext4_seek_hole()
H A Dextents_status.c263 if (in_range(lblk, es1->es_lblk, es1->es_len)) { ext4_es_find_delayed_extent_range()
493 if (in_range(es->es_lblk, ee_block, ee_len)) { ext4_es_insert_extent_ext_check()
798 if (in_range(lblk, es1->es_lblk, es1->es_len)) { ext4_es_lookup_extent()
H A Dmballoc.c4786 if (in_range(ext4_block_bitmap(sb, gdp), block, count) || ext4_free_blocks()
4787 in_range(ext4_inode_bitmap(sb, gdp), block, count) || ext4_free_blocks()
4788 in_range(block, ext4_inode_table(sb, gdp), ext4_free_blocks()
4790 in_range(block + count - 1, ext4_inode_table(sb, gdp), ext4_free_blocks()
4958 if (in_range(ext4_block_bitmap(sb, desc), block, count) || ext4_group_add_blocks()
4959 in_range(ext4_inode_bitmap(sb, desc), block, count) || ext4_group_add_blocks()
4960 in_range(block, ext4_inode_table(sb, desc), sbi->s_itb_per_group) || ext4_group_add_blocks()
4961 in_range(block + count - 1, ext4_inode_table(sb, desc), ext4_group_add_blocks()
H A Dmove_extent.c651 } else { /* in_range(o_start, o_blk, o_len) */ ext4_move_extents()
H A Dextents.c3431 BUG_ON(!in_range(map->m_lblk, ee_block, ee_len)); ext4_ext_convert_to_initialized()
4335 if (in_range(map->m_lblk, ee_block, ee_len)) { ext4_ext_map_blocks()
5837 if (!in_range(lblk1, e1_blk, e1_len) || ext4_swap_extents()
5838 !in_range(lblk2, e2_blk, e2_len)) { ext4_swap_extents()
H A Dext4.h3244 #define in_range(b, first, len) ((b) >= (first) && (b) <= (first) + (len) - 1) macro
/linux-4.4.14/fs/ufs/
H A Dutil.h17 #define in_range(b,first,len) ((b)>=(first)&&(b)<(first)+(len)) macro
/linux-4.4.14/fs/btrfs/
H A Dextent-tree.c1948 #define in_range(b, first, len) ((b) >= (first) && (b) < (first) + (len)) btrfs_issue_discard() macro
1976 if (!in_range(sb_start, start, bytes_left) && btrfs_issue_discard()
1977 !in_range(sb_end, start, bytes_left) && btrfs_issue_discard()
1978 !in_range(start, sb_start, BTRFS_SUPER_INFO_SIZE)) btrfs_issue_discard()

Completed in 859 milliseconds