opnsense-src/sys/compat/linuxkpi/common/include/linux
Bjoern A. Zeeb 08bc2cc4c4 LinuxKPI: cast jiffies_to_msecs() result
jiffies_to_msecs() is expected to return an uint_t.  In order to avoid
changing printf format strings, properly cast the result to the
expected type.

Sponsored by:	The FreeBSD Foundation
MFC after:	10 days
Reviewed by:	hselasky
Differential Revision: https://reviews.freebsd.org/D40486
2023-06-26 07:54:24 +00:00
..
sched linuxkpi: Add memalloc_noreclaim_save() and memalloc_noreclaim_restore() 2023-01-16 19:27:16 +01:00
soc LinuxKPI: qcom: update QMI and MHI 2023-06-10 23:06:04 +00:00
acpi.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
agp_backend.h linuxkpi: Add linux/agp_backend.h 2023-04-04 11:49:48 +02:00
anon_inodes.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
atomic.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
average.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
backlight.h linuxkpi: Define backlight_get_brightness() and backlight_is_blank() 2023-02-13 22:09:26 +01:00
bcd.h LinuxKPI: make bcd.h use libkern 2021-11-18 23:10:34 +00:00
bitfield.h linuxkpi: Define FIELD_FIT() 2023-02-13 22:09:31 +01:00
bitmap.h LinuxKPI: Fix building on 32bit archs 2023-04-22 13:25:49 +03:00
bitops.h LinuxKPI: add __ffs64() 2022-02-14 00:12:09 +00:00
bottom_half.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
bsearch.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
cache.h LinuxKPI: cache.h add L1_CACHE_ALIGN() 2022-09-22 15:10:04 +00:00
capability.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
cc_platform.h linuxkpi: Add <linux/cc_platform.h> 2023-02-14 23:07:19 +01:00
cdev.h linuxkpi: Move cdev_alloc into .c file 2022-04-04 23:05:59 -06:00
circ_buf.h linuxkpi: Add circ_buf.h 2022-06-29 09:54:45 +02:00
clocksource.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
compat.h linuxkpi: Add compat_ptr and ptr_to_compat 2022-08-08 15:22:35 +02:00
compiler.h LinuxKPI: fix WRITE_ONCE(), remove ACCESS_ONCE() 2023-05-21 23:14:05 +00:00
completion.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
console.h linuxkpi: Add console.h 2022-06-29 09:54:49 +02:00
cpu.h LinuxKPI: implement cpumask_of() 2022-11-08 18:11:55 +00:00
crc32.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
dcache.h linuxkpi: drm-kmod debugfs support 2022-09-20 19:41:10 +02:00
debugfs.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
delay.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
devcoredump.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
device.h linuxkpi: Add devm_add_action and devm_add_action_or_reset 2023-03-28 09:19:05 +02:00
dma-attrs.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
dma-buf-map.h linuxkpi: Add <linux/dma-buf-map.h> 2022-11-11 18:40:57 +01:00
dma-mapping.h linuxkpi: Fix style for dma_map_sgtable 2022-12-06 16:52:16 +01:00
dmapool.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
dmi.h LinuxKPI: add struct dmi_header and unsupported dmi_walk() 2022-09-26 19:40:49 +00:00
efi.h LinuxKPI: in efi.h include queue.h 2022-11-15 23:08:05 +00:00
err.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
errno.h linuxkpi: Define ENOKEY to 126. 2023-01-25 22:49:53 +01:00
etherdevice.h LinuxKPI: add eth_random_addr() and device_get_mac_address() 2022-02-14 00:17:14 +00:00
ethtool.h LinuxKPI: ethtool.h add more definitions 2022-11-28 17:25:58 +00:00
eventpoll.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
export.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
file.h fd: make fget_unlocked take a thread argument 2022-02-11 12:29:26 +00:00
firmware.h LinuxKPI: firmware: add request_partial_firmware_into_buf() 2022-09-07 23:33:45 +00:00
fs.h LinuxKPI: add a no-op generic_file_llseek() 2022-11-28 17:14:10 +00:00
fwnode.h linuxkpi: Declare struct fwnode_handle in <linux/fwnode.h> 2023-02-14 23:01:06 +01:00
gcd.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
gfp.h linuxkpi: Define GFP_NOFS in linux/gfp.h 2023-01-16 19:11:52 +01:00
hardirq.h linuxkpi: Define synchronize_hardirq() 2023-01-25 22:26:53 +01:00
hash.h LinuxKPI: Implement linux/hashtable.h for FreeBSD. 2022-05-12 16:32:47 +02:00
hashtable.h LinuxKPI: Implement linux/hashtable.h for FreeBSD. 2022-05-12 16:32:47 +02:00
hdmi.h linuxkpi: Add hdmi helpers 2023-03-28 09:11:06 +02:00
highmem.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
hrtimer.h linuxkpi: Define hrtimer_try_to_cancel() 2023-01-18 23:02:24 +01:00
i2c-algo-bit.h linuxkpi: Add i2c support 2022-01-25 16:15:39 +01:00
i2c.h linuxkpi: Add i2c_adapter_quirks support 2023-02-13 22:09:31 +01:00
idr.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
ieee80211.h LinuxKPI: 802.11: minor header updates 2022-11-28 21:21:06 +00:00
if_arp.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
if_ether.h LinuxKPI: ethtool.h add more definitions 2022-11-28 17:25:58 +00:00
if_vlan.h linuxkpi: Migrate to IfAPI 2023-04-24 09:54:22 -04:00
in.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
in6.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
inetdevice.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
interrupt.h linuxkpi: Define IRQ_NOTCONNECTED 2023-02-13 22:09:32 +01:00
interval_tree.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
interval_tree_generic.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
io-64-nonatomic-lo-hi.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
io-mapping.h linuxkpi: Add io_mapping_map_local_wc() and io_mapping_unmap_local() 2023-01-30 23:09:38 +01:00
io.h LinuxKPI: add devm_ioremap() 2023-06-08 18:07:28 +00:00
ioctl.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
iommu.h linuxkpi: Add <linux/iommu.h> 2023-03-20 21:47:36 +01:00
iopoll.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
ip.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
irq_work.h linuxkpi: Update struct irq_work 2022-11-11 18:32:58 +01:00
irqreturn.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
jhash.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
jiffies.h LinuxKPI: cast jiffies_to_msecs() result 2023-06-26 07:54:24 +00:00
jump_label.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
kconfig.h linuxkpi: Move IS_ENABLED() and friends to <linux/kconfig.h> 2023-02-15 00:06:32 +01:00
kdev_t.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
kernel.h LinuxKPI: Appease -Wunused-but-set-variable warnings from GCC. 2023-03-31 10:56:33 -07:00
kfifo.h LinuxKPI: extend kfifo to be usable 2022-08-18 20:26:20 +00:00
kmemleak.h linuxkpi: Add kmemleak.h 2022-06-29 09:54:57 +02:00
kmod.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
kobject.h linuxkpi: Add default_groups field to struct kobj_type 2023-03-20 21:47:35 +01:00
kref.h kref: switch internal type to atomic_t and bring back const to kref_read 2022-12-13 20:46:58 +00:00
kthread.h LinuxKPI: Implement kthread_worker related functions 2022-05-17 15:10:20 +03:00
ktime.h LinuxKPI: add ktime_get_real_ts64() 2023-06-08 17:58:32 +00:00
leds.h LinuxKPI: add linux/leds.h 2022-11-07 12:52:41 +00:00
list.h linuxkpi: Move definition of struct list_head to <linux/types.h> 2023-02-13 22:09:31 +01:00
llist.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
lockdep.h linuxkpi: Define lockdep_assert{,_once}() 2023-02-13 22:09:32 +01:00
log2.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
math64.h linuxkpi: math.h: Add mul_u64_u32_div and mul_u64_u32_shr 2022-08-08 15:22:34 +02:00
media-bus-format.h linuxkpi: Add media-bus-format.h 2022-06-29 09:55:00 +02:00
mhi.h LinuxKPI: qcom: update QMI and MHI 2023-06-10 23:06:04 +00:00
miscdevice.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
mm.h linuxkpi: Define totalram_pages() 2023-02-14 23:01:06 +01:00
mm_types.h linuxkpi: Add mmap_lock.h 2022-02-17 09:31:51 +01:00
mman.h linuxkpi: Add <linux/mman.h> which includes <linux/smp.h> 2022-11-11 20:57:46 +01:00
mmap_lock.h linuxkpi: Add mmap_lock.h 2022-02-17 09:31:51 +01:00
mmu_context.h linuxkpi: Add mmu_context.h 2022-06-29 09:55:04 +02:00
mmu_notifier.h linuxkpi: Add mmu_notifier.h 2022-06-29 09:55:08 +02:00
mmzone.h linuxkpi: Add <linux/mmzone.h> 2022-11-11 18:39:48 +01:00
mod_devicetable.h linuxkpi: Include linux/types.h in linux/mod_devicetable.h 2023-04-04 10:48:28 +02:00
module.h LinuxKPI: add MODULE_IMPORT_NS() 2022-02-24 19:59:25 +00:00
moduleparam.h linuxkpi: Introduce module_param() of type bint 2022-12-01 15:03:00 +01:00
mutex.h linuxkpi: Include <linux/list.h> and <linux/kernel.h> from <linux/mutex.h> 2022-11-11 20:59:40 +01:00
net.h protosw: refactor protosw and domain static declaration and load 2022-08-17 11:50:32 -07:00
net_dim.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
netdev_features.h LinuxKPI: add NETIF_F_HW_CSUM to netdev_features.h 2022-02-14 00:22:24 +00:00
netdevice.h LinuxKPI: netdevice: add dev_set_threaded() 2023-05-20 00:56:41 +00:00
nl80211.h LinuxKPI: 802.11: minor header updates 2022-11-28 21:21:06 +00:00
nospec.h linuxkpi: Add linux/nospec.h 2022-08-08 15:22:35 +02:00
notifier.h linuxkpi: Add more notifier defines 2022-08-08 15:22:35 +02:00
numa.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
overflow.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
page-flags.h linuxkpi: Add <linux/page-flags.h> 2022-11-11 20:56:42 +01:00
page.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
pagemap.h linuxkpi: Include <linux/vmalloc.h> from <linux/pagemap.h> 2023-01-25 22:50:52 +01:00
pagevec.h linuxkpi: Add pagevec implementation 2022-08-08 15:22:35 +02:00
pci.h LinuxKPI: pci: update struct msi_desc 2023-06-08 18:04:35 +00:00
pci_ids.h LinuxKPI: pci_ids.h Add more Vendor IDs. 2022-09-22 15:10:03 +00:00
pfn.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
pfn_t.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
pid.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
platform_device.h linuxkpi: advance platform_device 2023-06-13 09:49:01 +02:00
pm.h LinuxKPI: pm.h: add dummy pm_wakeup_event() 2023-02-05 20:43:46 +00:00
pm_qos.h LinuxKPI: Add cpu_latency_qos_request_active stub to linux/pm_qos.h 2022-05-17 15:10:20 +03:00
pm_runtime.h linuxkpi: Add pm_runtime_suspended() 2023-01-25 22:26:53 +01:00
poison.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
poll.h linuxkpi: Add EPOLL aliases 2022-09-20 19:39:52 +02:00
power_supply.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
preempt.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
prefetch.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
printk.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
ptp_clock_kernel.h LinuxKPI: add ptp_clock_kernel.h 2023-05-16 21:26:40 +00:00
pwm.h linuxkpi: Add pwm.h 2022-06-29 09:55:26 +02:00
qrtr.h ath10k: ath11k: add specific LinuxKPI support 2023-04-23 21:31:07 +00:00
radix-tree.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
random.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
ratelimit.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
rbtree.h rb_tree: pass parent to RB_INSERT_COLOR 2022-09-13 01:11:47 -05:00
rculist.h linuxkpi: Add list_for_each_entry_from_rcu() in <linux/rculist.h> 2022-11-11 18:42:10 +01:00
rcupdate.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
reboot.h linuxkpi: Add orderly_poweroff 2022-02-17 09:31:25 +01:00
refcount.h linuxkpi: Add refcount_dec_and_test 2022-08-18 09:46:25 +02:00
rhashtable.h LinuxKPI: add dummy rhashtable implementation 2023-06-08 18:11:11 +00:00
rwlock.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
rwsem.h linuxkpi: Add down_read_killable() 2022-09-20 19:39:32 +02:00
scatterlist.h linuxkpi: Fix __sg_alloc_table_from_pages loop 2023-04-21 09:56:50 +02:00
sched.h linuxkpi: Include linux/sched/mm.h from linux/sched.h 2023-01-27 21:53:44 +01:00
semaphore.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
seq_file.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
seqlock.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
shmem_fs.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
shrinker.h linuxkpi: Add synchronize_shrinkers() 2023-02-14 23:01:06 +01:00
sizes.h linuxkpi: Adds more SZ_* macros 2023-01-25 22:50:07 +01:00
skbuff.h LinuxKPI: skbuff: add napi_build_skb() and skb_mark_for_recycle() 2023-05-23 23:18:35 +00:00
slab.h linuxkpi: Support non-NULL zero-size pointers 2023-03-20 21:47:36 +01:00
smp.h linuxkpi: Add <linux/mman.h> which includes <linux/smp.h> 2022-11-11 20:57:46 +01:00
socket.h LinuxKPI: add dummy hash.h and kernel_connect() 2023-05-12 11:21:10 +00:00
sort.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
spinlock.h LinuxKPI: Appease -Wunused-but-set-variable warnings from GCC. 2023-03-31 10:56:33 -07:00
srcu.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
stackdepot.h linuxkpi: Add linux/stackdepot.h 2022-08-18 09:46:36 +02:00
stdarg.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
stddef.h LinuxKPI: add struct_group(...) 2023-06-08 18:00:57 +00:00
string.h linuxkpi: Add strscpy_pad() to <linux/string.h> 2023-02-15 23:19:41 +01:00
stringify.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
suspend.h linuxkpi: Add more suspend defines 2023-02-17 14:50:58 +01:00
swap.h linuxkpi: swap.h: Fix include 2022-08-18 09:46:50 +02:00
sysfs.h linuxkpi: Add sysfs_emit_at() in <linux/sysfs.h> 2023-01-25 22:56:56 +01:00
tcp.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
time.h LinuxKPI: add ns_to_timespec64() 2023-05-17 10:22:07 +00:00
timer.h LinuxKPI: implement timer_{delete,shutdown}_sync() 2023-06-09 22:25:33 +00:00
tracepoint.h LinuxKPI: tracepoint.h add more defines 2022-09-22 15:10:03 +00:00
typecheck.h linuxkpi: Add typecheck.h 2022-06-29 09:55:15 +02:00
types.h linuxkpi: Move definition of struct list_head to <linux/types.h> 2023-02-13 22:09:31 +01:00
uaccess.h linuxkpi: Add __copy_to_user_inatomic and __copy_from_user_inatomic 2022-08-18 09:47:04 +02:00
udp.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
usb.h LinuxKPI: move pm_message_t from kernel.h to pm.h 2022-06-10 14:05:12 +00:00
utsname.h LinuxKPI: add utsname for init_utsname() with release 2023-05-24 08:41:28 +00:00
uuid.h LinuxKPI: uuid: add guid_gen() and guid_copy() 2023-05-24 08:34:28 +00:00
vgaarb.h linuxkpi: Update vga_client_register() and add vga_client_unregister() 2023-02-13 22:09:31 +01:00
vmalloc.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
wait.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
wait_bit.h linuxkpi: Add __var_waitqueue 2022-02-17 09:30:27 +01:00
workqueue.h LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-10 22:49:38 +03:00
ww_mutex.h linuxkpi: Update ww_mutex_trylock() API for Linux 5.16 2023-02-14 23:01:07 +01:00
xarray.h linuxkpi: Move IS_ENABLED() and friends to <linux/kconfig.h> 2023-02-15 00:06:32 +01:00