Home
last modified time | relevance | path

Searched full:segments (Results 1 – 25 of 605) sorted by relevance

12345678910>>...25

/linux/Documentation/arch/powerpc/
H A Dpci_iov_resource_on_powernv.rst95 * It is divided into 256 segments of equal size. A table in the chip
108 more segments.
120 has 256 segments; however, there is no table for mapping a segment
135 trick, to match to those giant segments.
144 - We cannot "group" segments in HW, so if a device ends up using more
153 PEs" that are used for the remaining M64 segments.
189 equally-sized segments. The finest granularity possible is a 256MB
190 window with 1MB segments. VF BARs that are 1MB or larger could be
196 BARs span several segments.
202 like the M32 window, but the segments can't be individually mapped to
[all …]
/linux/rust/macros/
H A Dpaste.rs7 let mut segments = Vec::new(); in concat_helper() localVariable
19 segments.push((value, lit.span())); in concat_helper()
26 segments.push((value, ident.span())); in concat_helper()
33 let (mut value, sp) = segments.pop().expect("expected identifier before modifier"); in concat_helper()
47 segments.push((value, sp)); in concat_helper()
51 segments.append(&mut concat_helper(tokens.as_slice())); in concat_helper()
53 token => panic!("unexpected token in paste segments: {token:?}"), in concat_helper()
57 segments in concat_helper()
61 let segments = concat_helper(tokens); in concat() localVariable
62 let pasted: String = segments.into_iter().map(|x| x.0).collect(); in concat()
[all …]
/linux/kernel/
H A Dkexec.c24 struct kexec_segment *segments, in kimage_alloc_init() argument
47 memcpy(image->segment, segments, nr_segments * sizeof(*segments)); in kimage_alloc_init()
63 * the vector of segments so that it's pages will also be in kimage_alloc_init()
92 struct kexec_segment *segments, unsigned long flags) in do_kexec_load() argument
130 ret = kimage_alloc_init(&image, entry, nr_segments, segments, flags); in do_kexec_load()
234 * of segments passed to kexec_load. in kexec_load_check()
243 struct kexec_segment __user *, segments, unsigned long, flags) in SYSCALL_DEFINE4()
257 ksegments = memdup_array_user(segments, nr_segments, sizeof(ksegments[0])); in SYSCALL_DEFINE4()
270 struct compat_kexec_segment __user *, segments, in COMPAT_SYSCALL_DEFINE4() argument
293 result = copy_from_user(&in, &segments[i], sizeof(in)); in COMPAT_SYSCALL_DEFINE4()
/linux/drivers/remoteproc/
H A Dremoteproc_coredump.c43 * Add device memory to the list of segments to be included in a coredump for
73 * Add device memory to the list of segments to be included in the coredump
135 struct list_head *segments, in rproc_coredump_find_segment() argument
140 list_for_each_entry(segment, segments, node) { in rproc_coredump_find_segment()
227 * This function will generate an ELF header for the registered segments
229 * coredump configuration this function will directly copy the segments
230 * from device memory to userspace or copy segments from device memory to
260 * For default configuration buffer includes headers & segments. in rproc_coredump()
261 * For inline dump buffer just includes headers as segments are in rproc_coredump()
338 * segments and create a devcoredump device associated with rproc. Based on
[all …]
/linux/include/xen/interface/io/
H A Dblkif.h155 * Recognized if "feature-max-indirect-segments" in present in the backend
156 * xenbus info. The "feature-max-indirect-segments" node contains the maximum
157 * number of segments allowed by the backend per request. If the node is
160 * maximum number of indirect segments is fixed by the backend, but the
161 * frontend can issue requests with any number of indirect segments as long as
164 * grant references of the pages that are holding the indirect segments.
166 * information about the segments. The number of indirect pages to use is
167 * determined by the number of segments an indirect request contains. Every
169 * (PAGE_SIZE / sizeof(struct blkif_request_segment)) segments, so to
174 * create the "feature-max-indirect-segments" node!
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-nilfs2183 What: /sys/fs/nilfs2/<device>/segments/segments_number
187 Show number of segments on a volume.
189 What: /sys/fs/nilfs2/<device>/segments/blocks_per_segment
195 What: /sys/fs/nilfs2/<device>/segments/clean_segments
199 Show count of clean segments.
201 What: /sys/fs/nilfs2/<device>/segments/dirty_segments
205 Show count of dirty segments.
207 What: /sys/fs/nilfs2/<device>/segments/README
211 Describe attributes of /sys/fs/nilfs2/<device>/segments
/linux/drivers/block/xen-blkback/
H A Dcommon.h50 * This is the maximum number of segments that would be allowed in indirect
81 uint8_t nr_segments; /* number of segments */
111 * The maximum number of indirect segments (and pages) that will
114 * feature-max-indirect-segments entry), so the frontend knows how
115 * many indirect segments the backend supports.
133 uint8_t nr_segments; /* number of segments */
167 * The maximum number of indirect segments (and pages) that will
170 * feature-max-indirect-segments entry), so the frontend knows how
171 * many indirect segments the backend supports.
352 struct grant_page *segments[MAX_INDIRECT_SEGMENTS]; member
/linux/arch/arm/mm/
H A Dproc-arm940.S117 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
123 bcs 1b @ segments 3 to 0
172 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
178 bcs 1b @ segments 7 to 0
195 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
201 bcs 1b @ segments 7 to 0
218 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
224 bcs 1b @ segments 7 to 0
241 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
252 bcs 1b @ segments 7 to 0
/linux/net/core/
H A Dgso.c81 * This function segments the given skb and returns a list of segments.
134 * skb_gso_transport_seglen - Return length of individual segments of a gso packet
139 * individual segments, including Layer4 headers (TCP/UDP).
169 * skb_gso_network_seglen - Return length of individual segments of a gso packet
174 * individual segments, including Layer3 (IP, IPv6) and L4 headers (TCP/UDP).
187 * skb_gso_mac_seglen - Return length of individual segments of a gso packet
192 * individual segments, including MAC/L2, Layer3 (IP, IPv6) and L4
/linux/arch/x86/kernel/
H A Dtls.c45 * hardened this function to disallow 16-bit TLS segments. Fix in tls_desc_okay()
46 * it up by interpreting these zeroed segments the way that they in tls_desc_okay()
60 * espfix is required for 16-bit data segments, but espfix in tls_desc_okay()
61 * only works for LDT segments. in tls_desc_okay()
66 /* Only allow data segments in the TLS array. */ in tls_desc_okay()
71 * Non-present segments with DPL 3 present an interesting attack in tls_desc_okay()
72 * surface. The kernel should handle such segments correctly, in tls_desc_okay()
74 * such segments from being created. in tls_desc_okay()
/linux/net/mptcp/
H A Dmib.h17 MPTCP_MIB_RETRANSSEGS, /* Segments retransmitted at the MPTCP-level */
38 MPTCP_MIB_OFOQUEUETAIL, /* Segments inserted into OoO queue tail */
39 MPTCP_MIB_OFOQUEUE, /* Segments inserted into OoO queue */
40 MPTCP_MIB_OFOMERGE, /* Segments merged in OoO queue */
41 MPTCP_MIB_NODSSWINDOW, /* Segments not in MPTCP windows */
42 MPTCP_MIB_DUPDATA, /* Segments discarded due to duplicate DSS */
/linux/drivers/dma/xilinx/
H A Dxilinx_dma.c318 * @node: Node in the descriptor segments list
330 * @node: Node in the descriptor segments list
342 * @node: Node in the descriptor segments list
354 * @node: Node in the descriptor segments list
366 * @segments: TX segments list
374 struct list_head segments; member
410 * @seg_v: Statically allocated segments base
411 * @seg_mv: Statically allocated segments base for MCDMA
412 * @seg_p: Physical allocated segments base
414 * @cyclic_seg_p: Physical allocated segments base for cyclic dma
[all …]
/linux/drivers/acpi/acpica/
H A Dnsaccess.c366 "Null Pathname (Zero segments), Flags=%X\n", in acpi_ns_lookup()
456 * Determine the number of ACPI name segments in this pathname. in acpi_ns_lookup()
460 * - A dual_name_prefix followed by two 4-byte name segments in acpi_ns_lookup()
462 * number of segments and the segments themselves. in acpi_ns_lookup()
466 * segments. in acpi_ns_lookup()
472 * have the correct target node and there are no name segments. in acpi_ns_lookup()
478 "Prefix-only Pathname (Zero name segments), Flags=%X\n", in acpi_ns_lookup()
488 /* Two segments, point to first name segment */ in acpi_ns_lookup()
494 "Dual Pathname (2 segments, Flags=%X)\n", in acpi_ns_lookup()
511 "Multi Pathname (%u Segments, Flags=%X)\n", in acpi_ns_lookup()
[all …]
/linux/include/linux/
H A Df2fs_fs.h120 __le32 segs_per_sec; /* # of segments per section */
125 __le32 segment_count; /* total # of segments */
126 __le32 segment_count_ckpt; /* # of segments for checkpoint */
127 __le32 segment_count_sit; /* # of segments for SIT */
128 __le32 segment_count_nat; /* # of segments for NAT */
129 __le32 segment_count_ssa; /* # of segments for SSA */
130 __le32 segment_count_main; /* # of segments for main area */
186 __le32 rsvd_segment_count; /* # of reserved segments for gc */
187 __le32 overprov_segment_count; /* # of overprovision segments */
188 __le32 free_segment_count; /* # of free segments in main area */
[all …]
/linux/Documentation/networking/
H A Dtls-offload.rst60 If device decrypted all the segments of the record the decryption is skipped,
114 TX offload being fully initialized does not imply that all segments passing
139 segments may start at any point of a record and contain any number of records.
140 Assuming segments are received in order, the device should be able to perform
163 For segments passed in order, the driver marks the packets with
189 and non-decrypted segments do not get coalesced (e.g. by GRO or socket layer)
208 Segments transmitted from an offloaded socket can get out of sync
211 two mechanisms for dealing with out of order segments.
275 Green segments are successfully decrypted, blue ones are passed
288 spanning segments 1, 2 and 3. The device did not get out of sync,
[all …]
H A Dtcp_ao.rst8 segments between trusted peers. It adds a new TCP header option with
49 |replayed TCP segments | |Extension (SNE) and |
131 of segments with TCP-AO but that do not match an MKT. The initial default
135 Alternately, the configuration can be changed to discard segments with
141 segments with TCP-AO are not discarded solely because they include
145 segments with unknown key signatures are discarded with warnings logged.
153 >> All TCP segments MUST be checked against the set of MKTs for matching
175 by TCP-AO when processing received TCP segments as discussed in the segment
179 segments are received out of order, and is considered a feature of TCP-AO,
217 that would allow accepting segments without a sign (which would be insecure).
[all …]
/linux/include/uapi/linux/
H A Drpl.h42 } segments; member
45 #define rpl_segaddr segments.addr
46 #define rpl_segdata segments.data
/linux/drivers/crypto/caam/
H A Dcaamalg_qi2.h99 * @src_nents: number of segments in input scatterlist
100 * @dst_nents: number of segments in output scatterlist
121 * @src_nents: number of segments in input scatterlist
122 * @dst_nents: number of segments in output scatterlist
140 * @src_nents: number of segments in input scatterlist
H A Dcaampkc.h120 * @src_nents : number of segments in input s/w scatterlist
121 * @dst_nents : number of segments in output s/w scatterlist
122 * @mapped_src_nents: number of segments in input h/w link table
123 * @mapped_dst_nents: number of segments in output h/w link table
/linux/Documentation/filesystems/
H A Dnilfs2.rst116 segments. This ioctl is used in lssu,
121 segments. This ioctl is used by
123 cleaning operation of segments and reduce
149 NILFS_IOCTL_SET_ALLOC_RANGE Define lower limit of segments in bytes and
150 upper limit of segments in bytes. This ioctl
191 A nilfs2 volume is equally divided into a number of segments except
240 3) Segment usage file (sufile) -- Stores allocation state of segments
/linux/arch/sparc/include/uapi/asm/
H A Ddisplay7seg.h28 * Display segments are defined as follows,
64 #define D7S_SEGA 0x14 /* Individual segments */
75 #define D7S_BLANK 0x1F /* Clear all segments */
/linux/fs/f2fs/
H A Dsegment.h15 #define DEF_RECLAIM_PREFREE_SEGMENTS 5 /* 5% over total segments */
153 * maximum # of segments/sections
159 unsigned long long oldest_age; /* oldest age of segments having the same min cost */
206 /* bitmap of segments to be ignored by GC in case of errors */
232 unsigned int free_segments; /* # of free segments */
241 DIRTY_HOT_DATA, /* dirty segments assigned as hot data logs */
242 DIRTY_WARM_DATA, /* dirty segments assigned as warm data logs */
243 DIRTY_COLD_DATA, /* dirty segments assigned as cold data logs */
244 DIRTY_HOT_NODE, /* dirty segments assigned as hot node logs */
245 DIRTY_WARM_NODE, /* dirty segments assigned as warm node logs */
[all …]
/linux/Documentation/scsi/
H A Dst.rst264 scatter/gather segments permitted by the HBA
312 2. The scatter/gather segments to fill the specified buffer size are
313 allocated so that as many segments as possible are used but the number
314 of segments does not exceed ST_FIRST_SG.
315 3. The remaining segments between ST_MAX_SG (or the module parameter
316 max_sg_segs) and the number of segments used in phases 1 and 2
318 number of scatter/gather segments allowed for the SCSI adapter is not
320 segments specified. If the maximum number allowed for the SCSI adapter
321 is smaller than the number of segments used in phases 1 and 2,
347 segments
[all …]
/linux/tools/testing/selftests/net/
H A Dudpgso.c166 /* send 2 1B segments */
172 /* send 2B + 2B + 1B segments */
179 /* send max number of min sized segments */
185 /* send max number + 1 of min sized segments: fail */
282 /* send 2 1B segments */
288 /* send 2 1B segments with extension headers */
295 /* send 2B + 2B + 1B segments */
302 /* send max number of min sized segments */
308 /* send max number + 1 of min sized segments: fail */
/linux/fs/nilfs2/
H A Dsysfs.h28 * @sg_segments_kobj: /sys/fs/<nilfs>/<device>/segments
48 /* /sys/fs/<nilfs>/<device>/segments */
74 NILFS_DEV_ATTR_STRUCT(segments);
119 NILFS_RO_ATTR(segments, name)

12345678910>>...25