| /linux/net/sctp/ |
| H 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 103 gap = tsn - map->base_tsn; in sctp_tsnmap_mark() 105 if (gap >= map->len && !sctp_tsnmap_grow(map, gap + 1)) in sctp_tsnmap_mark() 108 if (!sctp_tsnmap_has_gap(map) && gap == 0) { in sctp_tsnmap_mark() 129 set_bit(gap, map->tsn_map); in sctp_tsnmap_mark() 192 u32 gap; in sctp_tsnmap_skip() local 203 gap = tsn - map->base_tsn + 1; in sctp_tsnmap_skip() [all …]
|
| /linux/arch/x86/mm/ |
| H A D | mmap.c | 85 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 89 if (gap + pad > gap) in mmap_base() 90 gap += pad; in mmap_base() 96 gap = clamp(gap, SIZE_128M, (task_size / 6) * 5); in mmap_base() 98 return PAGE_ALIGN(task_size - gap - rnd); in mmap_base()
|
| /linux/drivers/media/pci/bt8xx/ |
| H 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/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x_calendar.c | 34 u32 gap; member 150 speed->gap = DIV_ROUND_UP(cal_len, in lan969x_dsm_calendar_calc() 153 speed->gap = 0; in lan969x_dsm_calendar_calc() 185 idx += speed->gap; in lan969x_dsm_calendar_calc()
|
| /linux/drivers/hv/ |
| H A D | hv_balloon.c | 585 struct hv_hotadd_gap *gap; in has_pfn_is_backed() local 592 list_for_each_entry(gap, &has->gap_list, list) { in has_pfn_is_backed() 593 if (pfn >= gap->start_pfn && pfn < gap->end_pfn) in has_pfn_is_backed() 786 struct hv_hotadd_gap *gap; in pfn_covered() local 804 gap = kzalloc_obj(struct hv_hotadd_gap, GFP_ATOMIC); in pfn_covered() 805 if (!gap) { in pfn_covered() 810 INIT_LIST_HEAD(&gap->list); in pfn_covered() 811 gap->start_pfn = has->covered_end_pfn; in pfn_covered() 812 gap->end_pfn = start_pfn; in pfn_covered() 813 list_add_tail(&gap->list, &has->gap_list); in pfn_covered() [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | sys_sparc_64.c | 300 unsigned long gap; in arch_pick_mmap_layout() local 306 gap = rlim_stack->rlim_cur; in arch_pick_mmap_layout() 309 gap == RLIM_INFINITY || in arch_pick_mmap_layout() 317 if (gap < 128 * 1024 * 1024) in arch_pick_mmap_layout() 318 gap = 128 * 1024 * 1024; in arch_pick_mmap_layout() 319 if (gap > (task_size / 6 * 5)) in arch_pick_mmap_layout() 320 gap = (task_size / 6 * 5); in arch_pick_mmap_layout() 322 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
|
| /linux/drivers/clk/mmp/ |
| H A D | clk-mix.c | 208 unsigned long gap, gap_best; in mmp_clk_mix_determine_rate() local 228 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate() 229 if (!parent_best || gap < gap_best) { in mmp_clk_mix_determine_rate() 233 gap_best = gap; in mmp_clk_mix_determine_rate() 246 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate() 247 if (!parent_best || gap < gap_best) { in mmp_clk_mix_determine_rate() 251 gap_best = gap; in mmp_clk_mix_determine_rate()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_est.c | 176 long gap; in ip_vs_estimation_kthread() local 202 gap = kd->est_timer - now; in ip_vs_estimation_kthread() 203 if (gap > 0) { in ip_vs_estimation_kthread() 204 if (gap > IPVS_EST_TICK) { in ip_vs_estimation_kthread() 206 gap = IPVS_EST_TICK; in ip_vs_estimation_kthread() 208 schedule_timeout(gap); in ip_vs_estimation_kthread() 211 if (gap < -8 * IPVS_EST_TICK) in ip_vs_estimation_kthread() 247 long gap; in ip_vs_est_kthread_start() local 254 gap = kd->est_timer - now; in ip_vs_est_kthread_start() 256 if (abs(gap) > 4 * IPVS_EST_TICK) in ip_vs_est_kthread_start()
|
| /linux/fs/ubifs/ |
| H A D | orphan.c | 218 int avail_lebs, avail, gap; in avail_orphs() local 223 gap = c->leb_size - c->ohead_offs; in avail_orphs() 224 if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) in avail_orphs() 225 avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in avail_orphs() 291 int gap, err, len, cnt, i; in write_orph_node() local 294 gap = c->leb_size - c->ohead_offs; in write_orph_node() 295 if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { in write_orph_node() 298 gap = c->leb_size; in write_orph_node() 308 cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in write_orph_node()
|
| /linux/arch/mips/boot/ |
| H 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/lib/ |
| H A D | maple_tree.c | 141 unsigned long gap[MAPLE_BIG_NODE_GAPS]; member 626 return node->ma64.gap; in ma_gaps() 822 meta->gap = offset; in ma_set_meta() 859 meta->gap = 0; in mt_clear_meta() 882 return mn->ma64.meta.gap; in ma_meta_gap() 897 meta->gap = offset; in ma_set_meta_gap() 1310 unsigned long pstart, gap, max_gap; in mas_leaf_max_gap() local 1322 gap = 0; in mas_leaf_max_gap() 1325 if (gap > max_gap) in mas_leaf_max_gap() 1326 max_gap = gap; in mas_leaf_max_gap() [all …]
|
| /linux/mm/ |
| H A D | util.c | 445 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() 453 if (gap + pad > gap) in mmap_base() 454 gap += pad; in mmap_base() 456 if (gap < MIN_GAP && MIN_GAP < MAX_GAP) in mmap_base() 457 gap = MIN_GAP; in mmap_base() 458 else if (gap > MAX_GAP) in mmap_base() 459 gap = MAX_GAP; in mmap_base() 461 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
| H A D | vma.c | 2942 unsigned long length, gap; in unmapped_area() local 2966 gap = vma_iter_addr(&vmi) + info->start_gap; in unmapped_area() 2967 gap += (info->align_offset - gap) & info->align_mask; in unmapped_area() 2970 if (vm_start_gap(tmp) < gap + length - 1) { in unmapped_area() 2977 if (tmp && vm_end_gap(tmp) > gap) { in unmapped_area() 2984 return gap; in unmapped_area() 2999 unsigned long length, gap, gap_end; in unmapped_area_topdown() local 3017 gap = vma_iter_end(&vmi) - info->length; in unmapped_area_topdown() 3018 gap -= (gap - info->align_offset) & info->align_mask; in unmapped_area_topdown() 3029 if (tmp && vm_end_gap(tmp) > gap) { in unmapped_area_topdown() [all …]
|
| /linux/drivers/video/fbdev/ |
| H 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/ |
| H A D | link.c | 259 u16 acked, u16 gap, 404 u16 gap = 0; in link_bc_rcv_gap() local 407 gap = l->snd_nxt - l->rcv_nxt; in link_bc_rcv_gap() 409 gap = buf_seqno(skb) - l->rcv_nxt; in link_bc_rcv_gap() 410 return gap; in link_bc_rcv_gap() 1461 gacks[n].gap = htons(seqno - expect); in __tipc_build_gap_ack_blks() 1477 gacks[n].gap = 0; in __tipc_build_gap_ack_blks() 1533 u16 acked, u16 gap, in tipc_link_advance_transmq() argument 1543 u16 nacked = acked, ngap = gap, gack_cnt = 0; in tipc_link_advance_transmq() 1552 trace_tipc_link_retrans(r, acked + 1, acked + gap, &l->transmq); in tipc_link_advance_transmq() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H 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
|
| H A D | sta_ioctl.c | 486 if (hs_cfg->gap) in mwifiex_set_hs_params() 487 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in mwifiex_set_hs_params() 510 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in mwifiex_set_hs_params() 516 hs_cfg->gap = adapter->hs_cfg.gap; in mwifiex_set_hs_params()
|
| /linux/arch/m68k/kernel/ |
| H A D | entry.S | 79 lea %sp@(-84),%sp | leave a gap 89 lea %sp@(-84),%sp | leave a gap 94 | [gap] [switch_stack] [pt_regs] [exception frame] 100 | [unused part of the gap] [moved switch_stack] [moved pt_regs]
|
| /linux/Documentation/devicetree/bindings/thermal/ |
| H 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/ |
| H A D | dcss-dpr.c | 221 u32 gap = DCSS_DPR_FRAME_2P_BASE_ADDR - DCSS_DPR_FRAME_1P_BASE_ADDR; in dcss_dpr_set_res() local 236 DCSS_DPR_FRAME_1P_PIX_X_CTRL + plane * gap); in dcss_dpr_set_res() 238 DCSS_DPR_FRAME_1P_PIX_Y_CTRL + plane * gap); in dcss_dpr_set_res() 240 dcss_dpr_write(ch, 2, DCSS_DPR_FRAME_1P_CTRL0 + plane * gap); in dcss_dpr_set_res()
|
| /linux/fs/netfs/ |
| H A D | buffered_write.c | 61 size_t gap; in netfs_update_i_size() local 80 gap = SECTOR_SIZE - (i_size & (SECTOR_SIZE - 1)); in netfs_update_i_size() 81 if (copied > gap) { in netfs_update_i_size() 82 add = DIV_ROUND_UP(copied - gap, SECTOR_SIZE); in netfs_update_i_size()
|
| /linux/include/linux/ |
| H A D | fd.h | 16 unsigned char gap; member
|
| /linux/net/sched/ |
| H A D | sch_netem.c | 96 u32 gap; member 553 if (q->gap == 0 || /* not doing reordering */ in netem_enqueue() 554 q->counter < q->gap - 1 || /* inside last reordering gap */ in netem_enqueue() 1067 q->gap = qopt->gap; in netem_change() 1080 if (q->gap) in netem_change() 1225 qopt.gap = q->gap; in netem_dump()
|
| /linux/drivers/bluetooth/ |
| H A D | btmrvl_main.c | 491 u16 gpio, gap; in btmrvl_check_device_tree() local 501 &gap); in btmrvl_check_device_tree() 503 gap = (u8)(priv->btmrvl_dev.gpio_gap & 0x00ff); in btmrvl_check_device_tree() 505 priv->btmrvl_dev.gpio_gap = (gpio << 8) + gap; in btmrvl_check_device_tree()
|
| /linux/Documentation/gpu/nova/core/ |
| H A D | vbios.rst | 97 | (no gap between images) | | 112 | (no gap between images) | | 126 | (no gap between images) | |
|