freebsd-dev/sys/compat/linuxkpi/common/include/linux
Emmanuel Vadot 93d70cd3fe linuxkpi: Add __same_type and __must_be_array macros
The same_type macro simply wraps around builtin_types_compatible_p which
exist for both GCC and CLANG, which returns 1 if both types are the same.
The __must_be_array macros returns 1 if the argument is an array.

This is needed for DRM v5.3

Sponsored-by: The FreeBSD Foundation
Reviewed by:	hselasky
Differential Revision:	https://reviews.freebsd.org/D24953
2020-05-25 12:42:55 +00:00
..
atomic.h LinuxKPI: Include asm/atomic-long.h from atomic.h. 2019-05-15 17:44:25 +00:00
bitmap.h linuxkpi: Really add bitmap_alloc and bitmap_zalloc 2020-05-10 13:12:05 +00:00
bitops.h Allow test_bit() in the LinuxKPI to accept a const pointer. 2020-04-20 13:47:15 +00:00
bottom_half.h
cache.h
cdev.h linuxkpi: Remove extraneous NULL check on M_WAITOK allocation 2019-01-01 19:56:49 +00:00
clocksource.h
compat.h lkpi: allow late binding of linux_alloc_current 2019-02-22 23:15:32 +00:00
compiler.h linuxkpi: Add __same_type and __must_be_array macros 2020-05-25 12:42:55 +00:00
completion.h Correct macroname in the LinuxKPI. 2018-05-31 12:55:38 +00:00
dcache.h Refactor dentry structure into its own header file in the LinuxKPI similary 2018-02-18 08:29:25 +00:00
debugfs.h import linux debugfs support 2019-02-23 20:56:41 +00:00
delay.h Use mstosbt() instead of SBT_1MS in the LinuxKPI to get the last few bits 2018-03-03 19:26:40 +00:00
device.h Enable device class group attributes in the LinuxKPI. 2019-11-04 14:19:09 +00:00
dma-attrs.h Properly define the DMA attribute values in the LinuxKPI. 2019-03-13 17:51:08 +00:00
dma-mapping.h LinuxKPI should use bus_dma(9) to be compatible with an IOMMU 2019-04-24 20:30:45 +00:00
dmapool.h Make the dma_pool structure private to the LinuxKPI similar to Linux. 2019-04-30 09:38:22 +00:00
err.h Allow the ERR_CAST() function in the LinuxKPI to take a const void pointer. 2020-04-20 13:36:01 +00:00
errno.h linuxkpi: Add EBADRQC to errno.h 2020-05-13 07:49:12 +00:00
etherdevice.h Replace read_random(9) with more appropriate arc4rand(9) KPIs 2019-04-04 01:02:50 +00:00
export.h Move the EXPORT_SYMBOL_XXX() function macros into own header file. 2018-06-07 11:34:59 +00:00
file.h fd: remove the seq argument from fget_unlocked 2020-02-03 22:27:55 +00:00
fs.h linuxkpi: Move shmem related functions in it's own file 2020-02-21 09:28:45 +00:00
gfp.h Add necessary bits for Linux KPI to work correctly on powerpc 2019-08-04 19:28:10 +00:00
hardirq.h
hrtimer.h Improve high resolution timer support in the LinuxKPI. 2018-06-01 11:33:14 +00:00
idr.h Resolve duplicate symbol name conflict after r345095, when building LINT. 2019-03-13 19:53:20 +00:00
if_arp.h
if_ether.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
if_vlan.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
in6.h
in.h
inetdevice.h Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
interrupt.h Fix broken DECLARE_TASKLET() macro after r347852. 2019-09-11 07:53:49 +00:00
io-mapping.h
io.h Use DEVICE memory instead of UNCACHEABLE on aarch64 in ioremap() in the LinuxKPI. 2019-09-02 08:34:45 +00:00
ioctl.h
irq_work.h linuxkpi: Add irq_work.h 2020-05-19 09:04:35 +00:00
irqreturn.h Move the IRQ_RETVAL() and irqreturn definitions to irqreturn.h in the 2018-02-17 20:37:21 +00:00
jhash.h
jiffies.h Extend the range of the return value from nsecs_to_jiffies64() to support 2020-02-27 15:21:05 +00:00
kdev_t.h
kernel.h linuxkpi: Add offsetofend macro 2020-05-17 20:14:49 +00:00
kmod.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
kobject.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
kref.h Add support for kref_read() function in the LinuxKPI. 2018-02-17 20:56:35 +00:00
kthread.h
ktime.h LinuxKPI: Expand ktime functionality. 2019-05-15 16:59:04 +00:00
list.h linuxkpi: Add list_is_first function 2020-02-20 17:19:16 +00:00
lockdep.h Implement more lockdep macros in the LinuxKPI. 2020-05-01 10:18:07 +00:00
log2.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
math64.h Implement DIV64_U64_ROUND_UP() in the LinuxKPI. 2020-05-01 10:25:07 +00:00
miscdevice.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
mm_types.h Implement mmget_not_zero() in the LinuxKPI. 2020-01-24 13:05:53 +00:00
mm.h Remove set_page_dirty_lock(). 2020-01-02 19:29:14 +00:00
module.h Move the EXPORT_SYMBOL_XXX() function macros into own header file. 2018-06-07 11:34:59 +00:00
moduleparam.h Stub kernel_param_lock() and kernel_param_unlock() in the LinuxKPI. 2018-03-04 19:10:30 +00:00
mutex.h linuxkpi: Add __mutex_init 2020-05-17 20:12:16 +00:00
net_dim.h Add support for Dynamic Interrupt Moderation, DIM, in mlx5en(4). 2019-05-08 10:23:33 +00:00
net.h
netdevice.h Fix missing epochification of the LinuxKPI after r353292. 2019-10-15 11:14:14 +00:00
notifier.h
page.h
pci.h linuxkpi: add pci_dev_present 2020-05-19 08:44:33 +00:00
pfn_t.h
pfn.h
pid.h Implement get_task_pid() function macro in the LinuxKPI. 2018-02-17 22:33:26 +00:00
poll.h
preempt.h LinuxKPI: Add in_task macro. 2019-05-16 21:07:37 +00:00
printk.h Implement print_hex_dump_debug() function macro in the LinuxKPI. 2019-05-06 16:10:26 +00:00
radix-tree.h Implement radix_tree_iter_delete() in the LinuxKPI. 2018-06-01 11:42:09 +00:00
random.h linuxkpi: Add prandom_u32_max 2020-05-23 17:52:25 +00:00
rbtree.h
rculist.h LinuxKPI: Additions to rcu list. 2019-06-21 18:48:07 +00:00
rcupdate.h Clone the RCU interface into a sleepable and a non-sleepable part 2020-04-08 17:09:45 +00:00
rwlock.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
rwsem.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
scatterlist.h Optimise use of sg_page_count() in __sg_page_iter_next() in the LinuxKPI. 2020-05-04 10:10:07 +00:00
sched.h LinuxKPI: Add group_leader member to struct task_struct. 2019-05-16 17:53:36 +00:00
semaphore.h
seq_file.h LinuxKPI: Finalize import of seq_file. 2019-05-16 21:17:18 +00:00
shmem_fs.h linuxkpi: Move shmem related functions in it's own file 2020-02-21 09:28:45 +00:00
slab.h Implement more malloc function macros in the LinuxKPI. 2019-03-13 19:17:52 +00:00
smp.h
socket.h
spinlock.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
srcu.h Implement synchronize_srcu_expedited() in the LinuxKPI. 2020-05-16 14:27:50 +00:00
string.h linuxkpi: Add str_has_prefix 2020-02-20 17:20:50 +00:00
swap.h linuxkpi: Use pageproc instead of vmproc 2018-11-21 04:34:18 +00:00
sysfs.h Enable device class group attributes in the LinuxKPI. 2019-11-04 14:19:09 +00:00
time.h Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
timer.h LinuxKPI: Let del_timer return a value to match Linux. 2019-05-14 23:12:14 +00:00
types.h Implement aligned LinuxKPI types for u16, u32 and u64. 2020-04-20 14:03:05 +00:00
uaccess.h LinuxKPI: Update access_ok macro for v5.0. 2019-05-16 17:44:17 +00:00
usb.h linuxkpi whitespace cleanup 2018-03-23 15:50:01 +00:00
vmalloc.h
wait.h linuxkpi: Add __init_waitqueue_head 2020-05-19 08:43:17 +00:00
workqueue.h linuxkpi: Add rcu_work functions 2020-05-21 20:18:38 +00:00
ww_mutex.h LinuxKPI: Add context member to ww_mutex and bump FreeBSD version. 2019-05-14 23:21:20 +00:00