instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'include/linux/unwind_deferred' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_UNWIND_USER_DEFERRED_H #define _LINUX_UNWIND_USER_DEFERRED_H #include <linux/task_work.h> #include <linux/unwind_user.h> #include <linux/unwind_deferred_types.h> #ifdef CONFIG_UNWIND_USER enum { UNWIND_PENDING_BIT = 0, UNWIND_USED_BIT, }; enum { UNWIND_P...
Linux işletim sistemi çekirdeği için 'include/linux/mmap_lock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MMAP_LOCK_H #define _LINUX_MMAP_LOCK_H /* Avoid a dependency loop by declaring here. */ extern int rcuwait_wake_up(struct rcuwait *w); #include <linux/lockdep.h> #include <linux/mm_types.h> #include <linux/mmdebug.h> #include <linux/rwsem.h> #include <linux/t...
Linux işletim sistemi çekirdeği için 'include/linux/sh_intc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SH_INTC_H #define __SH_INTC_H #include <linux/ioport.h> #ifdef CONFIG_SUPERH #define INTC_NR_IRQS 512 #else #define INTC_NR_IRQS 1024 #endif /* * Convert back and forth between INTEVT and IRQ values. */ #ifdef CONFIG_CPU_HAS_INTEVT /* Avoid IRQ0 (invalid for pl...
Linux işletim sistemi çekirdeği için 'include/linux/interval_tree' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_INTERVAL_TREE_H #define _LINUX_INTERVAL_TREE_H #include <linux/rbtree.h> struct interval_tree_node { struct rb_node rb; unsigned long start; /* Start of interval */ unsigned long last; /* Last location _in_ interval */ unsigned long __subtree_last; }; ex...
Linux işletim sistemi çekirdeği için 'include/linux/ti-emif-sram' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * TI AM33XX EMIF Routines * * Copyright (C) 2016-2017 Texas Instruments Inc. * Dave Gerlach */ #ifndef __LINUX_TI_EMIF_H #define __LINUX_TI_EMIF_H #include <linux/kbuild.h> #include <linux/types.h> #ifndef __ASSEMBLY__ struct emif_regs_amx3 { u32 emif_sdcfg_va...
Linux işletim sistemi çekirdeği için 'include/linux/i2c-algo-bit' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * i2c-algo-bit.h: i2c driver algorithms for bit-shift adapters * * Copyright (C) 1995-99 Simon G. Vogl * With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even * Frodo Looijaard <frodol@dds.nl> */ #ifndef _LINUX_I2C_ALGO_BIT_H #define _LINUX_I2C_ALGO_B...
Linux işletim sistemi çekirdeği için 'include/linux/tsm-mr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __TSM_MR_H #define __TSM_MR_H #include <crypto/hash_info.h> /** * struct tsm_measurement_register - describes an architectural measurement * register (MR) * @mr_name: name of the MR * @mr_value: buffer containing the current value of the MR * @mr_size: size of...
Linux işletim sistemi çekirdeği için 'include/linux/btree-type' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #define __BTREE_TP(pfx, type, sfx) pfx ## type ## sfx #define _BTREE_TP(pfx, type, sfx) __BTREE_TP(pfx, type, sfx) #define BTREE_TP(pfx) _BTREE_TP(pfx, BTREE_TYPE_SUFFIX,) #define BTREE_FN(name) BTREE_TP(btree_ ## name) #define BTREE_TYPE_HEAD BTREE_TP(struct btree_head...
Linux işletim sistemi çekirdeği için 'include/linux/page_idle' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MM_PAGE_IDLE_H #define _LINUX_MM_PAGE_IDLE_H #include <linux/bitops.h> #include <linux/page-flags.h> #include <linux/page_ext.h> #if defined(CONFIG_PAGE_IDLE_FLAG) && !defined(CONFIG_64BIT) /* * If there is not enough space to store Idle and Young bits in pa...
Linux işletim sistemi çekirdeği için 'include/linux/skbuff_ref' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Skb ref helpers. * */ #ifndef _LINUX_SKBUFF_REF_H #define _LINUX_SKBUFF_REF_H #include <linux/skbuff.h> /** * __skb_frag_ref - take an addition reference on a paged fragment. * @frag: the paged fragment * * Takes an additional reference on the paged fr...
Linux işletim sistemi çekirdeği için 'include/linux/pldmfw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (C) 2018-2019, Intel Corporation. */ #ifndef _PLDMFW_H_ #define _PLDMFW_H_ #include <linux/list.h> #include <linux/firmware.h> #define PLDM_DEVICE_UPDATE_CONTINUE_AFTER_FAIL BIT(0) #define PLDM_STRING_TYPE_UNKNOWN 0 #define PLDM_STRING_TYPE_ASCII 1 #define P...
Linux işletim sistemi çekirdeği için 'include/linux/of_net' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * OF helpers for network devices. */ #ifndef __LINUX_OF_NET_H #define __LINUX_OF_NET_H #include <linux/phy.h> #if defined(CONFIG_OF) && defined(CONFIG_NET) #include <linux/of.h> struct net_device; extern int of_get_phy_mode(struct device_node *np, phy_interface_...
Linux işletim sistemi çekirdeği için 'include/linux/ucopysize' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Perform sanity checking for object sizes for uaccess.h and uio.h. */ #ifndef __LINUX_UCOPYSIZE_H__ #define __LINUX_UCOPYSIZE_H__ #include <linux/bug.h> #ifdef CONFIG_HARDENED_USERCOPY #include <linux/jump_label.h> extern void __check_object_size(const void *ptr, unsigned...
Linux işletim sistemi çekirdeği için 'include/linux/aio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX__AIO_H #define __LINUX__AIO_H #include <linux/aio_abi.h> struct kioctx; struct kiocb; struct mm_struct; typedef int (kiocb_cancel_fn)(struct kiocb *); /* prototypes */ #ifdef CONFIG_AIO extern void exit_aio(struct mm_struct *mm); void kiocb_set_cancel_fn(s...
Linux işletim sistemi çekirdeği için 'include/linux/rndis' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Remote Network Driver Interface Specification (RNDIS) * definitions of the magic numbers used by this protocol */ /* Remote NDIS Versions */ #define RNDIS_MAJOR_VERSION 0x00000001 #define RNDIS_MINOR_VERSION 0x00000000 /* Device Flags */ #define RNDIS_DF_CONNECTIO...
Linux işletim sistemi çekirdeği için 'include/linux/cpumask_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_CPUMASK_TYPES_H #define __LINUX_CPUMASK_TYPES_H #include <linux/bitops.h> #include <linux/threads.h> /* Don't assign or return these: may not be this big! */ typedef struct cpumask { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; /** * cpumask_bits - get the ...
Linux işletim sistemi çekirdeği için 'include/linux/mempool' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * memory buffer pool support */ #ifndef _LINUX_MEMPOOL_H #define _LINUX_MEMPOOL_H #include <linux/sched.h> #include <linux/alloc_tag.h> #include <linux/wait.h> #include <linux/compiler.h> struct kmem_cache; typedef void * (mempool_alloc_t)(gfp_t gfp_mask, void *pool_d...
Linux işletim sistemi çekirdeği için 'include/linux/fb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_FB_H #define _LINUX_FB_H #include <uapi/linux/fb.h> #define FBIO_CURSOR _IOWR('F', 0x08, struct fb_cursor_user) #include <linux/mutex.h> #include <linux/printk.h> #include <linux/refcount.h> #include <linux/types.h> #include <linux/workqueue.h> #...
Linux işletim sistemi çekirdeği için 'include/linux/usb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_USB_H #define __LINUX_USB_H #include <linux/mod_devicetable.h> #include <linux/usb/ch9.h> #define USB_MAJOR 180 #define USB_DEVICE_MAJOR 189 #ifdef __KERNEL__ #include <linux/errno.h> /* for -ENODEV */ #include <linux/delay.h> /* for mdelay() */...
Linux işletim sistemi çekirdeği için 'include/linux/libnvdimm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * libnvdimm - Non-volatile-memory Devices Subsystem * * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. */ #ifndef __LIBNVDIMM_H__ #define __LIBNVDIMM_H__ #include <linux/io.h> #include <linux/sizes.h> #include <linux/spinlock.h> #include <linux/ty...
Linux işletim sistemi çekirdeği için 'include/linux/count_zeros' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Count leading and trailing zeros functions * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINUX_BITOPS_COUNT_ZEROS_H_ #define _LINUX_BITOPS_COUNT_ZEROS_H_ #include <asm/bitops.h> /** *...
Linux işletim sistemi çekirdeği için 'include/linux/elf-fdpic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* FDPIC ELF load map * * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINUX_ELF_FDPIC_H #define _LINUX_ELF_FDPIC_H #include <uapi/linux/elf-fdpic.h> #if ELF_CLASS == ELFCLASS32 #define Elf_...
Linux işletim sistemi çekirdeği için 'include/linux/if_tun' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Universal TUN/TAP device driver. * Copyright (C) 1999-2000 Maxim Krasnyansky <max_mk@yahoo.com> */ #ifndef __IF_TUN_H #define __IF_TUN_H #include <uapi/linux/if_tun.h> #include <uapi/linux/virtio_net.h> #define TUN_XDP_FLAG 0x1UL #define TUN_MSG_UBUF 1 #...
Linux işletim sistemi çekirdeği için 'include/linux/uio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Berkeley style UIO structures - Alan Cox 1994. */ #ifndef __LINUX_UIO_H #define __LINUX_UIO_H #include <linux/kernel.h> #include <linux/mm_types.h> #include <linux/ucopysize.h> #include <uapi/linux/uio.h> struct page; struct folio_queue; typedef unsigned in...
Linux işletim sistemi çekirdeği için 'include/linux/rcuref' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _LINUX_RCUREF_H #define _LINUX_RCUREF_H #include <linux/atomic.h> #include <linux/bug.h> #include <linux/limits.h> #include <linux/lockdep.h> #include <linux/preempt.h> #include <linux/rcupdate.h> #define RCUREF_ONEREF 0x00000000U #define RCUREF_MAXREF 0x7FFF...
Linux işletim sistemi çekirdeği için 'include/linux/joystick' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 1996-2000 Vojtech Pavlik * * Sponsored by SuSE */ /* */ #ifndef _LINUX_JOYSTICK_H #define _LINUX_JOYSTICK_H #include <uapi/linux/joystick.h> #if BITS_PER_LONG == 64 #define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_64 #elif BITS_PER_LONG == 32 #...
Linux işletim sistemi çekirdeği için 'include/linux/kbuild' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_KBUILD_H #define __LINUX_KBUILD_H #define DEFINE(sym, val) \ asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) #define BLANK() asm volatile("\n.ascii \"->\"" : : ) #define OFFSET(sym, str, mem) \ DEFINE(sym, offsetof(struct str, mem)) #de...
Linux işletim sistemi çekirdeği için 'include/linux/nl802154' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * nl802154.h * * Copyright (C) 2007, 2008, 2009 Siemens AG */ #ifndef NL802154_H #define NL802154_H #include <net/netlink.h> #define IEEE802154_NL_NAME "802.15.4 MAC" #define IEEE802154_MCAST_COORD_NAME "coordinator" #define IEEE802154_MCAST_BEACON_NAME "beacon...
Linux işletim sistemi çekirdeği için 'include/linux/unwind_user_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_UNWIND_USER_TYPES_H #define _LINUX_UNWIND_USER_TYPES_H #include <linux/types.h> /* * Unwind types, listed in priority order: lower numbers are attempted first if * available. */ enum unwind_user_type_bits { UNWIND_USER_TYPE_FP_BIT = 0, NR_UNWIND_USER_T...
Linux işletim sistemi çekirdeği için 'include/linux/spinlock_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef __LINUX_SPINLOCK_TYPES_H #define __LINUX_SPINLOCK_TYPES_H /* * include/linux/spinlock_types.h - generic spinlock type definitions * and initializers * * portions Copyright 2005, Red Hat, Inc., Ingo Molnar * Released under the General Public License (GPL). */ #includ...
Linux işletim sistemi çekirdeği için 'include/linux/isa' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * ISA bus. */ #ifndef __LINUX_ISA_H #define __LINUX_ISA_H #include <linux/device.h> #include <linux/errno.h> #include <linux/kernel.h> struct isa_driver { int (*match)(struct device *, unsigned int); int (*probe)(struct device *, unsigned int); void (*remove)(struc...
Linux işletim sistemi çekirdeği için 'include/linux/cpu_smt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CPU_SMT_H_ #define _LINUX_CPU_SMT_H_ enum cpuhp_smt_control { CPU_SMT_ENABLED, CPU_SMT_DISABLED, CPU_SMT_FORCE_DISABLED, CPU_SMT_NOT_SUPPORTED, CPU_SMT_NOT_IMPLEMENTED, }; #if defined(CONFIG_SMP) && defined(CONFIG_HOTPLUG_SMT) extern enum cpuhp_smt_contr...
Linux işletim sistemi çekirdeği için 'include/linux/pipe_fs_i' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PIPE_FS_I_H #define _LINUX_PIPE_FS_I_H #define PIPE_DEF_BUFFERS 16 #define PIPE_BUF_FLAG_LRU 0x01 /* page is on the LRU */ #define PIPE_BUF_FLAG_ATOMIC 0x02 /* was atomically mapped */ #define PIPE_BUF_FLAG_GIFT 0x04 /* page is a gift */ #define PIPE_BUF_FLAG...
Linux işletim sistemi çekirdeği için 'include/linux/virtio_pci_modern' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_VIRTIO_PCI_MODERN_H #define _LINUX_VIRTIO_PCI_MODERN_H #include <linux/pci.h> #include <linux/virtio_config.h> #include <linux/virtio_pci.h> /** * struct virtio_pci_modern_device - info for modern PCI virtio * @pci_dev: Ptr to the PCI device struct * @...
Linux işletim sistemi çekirdeği için 'include/linux/spinlock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_SPINLOCK_H #define __LINUX_SPINLOCK_H #define __LINUX_INSIDE_SPINLOCK_H /* * include/linux/spinlock.h - generic spinlock/rwlock declarations * * here's the role of the various spinlock/rwlock related include files: * * on SMP builds: * * asm/spinlock_...
Linux işletim sistemi çekirdeği için 'include/linux/semaphore' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2008 Intel Corporation * Author: Matthew Wilcox <willy@linux.intel.com> * * Please see kernel/locking/semaphore.c for documentation of these functions */ #ifndef __LINUX_SEMAPHORE_H #define __LINUX_SEMAPHORE_H #include <linux/list.h> #include <li...
Linux işletim sistemi çekirdeği için 'include/linux/once_lite' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_ONCE_LITE_H #define _LINUX_ONCE_LITE_H #include <linux/types.h> /* Call a function once. Similar to DO_ONCE(), but does not use jump label * patching via static keys. */ #define DO_ONCE_LITE(func, ...) \ DO_ONCE_LITE_IF(true, func, ##__VA_ARGS__) #de...
Linux işletim sistemi çekirdeği için 'include/linux/dibs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Direct Internal Buffer Sharing * * Definitions for the DIBS module * * Copyright IBM Corp. 2025 */ #ifndef _DIBS_H #define _DIBS_H #include <linux/device.h> #include <linux/uuid.h> /* DIBS - Direct Internal Buffer Sharing - concept * -------------------------...
Linux işletim sistemi çekirdeği için 'include/linux/pm-trace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef PM_TRACE_H #define PM_TRACE_H #include <linux/types.h> #ifdef CONFIG_PM_TRACE #include <asm/pm-trace.h> extern int pm_trace_enabled; extern bool pm_trace_rtc_abused; static inline bool pm_trace_rtc_valid(void) { return !pm_trace_rtc_abused; } static inline int pm...
Linux işletim sistemi çekirdeği için 'include/linux/turris-omnia-mcu-interface' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * CZ.NIC's Turris Omnia MCU I2C interface commands definitions * * 2024 by Marek Behún <kabel@kernel.org> */ #ifndef __TURRIS_OMNIA_MCU_INTERFACE_H #define __TURRIS_OMNIA_MCU_INTERFACE_H #include <linux/bitfield.h> #include <linux/bitops.h> #include <linux/types.h> #...
Linux işletim sistemi çekirdeği için 'include/linux/dev_printk' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * dev_printk.h - printk messages helpers for devices * * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de> * Copyright (c) 2008-2009 Novell Inc. * */ #ifndef _DEVICE_PRINTK_H_ #define _DEVICE_PRINTK_...
Linux işletim sistemi çekirdeği için 'include/linux/time64' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_TIME64_H #define _LINUX_TIME64_H #include <linux/math64.h> #include <vdso/time64.h> typedef __s64 time64_t; typedef __u64 timeu64_t; #include <uapi/linux/time.h> struct timespec64 { time64_t tv_sec; /* seconds */ long tv_nsec; /* nanoseconds */ }; st...
Linux işletim sistemi çekirdeği için 'include/linux/start_kernel' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_START_KERNEL_H #define _LINUX_START_KERNEL_H #include <linux/linkage.h> #include <linux/init.h> /* Define the prototype for start_kernel here, rather than cluttering up something else. */ extern asmlinkage void __init __noreturn start_kernel(void); #endi...
Linux işletim sistemi çekirdeği için 'include/linux/reset-controller' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_RESET_CONTROLLER_H_ #define _LINUX_RESET_CONTROLLER_H_ #include <linux/list.h> #include <linux/mutex.h> struct fwnode_handle; struct fwnode_reference_args; struct reset_controller_dev; /** * struct reset_control_ops - reset controller driver callbacks * *...
Linux işletim sistemi çekirdeği için 'include/linux/pci-bwctrl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * PCIe bandwidth controller * * Copyright (C) 2023-2024 Intel Corporation */ #ifndef LINUX_PCI_BWCTRL_H #define LINUX_PCI_BWCTRL_H #include <linux/pci.h> struct thermal_cooling_device; #ifdef CONFIG_PCIE_THERMAL struct thermal_cooling_device *pcie_cooling_devi...
Linux işletim sistemi çekirdeği için 'include/linux/prefetch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Generic cache management functions. Everything is arch-specific, * but this header exists to make sure the defines/functions can be * used in a generic way. * * 2000-11-13 Arjan van de Ven <arjan@fenrus.demon.nl> * */ #ifndef _LINUX_PREFETCH_H #define _L...
Linux işletim sistemi çekirdeği için 'include/linux/property' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * property.h - Unified device property interface. * * Copyright (C) 2014, Intel Corporation * Authors: Rafael J. Wysocki <rafael.j.wysocki@intel.com> * Mika Westerberg <mika.westerberg@linux.intel.com> */ #ifndef _LINUX_PROPERTY_H_ #define _LINUX_PROPE...
Linux işletim sistemi çekirdeği için 'include/linux/cuda' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for talking to the CUDA. The CUDA is a microcontroller * which controls the ADB, system power, RTC, and various other things. * * Copyright (C) 1996 Paul Mackerras. */ #ifndef _LINUX_CUDA_H #define _LINUX_CUDA_H #include <linux/rtc.h> #include <uapi/li...
Linux işletim sistemi çekirdeği için 'include/linux/percpu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_PERCPU_H #define __LINUX_PERCPU_H #include <linux/alloc_tag.h> #include <linux/mmdebug.h> #include <linux/preempt.h> #include <linux/smp.h> #include <linux/pfn.h> #include <linux/init.h> #include <linux/cleanup.h> #include <linux/sched.h> #include <asm/percp...
Linux işletim sistemi çekirdeği için 'include/linux/pci-tph' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * TPH (TLP Processing Hints) * * Copyright (C) 2024 Advanced Micro Devices, Inc. * Eric Van Tassell <Eric.VanTassell@amd.com> * Wei Huang <wei.huang2@amd.com> */ #ifndef LINUX_PCI_TPH_H #define LINUX_PCI_TPH_H /* * According to the ECN for PCI Firmware Spec...
Linux işletim sistemi çekirdeği için 'include/linux/delayacct' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* delayacct.h - per-task delay accounting * * Copyright (C) Shailabh Nagar, IBM Corp. 2006 */ #ifndef _LINUX_DELAYACCT_H #define _LINUX_DELAYACCT_H #include <uapi/linux/taskstats.h> #ifdef CONFIG_TASK_DELAY_ACCT struct task_delay_info { raw_spinlock_t lock; ...
Linux işletim sistemi çekirdeği için 'include/linux/cache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_CACHE_H #define __LINUX_CACHE_H #include <uapi/linux/kernel.h> #include <vdso/cache.h> #include <asm/cache.h> #ifndef L1_CACHE_ALIGN #define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES) #endif /** * SMP_CACHE_ALIGN - align a value to the L2 cachelin...
Linux işletim sistemi çekirdeği için 'include/linux/gpio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * NOTE: This header *must not* be included. * * This is the LEGACY GPIO bulk include file, including legacy APIs. It is * used for GPIO drivers still referencing the global GPIO numberspace, * and should not be included in new code. * * If you're implementing a GPIO...
Linux işletim sistemi çekirdeği için 'include/linux/elf-randomize' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ELF_RANDOMIZE_H #define _ELF_RANDOMIZE_H struct mm_struct; #ifndef CONFIG_ARCH_HAS_ELF_RANDOMIZE static inline unsigned long arch_mmap_rnd(void) { return 0; } # if defined(arch_randomize_brk) && defined(CONFIG_COMPAT_BRK) # define compat_brk_randomized # endif # i...
Linux işletim sistemi çekirdeği için 'include/linux/irq_poll' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef IRQ_POLL_H #define IRQ_POLL_H struct irq_poll; typedef int (irq_poll_fn)(struct irq_poll *, int); struct irq_poll { struct list_head list; unsigned long state; int weight; irq_poll_fn *poll; }; enum { IRQ_POLL_F_SCHED = 0, IRQ_POLL_F_DISABLE = 1, }; extern v...
Linux işletim sistemi çekirdeği için 'include/linux/cgroup_refcnt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /** * css_get - obtain a reference on the specified css * @css: target css * * The caller must already have a reference. */ CGROUP_REF_FN_ATTRS void css_get(struct cgroup_subsys_state *css) { if (!(css->flags & CSS_NO_REF)) percpu_ref_get(&css->refcnt); } CGROUP_REF_EXPORT(css_get) /** * css_get_many - o...
Linux işletim sistemi çekirdeği için 'include/linux/cdrom' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * -- <linux/cdrom.h> * General header file for linux CD-ROM drivers * Copyright (C) 1992 David Giller, rafetmad@oxy.edu * 1994, 1995 Eberhard Mönkeberg, emoenke@gwdg.de * 1996 David van Leeuwen, david@tm.tno.nl * ...
Linux işletim sistemi çekirdeği için 'include/linux/aperture' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: MIT */ #ifndef _LINUX_APERTURE_H_ #define _LINUX_APERTURE_H_ #include <linux/types.h> struct pci_dev; struct platform_device; #if defined(CONFIG_APERTURE_HELPERS) int devm_aperture_acquire_for_platform_device(struct platform_device *pdev, resource_size_t base, ...
Linux işletim sistemi çekirdeği için 'include/linux/soundcard' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright by Hannu Savolainen 1993-1997 * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the follo...
Linux işletim sistemi çekirdeği için 'include/linux/sctp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* SCTP kernel reference Implementation * (C) Copyright IBM Corp. 2001, 2004 * Copyright (c) 1999-2000 Cisco, Inc. * Copyright (c) 1999-2001 Motorola, Inc. * Copyright (c) 2001 Intel Corp. * Copyright (c) 2001 Nokia, Inc. * Copyright (c) 2001 La Monte H.P. Yarr...
Linux işletim sistemi çekirdeği için 'include/linux/skmsg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2017 - 2018 Covalent IO, Inc. http://covalent.io */ #ifndef _LINUX_SKMSG_H #define _LINUX_SKMSG_H #include <linux/bpf.h> #include <linux/filter.h> #include <linux/scatterlist.h> #include <linux/skbuff.h> #include <net/sock.h> #include <net/tcp.h> #include ...
Linux işletim sistemi çekirdeği için 'include/linux/circ_buf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * See Documentation/core-api/circular-buffers.rst for more information. */ #ifndef _LINUX_CIRC_BUF_H #define _LINUX_CIRC_BUF_H 1 struct circ_buf { char *buf; int head; int tail; }; /* Return count in buffer. */ #define CIRC_CNT(head,tail,size) (((head) - (tail)) &...
Linux işletim sistemi çekirdeği için 'include/linux/fsnotify' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_FS_NOTIFY_H #define _LINUX_FS_NOTIFY_H /* * include/linux/fsnotify.h - generic hooks for filesystem notification, to * reduce in-source duplication from both dnotify and inotify. * * We don't compile any of this away in some complicated menagerie of ifdefs...
Linux işletim sistemi çekirdeği için 'include/linux/screen_info' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SCREEN_INFO_H #define _SCREEN_INFO_H #include <uapi/linux/screen_info.h> #include <linux/bits.h> /** * SCREEN_INFO_MAX_RESOURCES - maximum number of resources per screen_info */ #define SCREEN_INFO_MAX_RESOURCES 3 struct pci_dev; struct pixel_format; struct res...
Linux işletim sistemi çekirdeği için 'include/linux/ring_buffer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_RING_BUFFER_H #define _LINUX_RING_BUFFER_H #include <linux/mm.h> #include <linux/seq_file.h> #include <linux/poll.h> #include <uapi/linux/trace_mmap.h> struct trace_buffer; struct ring_buffer_iter; /* * Don't refer to this struct directly, use functions be...
Linux işletim sistemi çekirdeği için 'include/linux/fs_stack' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_FS_STACK_H #define _LINUX_FS_STACK_H /* This file defines generic functions used primarily by stackable * filesystems; none of these functions require i_rwsem to be held. */ #include <linux/fs.h> /* externs for fs/stack.c */ extern void fsstack_copy_attr_a...
Linux işletim sistemi çekirdeği için 'include/linux/uts' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_UTS_H #define _LINUX_UTS_H /* * Defines for what uname() should return */ #ifndef UTS_SYSNAME #define UTS_SYSNAME "Linux" #endif #ifndef UTS_NODENAME #define UTS_NODENAME CONFIG_DEFAULT_HOSTNAME /* set by sethostname() */ #endif #ifndef UTS_DOMAINNAME #de...
Linux işletim sistemi çekirdeği için 'include/linux/stacktrace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_STACKTRACE_H #define __LINUX_STACKTRACE_H #include <linux/types.h> #include <asm/errno.h> struct task_struct; struct pt_regs; #ifdef CONFIG_ARCH_STACKWALK /** * stack_trace_consume_fn - Callback for arch_stack_walk() * @cookie: Caller supplied pointer ha...
Linux işletim sistemi çekirdeği için 'include/linux/dca' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 2007 - 2009 Intel Corporation. All rights reserved. */ #ifndef DCA_H #define DCA_H #include <linux/pci.h> /* DCA Provider API */ /* DCA Notifier Interface */ void dca_register_notify(struct notifier_block *nb); void dca_unregister_notify(struct...
Linux işletim sistemi çekirdeği için 'include/linux/writeback' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/linux/writeback.h */ #ifndef WRITEBACK_H #define WRITEBACK_H #include <linux/sched.h> #include <linux/workqueue.h> #include <linux/fs.h> #include <linux/flex_proportions.h> #include <linux/backing-dev-defs.h> #include <linux/blk_types.h> #include <linux/folio_...
Linux işletim sistemi çekirdeği için 'include/linux/vfio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * VFIO API definition * * Copyright (C) 2012 Red Hat, Inc. All rights reserved. * Author: Alex Williamson <alex.williamson@redhat.com> */ #ifndef VFIO_H #define VFIO_H #include <linux/iommu.h> #include <linux/mm.h> #include <linux/workqueue.h> #include <li...
Linux işletim sistemi çekirdeği için 'include/linux/instruction_pointer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_INSTRUCTION_POINTER_H #define _LINUX_INSTRUCTION_POINTER_H #include <asm/linkage.h> #define _RET_IP_ (unsigned long)__builtin_return_address(0) #ifndef _THIS_IP_ #define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) #endif #endif /* _...
Linux işletim sistemi çekirdeği için 'include/linux/logic_iomem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2021 Intel Corporation * Author: johannes@sipsolutions.net */ #ifndef __LOGIC_IOMEM_H #define __LOGIC_IOMEM_H #include <linux/types.h> #include <linux/ioport.h> /** * struct logic_iomem_ops - emulated IO memory ops * @read: read an 8, 16, 32 or 64 bit...
Linux işletim sistemi çekirdeği için 'include/linux/ndctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (c) 2014-2016, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, * version 2.1, as published by the Free Software Foundation. * * This program is distributed in the hope it ...
Linux işletim sistemi çekirdeği için 'include/linux/compiler' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_COMPILER_H #define __LINUX_COMPILER_H #include <linux/compiler_types.h> #ifndef __ASSEMBLY__ #ifdef __KERNEL__ /* * Note: DISABLE_BRANCH_PROFILING can be used by special lowlevel code * to disable branch tracing on a per file basis. */ void ftrace_likel...
Linux işletim sistemi çekirdeği için 'include/linux/io-64-nonatomic-lo-hi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IO_64_NONATOMIC_LO_HI_H_ #define _LINUX_IO_64_NONATOMIC_LO_HI_H_ #include <linux/io.h> #include <asm-generic/int-ll64.h> static inline __u64 lo_hi_readq(const volatile void __iomem *addr) { const volatile u32 __iomem *p = addr; u32 low, high; low = readl(...
Linux işletim sistemi çekirdeği için 'include/linux/altera_jtaguart' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * altera_jtaguart.h -- Altera JTAG UART driver defines. */ #ifndef __ALTJUART_H #define __ALTJUART_H #define ALTERA_JTAGUART_MAJOR 204 #define ALTERA_JTAGUART_MINOR 186 struct altera_jtaguart_platform_uart { unsigned long mapbase; /* Physical address base */ unsigne...
Linux işletim sistemi çekirdeği için 'include/linux/edd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/include/linux/edd.h * Copyright (C) 2002, 2003, 2004 Dell Inc. * by Matt Domsch <Matt_Domsch@dell.com> * * structures and definitions for the int 13h, ax={41,48}h * BIOS Enhanced Disk Drive Services * This is based on the T13 group document D1572 Revi...
Linux işletim sistemi çekirdeği için 'include/linux/kconfig' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_KCONFIG_H #define __LINUX_KCONFIG_H #include <generated/autoconf.h> #ifdef CONFIG_CPU_BIG_ENDIAN #define __BIG_ENDIAN 4321 #else #define __LITTLE_ENDIAN 1234 #endif #define __ARG_PLACEHOLDER_1 0, #define __take_second_arg(__ignored, val, ...) val /* * The...
Linux işletim sistemi çekirdeği için 'include/linux/tpm_eventlog' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_TPM_EVENTLOG_H__ #define __LINUX_TPM_EVENTLOG_H__ #include <linux/tpm.h> #define TCG_EVENT_NAME_LEN_MAX 255 #define MAX_TEXT_EVENT 1000 /* Max event string length */ #define ACPI_TCPA_SIG "TCPA" /* 0x41504354 /'TCPA' */ #define EFI_TCG2_EVENT_LOG_FORMAT_...
Linux işletim sistemi çekirdeği için 'include/linux/scpi_protocol' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * SCPI Message Protocol driver header * * Copyright (C) 2014 ARM Ltd. */ #ifndef _LINUX_SCPI_PROTOCOL_H #define _LINUX_SCPI_PROTOCOL_H #include <linux/types.h> struct scpi_opp { u32 freq; u32 m_volt; } __packed; struct scpi_dvfs_info { unsigned int count; ...
Linux işletim sistemi çekirdeği için 'include/linux/mmiotrace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MMIOTRACE_H #define _LINUX_MMIOTRACE_H #include <linux/types.h> #include <linux/list.h> struct kmmio_probe; struct pt_regs; typedef void (*kmmio_pre_handler_t)(struct kmmio_probe *, struct pt_regs *, unsigned long addr); typedef void (*kmmio_post_handler...
Linux işletim sistemi çekirdeği için 'include/linux/libfdt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _INCLUDE_LIBFDT_H_ #define _INCLUDE_LIBFDT_H_ #include <linux/libfdt_env.h> #include "../../scripts/dtc/libfdt/libfdt.h" #endif /* _INCLUDE_LIBFDT_H_ */ ```
Linux işletim sistemi çekirdeği için 'include/linux/bpf_lsm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020 Google LLC. */ #ifndef _LINUX_BPF_LSM_H #define _LINUX_BPF_LSM_H #include <linux/sched.h> #include <linux/bpf.h> #include <linux/bpf_verifier.h> #include <linux/lsm_hooks.h> #ifdef CONFIG_BPF_LSM #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ RET ...
Linux işletim sistemi çekirdeği için 'include/linux/dma-direct' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Internals of the DMA direct mapping implementation. Only for use by the * DMA mapping code and IOMMU drivers. */ #ifndef _LINUX_DMA_DIRECT_H #define _LINUX_DMA_DIRECT_H 1 #include <linux/dma-mapping.h> #include <linux/dma-map-ops.h> #include <linux/memblock.h> /* fo...
Linux işletim sistemi çekirdeği için 'include/linux/init_task' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX__INIT_TASK_H #define _LINUX__INIT_TASK_H #include <linux/rcupdate.h> #include <linux/irqflags.h> #include <linux/utsname.h> #include <linux/lockdep.h> #include <linux/ftrace.h> #include <linux/ipc.h> #include <linux/pid_namespace.h> #include <linux/user_namesp...
Linux işletim sistemi çekirdeği için 'include/linux/if_hsr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IF_HSR_H_ #define _LINUX_IF_HSR_H_ #include <linux/types.h> struct net_device; /* used to differentiate various protocols */ enum hsr_version { HSR_V0 = 0, HSR_V1, PRP_V1, }; enum hsr_port_type { HSR_PT_NONE = 0, /* Must be 0, used by framereg */ HSR_P...
Linux işletim sistemi çekirdeği için 'include/linux/pci-doe' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Data Object Exchange * PCIe r6.0, sec 6.30 DOE * * Copyright (C) 2021 Huawei * Jonathan Cameron <Jonathan.Cameron@huawei.com> * * Copyright (C) 2022 Intel Corporation * Ira Weiny <ira.weiny@intel.com> */ #ifndef LINUX_PCI_DOE_H #define LINUX_PCI_DOE_H stru...
Linux işletim sistemi çekirdeği için 'include/linux/pci-p2pdma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * PCI Peer 2 Peer DMA support. * * Copyright (c) 2016-2018, Logan Gunthorpe * Copyright (c) 2016-2017, Microsemi Corporation * Copyright (c) 2017, Christoph Hellwig * Copyright (c) 2018, Eideticom Inc. */ #ifndef _LINUX_PCI_P2PDMA_H #define _LINUX_PCI_P2PDMA_H #in...
Linux işletim sistemi çekirdeği için 'include/linux/vmw_vmci_api' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * VMware VMCI Driver * * Copyright (C) 2012 VMware, Inc. All rights reserved. */ #ifndef __VMW_VMCI_API_H__ #define __VMW_VMCI_API_H__ #include <linux/uidgid.h> #include <linux/vmw_vmci_defs.h> #undef VMCI_KERNEL_API_VERSION #define VMCI_KERNEL_API_VERSION_1 1...
Linux işletim sistemi çekirdeği için 'include/linux/etherdevice' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. NET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Definitions for the Ethernet handlers. * * Version: @(#...
Linux işletim sistemi çekirdeği için 'include/linux/smp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_SMP_H #define __LINUX_SMP_H /* * Generic SMP support * Alan Cox. <alan@redhat.com> */ #include <linux/errno.h> #include <linux/types.h> #include <linux/list.h> #include <linux/cpumask.h> #include <linux/init.h> #include <linux/smp_types.h> typedef void ...
Linux işletim sistemi çekirdeği için 'include/linux/pata_arasan_cf_data' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * include/linux/pata_arasan_cf_data.h * * Arasan Compact Flash host controller platform data header file * * Copyright (C) 2011 ST Microelectronics * Viresh Kumar <vireshk@kernel.org> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as i...
Linux işletim sistemi çekirdeği için 'include/linux/mbus' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Marvell MBUS common definitions. * * Copyright (C) 2008 Marvell Semiconductor * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #ifndef __LINUX_MBUS_H #define __...
Linux işletim sistemi çekirdeği için 'include/linux/timb_gpio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * timb_gpio.h timberdale FPGA GPIO driver, platform data definition * Copyright (c) 2009 Intel Corporation */ #ifndef _LINUX_TIMB_GPIO_H #define _LINUX_TIMB_GPIO_H /** * struct timbgpio_platform_data - Platform data of the Timberdale GPIO driver * @gpio_base: ...
Linux işletim sistemi çekirdeği için 'include/linux/ptp_kvm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Virtual PTP 1588 clock for use with KVM guests * * Copyright (C) 2017 Red Hat Inc. */ #ifndef _PTP_KVM_H_ #define _PTP_KVM_H_ #include <linux/clocksource_ids.h> #include <linux/types.h> struct timespec64; int kvm_arch_ptp_init(void); void kvm_arch_ptp_ex...
Linux işletim sistemi çekirdeği için 'include/linux/ratelimit' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_RATELIMIT_H #define _LINUX_RATELIMIT_H #include <linux/ratelimit_types.h> #include <linux/sched.h> #include <linux/spinlock.h> static inline void ratelimit_state_init(struct ratelimit_state *rs, int interval, int burst) { memset(rs, 0, sizeof(*rs)); r...
Linux işletim sistemi çekirdeği için 'include/linux/base64' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * base64 encoding, lifted from fs/crypto/fname.c. */ #ifndef _LINUX_BASE64_H #define _LINUX_BASE64_H #include <linux/types.h> enum base64_variant { BASE64_STD, /* RFC 4648 (standard) */ BASE64_URLSAFE, /* RFC 4648 (base64url) */ BASE64_IMAP, /* RFC 3501 *...
Linux işletim sistemi çekirdeği için 'include/linux/page_counter' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PAGE_COUNTER_H #define _LINUX_PAGE_COUNTER_H #include <linux/atomic.h> #include <linux/cache.h> #include <linux/limits.h> #include <asm/page.h> struct page_counter { /* * Make sure 'usage' does not share cacheline with any other field in * v2. The memcg-...
Linux işletim sistemi çekirdeği için 'include/linux/kobject' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * kobject.h - generic kernel object infrastructure. * * Copyright (c) 2002-2003 Patrick Mochel * Copyright (c) 2002-2003 Open Source Development Labs * Copyright (c) 2006-2008 Greg Kroah-Hartman <greg@kroah.com> * Copyright (c) 2006-2008 Novell Inc. * * Please read Do...