| /linux-6.15/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 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-6.15/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-6.15/arch/s390/mm/ |
| H A D | mmap.c | 52 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() 63 gap = clamp(gap, SZ_128M, (STACK_TOP / 6) * 5); in mmap_base() 65 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
| /linux-6.15/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-6.15/drivers/gpu/drm/logicvc/ |
| H A D | logicvc_layer.c | 276 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 …]
|
| /linux-6.15/fs/bcachefs/ |
| H A D | btree_journal_iter.c | 23 BUG_ON(pos >= keys->gap && pos < keys->gap + gap_size); in pos_to_idx() 25 if (pos >= keys->gap) in pos_to_idx() 34 if (idx >= keys->gap) in idx_to_pos() 200 BUG_ON(iter->idx >= keys->gap && in journal_iter_verify() 231 iter->idx = keys->gap - 1; in journal_iters_fix() 277 if (idx > keys->gap) in bch2_journal_key_insert_take() 280 size_t old_gap = keys->gap; in bch2_journal_key_insert_take() 306 keys->gap = keys->nr; in bch2_journal_key_insert_take() 314 keys->data[keys->gap++] = n; in bch2_journal_key_insert_take() 755 keys->gap = keys->nr; in bch2_journal_keys_sort() [all …]
|
| /linux-6.15/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-6.15/Documentation/arch/s390/ |
| H A D | mm.rst | 33 | | ... unused gap | KASAN untracked 51 | ... unused gap | KASAN untracked 101 | ... unused gap | KASAN untracked 105 | ... unused gap | KASAN untracked
|
| /linux-6.15/Documentation/devicetree/bindings/net/ |
| H 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-6.15/mm/ |
| H A D | util.c | 444 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() 452 if (gap + pad > gap) in mmap_base() 453 gap += pad; in mmap_base() 455 if (gap < MIN_GAP && MIN_GAP < MAX_GAP) in mmap_base() 456 gap = MIN_GAP; in mmap_base() 457 else if (gap > MAX_GAP) in mmap_base() 458 gap = MAX_GAP; in mmap_base() 460 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
| /linux-6.15/fs/proc/ |
| H A D | stat.c | 57 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()
|
| /linux-6.15/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-6.15/drivers/hv/ |
| H A D | hv_balloon.c | 585 struct hv_hotadd_gap *gap; in has_pfn_is_backed() local 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 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() 2021 struct hv_hotadd_gap *gap, *tmp_gap; in balloon_remove() local 2050 list_del(&gap->list); in balloon_remove() [all …]
|
| /linux-6.15/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-6.15/lib/ |
| H A D | maple_tree.c | 923 meta->gap = 0; in mt_clear_meta() 1047 mte_to_node(mn)->ma64.gap[gap] = val; in mte_set_gap() 1493 gap = 0; in mas_leaf_max_gap() 1498 gap = 0; in mas_leaf_max_gap() 1500 gap++; in mas_leaf_max_gap() 1504 max_gap = gap; in mas_leaf_max_gap() 1802 memmove(b_node->gap + shift, b_node->gap, size); in mab_shift_right() 4773 gap = 0; in mas_rev_awalk() 4779 if (gap) { in mas_rev_awalk() 7275 gap = 0; in mas_validate_gaps() [all …]
|
| /linux-6.15/net/netfilter/ipvs/ |
| H A D | ip_vs_est.c | 177 long gap; in ip_vs_estimation_kthread() local 203 gap = kd->est_timer - now; in ip_vs_estimation_kthread() 204 if (gap > 0) { in ip_vs_estimation_kthread() 205 if (gap > IPVS_EST_TICK) { in ip_vs_estimation_kthread() 207 gap = IPVS_EST_TICK; in ip_vs_estimation_kthread() 209 schedule_timeout(gap); in ip_vs_estimation_kthread() 212 if (gap < -8 * IPVS_EST_TICK) in ip_vs_estimation_kthread() 248 long gap; in ip_vs_est_kthread_start() local 255 gap = kd->est_timer - now; in ip_vs_est_kthread_start() 257 if (abs(gap) > 4 * IPVS_EST_TICK) in ip_vs_est_kthread_start()
|
| /linux-6.15/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-6.15/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-6.15/Documentation/devicetree/bindings/regulator/ |
| H 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-6.15/drivers/mmc/host/ |
| H A D | sdhci-uhs2.h | 136 #define SDHCI_UHS2_CAPS_GAP(gap) ((gap) * 360) argument
|
| /linux-6.15/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-6.15/include/linux/ |
| H A D | fd.h | 16 unsigned char gap; member
|
| /linux-6.15/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-6.15/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-6.15/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
|