Home
last modified time | relevance | path

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

123

/drivers/block/xen-blkback/
Dcommon.h89 struct blkif_x86_32_request_discard discard; member
133 struct blkif_x86_64_request_discard discard; member
274 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_32_req()
275 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_32_req()
276 dst->u.discard.sector_number = src->u.discard.sector_number; in blkif_get_x86_32_req()
277 dst->u.discard.nr_sectors = src->u.discard.nr_sectors; in blkif_get_x86_32_req()
310 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_64_req()
311 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_64_req()
312 dst->u.discard.sector_number = src->u.discard.sector_number; in blkif_get_x86_64_req()
313 dst->u.discard.nr_sectors = src->u.discard.nr_sectors; in blkif_get_x86_64_req()
Dblkback.c404 preq.sector_number = req->u.discard.sector_number; in dispatch_discard_io()
405 preq.nr_sects = req->u.discard.nr_sectors; in dispatch_discard_io()
418 (req->u.discard.flag & BLKIF_DISCARD_SECURE)) ? in dispatch_discard_io()
421 err = blkdev_issue_discard(bdev, req->u.discard.sector_number, in dispatch_discard_io()
422 req->u.discard.nr_sectors, in dispatch_discard_io()
431 make_response(blkif, req->u.discard.id, req->operation, status); in dispatch_discard_io()
/drivers/gpu/drm/r128/
Dr128_state.c611 if (buf_priv->discard) { in r128_cce_dispatch_vertex()
669 if (buf_priv->discard) { in r128_cce_dispatch_indirect()
750 if (buf_priv->discard) { in r128_cce_dispatch_indices()
836 buf_priv->discard = 1; in r128_cce_dispatch_blit()
1354 DRM_CURRENTPID, vertex->idx, vertex->count, vertex->discard); in r128_cce_vertex()
1385 buf_priv->discard = vertex->discard; in r128_cce_vertex()
1407 elts->idx, elts->start, elts->end, elts->discard); in r128_cce_indices()
1450 buf_priv->discard = elts->discard; in r128_cce_indices()
1556 indirect->discard); in r128_cce_indirect()
1587 buf_priv->discard = indirect->discard; in r128_cce_indirect()
/drivers/media/video/
Dmx2_camera.c257 bool discard; member
284 struct list_head discard; member
852 pcdev->buf_discard[0].discard = true; in mx2_start_streaming()
854 &pcdev->discard); in mx2_start_streaming()
856 pcdev->buf_discard[1].discard = true; in mx2_start_streaming()
858 &pcdev->discard); in mx2_start_streaming()
914 INIT_LIST_HEAD(&pcdev->discard); in mx2_stop_streaming()
1476 if (ibuf->discard) { in mx27_camera_frame_done_emma()
1481 list_move_tail(pcdev->active_bufs.next, &pcdev->discard); in mx27_camera_frame_done_emma()
1520 if (list_empty(&pcdev->discard)) { in mx27_camera_frame_done_emma()
[all …]
/drivers/gpu/drm/mga/
Dmga_state.c660 if (buf_priv->discard) { in mga_dma_dispatch_vertex()
706 if (buf_priv->discard) { in mga_dma_dispatch_indices()
889 buf_priv->discard = vertex->discard; in mga_dma_vertex()
892 if (vertex->discard) { in mga_dma_vertex()
924 buf_priv->discard = indices->discard; in mga_dma_indices()
927 if (indices->discard) { in mga_dma_indices()
/drivers/net/ppp/
Dppp_mppe.c110 int discard; /* stateful mode packet loss flag */ member
557 if (!state->discard) { in mppe_decompress()
566 state->discard = 1; in mppe_decompress()
585 state->discard = 0; in mppe_decompress()
/drivers/edac/
Damd76x_edac.c236 struct amd76x_error_info discard; in amd76x_probe1() local
261 amd76x_get_error_info(mci, &discard); /* clear counters */ in amd76x_probe1()
Di82860_edac.c179 struct i82860_error_info discard; in i82860_probe1() local
207 i82860_get_error_info(mci, &discard); /* clear counters */ in i82860_probe1()
Dr82600_edac.c271 struct r82600_error_info discard; in r82600_probe1() local
314 r82600_get_error_info(mci, &discard); /* clear counters */ in r82600_probe1()
Di82875p_edac.c390 struct i82875p_error_info discard; in i82875p_probe1() local
427 i82875p_get_error_info(mci, &discard); /* clear counters */ in i82875p_probe1()
Di82975x_edac.c470 struct i82975x_error_info discard; in i82975x_probe1() local
557 i82975x_get_error_info(mci, &discard); /* clear counters */ in i82975x_probe1()
De7xxx_edac.c412 struct e7xxx_error_info discard; in e7xxx_probe1() local
465 e7xxx_get_error_info(mci, &discard); in e7xxx_probe1()
/drivers/media/video/gspca/
Djeilinj.c366 goto discard; in sd_pkt_scan()
391 goto discard; in sd_pkt_scan()
393 discard: in sd_pkt_scan()
Dov534.c1363 goto discard; in sd_pkt_scan()
1369 goto discard; in sd_pkt_scan()
1375 goto discard; in sd_pkt_scan()
1397 goto discard; in sd_pkt_scan()
1411 discard: in sd_pkt_scan()
Dov534_9.c1491 goto discard; in sd_pkt_scan()
1497 goto discard; in sd_pkt_scan()
1503 goto discard; in sd_pkt_scan()
1533 discard: in sd_pkt_scan()
/drivers/gpu/drm/radeon/
Dradeon_ioc32.c209 int discard; /* Client finished with buffer? */ member
228 || __put_user(req32.discard, &request->discard) in compat_radeon_cp_vertex2()
/drivers/net/wireless/prism54/
Dislpci_eth.c318 int discard = 0; in islpci_eth_receive() local
377 discard = islpci_monitor_rx(priv, &skb); in islpci_eth_receive()
414 if (unlikely(discard)) { in islpci_eth_receive()
/drivers/block/
Dxen-blkfront.c310 ring_req->u.discard.nr_sectors = blk_rq_sectors(req); in blkif_queue_request()
312 ring_req->u.discard.flag = BLKIF_DISCARD_SECURE; in blkif_queue_request()
314 ring_req->u.discard.flag = 0; in blkif_queue_request()
1191 int barrier, flush, discard; in blkfront_connect() local
1263 "feature-discard", "%d", &discard, in blkfront_connect()
1266 if (!err && discard) in blkfront_connect()
/drivers/net/wireless/
Dwl3501_cs.c1379 wstats->discard.code += value; in wl3501_get_wireless_stats()
1382 wstats->discard.code += value; in wl3501_get_wireless_stats()
1385 wstats->discard.code += value; in wl3501_get_wireless_stats()
1388 wstats->discard.retries = value; in wl3501_get_wireless_stats()
1391 wstats->discard.misc += value; in wl3501_get_wireless_stats()
1394 wstats->discard.misc += value; in wl3501_get_wireless_stats()
1397 wstats->discard.misc += value; in wl3501_get_wireless_stats()
1400 wstats->discard.misc += value; in wl3501_get_wireless_stats()
/drivers/staging/wlags49_h2/
Dwl_wext.c3289 pStats->discard.nwid = 0L; in wl_wireless_stats()
3290 pStats->discard.code = tallies.RxWEPUndecryptable; in wl_wireless_stats()
3291 pStats->discard.misc = tallies.TxDiscards + in wl_wireless_stats()
3296 pStats->discard.retries = tallies.TxRetryLimitExceeded; in wl_wireless_stats()
3297 pStats->discard.fragment = tallies.RxMsgInBadMsgFragments; in wl_wireless_stats()
3299 memset( &( pStats->discard ), 0, sizeof( pStats->discard )); in wl_wireless_stats()
3302 memset( &( pStats->discard ), 0, sizeof( pStats->discard )); in wl_wireless_stats()
/drivers/staging/android/
DKconfig25 because it can discard shared memory units when under memory pressure.
/drivers/net/wireless/orinoco/
Dmain.c891 wstats->discard.code++; in __orinoco_ev_rx()
1458 wstats->discard.code += in __orinoco_ev_info()
1461 wstats->discard.code += in __orinoco_ev_info()
1464 wstats->discard.misc += in __orinoco_ev_info()
1466 wstats->discard.fragment += in __orinoco_ev_info()
1468 wstats->discard.retries += in __orinoco_ev_info()
/drivers/staging/zram/
Dzram.txt53 discard
/drivers/gpu/drm/i810/
Di810_dma.c711 struct drm_buf *buf, int discard, int used) in i810_dma_dispatch_vertex() argument
771 if (discard) { in i810_dma_dispatch_vertex()
939 vertex->idx, vertex->used, vertex->discard); in i810_dma_vertex()
946 vertex->discard, vertex->used); in i810_dma_vertex()
/drivers/mtd/
Dmtd_blkdevs.c98 return tr->discard(dev, block, nsect); in do_blktrans_request()
433 if (tr->discard) { in add_mtd_blktrans_dev()

123