Home
last modified time | relevance | path

Searched refs:gap (Results 1 – 25 of 50) sorted by relevance

12

/linux-3.4.99/net/sctp/
Dtsnmap.c54 static int sctp_tsnmap_grow(struct sctp_tsnmap *map, u16 gap);
93 u32 gap; in sctp_tsnmap_check() local
106 gap = tsn - map->base_tsn; in sctp_tsnmap_check()
109 if (gap < map->len && test_bit(gap, map->tsn_map)) in sctp_tsnmap_check()
119 u16 gap; in sctp_tsnmap_mark() local
124 gap = tsn - map->base_tsn; in sctp_tsnmap_mark()
126 if (gap >= map->len && !sctp_tsnmap_grow(map, gap)) in sctp_tsnmap_mark()
129 if (!sctp_tsnmap_has_gap(map) && gap == 0) { in sctp_tsnmap_mark()
147 set_bit(gap, map->tsn_map); in sctp_tsnmap_mark()
210 u32 gap; in sctp_tsnmap_skip() local
[all …]
Doutqueue.c1770 __u16 gap; in sctp_acked() local
1789 gap = tsn - ctsn; in sctp_acked()
1791 if (TSN_lte(ntohs(frags[i].gab.start), gap) && in sctp_acked()
1792 TSN_lte(gap, ntohs(frags[i].gab.end))) in sctp_acked()
/linux-3.4.99/arch/tile/mm/
Dmmap.c34 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
40 if (gap < MIN_GAP) in mmap_base()
41 gap = MIN_GAP; in mmap_base()
42 else if (gap > MAX_GAP) in mmap_base()
43 gap = MAX_GAP; in mmap_base()
45 return PAGE_ALIGN(TASK_SIZE - gap - random_factor); in mmap_base()
/linux-3.4.99/arch/powerpc/mm/
Dmmap_64.c72 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
74 if (gap < MIN_GAP) in mmap_base()
75 gap = MIN_GAP; in mmap_base()
76 else if (gap > MAX_GAP) in mmap_base()
77 gap = MAX_GAP; in mmap_base()
79 return PAGE_ALIGN(TASK_SIZE - gap - mmap_rnd()); in mmap_base()
/linux-3.4.99/arch/x86/mm/
Dmmap.c87 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
89 if (gap < MIN_GAP) in mmap_base()
90 gap = MIN_GAP; in mmap_base()
91 else if (gap > MAX_GAP) in mmap_base()
92 gap = MAX_GAP; in mmap_base()
94 return PAGE_ALIGN(TASK_SIZE - gap - mmap_rnd()); in mmap_base()
/linux-3.4.99/arch/s390/mm/
Dmmap.c71 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
73 if (gap < MIN_GAP) in mmap_base()
74 gap = MIN_GAP; in mmap_base()
75 else if (gap > MAX_GAP) in mmap_base()
76 gap = MAX_GAP; in mmap_base()
77 gap &= PAGE_MASK; in mmap_base()
78 return STACK_TOP - stack_maxrandom_size() - mmap_rnd() - gap; in mmap_base()
/linux-3.4.99/arch/mips/mm/
Dmmap.c38 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
40 if (gap < MIN_GAP) in mmap_base()
41 gap = MIN_GAP; in mmap_base()
42 else if (gap > MAX_GAP) in mmap_base()
43 gap = MAX_GAP; in mmap_base()
45 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
/linux-3.4.99/arch/arm/mm/
Dmmap.c47 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
49 if (gap < MIN_GAP) in mmap_base()
50 gap = MIN_GAP; in mmap_base()
51 else if (gap > MAX_GAP) in mmap_base()
52 gap = MAX_GAP; in mmap_base()
54 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
/linux-3.4.99/drivers/media/video/bt8xx/
Dbttv-input.c198 u32 gap; in bttv_rc5_timer_end() local
206 gap = 200000; in bttv_rc5_timer_end()
208 gap = 1000000 * (tv.tv_sec - ir->base_time.tv_sec) + in bttv_rc5_timer_end()
216 if (gap < 28000) { in bttv_rc5_timer_end()
251 u32 gap; in bttv_rc5_irq() local
263 gap = 200000; in bttv_rc5_irq()
265 gap = 1000000 * (tv.tv_sec - ir->base_time.tv_sec) + in bttv_rc5_irq()
270 gap, (gpio & 0x20) ? "mark" : "space"); in bttv_rc5_irq()
281 ir->last_bit = (gap - ir_rc5_remote_gap / 2) / in bttv_rc5_irq()
/linux-3.4.99/arch/sparc/kernel/
Dsys_sparc_64.c381 unsigned long gap; in arch_pick_mmap_layout() local
387 gap = rlimit(RLIMIT_STACK); in arch_pick_mmap_layout()
390 gap == RLIM_INFINITY || in arch_pick_mmap_layout()
399 if (gap < 128 * 1024 * 1024) in arch_pick_mmap_layout()
400 gap = 128 * 1024 * 1024; in arch_pick_mmap_layout()
401 if (gap > (task_size / 6 * 5)) in arch_pick_mmap_layout()
402 gap = (task_size / 6 * 5); in arch_pick_mmap_layout()
404 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
/linux-3.4.99/fs/ubifs/
Dorphan.c206 int avail_lebs, avail, gap; in avail_orphs() local
211 gap = c->leb_size - c->ohead_offs; in avail_orphs()
212 if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) in avail_orphs()
213 avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in avail_orphs()
280 int gap, err, len, cnt, i; in write_orph_node() local
283 gap = c->leb_size - c->ohead_offs; in write_orph_node()
284 if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { in write_orph_node()
287 gap = c->leb_size; in write_orph_node()
297 cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in write_orph_node()
/linux-3.4.99/arch/mips/boot/
Delf2ecoff.c563 unsigned long gap = in main() local
566 if (gap > 65536) { in main()
569 gap); in main()
574 gap); in main()
576 while (gap) { in main()
579 (gap > in main()
581 obuf : gap)); in main()
588 gap -= count; in main()
/linux-3.4.99/drivers/media/rc/
Dir-lirc-codec.c56 if (lirc->gap) in ir_lirc_decode()
60 lirc->gap = true; in ir_lirc_decode()
72 if (lirc->gap) { in ir_lirc_decode()
86 lirc->gap = false; in ir_lirc_decode()
Drc-core-priv.h110 bool gap; member
/linux-3.4.99/net/sched/
Dsch_netem.c83 u32 gap; member
415 if (q->gap == 0 || /* not doing reordering */ in netem_enqueue()
416 q->counter < q->gap - 1 || /* inside last reordering gap */ in netem_enqueue()
736 q->gap = qopt->gap; in netem_change()
744 if (q->gap) in netem_change()
861 qopt.gap = q->gap; in netem_dump()
/linux-3.4.99/drivers/mtd/devices/
Dlart.c446 int gap = BUSWIDTH - (from & (BUSWIDTH - 1)); in flash_read() local
448 while (len && gap--) *buf++ = read8 (from++), len--; in flash_read()
525 int gap = to - aligned; in flash_write() local
529 while (gap--) tmp[i++] = 0xFF; in flash_write()
/linux-3.4.99/include/linux/
Dfd.h29 unsigned char gap, /* gap1 size */ member
391 unsigned char gap; member
/linux-3.4.99/drivers/video/
Dps3fb.c339 long gap; in ps3fb_find_mode() local
396 gap = ((long)vmode->left_margin + (long)vmode->xres + in ps3fb_find_mode()
400 if (gap > 0) { in ps3fb_find_mode()
401 var->left_margin += gap/2; in ps3fb_find_mode()
402 var->right_margin += (gap+1)/2; in ps3fb_find_mode()
407 gap = ((long)vmode->upper_margin + (long)vmode->yres + in ps3fb_find_mode()
411 if (gap > 0) { in ps3fb_find_mode()
412 var->upper_margin += gap/2; in ps3fb_find_mode()
413 var->lower_margin += (gap+1)/2; in ps3fb_find_mode()
/linux-3.4.99/Documentation/hwmon/
Dlm7717 sensor incorporates a band-gap type temperature sensor,
/linux-3.4.99/drivers/net/wireless/mwifiex/
Dsta_ioctl.c337 if (hs_cfg->gap) in mwifiex_set_hs_params()
338 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in mwifiex_set_hs_params()
364 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in mwifiex_set_hs_params()
370 hs_cfg->gap = adapter->hs_cfg.gap; in mwifiex_set_hs_params()
Dioctl.h236 u32 gap; member
/linux-3.4.99/block/
Dcompat_ioctl.c338 err |= __get_user(f->gap, &uf->gap); in compat_fd_ioctl()
422 err |= __put_user(f->gap, &uf->gap); in compat_fd_ioctl()
/linux-3.4.99/drivers/staging/wlags49_h2/
DTODO5 driver provides a stop-gap solution for these type of cards.
/linux-3.4.99/drivers/staging/wlags49_h25/
DTODO5 driver provides a stop-gap solution for these type of cards.
/linux-3.4.99/arch/x86/kernel/
De820.c607 unsigned long gap = last - end; in e820_search_gap() local
609 if (gap >= *gapsize) { in e820_search_gap()
610 *gapsize = gap; in e820_search_gap()

12