Home
last modified time | relevance | path

Searched refs:segments (Results 1 – 25 of 161) sorted by relevance

1234567

/linux/kernel/
A Dkexec.c24 struct kexec_segment *segments, in kimage_alloc_init() argument
45 memcpy(image->segment, segments, nr_segments * sizeof(*segments)); in kimage_alloc_init()
88 struct kexec_segment *segments, unsigned long flags) in do_kexec_load() argument
128 ret = kimage_alloc_init(&image, entry, nr_segments, segments, flags); in do_kexec_load()
232 struct kexec_segment __user *, segments, unsigned long, flags) in SYSCALL_DEFINE4()
246 ksegments = memdup_user(segments, nr_segments * sizeof(ksegments[0])); in SYSCALL_DEFINE4()
259 struct compat_kexec_segment __user *, segments, in COMPAT_SYSCALL_DEFINE4() argument
282 result = copy_from_user(&in, &segments[i], sizeof(in)); in COMPAT_SYSCALL_DEFINE4()
/linux/drivers/net/ethernet/sfc/
A Def100_tx.c358 unsigned int segments; in ef100_enqueue_skb() local
367 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; in ef100_enqueue_skb()
368 if (segments == 1) in ef100_enqueue_skb()
369 segments = 0; /* Don't use TSO/GSO for a single segment. */ in ef100_enqueue_skb()
370 if (segments && !ef100_tx_can_tso(tx_queue, skb)) { in ef100_enqueue_skb()
380 rc = efx_tx_map_data(tx_queue, skb, segments); in ef100_enqueue_skb()
383 ef100_tx_make_descriptors(tx_queue, skb, segments); in ef100_enqueue_skb()
412 if (segments) { in ef100_enqueue_skb()
414 tx_queue->tso_packets += segments; in ef100_enqueue_skb()
415 tx_queue->tx_packets += segments; in ef100_enqueue_skb()
A Dtx.c327 unsigned int segments; in __efx_enqueue_skb() local
332 segments = skb_is_gso(skb) ? skb_shinfo(skb)->gso_segs : 0; in __efx_enqueue_skb()
333 if (segments == 1) in __efx_enqueue_skb()
334 segments = 0; /* Don't use TSO for a single segment. */ in __efx_enqueue_skb()
340 if (segments) { in __efx_enqueue_skb()
379 if (!data_mapped && (efx_tx_map_data(tx_queue, skb, segments))) in __efx_enqueue_skb()
390 if (segments) { in __efx_enqueue_skb()
392 tx_queue->tso_packets += segments; in __efx_enqueue_skb()
393 tx_queue->tx_packets += segments; in __efx_enqueue_skb()
A Dtx_common.c433 struct sk_buff *segments, *next; in efx_tx_tso_fallback() local
435 segments = skb_gso_segment(skb, 0); in efx_tx_tso_fallback()
436 if (IS_ERR(segments)) in efx_tx_tso_fallback()
437 return PTR_ERR(segments); in efx_tx_tso_fallback()
441 skb_list_walk_safe(segments, skb, next) { in efx_tx_tso_fallback()
/linux/Documentation/powerpc/
A Dpci_iov_resource_on_powernv.rst108 more segments.
120 has 256 segments; however, there is no table for mapping a segment
135 trick, to match to those giant segments.
153 PEs" that are used for the remaining M64 segments.
196 BARs span several segments.
212 another M64 window to assign 32MB segments.
216 effectively reserve the entire 256 segments (256 * VF BAR size) and
218 segments/PEs inside that M64 window.
279 responds to segments [total_VFs, 255].
308 segments to cover a VF BAR, and a VF will be in several PEs. This is
[all …]
/linux/arch/arm/mm/
A Dproc-arm940.S110 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
116 bcs 1b @ segments 3 to 0
160 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
166 bcs 1b @ segments 7 to 0
182 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
188 bcs 1b @ segments 7 to 0
205 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
211 bcs 1b @ segments 7 to 0
227 mov r1, #(CACHE_DSEGMENTS - 1) << 4 @ 4 segments
238 bcs 1b @ segments 7 to 0
A Dproc-arm922.S132 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 8 segments
138 bcs 1b @ segments 7 to 0
347 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 4 segments
353 bcs 1b @ segments 7 to 0
A Dproc-arm1020e.S142 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 16 segments
148 bcs 1b @ segments 15 to 0
372 mov r1, #0xF @ 16 segments
383 bge 1b @ segments 15 to 0
A Dproc-arm1022.S141 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 16 segments
147 bcs 1b @ segments 15 to 0
371 mov r1, #(CACHE_DSEGMENTS - 1) << 5 @ 16 segments
377 bcs 1b @ segments 15 to 0
/linux/include/uapi/linux/
A Drpl.h42 } segments; member
45 #define rpl_segaddr segments.addr
46 #define rpl_segdata segments.data
/linux/drivers/scsi/mpi3mr/
A Dmpi3mr_fw.c439 struct segments *segments = op_reply_q->q_segments; in mpi3mr_get_reply_desc() local
1265 struct segments *segments; in mpi3mr_free_op_req_q_segments() local
1268 if (!segments) in mpi3mr_free_op_req_q_segments()
1288 size, segments[j].segment, segments[j].segment_dma); in mpi3mr_free_op_req_q_segments()
1309 struct segments *segments; in mpi3mr_free_op_reply_q_segments() local
1332 size, segments[j].segment, segments[j].segment_dma); in mpi3mr_free_op_reply_q_segments()
1437 struct segments *segments; in mpi3mr_alloc_op_reply_q_segments() local
1494 struct segments *segments; in mpi3mr_alloc_op_req_q_segments() local
1852 struct segments *segments = op_req_q->q_segments; in mpi3mr_op_request_post() local
3442 struct segments *segments; in mpi3mr_memset_op_reply_q_buffers() local
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-fs-nilfs2183 What: /sys/fs/nilfs2/<device>/segments/segments_number
187 Show number of segments on a volume.
189 What: /sys/fs/nilfs2/<device>/segments/blocks_per_segment
195 What: /sys/fs/nilfs2/<device>/segments/clean_segments
199 Show count of clean segments.
201 What: /sys/fs/nilfs2/<device>/segments/dirty_segments
205 Show count of dirty segments.
207 What: /sys/fs/nilfs2/<device>/segments/README
211 Describe attributes of /sys/fs/nilfs2/<device>/segments
A Dsysfs-driver-jz4780-efuse6 split into segments. The driver supports read only.
7 The segments are:
/linux/drivers/dma/xilinx/
A Dxilinx_dma.c368 struct list_head segments; member
809 INIT_LIST_HEAD(&desc->segments); in xilinx_dma_alloc_tx_descriptor()
838 &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
844 &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
850 &desc->segments, node) { in xilinx_dma_free_tx_descriptor()
960 list_for_each(entry, &desc->segments) { in xilinx_dma_get_residue()
1925 list_last_entry(&tail_desc->segments, in append_desc_queue()
2063 segment = list_first_entry(&desc->segments, in xilinx_vdma_dma_prep_interleaved()
2209 segment = list_first_entry(&desc->segments, in xilinx_dma_prep_slave_sg()
2216 segment = list_last_entry(&desc->segments, in xilinx_dma_prep_slave_sg()
[all …]
/linux/block/
A Dblk-integrity.c30 unsigned int segments = 0; in blk_rq_count_integrity_sg() local
46 segments++; in blk_rq_count_integrity_sg()
54 return segments; in blk_rq_count_integrity_sg()
73 unsigned int segments = 0; in blk_rq_map_integrity_sg() local
96 segments++; in blk_rq_map_integrity_sg()
106 return segments; in blk_rq_map_integrity_sg()
/linux/drivers/media/i2c/
A Dad9389b.c61 u32 segments; member
376 edid->segments ? "found" : "no", edid->blocks); in ad9389b_log_status()
672 if (!state->edid.segments) { in ad9389b_get_edid()
676 if (edid->start_block >= state->edid.segments * 2) in ad9389b_get_edid()
678 if (edid->blocks + edid->start_block >= state->edid.segments * 2) in ad9389b_get_edid()
679 edid->blocks = state->edid.segments * 2 - edid->start_block; in ad9389b_get_edid()
934 v4l2_ctrl_s_ctrl(state->have_edid0_ctrl, state->edid.segments ? 0x1 : 0x0); in ad9389b_update_monitor_present_status()
1045 state->edid.segments = segment + 1; in ad9389b_check_edid_status()
1046 if (((state->edid.data[0x7e] >> 1) + 1) > state->edid.segments) { in ad9389b_check_edid_status()
1049 __func__, state->edid.segments); in ad9389b_check_edid_status()
[all …]
/linux/drivers/block/xen-blkback/
A Dblkback.c707 struct grant_page **pages = req->segments; in xen_blkbk_unmap_and_respond()
921 struct blkif_request_segment *segments = NULL; in xen_blkbk_parse_indirect() local
939 if (segments) in xen_blkbk_parse_indirect()
940 kunmap_atomic(segments); in xen_blkbk_parse_indirect()
945 pending_req->segments[n]->gref = segments[i].gref; in xen_blkbk_parse_indirect()
947 first_sect = READ_ONCE(segments[i].first_sect); in xen_blkbk_parse_indirect()
948 last_sect = READ_ONCE(segments[i].last_sect); in xen_blkbk_parse_indirect()
960 if (segments) in xen_blkbk_parse_indirect()
961 kunmap_atomic(segments); in xen_blkbk_parse_indirect()
1199 struct grant_page **pages = pending_req->segments; in dispatch_rw_block_io()
[all …]
/linux/drivers/char/agp/
A Dfrontend.c110 seg = *(client->segments); in agp_find_seg_in_client()
127 if (client->segments != NULL) { in agp_remove_seg_from_client()
128 if (*(client->segments) != NULL) { in agp_remove_seg_from_client()
129 DBG("Freeing %p from client %p", *(client->segments), client); in agp_remove_seg_from_client()
130 kfree(*(client->segments)); in agp_remove_seg_from_client()
132 DBG("Freeing %p from client %p", client->segments, client); in agp_remove_seg_from_client()
133 kfree(client->segments); in agp_remove_seg_from_client()
134 client->segments = NULL; in agp_remove_seg_from_client()
143 prev_seg = client->segments; in agp_add_seg_to_client()
150 client->segments = seg; in agp_add_seg_to_client()
/linux/drivers/bus/mhi/core/
A Dboot.c317 int segments = DIV_ROUND_UP(alloc_size, seg_size) + 1; in mhi_alloc_bhie_table() local
327 img_info->mhi_buf = kcalloc(segments, sizeof(*img_info->mhi_buf), in mhi_alloc_bhie_table()
334 for (i = 0; i < segments; i++, mhi_buf++) { in mhi_alloc_bhie_table()
338 if (i == segments - 1) in mhi_alloc_bhie_table()
349 img_info->bhi_vec = img_info->mhi_buf[segments - 1].buf; in mhi_alloc_bhie_table()
350 img_info->entries = segments; in mhi_alloc_bhie_table()
/linux/Documentation/i2c/muxes/
A Di2c-mux-gpio.rst10 i2c-mux-gpio is an i2c mux driver providing access to I2C bus segments
34 bus, the number of bus segments to create and the GPIO pins used
37 E.G. something like this for a MUX providing 4 bus segments
/linux/drivers/media/dvb-frontends/
A Dmb86a20s.c1351 if (value >= segments[0].x) in interpolate_value()
1352 return segments[0].y; in interpolate_value()
1353 if (value < segments[len-1].x) in interpolate_value()
1354 return segments[len-1].y; in interpolate_value()
1358 if (value == segments[i].x) in interpolate_value()
1359 return segments[i].y; in interpolate_value()
1360 if (value > segments[i].x) in interpolate_value()
1365 dy = segments[i].y - segments[i - 1].y; in interpolate_value()
1366 dx = segments[i - 1].x - segments[i].x; in interpolate_value()
1367 tmp64 = value - segments[i].x; in interpolate_value()
[all …]
/linux/arch/powerpc/platforms/cell/
A Diommu.c301 unsigned long segments, stab_size; in cell_iommu_setup_stab() local
303 segments = max(dbase + dsize, fbase + fsize) >> IO_SEGMENT_SHIFT; in cell_iommu_setup_stab()
306 __func__, iommu->nid, segments); in cell_iommu_setup_stab()
309 stab_size = segments * sizeof(unsigned long); in cell_iommu_setup_stab()
322 unsigned long reg, segments, pages_per_segment, ptab_size, in cell_iommu_alloc_ptab() local
326 segments = size >> IO_SEGMENT_SHIFT; in cell_iommu_alloc_ptab()
332 ptab_size = segments * pages_per_segment * sizeof(unsigned long); in cell_iommu_alloc_ptab()
363 for (i = start_seg; i < (start_seg + segments); i++) { in cell_iommu_alloc_ptab()
/linux/drivers/gpu/drm/arm/
A Dmalidp_crtc.c98 } segments[MALIDP_COEFFTAB_NUM_COEFFS] = { variable
135 delta_in = segments[i].end - segments[i].start; in malidp_generate_gamma_table()
137 out_start = drm_color_lut_extract(lut[segments[i].start].green, in malidp_generate_gamma_table()
139 out_end = drm_color_lut_extract(lut[segments[i].end].green, 12); in malidp_generate_gamma_table()
/linux/Documentation/filesystems/
A Dnilfs2.rst116 segments. This ioctl is used in lssu,
121 segments. This ioctl is used by
123 cleaning operation of segments and reduce
149 NILFS_IOCTL_SET_ALLOC_RANGE Define lower limit of segments in bytes and
150 upper limit of segments in bytes. This ioctl
191 A nilfs2 volume is equally divided into a number of segments except
240 3) Segment usage file (sufile) -- Stores allocation state of segments
/linux/Documentation/input/devices/
A Dyealink.rst73 '8' : Generic 7 segment digit with individual addressable segments
75 Reduced capability 7 segment digit, when segments are hard wired together.
76 '1' : 2 segments digit only able to produce a 1.
101 map_seg7 Read/Write, the 7 segments char set, common for all

Completed in 56 milliseconds

1234567