Home
last modified time | relevance | path

Searched +full:segment +full:- (Results 1 – 25 of 1020) sorted by relevance

12345678910>>...41

/linux/drivers/scsi/
H A Dlibiscsi_tcp.c1 // 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 Dqla1280.h1 /* 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 Discsi_tcp.c1 // 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 Dremoteproc_coredump.c1 // 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 Ddc_spl.c1 // 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->height; in intersect_rec()
56 rec.x = r0->x > r1->x ? r0->x : r1->x; in intersect_rec()
57 rec.width = r0_x_end > r1_x_end ? r1_x_end - rec.x : r0_x_end - rec.x; in intersect_rec()
58 rec.y = r0->y > r1->y ? r0->y : r1->y; in intersect_rec()
59 rec.height = r0_y_end > r1_y_end ? r1_y_end - rec.y : r0_y_end - rec.y; in intersect_rec()
80 if ((rec->x + adjust->x) >= 0) in spl_opp_adjust_rect()
[all …]
/linux/fs/romfs/
H A Dstorage.c1 // 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 Dsegment.h1 /* 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 Dsegbuf.h1 /* 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 Dthe_nilfs.h1 /* 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 Dgpio-7-segment.yaml1 # 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 Dxilinx_dma.c1 // 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 Dsegment.h1 /* 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 Dget_address.c1 // 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 Dvisl-trace-vp8.h1 /* 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/Documentation/networking/
H A Dtls-offload.rst1 .. 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/kernel/
H A Dkexec_core.c1 // 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>
43 #include <linux/dma-map-ops.h>
59 * When kexec transitions to the new kernel there is a one-to-one
78 * 0 - TASK_SIZE, as only the user space mappings are arbitrarily
85 * be self-contained.
93 * - allocating a page table with the control code buffer identity
102 #define KIMAGE_NO_DEST (-1UL)
103 #define PAGE_COUNT(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT)
[all …]
/linux/arch/s390/include/asm/
H A Ddat-bits.h1 /* 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/include/linux/sunrpc/
H A Drpc_rdma.h1 /* 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/include/uapi/linux/
H A Dfsmap.h1 /* 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 …]
H A Dnilfs2_api.h1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */
3 * nilfs2_api.h - NILFS2 user space API
5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
20 * struct nilfs_cpinfo - checkpoint information
53 return !!(cpinfo->ci_flags & (1UL << NILFS_CPINFO_##flag)); \
61 * nilfs_suinfo - segment usage information
63 * @sui_nblocks: number of written blocks in segment
64 * @sui_flags: segment usage flags
72 /* segment usage flags */
83 return si->sui_flags & (1UL << NILFS_SUINFO_##flag); \
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-nilfs264 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/drivers/soc/qcom/
H A Dmdt_loader.c1 // 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/fs/btrfs/
H A Dlzo.c1 // 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 …]
/linux/arch/powerpc/boot/
H A Delf.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 /* 32-bit ELF base types. */
12 /* 64-bit ELF base types. */
22 /* These constants are for the segment types stored in the image headers */
30 #define PT_TLS 7 /* Thread local storage segment */
31 #define PT_LOOS 0x60000000 /* OS-specific */
32 #define PT_HIOS 0x6fffffff /* OS-specific */
109 Elf64_Off p_offset; /* Segment file offset */
110 Elf64_Addr p_vaddr; /* Segment virtual address */
111 Elf64_Addr p_paddr; /* Segment physical address */
[all …]
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c1 // SPDX-License-Identifier: GPL-2.0
13 * pcl_free - Release all memory associated with a parsed chunk list
19 while (!list_empty(&pcl->cl_chunks)) { in pcl_free()
23 list_del(&chunk->ch_list); in pcl_free()
36 chunk->ch_position = position; in pcl_alloc_chunk()
37 chunk->ch_length = 0; in pcl_alloc_chunk()
38 chunk->ch_payload_length = 0; in pcl_alloc_chunk()
39 chunk->ch_segcount = 0; in pcl_alloc_chunk()
49 if (pos->ch_position == position) in pcl_lookup_position()
61 if (pos->ch_position > chunk->ch_position) in pcl_insert_position()
[all …]

12345678910>>...41