| /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/arch/s390/mm/ |
| H A D | mmap.c | 51 unsigned long gap = rlim_stack->rlim_cur; in mmap_base() local 55 if (gap + pad > gap) in mmap_base() 56 gap += pad; in mmap_base() 62 gap = clamp(gap, SZ_128M, (STACK_TOP / 6) * 5); in mmap_base() 64 return PAGE_ALIGN(STACK_TOP - 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/hv/ |
| H A D | hv_balloon.c | 587 struct hv_hotadd_gap *gap; in has_pfn_is_backed() local 594 list_for_each_entry(gap, &has->gap_list, list) { in has_pfn_is_backed() 595 if (pfn >= gap->start_pfn && pfn < gap->end_pfn) in has_pfn_is_backed() 788 struct hv_hotadd_gap *gap; in pfn_covered() local 806 gap = kzalloc_obj(struct hv_hotadd_gap, GFP_ATOMIC); in pfn_covered() 807 if (!gap) { in pfn_covered() 812 INIT_LIST_HEAD(&gap->list); in pfn_covered() 813 gap->start_pfn = has->covered_end_pfn; in pfn_covered() 814 gap->end_pfn = start_pfn; in pfn_covered() 815 list_add_tail(&gap->list, &has->gap_list); in pfn_covered() [all …]
|
| /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 210 gap = kd->est_timer - now; in ip_vs_estimation_kthread() 211 if (gap > 0) { in ip_vs_estimation_kthread() 212 if (gap > IPVS_EST_TICK) { in ip_vs_estimation_kthread() 214 gap = IPVS_EST_TICK; in ip_vs_estimation_kthread() 216 schedule_timeout(gap); in ip_vs_estimation_kthread() 219 if (gap < -8 * IPVS_EST_TICK) in ip_vs_estimation_kthread() 258 long gap; in ip_vs_est_kthread_start() local 265 gap = kd->est_timer - now; in ip_vs_est_kthread_start() 267 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 | 561 return node->ma64.gap; in ma_gaps() 563 return node->cp.gap; in ma_gaps() 762 meta->gap = offset; in ma_set_meta() 799 meta->gap = 0; in mt_clear_meta() 822 return mn->ma64.meta.gap; in ma_meta_gap() 837 meta->gap = offset; in ma_set_meta_gap() 1381 unsigned long pstart, gap, max_gap; in ma_leaf_max_gap() local 1387 gap = 0; in ma_leaf_max_gap() 1390 if (gap > max_gap) in ma_leaf_max_gap() 1391 max_gap = gap; in ma_leaf_max_gap() [all …]
|
| /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 | 500 if (hs_cfg->gap) in mwifiex_set_hs_params() 501 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in mwifiex_set_hs_params() 524 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in mwifiex_set_hs_params() 530 hs_cfg->gap = adapter->hs_cfg.gap; in mwifiex_set_hs_params()
|
| H A D | debugfs.c | 761 u32 gpio = HS_CFG_GPIO_DEF, gap = HS_CFG_GAP_DEF; in mwifiex_hscfg_write() local 767 arg_num = sscanf(buf, "%d %x %x", &conditions, &gpio, &gap); in mwifiex_hscfg_write() 793 hscfg.gap = gap; in mwifiex_hscfg_write() 827 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/include/linux/ |
| H A D | fd.h | 16 unsigned char gap; member
|
| /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/net/sched/ |
| H A D | sch_netem.c | 103 u32 gap; 230 * TX_IN_GAP_PERIOD => successfully transmitted packets within a gap period in loss_4state() 231 * LOST_IN_GAP_PERIOD => isolated losses within a gap period in loss_4state() 577 if (q->gap == 0 || /* not doing reordering */ in netem_enqueue() 578 q->counter < q->gap - 1 || /* inside last reordering gap */ in netem_enqueue() 1116 q->gap = qopt->gap; in netem_change() 1122 * if gap is set, need to assume 100% probability in netem_change() 1124 if (q->gap) in netem_change() 96 u32 gap; global() member [all...] |
| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | sta_cfg.c | 353 if (hs_cfg->gap) in nxpwifi_set_hs_params() 354 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in nxpwifi_set_hs_params() 375 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in nxpwifi_set_hs_params() 381 hs_cfg->gap = adapter->hs_cfg.gap; in nxpwifi_set_hs_params()
|
| /linux/drivers/bluetooth/ |
| H A D | btmrvl_main.c | 511 u16 gpio, gap; in btmrvl_check_device_tree() local 521 &gap); in btmrvl_check_device_tree() 523 gap = (u8)(priv->btmrvl_dev.gpio_gap & 0x00ff); in btmrvl_check_device_tree() 525 priv->btmrvl_dev.gpio_gap = (gpio << 8) + gap; in btmrvl_check_device_tree()
|
| /linux/drivers/mmc/core/ |
| H A D | sd_uhs2.c | 142 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/mm/ |
| H A D | vma.c | 1138 * - The caller must have positioned the vmi at or before the gap. 1150 /* vmi must point at or before the gap. */ in vma_merge_new_range() 2504 * failure method of leaving a gap where the MAP_FIXED mapping failed. in set_desc_from_map() 2508 /* Clean up the insertion of the unfortunate gap */ in set_desc_from_map() 3100 unsigned long length, gap; in unmapped_area() 3119 * Adjust for the gap first so it doesn't interfere with the later in unmapped_area() 3121 * gap, the next step is the minimum to align that. It is the minimum in unmapped_area() 3124 gap = vma_iter_addr(&vmi) + info->start_gap; in unmapped_area() 3125 gap += (info->align_offset - gap) in unmapped_area() 3085 unsigned long length, gap; unmapped_area() local 3143 unsigned long length, gap, gap_end; unmapped_area_topdown() local [all...] |