Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 36) sorted by relevance

12

/drivers/media/dvb-core/
Ddvb_ringbuffer.c140 size_t split; in dvb_ringbuffer_read_user() local
142 split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; in dvb_ringbuffer_read_user()
143 if (split > 0) { in dvb_ringbuffer_read_user()
144 if (copy_to_user(buf, rbuf->data+rbuf->pread, split)) in dvb_ringbuffer_read_user()
146 buf += split; in dvb_ringbuffer_read_user()
147 todo -= split; in dvb_ringbuffer_read_user()
166 size_t split; in dvb_ringbuffer_read() local
168 split = (rbuf->pread + len > rbuf->size) ? rbuf->size - rbuf->pread : 0; in dvb_ringbuffer_read()
169 if (split > 0) { in dvb_ringbuffer_read()
170 memcpy(buf, rbuf->data+rbuf->pread, split); in dvb_ringbuffer_read()
[all …]
/drivers/md/
Dlinear.c251 struct bio *split; in linear_make_request() local
274 split = bio_split(bio, end_sector - in linear_make_request()
277 bio_chain(split, bio); in linear_make_request()
279 split = bio; in linear_make_request()
282 split->bi_iter.bi_sector = split->bi_iter.bi_sector - in linear_make_request()
285 if (unlikely((bio_op(split) == REQ_OP_DISCARD) && in linear_make_request()
286 !blk_queue_discard(bdev_get_queue(split->bi_bdev)))) { in linear_make_request()
288 bio_endio(split); in linear_make_request()
290 generic_make_request(split); in linear_make_request()
291 } while (split != bio); in linear_make_request()
Draid0.c459 struct bio *split; in raid0_make_request() local
479 split = bio_split(bio, sectors, GFP_NOIO, fs_bio_set); in raid0_make_request()
480 bio_chain(split, bio); in raid0_make_request()
482 split = bio; in raid0_make_request()
487 split->bi_bdev = tmp_dev->bdev; in raid0_make_request()
488 split->bi_iter.bi_sector = sector + zone->dev_start + in raid0_make_request()
491 if (unlikely((bio_op(split) == REQ_OP_DISCARD) && in raid0_make_request()
492 !blk_queue_discard(bdev_get_queue(split->bi_bdev)))) { in raid0_make_request()
494 bio_endio(split); in raid0_make_request()
496 generic_make_request(split); in raid0_make_request()
[all …]
/drivers/firewire/
Dnosy.c174 size_t split = end - buffer->head->data; in packet_buffer_get() local
176 if (copy_to_user(data, buffer->head->data, split)) in packet_buffer_get()
178 if (copy_to_user(data + split, buffer->data, length - split)) in packet_buffer_get()
180 buffer->head = (struct packet *) &buffer->data[length - split]; in packet_buffer_get()
213 size_t split = end - buffer->tail->data; in packet_buffer_put() local
215 memcpy(buffer->tail->data, data, split); in packet_buffer_put()
216 memcpy(buffer->data, data + split, length - split); in packet_buffer_put()
217 buffer->tail = (struct packet *) &buffer->data[length - split]; in packet_buffer_put()
/drivers/media/pci/ivtv/
Divtv-udma.c75 …udma_fill_sg_array (struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u32 split) { in ivtv_udma_fill_sg_array() argument
85 split -= sg_dma_len(sg); in ivtv_udma_fill_sg_array()
86 if (split == 0) in ivtv_udma_fill_sg_array()
Divtv-udma.h27 …v_udma_fill_sg_array(struct ivtv_user_dma *dma, u32 buffer_offset, u32 buffer_offset_2, u32 split);
/drivers/media/dvb-frontends/
Ddib7000m.c638 …if(!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split.… in dib7000m_agc_soft_split()
644 if (agc > state->current_agc->split.min_thres) in dib7000m_agc_soft_split()
645 split_offset = state->current_agc->split.min; in dib7000m_agc_soft_split()
646 else if (agc < state->current_agc->split.max_thres) in dib7000m_agc_soft_split()
647 split_offset = state->current_agc->split.max; in dib7000m_agc_soft_split()
649 split_offset = state->current_agc->split.max * in dib7000m_agc_soft_split()
650 (agc - state->current_agc->split.min_thres) / in dib7000m_agc_soft_split()
651 (state->current_agc->split.max_thres - state->current_agc->split.min_thres); in dib7000m_agc_soft_split()
Ddibx000_common.h113 } split; member
Ddib8000.c1239 …if (!state->current_agc || !state->current_agc->perform_agc_softsplit || state->current_agc->split in dib8000_agc_soft_split()
1245 if (agc > state->current_agc->split.min_thres) in dib8000_agc_soft_split()
1246 split_offset = state->current_agc->split.min; in dib8000_agc_soft_split()
1247 else if (agc < state->current_agc->split.max_thres) in dib8000_agc_soft_split()
1248 split_offset = state->current_agc->split.max; in dib8000_agc_soft_split()
1250 split_offset = state->current_agc->split.max * in dib8000_agc_soft_split()
1251 (agc - state->current_agc->split.min_thres) / in dib8000_agc_soft_split()
1252 (state->current_agc->split.max_thres - state->current_agc->split.min_thres); in dib8000_agc_soft_split()
/drivers/staging/vt6656/
DTODO7 - split rf.c
/drivers/staging/vt6655/
DTODO6 - split rf.c
/drivers/net/wan/
Dsdla.c764 short dlci, len, len2, split; in sdla_receive() local
854 split = addr + len > buf_top + 1 ? len - (buf_top - addr + 1) : 0; in sdla_receive()
855 len2 = len - split; in sdla_receive()
858 if (split) in sdla_receive()
859 __sdla_read(dev, buf_base, skb_put(skb, split), split); in sdla_receive()
/drivers/infiniband/sw/rxe/
DKconfig14 The driver is split into two layers, one interfaces with the
/drivers/crypto/
Dmxs-dcp.c271 int split = 0; in mxs_dcp_aes_block_crypt() local
316 if (!split) { in mxs_dcp_aes_block_crypt()
330 split = 0; in mxs_dcp_aes_block_crypt()
332 split = 1; in mxs_dcp_aes_block_crypt()
/drivers/staging/media/bcm2048/
DTODO20 Finally this driver should probably be split up into two parts: one
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c339 bool split = false; in xgene_enet_setup_tx_desc() local
384 for (i = 0, fidx = 0; split || (fidx < nr_frags); i++) { in xgene_enet_setup_tx_desc()
385 if (!split) { in xgene_enet_setup_tx_desc()
399 split = true; in xgene_enet_setup_tx_desc()
407 split = false; in xgene_enet_setup_tx_desc()
420 if (split || (fidx != nr_frags)) { in xgene_enet_setup_tx_desc()
438 if (split) in xgene_enet_setup_tx_desc()
/drivers/xen/xenbus/
Dxenbus_xs.c362 static char **split(char *strings, unsigned int len, unsigned int *num) in split() function
400 return split(strings, len, num); in xenbus_directory()
893 msg->u.watch.vec = split(body, msg->hdr.len, in process_msg()
/drivers/media/pci/saa7134/
Dsaa7134-core.c394 u32 split, task=0, ctrl=0, irq=0; in saa7134_set_dmabits() local
457 split = 0; in saa7134_set_dmabits()
471 split = 1; in saa7134_set_dmabits()
487 task, ctrl, irq, split ? "no" : "yes"); in saa7134_set_dmabits()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h166 struct net_device *dev, bool split, u32 split_group);
Dspectrum.h330 split:1; member
/drivers/block/
Dpktcdvd.c2448 struct bio *split; in pkt_make_request() local
2491 split = bio_split(bio, last_zone - in pkt_make_request()
2494 bio_chain(split, bio); in pkt_make_request()
2496 split = bio; in pkt_make_request()
2499 pkt_make_request_write(q, split); in pkt_make_request()
2500 } while (split != bio); in pkt_make_request()
/drivers/staging/media/davinci_vpfe/
Ddavinci-vpfe-mc.txt30 The Davinci VPFE is split into V4L2 subdevs, each of the blocks inside the VPFE
/drivers/md/bcache/
Dbtree.c1962 bool split; in btree_split() local
1982 split = set_blocks(btree_bset_first(n1), in btree_split()
1985 if (split) { in btree_split()
2111 goto split; in bch_btree_insert_node()
2129 split: in bch_btree_insert_node()
/drivers/mtd/ubi/
DKconfig50 flash chip admits maximum 40 bad eraseblocks, and it is split on two
/drivers/soc/fsl/qe/
Dqe.c502 if (!firmware->split) in qe_upload_firmware()

12