| /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/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/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 | 181 long gap; in ip_vs_estimation_kthread() local 207 gap = kd->est_timer - now; in ip_vs_estimation_kthread() 208 if (gap > 0) { in ip_vs_estimation_kthread() 209 if (gap > IPVS_EST_TICK) { in ip_vs_estimation_kthread() 211 gap = IPVS_EST_TICK; in ip_vs_estimation_kthread() 213 schedule_timeout(gap); in ip_vs_estimation_kthread() 216 if (gap < -8 * IPVS_EST_TICK) in ip_vs_estimation_kthread() 255 long gap; in ip_vs_est_kthread_start() local 262 gap = kd->est_timer - now; in ip_vs_est_kthread_start() 264 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 | 600 return node->ma64.gap; in ma_gaps() 602 return node->cp.gap; in ma_gaps() 801 meta->gap = offset; in ma_set_meta() 838 meta->gap = 0; in mt_clear_meta() 861 return mn->ma64.meta.gap; in ma_meta_gap() 876 meta->gap = offset; in ma_set_meta_gap() 1310 unsigned long pstart, gap, max_gap; in ma_leaf_max_gap() local 1316 gap = 0; in ma_leaf_max_gap() 1319 if (gap > max_gap) in ma_leaf_max_gap() 1320 max_gap = gap; in ma_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 | 2967 unsigned long length, gap; in unmapped_area() local 2991 gap = vma_iter_addr(&vmi) + info->start_gap; in unmapped_area() 2992 gap += (info->align_offset - gap) & info->align_mask; in unmapped_area() 2996 if (vm_start_gap(tmp) < gap + length - 1) { in unmapped_area() 3003 if (tmp && vm_end_gap(tmp) > gap) { in unmapped_area() 3010 return gap; in unmapped_area() 3025 unsigned long length, gap, gap_end; in unmapped_area_topdown() local 3043 gap = vma_iter_end(&vmi) - info->length; in unmapped_area_topdown() 3044 gap -= (gap - info->align_offset) & info->align_mask; in unmapped_area_topdown() 3056 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()
|
| H A D | debugfs.c | 768 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 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 | 42 size_t gap; in netfs_update_i_size() local 61 gap = SECTOR_SIZE - (i_size & (SECTOR_SIZE - 1)); in netfs_update_i_size() 62 if (copied > gap) { in netfs_update_i_size() 63 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 554 if (q->gap == 0 || /* not doing reordering */ in netem_enqueue() 555 q->counter < q->gap - 1 || /* inside last reordering gap */ in netem_enqueue() 1118 q->gap = qopt->gap; in netem_change() 1131 if (q->gap) in netem_change() 1278 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) | |
|
| /linux/Documentation/core-api/ |
| H A D | maple_tree.rst | 36 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
|