/linux-6.1.9/net/sctp/ |
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-6.1.9/arch/x86/mm/ |
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-6.1.9/arch/s390/mm/ |
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-6.1.9/drivers/media/pci/bt8xx/ |
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.1.9/drivers/gpu/drm/logicvc/ |
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() 319 if (gap && layer_bytespp && logicvc->config.layers_configurable) { in logicvc_layer_buffer_find_setup() 320 hoffset = gap / layer_bytespp; in logicvc_layer_buffer_find_setup() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/net/ |
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.1.9/arch/sparc/kernel/ |
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-6.1.9/drivers/hv/ |
D | hv_balloon.c | 586 struct hv_hotadd_gap *gap; in has_pfn_is_backed() local 593 list_for_each_entry(gap, &has->gap_list, list) { in has_pfn_is_backed() 594 if ((pfn >= gap->start_pfn) && (pfn < gap->end_pfn)) in has_pfn_is_backed() 795 struct hv_hotadd_gap *gap; in pfn_covered() local 814 gap = kzalloc(sizeof(struct hv_hotadd_gap), GFP_ATOMIC); in pfn_covered() 815 if (!gap) { in pfn_covered() 820 INIT_LIST_HEAD(&gap->list); in pfn_covered() 821 gap->start_pfn = has->covered_end_pfn; in pfn_covered() 822 gap->end_pfn = start_pfn; in pfn_covered() 823 list_add_tail(&gap->list, &has->gap_list); in pfn_covered() [all …]
|
/linux-6.1.9/mm/ |
D | util.c | 391 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 399 if (gap + pad > gap) in mmap_base() 400 gap += pad; in mmap_base() 402 if (gap < MIN_GAP) in mmap_base() 403 gap = MIN_GAP; in mmap_base() 404 else if (gap > MAX_GAP) in mmap_base() 405 gap = MAX_GAP; in mmap_base() 407 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
|
/linux-6.1.9/fs/proc/ |
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-6.1.9/lib/ |
D | maple_tree.c | 126 unsigned long gap[MAPLE_BIG_NODE_GAPS]; member 648 return node->ma64.gap; in ma_gaps() 888 meta->gap = offset; in ma_set_meta() 915 return mn->ma64.meta.gap; in ma_meta_gap() 930 meta->gap = offset; in ma_set_meta_gap() 1023 unsigned char gap, unsigned long val) in mte_set_gap() argument 1029 mte_to_node(mn)->ma64.gap[gap] = val; in mte_set_gap() 1450 unsigned long pstart, gap, max_gap; in mas_leaf_max_gap() local 1462 gap = 0; in mas_leaf_max_gap() 1465 if (gap > max_gap) in mas_leaf_max_gap() [all …]
|
/linux-6.1.9/drivers/clk/mmp/ |
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.1.9/arch/mips/boot/ |
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.1.9/Documentation/devicetree/bindings/regulator/ |
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.1.9/fs/ubifs/ |
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-6.1.9/rust/alloc/vec/ |
D | mod.rs | 1675 let mut gap = FillGapOnDrop { read: 1, write: 1, vec: self }; in dedup_by() localVariable 1676 let ptr = gap.vec.as_mut_ptr(); in dedup_by() 1684 while gap.read < len { in dedup_by() 1685 let read_ptr = ptr.add(gap.read); in dedup_by() 1686 let prev_ptr = ptr.add(gap.write.wrapping_sub(1)); in dedup_by() 1690 gap.read += 1; in dedup_by() 1694 let write_ptr = ptr.add(gap.write); in dedup_by() 1702 gap.write += 1; in dedup_by() 1703 gap.read += 1; in dedup_by() 1710 gap.vec.set_len(gap.write); in dedup_by() [all …]
|
/linux-6.1.9/drivers/mtd/devices/ |
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-6.1.9/drivers/video/fbdev/ |
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.1.9/include/linux/ |
D | fd.h | 16 unsigned char gap; member
|
/linux-6.1.9/Documentation/devicetree/bindings/thermal/ |
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.1.9/arch/m68k/kernel/ |
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-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
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-6.1.9/net/tipc/ |
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() 431 gap = buf_seqno(skb) - l->rcv_nxt; in link_bc_rcv_gap() 432 return gap; in link_bc_rcv_gap() 1485 gacks[n].gap = htons(seqno - expect); in __tipc_build_gap_ack_blks() 1501 gacks[n].gap = 0; in __tipc_build_gap_ack_blks() 1557 u16 acked, u16 gap, in tipc_link_advance_transmq() argument 1567 u16 nacked = acked, ngap = gap, gack_cnt = 0; in tipc_link_advance_transmq() 1576 trace_tipc_link_retrans(r, acked + 1, acked + gap, &l->transmq); in tipc_link_advance_transmq() [all …]
|
/linux-6.1.9/drivers/gpu/drm/imx/dcss/ |
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-6.1.9/arch/powerpc/mm/book3s64/ |
D | radix_pgtable.c | 287 unsigned long gap, previous_size; in create_physical_mapping() local 290 gap = next_boundary(addr, end) - addr; in create_physical_mapping() 291 if (gap > max_mapping_size) in create_physical_mapping() 292 gap = max_mapping_size; in create_physical_mapping() 296 if (IS_ALIGNED(addr, PUD_SIZE) && gap >= PUD_SIZE && in create_physical_mapping() 300 } else if (IS_ALIGNED(addr, PMD_SIZE) && gap >= PMD_SIZE && in create_physical_mapping()
|