Home
last modified time | relevance | path

Searched refs:holder (Results 1 – 25 of 60) 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_obj(*holder); in bd_link_disk_holder()
96 if (!holder) { in bd_link_disk_holder()
[all …]
H A Dbdev.c577 * @holder: holder trying to claim @bdev
578 * @hops: holder ops
580 * Test whether @bdev can be claimed by @holder.
585 static bool bd_may_claim(struct block_device *bdev, void *holder, in bd_may_claim() argument
594 * The same holder can always re-claim. in bd_may_claim()
596 if (bdev->bd_holder == holder) { in bd_may_claim()
605 * If the whole devices holder is set to bd_may_claim, a partition on in bd_may_claim()
617 * @holder: holder tryin
627 bd_prepare_to_claim(struct block_device * bdev,void * holder,const struct blk_holder_ops * hops) bd_prepare_to_claim() argument
661 bd_clear_claiming(struct block_device * whole,void * holder) bd_clear_claiming() argument
679 bd_finish_claiming(struct block_device * bdev,void * holder,const struct blk_holder_ops * hops) bd_finish_claiming() argument
710 bd_abort_claiming(struct block_device * bdev,void * holder) bd_abort_claiming() argument
718 bd_end_claim(struct block_device * bdev,void * holder) bd_end_claim() argument
827 bdev_permission(dev_t dev,blk_mode_t mode,void * holder) bdev_permission() argument
971 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
1079 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
1116 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
1142 void *holder = bdev_file->private_data; bd_yield_claim() local
1156 void *holder = bdev_file->private_data; bdev_release() local
[all...]
/linux/drivers/nvme/target/
H A Dpr.c231 rcu_assign_pointer(pr->holder, reg); in nvmet_pr_register()
271 struct nvmet_pr_registrant *holder; in nvmet_pr_unregister_one()
276 holder = rcu_dereference_protected(pr->holder, 1); in nvmet_pr_unregister_one()
277 if (reg != holder) in nvmet_pr_unregister_one()
280 original_rtype = holder->rtype; in nvmet_pr_unregister_one()
287 rcu_assign_pointer(pr->holder, first_reg); in nvmet_pr_unregister_one()
289 rcu_assign_pointer(pr->holder, NULL); in nvmet_pr_unregister_one()
335 struct nvmet_pr_registrant *holder; in nvmet_pr_update_reg_attr()
338 holder in nvmet_pr_update_reg_attr()
265 struct nvmet_pr_registrant *holder; nvmet_pr_unregister_one() local
329 struct nvmet_pr_registrant *holder; nvmet_pr_update_reg_attr() local
448 struct nvmet_pr_registrant *holder; nvmet_pr_acquire() local
565 struct nvmet_pr_registrant *holder; nvmet_pr_preempt() local
733 struct nvmet_pr_registrant *holder; nvmet_pr_release() local
839 struct nvmet_pr_registrant *holder; nvmet_execute_pr_report() local
964 struct nvmet_pr_registrant *holder; nvmet_pr_check_cmd_access() local
[all...]
H A Ddebugfs.c203 struct nvmet_pr_registrant *holder, *reg; in nvmet_ns_pr_show() local
215 holder = rcu_dereference(pr->holder); in nvmet_ns_pr_show()
216 if (holder) { in nvmet_ns_pr_show()
218 nvmet_pr_type_to_str(holder->rtype)); in nvmet_ns_pr_show()
220 &holder->hostid, holder->rkey); in nvmet_ns_pr_show()
/linux/tools/testing/selftests/filesystems/mount_cycle/
H A Dloop_cycle_test.c775 enum holder { enum
1323 static int holder_let_go_once(enum holder holder) in holder_let_go_once() argument
1327 switch (holder) { in holder_let_go_once()
1364 static int holder_child(int to_parent, int from_parent, enum holder holder) in holder_child() argument
1366 bool fifo = holder == HOLDER_AUTOFS || holder == HOLDER_ZRAM; in holder_child()
1368 bool big = holder == HOLDER_ZLOOP || holder == HOLDER_GADGET; in holder_child()
1394 switch (holder) { in holder_child()
1433 for (int i = 0; i < 50 && holder_let_go_once(holder); i++) in holder_child()
1435 if (holder == HOLDER_GADGET) in holder_child()
1447 static void holder_let_go(enum holder holder) in holder_let_go() argument
[all …]
/linux/drivers/dax/
H A Dsuper.c26 * @holder_data: holder of a dax_device: could be filesystem or mapped device
27 * @holder_ops: operations for the inner holder
79 * @holder: filesystem or mapped device inside the dax_device
80 * @ops: operations for the inner holder
83 void *holder, const struct dax_holder_operations *ops) in fs_dax_get_by_bdev() argument
103 else if (holder) { in fs_dax_get_by_bdev()
104 if (!cmpxchg(&dax_dev->holder_data, NULL, holder)) in fs_dax_get_by_bdev()
120 * fs_put_dax() - release holder ownership of a dax_device
122 * @holder: the holder pointe
130 fs_put_dax(struct dax_device * dax_dev,void * holder) fs_put_dax() argument
177 fs_dax_get(struct dax_device * dax_dev,void * holder,const struct dax_holder_operations * hops) fs_dax_get() argument
[all...]
/linux/include/linux/
H A Ddax.h40 * notify_failure - notify memory failure into inner holder device
41 * @dax_dev: the dax device which contains the holder
130 void *holder, const struct dax_holder_operations *ops);
140 u64 *start_off, void *holder, in dax_remove_host()
148 void fs_put_dax(struct dax_device *dax_dev, void *holder);
149 int fs_dax_get(struct dax_device *dax_dev, void *holder,
162 static inline void fs_put_dax(struct dax_device *dax_dev, void *holder)
166 static inline int fs_dax_get(struct dax_device *dax_dev, void *holder, in fs_put_dax()
143 fs_dax_get_by_bdev(struct block_device * bdev,u64 * start_off,void * holder,const struct dax_holder_operations * ops) fs_dax_get_by_bdev() argument
165 fs_put_dax(struct dax_device * dax_dev,void * holder) fs_put_dax() argument
169 fs_dax_get(struct dax_device * dax_dev,void * holder,const struct dax_holder_operations * hops) fs_dax_get() argument
H A Dblkdev.h1698 struct file *bdev_file_open_by_dev(dev_t dev, blk_mode_t mode, void *holder,
1701 void *holder, const struct blk_holder_ops *hops);
1702 int bd_prepare_to_claim(struct block_device *bdev, void *holder,
1704 void bd_abort_claiming(struct block_device *bdev, void *holder);
/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()
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()
1658 m->bio = virt_cell->holder; in process_discard_cell_no_passdown()
1746 struct bio *bio = virt_cell->holder; in process_discard_cell_passdown()
1956 struct bio *bio = cell->holder; in process_cell()
2083 __process_bio_read_only(tc, cell->holder, cell); in process_cell_read_only()
2244 BUG_ON(!lhs_cell->holder); in cmp_cells()
2245 BUG_ON(!rhs_cell->holder); in cmp_cells()
2247 if (lhs_cell->holder in cmp_cells()
[all...]
/linux/tools/sched_ext/
H A DKconfig19 # LAVD tracks futex to give an additional time slice for futex holder
20 # (i.e., avoiding lock holder preemption) for better system-wide progress.
/linux/fs/lockd/
H A Dsvcproc.c293 struct nlm_holder *holder = &resp->xdrgen.test_stat.u.holder; in nlmsvc_proc_test() local
295 holder->exclusive = (conf->fl.c.flc_type != F_RDLCK); in nlmsvc_proc_test()
296 holder->uppid = conf->svid; in nlmsvc_proc_test()
297 holder->oh.len = conf->oh.len; in nlmsvc_proc_test()
298 holder->oh.data = conf->oh.data; in nlmsvc_proc_test()
299 holder->l_offset = min_t(loff_t, conf->fl.fl_start, in nlmsvc_proc_test()
302 holder->l_len = 0; in nlmsvc_proc_test()
304 holder->l_len = min_t(loff_t, in nlmsvc_proc_test()
H A Dsvc4proc.c276 struct nlm4_holder *holder = &resp->xdrgen.stat.u.holder; in nlm4svc_proc_test() local
278 holder->exclusive = (conf->fl.c.flc_type != F_RDLCK); in nlm4svc_proc_test()
279 holder->svid = conf->svid; in nlm4svc_proc_test()
280 holder->oh.len = conf->oh.len; in nlm4svc_proc_test()
281 holder->oh.data = conf->oh.data; in nlm4svc_proc_test()
282 holder->l_offset = conf->fl.fl_start; in nlm4svc_proc_test()
284 holder->l_len = 0; in nlm4svc_proc_test()
286 holder->l_len = conf->fl.fl_end - conf->fl.fl_start + 1; in nlm4svc_proc_test()
H A Dnlm3xdr_gen.c81 if (!xdrgen_decode_nlm_holder(xdr, &ptr->u.holder)) in xdrgen_decode_nlm_testrply()
471 if (!xdrgen_encode_nlm_holder(xdr, &ptr->u.holder)) in xdrgen_encode_nlm_testrply()
H A Dnlm4xdr_gen.c134 if (!xdrgen_decode_nlm4_holder(xdr, &ptr->u.holder)) in xdrgen_decode_nlm4_testrply()
518 if (!xdrgen_encode_nlm4_holder(xdr, &ptr->u.holder)) in xdrgen_encode_nlm4_testrply()
/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/include/linux/sunrpc/xdrgen/
H A Dnlm3.h50 struct nlm_holder holder; member
H A Dnlm4.h74 struct nlm4_holder holder; member
/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
/linux/drivers/target/
H A Dtarget_core_iblock.c98 void *holder = ib_dev; in iblock_configure_device() local
122 holder = NULL; in iblock_configure_device()
124 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

123