Searched refs:segments (Results 1 - 25 of 83) sorted by last modified time

1234

/linux-master/net/core/
H A Dfilter.c6264 * segments, it can still be below MTU. The SKB can possibly get
6453 ptr + len > (void *)&srh->segments)
/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);
/linux-master/fs/nfsd/
H A Dnfs4xdr.c5252 u32 segments = 0; local
5274 segments++;
5278 *p = cpu_to_be32(segments);
/linux-master/
H A DMakefile1034 KBUILD_LDFLAGS += $(call ld-option,--no-warn-rwx-segments)
/linux-master/drivers/gpu/drm/amd/display/dc/optc/dcn32/
H A Ddcn32_optc.c104 int segments; local
106 REG_GET(OPTC_DATA_SOURCE_SELECT, OPTC_NUM_OF_INPUT_SEGMENT, &segments);
108 switch (segments) {
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_init.c8409 uint templates, segments, fragment; local
8437 segments = FA_RISC_CODE_SEGMENTS;
8438 for (j = 0; j < segments; j++) {
8654 uint templates, segments, fragment; local
8691 segments = FA_RISC_CODE_SEGMENTS;
8692 for (j = 0; j < segments; j++) {
/linux-master/block/
H A Dblk-merge.c211 * @nsegs: [in,out] Number of segments in the bio being built. Incremented
212 * by the number of segments from @bv that may be appended to that
224 * *@nsegs segments and *@sectors sectors would make that bio unacceptable for
259 * @segs: [out] number of segments in the bio with the first half of the sectors
267 * - That it has at most queue_max_segments(@q) segments.
341 * @nr_segs: returns the number of segments in the returned bio
578 * segment is bigger than number of req's physical segments
672 unsigned short segments = blk_rq_nr_discard_segments(req); local
674 if (segments >= queue_max_discard_segments(q))
680 req->nr_phys_segments = segments
1038 unsigned short segments = blk_rq_nr_discard_segments(req); local
[all...]
/linux-master/drivers/bus/mhi/host/
H A Dboot.c318 int segments = DIV_ROUND_UP(alloc_size, seg_size) + 1; local
328 img_info->mhi_buf = kcalloc(segments, sizeof(*img_info->mhi_buf),
335 for (i = 0; i < segments; i++, mhi_buf++) {
339 if (i == segments - 1)
350 img_info->bhi_vec = img_info->mhi_buf[segments - 1].buf;
351 img_info->entries = 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/fs/f2fs/
H A Dfile.c3019 end_segno = min(start_segno + range.segments, dev_end_segno);
/linux-master/drivers/dma/xilinx/
H A Dxilinx_dma.c317 * @node: Node in the descriptor segments list
329 * @node: Node in the descriptor segments list
341 * @node: Node in the descriptor segments list
353 * @node: Node in the descriptor segments list
365 * @segments: TX segments list
373 struct list_head segments; member in struct:xilinx_dma_tx_descriptor
409 * @seg_v: Statically allocated segments base
410 * @seg_mv: Statically allocated segments base for MCDMA
411 * @seg_p: Physical allocated segments bas
[all...]
/linux-master/sound/soc/intel/avs/
H A Dmessages.h560 struct avs_segment_desc segments[3]; member in struct:avs_module_entry
/linux-master/lib/
H A Dassoc_array.c179 unsigned long segments; local
191 /* Use segments from the key for the new leaf to navigate through the
199 segments = ops->get_key_chunk(index_key, level);
200 pr_devel("segments[%d]: %lx\n", level, segments);
207 slot = segments >> (level & ASSOC_ARRAY_KEY_CHUNK_MASK);
253 segments = ops->get_key_chunk(index_key, sc_level);
256 dissimilarity = segments ^ sc_segments;
259 /* Trim segments that are beyond the shortcut */
/linux-master/kernel/
H A Dkexec.c24 struct kexec_segment *segments,
47 memcpy(image->segment, segments, nr_segments * sizeof(*segments));
63 * the vector of segments so that it's pages will also be
92 struct kexec_segment *segments, unsigned long flags)
130 ret = kimage_alloc_init(&image, entry, nr_segments, segments, flags);
234 * of segments passed to kexec_load.
243 struct kexec_segment __user *, segments, unsigned long, flags)
257 ksegments = memdup_array_user(segments, nr_segments, sizeof(ksegments[0]));
270 struct compat_kexec_segment __user *, segments,
22 kimage_alloc_init(struct kimage **rimage, unsigned long entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long flags) argument
91 do_kexec_load(unsigned long entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long flags) argument
[all...]
/linux-master/include/linux/
H A Dsyscalls.h580 struct kexec_segment __user *segments,
/linux-master/fs/nilfs2/
H A Drecovery.c446 * Collecting segments written after the latest super root.
459 /* Allocate new segments for recovery */
562 * nilfs_do_roll_forward - salvage logical segments newer than the latest
586 RF_DSYNC_ST, /* scanning data-sync segments */
811 LIST_HEAD(segments);
890 nilfs_dispose_segment_list(&segments);
928 ret = nilfs_segment_list_add(&segments, segnum);
941 list_splice_tail(&segments, &ri->ri_used_segments);
949 nilfs_dispose_segment_list(&segments);
/linux-master/drivers/md/dm-vdo/
H A Dblock-map.c69 struct block_map_tree_segment *segments; member in struct:block_map_tree
74 size_t segments; member in struct:forest
1361 for (segment = 0; segment < forest->segments; segment++) {
1367 return &(tree->segments[segment].levels[height - 1][page_index - offset]);
2340 size_t index = (old_forest == NULL) ? 0 : old_forest->segments;
2347 forest->segments = index + 1;
2349 result = vdo_allocate(forest->segments, struct boundary,
2354 result = vdo_allocate(forest->segments, struct tree_page *,
2385 int result = vdo_allocate(forest->segments,
2387 "tree root segments",
[all...]
/linux-master/arch/x86/boot/compressed/
H A DMakefile75 LDFLAGS_vmlinux += $(call ld-option,--no-warn-rwx-segments)
/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/net/ipv6/
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);
H A Dexthdrs.c351 addr = hdr->segments + hdr->segments_left;
447 addr = hdr->segments + hdr->segments_left;
559 buf = kcalloc(struct_size(hdr, segments.addr, n + 2), 2, GFP_ATOMIC);
1116 memcpy(sr_phdr->segments + 1, sr_ihdr->segments + 1,
1119 sr_phdr->segments[0] = **addr_p;
1120 *addr_p = &sr_ihdr->segments[sr_ihdr->segments_left];
1369 fl6->daddr = srh->segments[srh->segments_left];
/linux-master/drivers/net/ethernet/sfc/
H A Dtx_common.c453 struct sk_buff *segments, *next; local
455 segments = skb_gso_segment(skb, 0);
456 if (IS_ERR(segments))
457 return PTR_ERR(segments);
461 skb_list_walk_safe(segments, skb, next) {
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dtx_common.c434 struct sk_buff *segments, *next; local
436 segments = skb_gso_segment(skb, 0);
437 if (IS_ERR(segments))
438 return PTR_ERR(segments);
442 skb_list_walk_safe(segments, skb, next) {

Completed in 384 milliseconds

1234