mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 01:24:39 +08:00
913bd4179b
Up until now the module iterator called void callback functions and so caller activating callback that may fail suffered from 2 issues: 1. The need to "plant" return called in the private data. This is a drawback since the iterator itself should not be aware of the private data of the caller. 2. Due to 1 even in a failure the iterator would keep iterating instead of break upon error. To overcome this an optional rc field added to the iterator context. Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> |
||
---|---|---|
.. | ||
mmu | ||
pci | ||
asid.c | ||
command_buffer.c | ||
command_submission.c | ||
context.c | ||
debugfs.c | ||
decoder.c | ||
device.c | ||
firmware_if.c | ||
habanalabs_drv.c | ||
habanalabs_ioctl.c | ||
habanalabs.h | ||
hw_queue.c | ||
hwmon.c | ||
irq.c | ||
Makefile | ||
memory_mgr.c | ||
memory.c | ||
security.c | ||
state_dump.c | ||
sysfs.c |