| /linux/block/ |
| H A D | holder.c | 16 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 D | bdev.c | 585 static bool bd_may_claim(struct block_device *bdev, void *holder, in bd_may_claim() argument 596 if (bdev->bd_holder == holder) { in bd_may_claim() 627 int bd_prepare_to_claim(struct block_device *bdev, void *holder, in bd_prepare_to_claim() argument 632 if (WARN_ON_ONCE(!holder)) in bd_prepare_to_claim() 637 if (!bd_may_claim(bdev, holder, hops)) { in bd_prepare_to_claim() 655 whole->bd_claiming = holder; in bd_prepare_to_claim() 661 static void bd_clear_claiming(struct block_device *whole, void *holder) in bd_clear_claiming() argument 665 BUG_ON(whole->bd_claiming != holder); in bd_clear_claiming() 679 static void bd_finish_claiming(struct block_device *bdev, void *holder, in bd_finish_claiming() argument 685 BUG_ON(!bd_may_claim(bdev, holder, hops)); in bd_finish_claiming() [all …]
|
| H A D | blk.h | 749 int bdev_open(struct block_device *bdev, blk_mode_t mode, void *holder, 751 int bdev_permission(dev_t dev, blk_mode_t mode, void *holder);
|
| /linux/drivers/nvme/target/ |
| H A D | pr.c | 221 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 …]
|
| H A D | debugfs.c | 203 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/drivers/dax/ |
| H A D | super.c | 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() 130 void fs_put_dax(struct dax_device *dax_dev, void *holder) in fs_put_dax() argument 132 if (dax_dev && holder) { in fs_put_dax() 144 prev = cmpxchg(&dax_dev->holder_data, holder, NULL); in fs_put_dax() 158 WARN_ON(prev && prev != holder); in fs_put_dax() 177 int fs_dax_get(struct dax_device *dax_dev, void *holder, in fs_dax_get() argument 212 if (cmpxchg(&dax_dev->holder_data, NULL, holder)) { in fs_dax_get()
|
| /linux/Documentation/process/ |
| H A D | kernel-enforcement-statement.rst | 27 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 D | dm-bio-prison-v1.c | 88 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 D | dm-thin.c | 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() 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/tools/sched_ext/ |
| H A D | Kconfig | 19 # 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 D | svcproc.c | 293 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 D | svc4proc.c | 276 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 D | nlm3xdr_gen.c | 81 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 D | nlm4xdr_gen.c | 134 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 D | pr.rst | 47 holder if you want to use this type. 54 holder if you want to use this type.
|
| /linux/include/linux/sunrpc/xdrgen/ |
| H A D | nlm3.h | 50 struct nlm_holder holder; member
|
| H A D | nlm4.h | 74 struct nlm4_holder holder; member
|
| /linux/LICENSES/preferred/ |
| H A D | BSD-3-Clause | 22 3. Neither the name of the copyright holder nor the names of its
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | t1042si-post.dtsi | 37 /* Place holder for ethernet related device tree nodes */
|
| /linux/Documentation/locking/ |
| H A D | lockdep-design.rst | 425 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 D | spinlocks.rst | 133 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/include/linux/ |
| H A D | blkdev.h | 1695 struct file *bdev_file_open_by_dev(dev_t dev, blk_mode_t mode, void *holder, 1698 void *holder, const struct blk_holder_ops *hops); 1699 int bd_prepare_to_claim(struct block_device *bdev, void *holder, 1701 void bd_abort_claiming(struct block_device *bdev, void *holder);
|
| /linux/drivers/target/ |
| H A D | target_core_iblock.c | 98 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 D | jme.h | 382 #define JME_NAPI_HOLDER(holder) struct napi_struct *holder argument
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra186-p2771-0000.dts | 688 /* 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 */
|