gap 569 arch/mips/boot/elf2ecoff.c uint32_t gap = ph[i].p_vaddr - cur_vma; gap 571 arch/mips/boot/elf2ecoff.c if (gap > 65536) { gap 574 arch/mips/boot/elf2ecoff.c gap); gap 579 arch/mips/boot/elf2ecoff.c gap); gap 581 arch/mips/boot/elf2ecoff.c while (gap) { gap 584 arch/mips/boot/elf2ecoff.c (gap > gap 586 arch/mips/boot/elf2ecoff.c obuf : gap)); gap 593 arch/mips/boot/elf2ecoff.c gap -= count; gap 264 arch/powerpc/mm/book3s64/radix_pgtable.c unsigned long gap, previous_size; gap 267 arch/powerpc/mm/book3s64/radix_pgtable.c gap = next_boundary(addr, end) - addr; gap 271 arch/powerpc/mm/book3s64/radix_pgtable.c if (IS_ALIGNED(addr, PUD_SIZE) && gap >= PUD_SIZE && gap 275 arch/powerpc/mm/book3s64/radix_pgtable.c } else if (IS_ALIGNED(addr, PMD_SIZE) && gap >= PMD_SIZE && gap 68 arch/powerpc/mm/mmap.c unsigned long gap = rlim_stack->rlim_cur; gap 72 arch/powerpc/mm/mmap.c if (gap + pad > gap) gap 73 arch/powerpc/mm/mmap.c gap += pad; gap 75 arch/powerpc/mm/mmap.c if (gap < MIN_GAP) gap 76 arch/powerpc/mm/mmap.c gap = MIN_GAP; gap 77 arch/powerpc/mm/mmap.c else if (gap > MAX_GAP) gap 78 arch/powerpc/mm/mmap.c gap = MAX_GAP; gap 80 arch/powerpc/mm/mmap.c return PAGE_ALIGN(DEFAULT_MAP_WINDOW - gap - rnd); gap 52 arch/s390/mm/mmap.c unsigned long gap = rlim_stack->rlim_cur; gap 57 arch/s390/mm/mmap.c if (gap + pad > gap) gap 58 arch/s390/mm/mmap.c gap += pad; gap 67 arch/s390/mm/mmap.c if (gap < gap_min) gap 68 arch/s390/mm/mmap.c gap = gap_min; gap 69 arch/s390/mm/mmap.c else if (gap > gap_max) gap 70 arch/s390/mm/mmap.c gap = gap_max; gap 72 arch/s390/mm/mmap.c return PAGE_ALIGN(STACK_TOP - gap - rnd); gap 283 arch/sparc/kernel/sys_sparc_64.c unsigned long gap; gap 289 arch/sparc/kernel/sys_sparc_64.c gap = rlim_stack->rlim_cur; gap 292 arch/sparc/kernel/sys_sparc_64.c gap == RLIM_INFINITY || gap 300 arch/sparc/kernel/sys_sparc_64.c if (gap < 128 * 1024 * 1024) gap 301 arch/sparc/kernel/sys_sparc_64.c gap = 128 * 1024 * 1024; gap 302 arch/sparc/kernel/sys_sparc_64.c if (gap > (task_size / 6 * 5)) gap 303 arch/sparc/kernel/sys_sparc_64.c gap = (task_size / 6 * 5); gap 305 arch/sparc/kernel/sys_sparc_64.c mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); gap 371 arch/x86/events/intel/bts.c unsigned long head, space, next_space, pad, gap, skip, wakeup; gap 394 arch/x86/events/intel/bts.c gap = buf_size(phys->page) - phys->displacement - phys->size + gap 396 arch/x86/events/intel/bts.c skip = pad + gap; gap 621 arch/x86/kernel/e820.c unsigned long gap = last - end; gap 623 arch/x86/kernel/e820.c if (gap >= *gapsize) { gap 624 arch/x86/kernel/e820.c *gapsize = gap; gap 83 arch/x86/mm/mmap.c unsigned long gap = rlim_stack->rlim_cur; gap 88 arch/x86/mm/mmap.c if (gap + pad > gap) gap 89 arch/x86/mm/mmap.c gap += pad; gap 98 arch/x86/mm/mmap.c if (gap < gap_min) gap 99 arch/x86/mm/mmap.c gap = gap_min; gap 100 arch/x86/mm/mmap.c else if (gap > gap_max) gap 101 arch/x86/mm/mmap.c gap = gap_max; gap 103 arch/x86/mm/mmap.c return PAGE_ALIGN(task_size - gap - rnd); gap 2591 drivers/block/floppy.c GAP = _floppy->gap; gap 510 drivers/bluetooth/btmrvl_main.c u16 gpio, gap; gap 520 drivers/bluetooth/btmrvl_main.c &gap); gap 522 drivers/bluetooth/btmrvl_main.c gap = (u8)(priv->btmrvl_dev.gpio_gap & 0x00ff); gap 524 drivers/bluetooth/btmrvl_main.c priv->btmrvl_dev.gpio_gap = (gpio << 8) + gap; gap 3064 drivers/bluetooth/btusb.c u16 pin, gap, opcode; gap 3070 drivers/bluetooth/btusb.c of_property_read_u16(dev->of_node, "marvell,wakeup-gap-ms", &gap)) gap 3079 drivers/bluetooth/btusb.c cmd[4] = gap; /* time in ms, for which wakeup pin should be asserted */ gap 211 drivers/clk/mmp/clk-mix.c unsigned long gap, gap_best; gap 231 drivers/clk/mmp/clk-mix.c gap = abs(mix_rate - req->rate); gap 232 drivers/clk/mmp/clk-mix.c if (!parent_best || gap < gap_best) { gap 236 drivers/clk/mmp/clk-mix.c gap_best = gap; gap 249 drivers/clk/mmp/clk-mix.c gap = abs(mix_rate - req->rate); gap 250 drivers/clk/mmp/clk-mix.c if (!parent_best || gap < gap_best) { gap 254 drivers/clk/mmp/clk-mix.c gap_best = gap; gap 2207 drivers/hid/wacom_sys.c char *gap = strstr(name, " "); gap 2208 drivers/hid/wacom_sys.c if (gap == NULL) gap 2211 drivers/hid/wacom_sys.c memmove(gap, gap+1, strlen(gap)); gap 575 drivers/hv/hv_balloon.c struct hv_hotadd_gap *gap; gap 582 drivers/hv/hv_balloon.c list_for_each_entry(gap, &has->gap_list, list) { gap 583 drivers/hv/hv_balloon.c if ((pfn >= gap->start_pfn) && (pfn < gap->end_pfn)) gap 791 drivers/hv/hv_balloon.c struct hv_hotadd_gap *gap; gap 810 drivers/hv/hv_balloon.c gap = kzalloc(sizeof(struct hv_hotadd_gap), GFP_ATOMIC); gap 811 drivers/hv/hv_balloon.c if (!gap) { gap 816 drivers/hv/hv_balloon.c INIT_LIST_HEAD(&gap->list); gap 817 drivers/hv/hv_balloon.c gap->start_pfn = has->covered_end_pfn; gap 818 drivers/hv/hv_balloon.c gap->end_pfn = start_pfn; gap 819 drivers/hv/hv_balloon.c list_add_tail(&gap->list, &has->gap_list); gap 1719 drivers/hv/hv_balloon.c struct hv_hotadd_gap *gap, *tmp_gap; gap 1736 drivers/hv/hv_balloon.c list_for_each_entry_safe(gap, tmp_gap, &has->gap_list, list) { gap 1737 drivers/hv/hv_balloon.c list_del(&gap->list); gap 1738 drivers/hv/hv_balloon.c kfree(gap); gap 703 drivers/media/i2c/mt9m111.c unsigned int gap, gap_best = (unsigned int) -1; gap 735 drivers/media/i2c/mt9m111.c gap = abs(fps - req_fps); gap 736 drivers/media/i2c/mt9m111.c if (gap < gap_best) { gap 738 drivers/media/i2c/mt9m111.c gap_best = gap; gap 187 drivers/media/pci/bt8xx/bttv-input.c u32 gap, rc5, scancode; gap 193 drivers/media/pci/bt8xx/bttv-input.c gap = ktime_to_us(ktime_sub(tv, ir->base_time)); gap 195 drivers/media/pci/bt8xx/bttv-input.c if (gap > USEC_PER_SEC) { gap 196 drivers/media/pci/bt8xx/bttv-input.c gap = 200000; gap 202 drivers/media/pci/bt8xx/bttv-input.c if (gap < 28000) { gap 240 drivers/media/pci/bt8xx/bttv-input.c u32 gap; gap 250 drivers/media/pci/bt8xx/bttv-input.c gap = ktime_to_us(ktime_sub(tv, ir->base_time)); gap 252 drivers/media/pci/bt8xx/bttv-input.c if (gap > USEC_PER_SEC) { gap 253 drivers/media/pci/bt8xx/bttv-input.c gap = 200000; gap 257 drivers/media/pci/bt8xx/bttv-input.c gap, (gpio & 0x20) ? "mark" : "space"); gap 268 drivers/media/pci/bt8xx/bttv-input.c ir->last_bit = (gap - ir_rc5_remote_gap / 2) / gap 394 drivers/media/pci/ddbridge/ddbridge-core.c u32 gap = 4, nco = 0; gap 397 drivers/media/pci/ddbridge/ddbridge-core.c if (output->port->gap != 0xffffffff) { gap 399 drivers/media/pci/ddbridge/ddbridge-core.c gap = output->port->gap; gap 408 drivers/media/pci/ddbridge/ddbridge-core.c gap = 0; gap 445 drivers/media/pci/ddbridge/ddbridge-core.c gap = ((max_bitrate - bitrate) * 94) / bitrate; gap 446 drivers/media/pci/ddbridge/ddbridge-core.c if (gap < 2) gap 449 drivers/media/pci/ddbridge/ddbridge-core.c gap -= 2; gap 450 drivers/media/pci/ddbridge/ddbridge-core.c if (gap > 127) gap 451 drivers/media/pci/ddbridge/ddbridge-core.c gap = 127; gap 454 drivers/media/pci/ddbridge/ddbridge-core.c *con2 = (nco << 16) | gap; gap 2385 drivers/media/pci/ddbridge/ddbridge-core.c port->gap = 0xffffffff; gap 2987 drivers/media/pci/ddbridge/ddbridge-core.c return sprintf(buf, "%d\n", dev->port[num].gap); gap 3003 drivers/media/pci/ddbridge/ddbridge-core.c dev->port[num].gap = val; gap 270 drivers/media/pci/ddbridge/ddbridge.h u32 gap; gap 63 drivers/media/rc/lirc_dev.c if (dev->gap) gap 67 drivers/media/rc/lirc_dev.c dev->gap = true; gap 75 drivers/media/rc/lirc_dev.c if (dev->gap) { gap 89 drivers/media/rc/lirc_dev.c dev->gap = false; gap 1637 drivers/mtd/chips/cfi_cmdset_0001.c int gap = ofs - bus_ofs; gap 1641 drivers/mtd/chips/cfi_cmdset_0001.c n = min_t(int, len, map_bankwidth(map)-gap); gap 1643 drivers/mtd/chips/cfi_cmdset_0001.c datum = map_word_load_partial(map, datum, buf, gap, n); gap 2262 drivers/mtd/chips/cfi_cmdset_0001.c int gap = offset - bus_ofs; gap 2263 drivers/mtd/chips/cfi_cmdset_0001.c int n = min_t(int, size, map_bankwidth(map)-gap); gap 2266 drivers/mtd/chips/cfi_cmdset_0001.c datum = map_word_load_partial(map, datum, buf, gap, n); gap 1397 drivers/mtd/chips/cfi_cmdset_0002.c int gap = adr - bus_ofs; gap 1398 drivers/mtd/chips/cfi_cmdset_0002.c int n = min_t(int, len, map_bankwidth(map) - gap); gap 1408 drivers/mtd/chips/cfi_cmdset_0002.c datum = map_word_load_partial(map, datum, buf, gap, n); gap 437 drivers/mtd/devices/lart.c int gap = BUSWIDTH - (from & (BUSWIDTH - 1)); gap 439 drivers/mtd/devices/lart.c while (len && gap--) *buf++ = read8 (from++), len--; gap 516 drivers/mtd/devices/lart.c int gap = to - aligned; gap 520 drivers/mtd/devices/lart.c while (gap--) tmp[i++] = 0xFF; gap 178 drivers/net/bonding/bond_alb.c long long gap = compute_gap(slave); gap 180 drivers/net/bonding/bond_alb.c if (max_gap < gap) { gap 182 drivers/net/bonding/bond_alb.c max_gap = gap; gap 219 drivers/net/ethernet/amd/declance.c short gap[4]; gap 760 drivers/net/ethernet/hisilicon/hns/hns_enet.c u32 gap = (new_param > old_param) ? new_param - old_param gap 763 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (gap > 8) gap 764 drivers/net/ethernet/hisilicon/hns/hns_enet.c gap >>= 3; gap 767 drivers/net/ethernet/hisilicon/hns/hns_enet.c return old_param + gap; gap 769 drivers/net/ethernet/hisilicon/hns/hns_enet.c return old_param - gap; gap 3292 drivers/net/wireless/cisco/airo.c u16 len, hdrlen = 0, gap, fid; gap 3350 drivers/net/wireless/cisco/airo.c gap = le16_to_cpu(v); gap 3351 drivers/net/wireless/cisco/airo.c if (gap) { gap 3352 drivers/net/wireless/cisco/airo.c if (gap <= 8) { gap 3353 drivers/net/wireless/cisco/airo.c bap_read(ai, tmpbuf, gap, BAP0); gap 3716 drivers/net/wireless/cisco/airo.c u16 gap; gap 3749 drivers/net/wireless/cisco/airo.c gap = get_unaligned_le16(ptr); gap 3751 drivers/net/wireless/cisco/airo.c if (gap) { gap 3752 drivers/net/wireless/cisco/airo.c if (gap <= 8) gap 3753 drivers/net/wireless/cisco/airo.c ptr += gap; gap 197 drivers/net/wireless/marvell/libertas/cmd.c cmd_config.gap = priv->wol_gap; gap 850 drivers/net/wireless/marvell/libertas/host.h uint16_t gap; gap 3501 drivers/net/wireless/marvell/mwifiex/cfg80211.c hs_cfg.gap = adapter->hs_cfg.gap; gap 1191 drivers/net/wireless/marvell/mwifiex/cmdevt.c phs_cfg->params.hs_config.gap); gap 775 drivers/net/wireless/marvell/mwifiex/debugfs.c u32 gpio = HS_CFG_GPIO_DEF, gap = HS_CFG_GAP_DEF; gap 781 drivers/net/wireless/marvell/mwifiex/debugfs.c arg_num = sscanf(buf, "%d %x %x", &conditions, &gpio, &gap); gap 807 drivers/net/wireless/marvell/mwifiex/debugfs.c hscfg.gap = gap; gap 842 drivers/net/wireless/marvell/mwifiex/debugfs.c hscfg.gpio, hscfg.gap); gap 1303 drivers/net/wireless/marvell/mwifiex/fw.h u8 gap; gap 275 drivers/net/wireless/marvell/mwifiex/init.c adapter->hs_cfg.gap = HS_CFG_GAP_DEF; gap 283 drivers/net/wireless/marvell/mwifiex/ioctl.h u32 gap; gap 403 drivers/net/wireless/marvell/mwifiex/sta_cmd.c hs_cfg->params.hs_config.gap = hscfg_param->gap; gap 420 drivers/net/wireless/marvell/mwifiex/sta_cmd.c hs_cfg->params.hs_config.gap); gap 445 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c if (hs_cfg->gap) gap 446 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c adapter->hs_cfg.gap = (u8)hs_cfg->gap; gap 469 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c adapter->hs_cfg.gap = (u8)hs_cfg->gap; gap 475 drivers/net/wireless/marvell/mwifiex/sta_ioctl.c hs_cfg->gap = adapter->hs_cfg.gap; gap 338 drivers/video/fbdev/ps3fb.c long gap; gap 395 drivers/video/fbdev/ps3fb.c gap = ((long)vmode->left_margin + (long)vmode->xres + gap 399 drivers/video/fbdev/ps3fb.c if (gap > 0) { gap 400 drivers/video/fbdev/ps3fb.c var->left_margin += gap/2; gap 401 drivers/video/fbdev/ps3fb.c var->right_margin += (gap+1)/2; gap 406 drivers/video/fbdev/ps3fb.c gap = ((long)vmode->upper_margin + (long)vmode->yres + gap 410 drivers/video/fbdev/ps3fb.c if (gap > 0) { gap 411 drivers/video/fbdev/ps3fb.c var->upper_margin += gap/2; gap 412 drivers/video/fbdev/ps3fb.c var->lower_margin += (gap+1)/2; gap 82 fs/proc/stat.c static void show_irq_gap(struct seq_file *p, unsigned int gap) gap 86 fs/proc/stat.c while (gap > 0) { gap 89 fs/proc/stat.c inc = min_t(unsigned int, gap, ARRAY_SIZE(zeros) / 2); gap 91 fs/proc/stat.c gap -= inc; gap 267 fs/ubifs/orphan.c int avail_lebs, avail, gap; gap 272 fs/ubifs/orphan.c gap = c->leb_size - c->ohead_offs; gap 273 fs/ubifs/orphan.c if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) gap 274 fs/ubifs/orphan.c avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); gap 340 fs/ubifs/orphan.c int gap, err, len, cnt, i; gap 343 fs/ubifs/orphan.c gap = c->leb_size - c->ohead_offs; gap 344 fs/ubifs/orphan.c if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { gap 347 fs/ubifs/orphan.c gap = c->leb_size; gap 357 fs/ubifs/orphan.c cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); gap 16 include/linux/fd.h unsigned char gap; gap 207 include/media/rc-core.h bool gap; gap 30 include/uapi/linux/fd.h unsigned char gap, /* gap1 size */ gap 595 include/uapi/linux/pkt_sched.h __u32 gap; /* re-ordering gap (0 for none) */ gap 288 mm/mmap.c unsigned long gap, prev_end; gap 296 mm/mmap.c gap = vm_start_gap(vma); gap 299 mm/mmap.c if (gap > prev_end) gap 300 mm/mmap.c gap -= prev_end; gap 302 mm/mmap.c gap = 0; gap 304 mm/mmap.c return gap; gap 367 mm/util.c unsigned long gap = rlim_stack->rlim_cur; gap 375 mm/util.c if (gap + pad > gap) gap 376 mm/util.c gap += pad; gap 378 mm/util.c if (gap < MIN_GAP) gap 379 mm/util.c gap = MIN_GAP; gap 380 mm/util.c else if (gap > MAX_GAP) gap 381 mm/util.c gap = MAX_GAP; gap 383 mm/util.c return PAGE_ALIGN(STACK_TOP - gap - rnd); gap 650 net/bridge/netfilter/ebtables.c size_t gap; gap 708 net/bridge/netfilter/ebtables.c gap = e->next_offset - e->target_offset; gap 725 net/bridge/netfilter/ebtables.c if (gap < sizeof(struct ebt_standard_target)) { gap 734 net/bridge/netfilter/ebtables.c } else if (t->target_size > gap - sizeof(struct ebt_entry_target)) { gap 92 net/sched/sch_netem.c u32 gap; gap 530 net/sched/sch_netem.c if (q->gap == 0 || /* not doing reordering */ gap 531 net/sched/sch_netem.c q->counter < q->gap - 1 || /* inside last reordering gap */ gap 1001 net/sched/sch_netem.c q->gap = qopt->gap; gap 1009 net/sched/sch_netem.c if (q->gap) gap 1148 net/sched/sch_netem.c qopt.gap = q->gap; gap 71 net/sctp/tsnmap.c u32 gap; gap 84 net/sctp/tsnmap.c gap = tsn - map->base_tsn; gap 87 net/sctp/tsnmap.c if (gap < map->len && test_bit(gap, map->tsn_map)) gap 98 net/sctp/tsnmap.c u16 gap; gap 103 net/sctp/tsnmap.c gap = tsn - map->base_tsn; gap 105 net/sctp/tsnmap.c if (gap >= map->len && !sctp_tsnmap_grow(map, gap + 1)) gap 108 net/sctp/tsnmap.c if (!sctp_tsnmap_has_gap(map) && gap == 0) { gap 129 net/sctp/tsnmap.c set_bit(gap, map->tsn_map); gap 192 net/sctp/tsnmap.c u32 gap; gap 203 net/sctp/tsnmap.c gap = tsn - map->base_tsn + 1; gap 205 net/sctp/tsnmap.c map->base_tsn += gap; gap 206 net/sctp/tsnmap.c map->cumulative_tsn_ack_point += gap; gap 207 net/sctp/tsnmap.c if (gap >= map->len) { gap 216 net/sctp/tsnmap.c bitmap_shift_right(map->tsn_map, map->tsn_map, gap, map->len); gap 253 net/sctp/tsnmap.c u32 gap; gap 256 net/sctp/tsnmap.c gap = max_tsn - base_tsn; gap 258 net/sctp/tsnmap.c if (gap == 0 || gap >= map->len) gap 261 net/sctp/tsnmap.c pending_data -= bitmap_weight(map->tsn_map, gap + 1); gap 302 net/sctp/tsnmap.c u32 gap; gap 310 net/sctp/tsnmap.c gap = tsn - map->base_tsn; gap 313 net/sctp/tsnmap.c clear_bit(gap, map->tsn_map); gap 248 net/tipc/link.c static int tipc_link_advance_transmq(struct tipc_link *l, u16 acked, u16 gap, gap 381 net/tipc/link.c u16 gap = 0; gap 384 net/tipc/link.c gap = l->snd_nxt - l->rcv_nxt; gap 386 net/tipc/link.c gap = buf_seqno(skb) - l->rcv_nxt; gap 387 net/tipc/link.c return gap; gap 1364 net/tipc/link.c ga->gacks[n].gap = htons(seqno - expect); gap 1378 net/tipc/link.c ga->gacks[n].gap = 0; gap 1400 net/tipc/link.c static int tipc_link_advance_transmq(struct tipc_link *l, u16 acked, u16 gap, gap 1420 net/tipc/link.c } else if (less_eq(seqno, acked + gap)) { gap 1449 net/tipc/link.c gap = ntohs(ga->gacks[n].gap); gap 1946 net/tipc/link.c u16 gap = msg_seq_gap(hdr); gap 2072 net/tipc/link.c rc |= tipc_link_advance_transmq(l, ack, gap, ga, xmitq); gap 2075 net/tipc/link.c if (gap) gap 132 net/tipc/msg.h __be16 gap; gap 594 tools/include/uapi/linux/pkt_sched.h __u32 gap; /* re-ordering gap (0 for none) */