| /linux/Documentation/arch/powerpc/ |
| H A D | pci_iov_resource_on_powernv.rst | 95 * 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 D | paste.rs | 7 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 in concat() [all...] |
| /linux/rust/syn/ |
| H A D | path.rs | 18 pub segments: Punctuated<PathSegment, Token![::]>, 29 segments: Punctuated::new(), in from() 31 path.segments.push_value(segment.into()); in from() 43 /// - the number of path segments is 1, 81 /// - the number of path segments is 1, and 86 && self.segments.len() == 1 in get_ident() 87 && self.segments[0].arguments.is_none() in get_ident() 89 Some(&self.segments[0].ident) in get_ident() 101 self.segments.first().unwrap().ident.span(), in require_ident() 102 self.segments.last().unwrap().ident.span(), in require_ident() [all …]
|
| /linux/kernel/ |
| H A D | kexec.c | 24 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 292 result = copy_from_user(&in, &segments[i], sizeof(in)); in COMPAT_SYSCALL_DEFINE4()
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_coredump.c | 43 * 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 D | blkif.h | 155 * 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 D | sysfs-fs-nilfs2 | 183 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/block/ |
| H A D | blk-mq-dma.c | 69 * we need to ensure our segments are aligned to this as well. 222 * The caller can call blk_rq_dma_map_coalesce() to check if further segments 224 * to try to map the following segments. 309 * segment is bigger than number of req's physical segments in __blk_rq_map_sg() 337 * The caller can call blk_rq_dma_map_coalesce() to check if further segments 339 * to try to map the following segments. 407 unsigned int segments = 0; in blk_rq_map_integrity_sg() local 423 segments++; in blk_rq_map_integrity_sg() 431 * is bigger than number of req's physical integrity segments in blk_rq_map_integrity_sg() 433 BUG_ON(segments > rq->nr_integrity_segments); in blk_rq_map_integrity_sg() [all …]
|
| /linux/drivers/block/xen-blkback/ |
| H A D | common.h | 50 * 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 D | proc-arm940.S | 117 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 D | gso.c | 81 * 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/drivers/dma/xilinx/ |
| H A D | xilinx_dma.c | 321 * @node: Node in the descriptor segments list 333 * @node: Node in the descriptor segments list 345 * @node: Node in the descriptor segments list 357 * @node: Node in the descriptor segments list 369 * @segments: TX segments list 377 struct list_head segments; member 413 * @seg_v: Statically allocated segments base 414 * @seg_mv: Statically allocated segments base for MCDMA 415 * @seg_p: Physical allocated segments base 417 * @cyclic_seg_p: Physical allocated segments base for cyclic dma [all …]
|
| /linux/net/mptcp/ |
| H A D | mib.h | 17 MPTCP_MIB_RETRANSSEGS, /* Segments retransmitted at the MPTCP-level */ 43 MPTCP_MIB_OFOQUEUETAIL, /* Segments inserted into OoO queue tail */ 44 MPTCP_MIB_OFOQUEUE, /* Segments inserted into OoO queue */ 45 MPTCP_MIB_OFOMERGE, /* Segments merged in OoO queue */ 46 MPTCP_MIB_NODSSWINDOW, /* Segments not in MPTCP windows */ 47 MPTCP_MIB_DUPDATA, /* Segments discarded due to duplicate DSS */
|
| /linux/include/uapi/linux/ |
| H A D | rpl.h | 42 } segments; member 45 #define rpl_segaddr segments.addr 46 #define rpl_segdata segments.data
|
| H A D | virtio_blk.h | 35 #define VIRTIO_BLK_F_SEG_MAX 2 /* Indicates maximum # of segments */ 65 /* The maximum number of segments (if VIRTIO_BLK_F_SEG_MAX) */ 101 * The maximum number of discard segments in a 115 * The maximum number of segments in a write zeroes 134 * The maximum number of secure erase segments in a
|
| /linux/drivers/acpi/acpica/ |
| H A D | nsaccess.c | 366 "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/arch/sparc/include/uapi/asm/ |
| H A D | display7seg.h | 28 * Display segments are defined as follows, 64 #define D7S_SEGA 0x14 /* Individual segments */ 75 #define D7S_BLANK 0x1F /* Clear all segments */
|
| /linux/drivers/crypto/caam/ |
| H A D | caampkc.h | 120 * @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/fs/nilfs2/ |
| H A D | sysfs.h | 28 * @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)
|
| /linux/fs/f2fs/ |
| H A D | gc.h | 43 /* Search max. number of dirty segments to select a victim segment */ 96 * Such spanning segments can be in free list so calculate the sum of usable 97 * blocks in currently free segments including normal and spanning segments.
|
| /linux/tools/testing/selftests/net/ |
| H A D | udpgso.c | 166 /* 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/arch/mips/kernel/ |
| H A D | segment.c | 28 * Access modes MK, MSK and MUSK are mapped segments. Therefore in build_segment_config() 83 DEFINE_SHOW_ATTRIBUTE(segments); 88 debugfs_create_file("segments", S_IRUGO, mips_debugfs_dir, NULL, in segments_info()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_lwt_seg6local.c | 46 struct ip6_addr_t segments[0]; member 129 // cur_off = end of segments, start of possible TLVs in is_valid_tlv_boundary() 285 // This function will push a SRH with segments fd00::1, fd00::2, fd00::3, 293 char srh_buf[72]; // room for 4 segments in __encap_srh() 375 if (srh->hdrlen != 11) // 4 segments + Egress TLV + Padding TLV in __pop_egr() 416 if (srh->hdrlen != 8) // 4 segments in __inspect_t()
|
| /linux/include/uapi/xen/ |
| H A D | gntdev.h | 173 * The copy is split into @count @segments, each of which can copy 181 * split segments into multiple ops if required. 183 * Returns 0 if all segments have been processed and @status in each 184 * segment is valid. Note that one or more segments may have failed 191 * If -1 is returned, the status of all segments is undefined. 202 struct gntdev_grant_copy_segment __user *segments; member
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | tx.c | 145 unsigned int segments; in __efx_siena_enqueue_skb() local 150 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; in __efx_siena_enqueue_skb() 151 if (segments == 1) in __efx_siena_enqueue_skb() 152 segments = 0; /* Don't use TSO for a single segment. */ in __efx_siena_enqueue_skb() 158 if (segments) { in __efx_siena_enqueue_skb() 173 if (!data_mapped && (efx_siena_tx_map_data(tx_queue, skb, segments))) in __efx_siena_enqueue_skb()
|