Searched refs:segment (Results 1 - 25 of 248) sorted by relevance

12345678910

/linux-master/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, argument
93 segment->sg = sg;
94 segment->sg_offset = offset;
95 segment->size = min(sg->length - offset,
96 segment->total_size - segment->total_copied);
97 segment
109 iscsi_tcp_segment_map(struct iscsi_segment *segment, int recv) argument
146 iscsi_tcp_segment_unmap(struct iscsi_segment *segment) argument
163 iscsi_tcp_segment_splice_digest(struct iscsi_segment *segment, void *digest) argument
190 iscsi_tcp_segment_done(struct iscsi_tcp_conn *tcp_conn, struct iscsi_segment *segment, int recv, unsigned copied) argument
292 iscsi_tcp_segment_recv(struct iscsi_tcp_conn *tcp_conn, struct iscsi_segment *segment, const void *ptr, unsigned int len) argument
326 iscsi_tcp_dgst_verify(struct iscsi_tcp_conn *tcp_conn, struct iscsi_segment *segment) argument
345 __iscsi_segment_init(struct iscsi_segment *segment, size_t size, iscsi_segment_done_fn_t *done, struct ahash_request *hash) argument
359 iscsi_segment_init_linear(struct iscsi_segment *segment, void *data, size_t size, iscsi_segment_done_fn_t *done, struct ahash_request *hash) argument
370 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, struct ahash_request *hash) argument
415 iscsi_tcp_data_recv_done(struct iscsi_tcp_conn *tcp_conn, struct iscsi_segment *segment) argument
657 iscsi_tcp_process_data_in(struct iscsi_tcp_conn *tcp_conn, struct iscsi_segment *segment) argument
839 iscsi_tcp_hdr_recv_done(struct iscsi_tcp_conn *tcp_conn, struct iscsi_segment *segment) argument
921 struct iscsi_segment *segment = &tcp_conn->in.segment; local
[all...]
H A Discsi_tcp.h25 struct iscsi_segment segment; member in struct:iscsi_sw_tcp_send
/linux-master/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; local
52 segment = kzalloc(sizeof(*segment), GFP_KERNEL);
53 if (!segment)
56 segment->da = da;
57 segment->size = size;
59 list_add_tail(&segment->node, &rproc->dump_segments);
66 * rproc_coredump_add_custom_segment() - add custom coredump segment
79 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) argument
87 struct rproc_dump_segment *segment; local
138 struct rproc_dump_segment *segment; local
152 rproc_copy_segment(struct rproc *rproc, void *dest, struct rproc_dump_segment *segment, size_t offset, size_t size) argument
237 struct rproc_dump_segment *segment; local
347 struct rproc_dump_segment *segment; local
[all...]
/linux-master/fs/romfs/
H A Dstorage.c40 size_t segment; local
47 segment = min_t(size_t, maxlen, 16);
48 ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf);
70 size_t len, segment; local
78 segment = min_t(size_t, size + 1, 17);
79 ret = ROMFS_MTD_READ(sb, pos, segment, &len, buf);
108 size_t segment; local
113 segment = min_t(size_t, buflen, ROMBSIZE - offset);
117 memcpy(buf, bh->b_data + offset, segment);
119 buf += segment;
136 size_t segment; local
168 size_t segment; local
[all...]
/linux-master/include/media/i2c/
H A Dadv7511.h22 int segment; member in struct:adv7511_edid_detect
/linux-master/arch/x86/math-emu/
H A Dget_address.c123 static unsigned long vm86_segment(u_char segment, struct address *addr) argument
125 segment--;
127 if (segment > PREFIX_SS_) {
132 addr->selector = VM86_REG_(segment);
133 return (unsigned long)VM86_REG_(segment) << 4;
137 static long pm_address(u_char FPU_modrm, u_char segment, argument
143 segment--;
146 /* segment is unsigned, so this also detects if segment was 0: */
147 if (segment > PREFIX_SS
[all...]
/linux-master/arch/x86/entry/vdso/
H A Dvgetcpu.c10 #include <asm/segment.h>
/linux-master/arch/x86/include/asm/
H A Dsetup_data.h14 unsigned long segment; member in struct:pci_setup_rom
/linux-master/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-master/include/scsi/
H A Dlibiscsi_tcp.h47 struct iscsi_segment segment; member in struct:iscsi_tcp_recv
93 /* segment helpers */
96 struct iscsi_segment *segment, int recv,
98 extern void iscsi_tcp_segment_unmap(struct iscsi_segment *segment);
100 extern void iscsi_segment_init_linear(struct iscsi_segment *segment,
105 iscsi_segment_seek_sg(struct iscsi_segment *segment,
/linux-master/arch/x86/realmode/rm/
H A Dheader.S10 #include <asm/segment.h>
/linux-master/arch/mips/kernel/
H A Dmachine_kexec.c45 pr_debug(" segment[%lu]: %016lx - %016lx, 0x%lx bytes, %lu pages\n",
47 kimage->segment[i].mem,
48 kimage->segment[i].mem + kimage->segment[i].memsz,
49 (unsigned long)kimage->segment[i].memsz,
50 (unsigned long)kimage->segment[i].memsz / PAGE_SIZE);
68 if (kimage->segment[i].memsz <= sizeof(fdt))
71 if (copy_from_user(&fdt, kimage->segment[i].buf, sizeof(fdt)))
79 phys_to_virt((unsigned long)kimage->segment[i].mem);
/linux-master/net/sunrpc/xprtrdma/
H A Dsvc_rdma_pcl.c72 struct svc_rdma_segment *segment; local
74 segment = &chunk->ch_segments[chunk->ch_segcount];
75 segment->rs_handle = handle;
76 segment->rs_length = length;
77 segment->rs_offset = offset;
79 trace_svcrdma_decode_rseg(&rctxt->rc_cid, chunk, segment);
204 struct svc_rdma_segment *segment; local
219 segment = &chunk->ch_segments[j];
220 p = xdr_decode_rdma_segment(p, &segment->rs_handle,
221 &segment
[all...]
/linux-master/arch/parisc/kernel/
H A Dkexec.c25 pr_debug(" segment[%lu]: %016lx - %016lx, 0x%lx bytes, %lu pages\n",
27 kimage->segment[n].mem,
28 kimage->segment[n].mem + kimage->segment[n].memsz,
29 (unsigned long)kimage->segment[n].memsz,
30 (unsigned long)kimage->segment[n].memsz / PAGE_SIZE);
/linux-master/arch/arm64/kernel/
H A Dmachine_kexec.c75 pr_debug(" segment[%lu]: %016lx - %016lx, 0x%lx bytes, %lu pages\n",
77 kimage->segment[i].mem,
78 kimage->segment[i].mem + kimage->segment[i].memsz,
79 kimage->segment[i].memsz,
80 kimage->segment[i].memsz / PAGE_SIZE);
83 (unsigned long)phys_to_virt(kimage->segment[i].mem),
84 (unsigned long)phys_to_virt(kimage->segment[i].mem) +
85 kimage->segment[i].memsz);
312 if (addr >= kexec_crash_image->segment[
[all...]
/linux-master/drivers/misc/eeprom/
H A Dat25.c85 size_t segment; local
100 segment = min(bytes_left, max_chunk);
133 t[1].len = segment;
143 msg_offset += segment;
144 buf += segment;
145 bytes_left -= segment;
229 unsigned segment; local
262 segment = buf_size - (offset % buf_size);
263 if (segment > count)
264 segment
[all...]
/linux-master/fs/nilfs2/
H A DMakefile5 the_nilfs.o segbuf.o segment.o cpfile.o sufile.o \
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_imu.h44 u32 segment; member in struct:imu_rlc_ram_golden
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_buddy.c74 unsigned int *segment,
98 *segment = 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)
145 *segment = seg;
155 /* Whenever a segment is free,
72 dr_buddy_find_free_seg(struct mlx5dr_icm_buddy_mem *buddy, unsigned int start_order, unsigned int *segment, unsigned int *order) argument
119 mlx5dr_buddy_alloc_mem(struct mlx5dr_icm_buddy_mem *buddy, unsigned int order, unsigned int *segment) argument
/linux-master/arch/riscv/kernel/
H A Dmachine_kexec.c41 if (image->segment[i].memsz <= sizeof(fdt))
45 memcpy(&fdt, image->segment[i].buf, sizeof(fdt));
46 else if (copy_from_user(&fdt, image->segment[i].buf, sizeof(fdt)))
52 internal->fdt_addr = (unsigned long) image->segment[i].mem;
/linux-master/kernel/
H A Dkexec_internal.h13 int kimage_load_segment(struct kimage *image, struct kexec_segment *segment);
H A Dkexec_core.c131 mstart = image->segment[i].mem;
132 mend = mstart + image->segment[i].memsz;
144 * easy explanation as one segment stops on another.
150 mstart = image->segment[i].mem;
151 mend = mstart + image->segment[i].memsz;
155 pstart = image->segment[j].mem;
156 pend = pstart + image->segment[j].memsz;
169 if (image->segment[i].bufsz > image->segment[i].memsz)
179 if (PAGE_COUNT(image->segment[
709 kimage_load_normal_segment(struct kimage *image, struct kexec_segment *segment) argument
780 kimage_load_crash_segment(struct kimage *image, struct kexec_segment *segment) argument
851 kimage_load_segment(struct kimage *image, struct kexec_segment *segment) argument
[all...]
/linux-master/drivers/dma/xilinx/
H A Dxilinx_dma.c315 * struct xilinx_vdma_tx_segment - Descriptor segment
318 * @phys: Physical address of segment
327 * struct xilinx_axidma_tx_segment - Descriptor segment
330 * @phys: Physical address of segment
339 * struct xilinx_aximcdma_tx_segment - Descriptor segment
342 * @phys: Physical address of segment
351 * struct xilinx_cdma_tx_segment - Descriptor segment
354 * @phys: Physical address of segment
412 * @cyclic_seg_v: Statically allocated segment base for cyclic transfers
663 * xilinx_vdma_alloc_tx_segment - Allocate transaction segment
671 struct xilinx_vdma_tx_segment *segment; local
692 struct xilinx_cdma_tx_segment *segment; local
713 struct xilinx_axidma_tx_segment *segment = NULL; local
740 struct xilinx_aximcdma_tx_segment *segment = NULL; local
782 xilinx_dma_free_tx_segment(struct xilinx_dma_chan *chan, struct xilinx_axidma_tx_segment *segment) argument
795 xilinx_mcdma_free_tx_segment(struct xilinx_dma_chan *chan, struct xilinx_aximcdma_tx_segment * segment) argument
809 xilinx_cdma_free_tx_segment(struct xilinx_dma_chan *chan, struct xilinx_cdma_tx_segment *segment) argument
820 xilinx_vdma_free_tx_segment(struct xilinx_dma_chan *chan, struct xilinx_vdma_tx_segment *segment) argument
855 struct xilinx_vdma_tx_segment *segment, *next; local
1367 struct xilinx_vdma_tx_segment *segment, *last = NULL; local
1508 struct xilinx_cdma_tx_segment *segment; local
1588 struct xilinx_axidma_tx_segment *segment; local
2046 struct xilinx_vdma_tx_segment *segment; local
2132 struct xilinx_cdma_tx_segment *segment; local
2190 struct xilinx_axidma_tx_segment *segment = NULL; local
2292 struct xilinx_axidma_tx_segment *segment, *head_segment, *prev = NULL; local
2400 struct xilinx_aximcdma_tx_segment *segment = NULL; local
[all...]
/linux-master/drivers/acpi/
H A Dpci_mcfg.c20 u16 segment; member in struct:mcfg_entry
30 u16 segment; member in struct:mcfg_fixup
191 static int pci_mcfg_quirk_matches(struct mcfg_fixup *f, u16 segment, argument
198 f->segment == segment &&
211 u16 segment = root->segment; local
217 if (pci_mcfg_quirk_matches(f, segment, bus_range)) {
238 u16 seg = root->segment;
250 if (e->segment
[all...]
/linux-master/arch/x86/boot/compressed/
H A Didt_64.c3 #include <asm/segment.h>
15 entry.segment = __KERNEL_CS;

Completed in 417 milliseconds

12345678910