/drivers/block/xen-blkback/ |
D | common.h | 90 struct blkif_x86_32_request_discard discard; member 134 struct blkif_x86_64_request_discard discard; member 289 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_32_req() 290 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_32_req() 291 dst->u.discard.sector_number = src->u.discard.sector_number; in blkif_get_x86_32_req() 292 dst->u.discard.nr_sectors = src->u.discard.nr_sectors; in blkif_get_x86_32_req() 325 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_64_req() 326 dst->u.discard.id = src->u.discard.id; in blkif_get_x86_64_req() 327 dst->u.discard.sector_number = src->u.discard.sector_number; in blkif_get_x86_64_req() 328 dst->u.discard.nr_sectors = src->u.discard.nr_sectors; in blkif_get_x86_64_req()
|
D | blkback.c | 655 (req->u.discard.flag & BLKIF_DISCARD_SECURE)) ? in dispatch_discard_io() 658 err = blkdev_issue_discard(bdev, req->u.discard.sector_number, in dispatch_discard_io() 659 req->u.discard.nr_sectors, in dispatch_discard_io() 668 make_response(blkif, req->u.discard.id, req->operation, status); in dispatch_discard_io()
|
/drivers/md/bcache/ |
D | alloc.c | 123 struct discard { struct 135 struct discard *d = container_of(w, struct discard, work); in discard_finish() argument 142 d->ca->discard = 0; in discard_finish() 161 struct discard *d = container_of(bio, struct discard, bio); in discard_endio() 167 struct discard *d = list_first_entry(&ca->discards, in do_discard() 168 struct discard, list); in do_discard() 409 if (ca->discard) { in bch_allocator_thread() 557 struct discard *d; in bch_cache_allocator_exit() 560 d = list_first_entry(&ca->discards, struct discard, list); in bch_cache_allocator_exit() 589 struct discard *d = kzalloc(sizeof(*d), GFP_KERNEL); in bch_cache_allocator_init()
|
D | sysfs.c | 84 rw_attribute(discard); 645 sysfs_print(discard, ca->discard); in SHOW() 741 ca->discard = v; in STORE()
|
/drivers/gpu/drm/r128/ |
D | r128_state.c | 610 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() 1353 DRM_CURRENTPID, vertex->idx, vertex->count, vertex->discard); in r128_cce_vertex() 1384 buf_priv->discard = vertex->discard; in r128_cce_vertex() 1406 elts->idx, elts->start, elts->end, elts->discard); in r128_cce_indices() 1449 buf_priv->discard = elts->discard; in r128_cce_indices() 1555 indirect->discard); in r128_cce_indirect() 1586 buf_priv->discard = indirect->discard; in r128_cce_indirect()
|
/drivers/media/platform/soc_camera/ |
D | mx2_camera.c | 222 bool discard; member 250 struct list_head discard; member 710 pcdev->buf_discard[0].discard = true; in mx2_start_streaming() 712 &pcdev->discard); in mx2_start_streaming() 714 pcdev->buf_discard[1].discard = true; in mx2_start_streaming() 716 &pcdev->discard); in mx2_start_streaming() 770 INIT_LIST_HEAD(&pcdev->discard); in mx2_stop_streaming() 1309 if (ibuf->discard) { in mx27_camera_frame_done_emma() 1314 list_move_tail(pcdev->active_bufs.next, &pcdev->discard); in mx27_camera_frame_done_emma() 1353 if (list_empty(&pcdev->discard)) { in mx27_camera_frame_done_emma() [all …]
|
/drivers/gpu/drm/mga/ |
D | mga_state.c | 659 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/md/ |
D | dm-cache-metadata.c | 731 dm_dblock_t dblock, bool discard) in __discard() argument 735 r = (discard ? __set_discard : __clear_discard)(cmd, dblock); in __discard() 744 dm_dblock_t dblock, bool discard) in dm_cache_set_discard() argument 749 r = __discard(cmd, dblock, discard); in dm_cache_set_discard() 760 bool discard; in __load_discards() local 766 r = __is_discarded(cmd, dblock, &discard); in __load_discards() 770 discard = false; in __load_discards() 772 r = fn(context, cmd->discard_block_size, dblock, discard); in __load_discards()
|
D | dm-cache-metadata.h | 82 int dm_cache_set_discard(struct dm_cache_metadata *cmd, dm_dblock_t dblock, bool discard);
|
/drivers/net/ppp/ |
D | ppp_mppe.c | 110 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/media/usb/gspca/ |
D | jeilinj.c | 284 goto discard; in sd_pkt_scan() 309 goto discard; in sd_pkt_scan() 311 discard: in sd_pkt_scan()
|
D | ov534_9.c | 1329 goto discard; in sd_pkt_scan() 1335 goto discard; in sd_pkt_scan() 1341 goto discard; in sd_pkt_scan() 1371 discard: in sd_pkt_scan()
|
D | ov534.c | 1414 goto discard; in sd_pkt_scan() 1420 goto discard; in sd_pkt_scan() 1426 goto discard; in sd_pkt_scan() 1448 goto discard; in sd_pkt_scan() 1462 discard: in sd_pkt_scan()
|
/drivers/edac/ |
D | amd76x_edac.c | 242 struct amd76x_error_info discard; in amd76x_probe1() local 273 amd76x_get_error_info(mci, &discard); /* clear counters */ in amd76x_probe1()
|
D | r82600_edac.c | 278 struct r82600_error_info discard; in r82600_probe1() local 325 r82600_get_error_info(mci, &discard); /* clear counters */ in r82600_probe1()
|
D | i82860_edac.c | 190 struct i82860_error_info discard; in i82860_probe1() local 225 i82860_get_error_info(mci, &discard); /* clear counters */ in i82860_probe1()
|
D | i82875p_edac.c | 405 struct i82875p_error_info discard; in i82875p_probe1() local 444 i82875p_get_error_info(mci, &discard); /* clear counters */ in i82875p_probe1()
|
D | e7xxx_edac.c | 430 struct e7xxx_error_info discard; in e7xxx_probe1() local 496 e7xxx_get_error_info(mci, &discard); in e7xxx_probe1()
|
D | i82975x_edac.c | 481 struct i82975x_error_info discard; in i82975x_probe1() local 573 i82975x_get_error_info(mci, &discard); /* clear counters */ in i82975x_probe1()
|
/drivers/gpu/drm/radeon/ |
D | radeon_ioc32.c | 208 int discard; /* Client finished with buffer? */ member 227 || __put_user(req32.discard, &request->discard) in compat_radeon_cp_vertex2()
|
/drivers/net/wireless/prism54/ |
D | islpci_eth.c | 318 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/staging/csr/ |
D | monitor.c | 357 priv->wext_conf.wireless_stats.discard.misc++; in ma_sniffdata_ind() 364 priv->wext_conf.wireless_stats.discard.misc++; in ma_sniffdata_ind()
|
/drivers/net/wireless/ |
D | wl3501_cs.c | 1379 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/block/ |
D | xen-blkfront.c | 418 ring_req->u.discard.nr_sectors = blk_rq_sectors(req); in blkif_queue_request() 420 ring_req->u.discard.flag = BLKIF_DISCARD_SECURE; in blkif_queue_request() 422 ring_req->u.discard.flag = 0; in blkif_queue_request() 1400 int barrier, flush, discard, persistent; in blkfront_connect() local 1472 "feature-discard", "%d", &discard, in blkfront_connect() 1475 if (!err && discard) in blkfront_connect()
|
/drivers/staging/wlags49_h2/ |
D | wl_wext.c | 3288 pStats->discard.nwid = 0L; in wl_wireless_stats() 3289 pStats->discard.code = tallies.RxWEPUndecryptable; in wl_wireless_stats() 3290 pStats->discard.misc = tallies.TxDiscards + in wl_wireless_stats() 3295 pStats->discard.retries = tallies.TxRetryLimitExceeded; in wl_wireless_stats() 3296 pStats->discard.fragment = tallies.RxMsgInBadMsgFragments; in wl_wireless_stats() 3298 memset( &( pStats->discard ), 0, sizeof( pStats->discard )); in wl_wireless_stats() 3301 memset( &( pStats->discard ), 0, sizeof( pStats->discard )); in wl_wireless_stats()
|