Home
last modified time | relevance | path

Searched refs:holder (Results 1 – 25 of 61) 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()
43 * - from "slaves" directory of the holder @disk to the claimed @bdev
44 * - from "holders" directory of the @bdev to the 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 in bd_link_disk_holder()
140 struct bd_holder_disk *holder; bd_unlink_disk_holder() local
[all...]
H A Dbdev.c532 * @holder: holder trying to claim @bdev
533 * @hops: holder ops
535 * Test whether @bdev can be claimed by @holder.
540 static bool bd_may_claim(struct block_device *bdev, void *holder, in bd_may_claim() argument
549 * The same holder can always re-claim. in bd_may_claim()
551 if (bdev->bd_holder == holder) { in bd_may_claim()
560 * If the whole devices holder is set to bd_may_claim, a partition on in bd_may_claim()
572 * @holder: holder tryin
582 bd_prepare_to_claim(struct block_device * bdev,void * holder,const struct blk_holder_ops * hops) bd_prepare_to_claim() argument
616 bd_clear_claiming(struct block_device * whole,void * holder) bd_clear_claiming() argument
634 bd_finish_claiming(struct block_device * bdev,void * holder,const struct blk_holder_ops * hops) bd_finish_claiming() argument
665 bd_abort_claiming(struct block_device * bdev,void * holder) bd_abort_claiming() argument
673 bd_end_claim(struct block_device * bdev,void * holder) bd_end_claim() argument
782 bdev_permission(dev_t dev,blk_mode_t mode,void * holder) bdev_permission() argument
926 bdev_open(struct block_device * bdev,blk_mode_t mode,void * holder,const struct blk_holder_ops * hops,struct file * bdev_file) bdev_open() argument
1034 bdev_file_open_by_dev(dev_t dev,blk_mode_t mode,void * holder,const struct blk_holder_ops * hops) bdev_file_open_by_dev() argument
1071 bdev_file_open_by_path(const char * path,blk_mode_t mode,void * holder,const struct blk_holder_ops * hops) bdev_file_open_by_path() argument
1097 void *holder = bdev_file->private_data; bd_yield_claim() local
1111 void *holder = bdev_file->private_data; bdev_release() local
[all...]
H A DMakefile38 obj-$(CONFIG_BLOCK_HOLDER_DEPRECATED) += holder.o
/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 in nvmet_pr_update_reg_attr()
421 struct nvmet_pr_registrant *holder; nvmet_pr_acquire() local
538 struct nvmet_pr_registrant *holder; nvmet_pr_preempt() local
706 struct nvmet_pr_registrant *holder; nvmet_pr_release() local
812 struct nvmet_pr_registrant *holder; nvmet_execute_pr_report() local
937 struct nvmet_pr_registrant *holder; nvmet_pr_check_cmd_access() local
[all...]
/linux/tools/bpf/bpftool/
H A 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 in prep_prog_info()
[all...]
/linux/drivers/dax/
H A Dsuper.c25 * @holder_data: holder of a dax_device: could be filesystem or mapped device
26 * @holder_ops: operations for the inner holder
78 * @holder: filesystem or mapped device inside the dax_device
79 * @ops: operations for the inner holder
82 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, NUL in fs_put_dax()
[all...]
/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/
H A Ddm-bio-prison-v1.c88 struct bio *holder, in __setup_new_cell() argument
92 cell->holder = holder; in __setup_new_cell()
211 if (cell->holder) in __cell_release()
212 bio_list_add(inmates, cell->holder); in __cell_release()
230 * Sometimes we don't want the holder, just the additional bios.
H A Ddm-bio-prison-v1.h56 struct bio *holder; member
84 * Returns 1 if the cell was already held, 0 if @inmate is the new holder.
H A Ddm-thin.c877 * This sends the bios in the cell, except the original holder, back
1026 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()
1660 m->bio = virt_cell->holder; in process_discard_cell_no_passdown()
1747 struct bio *bio = virt_cell->holder; in process_discard_cell_passdown()
1957 struct bio *bio = cell->holder; in process_cell()
2084 __process_bio_read_only(tc, cell->holder, cell); in process_cell_read_only()
2245 BUG_ON(!lhs_cell->holder); in cmp_cells()
2246 BUG_ON(!rhs_cell->holder); in cmp_cells()
2248 if (lhs_cell->holder in cmp_cells()
[all...]
/linux/include/linux/
H A Ddax.h42 * notify_failure - notify memory failure into inner holder device
43 * @dax_dev: the dax device which contains the holder
132 void *holder, const struct dax_holder_operations *ops);
133 void fs_put_dax(struct dax_device *dax_dev, void *holder);
143 u64 *start_off, void *holder, in fs_dax_get_by_bdev() argument
148 static inline void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax() argument
H A Dblkdev.h1758 * For filesystems using @fs_holder_ops, the @holder argument passed to
1772 struct file *bdev_file_open_by_dev(dev_t dev, blk_mode_t mode, void *holder,
1775 void *holder, const struct blk_holder_ops *hops);
1776 int bd_prepare_to_claim(struct block_device *bdev, void *holder,
1778 void bd_abort_claiming(struct block_device *bdev, void *holder);
/linux/drivers/md/dm-vdo/
H A Dphysical-zone.c79 * The lock holder count is cleared and the caller is responsible for setting the new count.
88 "PBN write lock should have one holder but has %u", in vdo_downgrade_pbn_write_lock()
92 * If this was a compressed write, the holder has not yet journaled its own inc ref, in vdo_downgrade_pbn_write_lock()
615 struct pbn_lock *holder; in vdo_release_physical_zone_pbn_lock() local
629 holder = vdo_int_map_remove(zone->pbn_operations, locked_pbn); in vdo_release_physical_zone_pbn_lock()
630 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/drivers/md/bcache/
H A Dsuper.c2482 void *holder; member
2493 args->holder) < 0) in register_bdev_worker()
2514 args->holder)) in register_cache_worker()
2552 void *holder = NULL; in register_bcache() local
2592 holder = alloc_holder_object(sb); in register_bcache()
2593 if (!holder) { in register_bcache()
2599 /* Now reopen in exclusive mode with proper holder */ in register_bcache()
2601 BLK_OPEN_READ | BLK_OPEN_WRITE, holder, NULL); in register_bcache()
2642 args->holder = holder; in register_bcache()
[all...]
/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 */
/linux/arch/powerpc/boot/dts/fsl/
H A Dt1042si-post.dtsi37 /* Place holder for ethernet related device tree nodes */
/linux/LICENSES/preferred/
H A DBSD-3-Clause22 3. Neither the name of the copyright holder nor the names of its
/linux/Documentation/filesystems/
H A 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 fo
[all...]
/linux/fs/bcachefs/
H A Dsuper-io.c180 kfree(sb->holder); in bch2_free_super()
799 sb->holder = kzalloc(sizeof(*sb->holder), GFP_KERNEL); in __bch2_read_super()
800 if (!sb->holder) in __bch2_read_super()
821 sb->s_bdev_file = bdev_file_open_by_path(path, sb->mode, sb->holder, &bch2_sb_handle_bdev_ops); in __bch2_read_super()
827 sb->s_bdev_file = bdev_file_open_by_path(path, sb->mode, sb->holder, &bch2_sb_handle_bdev_ops); in __bch2_read_super()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-remove-bufs.rst67 - A place holder for future extensions. Drivers and applications
/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
/linux/drivers/net/ethernet/
H A Djme.h382 #define JME_NAPI_HOLDER(holder) struct napi_struct *holder argument

123