Home
last modified time | relevance | path

Searched refs:discard (Results 1 – 25 of 71) sorted by relevance

123

/drivers/block/xen-blkback/
Dcommon.h124 struct blkif_x86_32_request_discard discard; member
180 struct blkif_x86_64_request_discard discard; member
413 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_32_req()
414 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_32_req()
415 dst->u.discard.sector_number = src->u.discard.sector_number; in blkif_get_x86_32_req()
416 dst->u.discard.nr_sectors = src->u.discard.nr_sectors; in blkif_get_x86_32_req()
461 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_64_req()
462 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_64_req()
463 dst->u.discard.sector_number = src->u.discard.sector_number; in blkif_get_x86_64_req()
464 dst->u.discard.nr_sectors = src->u.discard.nr_sectors; in blkif_get_x86_64_req()
Dblkback.c1005 preq.sector_number = req->u.discard.sector_number; in dispatch_discard_io()
1006 preq.nr_sects = req->u.discard.nr_sectors; in dispatch_discard_io()
1018 (req->u.discard.flag & BLKIF_DISCARD_SECURE)) ? in dispatch_discard_io()
1021 err = blkdev_issue_discard(bdev, req->u.discard.sector_number, in dispatch_discard_io()
1022 req->u.discard.nr_sectors, in dispatch_discard_io()
1031 make_response(blkif, req->u.discard.id, req->operation, status); in dispatch_discard_io()
/drivers/gpu/drm/r128/
Dr128_state.c610 if (buf_priv->discard) { in r128_cce_dispatch_vertex()
668 if (buf_priv->discard) { in r128_cce_dispatch_indirect()
749 if (buf_priv->discard) { in r128_cce_dispatch_indices()
835 buf_priv->discard = 1; in r128_cce_dispatch_blit()
1331 DRM_CURRENTPID, vertex->idx, vertex->count, vertex->discard); in r128_cce_vertex()
1362 buf_priv->discard = vertex->discard; in r128_cce_vertex()
1384 elts->idx, elts->start, elts->end, elts->discard); in r128_cce_indices()
1427 buf_priv->discard = elts->discard; in r128_cce_indices()
1533 indirect->discard); in r128_cce_indirect()
1564 buf_priv->discard = indirect->discard; in r128_cce_indirect()
/drivers/media/platform/soc_camera/
Dmx2_camera.c222 bool discard; member
249 struct list_head discard; member
707 pcdev->buf_discard[0].discard = true; in mx2_start_streaming()
709 &pcdev->discard); in mx2_start_streaming()
711 pcdev->buf_discard[1].discard = true; in mx2_start_streaming()
713 &pcdev->discard); in mx2_start_streaming()
767 INIT_LIST_HEAD(&pcdev->discard); in mx2_stop_streaming()
1320 if (ibuf->discard) { in mx27_camera_frame_done_emma()
1325 list_move_tail(pcdev->active_bufs.next, &pcdev->discard); in mx27_camera_frame_done_emma()
1365 if (list_empty(&pcdev->discard)) { in mx27_camera_frame_done_emma()
[all …]
/drivers/gpu/drm/mga/
Dmga_state.c659 if (buf_priv->discard) { in mga_dma_dispatch_vertex()
705 if (buf_priv->discard) { in mga_dma_dispatch_indices()
888 buf_priv->discard = vertex->discard; in mga_dma_vertex()
891 if (vertex->discard) { in mga_dma_vertex()
923 buf_priv->discard = indices->discard; in mga_dma_indices()
926 if (indices->discard) { in mga_dma_indices()
/drivers/net/ppp/
Dppp_mppe.c110 int discard; /* stateful mode packet loss flag */ member
551 if (!state->discard) { in mppe_decompress()
560 state->discard = 1; in mppe_decompress()
579 state->discard = 0; in mppe_decompress()
/drivers/media/usb/gspca/
Djeilinj.c284 goto discard; in sd_pkt_scan()
309 goto discard; in sd_pkt_scan()
311 discard: in sd_pkt_scan()
Dov534_9.c1660 goto discard; in sd_pkt_scan()
1666 goto discard; in sd_pkt_scan()
1672 goto discard; in sd_pkt_scan()
1702 discard: in sd_pkt_scan()
Dov534.c1419 goto discard; in sd_pkt_scan()
1425 goto discard; in sd_pkt_scan()
1431 goto discard; in sd_pkt_scan()
1454 goto discard; in sd_pkt_scan()
1468 discard: in sd_pkt_scan()
/drivers/md/
Ddm-cache-metadata.c1006 dm_dblock_t dblock, bool discard) in __discard() argument
1010 r = (discard ? __set_discard : __clear_discard)(cmd, dblock); in __discard()
1019 dm_dblock_t dblock, bool discard) in dm_cache_set_discard() argument
1024 r = __discard(cmd, dblock, discard); in dm_cache_set_discard()
1035 bool discard; in __load_discards() local
1041 r = __is_discarded(cmd, dblock, &discard); in __load_discards()
1045 discard = false; in __load_discards()
1047 r = fn(context, cmd->discard_block_size, dblock, discard); in __load_discards()
Ddm-cache-metadata.h80 int dm_cache_set_discard(struct dm_cache_metadata *cmd, dm_dblock_t dblock, bool discard);
Ddm-cache-target.c361 bool discard:1; member
1368 if (mg->discard) { in issue_copy_or_discard()
1473 mg->discard = false; in promote()
1497 mg->discard = false; in writeback()
1523 mg->discard = false; in demote_then_promote()
1552 mg->discard = false; in invalidate()
1569 static void discard(struct cache *cache, struct prealloc *structs, in discard() function
1575 mg->discard = true; in discard()
1642 discard(cache, structs, new_ocell); in process_discard_bio()
3353 dm_dblock_t dblock, bool discard) in load_discard() argument
[all …]
/drivers/net/wireless/ath/ath10k/
Dtxrx.c61 tx_done->msdu_id, !!tx_done->discard, in ath10k_txrx_tx_unref()
103 if (tx_done->discard) { in ath10k_txrx_tx_unref()
/drivers/edac/
Damd76x_edac.c242 struct amd76x_error_info discard; in amd76x_probe1() local
273 amd76x_get_error_info(mci, &discard); /* clear counters */ in amd76x_probe1()
Dr82600_edac.c278 struct r82600_error_info discard; in r82600_probe1() local
325 r82600_get_error_info(mci, &discard); /* clear counters */ in r82600_probe1()
Di82860_edac.c190 struct i82860_error_info discard; in i82860_probe1() local
225 i82860_get_error_info(mci, &discard); /* clear counters */ in i82860_probe1()
Di82875p_edac.c399 struct i82875p_error_info discard; in i82875p_probe1() local
436 i82875p_get_error_info(mci, &discard); /* clear counters */ in i82875p_probe1()
De7xxx_edac.c430 struct e7xxx_error_info discard; in e7xxx_probe1() local
496 e7xxx_get_error_info(mci, &discard); in e7xxx_probe1()
Di82975x_edac.c481 struct i82975x_error_info discard; in i82975x_probe1() local
573 i82975x_get_error_info(mci, &discard); /* clear counters */ in i82975x_probe1()
/drivers/net/wireless/prism54/
Dislpci_eth.c317 int discard = 0; in islpci_eth_receive() local
376 discard = islpci_monitor_rx(priv, &skb); in islpci_eth_receive()
413 if (unlikely(discard)) { in islpci_eth_receive()
/drivers/gpu/drm/radeon/
Dradeon_ioc32.c208 int discard; /* Client finished with buffer? */ member
227 || __put_user(req32.discard, &request->discard) in compat_radeon_cp_vertex2()
/drivers/staging/lustre/lustre/osc/
Dosc_lock.c1245 static int osc_lock_flush(struct osc_lock *ols, int discard) in osc_lock_flush() argument
1261 1, discard); in osc_lock_flush()
1264 discard ? "discarded" : "written"); in osc_lock_flush()
1304 int discard; in osc_lock_cancel() local
1312 discard = !!(dlmlock->l_flags & LDLM_FL_DISCARD_DATA); in osc_lock_cancel()
1314 result = osc_lock_flush(olck, discard); in osc_lock_cancel()
/drivers/net/wireless/
Dwl3501_cs.c1381 wstats->discard.code += value; in wl3501_get_wireless_stats()
1384 wstats->discard.code += value; in wl3501_get_wireless_stats()
1387 wstats->discard.code += value; in wl3501_get_wireless_stats()
1390 wstats->discard.retries = value; in wl3501_get_wireless_stats()
1393 wstats->discard.misc += value; in wl3501_get_wireless_stats()
1396 wstats->discard.misc += value; in wl3501_get_wireless_stats()
1399 wstats->discard.misc += value; in wl3501_get_wireless_stats()
1402 wstats->discard.misc += value; in wl3501_get_wireless_stats()
/drivers/md/bcache/
Dsysfs.c92 rw_attribute(discard);
755 sysfs_print(discard, ca->discard); in SHOW()
863 ca->discard = v; in STORE()
/drivers/block/
Dxen-blkfront.c488 ring_req->u.discard.nr_sectors = blk_rq_sectors(req); in blkif_queue_discard_req()
489 ring_req->u.discard.id = id; in blkif_queue_discard_req()
490 ring_req->u.discard.sector_number = (blkif_sector_t)blk_rq_pos(req); in blkif_queue_discard_req()
492 ring_req->u.discard.flag = BLKIF_DISCARD_SECURE; in blkif_queue_discard_req()
494 ring_req->u.discard.flag = 0; in blkif_queue_discard_req()
1987 int barrier, flush, discard, persistent; in blkfront_gather_backend_features() local
2017 "feature-discard", "%d", &discard, in blkfront_gather_backend_features()
2020 if (!err && discard) in blkfront_gather_backend_features()

123