Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/linux/drivers/input/
H A Dtouch-overlay.c27 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_KERNE in touch_overlay_map()
110 struct touch_overlay_segment *segment; touch_overlay_get_touchscreen_abs() local
142 struct touch_overlay_segment *segment; touch_overlay_mapped_touchscreen() local
158 struct touch_overlay_segment *segment; touch_overlay_event_on_ts() local
179 touch_overlay_button_event(struct input_dev * input,struct touch_overlay_segment * segment,struct input_mt_pos * pos,int slot) touch_overlay_button_event() argument
216 struct touch_overlay_segment *segment; touch_overlay_sync_frame() local
254 struct touch_overlay_segment *segment; touch_overlay_process_contact() local
[all...]
/linux/drivers/scsi/
H A Dlibiscsi_tcp.c64 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 in iscsi_tcp_segment_init_sg()
109 iscsi_tcp_segment_map(struct iscsi_segment * segment,int recv) iscsi_tcp_segment_map() argument
146 iscsi_tcp_segment_unmap(struct iscsi_segment * segment) iscsi_tcp_segment_unmap() argument
163 iscsi_tcp_segment_splice_digest(struct iscsi_segment * segment,void * digest) iscsi_tcp_segment_splice_digest() argument
191 iscsi_tcp_segment_done(struct iscsi_tcp_conn * tcp_conn,struct iscsi_segment * segment,int recv,unsigned copied) iscsi_tcp_segment_done() argument
288 iscsi_tcp_segment_recv(struct iscsi_tcp_conn * tcp_conn,struct iscsi_segment * segment,const void * ptr,unsigned int len) iscsi_tcp_segment_recv() argument
318 iscsi_tcp_dgst_verify(struct iscsi_tcp_conn * tcp_conn,struct iscsi_segment * segment) iscsi_tcp_dgst_verify() argument
336 __iscsi_segment_init(struct iscsi_segment * segment,size_t size,iscsi_segment_done_fn_t * done,u32 * crcp) __iscsi_segment_init() argument
350 iscsi_segment_init_linear(struct iscsi_segment * segment,void * data,size_t size,iscsi_segment_done_fn_t * done,u32 * crcp) iscsi_segment_init_linear() argument
360 iscsi_segment_seek_sg(struct iscsi_segment * segment,struct scatterlist * sg_list,unsigned int sg_count,unsigned int offset,size_t size,iscsi_segment_done_fn_t * done,u32 * crcp) iscsi_segment_seek_sg() argument
405 iscsi_tcp_data_recv_done(struct iscsi_tcp_conn * tcp_conn,struct iscsi_segment * segment) iscsi_tcp_data_recv_done() argument
647 iscsi_tcp_process_data_in(struct iscsi_tcp_conn * tcp_conn,struct iscsi_segment * segment) iscsi_tcp_process_data_in() argument
829 iscsi_tcp_hdr_recv_done(struct iscsi_tcp_conn * tcp_conn,struct iscsi_segment * segment) iscsi_tcp_hdr_recv_done() argument
910 struct iscsi_segment *segment = &tcp_conn->in.segment; iscsi_tcp_recv_skb() local
[all...]
H A Discsi_tcp.c149 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 in iscsi_sw_tcp_xmit_segment()
346 struct iscsi_segment *segment = &tcp_sw_conn->out.segment; iscsi_sw_tcp_xmit() local
397 struct iscsi_segment *segment = &tcp_sw_conn->out.segment; iscsi_sw_tcp_xmit_qlen() local
438 iscsi_sw_tcp_send_hdr_done(struct iscsi_tcp_conn * tcp_conn,struct iscsi_segment * segment) iscsi_sw_tcp_send_hdr_done() argument
[all...]
/linux/drivers/remoteproc/
H A Dremoteproc_coredump.c38 * 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
82 rproc_coredump_add_custom_segment(struct rproc * rproc,dma_addr_t da,size_t size,void (* dumpfn)(struct rproc * rproc,struct rproc_dump_segment * segment,void * dest,size_t offset,size_t size),void * priv) rproc_coredump_add_custom_segment() argument
87 struct rproc_dump_segment *segment; rproc_coredump_add_custom_segment() local
138 struct rproc_dump_segment *segment; rproc_coredump_find_segment() local
153 rproc_copy_segment(struct rproc * rproc,void * dest,struct rproc_dump_segment * segment,size_t offset,size_t size) rproc_copy_segment() argument
237 struct rproc_dump_segment *segment; rproc_coredump() local
347 struct rproc_dump_segment *segment; rproc_coredump_using_sections() local
[all...]
/linux/fs/romfs/
H A Dstorage.c40 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()
136 size_t segment; romfs_blk_strnlen() local
168 size_t segment; romfs_blk_strcmp() local
[all...]
/linux/arch/x86/math-emu/
H A Dget_address.c123 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()
[all...]
/linux/tools/testing/selftests/kexec/
H A Dtest_kexec_jump.c45 struct kexec_segment segment = {}; in main() local
48 segment.buf = purgatory_start; in main()
49 segment.bufsz = purgatory_end - purgatory_start; in main()
50 segment.mem = (void *)0x400000; in main()
51 segment.memsz = 0x1000; in main()
52 ret = syscall(__NR_kexec_load, 0x400000, 1, &segment, KEXEC_PRESERVE_CONTEXT); in main()
/linux/drivers/misc/eeprom/
H A Dat25.c97 size_t segment; in at25_ee_read() local
113 segment = min(bytes_left, io_limit); in at25_ee_read()
119 SPI_MEM_OP_DATA_IN(segment, bounce, 1)); in at25_ee_read()
124 segment = op.data.nbytes; in at25_ee_read()
131 memcpy(buf, bounce, segment); in at25_ee_read()
133 msg_offset += segment; in at25_ee_read()
134 buf += segment; in at25_ee_read()
135 bytes_left -= segment; in at25_ee_read()
253 unsigned int segment; in at25_ee_write() local
262 segment in at25_ee_write()
[all...]
/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c72 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()
204 struct svc_rdma_segment *segment; in pcl_alloc_write() local
219 segment = &chunk->ch_segments[j]; in pcl_alloc_write()
220 p = xdr_decode_rdma_segment(p, &segment->rs_handle, in pcl_alloc_write()
221 &segment in pcl_alloc_write()
[all...]
H A Dsvc_rdma_recvfrom.c424 * The segment count is limited to how many segments can fit in the
611 struct svc_rdma_segment *segment; in svc_rdma_get_inv_rkey() local
622 pcl_for_each_segment(segment, chunk) { in svc_rdma_get_inv_rkey()
624 inv_rkey = segment->rs_handle; in svc_rdma_get_inv_rkey()
625 else if (inv_rkey != segment->rs_handle) in svc_rdma_get_inv_rkey()
630 pcl_for_each_segment(segment, chunk) { in svc_rdma_get_inv_rkey()
632 inv_rkey = segment->rs_handle; in svc_rdma_get_inv_rkey()
633 else if (inv_rkey != segment->rs_handle) in svc_rdma_get_inv_rkey()
638 pcl_for_each_segment(segment, chunk) { in svc_rdma_get_inv_rkey()
640 inv_rkey = segment in svc_rdma_get_inv_rkey()
[all...]
/linux/arch/arm64/kernel/
H A Dmachine_kexec.c75 pr_debug(" segment[%lu]: %016lx - %016lx, 0x%lx bytes, %lu pages\n", in kexec_segment_flush()
77 kimage->segment[i].mem, in kexec_segment_flush()
78 kimage->segment[i].mem + kimage->segment[i].memsz, in kexec_segment_flush()
79 kimage->segment[i].memsz, in kexec_segment_flush()
80 kimage->segment[i].memsz / PAGE_SIZE); in kexec_segment_flush()
83 (unsigned long)phys_to_virt(kimage->segment[i].mem), in kexec_segment_flush()
84 (unsigned long)phys_to_virt(kimage->segment[i].mem) + in kexec_segment_flush()
85 kimage->segment[i].memsz); in kexec_segment_flush()
281 if (addr >= kexec_crash_image->segment[ in crash_is_nosave()
[all...]
/linux/drivers/dma/xilinx/
H A Dxilinx_dma.c316 * 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
672 struct xilinx_vdma_tx_segment *segment; xilinx_vdma_alloc_tx_segment() local
693 struct xilinx_cdma_tx_segment *segment; xilinx_cdma_alloc_tx_segment() local
714 struct xilinx_axidma_tx_segment *segment = NULL; xilinx_axidma_alloc_tx_segment() local
741 struct xilinx_aximcdma_tx_segment *segment = NULL; xilinx_aximcdma_alloc_tx_segment() local
784 xilinx_dma_free_tx_segment(struct xilinx_dma_chan * chan,struct xilinx_axidma_tx_segment * segment) xilinx_dma_free_tx_segment() argument
797 xilinx_mcdma_free_tx_segment(struct xilinx_dma_chan * chan,struct xilinx_aximcdma_tx_segment * segment) xilinx_mcdma_free_tx_segment() argument
811 xilinx_cdma_free_tx_segment(struct xilinx_dma_chan * chan,struct xilinx_cdma_tx_segment * segment) xilinx_cdma_free_tx_segment() argument
822 xilinx_vdma_free_tx_segment(struct xilinx_dma_chan * chan,struct xilinx_vdma_tx_segment * segment) xilinx_vdma_free_tx_segment() argument
856 struct xilinx_vdma_tx_segment *segment, *next; xilinx_dma_free_tx_descriptor() local
1368 struct xilinx_vdma_tx_segment *segment, *last = NULL; xilinx_vdma_start_transfer() local
1511 struct xilinx_cdma_tx_segment *segment; xilinx_cdma_start_transfer() local
1591 struct xilinx_axidma_tx_segment *segment; xilinx_dma_start_transfer() local
2049 struct xilinx_vdma_tx_segment *segment; xilinx_vdma_dma_prep_interleaved() local
2135 struct xilinx_cdma_tx_segment *segment; xilinx_cdma_prep_memcpy() local
2193 struct xilinx_axidma_tx_segment *segment = NULL; xilinx_dma_prep_slave_sg() local
2295 struct xilinx_axidma_tx_segment *segment, *head_segment, *prev = NULL; xilinx_dma_prep_dma_cyclic() local
2403 struct xilinx_aximcdma_tx_segment *segment = NULL; xilinx_mcdma_prep_slave_sg() local
[all...]
/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-vp8.h43 "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
[all...]
/linux/arch/mips/kernel/
H A Dmachine_kexec.c45 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/Documentation/core-api/
H A Dfolio_queue.rst24 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
[all...]
/linux/drivers/acpi/
H A Dpci_mcfg.c20 u16 segment; member
30 u16 segment; member
203 static int pci_mcfg_quirk_matches(struct mcfg_fixup *f, u16 segment, in pci_mcfg_quirk_matches() argument
210 f->segment == segment && in pci_mcfg_quirk_matches()
223 u16 segment = root->segment; in pci_mcfg_apply_quirks() local
229 if (pci_mcfg_quirk_matches(f, segment, bus_range)) { in pci_mcfg_apply_quirks()
250 u16 seg = root->segment; in pci_mcfg_lookup()
262 if (e->segment in pci_mcfg_lookup()
[all...]
/linux/arch/parisc/kernel/
H A Dkexec.c25 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()
/linux/include/scsi/
H A Dlibiscsi_tcp.h46 struct iscsi_segment segment; member
92 /* segment helpers */
95 struct iscsi_segment *segment, int recv,
97 extern void iscsi_tcp_segment_unmap(struct iscsi_segment *segment);
99 extern void iscsi_segment_init_linear(struct iscsi_segment *segment,
103 iscsi_segment_seek_sg(struct iscsi_segment *segment,
/linux/arch/loongarch/kernel/
H A Dmachine_kexec.c53 pr_debug("\t segment[%lu]: %016lx - %016lx", i, in kexec_image_info()
54 kimage->segment[i].mem, in kexec_image_info()
55 kimage->segment[i].mem + kimage->segment[i].memsz); in kexec_image_info()
57 (unsigned long)kimage->segment[i].memsz, in kexec_image_info()
58 (unsigned long)kimage->segment[i].memsz / PAGE_SIZE); in kexec_image_info()
75 if (!strncmp(bootloader, (char __user *)kimage->segment[i].buf, strlen(bootloader))) { in machine_kexec_prepare()
76 if (!copy_from_user(cmdline_ptr, kimage->segment[i].buf, COMMAND_LINE_SIZE)) in machine_kexec_prepare()
/linux/Documentation/ABI/testing/
H A Dsysfs-fs-nilfs297 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 i
[all...]
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_vp8.c604 memcpy(&prob_table[0x1018], slice->segment.segment_probs, in cedrus_vp8_update_probs()
605 sizeof(slice->segment.segment_probs)); in cedrus_vp8_update_probs()
721 if (slice->segment.flags & V4L2_VP8_SEGMENT_FLAG_UPDATE_MAP) in cedrus_vp8_setup()
723 if (!(slice->segment.flags & V4L2_VP8_SEGMENT_FLAG_DELTA_VALUE_MODE)) in cedrus_vp8_setup()
725 if (slice->segment.flags & V4L2_VP8_SEGMENT_FLAG_ENABLED) in cedrus_vp8_setup()
779 reg |= VE_VP8_SEGMENT3(slice->segment.quant_update[3]); in cedrus_vp8_setup()
780 reg |= VE_VP8_SEGMENT2(slice->segment.quant_update[2]); in cedrus_vp8_setup()
781 reg |= VE_VP8_SEGMENT1(slice->segment.quant_update[1]); in cedrus_vp8_setup()
782 reg |= VE_VP8_SEGMENT0(slice->segment.quant_update[0]); in cedrus_vp8_setup()
786 reg |= VE_VP8_SEGMENT3(slice->segment in cedrus_vp8_setup()
[all...]
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_validate_validate-established-no-flags.pkt2 // Verify that established connections drop a segment without the ACK flag set.
18 // Receive a segment with no flags set, verify that it's not enqueued.
22 // Receive a segment with ACK flag set, verify that it is enqueued.
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_buddy.c74 unsigned int *segment, in dr_buddy_find_free_seg() argument
98 *segment = seg; in dr_buddy_find_free_seg()
107 * @segment: Segment number.
114 * Return: 0 when segment is set, non-zero error status otherwise.
116 * The function returns the location (segment) in the whole buddy ICM memory
117 * area - the index of the memory segment that is available for use.
121 unsigned int *segment) in mlx5dr_buddy_alloc_mem() argument
145 *segment = seg; in mlx5dr_buddy_alloc_mem()
155 /* Whenever a segment is free, in mlx5dr_buddy_free_mem()
/linux/Documentation/arch/x86/
H A Damd-memory-encryption.rst186 RMP segment covers a specific range of system physical addresses.
198 Bits[5:0] minimum supported RMP segment size
199 Bits[11:6] maximum supported RMP segment size
202 Bits[9:0] number of cacheable RMP segment definitions
211 segment (expressed as a power of 2)
213 The RMP segment size defined in the RMP_CFG MSR applies to all segments
214 of the RMP. Therefore each RMP segment covers a specific range of system
216 the RMP segment coverage value is 0x24 => 36, meaning the size of memory
217 covered by an RMP segment is 64GB (1 << 36). So the first RMP segment
[all...]
/linux/arch/sh/kernel/
H A Dmachine_kexec.c55 printk(" segment[%d]: 0x%08x - 0x%08x (0x%08x)\n", in kexec_info()
57 (unsigned int)image->segment[i].mem, in kexec_info()
58 (unsigned int)image->segment[i].mem + in kexec_info()
59 image->segment[i].memsz, in kexec_info()
60 (unsigned int)image->segment[i].memsz); in kexec_info()

12345678910>>...14