/linux-master/net/sctp/ |
H A D | tsnmap.c | 71 u32 gap; local 84 gap = tsn - map->base_tsn; 87 if (gap < map->len && test_bit(gap, map->tsn_map)) 98 u16 gap; local 103 gap = tsn - map->base_tsn; 105 if (gap >= map->len && !sctp_tsnmap_grow(map, gap + 1)) 108 if (!sctp_tsnmap_has_gap(map) && gap == 0) { 120 /* Either we already have a gap, o 192 u32 gap; local 253 u32 gap; local 302 u32 gap; local [all...] |
/linux-master/include/linux/ |
H A D | fd.h | 16 unsigned char gap; member in struct:compat_floppy_struct
|
/linux-master/arch/x86/mm/ |
H A D | mmap.c | 85 unsigned long gap = rlim_stack->rlim_cur; local 90 if (gap + pad > gap) 91 gap += pad; 100 if (gap < gap_min) 101 gap = gap_min; 102 else if (gap > gap_max) 103 gap = gap_max; 105 return PAGE_ALIGN(task_size - gap - rnd);
|
/linux-master/arch/s390/mm/ |
H A D | mmap.c | 51 unsigned long gap = rlim_stack->rlim_cur; local 56 if (gap + pad > gap) 57 gap += pad; 66 if (gap < gap_min) 67 gap = gap_min; 68 else if (gap > gap_max) 69 gap = gap_max; 71 return PAGE_ALIGN(STACK_TOP - gap - rnd);
|
/linux-master/drivers/media/pci/bt8xx/ |
H A D | bttv-input.c | 187 u32 gap, rc5, scancode; local 193 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); 194 /* avoid overflow with gap >1s */ 195 if (gap > USEC_PER_SEC) { 196 gap = 200000; 202 if (gap < 28000) { 240 u32 gap; local 250 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); 251 /* avoid overflow with gap >1s */ 252 if (gap > USEC_PER_SE [all...] |
/linux-master/fs/bcachefs/ |
H A D | btree_journal_iter.c | 38 if (idx >= keys->gap) 138 BUG_ON(iter->idx >= keys->gap && 139 iter->idx < keys->gap + gap_size); 153 /* The key we just inserted is immediately before the gap: */ 154 size_t gap_end = keys->gap + (keys->size - keys->nr); 155 struct journal_key *new_key = &keys->data[keys->gap - 1]; 169 iter->idx = keys->gap - 1; 215 if (idx > keys->gap) 218 size_t old_gap = keys->gap; 236 /* Since @keys was full, there was no gap [all...] |
/linux-master/drivers/gpu/drm/logicvc/ |
H A D | logicvc_layer.c | 276 u32 gap; local 298 gap = fb_offset - base_offset; 301 if (gap && buffer_offset) { 302 buffer_sel = gap / buffer_offset; 306 gap -= buffer_sel * buffer_offset; 310 if (gap && layer_stride && logicvc->config.layers_configurable) { 311 voffset = gap / layer_stride; 315 gap -= voffset * layer_stride; 319 if (gap && layer_bytespp && logicvc->config.layers_configurable) { 320 hoffset = gap / layer_bytesp [all...] |
/linux-master/fs/proc/ |
H A D | stat.c | 57 static void show_irq_gap(struct seq_file *p, unsigned int gap) argument 61 while (gap > 0) { 64 inc = min_t(unsigned int, gap, ARRAY_SIZE(zeros) / 2); 66 gap -= inc;
|
/linux-master/mm/ |
H A D | util.c | 443 unsigned long gap = rlim_stack->rlim_cur; 451 if (gap + pad > gap) 452 gap += pad; 454 if (gap < MIN_GAP) 455 gap = MIN_GAP; 456 else if (gap > MAX_GAP) 457 gap = MAX_GAP; 459 return PAGE_ALIGN(STACK_TOP - gap - rnd);
|
/linux-master/arch/sparc/kernel/ |
H A D | sys_sparc_64.c | 283 unsigned long gap; local 289 gap = rlim_stack->rlim_cur; 292 gap == RLIM_INFINITY || 300 if (gap < 128 * 1024 * 1024) 301 gap = 128 * 1024 * 1024; 302 if (gap > (task_size / 6 * 5)) 303 gap = (task_size / 6 * 5); 305 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor);
|
/linux-master/arch/mips/boot/ |
H A D | elf2ecoff.c | 412 /* If there is a gap between text and data, we'll fill it when we copy 569 uint32_t gap = ph[i].p_vaddr - cur_vma; local 571 if (gap > 65536) { 573 "Intersegment gap (%"PRId32" bytes) too large.\n", 574 gap); 578 "Warning: %d byte intersegment gap.\n", 579 gap); 581 while (gap) { 584 (gap > 586 obuf : gap)); [all...] |
/linux-master/drivers/hv/ |
H A D | hv_balloon.c | 595 struct hv_hotadd_gap *gap; local 602 list_for_each_entry(gap, &has->gap_list, list) { 603 if ((pfn >= gap->start_pfn) && (pfn < gap->end_pfn)) 802 struct hv_hotadd_gap *gap; local 817 * is, create a gap and update covered_end_pfn. 820 gap = kzalloc(sizeof(struct hv_hotadd_gap), GFP_ATOMIC); 821 if (!gap) { 826 INIT_LIST_HEAD(&gap->list); 827 gap 2045 struct hv_hotadd_gap *gap, *tmp_gap; local [all...] |
/linux-master/drivers/clk/mmp/ |
H A D | clk-mix.c | 208 unsigned long gap, gap_best; local 228 gap = abs(mix_rate - req->rate); 229 if (!parent_best || gap < gap_best) { 233 gap_best = gap; 246 gap = abs(mix_rate - req->rate); 247 if (!parent_best || gap < gap_best) { 251 gap_best = gap;
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 177 long gap; local 203 gap = kd->est_timer - now; 204 if (gap > 0) { 205 if (gap > IPVS_EST_TICK) { 207 gap = IPVS_EST_TICK; 209 schedule_timeout(gap); 212 if (gap < -8 * IPVS_EST_TICK) 248 long gap; local 255 gap = kd->est_timer - now; 257 if (abs(gap) > [all...] |
/linux-master/lib/ |
H A D | maple_tree.c | 129 unsigned long gap[MAPLE_BIG_NODE_GAPS]; member in struct:maple_big_node::__anon1336::__anon1337 678 return node->ma64.gap; 866 * @offset: The offset of the highest sub-gap in this node. 874 meta->gap = offset; 883 * @offset: The offset of the highest sub-gap in this node. 913 meta->gap = 0; 931 * ma_meta_gap() - Get the largest gap location of a node from the metadata 936 return mn->ma64.meta.gap; 940 * ma_set_meta_gap() - Set the largest gap location in a nodes metadata 943 * @offset: The location of the largest gap 1030 mte_set_gap(const struct maple_enode *mn, unsigned char gap, unsigned long val) argument 1472 unsigned long pstart, gap, max_gap; local 3022 unsigned long *l_pivs, *pivs, gap; local 3977 bool gap = false; local 4749 unsigned long gap = 0; local 4832 unsigned long pivot, min, gap = 0; local 7296 unsigned long gap = 0, max_gap = 0; local [all...] |
/linux-master/fs/ubifs/ |
H A D | orphan.c | 274 int avail_lebs, avail, gap; local 279 gap = c->leb_size - c->ohead_offs; 280 if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) 281 avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); 347 int gap, err, len, cnt, i; local 350 gap = c->leb_size - c->ohead_offs; 351 if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { 354 gap = c->leb_size; 364 cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64);
|
/linux-master/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-master/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; local 236 DCSS_DPR_FRAME_1P_PIX_X_CTRL + plane * gap); 238 DCSS_DPR_FRAME_1P_PIX_Y_CTRL + plane * gap); 240 dcss_dpr_write(ch, 2, DCSS_DPR_FRAME_1P_CTRL0 + plane * gap);
|
/linux-master/net/tipc/ |
H A D | link.c | 130 * @last_gap: last gap ack blocks for bcast (FIXME) 131 * @last_ga: ptr to gap ack blocks 266 u16 acked, u16 gap, 411 u16 gap = 0; local 414 gap = l->snd_nxt - l->rcv_nxt; 416 gap = buf_seqno(skb) - l->rcv_nxt; 417 return gap; 1470 gacks[n].gap = htons(seqno - expect); 1486 gacks[n].gap = 0; 1532 * @gap 1541 tipc_link_advance_transmq(struct tipc_link *l, struct tipc_link *r, u16 acked, u16 gap, struct tipc_gap_ack_blks *ga, struct sk_buff_head *xmitq, bool *retransmitted, int *rc) argument 2192 u16 gap = msg_seq_gap(hdr); local 2469 tipc_link_bc_ack_rcv(struct tipc_link *r, u16 acked, u16 gap, struct tipc_gap_ack_blks *ga, struct sk_buff_head *xmitq, struct sk_buff_head *retrq) argument [all...] |
/linux-master/drivers/video/fbdev/ |
H A D | ps3fb.c | 339 long gap; local 396 gap = ((long)vmode->left_margin + (long)vmode->xres + 400 if (gap > 0) { 401 var->left_margin += gap/2; 402 var->right_margin += (gap+1)/2; 407 gap = ((long)vmode->upper_margin + (long)vmode->yres + 411 if (gap > 0) { 412 var->upper_margin += gap/2; 413 var->lower_margin += (gap+1)/2;
|
/linux-master/include/uapi/linux/ |
H A D | fd.h | 30 unsigned char gap, /* gap1 size */ member in struct:floppy_struct
|
/linux-master/drivers/bluetooth/ |
H A D | btmrvl_main.c | 99 BT_DBG("gpio=%x, gap=%x", event->data[1], 257 BT_DBG("Sending HSCFG Command, gpio=0x%x, gap=0x%x", 497 u16 gpio, gap; local 506 ret = of_property_read_u16(dt_node, "marvell,wakeup-gap-ms", 507 &gap); 509 gap = (u8)(priv->btmrvl_dev.gpio_gap & 0x00ff); 511 priv->btmrvl_dev.gpio_gap = (gpio << 8) + gap;
|
/linux-master/mm/damon/ |
H A D | vaddr.c | 130 unsigned long gap; local 136 gap = vma->vm_start - prev->vm_end; 138 if (gap > sz_range(&first_gap)) { 142 } else if (gap > sz_range(&second_gap)) { 219 * As usual memory map of processes is as below, the gap between the heap and 220 * the uppermost mmap()-ed region, and the gap between the lowermost mmap()-ed
|
/linux-master/net/sched/ |
H A D | sch_netem.c | 93 u32 gap; member in struct:netem_sched_data 217 * TX_IN_GAP_PERIOD => successfully transmitted packets within a gap period 218 * LOST_IN_GAP_PERIOD => isolated losses within a gap period 539 if (q->gap == 0 || /* not doing reordering */ 540 q->counter < q->gap - 1 || /* inside last reordering gap */ 1010 q->gap = qopt->gap; 1016 * if gap is set, need to assume 100% probability 1018 if (q->gap) [all...] |
/linux-master/drivers/net/wireless/marvell/mwifiex/ |
H A D | sta_ioctl.c | 433 if (hs_cfg->gap) 434 adapter->hs_cfg.gap = (u8)hs_cfg->gap; 457 adapter->hs_cfg.gap = (u8)hs_cfg->gap; 463 hs_cfg->gap = adapter->hs_cfg.gap;
|