range 536 arch/x86/kernel/amd_iommu_init.c u32 range, misc; range 541 arch/x86/kernel/amd_iommu_init.c &range); range 545 arch/x86/kernel/amd_iommu_init.c iommu->first_device = calc_devid(MMIO_GET_BUS(range), range 546 arch/x86/kernel/amd_iommu_init.c MMIO_GET_FD(range)); range 547 arch/x86/kernel/amd_iommu_init.c iommu->last_device = calc_devid(MMIO_GET_BUS(range), range 548 arch/x86/kernel/amd_iommu_init.c MMIO_GET_LD(range)); range 424 arch/x86/kernel/cpu/mtrr/generic.c int block=-1, range; range 427 arch/x86/kernel/cpu/mtrr/generic.c for (range=0; range < fixed_range_blocks[block].ranges; range++) range 428 arch/x86/kernel/cpu/mtrr/generic.c set_fixed_range(fixed_range_blocks[block].base_msr + range, range 629 arch/x86/kernel/cpu/mtrr/main.c range[nr_range].start = start; range 630 arch/x86/kernel/cpu/mtrr/main.c range[nr_range].end = end; range 648 arch/x86/kernel/cpu/mtrr/main.c if (!range[i].end) range 651 arch/x86/kernel/cpu/mtrr/main.c common_start = max(range[i].start, start); range 652 arch/x86/kernel/cpu/mtrr/main.c common_end = min(range[i].end, end); range 656 arch/x86/kernel/cpu/mtrr/main.c final_start = min(range[i].start, start); range 657 arch/x86/kernel/cpu/mtrr/main.c final_end = max(range[i].end, end); range 659 arch/x86/kernel/cpu/mtrr/main.c range[i].start = final_start; range 660 arch/x86/kernel/cpu/mtrr/main.c range[i].end = final_end; range 665 arch/x86/kernel/cpu/mtrr/main.c return add_range(range, nr_range, start, end); range 674 arch/x86/kernel/cpu/mtrr/main.c if (!range[j].end) range 677 arch/x86/kernel/cpu/mtrr/main.c if (start <= range[j].start && end >= range[j].end) { range 678 arch/x86/kernel/cpu/mtrr/main.c range[j].start = 0; range 679 arch/x86/kernel/cpu/mtrr/main.c range[j].end = 0; range 683 arch/x86/kernel/cpu/mtrr/main.c if (start <= range[j].start && end < range[j].end && range 684 arch/x86/kernel/cpu/mtrr/main.c range[j].start < end + 1) { range 685 arch/x86/kernel/cpu/mtrr/main.c range[j].start = end + 1; range 690 arch/x86/kernel/cpu/mtrr/main.c if (start > range[j].start && end >= range[j].end && range 691 arch/x86/kernel/cpu/mtrr/main.c range[j].end > start - 1) { range 692 arch/x86/kernel/cpu/mtrr/main.c range[j].end = start - 1; range 696 arch/x86/kernel/cpu/mtrr/main.c if (start > range[j].start && end < range[j].end) { range 699 arch/x86/kernel/cpu/mtrr/main.c if (range[i].end == 0) range 703 arch/x86/kernel/cpu/mtrr/main.c range[i].end = range[j].end; range 704 arch/x86/kernel/cpu/mtrr/main.c range[i].start = end + 1; range 708 arch/x86/kernel/cpu/mtrr/main.c range[j].end = start - 1; range 749 arch/x86/kernel/cpu/mtrr/main.c nr_range = add_range_with_merge(range, nr_range, base, range 756 arch/x86/kernel/cpu/mtrr/main.c range[i].start, range[i].end + 1); range 769 arch/x86/kernel/cpu/mtrr/main.c subtract_range(range, base, base + size - 1); range 772 arch/x86/kernel/cpu/mtrr/main.c subtract_range(range, extra_remove_base, range 778 arch/x86/kernel/cpu/mtrr/main.c if (!range[i].end) range 786 arch/x86/kernel/cpu/mtrr/main.c range[i].start, range[i].end + 1); range 790 arch/x86/kernel/cpu/mtrr/main.c sort(range, nr_range, sizeof(struct res_range), cmp_range, NULL); range 795 arch/x86/kernel/cpu/mtrr/main.c range[i].start, range[i].end + 1); range 800 arch/x86/kernel/cpu/mtrr/main.c memset(&range[i], 0, sizeof(range[i])); range 805 arch/x86/kernel/cpu/mtrr/main.c static struct res_range __initdata range[RANGE_NUM]; range 816 arch/x86/kernel/cpu/mtrr/main.c sum += range[i].end + 1 - range[i].start; range 1175 arch/x86/kernel/cpu/mtrr/main.c set_var_mtrr_range(&var_state, range[i].start, range 1176 arch/x86/kernel/cpu/mtrr/main.c range[i].end - range[i].start + 1); range 1290 arch/x86/kernel/cpu/mtrr/main.c memset(range, 0, sizeof(range)); range 1296 arch/x86/kernel/cpu/mtrr/main.c nr_range = x86_get_mtrr_mem_range(range, 0, extra_remove_base, range 1302 arch/x86/kernel/cpu/mtrr/main.c nr_range = add_range_with_merge(range, nr_range, 0, range 1305 arch/x86/kernel/cpu/mtrr/main.c sort(range, nr_range, sizeof(struct res_range), cmp_range, NULL); range 1307 arch/x86/kernel/cpu/mtrr/main.c range_sums = sum_ranges(range, nr_range); range 1318 arch/x86/kernel/cpu/mtrr/main.c num_reg = x86_setup_var_mtrrs(range, nr_range, mtrr_chunk_size, range 1386 arch/x86/kernel/cpu/mtrr/main.c num_reg = x86_setup_var_mtrrs(range, nr_range, range 1409 arch/x86/kernel/cpu/mtrr/main.c memcmp(range, range_new, sizeof(range))) range 1478 arch/x86/kernel/cpu/mtrr/main.c x86_setup_var_mtrrs(range, nr_range, chunk_size, gran_size); range 1629 arch/x86/kernel/cpu/mtrr/main.c memset(range, 0, sizeof(range)); range 1632 arch/x86/kernel/cpu/mtrr/main.c range[nr_range].start = (1ULL<<(32 - PAGE_SHIFT)); range 1633 arch/x86/kernel/cpu/mtrr/main.c range[nr_range].end = (mtrr_tom2 >> PAGE_SHIFT) - 1; range 1634 arch/x86/kernel/cpu/mtrr/main.c if (highest_pfn < range[nr_range].end + 1) range 1635 arch/x86/kernel/cpu/mtrr/main.c highest_pfn = range[nr_range].end + 1; range 1638 arch/x86/kernel/cpu/mtrr/main.c nr_range = x86_get_mtrr_mem_range(range, nr_range, 0, 0); range 1642 arch/x86/kernel/cpu/mtrr/main.c if (range[0].start) range 1643 arch/x86/kernel/cpu/mtrr/main.c total_trim_size += real_trim_memory(0, range[0].start); range 1646 arch/x86/kernel/cpu/mtrr/main.c if (range[i].end + 1 < range[i+1].start) range 1647 arch/x86/kernel/cpu/mtrr/main.c total_trim_size += real_trim_memory(range[i].end + 1, range 1648 arch/x86/kernel/cpu/mtrr/main.c range[i+1].start); range 1652 arch/x86/kernel/cpu/mtrr/main.c if (range[i].end + 1 < end_pfn) range 1653 arch/x86/kernel/cpu/mtrr/main.c total_trim_size += real_trim_memory(range[i].end + 1, range 41 arch/x86/kernel/mmconf-fam10h_64.c const struct range *r1 = x1; range 42 arch/x86/kernel/mmconf-fam10h_64.c const struct range *r2 = x2; range 68 arch/x86/kernel/mmconf-fam10h_64.c struct range range[8]; range 137 arch/x86/kernel/mmconf-fam10h_64.c range[hi_mmio_num].start = start; range 138 arch/x86/kernel/mmconf-fam10h_64.c range[hi_mmio_num].end = end; range 146 arch/x86/kernel/mmconf-fam10h_64.c sort(range, hi_mmio_num, sizeof(struct range), cmp_range, NULL); range 148 arch/x86/kernel/mmconf-fam10h_64.c if (range[hi_mmio_num - 1].end < base) range 150 arch/x86/kernel/mmconf-fam10h_64.c if (range[0].start > base) range 154 arch/x86/kernel/mmconf-fam10h_64.c base = range[0].start - (1ULL << 32); range 157 arch/x86/kernel/mmconf-fam10h_64.c base = range[hi_mmio_num - 1].end + (1ULL << 32); range 163 arch/x86/kernel/mmconf-fam10h_64.c if (range[i + 1].start > (range[i].end + (1ULL << 32))) { range 164 arch/x86/kernel/mmconf-fam10h_64.c base = range[i].end + (1ULL << 32); range 144 arch/x86/pci/amd_bus.c if (!range[j].end) range 147 arch/x86/pci/amd_bus.c if (start <= range[j].start && end >= range[j].end) { range 148 arch/x86/pci/amd_bus.c range[j].start = 0; range 149 arch/x86/pci/amd_bus.c range[j].end = 0; range 153 arch/x86/pci/amd_bus.c if (start <= range[j].start && end < range[j].end && range[j].start < end + 1) { range 154 arch/x86/pci/amd_bus.c range[j].start = end + 1; range 159 arch/x86/pci/amd_bus.c if (start > range[j].start && end >= range[j].end && range[j].end > start - 1) { range 160 arch/x86/pci/amd_bus.c range[j].end = start - 1; range 164 arch/x86/pci/amd_bus.c if (start > range[j].start && end < range[j].end) { range 167 arch/x86/pci/amd_bus.c if (range[i].end == 0) range 171 arch/x86/pci/amd_bus.c range[i].end = range[j].end; range 172 arch/x86/pci/amd_bus.c range[i].start = end + 1; range 176 arch/x86/pci/amd_bus.c range[j].end = start - 1; range 292 arch/x86/pci/amd_bus.c struct res_range range[RANGE_NUM]; range 360 arch/x86/pci/amd_bus.c memset(range, 0, sizeof(range)); range 361 arch/x86/pci/amd_bus.c range[0].end = 0xffff; range 391 arch/x86/pci/amd_bus.c update_range(range, start, end); range 403 arch/x86/pci/amd_bus.c if (!range[i].end) range 406 arch/x86/pci/amd_bus.c update_res(info, range[i].start, range[i].end, range 411 arch/x86/pci/amd_bus.c memset(range, 0, sizeof(range)); range 413 arch/x86/pci/amd_bus.c range[0].end = (0xfdULL<<32) - 1; range 421 arch/x86/pci/amd_bus.c update_range(range, 0, end - 1); range 428 arch/x86/pci/amd_bus.c update_range(range, fam10h_mmconf_start, fam10h_mmconf_end); range 483 arch/x86/pci/amd_bus.c update_range(range, start, endx); range 499 arch/x86/pci/amd_bus.c update_range(range, start, end); range 514 arch/x86/pci/amd_bus.c update_range(range, 1ULL<<32, end - 1); range 530 arch/x86/pci/amd_bus.c if (!range[i].end) range 533 arch/x86/pci/amd_bus.c update_res(info, range[i].start, range[i].end, range 447 block/genhd.c kobj_map(bdev_map, devt, range, module, probe, lock, data); range 454 block/genhd.c kobj_unmap(bdev_map, devt, range); range 328 block/ioctl.c uint64_t range[2]; range 333 block/ioctl.c if (copy_from_user(range, (void __user *)arg, sizeof(range))) range 336 block/ioctl.c return blk_ioctl_discard(bdev, range[0], range[1]); range 316 fs/ext3/namei.c u32 range = i < count - 1? (dx_get_hash(entries + 1) - hash): ~hash; range 318 fs/ext3/namei.c printk("%s%3u:%03u hash %8x/%8x ",levels?"":" ", i, block, hash, range); range 320 fs/ext4/namei.c u32 range = i < count - 1? (dx_get_hash(entries + 1) - hash): ~hash; range 322 fs/ext4/namei.c printk("%s%3u:%03u hash %8x/%8x ",levels?"":" ", i, block, hash, range); range 1495 fs/ocfs2/alloc.c u32 range; range 1524 fs/ocfs2/alloc.c range = le32_to_cpu(rec->e_cpos) + range 1526 fs/ocfs2/alloc.c if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) range 2056 fs/ocfs2/alloc.c unsigned int range; range 2070 fs/ocfs2/alloc.c range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); range 2071 fs/ocfs2/alloc.c if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) range 2256 fs/ocfs2/alloc.c u32 range; range 2266 fs/ocfs2/alloc.c range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); range 2273 fs/ocfs2/alloc.c rec->e_int_clusters = cpu_to_le32(range); range 3568 fs/ocfs2/alloc.c unsigned int range; range 3613 fs/ocfs2/alloc.c range = le32_to_cpu(rec->e_cpos) range 3615 fs/ocfs2/alloc.c BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range); range 6804 fs/ocfs2/alloc.c u32 clusters_to_del, new_highest_cpos, range; range 6868 fs/ocfs2/alloc.c range = le32_to_cpu(el->l_recs[i].e_cpos) + range 6874 fs/ocfs2/alloc.c } else if (range > new_highest_cpos) { range 64 fs/ocfs2/extent_map.c unsigned int range; range 70 fs/ocfs2/extent_map.c range = emi->ei_cpos + emi->ei_clusters; range 72 fs/ocfs2/extent_map.c if (cpos >= emi->ei_cpos && cpos < range) { range 118 fs/ocfs2/extent_map.c unsigned int range; range 130 fs/ocfs2/extent_map.c range = emi->ei_cpos + emi->ei_clusters; range 131 fs/ocfs2/extent_map.c if (range > cpos) { range 78 include/linux/connector.h __u32 range; range 179 include/linux/kprobes.h unsigned long range; range 40 include/linux/netfilter_ipv4/ip_queue.h size_t range; /* Optional range of packet requested */ range 16 include/linux/netfilter_ipv4/ipt_SAME.h struct nf_nat_range range[IPT_SAME_MAX_RANGE]; range 183 include/net/ip.h int range[2]; range 50 include/net/netfilter/nf_nat.h struct nf_nat_range range[1]; range 34 include/net/netfilter/nf_nat_protocol.h const struct nf_nat_range *range, range 39 include/net/netfilter/nf_nat_protocol.h const struct nf_nat_range *range); range 42 include/net/netfilter/nf_nat_protocol.h struct nf_nat_range *range); range 578 kernel/kprobes.c addr < (kb->start_addr + kb->range)) range 1081 kernel/kprobes.c kb->range = 0; range 1083 kernel/kprobes.c kb->range = size; range 37 net/ipv4/inet_connection_sock.c .range = { 32768, 61000 }, range 46 net/ipv4/inet_connection_sock.c *low = sysctl_local_ports.range[0]; range 47 net/ipv4/inet_connection_sock.c *high = sysctl_local_ports.range[1]; range 74 net/ipv4/netfilter/ip_queue.c copy_range = range; range 345 net/ipv4/netfilter/ip_queue.c status = __ipq_set_mode(mode, range); range 362 net/ipv4/netfilter/ip_queue.c pmsg->msg.mode.range); range 38 net/ipv4/netfilter/ipt_MASQUERADE.c if (mr->range[0].flags & IP_NAT_RANGE_MAP_IPS) { range 88 net/ipv4/netfilter/ipt_MASQUERADE.c { mr->range[0].flags | IP_NAT_RANGE_MAP_IPS, range 90 net/ipv4/netfilter/ipt_MASQUERADE.c mr->range[0].min, mr->range[0].max }); range 29 net/ipv4/netfilter/ipt_NETMAP.c if (!(mr->range[0].flags & IP_NAT_RANGE_MAP_IPS)) { range 54 net/ipv4/netfilter/ipt_NETMAP.c netmask = ~(mr->range[0].min_ip ^ mr->range[0].max_ip); range 61 net/ipv4/netfilter/ipt_NETMAP.c new_ip |= mr->range[0].min_ip & netmask; range 64 net/ipv4/netfilter/ipt_NETMAP.c { mr->range[0].flags | IP_NAT_RANGE_MAP_IPS, range 66 net/ipv4/netfilter/ipt_NETMAP.c mr->range[0].min, mr->range[0].max }); range 33 net/ipv4/netfilter/ipt_REDIRECT.c if (mr->range[0].flags & IP_NAT_RANGE_MAP_IPS) { range 80 net/ipv4/netfilter/ipt_REDIRECT.c { mr->range[0].flags | IP_NAT_RANGE_MAP_IPS, range 82 net/ipv4/netfilter/ipt_REDIRECT.c mr->range[0].min, mr->range[0].max }); range 114 net/ipv4/netfilter/nf_nat_core.c if (range->flags & IP_NAT_RANGE_MAP_IPS) { range 115 net/ipv4/netfilter/nf_nat_core.c if (ntohl(tuple->src.u3.ip) < ntohl(range->min_ip) || range 116 net/ipv4/netfilter/nf_nat_core.c ntohl(tuple->src.u3.ip) > ntohl(range->max_ip)) range 122 net/ipv4/netfilter/nf_nat_core.c if (!(range->flags & IP_NAT_RANGE_PROTO_SPECIFIED) || range 124 net/ipv4/netfilter/nf_nat_core.c &range->min, &range->max)) range 164 net/ipv4/netfilter/nf_nat_core.c if (in_range(result, range)) { range 191 net/ipv4/netfilter/nf_nat_core.c if (!(range->flags & IP_NAT_RANGE_MAP_IPS)) range 200 net/ipv4/netfilter/nf_nat_core.c if (range->min_ip == range->max_ip) { range 201 net/ipv4/netfilter/nf_nat_core.c *var_ipp = range->min_ip; range 211 net/ipv4/netfilter/nf_nat_core.c minip = ntohl(range->min_ip); range 212 net/ipv4/netfilter/nf_nat_core.c maxip = ntohl(range->max_ip); range 243 net/ipv4/netfilter/nf_nat_core.c !(range->flags & IP_NAT_RANGE_PROTO_RANDOM)) { range 244 net/ipv4/netfilter/nf_nat_core.c if (find_appropriate_src(net, orig_tuple, tuple, range)) { range 254 net/ipv4/netfilter/nf_nat_core.c find_best_ips_proto(tuple, range, ct, maniptype); range 263 net/ipv4/netfilter/nf_nat_core.c if (range->flags & IP_NAT_RANGE_PROTO_RANDOM) { range 264 net/ipv4/netfilter/nf_nat_core.c proto->unique_tuple(tuple, range, maniptype, ct); range 269 net/ipv4/netfilter/nf_nat_core.c if ((!(range->flags & IP_NAT_RANGE_PROTO_SPECIFIED) || range 270 net/ipv4/netfilter/nf_nat_core.c proto->in_range(tuple, maniptype, &range->min, &range->max)) && range 275 net/ipv4/netfilter/nf_nat_core.c proto->unique_tuple(tuple, range, maniptype, ct); range 312 net/ipv4/netfilter/nf_nat_core.c get_unique_tuple(&new_tuple, &curr_tuple, range, ct, maniptype); range 380 net/ipv4/netfilter/nf_nat_h323.c struct nf_nat_range range; range 391 net/ipv4/netfilter/nf_nat_h323.c range.flags = IP_NAT_RANGE_MAP_IPS; range 392 net/ipv4/netfilter/nf_nat_h323.c range.min_ip = range.max_ip = new->tuplehash[!this->dir].tuple.src.u3.ip; range 393 net/ipv4/netfilter/nf_nat_h323.c nf_nat_setup_info(new, &range, IP_NAT_MANIP_SRC); range 396 net/ipv4/netfilter/nf_nat_h323.c range.flags = (IP_NAT_RANGE_MAP_IPS | IP_NAT_RANGE_PROTO_SPECIFIED); range 397 net/ipv4/netfilter/nf_nat_h323.c range.min = range.max = this->saved_proto; range 398 net/ipv4/netfilter/nf_nat_h323.c range.min_ip = range.max_ip = range 400 net/ipv4/netfilter/nf_nat_h323.c nf_nat_setup_info(new, &range, IP_NAT_MANIP_DST); range 471 net/ipv4/netfilter/nf_nat_h323.c struct nf_nat_range range; range 477 net/ipv4/netfilter/nf_nat_h323.c range.flags = IP_NAT_RANGE_MAP_IPS; range 478 net/ipv4/netfilter/nf_nat_h323.c range.min_ip = range.max_ip = new->tuplehash[!this->dir].tuple.src.u3.ip; range 479 net/ipv4/netfilter/nf_nat_h323.c nf_nat_setup_info(new, &range, IP_NAT_MANIP_SRC); range 482 net/ipv4/netfilter/nf_nat_h323.c range.flags = (IP_NAT_RANGE_MAP_IPS | IP_NAT_RANGE_PROTO_SPECIFIED); range 483 net/ipv4/netfilter/nf_nat_h323.c range.min = range.max = this->saved_proto; range 484 net/ipv4/netfilter/nf_nat_h323.c range.min_ip = range.max_ip = this->saved_ip; range 485 net/ipv4/netfilter/nf_nat_h323.c nf_nat_setup_info(new, &range, IP_NAT_MANIP_DST); range 426 net/ipv4/netfilter/nf_nat_helper.c struct nf_nat_range range; range 432 net/ipv4/netfilter/nf_nat_helper.c range.flags = IP_NAT_RANGE_MAP_IPS; range 433 net/ipv4/netfilter/nf_nat_helper.c range.min_ip = range.max_ip range 435 net/ipv4/netfilter/nf_nat_helper.c nf_nat_setup_info(ct, &range, IP_NAT_MANIP_SRC); range 438 net/ipv4/netfilter/nf_nat_helper.c range.flags = (IP_NAT_RANGE_MAP_IPS | IP_NAT_RANGE_PROTO_SPECIFIED); range 439 net/ipv4/netfilter/nf_nat_helper.c range.min = range.max = exp->saved_proto; range 440 net/ipv4/netfilter/nf_nat_helper.c range.min_ip = range.max_ip range 442 net/ipv4/netfilter/nf_nat_helper.c nf_nat_setup_info(ct, &range, IP_NAT_MANIP_DST); range 49 net/ipv4/netfilter/nf_nat_pptp.c struct nf_nat_range range; range 90 net/ipv4/netfilter/nf_nat_pptp.c range.flags = IP_NAT_RANGE_MAP_IPS; range 91 net/ipv4/netfilter/nf_nat_pptp.c range.min_ip = range.max_ip range 94 net/ipv4/netfilter/nf_nat_pptp.c range.flags |= IP_NAT_RANGE_PROTO_SPECIFIED; range 95 net/ipv4/netfilter/nf_nat_pptp.c range.min = range.max = exp->saved_proto; range 97 net/ipv4/netfilter/nf_nat_pptp.c nf_nat_setup_info(ct, &range, IP_NAT_MANIP_SRC); range 100 net/ipv4/netfilter/nf_nat_pptp.c range.flags = IP_NAT_RANGE_MAP_IPS; range 101 net/ipv4/netfilter/nf_nat_pptp.c range.min_ip = range.max_ip range 104 net/ipv4/netfilter/nf_nat_pptp.c range.flags |= IP_NAT_RANGE_PROTO_SPECIFIED; range 105 net/ipv4/netfilter/nf_nat_pptp.c range.min = range.max = exp->saved_proto; range 107 net/ipv4/netfilter/nf_nat_pptp.c nf_nat_setup_info(ct, &range, IP_NAT_MANIP_DST); range 53 net/ipv4/netfilter/nf_nat_proto_common.c if (!(range->flags & IP_NAT_RANGE_PROTO_SPECIFIED)) { range 72 net/ipv4/netfilter/nf_nat_proto_common.c min = ntohs(range->min.all); range 73 net/ipv4/netfilter/nf_nat_proto_common.c range_size = ntohs(range->max.all) - min + 1; range 76 net/ipv4/netfilter/nf_nat_proto_common.c if (range->flags & IP_NAT_RANGE_PROTO_RANDOM) range 88 net/ipv4/netfilter/nf_nat_proto_common.c if (!(range->flags & IP_NAT_RANGE_PROTO_RANDOM)) range 100 net/ipv4/netfilter/nf_nat_proto_common.c NLA_PUT_BE16(skb, CTA_PROTONAT_PORT_MIN, range->min.all); range 101 net/ipv4/netfilter/nf_nat_proto_common.c NLA_PUT_BE16(skb, CTA_PROTONAT_PORT_MAX, range->max.all); range 113 net/ipv4/netfilter/nf_nat_proto_common.c range->min.all = nla_get_be16(tb[CTA_PROTONAT_PORT_MIN]); range 114 net/ipv4/netfilter/nf_nat_proto_common.c range->max.all = range->min.tcp.port; range 115 net/ipv4/netfilter/nf_nat_proto_common.c range->flags |= IP_NAT_RANGE_PROTO_SPECIFIED; range 118 net/ipv4/netfilter/nf_nat_proto_common.c range->max.all = nla_get_be16(tb[CTA_PROTONAT_PORT_MAX]); range 119 net/ipv4/netfilter/nf_nat_proto_common.c range->flags |= IP_NAT_RANGE_PROTO_SPECIFIED; range 31 net/ipv4/netfilter/nf_nat_proto_dccp.c return nf_nat_proto_unique_tuple(tuple, range, maniptype, ct, range 60 net/ipv4/netfilter/nf_nat_proto_gre.c if (!(range->flags & IP_NAT_RANGE_PROTO_SPECIFIED)) { range 65 net/ipv4/netfilter/nf_nat_proto_gre.c min = ntohs(range->min.gre.key); range 66 net/ipv4/netfilter/nf_nat_proto_gre.c range_size = ntohs(range->max.gre.key) - min + 1; range 40 net/ipv4/netfilter/nf_nat_proto_icmp.c range_size = ntohs(range->max.icmp.id) - ntohs(range->min.icmp.id) + 1; range 42 net/ipv4/netfilter/nf_nat_proto_icmp.c if (!(range->flags & IP_NAT_RANGE_PROTO_SPECIFIED)) range 46 net/ipv4/netfilter/nf_nat_proto_icmp.c tuple->src.u.icmp.id = htons(ntohs(range->min.icmp.id) + range 25 net/ipv4/netfilter/nf_nat_proto_sctp.c return nf_nat_proto_unique_tuple(tuple, range, maniptype, ct, range 29 net/ipv4/netfilter/nf_nat_proto_tcp.c return nf_nat_proto_unique_tuple(tuple, range, maniptype, ct, range 28 net/ipv4/netfilter/nf_nat_proto_udp.c return nf_nat_proto_unique_tuple(tuple, range, maniptype, ct, range 27 net/ipv4/netfilter/nf_nat_proto_udplite.c return nf_nat_proto_unique_tuple(tuple, range, maniptype, ct, range 86 net/ipv4/netfilter/nf_nat_rule.c return nf_nat_setup_info(ct, &mr->range[0], IP_NAT_MANIP_SRC); range 124 net/ipv4/netfilter/nf_nat_rule.c mr->range[0].flags & IP_NAT_RANGE_MAP_IPS) range 126 net/ipv4/netfilter/nf_nat_rule.c mr->range[0].min_ip); range 128 net/ipv4/netfilter/nf_nat_rule.c return nf_nat_setup_info(ct, &mr->range[0], IP_NAT_MANIP_DST); range 166 net/ipv4/netfilter/nf_nat_rule.c struct nf_nat_range range range 171 net/ipv4/netfilter/nf_nat_rule.c return nf_nat_setup_info(ct, &range, HOOK2MANIP(hooknum)); range 214 net/ipv4/netfilter/nf_nat_sip.c struct nf_nat_range range; range 220 net/ipv4/netfilter/nf_nat_sip.c range.flags = (IP_NAT_RANGE_MAP_IPS | IP_NAT_RANGE_PROTO_SPECIFIED); range 221 net/ipv4/netfilter/nf_nat_sip.c range.min = range.max = exp->saved_proto; range 222 net/ipv4/netfilter/nf_nat_sip.c range.min_ip = range.max_ip = exp->saved_ip; range 223 net/ipv4/netfilter/nf_nat_sip.c nf_nat_setup_info(ct, &range, IP_NAT_MANIP_DST); range 229 net/ipv4/netfilter/nf_nat_sip.c range.flags = IP_NAT_RANGE_MAP_IPS; range 230 net/ipv4/netfilter/nf_nat_sip.c range.min_ip = range.max_ip range 232 net/ipv4/netfilter/nf_nat_sip.c nf_nat_setup_info(ct, &range, IP_NAT_MANIP_SRC); range 33 net/ipv4/sysctl_net_ipv4.c sysctl_local_ports.range[0] = range[0]; range 34 net/ipv4/sysctl_net_ipv4.c sysctl_local_ports.range[1] = range[1]; range 44 net/ipv4/sysctl_net_ipv4.c int range[2]; range 46 net/ipv4/sysctl_net_ipv4.c .data = &range, range 47 net/ipv4/sysctl_net_ipv4.c .maxlen = sizeof(range), range 53 net/ipv4/sysctl_net_ipv4.c inet_get_local_port_range(range, range + 1); range 57 net/ipv4/sysctl_net_ipv4.c if (range[1] < range[0]) range 60 net/ipv4/sysctl_net_ipv4.c set_local_port_range(range); range 73 net/ipv4/sysctl_net_ipv4.c int range[2]; range 75 net/ipv4/sysctl_net_ipv4.c .data = &range, range 76 net/ipv4/sysctl_net_ipv4.c .maxlen = sizeof(range), range 82 net/ipv4/sysctl_net_ipv4.c inet_get_local_port_range(range, range + 1); range 85 net/ipv4/sysctl_net_ipv4.c if (range[1] < range[0]) range 88 net/ipv4/sysctl_net_ipv4.c set_local_port_range(range); range 396 net/ipv4/sysctl_net_ipv4.c .data = &sysctl_local_ports.range, range 397 net/ipv4/sysctl_net_ipv4.c .maxlen = sizeof(sysctl_local_ports.range), range 77 net/ipv6/netfilter/ip6_queue.c copy_range = range; range 347 net/ipv6/netfilter/ip6_queue.c status = __ipq_set_mode(mode, range); range 364 net/ipv6/netfilter/ip6_queue.c pmsg->msg.mode.range); range 1305 net/key/af_key.c struct sadb_spirange *range; range 1367 net/key/af_key.c range = ext_hdrs[SADB_EXT_SPIRANGE-1]; range 1368 net/key/af_key.c if (range) { range 1369 net/key/af_key.c min_spi = range->sadb_spirange_min; range 1370 net/key/af_key.c max_spi = range->sadb_spirange_max; range 185 net/mac80211/wext.c struct iw_range *range = (struct iw_range *) extra; range 190 net/mac80211/wext.c memset(range, 0, sizeof(struct iw_range)); range 192 net/mac80211/wext.c range->we_version_compiled = WIRELESS_EXT; range 193 net/mac80211/wext.c range->we_version_source = 21; range 194 net/mac80211/wext.c range->retry_capa = IW_RETRY_LIMIT; range 195 net/mac80211/wext.c range->retry_flags = IW_RETRY_LIMIT; range 196 net/mac80211/wext.c range->min_retry = 0; range 197 net/mac80211/wext.c range->max_retry = 255; range 198 net/mac80211/wext.c range->min_rts = 0; range 199 net/mac80211/wext.c range->max_rts = 2347; range 200 net/mac80211/wext.c range->min_frag = 256; range 201 net/mac80211/wext.c range->max_frag = 2346; range 203 net/mac80211/wext.c range->encoding_size[0] = 5; range 204 net/mac80211/wext.c range->encoding_size[1] = 13; range 205 net/mac80211/wext.c range->num_encoding_sizes = 2; range 206 net/mac80211/wext.c range->max_encoding_tokens = NUM_DEFAULT_KEYS; range 210 net/mac80211/wext.c range->max_qual.level = local->hw.max_signal; range 212 net/mac80211/wext.c range->max_qual.level = -110; range 214 net/mac80211/wext.c range->max_qual.level = 0; range 217 net/mac80211/wext.c range->max_qual.noise = -110; range 219 net/mac80211/wext.c range->max_qual.noise = 0; range 221 net/mac80211/wext.c range->max_qual.qual = 100; range 222 net/mac80211/wext.c range->max_qual.updated = local->wstats_flags; range 224 net/mac80211/wext.c range->avg_qual.qual = 50; range 226 net/mac80211/wext.c range->avg_qual.level = range->max_qual.level / 2; range 227 net/mac80211/wext.c range->avg_qual.noise = range->max_qual.noise / 2; range 228 net/mac80211/wext.c range->avg_qual.updated = local->wstats_flags; range 230 net/mac80211/wext.c range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2 | range 247 net/mac80211/wext.c range->freq[c].i = range 250 net/mac80211/wext.c range->freq[c].m = chan->center_freq; range 251 net/mac80211/wext.c range->freq[c].e = 6; range 256 net/mac80211/wext.c range->num_channels = c; range 257 net/mac80211/wext.c range->num_frequency = c; range 259 net/mac80211/wext.c IW_EVENT_CAPA_SET_KERNEL(range->event_capa); range 260 net/mac80211/wext.c IW_EVENT_CAPA_SET(range->event_capa, SIOCGIWAP); range 261 net/mac80211/wext.c IW_EVENT_CAPA_SET(range->event_capa, SIOCGIWSCAN); range 263 net/mac80211/wext.c range->scan_capa |= IW_SCAN_CAPA_ESSID; range 712 net/netfilter/nf_conntrack_netlink.c err = npt->nlattr_to_range(tb, range); range 729 net/netfilter/nf_conntrack_netlink.c memset(range, 0, sizeof(*range)); range 736 net/netfilter/nf_conntrack_netlink.c range->min_ip = nla_get_be32(tb[CTA_NAT_MINIP]); range 739 net/netfilter/nf_conntrack_netlink.c range->max_ip = range->min_ip; range 741 net/netfilter/nf_conntrack_netlink.c range->max_ip = nla_get_be32(tb[CTA_NAT_MAXIP]); range 743 net/netfilter/nf_conntrack_netlink.c if (range->min_ip) range 744 net/netfilter/nf_conntrack_netlink.c range->flags |= IP_NAT_RANGE_MAP_IPS; range 749 net/netfilter/nf_conntrack_netlink.c err = nfnetlink_parse_nat_proto(tb[CTA_NAT_PROTO], ct, range); range 904 net/netfilter/nf_conntrack_netlink.c struct nf_nat_range range; range 908 net/netfilter/nf_conntrack_netlink.c &range) < 0) range 912 net/netfilter/nf_conntrack_netlink.c nf_nat_setup_info(ct, &range, IP_NAT_MANIP_DST); range 916 net/netfilter/nf_conntrack_netlink.c &range) < 0) range 920 net/netfilter/nf_conntrack_netlink.c nf_nat_setup_info(ct, &range, IP_NAT_MANIP_SRC); range 224 net/netfilter/nfnetlink_log.c range, NFULNL_COPY_RANGE_MAX); range 492 net/netfilter/nfnetlink_queue.c if (range > 0xffff) range 495 net/netfilter/nfnetlink_queue.c queue->copy_range = range; range 42 net/phonet/sysctl.c local_port_range[0] = range[0]; range 43 net/phonet/sysctl.c local_port_range[1] = range[1]; range 64 net/phonet/sysctl.c int range[2] = {local_port_range[0], local_port_range[1]}; range 66 net/phonet/sysctl.c .data = &range, range 67 net/phonet/sysctl.c .maxlen = sizeof(range), range 76 net/phonet/sysctl.c if (range[1] < range[0]) range 79 net/phonet/sysctl.c set_local_port_range(range); range 1303 net/sunrpc/xprtsock.c unsigned short range = xprt_max_resvport - xprt_min_resvport; range 1304 net/sunrpc/xprtsock.c unsigned short rand = (unsigned short) net_random() % range; range 30 security/selinux/ss/context.h struct mls_range range; range 37 security/selinux/ss/context.h memset(&c->range, 0, sizeof(c->range)); range 47 security/selinux/ss/context.h dst->range.level[0].sens = src->range.level[0].sens; range 48 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); range 52 security/selinux/ss/context.h dst->range.level[1].sens = src->range.level[1].sens; range 53 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); range 55 security/selinux/ss/context.h ebitmap_destroy(&dst->range.level[0].cat); range 70 security/selinux/ss/context.h dst->range.level[0].sens = src->range.level[0].sens; range 71 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); range 75 security/selinux/ss/context.h dst->range.level[1].sens = src->range.level[0].sens; range 76 security/selinux/ss/context.h rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[0].cat); range 78 security/selinux/ss/context.h ebitmap_destroy(&dst->range.level[0].cat); range 88 security/selinux/ss/context.h return ((c1->range.level[0].sens == c2->range.level[0].sens) && range 89 security/selinux/ss/context.h ebitmap_cmp(&c1->range.level[0].cat, &c2->range.level[0].cat) && range 90 security/selinux/ss/context.h (c1->range.level[1].sens == c2->range.level[1].sens) && range 91 security/selinux/ss/context.h ebitmap_cmp(&c1->range.level[1].cat, &c2->range.level[1].cat)); range 99 security/selinux/ss/context.h ebitmap_destroy(&c->range.level[0].cat); range 100 security/selinux/ss/context.h ebitmap_destroy(&c->range.level[1].cat); range 47 security/selinux/ss/mls.c int index_sens = context->range.level[l].sens; range 53 security/selinux/ss/mls.c e = &context->range.level[l].cat; range 72 security/selinux/ss/mls.c if (mls_level_eq(&context->range.level[0], range 73 security/selinux/ss/mls.c &context->range.level[1])) range 106 security/selinux/ss/mls.c policydb.p_sens_val_to_name[context->range.level[l].sens - 1]); range 112 security/selinux/ss/mls.c e = &context->range.level[l].cat; range 148 security/selinux/ss/mls.c if (mls_level_eq(&context->range.level[0], range 149 security/selinux/ss/mls.c &context->range.level[1])) range 206 security/selinux/ss/mls.c if (!mls_range_isvalid(p, &c->range)) range 218 security/selinux/ss/mls.c if (!mls_range_contains(usrdatum->range, c->range)) range 296 security/selinux/ss/mls.c context->range.level[l].sens = levdatum->level->sens; range 322 security/selinux/ss/mls.c rc = ebitmap_set_bit(&context->range.level[l].cat, range 343 security/selinux/ss/mls.c rc = ebitmap_set_bit(&context->range.level[l].cat, i, 1); range 367 security/selinux/ss/mls.c context->range.level[1].sens = context->range.level[0].sens; range 368 security/selinux/ss/mls.c rc = ebitmap_cpy(&context->range.level[1].cat, range 369 security/selinux/ss/mls.c &context->range.level[0].cat); range 417 security/selinux/ss/mls.c context->range.level[l].sens = range->level[l].sens; range 418 security/selinux/ss/mls.c rc = ebitmap_cpy(&context->range.level[l].cat, range 419 security/selinux/ss/mls.c &range->level[l].cat); range 431 security/selinux/ss/mls.c struct mls_level *fromcon_sen = &(fromcon->range.level[0]); range 432 security/selinux/ss/mls.c struct mls_level *fromcon_clr = &(fromcon->range.level[1]); range 433 security/selinux/ss/mls.c struct mls_level *user_low = &(user->range.level[0]); range 434 security/selinux/ss/mls.c struct mls_level *user_clr = &(user->range.level[1]); range 436 security/selinux/ss/mls.c struct mls_level *usercon_sen = &(usercon->range.level[0]); range 437 security/selinux/ss/mls.c struct mls_level *usercon_clr = &(usercon->range.level[1]); range 485 security/selinux/ss/mls.c oldp->p_sens_val_to_name[c->range.level[l].sens - 1]); range 489 security/selinux/ss/mls.c c->range.level[l].sens = levdatum->level->sens; range 492 security/selinux/ss/mls.c ebitmap_for_each_positive_bit(&c->range.level[l].cat, node, i) { range 503 security/selinux/ss/mls.c ebitmap_destroy(&c->range.level[l].cat); range 504 security/selinux/ss/mls.c c->range.level[l].cat = bitmap; range 567 security/selinux/ss/mls.c secattr->attr.mls.lvl = context->range.level[0].sens - 1; range 587 security/selinux/ss/mls.c context->range.level[0].sens = secattr->attr.mls.lvl + 1; range 588 security/selinux/ss/mls.c context->range.level[1].sens = context->range.level[0].sens; range 609 security/selinux/ss/mls.c rc = ebitmap_netlbl_export(&context->range.level[0].cat, range 637 security/selinux/ss/mls.c rc = ebitmap_netlbl_import(&context->range.level[0].cat, range 642 security/selinux/ss/mls.c rc = ebitmap_cpy(&context->range.level[1].cat, range 643 security/selinux/ss/mls.c &context->range.level[0].cat); range 650 security/selinux/ss/mls.c ebitmap_destroy(&context->range.level[0].cat); range 651 security/selinux/ss/mls.c ebitmap_destroy(&context->range.level[1].cat); range 577 security/selinux/ss/policydb.c ebitmap_destroy(&usrdatum->range.level[0].cat); range 578 security/selinux/ss/policydb.c ebitmap_destroy(&usrdatum->range.level[1].cat); range 905 security/selinux/ss/policydb.c if (mls_read_range_helper(&c->range, fp)) { range 1390 security/selinux/ss/policydb.c rc = mls_read_range_helper(&usrdatum->range, fp); range 95 security/selinux/ss/policydb.h struct mls_range range; /* MLS range (min - max) for user */ range 173 security/selinux/ss/services.c l1 = &(scontext->range.level[0]); range 174 security/selinux/ss/services.c l2 = &(tcontext->range.level[0]); range 177 security/selinux/ss/services.c l1 = &(scontext->range.level[0]); range 178 security/selinux/ss/services.c l2 = &(tcontext->range.level[1]); range 181 security/selinux/ss/services.c l1 = &(scontext->range.level[1]); range 182 security/selinux/ss/services.c l2 = &(tcontext->range.level[0]); range 185 security/selinux/ss/services.c l1 = &(scontext->range.level[1]); range 186 security/selinux/ss/services.c l2 = &(tcontext->range.level[1]); range 189 security/selinux/ss/services.c l1 = &(scontext->range.level[0]); range 190 security/selinux/ss/services.c l2 = &(scontext->range.level[1]); range 193 security/selinux/ss/services.c l1 = &(tcontext->range.level[0]); range 194 security/selinux/ss/services.c l2 = &(tcontext->range.level[1]); range 2775 security/selinux/ss/services.c &ctxt->range.level[0] : &ctxt->range.level[1]); range 2778 security/selinux/ss/services.c match = mls_level_eq(&rule->au_ctxt.range.level[0], range 2782 security/selinux/ss/services.c match = !mls_level_eq(&rule->au_ctxt.range.level[0], range 2786 security/selinux/ss/services.c match = (mls_level_dom(&rule->au_ctxt.range.level[0], range 2788 security/selinux/ss/services.c !mls_level_eq(&rule->au_ctxt.range.level[0], range 2792 security/selinux/ss/services.c match = mls_level_dom(&rule->au_ctxt.range.level[0], range 2797 security/selinux/ss/services.c &rule->au_ctxt.range.level[0]) && range 2799 security/selinux/ss/services.c &rule->au_ctxt.range.level[0])); range 2803 security/selinux/ss/services.c &rule->au_ctxt.range.level[0]); range 2916 security/selinux/ss/services.c if (ebitmap_netlbl_import(&ctx_new.range.level[0].cat, range 2919 security/selinux/ss/services.c memcpy(&ctx_new.range.level[1].cat, range 2920 security/selinux/ss/services.c &ctx_new.range.level[0].cat, range 2921 security/selinux/ss/services.c sizeof(ctx_new.range.level[0].cat)); range 2932 security/selinux/ss/services.c ebitmap_destroy(&ctx_new.range.level[0].cat); range 2942 security/selinux/ss/services.c ebitmap_destroy(&ctx_new.range.level[0].cat); range 85 sound/isa/gus/gus_volume.c unsigned short range, increment, value, i; range 93 sound/isa/gus/gus_volume.c range = 4; range 99 sound/isa/gus/gus_volume.c range = i; range 104 sound/isa/gus/gus_volume.c if (range == 4) { range 105 sound/isa/gus/gus_volume.c range = 3; range 109 sound/isa/gus/gus_volume.c return (range << 6) | (increment & 0x3f); range 1602 sound/oss/sequencer.c if (!range) range 1608 sound/oss/sequencer.c if (range >= 8192) range 1609 sound/oss/sequencer.c range = 8192; range 1611 sound/oss/sequencer.c bend = bend * range / 8192; /* Convert to cents */ range 1621 sound/oss/sequencer.c if (bend > range) range 1622 sound/oss/sequencer.c bend = range; range 73 sound/usb/caiaq/caiaq-input.c #define DEG90 (range / 2) range 74 sound/usb/caiaq/caiaq-input.c #define DEG180 (range) range 89 sound/usb/caiaq/caiaq-input.c int range = HIGH_PEAK - LOW_PEAK; range 92 sound/usb/caiaq/caiaq-input.c weight_b = abs(mid_value - a) - (range / 2 - 100) / 2;