函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:irq_domain_update_bus_token

函数原型:void irq_domain_update_bus_token(struct irq_domain *domain, enum irq_domain_bus_token bus_token)

返回类型:void

参数:

类型参数名称
struct irq_domain *domain
enum irq_domain_bus_tokenbus_token
274  如果bus_token恒等于bus_token则返回
277  mutex_lock( & irq_domain_mutex)
279  bus_token等于bus_token
281  name等于kasprintf(GFP_KERNEL, "%s-%d", 硬件中断对象名, bus_token)
282  如果非name
283  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
284  返回
287  debugfs_remove_domain_dir(domain)
289  如果flags按位与IRQ_DOMAIN_NAME_ALLOCATED释放内存
291  否则flags或等于IRQ_DOMAIN_NAME_ALLOCATED
294  硬件中断对象名等于name
295  debugfs_add_domain_dir(domain)
297  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.