Movatterモバイル変換


[0]ホーム

URL:


disk_replace_part_tbl
Prev Chapter 14. Block Devices Next

Name

disk_replace_part_tbl — replace disk->part_tbl in RCU-safe way

Synopsis

voiddisk_replace_part_tbl(struct gendisk *disk,
 struct disk_part_tbl *new_ptbl);
 

Arguments

struct gendisk * disk

disk to replace part_tbl for

struct disk_part_tbl * new_ptbl

new part_tbl to install

Description

Replace disk->part_tbl withnew_ptbl in RCU-safe way. The original ptbl is freed using RCU callback.

LOCKING: Matching bd_mutx locked.


Prev Up Next
blk_free_devt Home disk_expand_part_tbl

[8]ページ先頭

©2009-2025 Movatter.jp