Home
last modified time | relevance | path

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

123456

/openbmc/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
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 …]
/openbmc/linux/arch/x86/mm/
H A Dmmap.c85 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()
/openbmc/linux/arch/s390/mm/
H A Dmmap.c51 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()
/openbmc/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 …]
/openbmc/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c276 u32 gap; in logicvc_layer_buffer_find_setup() local
298 gap = fb_offset - base_offset; in logicvc_layer_buffer_find_setup()
301 if (gap && buffer_offset) { in logicvc_layer_buffer_find_setup()
302 buffer_sel = gap / buffer_offset; in logicvc_layer_buffer_find_setup()
306 gap -= buffer_sel * buffer_offset; in logicvc_layer_buffer_find_setup()
310 if (gap && layer_stride && logicvc->config.layers_configurable) { in logicvc_layer_buffer_find_setup()
311 voffset = gap / layer_stride; in logicvc_layer_buffer_find_setup()
315 gap -= voffset * layer_stride; in logicvc_layer_buffer_find_setup()
320 hoffset = gap / layer_bytespp; in logicvc_layer_buffer_find_setup()
324 gap -= hoffset * layer_bytespp; in logicvc_layer_buffer_find_setup()
[all …]
/openbmc/u-boot/tools/
H A Dimx8m_image.sh33 …objcopy -I binary -O binary --pad-to 0x8000 --gap-fill=0x0 $srctree/lpddr4_pmu_train_1d_imem.bin l…
34 …objcopy -I binary -O binary --pad-to 0x4000 --gap-fill=0x0 $srctree/lpddr4_pmu_train_1d_dmem.bin l…
35 …objcopy -I binary -O binary --pad-to 0x8000 --gap-fill=0x0 $srctree/lpddr4_pmu_train_2d_imem.bin l…
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc/
H A Dlircd.conf18 gap 113123
86 gap 100000
153 gap 67800
235 gap 81698
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dmarvell-bt-8xxx.txt22 - 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>;
/openbmc/linux/mm/
H A Dutil.c426 unsigned long gap = rlim_stack->rlim_cur; in mmap_base()
434 if (gap + pad > gap) in mmap_base()
435 gap += pad; in mmap_base()
437 if (gap < MIN_GAP) in mmap_base()
438 gap = MIN_GAP; in mmap_base()
439 else if (gap > MAX_GAP) in mmap_base()
440 gap = MAX_GAP; in mmap_base()
442 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
/openbmc/linux/arch/sparc/kernel/
H A Dsys_sparc_64.c283 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()
/openbmc/linux/fs/proc/
H A Dstat.c57 static void show_irq_gap(struct seq_file *p, unsigned int gap) in show_irq_gap() argument
61 while (gap > 0) { in show_irq_gap()
64 inc = min_t(unsigned int, gap, ARRAY_SIZE(zeros) / 2); in show_irq_gap()
66 gap -= inc; in show_irq_gap()
/openbmc/linux/drivers/hv/
H A Dhv_balloon.c595 struct hv_hotadd_gap *gap; in has_pfn_is_backed() local
603 if ((pfn >= gap->start_pfn) && (pfn < gap->end_pfn)) in has_pfn_is_backed()
802 struct hv_hotadd_gap *gap; in pfn_covered() local
821 if (!gap) { in pfn_covered()
826 INIT_LIST_HEAD(&gap->list); in pfn_covered()
827 gap->start_pfn = has->covered_end_pfn; in pfn_covered()
828 gap->end_pfn = start_pfn; in pfn_covered()
829 list_add_tail(&gap->list, &has->gap_list); in pfn_covered()
2045 struct hv_hotadd_gap *gap, *tmp_gap; in balloon_remove() local
2074 list_del(&gap->list); in balloon_remove()
[all …]
/openbmc/linux/lib/
H A Dmaple_tree.c937 meta->gap = 0; in mt_clear_meta()
1063 mte_to_node(mn)->ma64.gap[gap] = val; in mte_set_gap()
1507 gap = 0; in mas_leaf_max_gap()
1512 gap = 0; in mas_leaf_max_gap()
1514 gap++; in mas_leaf_max_gap()
1518 max_gap = gap; in mas_leaf_max_gap()
1813 memmove(b_node->gap + shift, b_node->gap, size); in mab_shift_right()
4752 gap = 0; in mas_rev_awalk()
4758 if (gap) { in mas_rev_awalk()
6940 gap = 0; in mas_validate_gaps()
[all …]
/openbmc/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()
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_est.c176 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()
/openbmc/u-boot/fs/ubifs/
H A Dorphan.c193 int avail_lebs, avail, gap; in avail_orphs() local
198 gap = c->leb_size - c->ohead_offs; in avail_orphs()
199 if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) in avail_orphs()
200 avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in avail_orphs()
266 int gap, err, len, cnt, i; in write_orph_node() local
269 gap = c->leb_size - c->ohead_offs; in write_orph_node()
270 if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { in write_orph_node()
273 gap = c->leb_size; in write_orph_node()
283 cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in write_orph_node()
/openbmc/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()
/openbmc/u-boot/doc/device-tree-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
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Drichtek,rt4831-regulator.yaml20 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
/openbmc/linux/fs/ubifs/
H A Dorphan.c274 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()
/openbmc/u-boot/board/freescale/mx7ulp_evk/
H A DMakefile8 $(OBJCOPY) -O binary --gap-fill 0xff $< $@
/openbmc/webui-vue/src/layouts/
H A DLoginLayout.vue54 gap: $spacer * 2;
91 gap: $spacer * 1.5;
/openbmc/linux/include/linux/
H A Dfd.h16 unsigned char gap; member
/openbmc/linux/rust/alloc/vec/
H A Dmod.rs1887 let mut gap = FillGapOnDrop { read: 1, write: 1, vec: self }; in dedup_by() localVariable
1888 let ptr = gap.vec.as_mut_ptr(); in dedup_by()
1896 while gap.read < len { in dedup_by()
1897 let read_ptr = ptr.add(gap.read); in dedup_by()
1898 let prev_ptr = ptr.add(gap.write.wrapping_sub(1)); in dedup_by()
1902 gap.read += 1; in dedup_by()
1906 let write_ptr = ptr.add(gap.write); in dedup_by()
1914 gap.write += 1; in dedup_by()
1915 gap.read += 1; in dedup_by()
1922 gap.vec.set_len(gap.write); in dedup_by()
[all …]
/openbmc/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()

123456