Home
last modified time | relevance | path

Searched +full:out +full:- +full:of +full:- +full:window (Results 1 – 25 of 840) sorted by relevance

12345678910>>...34

/linux/lib/zlib_inflate/
H A Dinffast.c1 /* inffast.c -- fast decoding
2 * Copyright (C) 1995-2004 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h
31 Decode literal, length, and distance codes and write out the resulting
33 available, an end-of-block is encountered, or a data error is encountered.
35 example, a 16K input buffer and a 64K output buffer, more than 95% of the
40 state->mode == LEN
41 strm->avail_in >= 6
42 strm->avail_out >= 258
43 start >= strm->avail_out
[all …]
H A Dinflate.c1 /* inflate.c -- zlib decompression
2 * Copyright (C) 1995-2005 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h
8 * Changes mainly for static instead of dynamic memory allocation
18 /* architecture-specific bits */
37 if (strm == NULL || strm->state == NULL) return Z_STREAM_ERROR; in zlib_inflateReset()
38 state = (struct inflate_state *)strm->state; in zlib_inflateReset()
39 strm->total_in = strm->total_out = state->total = 0; in zlib_inflateReset()
40 strm->msg = NULL; in zlib_inflateReset()
41 strm->adler = 1; /* to support ill-conceived Java test suite */ in zlib_inflateReset()
[all …]
/linux/drivers/mtd/maps/
H A Dichxrom.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Normal mappings of chips in physical memory
57 static void ichxrom_cleanup(struct ichxrom_window *window) in ichxrom_cleanup() argument
63 /* Disable writes through the rom window */ in ichxrom_cleanup()
64 ret = pci_read_config_word(window->pdev, BIOS_CNTL, &word); in ichxrom_cleanup()
66 pci_write_config_word(window->pdev, BIOS_CNTL, word & ~1); in ichxrom_cleanup()
67 pci_dev_put(window->pdev); in ichxrom_cleanup()
69 /* Free all of the mtd devices */ in ichxrom_cleanup()
70 list_for_each_entry_safe(map, scratch, &window->maps, list) { in ichxrom_cleanup()
71 if (map->rsrc.parent) in ichxrom_cleanup()
[all …]
H A Desb2rom.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Normal mappings of flash chips in physical memory
11 * Eric Biederman, of course, was a major help in this effort.
38 /* This became a 16-bit register, and EN2 has disappeared */
56 /* these are 32-bit values */
118 static void esb2rom_cleanup(struct esb2rom_window *window) in esb2rom_cleanup() argument
123 /* Disable writes through the rom window */ in esb2rom_cleanup()
124 pci_read_config_byte(window->pdev, BIOS_CNTL, &byte); in esb2rom_cleanup()
125 pci_write_config_byte(window->pdev, BIOS_CNTL, in esb2rom_cleanup()
128 /* Free all of the mtd devices */ in esb2rom_cleanup()
[all …]
H A Damd76xrom.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Normal mappings of chips in physical memory
48 /* The 2 bits controlling the window size are often set to allow reading
54 * This parameter allows the normal driver to over-ride the BIOS settings.
56 * The bits are 6 and 7. If both bits are set, it is a 5MiB window.
57 * If only the 7 Bit is set, it is a 4MiB window. Otherwise, a
58 * 64KiB window.
63 MODULE_PARM_DESC(win_size_bits, "ROM window size bits override for 0x43 byte, normally set by BIOS.…
69 static void amd76xrom_cleanup(struct amd76xrom_window *window) in amd76xrom_cleanup() argument
74 if (window->pdev) { in amd76xrom_cleanup()
[all …]
H A Dck804xrom.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Normal mappings of chips in physical memory
54 * The 2 bits controlling the window size are often set to allow reading
62 * The bits are 6 and 7. If both bits are set, it is a 5MiB window.
63 * If only the 7 Bit is set, it is a 4MiB window. Otherwise, a
64 * 64KiB window.
67 * The 15 bits controlling the window size are distributed as follows:
71 * If all bits are enabled, we have a 16? MiB window
76 MODULE_PARM_DESC(win_size_bits, "ROM window size bits override, normally set by BIOS.");
82 static void ck804xrom_cleanup(struct ck804xrom_window *window) in ck804xrom_cleanup() argument
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Dvas.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2020-21 IBM Corp.
26 /* The hypervisor allows one credit per window right now */
71 * Allocate VAS window hcall
88 if (win->win_addr == VAS_INVALID_WIN_ADDRESS) { in h_allocate_vas_window()
90 return -ENOTSUPP; in h_allocate_vas_window()
92 win->vas_win.winid = retbuf[0]; in h_allocate_vas_window()
93 win->win_addr = retbuf[1]; in h_allocate_vas_window()
94 win->complete_irq = retbuf[2]; in h_allocate_vas_window()
95 win->fault_irq = retbuf[3]; in h_allocate_vas_window()
[all …]
/linux/fs/ext2/
H A Dballoc.c1 // SPDX-License-Identifier: GPL-2.0
7 * Laboratoire MASI - Institut Blaise Pascal
11 * Big-endian to little-endian byte-swapping/bitmaps by
33 * super block. Each descriptor contains the number of the bitmap block and
48 if (block_group >= sbi->s_groups_count) { in ext2_get_group_desc()
49 WARN(1, "block_group >= groups_count - " in ext2_get_group_desc()
51 block_group, sbi->s_groups_count); in ext2_get_group_desc()
57 offset = block_group & (EXT2_DESC_PER_BLOCK(sb) - 1); in ext2_get_group_desc()
58 if (!sbi->s_group_desc[group_desc]) { in ext2_get_group_desc()
59 WARN(1, "Group descriptor not loaded - " in ext2_get_group_desc()
[all …]
/linux/lib/
H A Ddecompress_unzstd.c1 // SPDX-License-Identifier: GPL-2.0
4 * Important notes about in-place decompression
7 * is placed to the end of the output buffer, and the decompressor overwrites
8 * most of the compressed data. There must be enough safety margin to
14 * The worst case for in-place decompression is that the beginning of
15 * the file is compressed extremely well, and the rest of the file is
16 * uncompressible. Thus, we must look for worst-case expansion when the
19 * The structure of the .zst file in case of a compressed kernel is as follows.
20 * Maximum sizes (as bytes) of the fields are in parenthesis.
29 * a 3 bytes. After the block header, there is up to 128 KB of payload.
[all …]
/linux/include/uapi/linux/
H A Dtcp.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
5 * interface as the means of communication with the user level.
14 * modify it under the terms of the GNU General Public License
16 * 2 of the License, or (at your option) any later version.
57 __be16 window; member
[all...]
/linux/arch/powerpc/platforms/powernv/
H A Dvas-window.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2016-17 IBM Corp.
18 #include <asm/ppc-opcode.h>
21 #include "copy-paste.h"
24 #include "vas-trace.h"
27 * Compute the paste address region for the window @window using the
28 * ->paste_base_addr and ->paste_win_id_shift we got from device tree.
30 void vas_win_paste_addr(struct pnv_vas_window *window, u64 *addr, int *len) in vas_win_paste_addr() argument
35 base = window->vinst->paste_base_addr; in vas_win_paste_addr()
36 shift = window->vinst->paste_win_id_shift; in vas_win_paste_addr()
[all …]
/linux/tools/include/uapi/linux/
H A Dtcp.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
5 * interface as the means of communication with the user level.
14 * modify it under the terms of the GNU General Public License
16 * 2 of the License, or (at your option) any later version.
55 __be16 window; member
62 * (union is compatible to any of its members)
63 * This means this part of the code is -fstrict-aliasing safe now.
70 #define tcp_flag_word(tp) ( ((union tcp_word_hdr *)(tp))->words [3])
97 #define TCP_KEEPCNT 6 /* Number of keepalives before death */
[all …]
/linux/arch/nios2/boot/compressed/
H A Dmisc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * This is a collection of several routines from gzip-1.0.3
22 #define OF(args) args macro
32 #define WSIZE 0x8000 /* Window size must be at least 32k, */
33 /* and a power of two */
36 static uch window[WSIZE]; /* Sliding window buffer */ variable
39 static unsigned inptr; /* index of next byte to be processed in inbuf */
44 #define CONTINUATION 0x02 /* bit 1 set: continuation of multi-part gzip
121 error("ran out of input data"); in fill_inbuf()
130 * Write the output window window[0..outcnt-1] and update crc and bytes_out.
[all …]
/linux/arch/alpha/boot/
H A Dmisc.c1 // SPDX-License-Identifier: GPL-2.0
5 * This is a collection of several routines from gzip-1.0.3
14 * be marked with 'const' and all other variables initialized at run-time
35 #define OF(args) args macro
42 #define WSIZE 0x8000 /* Window size must be at least 32k, */
43 /* and a power of two */
46 static uch *window; /* Sliding window buffer */ variable
49 static unsigned inptr; /* index of next byte to be processed in inbuf */
54 #define CONTINUATION 0x02 /* bit 1 set: continuation of multi-part gzip file */
108 error("ran out of input data"); in fill_inbuf()
[all …]
/linux/arch/sparc/kernel/
H A Dwof.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * wof.S: Sparc window overflow handler.
20 * of register windows to the user and kernel. If you touch
21 * this code be _very_ careful as many other pieces of the
29 * accessed when in the 'trap' window, 'G' means
30 * accessible in any window. Do not change these registers
43 #define twin_tmp l4 /* Temp reg, only usable in trap window T */
48 /* BEGINNING OF PATCH INSTRUCTIONS */
49 /* On a 7-window Sparc the boot code patches spnwin_*
56 /* END OF PATCH INSTRUCTIONS */
[all …]
/linux/tools/testing/selftests/net/netfilter/packetdrill/
H A Dconntrack_rst_invalid.pkt1 // check that out of window resets are marked as INVALID and conntrack remains
6 +0 `$xtables -A INPUT -p tcp -m conntrack --ctstate INVALID -j DROP`
7 +0 `$xtables -A OUTPUT -p tcp -m conntrack --ctstate INVALID -j DROP`
12 0.1 connect(3, ..., ...) = -1 EINPROGRESS (Operation now in progress)
29 // out of window
31 +0 `conntrack -f $NFCT_IP_VERSION -L -p tcp --dport 8080 2>/dev/null |grep -q ESTABLISHED`
33 // out of window
35 +0 `conntrack -f $NFCT_IP_VERSION -L -p tcp --dport 8080 2>/dev/null |grep -q ESTABLISHED`
37 // in-window but not exact match
39 +0 `conntrack -f $NFCT_IP_VERSION -L -p tcp --dport 8080 2>/dev/null |grep -q ESTABLISHED`
[all …]
/linux/net/dccp/ccids/
H A Dccid2.c
/linux/arch/powerpc/kernel/
H A Dtau_6xx.c1 // SPDX-License-Identifier: GPL-2.0
46 * dynamic adjustment to minimize # of interrupts */
47 /* configurable values for step size and how much to expand the window when
48 * we get an interrupt. These are based on the limit that was out of range */
49 #define step_size 2 /* step size when temp goes out of range */
50 #define window_expand 1 /* expand the window by this much */
51 /* configurable values for shrinking the window */
52 #define shrink_timer 2000 /* period between shrinking the window */
53 #define min_window 2 /* minimum window size, degrees C */
71 /* if both thresholds are crossed, the step_sizes cancel out in TAUupdate()
[all …]
/linux/include/linux/
H A Dtcp.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
5 * interface as the means of communication with the user level.
31 return th->doff * 4; in __tcp_hdrlen()
46 return inner_tcp_hdr(skb)->doff * 4; in inner_tcp_hdrlen()
50 * skb_tcp_all_headers - Return
[all...]
H A Dntb.h8 * Copyright (C) 2016 T-Platforms. All Rights Reserved.
11 * it under the terms of version 2 of the GNU General Public License as
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
22 * Copyright (C) 2016 T-Platforms. All Rights Reserved.
28 * * Redistributions of source code must retain the above copyright
29 * notice, this list of conditions and the following disclaimer.
31 * notice, this list of conditions and the following disclaimer in
34 * * Neither the name of Intel Corporation nor the names of its
40 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
44 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
[all …]
/linux/mm/
H A Dvmpressure.c1 // SPDX-License-Identifier: GPL-2.0-only
25 * The window size (vmpressure_win) is the number of scanned pages before
26 * we try to analyze scanned/reclaimed ratio. So the window is used as a
27 * rate-limit tunable for the "low" level notification, and also for
28 * averaging the ratio for medium/critical levels. Using small window
29 * sizes can cause lot of fals
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
5 * Copyright (C) 2019 - 2020, 2022 - 2023 Intel Corporation
21 #define RS_NAME "iwl-agn-rs"
27 #define IWL_RATE_MAX_WINDOW 62 /* # tx in history window */
47 /*ANT_NONE -> */ ANT_NONE,
48 /*ANT_A -> */ ANT_B,
49 /*ANT_B -> */ ANT_C,
50 /*ANT_AB -> */ ANT_BC,
51 /*ANT_C -> */ ANT_A,
[all …]
/linux/drivers/pci/
H A Dsetup-bus.c1 // SPDX-License-Identifier: GPL-2.0
11 * PCI-PCI bridges cleanup, sorted resource allocation.
54 list_del(&dev_res->list); in free_list()
60 * add_to_list() - Add a new resource tracker to the list
61 * @head: Head of the list
65 * @min_align: Minimum memory window alignment
75 return -ENOMEM; in add_to_list()
77 tmp->res = res; in add_to_list()
78 tmp->dev = dev; in add_to_list()
79 tmp->start = res->start; in add_to_list()
[all …]
/linux/drivers/ssb/
H A Dsdio.c3 * SDIO-Hostbus related functions
9 * Copyright 2007-2008 Michael Buesch <m@bues.ch>
59 #define SBSDIO_FUNC1_SBADDRLOW 0x1000a /* SB Address window Low (b15) */
60 #define SBSDIO_FUNC1_SBADDRMID 0x1000b /* SB Address window Mid (b23-b16) */
61 #define SBSDIO_FUNC1_SBADDRHIGH 0x1000c /* SB Address window High (b24-b31) */
71 #define SBSDIO_SB_ACCESS_2_4B_FLAG 0x8000 /* forces 32-bit SB access */
78 * ------- ------- ------------------------------------------
79 * 0x00000 0x0ffff selected backplane address window (64K)
82 * The current address window is configured by writing to registers
85 * In order to access the contents of a 32-bit Silicon Backplane address
[all …]
/linux/net/ipv4/
H A Dtcp_output.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
5 * interface as the means of communication with the user level.
7 * Implementation of the Transmission Control Protocol(TCP).
12 * Corey Minyard <wf-rch!minyard@relay.EU.net>
13 * Florian La Roche, <flla@stud.uni-sb.de>
33 * Cacophonix Gaul : draft-minshall-nagle-01
54 /* Refresh clocks of a TCP socket,
61 tp->tcp_clock_cache = val; in tcp_mstamp_refresh()
62 tp->tcp_mstamp = div_u64(val, NSEC_PER_USEC); in tcp_mstamp_refresh()
[all …]

12345678910>>...34