/linux/net/sctp/ |
A D | tsnmap.c | 71 u32 gap; in sctp_tsnmap_check() local 84 gap = tsn - map->base_tsn; in sctp_tsnmap_check() 87 if (gap < map->len && test_bit(gap, map->tsn_map)) in sctp_tsnmap_check() 98 u16 gap; in sctp_tsnmap_mark() local 105 if (gap >= map->len && !sctp_tsnmap_grow(map, gap + 1)) in sctp_tsnmap_mark() 192 u32 gap; in sctp_tsnmap_skip() local 205 map->base_tsn += gap; in sctp_tsnmap_skip() 207 if (gap >= map->len) { in sctp_tsnmap_skip() 253 u32 gap; in sctp_tsnmap_pending() local 258 if (gap == 0 || gap >= map->len) in sctp_tsnmap_pending() [all …]
|
/linux/arch/x86/mm/ |
A D | mmap.c | 85 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 90 if (gap + pad > gap) in mmap_base() 91 gap += pad; in mmap_base() 100 if (gap < gap_min) in mmap_base() 101 gap = gap_min; in mmap_base() 102 else if (gap > gap_max) in mmap_base() 103 gap = gap_max; in mmap_base() 105 return PAGE_ALIGN(task_size - gap - rnd); in mmap_base()
|
/linux/arch/s390/mm/ |
A D | mmap.c | 51 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 56 if (gap + pad > gap) in mmap_base() 57 gap += pad; in mmap_base() 66 if (gap < gap_min) in mmap_base() 67 gap = gap_min; in mmap_base() 68 else if (gap > gap_max) in mmap_base() 69 gap = gap_max; in mmap_base() 71 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
/linux/arch/powerpc/mm/ |
A D | mmap.c | 68 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 72 if (gap + pad > gap) in mmap_base() 73 gap += pad; in mmap_base() 75 if (gap < MIN_GAP) in mmap_base() 76 gap = MIN_GAP; in mmap_base() 77 else if (gap > MAX_GAP) in mmap_base() 78 gap = MAX_GAP; in mmap_base() 80 return PAGE_ALIGN(DEFAULT_MAP_WINDOW - gap - rnd); in mmap_base()
|
/linux/drivers/media/pci/bt8xx/ |
A D | bttv-input.c | 187 u32 gap, rc5, scancode; in bttv_rc5_timer_end() local 193 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_timer_end() 195 if (gap > USEC_PER_SEC) { in bttv_rc5_timer_end() 196 gap = 200000; in bttv_rc5_timer_end() 202 if (gap < 28000) { in bttv_rc5_timer_end() 240 u32 gap; in bttv_rc5_irq() local 250 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_irq() 252 if (gap > USEC_PER_SEC) { in bttv_rc5_irq() 253 gap = 200000; in bttv_rc5_irq() 257 gap, (gpio & 0x20) ? "mark" : "space"); in bttv_rc5_irq() [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
A D | marvell-bt-8xxx.txt | 22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host 39 wakeup pin 13 and gap 100ms are configured so that firmware can wakeup host 64 marvell,wakeup-gap-ms = /bits/ 16 <0x64>; 81 marvell,wakeup-gap-ms = /bits/ 16 <0x64>;
|
/linux/mm/ |
A D | util.c | 390 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 398 if (gap + pad > gap) in mmap_base() 399 gap += pad; in mmap_base() 401 if (gap < MIN_GAP) in mmap_base() 402 gap = MIN_GAP; in mmap_base() 403 else if (gap > MAX_GAP) in mmap_base() 404 gap = MAX_GAP; in mmap_base() 406 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
/linux/arch/sparc/kernel/ |
A D | sys_sparc_64.c | 283 unsigned long gap; in arch_pick_mmap_layout() local 289 gap = rlim_stack->rlim_cur; in arch_pick_mmap_layout() 292 gap == RLIM_INFINITY || in arch_pick_mmap_layout() 300 if (gap < 128 * 1024 * 1024) in arch_pick_mmap_layout() 301 gap = 128 * 1024 * 1024; in arch_pick_mmap_layout() 302 if (gap > (task_size / 6 * 5)) in arch_pick_mmap_layout() 303 gap = (task_size / 6 * 5); in arch_pick_mmap_layout() 305 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
|
/linux/drivers/hv/ |
A D | hv_balloon.c | 579 struct hv_hotadd_gap *gap; in has_pfn_is_backed() local 587 if ((pfn >= gap->start_pfn) && (pfn < gap->end_pfn)) in has_pfn_is_backed() 788 struct hv_hotadd_gap *gap; in pfn_covered() local 808 if (!gap) { in pfn_covered() 813 INIT_LIST_HEAD(&gap->list); in pfn_covered() 814 gap->start_pfn = has->covered_end_pfn; in pfn_covered() 815 gap->end_pfn = start_pfn; in pfn_covered() 816 list_add_tail(&gap->list, &has->gap_list); in pfn_covered() 1829 struct hv_hotadd_gap *gap, *tmp_gap; in balloon_remove() local 1848 list_del(&gap->list); in balloon_remove() [all …]
|
/linux/drivers/clk/mmp/ |
A D | clk-mix.c | 211 unsigned long gap, gap_best; in mmp_clk_mix_determine_rate() local 231 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate() 232 if (!parent_best || gap < gap_best) { in mmp_clk_mix_determine_rate() 236 gap_best = gap; in mmp_clk_mix_determine_rate() 249 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate() 250 if (!parent_best || gap < gap_best) { in mmp_clk_mix_determine_rate() 254 gap_best = gap; in mmp_clk_mix_determine_rate()
|
/linux/fs/proc/ |
A D | stat.c | 83 static void show_irq_gap(struct seq_file *p, unsigned int gap) in show_irq_gap() argument 87 while (gap > 0) { in show_irq_gap() 90 inc = min_t(unsigned int, gap, ARRAY_SIZE(zeros) / 2); in show_irq_gap() 92 gap -= inc; in show_irq_gap()
|
/linux/mm/damon/ |
A D | vaddr-test.h | 20 unsigned long largest_gap, gap; in __link_vmas() local 35 gap = vmas[j].vm_start - vmas[j - 1].vm_end; in __link_vmas() 36 if (gap > largest_gap) in __link_vmas() 37 largest_gap = gap; in __link_vmas()
|
A D | vaddr.c | 127 struct damon_addr_range gap = {0}, first_gap = {0}, second_gap = {0}; in __damon_va_three_regions() local 146 gap.start = last_vma->vm_end; in __damon_va_three_regions() 147 gap.end = vma->vm_start; in __damon_va_three_regions() 148 if (sz_range(&gap) > sz_range(&second_gap)) { in __damon_va_three_regions() 149 swap_ranges(&gap, &second_gap); in __damon_va_three_regions()
|
/linux/arch/mips/boot/ |
A D | elf2ecoff.c | 569 uint32_t gap = ph[i].p_vaddr - cur_vma; in main() local 571 if (gap > 65536) { in main() 574 gap); in main() 579 gap); in main() 581 while (gap) { in main() 584 (gap > in main() 586 obuf : gap)); in main() 593 gap -= count; in main()
|
/linux/fs/ubifs/ |
A D | orphan.c | 274 int avail_lebs, avail, gap; in avail_orphs() local 279 gap = c->leb_size - c->ohead_offs; in avail_orphs() 280 if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) in avail_orphs() 281 avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in avail_orphs() 347 int gap, err, len, cnt, i; in write_orph_node() local 350 gap = c->leb_size - c->ohead_offs; in write_orph_node() 351 if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { in write_orph_node() 354 gap = c->leb_size; in write_orph_node() 364 cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in write_orph_node()
|
/linux/Documentation/devicetree/bindings/regulator/ |
A D | richtek,rt4831-regulator.yaml | 20 Its voltage should be configured above 0.15V to 0.2V gap larger than the 21 voltage needed for DSVP and DSVN. Too much voltage gap could improve the
|
/linux/drivers/mtd/devices/ |
A D | lart.c | 437 int gap = BUSWIDTH - (from & (BUSWIDTH - 1)); in flash_read() local 439 while (len && gap--) { in flash_read() 519 int gap = to - aligned; in flash_write() local 523 while (gap--) tmp[i++] = 0xFF; in flash_write()
|
/linux/drivers/video/fbdev/ |
A D | ps3fb.c | 339 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/net/tipc/ |
A D | link.c | 281 u16 acked, u16 gap, 426 u16 gap = 0; in link_bc_rcv_gap() local 429 gap = l->snd_nxt - l->rcv_nxt; in link_bc_rcv_gap() 432 return gap; in link_bc_rcv_gap() 1500 gacks[n].gap = 0; in __tipc_build_gap_ack_blks() 1556 u16 acked, u16 gap, in tipc_link_advance_transmq() argument 1668 ngap = ntohs(gacks[n].gap); in tipc_link_advance_transmq() 1679 r->last_gap = gap; in tipc_link_advance_transmq() 2206 u16 gap = msg_seq_gap(hdr); in tipc_link_proto_rcv() local 2327 if (gap) in tipc_link_proto_rcv() [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | README | 226 echo "<condition> [GPIO# [gap]]]" > hscfg 237 [gap]: the gap in milliseconds between wakeup signal and 244 Use GPIO and gap set previously 246 Use gap set previously 247 echo "2 1 160" > hscfg : Unicast data, GPIO 1 and gap 160 ms
|
/linux/arch/m68k/kernel/ |
A D | entry.S | 82 lea %sp@(-84),%sp | leave a gap 92 lea %sp@(-84),%sp | leave a gap 97 | [gap] [switch_stack] [pt_regs] [exception frame] 103 | [unused part of the gap] [moved switch_stack] [moved pt_regs]
|
/linux/Documentation/devicetree/bindings/thermal/ |
A D | ti_soc_thermal.txt | 5 gap voltage and temperature sensor (VBGAPTS) module. The band 6 gap provides current and voltage reference for its internal
|
/linux/drivers/gpu/drm/imx/dcss/ |
A D | dcss-dpr.c | 236 u32 gap = DCSS_DPR_FRAME_2P_BASE_ADDR - DCSS_DPR_FRAME_1P_BASE_ADDR; in dcss_dpr_set_res() local 251 DCSS_DPR_FRAME_1P_PIX_X_CTRL + plane * gap); in dcss_dpr_set_res() 253 DCSS_DPR_FRAME_1P_PIX_Y_CTRL + plane * gap); in dcss_dpr_set_res() 255 dcss_dpr_write(ch, 2, DCSS_DPR_FRAME_1P_CTRL0 + plane * gap); in dcss_dpr_set_res()
|
/linux/arch/powerpc/mm/book3s64/ |
A D | radix_pgtable.c | 282 unsigned long gap, previous_size; in create_physical_mapping() local 285 gap = next_boundary(addr, end) - addr; in create_physical_mapping() 286 if (gap > max_mapping_size) in create_physical_mapping() 287 gap = max_mapping_size; in create_physical_mapping() 291 if (IS_ALIGNED(addr, PUD_SIZE) && gap >= PUD_SIZE && in create_physical_mapping() 295 } else if (IS_ALIGNED(addr, PMD_SIZE) && gap >= PMD_SIZE && in create_physical_mapping()
|
/linux/net/sched/ |
A D | sch_netem.c | 92 u32 gap; member 530 if (q->gap == 0 || /* not doing reordering */ in netem_enqueue() 531 q->counter < q->gap - 1 || /* inside last reordering gap */ in netem_enqueue() 1005 q->gap = qopt->gap; in netem_change() 1013 if (q->gap) in netem_change() 1155 qopt.gap = q->gap; in netem_dump()
|