Home
last modified time | relevance | path

Searched refs:holder (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v6.6/block/
Dholder.c14 struct bd_holder_disk *holder; in bd_find_holder_disk() local
16 list_for_each_entry(holder, &disk->slave_bdevs, list) in bd_find_holder_disk()
17 if (holder->holder_dir == bdev->bd_holder_dir) in bd_find_holder_disk()
18 return holder; in bd_find_holder_disk()
62 struct bd_holder_disk *holder; in bd_link_disk_holder() local
86 holder = bd_find_holder_disk(bdev, disk); in bd_link_disk_holder()
87 if (holder) { in bd_link_disk_holder()
89 holder->refcnt++; in bd_link_disk_holder()
93 holder = kzalloc(sizeof(*holder), GFP_KERNEL); in bd_link_disk_holder()
94 if (!holder) { in bd_link_disk_holder()
[all …]
Dbdev.c458 static bool bd_may_claim(struct block_device *bdev, void *holder, in bd_may_claim() argument
469 if (bdev->bd_holder == holder) { in bd_may_claim()
500 int bd_prepare_to_claim(struct block_device *bdev, void *holder, in bd_prepare_to_claim() argument
505 if (WARN_ON_ONCE(!holder)) in bd_prepare_to_claim()
510 if (!bd_may_claim(bdev, holder, hops)) { in bd_prepare_to_claim()
528 whole->bd_claiming = holder; in bd_prepare_to_claim()
534 static void bd_clear_claiming(struct block_device *whole, void *holder) in bd_clear_claiming() argument
538 BUG_ON(whole->bd_claiming != holder); in bd_clear_claiming()
552 static void bd_finish_claiming(struct block_device *bdev, void *holder, in bd_finish_claiming() argument
558 BUG_ON(!bd_may_claim(bdev, holder, hops)); in bd_finish_claiming()
[all …]
DMakefile42 obj-$(CONFIG_BLOCK_HOLDER_DEPRECATED) += holder.o
/Linux-v6.6/tools/bpf/bpftool/
Dprog.c92 struct bpf_prog_info holder = {}; in prep_prog_info() local
97 holder.jited_prog_len = info->jited_prog_len; in prep_prog_info()
100 holder.xlated_prog_len = info->xlated_prog_len; in prep_prog_info()
104 holder.nr_jited_ksyms = info->nr_jited_ksyms; in prep_prog_info()
107 holder.nr_jited_func_lens = info->nr_jited_func_lens; in prep_prog_info()
110 holder.nr_func_info = info->nr_func_info; in prep_prog_info()
111 holder.func_info_rec_size = info->func_info_rec_size; in prep_prog_info()
114 holder.nr_line_info = info->nr_line_info; in prep_prog_info()
115 holder.line_info_rec_size = info->line_info_rec_size; in prep_prog_info()
118 holder.nr_jited_line_info = info->nr_jited_line_info; in prep_prog_info()
[all …]
/Linux-v6.6/drivers/dax/
Dsuper.c82 void *holder, const struct dax_holder_operations *ops) in fs_dax_get_by_bdev() argument
102 else if (holder) { in fs_dax_get_by_bdev()
103 if (!cmpxchg(&dax_dev->holder_data, NULL, holder)) in fs_dax_get_by_bdev()
114 void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax() argument
116 if (dax_dev && holder && in fs_put_dax()
117 cmpxchg(&dax_dev->holder_data, holder, NULL) == holder) in fs_put_dax()
/Linux-v6.6/Documentation/process/
Dkernel-enforcement-statement.rst27 from a particular copyright holder is reinstated (a) provisionally,
28 unless and until the copyright holder explicitly and finally
29 terminates your license, and (b) permanently, if the copyright holder
33 Moreover, your license from a particular copyright holder is
34 reinstated permanently if the copyright holder notifies you of the
37 copyright holder, and you cure the violation prior to 30 days after
/Linux-v6.6/drivers/md/
Ddm-bio-prison-v1.c88 struct bio *holder, in __setup_new_cell() argument
92 cell->holder = holder; in __setup_new_cell()
220 if (cell->holder) in __cell_release()
221 bio_list_add(inmates, cell->holder); in __cell_release()
299 cell->holder = bio_list_pop(&cell->bios); in __promote_or_release()
Ddm-bio-prison-v1.h56 struct bio *holder; member
Ddm-thin.c1029 inc_all_io_entry(tc->pool, m->cell->holder); in process_prepared_mapping()
1030 remap_and_issue(tc, m->cell->holder, m->data_block); in process_prepared_mapping()
1662 m->bio = virt_cell->holder; in process_discard_cell_no_passdown()
1749 struct bio *bio = virt_cell->holder; in process_discard_cell_passdown()
1959 struct bio *bio = cell->holder; in process_cell()
2086 __process_bio_read_only(tc, cell->holder, cell); in process_cell_read_only()
2247 BUG_ON(!lhs_cell->holder); in cmp_cells()
2248 BUG_ON(!rhs_cell->holder); in cmp_cells()
2250 if (lhs_cell->holder->bi_iter.bi_sector < rhs_cell->holder->bi_iter.bi_sector) in cmp_cells()
2253 if (lhs_cell->holder->bi_iter.bi_sector > rhs_cell->holder->bi_iter.bi_sector) in cmp_cells()
[all …]
/Linux-v6.6/include/linux/
Ddax.h135 void *holder, const struct dax_holder_operations *ops);
136 void fs_put_dax(struct dax_device *dax_dev, void *holder);
146 u64 *start_off, void *holder, in fs_dax_get_by_bdev() argument
151 static inline void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax() argument
Dblkdev.h1482 struct block_device *blkdev_get_by_dev(dev_t dev, blk_mode_t mode, void *holder,
1485 void *holder, const struct blk_holder_ops *hops);
1486 int bd_prepare_to_claim(struct block_device *bdev, void *holder,
1488 void bd_abort_claiming(struct block_device *bdev, void *holder);
1489 void blkdev_put(struct block_device *bdev, void *holder);
/Linux-v6.6/drivers/ipack/carriers/
Dtpci200.h118 struct ipack_device *holder; member
/Linux-v6.6/fs/btrfs/
Dvolumes.h98 void *holder; member
613 blk_mode_t flags, void *holder);
632 struct block_device **bdev, void **holder);
Dvolumes.c513 btrfs_get_bdev_and_sb(const char *device_path, blk_mode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
519 *bdev = blkdev_get_by_path(device_path, flags, holder, NULL); in btrfs_get_bdev_and_sb()
530 blkdev_put(*bdev, holder); in btrfs_get_bdev_and_sb()
537 blkdev_put(*bdev, holder); in btrfs_get_bdev_and_sb()
614 void *holder) in btrfs_open_one_device() argument
626 ret = btrfs_get_bdev_and_sb(device->name->str, flags, holder, 1, in btrfs_open_one_device()
665 device->holder = holder; in btrfs_open_one_device()
679 blkdev_put(bdev, holder); in btrfs_open_one_device()
1072 blkdev_put(device->bdev, device->holder); in __btrfs_free_extra_devids()
1118 blkdev_put(device->bdev, device->holder); in btrfs_close_bdev()
[all …]
/Linux-v6.6/Documentation/block/
Dpr.rst47 holder if you want to use this type.
54 holder if you want to use this type.
/Linux-v6.6/drivers/md/bcache/
Dsuper.c2449 void *holder; member
2459 if (register_bdev(args->sb, args->sb_disk, args->bdev, args->holder) in register_bdev_worker()
2480 if (register_cache(args->sb, args->sb_disk, args->bdev, args->holder)) in register_cache_worker()
2518 void *holder = NULL; in register_bcache() local
2562 holder = alloc_holder_object(sb); in register_bcache()
2563 if (!holder) { in register_bcache()
2571 holder, NULL); in register_bcache()
2612 args->holder = holder; in register_bcache()
2620 ret = register_bdev(sb, sb_disk, bdev, holder); in register_bcache()
2627 ret = register_cache(sb, sb_disk, bdev, holder); in register_bcache()
[all …]
/Linux-v6.6/arch/arm64/boot/dts/nvidia/
Dtegra194-p3509-0000.dtsi35 /* Place holder for external Codec */
61 /* Place holder for external Codec */
580 /* Place holder for external Codec */
605 /* Place holder for external Codec */
630 /* Place holder for external Codec */
655 /* Place holder for external Codec */
680 /* Place holder for external Codec */
Dtegra186-p2771-0000.dts688 /* Place holder for external Codec */
713 /* Place holder for external Codec */
738 /* Place holder for external Codec */
763 /* Place holder for external Codec */
788 /* Place holder for external Codec */
/Linux-v6.6/Documentation/filesystems/
Dcoda.rst511 char *name; /* Place holder for data. */
673 char *name; /* Place holder for data. */
734 char *name; /* Place holder for data. */
780 char *tname; /* Place holder for data. */
847 char *name; /* Place holder for data. */
879 char *name; /* Place holder for data. */
916 caddr_t data; /* Place holder for data. */
1026 char *data; /* Place holder for data. */
1036 caddr_t data; /* Place holder for data. */
1105 caddr_t data; /* Place holder for data. */
[all …]
/Linux-v6.6/LICENSES/preferred/
DBSD-3-Clause22 3. Neither the name of the copyright holder nor the names of its
/Linux-v6.6/arch/powerpc/boot/dts/fsl/
Dt1042si-post.dtsi37 /* Place holder for ethernet related device tree nodes */
/Linux-v6.6/Documentation/locking/
Dlockdep-design.rst425 recursive readers get blocked only by a write lock *holder*, while non-recursive
624 And then because we have L1 -> L2, so the holder of L1 is going to acquire L2
628 the L2 in L2 -> L3, is writer (blocking anyone), therefore the holder of L1
629 cannot get L2, it has to wait L2's holder to release.
631 Moreover, we can have a similar conclusion for L2's holder: it has to wait L3's
632 holder to release, and so on. We now can prove that Lx's holder has to wait for
633 Lx+1's holder to release, and note that Ln+1 is L1, so we have a circular
Dspinlocks.rst133 for the lock, and the lock-holder is interrupted by the interrupt and will
139 CPU that holds the lock, so the lock-holder can continue and eventually
/Linux-v6.6/drivers/net/ethernet/
Djme.h382 #define JME_NAPI_HOLDER(holder) struct napi_struct *holder argument
/Linux-v6.6/tools/lib/perf/Documentation/
Dlibperf-counting.txt110 Now we create libperf's event list, which will serve as holder for the events we want:

123