Home
last modified time | relevance | path

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

123

/linux/block/
H A Dholder.c16 struct bd_holder_disk *holder; in bd_find_holder_disk() local
18 list_for_each_entry(holder, &disk->slave_bdevs, list) in bd_find_holder_disk()
19 if (holder->holder_dir == bdev->bd_holder_dir) in bd_find_holder_disk()
20 return holder; in bd_find_holder_disk()
64 struct bd_holder_disk *holder; in bd_link_disk_holder() local
88 holder = bd_find_holder_disk(bdev, disk); in bd_link_disk_holder()
89 if (holder) { in bd_link_disk_holder()
91 holder->refcnt++; in bd_link_disk_holder()
95 holder = kzalloc(sizeof(*holder), GFP_KERNEL); in bd_link_disk_holder()
96 if (!holder) { in bd_link_disk_holder()
[all …]
H A Dbdev.c557 static bool bd_may_claim(struct block_device *bdev, void *holder, in bd_may_claim() argument
568 if (bdev->bd_holder == holder) { in bd_may_claim()
599 int bd_prepare_to_claim(struct block_device *bdev, void *holder, in bd_prepare_to_claim() argument
604 if (WARN_ON_ONCE(!holder)) in bd_prepare_to_claim()
609 if (!bd_may_claim(bdev, holder, hops)) { in bd_prepare_to_claim()
627 whole->bd_claiming = holder; in bd_prepare_to_claim()
633 static void bd_clear_claiming(struct block_device *whole, void *holder) in bd_clear_claiming() argument
637 BUG_ON(whole->bd_claiming != holder); in bd_clear_claiming()
651 static void bd_finish_claiming(struct block_device *bdev, void *holder, in bd_finish_claiming() argument
657 BUG_ON(!bd_may_claim(bdev, holder, hops)); in bd_finish_claiming()
[all …]
/linux/drivers/nvme/target/
H A Dpr.c221 rcu_assign_pointer(pr->holder, reg); in nvmet_pr_set_new_holder()
261 struct nvmet_pr_registrant *holder; in nvmet_pr_unregister_one() local
266 holder = rcu_dereference_protected(pr->holder, 1); in nvmet_pr_unregister_one()
267 if (reg != holder) in nvmet_pr_unregister_one()
270 original_rtype = holder->rtype; in nvmet_pr_unregister_one()
277 rcu_assign_pointer(pr->holder, first_reg); in nvmet_pr_unregister_one()
279 rcu_assign_pointer(pr->holder, NULL); in nvmet_pr_unregister_one()
325 struct nvmet_pr_registrant *holder; in nvmet_pr_update_reg_attr() local
328 holder = rcu_dereference_protected(pr->holder, 1); in nvmet_pr_update_reg_attr()
329 if (reg != holder) { in nvmet_pr_update_reg_attr()
[all …]
/linux/drivers/dax/
H A 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/Documentation/process/
H A 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/drivers/md/dm-vdo/
H A Dphysical-zone.c616 struct pbn_lock *holder; in vdo_release_physical_zone_pbn_lock() local
630 holder = vdo_int_map_remove(zone->pbn_operations, locked_pbn); in vdo_release_physical_zone_pbn_lock()
631 VDO_ASSERT_LOG_ONLY((lock == holder), "physical block lock mismatch for block %llu", in vdo_release_physical_zone_pbn_lock()
/linux/drivers/ipack/carriers/
H A Dtpci200.h118 struct ipack_device *holder; member
/linux/Documentation/block/
H A Dpr.rst47 holder if you want to use this type.
54 holder if you want to use this type.
/linux/arch/arm64/boot/dts/nvidia/
H A 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 */
H A 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 */
H A Dtegra194-p2972-0000.dts66 /* Place holder for external Codec */
92 /* Place holder for external Codec */
118 /* Place holder for external Codec */
635 /* Place holder for external Codec */
H A Dtegra186-p3509-0000+p3636-0001.dts136 /* Place holder for external Codec */
161 /* Place holder for external Codec */
/linux/drivers/md/
H A Ddm-thin.c1026 inc_all_io_entry(tc->pool, m->cell->holder); in process_prepared_mapping()
1027 remap_and_issue(tc, m->cell->holder, m->data_block); in process_prepared_mapping()
1658 m->bio = virt_cell->holder; in process_discard_cell_no_passdown()
1745 struct bio *bio = virt_cell->holder; in process_discard_cell_passdown()
1955 struct bio *bio = cell->holder; in process_cell()
2082 __process_bio_read_only(tc, cell->holder, cell); in process_cell_read_only()
2243 BUG_ON(!lhs_cell->holder); in cmp_cells()
2244 BUG_ON(!rhs_cell->holder); in cmp_cells()
2246 if (lhs_cell->holder->bi_iter.bi_sector < rhs_cell->holder->bi_iter.bi_sector) in cmp_cells()
2249 if (lhs_cell->holder->bi_iter.bi_sector > rhs_cell->holder->bi_iter.bi_sector) in cmp_cells()
[all …]
/linux/LICENSES/preferred/
H A DBSD-3-Clause22 3. Neither the name of the copyright holder nor the names of its
/linux/arch/powerpc/boot/dts/fsl/
H A Dt1042si-post.dtsi37 /* Place holder for ethernet related device tree nodes */
/linux/Documentation/locking/
H A 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
H A 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
H A Dlockstat.rst147 contended points (the lock holder). It is possible that the max
/linux/drivers/target/
H A Dtarget_core_iblock.c99 void *holder = ib_dev; in iblock_configure_device() local
123 holder = NULL; in iblock_configure_device()
125 bdev_file = bdev_file_open_by_path(ib_dev->ibd_udev_path, mode, holder, in iblock_configure_device()
/linux/drivers/net/ethernet/
H A Djme.h382 #define JME_NAPI_HOLDER(holder) struct napi_struct *holder argument
/linux/tools/lib/perf/Documentation/
H A Dlibperf-counting.txt110 Now we create libperf's event list, which will serve as holder for the events we want:
H A Dlibperf-sampling.txt107 Now we create libperf's event list, which will serve as holder for the cycles event:
/linux/Documentation/filesystems/
H A Dporting.rst983 The holder of a block device is now the superblock.
985 The holder of a block device used to be the file_system_type which wasn't
992 umount(2) relied on the file_system_type as the holder. This was severely
1011 Because the holder of the block device was the file_system_type any concurrent
1016 Making the superblock the owner of the block device changes this as the holder
1019 see EBUSY when trying to open a block device whose holder was a different
1130 Block device freezing and thawing have been moved to holder operations.
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-create-bufs.rst126 - A place holder for future extensions. Drivers and applications
H A Dvidioc-g-fmt.rst135 - Place holder for future extensions.

123