Home
last modified time | relevance | path

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

1234

/linux/net/sctp/
H A Dtsnmap.c71 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 Dmmap.c85 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 Dbttv-input.c187 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/arch/s390/
H A Dmm.rst33 | | ... unused gap | KASAN untracked
51 | ... unused gap | KASAN untracked
101 | ... unused gap | KASAN untracked
105 | ... unused gap | KASAN untracked
/linux/drivers/net/ethernet/microchip/sparx5/lan969x/
H A Dlan969x_calendar.c34 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/arch/sparc/kernel/
H A Dsys_sparc_64.c300 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 Dclk-mix.c208 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/fs/ubifs/
H A Dorphan.c218 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 Delf2ecoff.c569 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 Dmaple_tree.c141 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 Dutil.c445 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 Dvma.c2891 unsigned long length, gap; in unmapped_area() local
2915 gap = vma_iter_addr(&vmi) + info->start_gap; in unmapped_area()
2916 gap += (info->align_offset - gap) & info->align_mask; in unmapped_area()
2919 if (vm_start_gap(tmp) < gap + length - 1) { in unmapped_area()
2926 if (tmp && vm_end_gap(tmp) > gap) { in unmapped_area()
2933 return gap; in unmapped_area()
2948 unsigned long length, gap, gap_end; in unmapped_area_topdown() local
2966 gap = vma_iter_end(&vmi) - info->length; in unmapped_area_topdown()
2967 gap -= (gap - info->align_offset) & info->align_mask; in unmapped_area_topdown()
2978 if (tmp && vm_end_gap(tmp) > gap) { in unmapped_area_topdown()
[all …]
/linux/drivers/video/fbdev/
H A 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/drivers/net/wireless/marvell/mwifiex/
H A DREADME226 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 Ddebugfs.c768 u32 gpio = HS_CFG_GPIO_DEF, gap = HS_CFG_GAP_DEF; in mwifiex_hscfg_write() local
774 arg_num = sscanf(buf, "%d %x %x", &conditions, &gpio, &gap); in mwifiex_hscfg_write()
800 hscfg.gap = gap; in mwifiex_hscfg_write()
835 hscfg.gpio, hscfg.gap); in mwifiex_hscfg_read()
/linux/arch/m68k/kernel/
H A Dentry.S79 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 Dti_soc_thermal.txt5 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 Ddcss-dpr.c221 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 Dbuffered_write.c61 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 Dfd.h16 unsigned char gap; member
/linux/net/sched/
H A Dsch_netem.c96 u32 gap; member
220 * TX_IN_GAP_PERIOD => successfully transmitted packets within a gap period in loss_4state()
221 * LOST_IN_GAP_PERIOD => isolated losses within a gap period in loss_4state()
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()
1078 * if gap is set, need to assume 100% probability in netem_change()
1080 if (q->gap) in netem_change()
[all...]
/linux/Documentation/gpu/nova/core/
H A Dvbios.rst97 | (no gap between images) | |
112 | (no gap between images) | |
126 | (no gap between images) | |
/linux/Documentation/core-api/
H A Dmaple_tree.rst36 The Maple Tree can also be configured to support searching for a gap of a given
56 but allows the user to search for a gap of a given size or larger from either
189 If you wish to search for a gap within a range, then mas_empty_area()
190 or mas_empty_area_rev() can be used. mas_empty_area() searches for a gap
192 mas_empty_area_rev() searches for a gap starting at the highest index given
/linux/drivers/mmc/core/
H A Dsd_uhs2.c142 u32 dap, gap, resp_gap; in sd_uhs2_dev_init() local
148 gap = host->uhs2_caps.gap; in sd_uhs2_dev_init()
183 (gap & 0xF); in sd_uhs2_dev_init()
208 if (gap == resp_gap) in sd_uhs2_dev_init()
/linux/arch/x86/events/intel/
H A Dbts.c388 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local
411 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset()
413 skip = pad + gap; in bts_buffer_reset()

1234