| /linux/drivers/scsi/ |
| H A D | libiscsi_tcp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * iSCSI over TCP/IP Data-Path lib 7 * Copyright (C) 2005 - 2006 Mike Christie 9 * maintained by open-iscsi@googlegroups.com 42 MODULE_DESCRIPTION("iSCSI/TCP data-path"); 59 &(_conn)->cls_conn->dev, \ 64 struct iscsi_segment *segment); 80 * iscsi_tcp_segment_init_sg - init indicated scatterlist entry 81 * @segment: the buffer object 85 * This function sets up the segment so that subsequent [all …]
|
| H A D | qla1280.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 77 /* Command retry count (0-65535) */ 85 /* ISP request and response entry counts (37-65535) */ 95 /* NOTE: the sp->cmd will be NULL when this completion is 126 #define ISP_CFG1_F128 BIT_6 /* 128-byte FIFO threshold */ 127 #define ISP_CFG1_F64 BIT_4|BIT_5 /* 128-byte FIFO threshold */ 128 #define ISP_CFG1_F32 BIT_5 /* 128-byte FIFO threshold */ 129 #define ISP_CFG1_F16 BIT_4 /* 128-byte FIFO threshold */ 139 #define PCI_64BIT_SLOT BIT_14 /* PCI 64-bit slot indicator. */ 159 #define CDMA_CONF_DIR BIT_0 /* DMA direction (0=fifo->host 1=host->fifo) */ [all …]
|
| H A D | iscsi_tcp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * iSCSI Initiator over TCP/IP Data-Path 7 * Copyright (C) 2005 - 2006 Mike Christie 9 * maintained by open-iscsi@googlegroups.com 30 #include <linux/backing-dev.h> 45 MODULE_DESCRIPTION("iSCSI/TCP data-path"); 72 &(_conn)->cls_conn->dev, \ 78 * iscsi_sw_tcp_recv - TCP receive in sendfile fashion 82 * @len: skb->len - offset 87 struct iscsi_conn *conn = rd_desc->arg.data; in iscsi_sw_tcp_recv() [all …]
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_coredump.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * rproc_coredump_cleanup() - clean up dump_segments list 30 list_for_each_entry_safe(entry, tmp, &rproc->dump_segments, node) { in rproc_coredump_cleanup() 31 list_del(&entry->node); in rproc_coredump_cleanup() 38 * rproc_coredump_add_segment() - add segment of device memory to coredump 41 * @size: size of segment 50 struct rproc_dump_segment *segment; in rproc_coredump_add_segment() local 52 segment = kzalloc(sizeof(*segment), GFP_KERNEL); in rproc_coredump_add_segment() 53 if (!segment) in rproc_coredump_add_segment() 54 return -ENOMEM; in rproc_coredump_add_segment() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/sspl/ |
| H A D | dc_spl.c | 1 // SPDX-License-Identifier: MIT 51 int r0_x_end = r0->x + r0->width; in intersect_rec() 52 int r1_x_end = r1->x + r1->width; in intersect_rec() 53 int r0_y_end = r0->y + r0->height; in intersect_rec() 54 int r1_y_end = r1->y + r1->heigh in intersect_rec() [all...] |
| /linux/fs/romfs/ |
| H A D | storage.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #define ROMFS_MTD_READ(sb, ...) mtd_read((sb)->s_mtd, ##__VA_ARGS__) 30 return (ret < 0 || rlen != buflen) ? -EIO : 0; in romfs_mtd_read() 40 size_t segment; in romfs_mtd_strnlen() local 47 segment = min_t(size_t, maxlen, 16); in romfs_mtd_strnlen() 48 ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf); in romfs_mtd_strnlen() 53 return n + (p - buf); in romfs_mtd_strnlen() 54 maxlen -= len; in romfs_mtd_strnlen() 64 * - return 1 if matched, 0 if differ, -ve if error 70 size_t len, segment; in romfs_mtd_strcmp() local [all …]
|
| /linux/fs/nilfs2/ |
| H A D | segment.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * NILFS Segment constructor prototypes and definitions 5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. 22 * struct nilfs_recovery_info - Recovery information 26 * @ri_lsegs_start: Region for roll-forwarding (start block number) 27 * @ri_lsegs_end: Region for roll-forwarding (end block number) 28 * @ri_lsegs_start_seq: Sequence value of the segment at ri_lsegs_start 30 * @ri_pseg_start: Block number of the last partial segment 31 * @ri_seq: Sequence number on the last partial segment 32 * @ri_segnum: Segment number on the last partial segment [all …]
|
| H A D | sufile.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NILFS segment usage file. 5 * Copyright (C) 2006-2008 Nippon Telegraph and Telephone Corporation. 22 * struct nilfs_sufile_info - on-memory private data of sufile 23 * @mi: on-memory private data of metadata file 25 * @allocmin: lower limit of allocatable segment range 26 * @allocmax: upper limit of allocatable segment range 31 __u64 allocmin; /* lower limit of allocatable segment range */ 32 __u64 allocmax; /* upper limit of allocatable segment range */ 43 return NILFS_MDT(sufile)->mi_entries_per_block; in nilfs_sufile_segment_usages_per_block() [all …]
|
| H A D | segbuf.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * NILFS Segment buffer prototypes and definitions 5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. 19 * struct nilfs_segsum_info - On-memory segment summary 22 * @nblocks: Number of blocks included in the partial segment 24 * @sumbytes: Byte count of segment summary 26 * @seg_seq: Segment sequence number 29 * @next: Block number of the next full segment 45 * struct nilfs_segment_buffer - Segment buffer 48 * @sb_sum: On-memory segment summary [all …]
|
| H A D | the_nilfs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. 19 #include <linux/backing-dev.h> 36 * struct the_nilfs - struct to supervise multiple nilfs mount points 43 * @ns_sbh: buffer heads of on-disk super blocks 50 * @ns_seg_seq: segment sequence counter 51 * @ns_segnum: index number of the latest full segment. 52 * @ns_nextnum: index number of the full segment index to be used next 53 * @ns_pseg_offset: offset of next partial segment in the current full segment 55 * @ns_ctime: write time of the last segment [all …]
|
| /linux/Documentation/devicetree/bindings/auxdisplay/ |
| H A D | gpio-7-segment.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/auxdisplay/gpio-7-segment.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO based LED segment display 10 - Chris Packham <chris.packham@alliedtelesis.co.nz> 14 const: gpio-7-segment 16 segment-gpios: 18 An array of GPIOs one per segment. The first GPIO corresponds to the A 19 segment, the seventh GPIO corresponds to the G segment. Some LED blocks [all …]
|
| /linux/drivers/dma/xilinx/ |
| H A D | xilinx_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2014 Xilinx, Inc. All rights reserved. 11 * core that provides high-bandwidth direct memory access between memory 12 * and AXI4-Stream type video target peripherals. The core provides efficient 18 * registers are accessed through an AXI4-Lite slave interface. 21 * provides high-bandwidth one dimensional direct memory access between memory 22 * and AXI4-Stream target peripherals. It supports one receive and one 25 * The AXI CDMA, is a soft IP, which provides high-bandwidth Direct Memory 26 * Access (DMA) between a memory-mapped source address and a memory-mapped 30 * Xilinx IP that provides high-bandwidth direct memory access between [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | segment.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * Constructor for a conventional segment GDT (or LDT) entry. 14 ((((base) & _AC(0xff000000,ULL)) << (56-24)) | \ 16 (((limit) & _AC(0x000f0000,ULL)) << (48-16)) | \ 37 * not 0. Testing the Requested Privilege Level in a segment selector to 52 /* LDT segment has TI set ... */ 61 * The layout of the per-CPU GDT under Linux: 63 * 0 - null <=== cacheline #1 64 * 1 - reserved 65 * 2 - reserved [all …]
|
| /linux/arch/x86/math-emu/ |
| H A D | get_address.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 9 | Australia. E-mail billm@suburbia.net | 12 +---------------------------------------------------------------------------*/ 14 /*---------------------------------------------------------------------------+ 19 +---------------------------------------------------------------------------*/ 43 #define REG_(x) (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs)) 56 (reg_offset_vm86[((unsigned)x)] + (u_char *)FPU_info->regs)) 69 (reg_offset_pm[((unsigned)x)] + (u_char *)FPU_info->regs)) 93 /* A non-zero ss is illegal */ in sib() [all …]
|
| /linux/drivers/media/test-drivers/visl/ |
| H A D | visl-trace-vp8.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 TP_fast_assign(__entry->f = *f;), 21 __entry->f.entropy.coeff_probs, 22 sizeof(__entry->f.entropy.coeff_probs), 24 __print_array(__entry->f.entropy.y_mode_probs, 25 ARRAY_SIZE(__entry->f.entropy.y_mode_probs), 26 sizeof(__entry->f.entropy.y_mode_probs[0])), 27 __print_array(__entry->f.entropy.uv_mode_probs, 28 ARRAY_SIZE(__entry->f.entropy.uv_mode_probs), 29 sizeof(__entry->f.entropy.uv_mode_probs[0])), [all …]
|
| /linux/block/ |
| H A D | blk-mq-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <linux/blk-integrity.h> 6 #include <linux/blk-mq-dma.h> 16 if (iter->iter.bi_size) in __blk_map_iter_next() 18 if (!iter->bio || !iter->bio->bi_next) in __blk_map_iter_next() 21 iter->bio = iter->bio->bi_next; in __blk_map_iter_next() 22 if (iter->is_integrity) { in __blk_map_iter_next() 23 iter->iter = bio_integrity(iter->bio)->bip_iter; in __blk_map_iter_next() 24 iter->bvecs = bio_integrity(iter->bio)->bip_vec; in __blk_map_iter_next() 26 iter->iter = iter->bio->bi_iter; in __blk_map_iter_next() [all …]
|
| /linux/Documentation/networking/ |
| H A D | tls-offload.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 13 For details regarding the user-facing interface refer to the TLS 18 * Software crypto mode (``TLS_SW``) - CPU handles the cryptography. 24 * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto 28 (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``). 29 * Full TCP NIC offload mode (``TLS_HW_RECORD``) - mode of operation where 33 abilities or QoS and packet scheduling (``ethtool`` flag ``tls-hw-record``). 36 offload opt-in or opt-out on per-connection basis is not currently supported. 39 -- 52 -- [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | dat-bits.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 unsigned long rsto: 52;/* Region- or Segment-Table Origin */ 19 unsigned long s : 1; /* Storage-Alteration-Event control */ 20 unsigned long x : 1; /* Space-Switch-Event control */ 21 unsigned long r : 1; /* Real-Space control */ 23 unsigned long dt : 2; /* Designation-Type control */ 24 unsigned long tl : 2; /* Region- or Segment-Table Length */ 38 unsigned long rto: 52;/* Region-Table Origin */ 40 unsigned long p : 1; /* DAT-Protection Bit */ 42 unsigned long tf : 2; /* Region-Second-Table Offset */ [all …]
|
| /linux/drivers/md/dm-pcache/ |
| H A D | cache.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 #include "segment.h" 38 /* Offset and size definitions for cache segment control */ 79 u32 cache_seg_id; /* Index in cache->segments */ 80 struct pcache_segment segment; member 225 return FIELD_GET(PCACHE_CACHE_FLAGS_GC_PERCENT_MASK, cache->cache_info.flags); in pcache_cache_get_gc_percent() 268 /* pre-allocated key and backing_dev_req */ 276 * |--------| key_tmp 283 * |----------| key_tmp 290 * |----------------| key_tmp [all …]
|
| /linux/include/linux/sunrpc/ |
| H A D | rpc_rdma.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (c) 2015-2017 Oracle. All rights reserved. 4 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved. 9 * COPYING in the main directory of this source tree, or the BSD-type 78 RDMA_NOMSG = 1, /* An RPC call or reply msg - separate body */ 94 * Private extension to RPC-over-RDMA Version One. 95 * Message passed during RDMA-CM connection set-up. 118 return (size >> 10) - 1; in rpcrdma_encode_buffer_size() 128 * xdr_encode_rdma_segment - Encode contents of an RDMA segment 135 * Pointer to the XDR position that follows the encoded RDMA segment [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | mdt_loader.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. 27 if (fw->size < sizeof(*ehdr)) in mdt_header_valid() 30 ehdr = (struct elf32_hdr *)fw->data; in mdt_header_valid() 32 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG)) in mdt_header_valid() 35 if (ehdr->e_phentsize != sizeof(struct elf32_phdr)) in mdt_header_valid() 38 phend = size_add(size_mul(sizeof(struct elf32_phdr), ehdr->e_phnum), ehdr->e_phoff); in mdt_header_valid() 39 if (phend > fw->size) in mdt_header_valid() 42 if (ehdr->e_shentsize || ehdr->e_shnum) { in mdt_header_valid() 43 if (ehdr->e_shentsize != sizeof(struct elf32_shdr)) in mdt_header_valid() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | fsmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 35 * contents of fsmap_head.fmh_recs[fsmap_head.fmh_count - 1] should be 44 * fmr_device can be either a 32-bit cookie representing a device, or 45 * a 32-bit dev_t if the FMH_OF_DEV_T flag is set. fmr_physical, 53 __u64 fmr_physical; /* device offset of segment */ 55 __u64 fmr_offset; /* file offset of segment */ 56 __u64 fmr_length; /* length of segment */ 84 head->fmh_keys[0] = head->fmh_recs[head->fmh_entries - 1]; in fsmap_advance() 87 /* fmh_iflags values - set by FS_IOC_GETFSMAP caller in the header. */ 91 /* fmh_oflags values - returned in the header segment only. */ [all …]
|
| /linux/kernel/ |
| H A D | kexec_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * kexec.c - kexec system call core code. 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 44 #include <linux/dma-map-ops.h> 61 * When kexec transitions to the new kernel there is a one-to-one 80 * 0 - TASK_SIZE, as only the user space mappings are arbitrarily 87 * be self-contained. 95 * - allocating a page table with the control code buffer identity 104 #define KIMAGE_NO_DEST (-1UL) 105 #define PAGE_COUNT(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT) [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-fs-nilfs2 | 64 Show last write time of super block in human-readable 97 Show start block number of the latest segment. 103 Show sequence value of the latest segment. 109 Show checkpoint number of the latest segment. 115 Show segment sequence counter. 121 Show index number of the latest full segment. 127 Show index number of the full segment index 134 Show offset of next partial segment in the current 135 full segment. 147 Show write time of the last segment in [all …]
|
| /linux/fs/btrfs/ |
| H A D | lzo.c | 1 // SPDX-License-Identifier: GPL-2.0 33 * 2. Segment(s) 34 * Variable size. Each segment includes one segment header, followed by data 37 * For inlined LZO compressed extent, only one segment is allowed. 38 * One segment represents at most one sector of uncompressed data. 40 * 2.1 Segment header 42 * Records the total size of the segment (not including the header). 43 * Segment header never crosses sector boundary, thus it's possible to 70 return lzo1x_worst_compress(fs_info->sectorsize); in workspace_buf_length() 74 return lzo1x_worst_compress(fs_info->sectorsize); in workspace_cbuf_length() [all …]
|