Movatterモバイル変換


[0]ホーム

URL:


blk_alloc_devt
Prev Chapter 14. Block Devices Next

Name

blk_alloc_devt — allocate a dev_t for a partition

Synopsis

intblk_alloc_devt(struct hd_struct *part,
 dev_t *devt);
 

Arguments

struct hd_struct * part

partition to allocate dev_t for

dev_t * devt

out parameter for resulting dev_t

Description

Allocate a dev_t for block device.

Return

0 on success, allocated dev_t is returned in *devt. -errno on failure.

Context

Might sleep.


Prev Up Next
blk_mangle_minor Home blk_free_devt

[8]ページ先頭

©2009-2025 Movatter.jp