| /linux/arch/m68k/ifpsp060/ |
| H A D | MISC | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 30 ----------------------- 33 ---------- 34 freal.s : 2.4 36 x_fovfl.s : 2.16 37 x_funfl.s : 2.19 38 x_funsupp.s : 2.27 39 x_effadd.s : 2.21 40 x_foperr.s : 2.9 [all …]
|
| /linux/lib/xz/ |
| H A D | xz_dec_stream.c | 1 // SPDX-License-Identifier: 0BSD 34 /* Position in variable-length integers and Check fields */ 37 /* Variable-length integer decoded by dec_vli() */ 151 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller 152 * must have set s->temp.pos to indicate how much data we are supposed 153 * to copy into s->temp.buf. Return true once s->temp.pos has reached 154 * s->temp.size. 156 static bool fill_temp(struct xz_dec *s, struct xz_buf *b) in fill_temp() argument 159 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp() 161 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp() [all …]
|
| H A D | xz_dec_lzma2.c | 1 // SPDX-License-Identifier: 0BSD 7 * Igor Pavlov <https://7-zip.org/> 34 * In multi-call mode, also these are true: 39 * Most of these variables are size_t to support single-call mode, 63 * End of the dictionary buffer. In multi-call mode, this is 64 * the same as the dictionary size. In single-call mode, this 77 * Maximum allowed dictionary size in multi-call mode. 78 * This is ignored in single-call mode. 106 * temp.buf or the caller-provided input buffer. 121 /* Probabilities for match lengths 2-9 */ [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | i8259.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 46 static void pic_lock(struct kvm_pic *s) in pic_lock() argument 47 __acquires(&s->lock) in pic_lock() 49 spin_lock(&s->lock); in pic_lock() 52 static void pic_unlock(struct kvm_pic *s) in pic_unlock() argument 53 __releases(&s->lock) in pic_unlock() 55 bool wakeup = s->wakeup_needed; in pic_unlock() 59 s->wakeup_needed = false; in pic_unlock() 61 spin_unlock(&s->lock); in pic_unlock() 64 kvm_for_each_vcpu(i, vcpu, s->kvm) { in pic_unlock() [all …]
|
| /linux/lib/crypto/arm64/ |
| H A D | chacha-neon-core.S | 4 * Copyright (C) 2016-2018 Linaro, Ltd. <ard.biesheuvel@linaro.org> 11 * ChaCha20 256-bit cipher algorithm, RFC7539, x64 SSSE3 functions 29 * chacha_permute - permute one block 31 * Permute one 64-byte block where the state matrix is stored in the four NEON 32 * registers v0-v3. It performs matrix operations on four words in parallel, 42 ld1 {v12.4s}, [x10] 46 add v0.4s, v0.4s, v1.4s 51 add v2.4s, v2.4s, v3.4s 53 shl v1.4s, v4.4s, #12 54 sri v1.4s, v4.4s, #20 [all …]
|
| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-asm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 ld1 {v24.16b-v27.16b}, [ptr], #64; \ 9 ld1 {v28.16b-v31.16b}, [ptr]; 12 sm4e b0.4s, v24.4s; \ 13 sm4e b0.4s, v25.4s; \ 14 sm4e b0.4s, v26.4s; \ 15 sm4e b0.4s, v27.4s; \ 16 sm4e b0.4s, v28.4s; \ 17 sm4e b0.4s, v29.4s; \ 18 sm4e b0.4s, v30.4s; \ [all …]
|
| /linux/ |
| H A D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 6 snail-mail address (S). 10 ---------- 15 D: One of assisting postmasters for vger.kernel.org's lists 16 S: (ask for current address) 17 S: Finland 35 S: C. Negri 6, bl. D3 36 S: Iasi 6600 37 S: Romania [all …]
|
| /linux/drivers/media/pci/tw5864/ |
| H A D | tw5864-h264.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * TW5864 driver - H.264 headers generation functions 15 * Exponential-Golomb coding functions 31 static void bs_init(struct bs *s, void *buf, int size) in bs_init() argument 33 s->buf = buf; in bs_init() 34 s->ptr = buf; in bs_init() 35 s->buf_end = s->ptr + size; in bs_init() 36 s->bits_left = 8; in bs_init() 39 static int bs_len(struct bs *s) in bs_len() argument 41 return s->ptr - s->buf; in bs_len() [all …]
|
| /linux/tools/mm/ |
| H A D | slabinfo.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * gcc -o slabinfo slabinfo.c 84 int output_lines = -1; 114 "slabinfo [-aABDefhilLnoPrsStTUvXz1] [N=K] [-dafzput] [slab-regexp]\n" in usage() 115 "-a|--aliases Show aliases\n" in usage() 116 "-A|--activity Most active slabs first\n" in usage() 117 "-B|--Bytes Show size in bytes\n" in usage() 118 "-D|--display-active Switch line format to activity\n" in usage() 119 "-e|--empty Show empty slabs\n" in usage() 120 "-f|--first-alias Show first alias\n" in usage() [all …]
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-interrupt-decodes.c | 7 * Copyright (c) 2003-2009 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 37 #include <asm/octeon/cvmx-gmxx-defs.h> 38 #include <asm/octeon/cvmx-pcsx-defs.h> 39 #include <asm/octeon/cvmx-pcsxx-defs.h> 40 #include <asm/octeon/cvmx-spxx-defs.h> 41 #include <asm/octeon/cvmx-stxx-defs.h> 49 * __cvmx_interrupt_gmxx_rxx_int_en_enable - enable all interrupt bits in cvmx_gmxx_rxx_int_en_t 60 /* Skipping gmx_rx_int_en.s.reserved_29_63 */ in __cvmx_interrupt_gmxx_rxx_int_en_enable() [all …]
|
| /linux/drivers/media/test-drivers/visl/ |
| H A D | visl-trace-hevc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 12 TP_PROTO(const struct v4l2_ctrl_hevc_sps *s), 13 TP_ARGS(s), 14 TP_STRUCT__entry(__field_struct(struct v4l2_ctrl_hevc_sps, s)), 15 TP_fast_assign(__entry->s = *s), 40 "flags %s", 41 __entry->s.video_parameter_set_id, 42 __entry->s.seq_parameter_set_id, 43 __entry->s.pic_width_in_luma_samples, 44 __entry->s.pic_height_in_luma_samples, [all …]
|
| /linux/sound/usb/usx2y/ |
| H A D | usb_stream.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 struct usb_stream *s = sk->s; in usb_stream_next_packet_size() local 17 sk->out_phase_peeked = (sk->out_phase & 0xffff) + sk->freqn; in usb_stream_next_packet_size() 18 return (sk->out_phase_peeked >> 16) * s->cfg.frame_size; in usb_stream_next_packet_size() 23 struct usb_stream *s = sk->s; in playback_prep_freqn() local 26 for (pack = 0; pack < sk->n_o_ps; pack++) { in playback_prep_freqn() 29 if (s->idle_outsize + lb + l > s->period_size) in playback_prep_freqn() 32 sk->out_phase = sk->out_phase_peeked; in playback_prep_freqn() 33 urb->iso_frame_desc[pack].offset = lb; in playback_prep_freqn() 34 urb->iso_frame_desc[pack].length = l; in playback_prep_freqn() [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_seq.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2008-2014 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 28 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq) argument 31 * trace_seq should work with being initialized with 0s. 33 static inline void __trace_seq_init(struct trace_seq *s) in __trace_seq_init() argument 35 if (unlikely(!s->seq.size)) in __trace_seq_init() 36 trace_seq_init(s); in __trace_seq_init() 40 * trace_print_seq - move the contents of trace_seq into a seq_file 42 * @s: the trace_seq descriptor that is the source. 48 int trace_print_seq(struct seq_file *m, struct trace_seq *s) in trace_print_seq() argument [all …]
|
| /linux/drivers/watchdog/ |
| H A D | sbc8360.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 * (c) Copyright 2000-2001 Marek Michalkiewicz <marekm@linux.org.pl> 25 * "AS-IS" and at no charge. 29 * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> 76 * MOV AX,000nH (set multiplier n, from 1-4) 79 * MOV AX,000mH (set base timer m, from 0-F) 96 * --|---------------------------------- 97 * 0 | 0.5s 5s 50s 100s 98 * 1 | 1s 10s 100s 200s 99 * 2 | 1.5s 15s 150s 300s [all …]
|
| /linux/drivers/net/hamradio/ |
| H A D | hdlcdrv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * hdlcdrv.c -- HDLC packet radio network driver. 7 * Copyright (C) 1996-2000 Thomas Sailer (sailer@ife.ee.ethz.ch) 14 * Written 1993-94 by Donald Becker. 51 #include <linux/crc-ccitt.h> 53 /* --------------------------------------------------------------------- */ 57 /* --------------------------------------------------------------------- */ 67 /* --------------------------------------------------------------------- */ 74 /*---------------------------------------------------------------------------*/ 84 /*---------------------------------------------------------------------------*/ [all …]
|
| /linux/drivers/mtd/spi-nor/ |
| H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <linux/mtd/spi-nor.h> 6 #include <linux/spi/spi-mem.h> 10 #define SPI_NOR_DEBUGFS_ROOT "spi-nor" 37 case SNOR_PROTO_1_1_1: return "1S-1S-1S"; in spi_nor_protocol_name() 38 case SNOR_PROTO_1_1_2: return "1S-1S-2S"; in spi_nor_protocol_name() 39 case SNOR_PROTO_1_1_4: return "1S-1S-4S"; in spi_nor_protocol_name() 40 case SNOR_PROTO_1_1_8: return "1S-1S-8S"; in spi_nor_protocol_name() 41 case SNOR_PROTO_1_2_2: return "1S-2S-2S"; in spi_nor_protocol_name() 42 case SNOR_PROTO_1_4_4: return "1S-4S-4S"; in spi_nor_protocol_name() [all …]
|
| /linux/include/linux/ |
| H A D | seq_buf.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 * struct seq_buf - seq buffer structure 33 static inline void seq_buf_clear(struct seq_buf *s) in seq_buf_clear() argument 35 s->len = 0; in seq_buf_clear() 36 if (s->size) in seq_buf_clear() 37 s->buffer[0] = '\0'; in seq_buf_clear() 41 seq_buf_init(struct seq_buf *s, char *buf, unsigned int size) in seq_buf_init() argument 43 s->buffer = buf; in seq_buf_init() 44 s->size = size; in seq_buf_init() 45 seq_buf_clear(s); in seq_buf_init() [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | mxs-auart.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 11 * Copyright 2008-2010 Freescale Semiconductor, Inc. 34 #include <linux/dma-mapping.h> 90 #define AUART_LINECTRL_WLEN(v) ((((v) - 5) & 0x3) << 5) 138 * RW. Receive Timeout Counter Value: number of 8-bit-time to wait before 140 * input is idle, then the watchdog counter will decrement each bit-time. Note 141 * 7-bit-time is added to the programmed value, so a value of zero will set 142 * the counter to 7-bit-time, a value of 0x1 gives 15-bit-time and so on. Also 146 * value is 0x3 (31 bit-time). [all …]
|
| /linux/drivers/misc/sgi-gru/ |
| H A D | gruprocfs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #define printstat(s, f) printstat_val(s, &gru_stats.f, #f) argument 22 static void printstat_val(struct seq_file *s, atomic_long_t *v, char *id) in printstat_val() argument 26 seq_printf(s, "%16lu %s\n", val, id); in printstat_val() 29 static int statistics_show(struct seq_file *s, void *p) in statistics_show() argument 31 printstat(s, vdata_alloc); in statistics_show() 32 printstat(s, vdata_free); in statistics_show() 33 printstat(s, gts_alloc); in statistics_show() 34 printstat(s, gts_free); in statistics_show() 35 printstat(s, gms_alloc); in statistics_show() [all …]
|
| /linux/tools/arch/x86/intel_sdsi/ |
| H A D | intel_sdsi.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * See https://github.com/intel/intel-sdsi/blob/master/os-interface.rst 48 #define __round_mask(x, y) ((__typeof__(x))((y) - 1)) 49 #define round_up(x, y) ((((x) - 1) | __round_mask(x, y)) + 1) 174 ((METER_CERT_MAX_SIZE - sizeof(struct meter_certificate)) / \ 202 fprintf(stderr, "Cannot open directory %s\n", AUX_DEV_PATH); in sdsi_list_devices() 207 if (!strncmp(SDSI_DEV, entry->d_name, strlen(SDSI_DEV))) { in sdsi_list_devices() 209 printf("%s\n", entry->d_name); in sdsi_list_devices() 217 static int sdsi_update_registers(struct sdsi_dev *s) in sdsi_update_registers() argument 222 memset(&s->regs, 0, sizeof(s->regs)); in sdsi_update_registers() [all …]
|
| /linux/scripts/ |
| H A D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 69 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst"; 72 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE 74 my $git_command ='export LANGUAGE=en_US.UTF-8; git'; 88 -q, --quiet quiet 89 -v, --verbose verbose mode 90 --no-tree run without a kernel tree 91 --no-signoff do not check for 'Signed-off-by' line [all …]
|
| /linux/net/ceph/ |
| H A D | debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * /sys/kernel/debug/ceph/client* - an instance of the ceph client 22 * .../osdmap - current osdmap 23 * .../monmap - current monmap 24 * .../osdc - active osd requests 25 * .../monc - mon client state 26 * .../client_options - libceph-only (i.e. not rbd or cephfs) options 27 * .../dentry_lru - dump contents of dentry lru 28 * .../caps - expose cap (reservation) stats 29 * .../bdi - symlink to ../../bdi/something [all …]
|
| /linux/mm/ |
| H A D | slub.c | 1 // SPDX-License-Identifier: GPL-2.0 38 #include <linux/fault-inject.h> 45 #include <kunit/test-bug.h> 57 * 2. node->list_lock (Spinlock) 58 * 3. kmem_cache->cpu_slab->lock (Local lock) 76 * A. slab->freelist -> List of free objects in a slab 77 * B. slab->inuse -> Number of objects in use 78 * C. slab->objects -> Number of objects in slab 79 * D. slab->frozen -> frozen state 89 * slab's freelist. [all …]
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-btree-spine.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include "dm-btree-internal.h" 9 #include "dm-transaction-manager.h" 11 #include <linux/device-mapper.h> 15 /*----------------------------------------------------------------*/ 24 struct node_header *h = &n->header; in node_prepare_for_write() 26 h->blocknr = cpu_to_le64(dm_block_location(b)); in node_prepare_for_write() 27 h->csum = cpu_to_le32(dm_bm_checksum(&h->flags, in node_prepare_for_write() 28 block_size - sizeof(__le32), in node_prepare_for_write() 37 struct node_header *h = &n->header; in node_check() [all …]
|
| /linux/lib/ |
| H A D | seq_buf.c | 1 // SPDX-License-Identifier: GPL-2.0 31 * seq_buf_can_fit - can the new data fit in the current buffer? 32 * @s: the seq_buf descriptor 35 * Returns: true if there's enough unused space in the seq_buf buffer 38 static bool seq_buf_can_fit(struct seq_buf *s, size_t len) in seq_buf_can_fit() argument 40 return s->len + len <= s->size; in seq_buf_can_fit() 44 * seq_buf_print_seq - move the contents of seq_buf into a seq_file 46 * @s: the seq_buf descriptor that is the source. 48 * Returns: zero on success, non-zero otherwise. 50 int seq_buf_print_seq(struct seq_file *m, struct seq_buf *s) in seq_buf_print_seq() argument [all …]
|