函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partition-generic.c Create Date:2022-07-27 18:56:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:disk_unlock_native_capacity

函数原型:static bool disk_unlock_native_capacity(struct gendisk *disk)

返回类型:bool

参数:

类型参数名称
struct gendisk *disk
449  bdops等于fops
451  如果unlock_native_capacity且非flags按位与GENHD_FL_NATIVE_CAPACITY的值则
453  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
454  unlock_native_capacity(disk)
455  flags或等于GENHD_FL_NATIVE_CAPACITY
456  返回:true
457  否则
458  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
459  返回:false
调用者
名称描述
blk_add_partition
blk_add_partitions