/linux/include/linux/ |
H A D | folio_queue.h | 21 * Segment in a queue of running buffers. Each segment can hold a number of 31 struct folio_batch vec; /* Folios in the queue segment */ 33 struct folio_queue *next; /* Next queue segment or NULL */ 34 struct folio_queue *prev; /* Previous queue segment of NULL */ 45 * folioq_init - Initialise a folio queue segment 46 * @folioq: The segment to initialise 49 * Initialise a folio queue segment and set an identifier to be used in traces. 65 * folioq_nr_slots: Query the capacity of a folio queue segment 66 * @folioq: The segment to query 68 * Query the number of folios that a particular folio queue segment might hold. [all …]
|
/linux/drivers/input/ |
H A D | touch-overlay.c | 27 struct touch_overlay_segment *segment, in touch_overlay_get_segment() argument 33 &segment->x_origin); in touch_overlay_get_segment() 38 &segment->y_origin); in touch_overlay_get_segment() 43 &segment->x_size); in touch_overlay_get_segment() 48 &segment->y_size); in touch_overlay_get_segment() 53 &segment->key); in touch_overlay_get_segment() 55 input_set_capability(input, EV_KEY, segment->key); in touch_overlay_get_segment() 76 struct touch_overlay_segment *segment; in touch_overlay_map() local 85 segment = devm_kzalloc(dev, sizeof(*segment), GFP_KERNEL); in touch_overlay_map() 86 if (!segment) { in touch_overlay_map() [all …]
|
/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 …]
|
H A D | iscsi_tcp.c | 149 iscsi_tcp_segment_unmap(&tcp_conn->in.segment); in iscsi_sw_tcp_recv_data() 281 * iscsi_sw_tcp_xmit_segment - transmit segment 283 * @segment: the buffer to transmnit 290 * hash as it goes. When the entire segment has been transmitted, 294 struct iscsi_segment *segment) in iscsi_sw_tcp_xmit_segment() argument 301 while (!iscsi_tcp_segment_done(tcp_conn, segment, 0, r)) { in iscsi_sw_tcp_xmit_segment() 308 offset = segment->copied; in iscsi_sw_tcp_xmit_segment() 309 copy = segment->size - offset; in iscsi_sw_tcp_xmit_segment() 311 if (segment->total_copied + segment->size < segment->total_size) in iscsi_sw_tcp_xmit_segment() 317 if (!segment->data) { in iscsi_sw_tcp_xmit_segment() [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(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/arch/x86/lib/ |
H A D | insn-eval.c | 79 * get_seg_reg_override_idx() - obtain segment register override index 80 * @insn: Valid instruction with segment override prefixes 82 * Inspect the instruction prefixes in @insn and find segment overrides, if any. 86 * A constant identifying the segment register to use, among CS, SS, DS, 87 * ES, FS, or GS. INAT_SEG_REG_DEFAULT is returned if no segment override 100 /* Look for any segment override prefixes. */ in get_seg_reg_override_idx() 134 /* More than one segment override prefix leads to undefined behavior. */ in get_seg_reg_override_idx() 142 * check_seg_overrides() - check if segment override prefixes are allowed 143 * @insn: Valid instruction with segment override prefixes 147 * segment override prefixes can be used. Specifically, no overrides are allowed [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 | sufile.h | 3 * 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 70 * nilfs_sufile_free - free segment 71 * @sufile: inode of segment usage file 72 * @segnum: segment number to be freed 83 * @sufile: inode of segment usage file 84 * @segnumv: array of segment numbers 99 * @sufile: inode of segment usage file [all …]
|
H A D | sufile.c | 3 * 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 */ 74 * nilfs_sufile_segment_usage_offset - calculate the byte offset of a segment 76 * @sufile: segment usage file inode 77 * @segnum: number of segment usage 78 * @bh: buffer head of block containing segment usage indexed by @segnum 80 * Return: Byte offset in the folio of the segment usage entry. [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/drivers/gpu/drm/amd/display/dc/sspl/ |
H A D | dc_spl.c | 1364 dscl_prog_data->easf_v_bf1_pwl_in_seg0 = 0x600; // S0.10, BF1 PWL Segment 0 = -512 in spl_set_easf_data() 1365 dscl_prog_data->easf_v_bf1_pwl_base_seg0 = 0; // U0.6, BF1 Base PWL Segment 0 in spl_set_easf_data() 1366 dscl_prog_data->easf_v_bf1_pwl_slope_seg0 = 3; // S7.3, BF1 Slope PWL Segment 0 in spl_set_easf_data() 1367 dscl_prog_data->easf_v_bf1_pwl_in_seg1 = 0x7EC; // S0.10, BF1 PWL Segment 1 = -20 in spl_set_easf_data() 1368 dscl_prog_data->easf_v_bf1_pwl_base_seg1 = 12; // U0.6, BF1 Base PWL Segment 1 in spl_set_easf_data() 1369 dscl_prog_data->easf_v_bf1_pwl_slope_seg1 = 326; // S7.3, BF1 Slope PWL Segment 1 in spl_set_easf_data() 1370 dscl_prog_data->easf_v_bf1_pwl_in_seg2 = 0; // S0.10, BF1 PWL Segment 2 in spl_set_easf_data() 1371 dscl_prog_data->easf_v_bf1_pwl_base_seg2 = 63; // U0.6, BF1 Base PWL Segment 2 in spl_set_easf_data() 1372 dscl_prog_data->easf_v_bf1_pwl_slope_seg2 = 0; // S7.3, BF1 Slope PWL Segment 2 in spl_set_easf_data() 1373 dscl_prog_data->easf_v_bf1_pwl_in_seg3 = 16; // S0.10, BF1 PWL Segment 3 in spl_set_easf_data() [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/Documentation/core-api/ |
H A D | folio_queue.rst | 24 The folio_queue struct forms a single segment in a segmented list of folios 37 segments on either side of the segment being accessed. Whilst this is a 41 Each segment in the list also stores: 62 A segment should be initialised by calling:: 66 with a pointer to the segment to be initialised. Note that this will not 74 Folios can be set in the next unused slot in a segment struct by calling one 123 Information may be retrieved about a particular segment with the following 132 The first function returns the maximum capacity of a segment. It must not be 135 segment has been filled to capacity. 138 segment. These are more about indicating how many slots in the array have been [all …]
|
/linux/arch/x86/include/asm/ |
H A D | segment.h | 10 * 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/arch/x86/math-emu/ |
H A D | get_address.c | 123 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/drivers/dma/xilinx/ |
H A D | xilinx_dma.c | 316 * struct xilinx_vdma_tx_segment - Descriptor segment 319 * @phys: Physical address of segment 328 * struct xilinx_axidma_tx_segment - Descriptor segment 331 * @phys: Physical address of segment 340 * struct xilinx_aximcdma_tx_segment - Descriptor segment 343 * @phys: Physical address of segment 352 * struct xilinx_cdma_tx_segment - Descriptor segment 355 * @phys: Physical address of segment 413 * @cyclic_seg_v: Statically allocated segment base for cyclic transfers 664 * 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/Documentation/networking/ |
H A D | tls-offload.rst | 110 After TX state is installed, the stack guarantees that the first segment 125 inside the segment. 142 to be possible, the device has to keep a small amount of segment-to-segment 145 * partial headers (if a segment carried only a part of the TLS header) 148 authentication tag has to be written or read from the subsequent segment) 188 corresponding to the segment. Networking stack makes sure decrypted 216 Whenever an out of order segment is transmitted the driver provides 219 segment has to be passed to the device as part of the packet context, 227 (next expected segment is the one after the out of order one), or continue 228 with the previous stream state - assuming that the out of order segment [all …]
|
/linux/arch/s390/include/asm/ |
H A D | dat-bits.h | 15 unsigned long rsto: 52;/* Region- or Segment-Table Origin */ 24 unsigned long tl : 2; /* Region- or Segment-Table Length */ 66 unsigned long sto: 52;/* Segment-Table Origin */ 71 unsigned long tf : 2; /* Segment-Table Offset */ 75 unsigned long tl : 2; /* Segment-Table Length */ 114 unsigned long i : 1; /* Segment-Invalid Bit */ 115 unsigned long cs : 1; /* Common-Segment Bit */ 121 unsigned long sfaa: 44;/* Segment-Frame Absolute Address */ 130 unsigned long i : 1; /* Segment-Invalid Bit */ 131 unsigned long cs : 1; /* Common-Segment Bit */ [all …]
|
/linux/arch/s390/mm/ |
H A D | extmem.c | 88 * Create the 8 bytes, ebcdic VM segment name from 132 * Perform a function on a dcss segment. 164 /* do a diag to get info about a segment. 208 /* multi-part segment. only one type supported here: in query_segment_type() 244 * get info about a segment 248 * -ENOENT : no such segment 249 * -EOPNOTSUPP: multi-part segment cannot be used with linux 251 * 0 .. 6 : type of segment as defined in include/asm-s390/extmem.h 270 * check if segment collides with other segments that are currently loaded 294 * real segment loading function, called from segment_load [all …]
|
/linux/include/uapi/linux/ |
H A D | nilfs2_ondisk.h | 80 * @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 */ 194 /*F8*/ __le32 s_c_interval; /* Commit interval of segment */ 197 * the segment construction 242 #define NILFS_SUFILE_INO 5 /* segment usage file */ 253 * a full segment 257 * a partial segment 384 * struct nilfs_segment_summary - segment summary header [all …]
|
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 */
|