| /linux/drivers/scsi/ |
| H A D | libiscsi_tcp.c | 64 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 …]
|
| H A D | qla1280.h | 519 __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 …]
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_coredump.c | 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_obj(*segment); 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/fs/romfs/ |
| H A D | storage.c | 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() 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/fs/nilfs2/ |
| H A D | segment.h | 3 * NILFS Segment constructor prototypes and definitions 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 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 …]
|
| H A D | segbuf.h | 3 * 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 …]
|
| H A D | the_nilfs.h | 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 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/Documentation/devicetree/bindings/auxdisplay/ |
| H A D | gpio-7-segment.yaml | 4 $id: http://devicetree.org/schemas/auxdisplay/gpio-7-segment.yaml# 7 title: GPIO based LED segment display 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 21 segment. 37 - segment-gpios 47 compatible = "gpio-7-segment"; 48 segment-gpios = <&gpio 0 GPIO_ACTIVE_LOW>,
|
| /linux/drivers/md/dm-pcache/ |
| H A D | segment.c | 6 #include "segment.h" 8 int segment_copy_to_bio(struct pcache_segment *segment, in segment_copy_to_bio() argument 21 src = segment->data + data_off; in segment_copy_to_bio() 29 int segment_copy_from_bio(struct pcache_segment *segment, in segment_copy_from_bio() argument 42 dst = segment->data + data_off; in segment_copy_from_bio() 51 void pcache_segment_init(struct pcache_cache_dev *cache_dev, struct pcache_segment *segment, in pcache_segment_init() argument 54 segment->seg_info = options->seg_info; in pcache_segment_init() 55 segment_info_set_type(segment->seg_info, options->type); in pcache_segment_init() 57 segment->cache_dev = cache_dev; in pcache_segment_init() 58 segment->seg_id = options->seg_id; in pcache_segment_init() [all …]
|
| /linux/drivers/dma/xilinx/ |
| H A D | xilinx_dma.c | 317 * struct xilinx_vdma_tx_segment - Descriptor segment 320 * @phys: Physical address of segment 329 * struct xilinx_axidma_tx_segment - Descriptor segment 332 * @phys: Physical address of segment 341 * struct xilinx_aximcdma_tx_segment - Descriptor segment 344 * @phys: Physical address of segment 353 * struct xilinx_cdma_tx_segment - Descriptor segment 356 * @phys: Physical address of segment 414 * @cyclic_seg_v: Statically allocated segment base for cyclic transfers 665 * xilinx_vdma_alloc_tx_segment - Allocate transaction segment [all …]
|
| /linux/drivers/media/test-drivers/visl/ |
| H A D | visl-trace-vp8.h | 43 "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/block/ |
| H A D | blk-mq-dma.c | 72 * path for single segment mappings. 175 * Grab the first segment ASAP because we'll need it to check for P2P in blk_dma_map_iter_start() 205 * blk_rq_dma_map_iter_start - map the first DMA segment for a request 215 * Returns %false if there is no segment to map, including due to an error, or 216 * %true ft it did map a segment. 218 * If a segment was mapped, the DMA address for it is returned in @iter.addr and 219 * the length in @iter.len. If no segment was mapped the status code is 236 * blk_rq_dma_map_iter_next - map the next DMA segment for a request 245 * Returns %false if there is no segment to map, including due to an error, or 246 * %true ft it did map a segment. [all …]
|
| /linux/arch/s390/mm/ |
| H A D | extmem.c | 87 * Create the 8 bytes, ebcdic VM segment name from 131 * Perform a function on a dcss segment. 163 /* do a diag to get info about a segment. 207 /* multi-part segment. only one type supported here: in query_segment_type() 243 * get info about a segment 247 * -ENOENT : no such segment 248 * -EOPNOTSUPP: multi-part segment cannot be used with linux 250 * 0 .. 6 : type of segment as defined in include/asm-s390/extmem.h 269 * check if segment collides with other segments that are currently loaded 293 * real segment loading function, called from segment_load [all …]
|
| /linux/include/uapi/linux/ |
| H A D | fsmap.h | 53 __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/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_buddy.c | 70 unsigned int *segment, in dr_buddy_find_free_seg() argument 94 *segment = seg; in dr_buddy_find_free_seg() 103 * @segment: Segment number. 110 * Return: 0 when segment is set, non-zero error status otherwise. 112 * The function returns the location (segment) in the whole buddy ICM memory 113 * area - the index of the memory segment that is available for use. 117 unsigned int *segment) in mlx5dr_buddy_alloc_mem() argument 141 *segment = seg; in mlx5dr_buddy_alloc_mem() 151 /* Whenever a segment is free, in mlx5dr_buddy_free_mem()
|
| /linux/include/linux/sunrpc/ |
| H A D | rpc_rdma.h | 128 * 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/Documentation/ABI/testing/ |
| H A D | sysfs-fs-nilfs2 | 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 154 Show write time of the last segment in seconds. [all …]
|
| /linux/fs/btrfs/ |
| H A D | lzo.c | 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 158 * @compressed_data: The compressed data of this segment. 167 * - Write a segment header into the destination 169 * - Make sure we have enough space in the last sector to fit a segment header [all …]
|
| /linux/arch/powerpc/boot/ |
| H A D | elf.h | 22 /* These constants are for the segment types stored in the image headers */ 30 #define PT_TLS 7 /* Thread local storage segment */ 109 Elf64_Off p_offset; /* Segment file offset */ 110 Elf64_Addr p_vaddr; /* Segment virtual address */ 111 Elf64_Addr p_paddr; /* Segment physical address */ 112 Elf64_Xword p_filesz; /* Segment size in file */ 113 Elf64_Xword p_memsz; /* Segment size in memory */ 114 Elf64_Xword p_align; /* Segment alignment, file & memory */
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ddp.c | 32 * version, and the requirement of at least one segment. 48 /* pkg must have at least one segment */ in ice_verify_pkg() 53 /* make sure segment array fits in package length */ in ice_verify_pkg() 62 /* segment header must fit */ in ice_verify_pkg() 68 /* segment body must fit */ in ice_verify_pkg() 77 * ice_free_seg - free package segment pointer 80 * Frees the package segment pointer in the proper manner, depending on if the 81 * segment was allocated or just the passed in pointer was stored. 143 * @ice_seg: pointer to the ice segment 145 * Returns the address of the buffer table within the ice segment. [all …]
|
| /linux/rust/syn/ |
| H A D | path.rs | 26 fn from(segment: T) -> Self { in from() 31 path.segments.push_value(segment.into()); in from() 44 /// - the first path segment has no angle bracketed or parenthesized 46 /// - the ident of the first path segment is equal to the given one. 82 /// - the first path segment has no angle bracketed or parenthesized 110 /// A segment of a path together with any path arguments on that segment. 131 /// Angle bracketed or parenthesized arguments of a path segment. 199 /// Angle bracketed arguments of a path segment: the `<K, V>` in `HashMap<K, 246 /// Arguments of a function path segment: the `(A, B) -> C` in `Fn(A,B) -> 341 let segment = ty.path.segments.pop().unwrap().into_value(); in parse() localVariable [all …]
|
| /linux/arch/x86/purgatory/ |
| H A D | setup-x86_64.S | 18 /* Load a gdt so I know what the segment registers are */ 22 movl $0x18, %eax /* data segment */ 40 /* 0x00 unusable segment 48 /* 0x10 4GB flat code segment */ 51 /* 0x18 4GB flat data segment */
|
| /linux/arch/mips/kernel/ |
| H A D | machine_kexec.c | 45 pr_debug(" segment[%lu]: %016lx - %016lx, 0x%lx bytes, %lu pages\n", in kexec_image_info() 47 kimage->segment[i].mem, in kexec_image_info() 48 kimage->segment[i].mem + kimage->segment[i].memsz, in kexec_image_info() 49 (unsigned long)kimage->segment[i].memsz, in kexec_image_info() 50 (unsigned long)kimage->segment[i].memsz / PAGE_SIZE); in kexec_image_info() 68 if (kimage->segment[i].memsz <= sizeof(fdt)) in uhi_machine_kexec_prepare() 71 if (copy_from_user(&fdt, kimage->segment[i].buf, sizeof(fdt))) in uhi_machine_kexec_prepare() 79 phys_to_virt((unsigned long)kimage->segment[i].mem); in uhi_machine_kexec_prepare()
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_pcl.c | 72 struct svc_rdma_segment *segment; in pcl_set_read_segment() local 74 segment = &chunk->ch_segments[chunk->ch_segcount]; in pcl_set_read_segment() 75 segment->rs_handle = handle; in pcl_set_read_segment() 76 segment->rs_length = length; in pcl_set_read_segment() 77 segment->rs_offset = offset; in pcl_set_read_segment() 79 trace_svcrdma_decode_rseg(&rctxt->rc_cid, chunk, segment); in pcl_set_read_segment() 201 struct svc_rdma_segment *segment; in pcl_alloc_write() local 215 segment = &chunk->ch_segments[j]; in pcl_alloc_write() 216 p = xdr_decode_rdma_segment(p, &segment->rs_handle, in pcl_alloc_write() 217 &segment->rs_length, in pcl_alloc_write() [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | kexec.c | 25 pr_debug(" segment[%lu]: %016lx - %016lx, 0x%lx bytes, %lu pages\n", in kexec_show_segment_info() 27 kimage->segment[n].mem, in kexec_show_segment_info() 28 kimage->segment[n].mem + kimage->segment[n].memsz, in kexec_show_segment_info() 29 (unsigned long)kimage->segment[n].memsz, in kexec_show_segment_info() 30 (unsigned long)kimage->segment[n].memsz / PAGE_SIZE); in kexec_show_segment_info()
|