Home
last modified time | relevance | path

Searched full:segment (Results 1 – 25 of 1573) sorted by relevance

12345678910>>...63

/Linux-v6.6/drivers/scsi/
Dlibiscsi_tcp.c64 struct iscsi_segment *segment);
81 * @segment: the buffer object
85 * This function sets up the segment so that subsequent
90 iscsi_tcp_segment_init_sg(struct iscsi_segment *segment, in iscsi_tcp_segment_init_sg() argument
93 segment->sg = sg; in iscsi_tcp_segment_init_sg()
94 segment->sg_offset = offset; in iscsi_tcp_segment_init_sg()
95 segment->size = min(sg->length - offset, in iscsi_tcp_segment_init_sg()
96 segment->total_size - segment->total_copied); in iscsi_tcp_segment_init_sg()
97 segment->data = NULL; in iscsi_tcp_segment_init_sg()
102 * @segment: iscsi_segment
[all …]
Dqla1280.h519 __le16 dseg_count; /* Data segment count. */
521 __le32 dseg_0_address; /* Data segment 0 address. */
522 __le32 dseg_0_length; /* Data segment 0 length. */
523 __le32 dseg_1_address; /* Data segment 1 address. */
524 __le32 dseg_1_length; /* Data segment 1 length. */
525 __le32 dseg_2_address; /* Data segment 2 address. */
526 __le32 dseg_2_length; /* Data segment 2 length. */
527 __le32 dseg_3_address; /* Data segment 3 address. */
528 __le32 dseg_3_length; /* Data segment 3 length. */
541 __le32 dseg_0_address; /* Data segment 0 address. */
[all …]
Discsi_tcp.c150 iscsi_tcp_segment_unmap(&tcp_conn->in.segment); in iscsi_sw_tcp_recv_data()
282 * iscsi_sw_tcp_xmit_segment - transmit segment
284 * @segment: the buffer to transmnit
291 * hash as it goes. When the entire segment has been transmitted,
295 struct iscsi_segment *segment) in iscsi_sw_tcp_xmit_segment() argument
302 while (!iscsi_tcp_segment_done(tcp_conn, segment, 0, r)) { in iscsi_sw_tcp_xmit_segment()
309 offset = segment->copied; in iscsi_sw_tcp_xmit_segment()
310 copy = segment->size - offset; in iscsi_sw_tcp_xmit_segment()
312 if (segment->total_copied + segment->size < segment->total_size) in iscsi_sw_tcp_xmit_segment()
318 if (!segment->data) { in iscsi_sw_tcp_xmit_segment()
[all …]
/Linux-v6.6/drivers/remoteproc/
Dremoteproc_coredump.c38 * 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()
56 segment->da = da; in rproc_coredump_add_segment()
57 segment->size = size; in rproc_coredump_add_segment()
59 list_add_tail(&segment->node, &rproc->dump_segments); in rproc_coredump_add_segment()
66 * rproc_coredump_add_custom_segment() - add custom coredump segment
69 * @size: size of segment
[all …]
/Linux-v6.6/arch/x86/lib/
Dinsn-eval.c78 * get_seg_reg_override_idx() - obtain segment register override index
79 * @insn: Valid instruction with segment override prefixes
81 * Inspect the instruction prefixes in @insn and find segment overrides, if any.
85 * A constant identifying the segment register to use, among CS, SS, DS,
86 * ES, FS, or GS. INAT_SEG_REG_DEFAULT is returned if no segment override
99 /* Look for any segment override prefixes. */ in get_seg_reg_override_idx()
133 /* More than one segment override prefix leads to undefined behavior. */ in get_seg_reg_override_idx()
141 * check_seg_overrides() - check if segment override prefixes are allowed
142 * @insn: Valid instruction with segment override prefixes
146 * segment override prefixes can be used. Specifically, no overrides are allowed
[all …]
/Linux-v6.6/fs/romfs/
Dstorage.c40 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()
70 size_t len, segment; in romfs_mtd_strcmp() local
78 segment = min_t(size_t, size + 1, 17); in romfs_mtd_strcmp()
79 ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf); in romfs_mtd_strcmp()
108 size_t segment; in romfs_blk_read() local
113 segment = min_t(size_t, buflen, ROMBSIZE - offset); in romfs_blk_read()
117 memcpy(buf, bh->b_data + offset, segment); in romfs_blk_read()
119 buf += segment; in romfs_blk_read()
[all …]
/Linux-v6.6/fs/nilfs2/
Dsegment.h3 * NILFS Segment constructor prototypes and definitions
28 * @ri_lseg_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
33 * @ri_nextnum: Next segment number on the last partial segment
77 * struct nilfs_sc_info - Segment constructor information
85 * @sc_freesegs: array of segment numbers to be freed
90 * @sc_segbufs: List of segment buffers
91 * @sc_write_logs: List of segment buffers to hold logs under writing
[all …]
Dsufile.h3 * NILFS segment usage file.
58 * nilfs_sufile_scrap - make a segment garbage
59 * @sufile: inode of segment usage file
60 * @segnum: segment number to be freed
68 * nilfs_sufile_free - free segment
69 * @sufile: inode of segment usage file
70 * @segnum: segment number to be freed
79 * @sufile: inode of segment usage file
80 * @segnumv: array of segment numbers
93 * @sufile: inode of segment usage file
[all …]
Dsegbuf.h3 * NILFS Segment buffer prototypes and definitions
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
49 * @sb_segnum: Index number of the full segment
50 * @sb_nextnum: Index number of the next full segment
[all …]
Dsufile.c3 * NILFS segment usage 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 */
121 * @sufile: inode of segment usage file
129 * nilfs_sufile_updatev - modify multiple segment usages at a time
130 * @sufile: inode of segment usage file
131 * @segnumv: array of segment numbers
140 * segment usage entry is contained. If @ndone is given, the number
[all …]
Dthe_nilfs.h50 * @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
56 * @ns_nongc_ctime: write time of the last segment not for cleaner operation
58 * @ns_last_segment_lock: lock protecting fields for the latest segment
59 * @ns_last_pseg: start block number of the latest segment
60 * @ns_last_seq: sequence value of the latest segment
61 * @ns_last_cno: checkpoint number of the latest segment
[all …]
/Linux-v6.6/arch/x86/include/asm/
Dsegment.h10 * Constructor for a conventional segment GDT (or LDT) entry.
37 * not 0. Testing the Requested Privilege Level in a segment selector to
52 /* LDT segment has TI set ... */
73 * 6 - TLS segment #1 [ glibc's TLS segment ]
74 * 7 - TLS segment #2 [ Wine's %fs Win32 segment ]
75 * 8 - TLS segment #3 <=== cacheline #3
82 * 12 - kernel code segment <=== cacheline #4
83 * 13 - kernel data segment
132 * Segment selector values corresponding to the above entries:
142 /* segment for calling fn: */
[all …]
/Linux-v6.6/arch/x86/math-emu/
Dget_address.c123 static unsigned long vm86_segment(u_char segment, struct address *addr) in vm86_segment() argument
125 segment--; in vm86_segment()
127 if (segment > PREFIX_SS_) { in vm86_segment()
132 addr->selector = VM86_REG_(segment); in vm86_segment()
133 return (unsigned long)VM86_REG_(segment) << 4; in vm86_segment()
137 static long pm_address(u_char FPU_modrm, u_char segment, in pm_address() argument
143 segment--; in pm_address()
146 /* segment is unsigned, so this also detects if segment was 0: */ in pm_address()
147 if (segment > PREFIX_SS_) { in pm_address()
153 switch (segment) { in pm_address()
[all …]
/Linux-v6.6/drivers/dma/xilinx/
Dxilinx_dma.c313 * struct xilinx_vdma_tx_segment - Descriptor segment
316 * @phys: Physical address of segment
325 * struct xilinx_axidma_tx_segment - Descriptor segment
328 * @phys: Physical address of segment
337 * struct xilinx_aximcdma_tx_segment - Descriptor segment
340 * @phys: Physical address of segment
349 * struct xilinx_cdma_tx_segment - Descriptor segment
352 * @phys: Physical address of segment
410 * @cyclic_seg_v: Statically allocated segment base for cyclic transfers
661 * xilinx_vdma_alloc_tx_segment - Allocate transaction segment
[all …]
/Linux-v6.6/drivers/media/test-drivers/visl/
Dvisl-trace-vp8.h43 "segment.lf_update %s\n"
44 "segment.segment_probs %s\n"
45 "segment.flags %s\n"
77 __print_array(__entry->f.segment.quant_update,
78 ARRAY_SIZE(__entry->f.segment.quant_update),
79 sizeof(__entry->f.segment.quant_update[0])),
80 __print_array(__entry->f.segment.lf_update,
81 ARRAY_SIZE(__entry->f.segment.lf_update),
82 sizeof(__entry->f.segment.lf_update[0])),
83 __print_array(__entry->f.segment.segment_probs,
[all …]
/Linux-v6.6/Documentation/networking/
Dtls-offload.rst110 After TX state is installed, the stack guarantees that the first segment
124 so the initial records' TCP sequence number may be anywhere inside the segment.
141 to be possible device has to keep small amount of segment-to-segment state.
144 * partial headers (if a segment carried only a part of the TLS header)
147 authentication tag has to be written or read from the subsequent segment)
187 corresponding to the segment. Networking stack makes sure decrypted
215 Whenever an out of order segment is transmitted the driver provides
218 segment has to be passed to the device as part of the packet context,
226 (next expected segment is the one after the out of order one), or continue
227 with the previous stream state - assuming that the out of order segment
[all …]
/Linux-v6.6/arch/arm64/kernel/
Dmachine_kexec.c48 pr_debug(" segment[%lu]: %016lx - %016lx, 0x%lx bytes, %lu pages\n", in _kexec_image_info()
50 kimage->segment[i].mem, in _kexec_image_info()
51 kimage->segment[i].mem + kimage->segment[i].memsz, in _kexec_image_info()
52 kimage->segment[i].memsz, in _kexec_image_info()
53 kimage->segment[i].memsz / PAGE_SIZE); in _kexec_image_info()
89 pr_debug(" segment[%lu]: %016lx - %016lx, 0x%lx bytes, %lu pages\n", in kexec_segment_flush()
91 kimage->segment[i].mem, in kexec_segment_flush()
92 kimage->segment[i].mem + kimage->segment[i].memsz, in kexec_segment_flush()
93 kimage->segment[i].memsz, in kexec_segment_flush()
94 kimage->segment[i].memsz / PAGE_SIZE); in kexec_segment_flush()
[all …]
/Linux-v6.6/arch/s390/mm/
Dextmem.c86 * Create the 8 bytes, ebcdic VM segment name from
130 * Perform a function on a dcss segment.
161 /* do a diag to get info about a segment.
205 /* multi-part segment. only one type supported here: in query_segment_type()
241 * get info about a segment
245 * -ENOENT : no such segment
246 * -EOPNOTSUPP: multi-part segment cannot be used with linux
248 * 0 .. 6 : type of segment as defined in include/asm-s390/extmem.h
267 * check if segment collides with other segments that are currently loaded
291 * real segment loading function, called from segment_load
[all …]
/Linux-v6.6/include/uapi/linux/
Dnilfs2_ondisk.h80 * @sr_nongc_ctime: write time of the last segment not for cleaner operation
83 * @sr_sufile: segment usage file inode
159 /*30*/ __le32 s_blocks_per_segment; /* number of blocks per full segment */
188 __le16 s_segment_usage_size; /* Size of a segment usage */
193 /*F8*/ __le32 s_c_interval; /* Commit interval of segment */
196 * the segment construction
241 #define NILFS_SUFILE_INO 5 /* segment usage file */
252 * a full segment
256 * a partial segment
383 * struct nilfs_segment_summary - segment summary header
[all …]
Dfsmap.h53 __u64 fmr_physical; /* device offset of segment */
55 __u64 fmr_offset; /* file offset of segment */
56 __u64 fmr_length; /* length of segment */
91 /* fmh_oflags values - returned in the header segment only. */
94 /* fmr_flags values - returned for each non-header segment */
95 #define FMR_OF_PREALLOC 0x1 /* segment = unwritten pre-allocation */
96 #define FMR_OF_ATTR_FORK 0x2 /* segment = attribute fork */
97 #define FMR_OF_EXTENT_MAP 0x4 /* segment = extent map */
98 #define FMR_OF_SHARED 0x8 /* segment = shared with another file */
100 #define FMR_OF_LAST 0x20 /* segment is the last in the dataset */
/Linux-v6.6/include/linux/sunrpc/
Drpc_rdma.h128 * xdr_encode_rdma_segment - Encode contents of an RDMA segment
135 * Pointer to the XDR position that follows the encoded RDMA segment
146 * xdr_encode_read_segment - Encode contents of a Read segment
154 * Pointer to the XDR position that follows the encoded Read segment
165 * xdr_decode_rdma_segment - Decode contents of an RDMA segment
166 * @p: Pointer to the undecoded RDMA segment
172 * Pointer to the XDR item that follows the RDMA segment
183 * xdr_decode_read_segment - Decode contents of a Read segment
184 * @p: Pointer to the undecoded Read segment
185 * @position: Upon return, the segment's position
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-fs-nilfs297 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
154 Show write time of the last segment in seconds.
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_buddy.c74 unsigned int *segment, in dr_buddy_find_free_seg() argument
98 *segment = seg; in dr_buddy_find_free_seg()
107 * @segment: Segment number.
114 * Return: 0 when segment is set, non-zero error status otherwise.
116 * The function returns the location (segment) in the whole buddy ICM memory
117 * area - the index of the memory segment that is available for use.
121 unsigned int *segment) in mlx5dr_buddy_alloc_mem() argument
145 *segment = seg; in mlx5dr_buddy_alloc_mem()
155 /* Whenever a segment is free, in mlx5dr_buddy_free_mem()
/Linux-v6.6/fs/btrfs/
Dlzo.c33 * 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
124 * - Write a segment header into the destination
126 * - Make sure we have enough space in the last sector to fit a segment header
147 * We never allow a segment header crossing sector boundary, previous in copy_compressed_data_to_page()
[all …]
/Linux-v6.6/drivers/soc/qcom/
Dmdt_loader.c35 unsigned int segment, const char *fw_name, in mdt_load_split_segment() argument
38 const struct elf32_phdr *phdr = &phdrs[segment]; in mdt_load_split_segment()
50 sprintf(seg_name + strlen(fw_name) - 3, "b%02d", segment); in mdt_load_split_segment()
61 "failed to load segment %d from truncated file %s\n", in mdt_load_split_segment()
62 segment, seg_name); in mdt_load_split_segment()
111 * @fw_name: name of the firmware, for construction of segment file names
115 * expects an ELF header directly followed by the segment of hashes, with no
156 dev_err(dev, "no hash segment found in %s\n", fw_name); in qcom_mdt_read_metadata()
175 /* Hash is in its own segment, but within the loaded file */ in qcom_mdt_read_metadata()
179 /* Hash is in its own segment, beyond the loaded file */ in qcom_mdt_read_metadata()
[all …]

12345678910>>...63