Movatterモバイル変換


[0]ホーム

URL:


disk_expand_part_tbl
Prev Chapter 14. Block Devices Next

Name

disk_expand_part_tbl — expand disk->part_tbl

Synopsis

intdisk_expand_part_tbl(struct gendisk *disk,
 intpartno);
 

Arguments

struct gendisk * disk

disk to expand part_tbl for

int partno

expand such that this partno can fit in

Description

Expand disk->part_tbl such thatpartno can fit in. disk->part_tbl uses RCU to allow unlocked dereferencing for stats and other stuff.

LOCKING: Matching bd_mutex locked, might sleep.

Return

0 on success, -errno on failure.


Prev Up Next
disk_replace_part_tbl Home disk_block_events

[8]ページ先頭

©2009-2025 Movatter.jp