Searched refs:segments (Results 51 - 75 of 83) sorted by relevance

1234

/linux-master/drivers/block/xen-blkback/
H A Dcommon.h50 * 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_SEGMENT member in struct:pending_req
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_seg6_loop.c46 struct ip6_addr_t segments[0]; member in struct:ip6_srh_t
130 // cur_off = end of segments, start of possible TLVs
H A Dtest_lwt_seg6local.c46 struct ip6_addr_t segments[0]; member in struct:ip6_srh_t
129 // cur_off = end of segments, start of possible TLVs
285 // This function will push a SRH with segments fd00::1, fd00::2, fd00::3,
293 char srh_buf[72]; // room for 4 segments
375 if (srh->hdrlen != 11) // 4 segments + Egress TLV + Padding TLV
416 if (srh->hdrlen != 8) // 4 segments
/linux-master/drivers/media/dvb-frontends/
H A Ddib8000.c2166 state->seg_mask = 0x1fff; /* All 13 segments enabled */
2169 if (state->isdbt_cfg_loaded == 0) { /* if not Sound Broadcasting mode : put default values for 13 segments */
2230 } else { /* 3-segments */
2232 if (c->layer[1].modulation == DQPSK) /* DQPSK on external segments */
2234 else /* QPSK or QAM on external segments */
2237 if (c->layer[1].modulation == DQPSK) /* DQPSK on external segments */
2239 else /* QPSK or QAM on external segments */
2250 } else { /* 3-segments */
2252 if (c->layer[1].modulation == DQPSK) /* DQPSK on external segments */
2254 else /* QPSK or QAM on external segments */
3974 interpolate_value(u32 value, struct linear_segments *segments, unsigned len) argument
[all...]
/linux-master/fs/nfs/
H A Dnfs42xdr.c1048 uint32_t segments; local
1063 segments = be32_to_cpup(p++);
1064 if (segments == 0)
1067 segs = kmalloc_array(segments, sizeof(*segs), GFP_KERNEL);
1071 for (i = 0; i < segments; i++) {
1078 for (i = segments; i > 0; i--)
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c341 cp->segments = sym_scatter(np, cp, cmd);
342 if (cp->segments < 0) {
348 * No segments means no data.
350 if (!cp->segments)
354 cp->segments = 0;
367 lastp = goalp - 8 - (cp->segments * (2*4));
372 lastp = goalp - 8 - (cp->segments * (2*4));
H A Dsym_hipd.h306 * 16 segments registers -> up to 64 GB addressable.
737 int segments; /* Number of SG segments */ member in struct:sym_ccb
1015 u_char dmap_dirty; /* Dma segments registers dirty */
/linux-master/net/ipv6/
H A Drpl_iptunnel.c139 buf = kcalloc(struct_size(srh, segments.addr, srh->segments_left), 2, GFP_ATOMIC);
H A Dseg6_hmac.c175 /* this limit allows for 14 segments */
186 * 5. All segments in the segments list (n * 128 bits)
207 /* all segments in the list */
209 memcpy(off, hdr->segments + i, 16);
/linux-master/sound/soc/intel/skylake/
H A Dskl-sst-utils.c62 struct segment_desc segments[3]; member in struct:adsp_module_entry
/linux-master/arch/x86/boot/compressed/
H A DMakefile75 LDFLAGS_vmlinux += $(call ld-option,--no-warn-rwx-segments)
/linux-master/fs/nilfs2/
H A Dsysfs.c351 * NILFS segments attrs *
405 "The segments group contains attributes that describe\n"
406 "details about volume's segments.\n\n"
407 "(1) segments_number\n\tshow number of segments on volume.\n\n"
409 "(3) clean_segments\n\tshow count of clean segments.\n\n"
410 "(4) dirty_segments\n\tshow count of dirty segments.\n\n";
436 NILFS_DEV_INT_GROUP_OPS(segments, dev);
437 NILFS_DEV_INT_GROUP_TYPE(segments, dev);
438 NILFS_DEV_INT_GROUP_FNS(segments, dev);
/linux-master/drivers/scsi/mpi3mr/
H A Dmpi3mr.h366 * struct segments - memory descriptor structure to store
367 * virtual and dma addresses for operational queue segments.
372 struct segments { struct
385 * @num_segments: Number of discontiguous memory segments
386 * @segment_qd: Depth of each segments
401 struct segments *q_segments;
412 * @num_segments: Number of discontiguous memory segments
413 * @segment_qd: Depth of each segments
429 struct segments *q_segments;
/linux-master/drivers/block/
H A Dvirtio_blk.c163 unsigned short segments = blk_rq_nr_discard_segments(req); local
172 range = kmalloc_array(segments, sizeof(*range), GFP_ATOMIC);
199 WARN_ON_ONCE(n != segments);
201 bvec_set_virt(&req->special_vec, range, sizeof(*range) * segments);
1258 /* We need to know how many segments before we allocate. */
1280 * segments. */
1394 * valid number of segments
/linux-master/drivers/staging/octeon/
H A Dethernet.c178 int segments = work->word2.s.bufs; local
181 while (segments--) {
/linux-master/drivers/s390/block/
H A Ddcssblk.c232 * Check continuity of segments.
254 /* sort segments */
361 /* reload segments in shared mode */
379 /* reload segments in exclusive mode */
503 * device attribute for showing all segments in a device
796 /* unload all related segments */
885 /* cannot write to these segments */
1025 module_param_string(segments, dcssblk_segments, DCSSBLK_PARM_LEN, 0444);
1026 MODULE_PARM_DESC(segments, "Name of DCSS segment(s) to be loaded, "
1029 "names of contiguous segments an
[all...]
/linux-master/drivers/scsi/
H A Dncr53c8xx.c977 ** The maximum number of segments a transfer is split into.
978 ** We support up to 127 segments for both read and write.
980 ** 80 (MAX_SCATTERL) segments are moved from a sub-script
4089 int segments; local
4216 segments = ncr_scatter(np, cp, cp->cmd);
4217 if (segments < 0) {
4224 segments = 0;
4261 if (segments <= MAX_SCATTERL)
4262 lastp = goalp - 8 - (segments * 16);
4265 lastp -= (segments
[all...]
/linux-master/sound/pci/cs46xx/
H A Ddsp_spos.c117 if (module->segments[i].segment_type == seg_type) {
118 return (module->segments + i);
435 /* NOTE: module segments and symbol table must be
536 struct dsp_segment_desc * desc = (ins->modules[i].segments + j);
H A Dcs46xx_lib.c357 if (module->segments) {
360 kfree(module->segments[i].data);
361 kfree(module->segments);
379 * } segments[nsegments];
436 module->segments =
438 if (!module->segments)
441 struct dsp_segment_desc *entry = &module->segments[i];
/linux-master/arch/x86/boot/
H A Dheader.S12 * BIG FAT NOTE: We're in real mode using 64k segments. Therefore segment
572 # it is on par with the other segments.
/linux-master/drivers/xen/
H A Dgntdev.c969 if (copy_from_user(&seg, &copy.segments[i], sizeof(seg))) {
974 ret = gntdev_grant_copy_seg(&batch, &seg, &copy.segments[i].status);
/linux-master/arch/arm/boot/compressed/
H A Dhead.S1228 mov r1, #7 << 5 @ 8 segments
1234 bcs 1b @ segments 7 to 0
/linux-master/sound/soc/intel/avs/
H A Dmessages.h560 struct avs_segment_desc segments[3]; member in struct:avs_module_entry
/linux-master/drivers/nvme/host/
H A Dcore.c801 unsigned short segments = blk_rq_nr_discard_segments(req), n = 0; local
808 * number of segments to prevent device reading beyond end of buffer.
839 if (n < segments) {
848 if (WARN_ON_ONCE(n != segments)) {
859 cmnd->dsm.nr = cpu_to_le32(segments - 1);
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c1206 * Returns the number of segments used if ODM Combine mode is enabled.
1215 int i, segments = -EOPNOTSUPP; local
1228 pipe_ctx->stream_res.tg->funcs->get_odm_combine_segments(pipe_ctx->stream_res.tg, &segments);
1230 seq_printf(m, "%d\n", segments);

Completed in 270 milliseconds

1234