Languages
33 code results in torvalds/linux
C
drivers/md/dm-rq.h
Showing the top two matches
Last indexed Sep 14, 2017
C
block/bounce.c
Showing the top three matches
Last indexed Dec 21, 2017
C
include/linux/bio.h
Showing the top four matches
Last indexed Dec 21, 2017
| 383 | return bio_split(bio, sectors, gfp, bs); |
| 384 | } |
| 385 | |
| 386 | extern struct bio_set *bioset_create(unsigned int, unsigned int, int flags); |
| 387 | enum { |
| 388 | BIOSET_NEED_BVECS = BIT(0), |
| 389 | BIOSET_NEED_RESCUER = BIT(1), |
| 390 | }; |
| 391 | extern void bioset_free(struct bio_set *); |
| 392 | extern mempool_t *biovec_create_pool(int pool_entries); |
C
fs/xfs/xfs_aops.h
Showing the top match
Last indexed Sep 12, 2017
C
block/bio.c
Showing the top match
Last indexed Dec 21, 2017
| 294 | * After calling bio_reset(), @bio will be in the same state as a freshly |
| 295 | * allocated bio returned bio bio_alloc_bioset() - the only fields that are |
| 296 | * preserved are the ones that are initialized by bio_alloc_bioset(). See |
| 297 | * comment in struct bio. |
| 298 | */ |
| 299 | void bio_reset(struct bio *bio) |
C
drivers/target/target_core_iblock.c
Showing the top three matches
Last indexed Sep 7, 2017
C
drivers/md/dm-io.c
Showing the top four matches
Last indexed Sep 7, 2017
C
block/bio-integrity.c
Showing the top two matches
Last indexed Nov 15, 2017
| 288 | printk(KERN_ERR "could not allocate data integrity bioset\n"); |
| 289 | kfree(buf); |
| 290 | status = BLK_STS_RESOURCE; |
| … | |
| 467 | int bioset_integrity_create(struct bio_set *bs, int pool_size) |
| 468 | { |
| 469 | if (bs->bio_integrity_pool) |
| 470 | return 0; |
| 471 | |
| 472 | bs->bio_integrity_pool = mempool_create_slab_pool(pool_size, bip_slab); |
C
fs/xfs/xfs_super.c
Showing the top three matches
Last indexed Dec 22, 2017
| 66 | struct bio_set *xfs_ioend_bioset; |
| 67 | |
| 68 | static struct kset *xfs_kset; /* top-level xfs sysfs dir */ |
| 69 | #ifdef DEBUG |
| 70 | static struct xfs_kobj xfs_dbg_kobj; /* global debug sysfs attrs */ |
| … | |
| 1799 | MODULE_ALIAS_FS("xfs"); |
| 1800 | |
| 1801 | STATIC int __init |
| 1802 | xfs_init_zones(void) |
| 1803 | { |
| 1804 | xfs_ioend_bioset = bioset_create(4 * MAX_BUF_PER_PAGE, |
C
fs/btrfs/extent_io.c
Showing the top three matches
Last indexed Nov 29, 2017