Home
last modified time | relevance | path

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

12345678910>>...59

/kernel/linux/linux-5.10/Documentation/powerpc/
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 …]
/kernel/linux/linux-6.6/Documentation/powerpc/
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 …]
/kernel/linux/linux-5.10/kernel/
Dkexec.c24 struct kexec_segment __user *segments) in copy_user_segment_list() argument
29 /* Read in the segments */ in copy_user_segment_list()
31 segment_bytes = nr_segments * sizeof(*segments); in copy_user_segment_list()
32 ret = copy_from_user(image->segment, segments, segment_bytes); in copy_user_segment_list()
41 struct kexec_segment __user *segments, in kimage_alloc_init() argument
62 ret = copy_user_segment_list(image, nr_segments, segments); in kimage_alloc_init()
78 * the vector of segments so that it's pages will also be in kimage_alloc_init()
107 struct kexec_segment __user *segments, unsigned long flags) in do_kexec_load() argument
144 ret = kimage_alloc_init(&image, entry, nr_segments, segments, flags); in do_kexec_load()
239 * of segments passed to kexec_load. in kexec_load_check()
[all …]
/kernel/linux/linux-5.10/net/mptcp/
Dmib.h9 MPTCP_MIB_RETRANSSEGS, /* Segments retransmitted at the MPTCP-level */
18 MPTCP_MIB_OFOQUEUETAIL, /* Segments inserted into OoO queue tail */
19 MPTCP_MIB_OFOQUEUE, /* Segments inserted into OoO queue */
20 MPTCP_MIB_OFOMERGE, /* Segments merged in OoO queue */
21 MPTCP_MIB_NODSSWINDOW, /* Segments not in MPTCP windows */
22 MPTCP_MIB_DUPDATA, /* Segments discarded due to duplicate DSS */
/kernel/linux/linux-6.6/kernel/
Dkexec.c24 struct kexec_segment *segments, in kimage_alloc_init() argument
45 memcpy(image->segment, segments, nr_segments * sizeof(*segments)); in kimage_alloc_init()
59 * the vector of segments so that it's pages will also be in kimage_alloc_init()
88 struct kexec_segment *segments, unsigned long flags) in do_kexec_load() argument
125 ret = kimage_alloc_init(&image, entry, nr_segments, segments, flags); in do_kexec_load()
227 * of segments passed to kexec_load. in kexec_load_check()
236 struct kexec_segment __user *, segments, unsigned long, flags) in SYSCALL_DEFINE4()
250 ksegments = memdup_array_user(segments, nr_segments, sizeof(ksegments[0])); in SYSCALL_DEFINE4()
263 struct compat_kexec_segment __user *, segments, in COMPAT_SYSCALL_DEFINE4() argument
286 result = copy_from_user(&in, &segments[i], sizeof(in)); in COMPAT_SYSCALL_DEFINE4()
/kernel/linux/linux-6.6/rust/macros/
Dpaste.rs7 let mut segments = Vec::new(); in concat() localVariable
12 Some(TokenTree::Literal(lit)) => segments.push((lit.to_string(), lit.span())), in concat()
18 segments.push((value, ident.span())); in concat()
25 let (mut value, sp) = segments.pop().expect("expected identifier before modifier"); in concat()
39 segments.push((value, sp)); in concat()
41 _ => panic!("unexpected token in paste segments"), in concat()
45 let pasted: String = segments.into_iter().map(|x| x.0).collect(); in concat()
73 // Path segments cannot contain invisible delimiter group, so remove them if any. in expand()
/kernel/linux/linux-6.6/drivers/remoteproc/
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 …]
/kernel/linux/linux-5.10/include/xen/interface/io/
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 …]
/kernel/linux/linux-6.6/include/xen/interface/io/
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 …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr3/
Dia_css_tnr3_types.h24 * \brief Number of piecewise linear segments.
26 * The number of such segments is fixed at 3.
32 * 1. Three piecewise linear graphs (one for each plane) with three segments
34 * each plane on the y axis. The three linear segments may have a different
36 * a "Knee" point. As there are three such segments, four points need to be
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr3/
Dia_css_tnr3_types.h24 * \brief Number of piecewise linear segments.
26 * The number of such segments is fixed at 3.
32 * 1. Three piecewise linear graphs (one for each plane) with three segments
34 * each plane on the y axis. The three linear segments may have a different
36 * a "Knee" point. As there are three such segments, four points need to be
/kernel/linux/linux-5.10/Documentation/ABI/testing/
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
/kernel/linux/linux-5.10/drivers/remoteproc/
Dremoteproc_coredump.c42 * Add device memory to the list of segments to be included in a coredump for
72 * Add device memory to the list of segments to be included in the coredump
134 struct list_head *segments, in rproc_coredump_find_segment() argument
139 list_for_each_entry(segment, segments, node) { in rproc_coredump_find_segment()
222 * This function will generate an ELF header for the registered segments
224 * coredump configuration this function will directly copy the segments
225 * from device memory to userspace or copy segments from device memory to
255 * For default configuration buffer includes headers & segments. in rproc_coredump()
256 * For inline dump buffer just includes headers as segments are in rproc_coredump()
/kernel/linux/linux-6.6/Documentation/ABI/testing/
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
/kernel/linux/linux-6.6/net/mptcp/
Dmib.h13 MPTCP_MIB_RETRANSSEGS, /* Segments retransmitted at the MPTCP-level */
29 MPTCP_MIB_OFOQUEUETAIL, /* Segments inserted into OoO queue tail */
30 MPTCP_MIB_OFOQUEUE, /* Segments inserted into OoO queue */
31 MPTCP_MIB_OFOMERGE, /* Segments merged in OoO queue */
32 MPTCP_MIB_NODSSWINDOW, /* Segments not in MPTCP windows */
33 MPTCP_MIB_DUPDATA, /* Segments discarded due to duplicate DSS */
/kernel/linux/linux-6.6/arch/arm/mm/
Dproc-arm940.S110 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
116 bcs 1b @ segments 3 to 0
160 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
166 bcs 1b @ segments 7 to 0
182 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
188 bcs 1b @ segments 7 to 0
205 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
211 bcs 1b @ segments 7 to 0
227 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
238 bcs 1b @ segments 7 to 0
/kernel/linux/linux-5.10/arch/arm/mm/
Dproc-arm940.S110 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
116 bcs 1b @ segments 3 to 0
160 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
166 bcs 1b @ segments 7 to 0
182 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
188 bcs 1b @ segments 7 to 0
205 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
211 bcs 1b @ segments 7 to 0
227 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
238 bcs 1b @ segments 7 to 0
/kernel/linux/linux-6.6/drivers/block/xen-blkback/
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
/kernel/linux/linux-6.6/arch/x86/kernel/
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()
/kernel/linux/linux-6.6/net/core/
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
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtls.c44 * hardened this function to disallow 16-bit TLS segments. Fix in tls_desc_okay()
45 * it up by interpreting these zeroed segments the way that they in tls_desc_okay()
59 * espfix is required for 16-bit data segments, but espfix in tls_desc_okay()
60 * only works for LDT segments. in tls_desc_okay()
65 /* Only allow data segments in the TLS array. */ in tls_desc_okay()
70 * Non-present segments with DPL 3 present an interesting attack in tls_desc_okay()
71 * surface. The kernel should handle such segments correctly, in tls_desc_okay()
73 * such segments from being created. in tls_desc_okay()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Def100_tx.c343 unsigned int segments; in ef100_enqueue_skb() local
352 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; in ef100_enqueue_skb()
353 if (segments == 1) in ef100_enqueue_skb()
354 segments = 0; /* Don't use TSO/GSO for a single segment. */ in ef100_enqueue_skb()
355 if (segments && !ef100_tx_can_tso(tx_queue, skb)) { in ef100_enqueue_skb()
365 rc = efx_tx_map_data(tx_queue, skb, segments); in ef100_enqueue_skb()
368 ef100_tx_make_descriptors(tx_queue, skb, segments); in ef100_enqueue_skb()
397 if (segments) { in ef100_enqueue_skb()
399 tx_queue->tso_packets += segments; in ef100_enqueue_skb()
400 tx_queue->tx_packets += segments; in ef100_enqueue_skb()
/kernel/linux/linux-5.10/Documentation/networking/
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
138 segments may start at any point of a record and contain any number of records.
139 Assuming segments are received in order, the device should be able to perform
162 For segments passed in order, the driver marks the packets with
188 and non-decrypted segments do not get coalesced (e.g. by GRO or socket layer)
207 Segments transmitted from an offloaded socket can get out of sync
210 two mechanisms for dealing with out of order segments.
274 Green segments are successfully decrypted, blue ones are passed
287 spanning segments 1, 2 and 3. The device did not get out of sync,
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Drpl.h42 } segments; member
45 #define rpl_segaddr segments.addr
46 #define rpl_segdata segments.data
/kernel/linux/linux-5.10/include/uapi/linux/
Drpl.h42 } segments; member
45 #define rpl_segaddr segments.addr
46 #define rpl_segdata segments.data

12345678910>>...59