Home
last modified time | relevance | path

Searched refs:gap (Results 1 – 62 of 62) sorted by relevance

/linux-4.4.14/net/sctp/
Dtsnmap.c86 u32 gap; in sctp_tsnmap_check() local
99 gap = tsn - map->base_tsn; in sctp_tsnmap_check()
102 if (gap < map->len && test_bit(gap, map->tsn_map)) in sctp_tsnmap_check()
113 u16 gap; in sctp_tsnmap_mark() local
118 gap = tsn - map->base_tsn; in sctp_tsnmap_mark()
120 if (gap >= map->len && !sctp_tsnmap_grow(map, gap + 1)) in sctp_tsnmap_mark()
123 if (!sctp_tsnmap_has_gap(map) && gap == 0) { in sctp_tsnmap_mark()
144 set_bit(gap, map->tsn_map); in sctp_tsnmap_mark()
207 u32 gap; in sctp_tsnmap_skip() local
218 gap = tsn - map->base_tsn + 1; in sctp_tsnmap_skip()
[all …]
Doutqueue.c1642 __u16 gap; in sctp_acked() local
1661 gap = tsn - ctsn; in sctp_acked()
1663 if (TSN_lte(ntohs(frags[i].gab.start), gap) && in sctp_acked()
1664 TSN_lte(gap, ntohs(frags[i].gab.end))) in sctp_acked()
/linux-4.4.14/arch/powerpc/mm/
Dmmap.c71 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
73 if (gap < MIN_GAP) in mmap_base()
74 gap = MIN_GAP; in mmap_base()
75 else if (gap > MAX_GAP) in mmap_base()
76 gap = MAX_GAP; in mmap_base()
78 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
/linux-4.4.14/arch/tile/mm/
Dmmap.c34 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
40 if (gap < MIN_GAP) in mmap_base()
41 gap = MIN_GAP; in mmap_base()
42 else if (gap > MAX_GAP) in mmap_base()
43 gap = MAX_GAP; in mmap_base()
45 return PAGE_ALIGN(TASK_SIZE - gap - random_factor); in mmap_base()
/linux-4.4.14/arch/arm64/mm/
Dmmap.c61 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
63 if (gap < MIN_GAP) in mmap_base()
64 gap = MIN_GAP; in mmap_base()
65 else if (gap > MAX_GAP) in mmap_base()
66 gap = MAX_GAP; in mmap_base()
68 return PAGE_ALIGN(STACK_TOP - gap - rnd); in mmap_base()
/linux-4.4.14/arch/x86/mm/
Dmmap.c86 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
88 if (gap < MIN_GAP) in mmap_base()
89 gap = MIN_GAP; in mmap_base()
90 else if (gap > MAX_GAP) in mmap_base()
91 gap = MAX_GAP; in mmap_base()
93 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
/linux-4.4.14/arch/s390/mm/
Dmmap.c72 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
74 if (gap < MIN_GAP) in mmap_base()
75 gap = MIN_GAP; in mmap_base()
76 else if (gap > MAX_GAP) in mmap_base()
77 gap = MAX_GAP; in mmap_base()
78 gap &= PAGE_MASK; in mmap_base()
79 return STACK_TOP - stack_maxrandom_size() - rnd - gap; in mmap_base()
/linux-4.4.14/arch/mips/mm/
Dmmap.c38 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
40 if (gap < MIN_GAP) in mmap_base()
41 gap = MIN_GAP; in mmap_base()
42 else if (gap > MAX_GAP) in mmap_base()
43 gap = MAX_GAP; in mmap_base()
45 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
/linux-4.4.14/arch/arm/mm/
Dmmap.c35 unsigned long gap = rlimit(RLIMIT_STACK); in mmap_base() local
37 if (gap < MIN_GAP) in mmap_base()
38 gap = MIN_GAP; in mmap_base()
39 else if (gap > MAX_GAP) in mmap_base()
40 gap = MAX_GAP; in mmap_base()
42 return PAGE_ALIGN(TASK_SIZE - gap - rnd); in mmap_base()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-input.c198 u32 gap, rc5, scancode; in bttv_rc5_timer_end() local
204 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_timer_end()
206 if (gap > USEC_PER_SEC) { in bttv_rc5_timer_end()
207 gap = 200000; in bttv_rc5_timer_end()
213 if (gap < 28000) { in bttv_rc5_timer_end()
251 u32 gap; in bttv_rc5_irq() local
261 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_irq()
263 if (gap > USEC_PER_SEC) { in bttv_rc5_irq()
264 gap = 200000; in bttv_rc5_irq()
268 gap, (gpio & 0x20) ? "mark" : "space"); in bttv_rc5_irq()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/
Dbtmrvl.txt13 - btmrvl,gpio-gap : gpio and gap (in msecs) combination to be
28 btmrvl,gpio-gap = <0x0d64>;
/linux-4.4.14/arch/sparc/kernel/
Dsys_sparc_64.c279 unsigned long gap; in arch_pick_mmap_layout() local
285 gap = rlimit(RLIMIT_STACK); in arch_pick_mmap_layout()
288 gap == RLIM_INFINITY || in arch_pick_mmap_layout()
296 if (gap < 128 * 1024 * 1024) in arch_pick_mmap_layout()
297 gap = 128 * 1024 * 1024; in arch_pick_mmap_layout()
298 if (gap > (task_size / 6 * 5)) in arch_pick_mmap_layout()
299 gap = (task_size / 6 * 5); in arch_pick_mmap_layout()
301 mm->mmap_base = PAGE_ALIGN(task_size - gap - random_factor); in arch_pick_mmap_layout()
/linux-4.4.14/drivers/clk/mmp/
Dclk-mix.c211 unsigned long gap, gap_best; in mmp_clk_mix_determine_rate() local
231 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate()
232 if (parent_best == NULL || gap < gap_best) { in mmp_clk_mix_determine_rate()
236 gap_best = gap; in mmp_clk_mix_determine_rate()
249 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate()
250 if (parent_best == NULL || gap < gap_best) { in mmp_clk_mix_determine_rate()
254 gap_best = gap; in mmp_clk_mix_determine_rate()
/linux-4.4.14/fs/ubifs/
Dorphan.c204 int avail_lebs, avail, gap; in avail_orphs() local
209 gap = c->leb_size - c->ohead_offs; in avail_orphs()
210 if (gap >= UBIFS_ORPH_NODE_SZ + sizeof(__le64)) in avail_orphs()
211 avail += (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in avail_orphs()
277 int gap, err, len, cnt, i; in write_orph_node() local
280 gap = c->leb_size - c->ohead_offs; in write_orph_node()
281 if (gap < UBIFS_ORPH_NODE_SZ + sizeof(__le64)) { in write_orph_node()
284 gap = c->leb_size; in write_orph_node()
294 cnt = (gap - UBIFS_ORPH_NODE_SZ) / sizeof(__le64); in write_orph_node()
/linux-4.4.14/arch/mips/boot/
Delf2ecoff.c567 unsigned long gap = in main() local
570 if (gap > 65536) { in main()
573 gap); in main()
578 gap); in main()
580 while (gap) { in main()
583 (gap > in main()
585 obuf : gap)); in main()
592 gap -= count; in main()
/linux-4.4.14/drivers/media/rc/
Dir-lirc-codec.c59 if (lirc->gap) in ir_lirc_decode()
63 lirc->gap = true; in ir_lirc_decode()
75 if (lirc->gap) { in ir_lirc_decode()
89 lirc->gap = false; in ir_lirc_decode()
Drc-core-priv.h109 bool gap; member
/linux-4.4.14/drivers/mtd/devices/
Dlart.c446 int gap = BUSWIDTH - (from & (BUSWIDTH - 1)); in flash_read() local
448 while (len && gap--) *buf++ = read8 (from++), len--; in flash_read()
525 int gap = to - aligned; in flash_write() local
529 while (gap--) tmp[i++] = 0xFF; in flash_write()
/linux-4.4.14/include/linux/
Dfd.h15 unsigned char gap; member
/linux-4.4.14/drivers/net/wireless/mwifiex/
DREADME202 echo "<condition> [GPIO# [gap]]]" > hscfg
213 [gap]: the gap in milliseconds between wakeup signal and
220 Use GPIO and gap set previously
222 Use gap set previously
223 echo "2 1 160" > hscfg : Unicast data, GPIO 1 and gap 160 ms
Ddebugfs.c780 u32 gpio = HS_CFG_GPIO_DEF, gap = HS_CFG_GAP_DEF; in mwifiex_hscfg_write() local
790 arg_num = sscanf(buf, "%d %x %x", &conditions, &gpio, &gap); in mwifiex_hscfg_write()
816 hscfg.gap = gap; in mwifiex_hscfg_write()
851 hscfg.gpio, hscfg.gap); in mwifiex_hscfg_read()
Dsta_ioctl.c429 if (hs_cfg->gap) in mwifiex_set_hs_params()
430 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in mwifiex_set_hs_params()
453 adapter->hs_cfg.gap = (u8)hs_cfg->gap; in mwifiex_set_hs_params()
459 hs_cfg->gap = adapter->hs_cfg.gap; in mwifiex_set_hs_params()
Dioctl.h271 u32 gap; member
Dsta_cmd.c385 hs_cfg->params.hs_config.gap = hscfg_param->gap; in mwifiex_cmd_802_11_hs_cfg()
390 hs_cfg->params.hs_config.gap); in mwifiex_cmd_802_11_hs_cfg()
Dinit.c261 adapter->hs_cfg.gap = HS_CFG_GAP_DEF; in mwifiex_init_adapter()
Dcmdevt.c1206 phs_cfg->params.hs_config.gap); in mwifiex_ret_802_11_hs_cfg()
Dfw.h1184 u8 gap; member
Dcfg80211.c3145 hs_cfg.gap = HS_CFG_GAP_DEF; in mwifiex_cfg80211_suspend()
/linux-4.4.14/drivers/video/fbdev/
Dps3fb.c338 long gap; in ps3fb_find_mode() local
395 gap = ((long)vmode->left_margin + (long)vmode->xres + in ps3fb_find_mode()
399 if (gap > 0) { in ps3fb_find_mode()
400 var->left_margin += gap/2; in ps3fb_find_mode()
401 var->right_margin += (gap+1)/2; in ps3fb_find_mode()
406 gap = ((long)vmode->upper_margin + (long)vmode->yres + in ps3fb_find_mode()
410 if (gap > 0) { in ps3fb_find_mode()
411 var->upper_margin += gap/2; in ps3fb_find_mode()
412 var->lower_margin += (gap+1)/2; in ps3fb_find_mode()
/linux-4.4.14/Documentation/devicetree/bindings/thermal/
Dti_soc_thermal.txt5 gap voltage and temperature sensor (VBGAPTS) module. The band
6 gap provides current and voltage reference for its internal
/linux-4.4.14/net/sched/
Dsch_netem.c87 u32 gap; member
507 if (q->gap == 0 || /* not doing reordering */ in netem_enqueue()
508 q->counter < q->gap - 1 || /* inside last reordering gap */ in netem_enqueue()
908 q->gap = qopt->gap; in netem_change()
916 if (q->gap) in netem_change()
1032 qopt.gap = q->gap; in netem_dump()
/linux-4.4.14/arch/metag/lib/
Dmemmove.S88 ! measure the gap size
104 ! D1.6 stores the gap size in bits
107 ! D0.6 stores the complement of the gap size
114 ! D1Re0 << gap-size
/linux-4.4.14/drivers/hwtracing/coresight/
DKconfig38 responsible for bridging the gap between the on-chip coresight
39 components and a trace for bridging the gap between the on-chip
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c302 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local
327 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset()
329 skip = pad + gap; in bts_buffer_reset()
/linux-4.4.14/Documentation/hwmon/
Dlm7717 sensor incorporates a band-gap type temperature sensor,
Dds162163 readings. Be sure to have a high vs. low temperature limit gap of al least
/linux-4.4.14/include/uapi/linux/
Dfd.h29 unsigned char gap, /* gap1 size */ member
Dpkt_sched.h539 __u32 gap; /* re-ordering gap (0 for none) */ member
/linux-4.4.14/block/
Dcompat_ioctl.c339 err |= __get_user(f->gap, &uf->gap); in compat_fd_ioctl()
423 err |= __put_user(f->gap, &uf->gap); in compat_fd_ioctl()
/linux-4.4.14/arch/x86/kernel/
De820.c603 unsigned long gap = last - end; in e820_search_gap() local
605 if (gap >= *gapsize) { in e820_search_gap()
606 *gapsize = gap; in e820_search_gap()
/linux-4.4.14/Documentation/
Dbtmrvl.txt23 where Gap is the gap in milli seconds between wakeup signal and
/linux-4.4.14/drivers/staging/iio/Documentation/
Doverview.txt8 The aim is to fill the gap between the somewhat similar hwmon and
/linux-4.4.14/drivers/hid/
Dwacom_sys.c1662 char *gap = strstr(name, " "); in wacom_update_name() local
1663 if (gap == NULL) in wacom_update_name()
1666 memmove(gap, gap+1, strlen(gap)); in wacom_update_name()
/linux-4.4.14/fs/exofs/
Dore_raid.c370 u64 gap = si->obj_offset - (per_dev->offset + per_dev->length); in _add_to_r4w() local
372 _ore_add_sg_seg(per_dev, gap, true); in _add_to_r4w()
/linux-4.4.14/net/tipc/
Dlink.c1091 u32 gap, u32 tolerance, u32 priority) in tipc_link_proto_xmit() argument
1097 tipc_link_build_proto_msg(l, msg_typ, probe_msg, gap, in tipc_link_proto_xmit()
1240 u16 gap = msg_seq_gap(hdr); in tipc_link_proto_rcv() local
1322 if (gap) { in tipc_link_proto_rcv()
1323 rc = tipc_link_retrans(l, ack + 1, ack + gap, xmitq); in tipc_link_proto_rcv()
/linux-4.4.14/drivers/mtd/chips/
Dcfi_cmdset_0001.c1606 int gap = ofs - bus_ofs; in cfi_intelext_write_words() local
1610 n = min_t(int, len, map_bankwidth(map)-gap); in cfi_intelext_write_words()
1612 datum = map_word_load_partial(map, datum, buf, gap, n); in cfi_intelext_write_words()
2241 int gap = offset - bus_ofs; in do_otp_write() local
2242 int n = min_t(int, size, map_bankwidth(map)-gap); in do_otp_write()
2245 datum = map_word_load_partial(map, datum, buf, gap, n); in do_otp_write()
Dcfi_cmdset_0002.c1296 int gap = adr - bus_ofs; in do_otp_write() local
1297 int n = min_t(int, len, map_bankwidth(map) - gap); in do_otp_write()
1307 datum = map_word_load_partial(map, datum, buf, gap, n); in do_otp_write()
/linux-4.4.14/drivers/net/bonding/
Dbond_alb.c207 long long gap = compute_gap(slave); in tlb_get_least_loaded_slave() local
209 if (max_gap < gap) { in tlb_get_least_loaded_slave()
211 max_gap = gap; in tlb_get_least_loaded_slave()
/linux-4.4.14/net/bridge/netfilter/
Debtables.c659 size_t gap; in ebt_check_entry() local
717 gap = e->next_offset - e->target_offset; in ebt_check_entry()
727 if (gap < sizeof(struct ebt_standard_target)) { in ebt_check_entry()
738 } else if (t->target_size > gap - sizeof(struct ebt_entry_target)) { in ebt_check_entry()
/linux-4.4.14/drivers/net/wireless/libertas/
Dhost.h849 uint16_t gap; member
Dcmd.c200 cmd_config.gap = priv->wol_gap; in lbs_host_sleep_cfg()
/linux-4.4.14/drivers/net/wireless/
Dairo.c3291 u16 len, hdrlen = 0, gap, fid; in airo_handle_rx() local
3349 gap = le16_to_cpu(v); in airo_handle_rx()
3350 if (gap) { in airo_handle_rx()
3351 if (gap <= 8) { in airo_handle_rx()
3352 bap_read(ai, tmpbuf, gap, BAP0); in airo_handle_rx()
3717 u16 gap; in mpi_receive_802_11() local
3750 gap = get_unaligned_le16(ptr); in mpi_receive_802_11()
3752 if (gap) { in mpi_receive_802_11()
3753 if (gap <= 8) in mpi_receive_802_11()
3754 ptr += gap; in mpi_receive_802_11()
/linux-4.4.14/Documentation/metag/
Dkernel-ABI.txt192 and the most significant half in D1, leaving a gap where necessary. Further
/linux-4.4.14/Documentation/devicetree/
Dbooting-without-of.txt481 | (alignment gap) (*) |
485 | (alignment gap) |
491 | (alignment gap) |
654 * [align gap to next 4 bytes boundary]
661 * [align gap to next 4 bytes boundary]
/linux-4.4.14/drivers/net/ethernet/amd/
Ddeclance.c218 short gap[4]; member
/linux-4.4.14/Documentation/cgroups/
Dblkio-controller.txt406 basis. cgroup writeback bridges the gap by tracking ownership by
/linux-4.4.14/Documentation/networking/
Dpacket_mmap.txt418 tp_block_size/tp_frame_size frames there will be a gap between
/linux-4.4.14/scripts/genksyms/
Dparse.tab.c_shipped390 /* The size of the maximum gap between one aligned stack and the next. */
/linux-4.4.14/drivers/block/
Dfloppy.c2586 GAP = _floppy->gap; in make_raw_rw_request()
/linux-4.4.14/scripts/dtc/
Ddtc-parser.tab.c_shipped387 /* The size of the maximum gap between one aligned stack and the next. */
/linux-4.4.14/scripts/kconfig/
Dzconf.tab.c_shipped381 /* The size of the maximum gap between one aligned stack and the next. */
/linux-4.4.14/Documentation/s390/
DDebugging390.txt185 z/Architecture (there is a gap on z/Architecture currently between 0xc00 and