instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'include/linux/ipc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IPC_H #define _LINUX_IPC_H #include <linux/spinlock_types.h> #include <linux/uidgid.h> #include <linux/rhashtable-types.h> #include <uapi/linux/ipc.h> #include <linux/refcount.h> /* used by in-kernel data structures */ struct kern_ipc_perm { spinlock_t lock;...
Linux işletim sistemi çekirdeği için 'include/linux/dcache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_DCACHE_H #define __LINUX_DCACHE_H #include <linux/atomic.h> #include <linux/list.h> #include <linux/math.h> #include <linux/rculist.h> #include <linux/rculist_bl.h> #include <linux/spinlock.h> #include <linux/seqlock.h> #include <linux/cache.h> #include <linu...
Linux işletim sistemi çekirdeği için 'include/linux/sed-opal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright © 2016 Intel Corporation * * Authors: * Rafael Antognolli <rafael.antognolli@intel.com> * Scott Bauer <scott.bauer@intel.com> */ #ifndef LINUX_OPAL_H #define LINUX_OPAL_H #include <uapi/linux/sed-opal.h> #include <linux/compiler_types.h> #in...
Linux işletim sistemi çekirdeği için 'include/linux/hw_random' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* Hardware Random Number Generator Please read Documentation/admin-guide/hw_random.rst for details on use. ---------------------------------------------------------- This software may be used and distributed according to the terms of the GNU General Public License, incorporated herein by reference. ...
Linux işletim sistemi çekirdeği için 'include/linux/ip' 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. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Definitions for the IP protocol. * * Version: @(#)ip.h ...
Linux işletim sistemi çekirdeği için 'include/linux/notifier' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Routines to manage notifier chains for passing status changes to any * interested routines. We need this instead of hard coded call lists so * that modules can poke their nose into the innards. The network devices * needed them so here they are for the rest of you. ...
Linux işletim sistemi çekirdeği için 'include/linux/list_nulls' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_LIST_NULLS_H #define _LINUX_LIST_NULLS_H #include <linux/poison.h> #include <linux/const.h> /* * Special version of lists, where end of list is not a NULL pointer, * but a 'nulls' marker, which can have many different values. * (up to 2^31 different values...
Linux işletim sistemi çekirdeği için 'include/linux/cc_platform' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Confidential Computing Platform Capability checks * * Copyright (C) 2021 Advanced Micro Devices, Inc. * * Author: Tom Lendacky <thomas.lendacky@amd.com> */ #ifndef _LINUX_CC_PLATFORM_H #define _LINUX_CC_PLATFORM_H #include <linux/types.h> #include <linux/std...
Linux işletim sistemi çekirdeği için 'include/linux/kstack_erase' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_KSTACK_ERASE_H #define _LINUX_KSTACK_ERASE_H #include <linux/sched.h> #include <linux/sched/task_stack.h> /* * Check that the poison value points to the unused hole in the * virtual memory map for your platform. */ #define KSTACK_ERASE_POISON -0xBEEF #defi...
Linux işletim sistemi çekirdeği için 'include/linux/secure_boot' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2026 Red Hat, Inc. All Rights Reserved. * * Author: Coiby Xu <coxu@redhat.com> */ #ifndef _LINUX_SECURE_BOOT_H #define _LINUX_SECURE_BOOT_H #include <linux/types.h> #ifdef CONFIG_HAVE_ARCH_GET_SECUREBOOT /* * Returns true if the platform secure...
Linux işletim sistemi çekirdeği için 'include/linux/sound' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SOUND_H #define _LINUX_SOUND_H #include <uapi/linux/sound.h> /* * Sound core interface functions */ struct device; extern int register_sound_special(const struct file_operations *fops, int unit); extern int register_sound_special_device(const struct file_...
Linux işletim sistemi çekirdeği için 'include/linux/selection' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * selection.h * * Interface between console.c, tty_io.c, vt.c, vc_screen.c and selection.c */ #ifndef _LINUX_SELECTION_H_ #define _LINUX_SELECTION_H_ #include <linux/tiocl.h> #include <linux/vt_buffer.h> struct tty_struct; struct vc_data; void clear_selection(void)...
Linux işletim sistemi çekirdeği için 'include/linux/suspend' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SUSPEND_H #define _LINUX_SUSPEND_H #include <linux/swap.h> #include <linux/notifier.h> #include <linux/init.h> #include <linux/pm.h> #include <linux/mm.h> #include <linux/freezer.h> #include <asm/errno.h> #ifdef CONFIG_VT extern void pm_set_vt_switch(int); #e...
Linux işletim sistemi çekirdeği için 'include/linux/kasan-checks' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_KASAN_CHECKS_H #define _LINUX_KASAN_CHECKS_H #include <linux/types.h> /* * The annotations present in this file are only relevant for the software * KASAN modes that rely on compiler instrumentation, and will be optimized * away for the hardware tag-based ...
Linux işletim sistemi çekirdeği için 'include/linux/moduleloader' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MODULELOADER_H #define _LINUX_MODULELOADER_H /* The stuff needed for archs to support modules. */ #include <linux/module.h> #include <linux/elf.h> /* These may be implemented by architectures that need to hook into the * module loader code. Architectures th...
Linux işletim sistemi çekirdeği için 'include/linux/nstree' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2025 Christian Brauner <brauner@kernel.org> */ #ifndef _LINUX_NSTREE_H #define _LINUX_NSTREE_H #include <linux/ns/nstree_types.h> #include <linux/nsproxy.h> #include <linux/rbtree.h> #include <linux/seqlock.h> #include <linux/rculist.h> #include <linux/cooki...
Linux işletim sistemi çekirdeği için 'include/linux/if_vlan' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * VLAN An implementation of 802.1Q VLAN tagging. * * Authors: Ben Greear <greearb@candelatech.com> */ #ifndef _LINUX_IF_VLAN_H_ #define _LINUX_IF_VLAN_H_ #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/rtnetlink.h> #include <linux...
Linux işletim sistemi çekirdeği için 'include/linux/cpuset' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CPUSET_H #define _LINUX_CPUSET_H /* * cpuset interface * * Copyright (C) 2003 BULL SA * Copyright (C) 2004-2006 Silicon Graphics, Inc. * */ #include <linux/sched.h> #include <linux/sched/topology.h> #include <linux/sched/task.h> #include <linux/cpumas...
Linux işletim sistemi çekirdeği için 'include/linux/nvme-fc-driver' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2016, Avago Technologies */ #ifndef _NVME_FC_DRIVER_H #define _NVME_FC_DRIVER_H 1 #include <linux/scatterlist.h> #include <linux/blk-mq.h> /* * ********************** FC-NVME LS API ******************** * * Data structures used by both FC-NVME ho...
Linux işletim sistemi çekirdeği için 'include/linux/u64_stats_sync' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_U64_STATS_SYNC_H #define _LINUX_U64_STATS_SYNC_H /* * Protect against 64-bit values tearing on 32-bit architectures. This is * typically used for statistics read/update in different subsystems. * * Key points : * * - Use a seqcount on 32-bit * - The w...
Linux işletim sistemi çekirdeği için 'include/linux/fanotify' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_FANOTIFY_H #define _LINUX_FANOTIFY_H #include <linux/sysctl.h> #include <uapi/linux/fanotify.h> #define FAN_GROUP_FLAG(group, flag) \ ((group)->fanotify_data.flags & (flag)) /* * Flags allowed to be passed from/to userspace. * * We intentionally do not a...
Linux işletim sistemi çekirdeği için 'include/linux/transport_class' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * transport_class.h - a generic container for all transport classes * * Copyright (c) 2005 - James Bottomley <James.Bottomley@steeleye.com> */ #ifndef _TRANSPORT_CLASS_H_ #define _TRANSPORT_CLASS_H_ #include <linux/device.h> #include <linux/bug.h> #include <linu...
Linux işletim sistemi çekirdeği için 'include/linux/random' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_RANDOM_H #define _LINUX_RANDOM_H #include <linux/bug.h> #include <linux/kernel.h> #include <linux/list.h> #include <uapi/linux/random.h> struct notifier_block; void add_device_randomness(const void *buf, size_t len); void __init add_bootloader_randomness(c...
Linux işletim sistemi çekirdeği için 'include/linux/phy_led_triggers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Copyright (C) 2016 National Instruments Corp. */ #ifndef __PHY_LED_TRIGGERS #define __PHY_LED_TRIGGERS struct phy_device; #ifdef CONFIG_LED_TRIGGER_PHY #include <linux/leds.h> #include <linux/phy.h> #define PHY_LED_TRIGGER_SPEED_SUFFIX_SIZE 11 #define PHY_LI...
Linux işletim sistemi çekirdeği için 'include/linux/extable' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_EXTABLE_H #define _LINUX_EXTABLE_H #include <linux/stddef.h> /* for NULL */ #include <linux/types.h> struct module; struct exception_table_entry; const struct exception_table_entry * search_extable(const struct exception_table_entry *base, const size...
Linux işletim sistemi çekirdeği için 'include/linux/ata_platform' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_ATA_PLATFORM_H #define __LINUX_ATA_PLATFORM_H struct pata_platform_info { /* * I/O port shift, for platforms with ports that are * constantly spaced and need larger than the 1-byte * spacing used by ata_std_ports(). */ unsigned int ioport_shift; }; ...
Linux işletim sistemi çekirdeği için 'include/linux/iomap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_IOMAP_H #define LINUX_IOMAP_H 1 #include <linux/atomic.h> #include <linux/bitmap.h> #include <linux/blk_types.h> #include <linux/mm.h> #include <linux/types.h> #include <linux/mm_types.h> #include <linux/blkdev.h> #include <linux/folio_batch.h> struct address_...
Linux işletim sistemi çekirdeği için 'include/linux/in' 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. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Definitions of the Internet Protocol. * * Version: @(#)...
Linux işletim sistemi çekirdeği için 'include/linux/kernel-page-flags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_KERNEL_PAGE_FLAGS_H #define LINUX_KERNEL_PAGE_FLAGS_H #include <uapi/linux/kernel-page-flags.h> /* kernel hacking assistances * WARNING: subject to change, never rely on them! */ #define KPF_RESERVED 32 #define KPF_MLOCKED 33 #define KPF_OWNER_2 34 #defi...
Linux işletim sistemi çekirdeği için 'include/linux/mxm-wmi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * MXM WMI driver * * Copyright(C) 2010 Red Hat. */ #ifndef MXM_WMI_H #define MXM_WMI_H /* discrete adapters */ #define MXM_MXDS_ADAPTER_0 0x0 #define MXM_MXDS_ADAPTER_1 0x0 /* integrated adapter */ #define MXM_MXDS_ADAPTER_IGD 0x10 int mxm_wmi_call_mxds(int ...
Linux işletim sistemi çekirdeği için 'include/linux/integrity' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2009 IBM Corporation * Author: Mimi Zohar <zohar@us.ibm.com> */ #ifndef _LINUX_INTEGRITY_H #define _LINUX_INTEGRITY_H #include <linux/fs.h> #include <linux/iversion.h> enum integrity_status { INTEGRITY_PASS = 0, INTEGRITY_PASS_IMMUTABLE, INTEG...
Linux işletim sistemi çekirdeği için 'include/linux/pci-epf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * PCI Endpoint *Function* (EPF) header file * * Copyright (C) 2017 Texas Instruments * Author: Kishon Vijay Abraham I <kishon@ti.com> */ #ifndef __LINUX_PCI_EPF_H #define __LINUX_PCI_EPF_H #include <linux/configfs.h> #include <linux/device.h> #include <linux/mod_dev...
Linux işletim sistemi çekirdeği için 'include/linux/if_link' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IF_LINK_H #define _LINUX_IF_LINK_H #include <uapi/linux/if_link.h> /* We don't want this structure exposed to user space */ struct ifla_vf_stats { __u64 rx_packets; __u64 tx_packets; __u64 rx_bytes; __u64 tx_bytes; __u64 broadcast; __u64 multicast; __...
Linux işletim sistemi çekirdeği için 'include/linux/platform_device' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * platform_device.h - generic, centralized driver model * * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> * * See Documentation/driver-api/driver-model/ for more information. */ #ifndef _PLATFORM_DEVICE_H_ #define _PLATFORM_DEVICE_H_ #include <linux...
Linux işletim sistemi çekirdeği için 'include/linux/netdev_features' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Network device features. */ #ifndef _LINUX_NETDEV_FEATURES_H #define _LINUX_NETDEV_FEATURES_H #include <linux/types.h> #include <linux/bitops.h> #include <asm/byteorder.h> typedef u64 netdev_features_t; enum { NETIF_F_SG_BIT, /* Scatter/gather IO. */ NE...
Linux işletim sistemi çekirdeği için 'include/linux/8250_pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for PCI support. */ #define FL_BASE_MASK 0x0007 #define FL_BASE0 0x0000 #define FL_BASE1 0x0001 #define FL_BASE2 0x0002 #define FL_BASE3 0x0003 #define FL_BASE4 0x0004 #define FL_GET_BASE(x) (x & FL_BASE_MASK) /* Use successive BARs (PCI base addres...
Linux işletim sistemi çekirdeği için 'include/linux/blk_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Block data types and constants. Directly include this file only to * break include dependency loop. */ #ifndef __LINUX_BLK_TYPES_H #define __LINUX_BLK_TYPES_H #include <linux/types.h> #include <linux/bvec.h> #include <linux/device.h> #include <linux/ktime.h> #includ...
Linux işletim sistemi çekirdeği için 'include/linux/trace_events' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_TRACE_EVENT_H #define _LINUX_TRACE_EVENT_H #include <linux/ring_buffer.h> #include <linux/trace_seq.h> #include <linux/percpu.h> #include <linux/hardirq.h> #include <linux/perf_event.h> #include <linux/tracepoint.h> struct trace_array; struct array_buffer; s...
Linux işletim sistemi çekirdeği için 'include/linux/psci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * * Copyright (C) 2015 ARM Limited */ #ifndef __LINUX_PSCI_H #define __LINUX_PSCI_H #include <linux/arm-smccc.h> #include <linux/init.h> #include <linux/types.h> #define PSCI_POWER_STATE_TYPE_STANDBY 0 #define PSCI_POWER_STATE_TYPE_POWER_DOWN 1 bool psci_tos_r...
Linux işletim sistemi çekirdeği için 'include/linux/dio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* header file for DIO boards for the HP300 architecture. * Maybe this should handle DIO-II later? * The general structure of this is vaguely based on how * the Amiga port handles Zorro boards. * Copyright (C) Peter Maydell 05/1998 <pmaydell@chiark.greenend.org.uk> * Con...
Linux işletim sistemi çekirdeği için 'include/linux/nfs4' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/linux/nfs4.h * * NFSv4 protocol definitions. * * Copyright (c) 2002 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * Andy Adamson <andros@umich.edu> */ #ifndef _LINUX_NFS4_H #define _LINU...
Linux işletim sistemi çekirdeği için 'include/linux/slab' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Written by Mark Hemment, 1996 (markhe@nextd.demon.co.uk). * * (C) SGI 2006, Christoph Lameter * Cleaned up and restructured to ease the addition of alternative * implementations of SLAB allocators. * (C) Linux Foundation 2008-2013 * Unified interface for al...
Linux işletim sistemi çekirdeği için 'include/linux/closure' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CLOSURE_H #define _LINUX_CLOSURE_H #include <linux/llist.h> #include <linux/sched.h> #include <linux/sched/task_stack.h> #include <linux/workqueue.h> /* * Closure is perhaps the most overused and abused term in computer science, but * since I've been unable...
Linux işletim sistemi çekirdeği için 'include/linux/alcor_pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2018 Oleksij Rempel <linux@rempel-privat.de> * * Driver for Alcor Micro AU6601 and AU6621 controllers */ #ifndef __ALCOR_PCI_H #define __ALCOR_PCI_H #define ALCOR_SD_CARD 0 #define ALCOR_MS_CARD 1 #define DRV_NAME_ALCOR_PCI "alcor_pci" #define DRV...
Linux işletim sistemi çekirdeği için 'include/linux/mnt_namespace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _NAMESPACE_H_ #define _NAMESPACE_H_ #ifdef __KERNEL__ #include <linux/cleanup.h> #include <linux/err.h> struct mnt_namespace; struct fs_struct; struct user_namespace; struct ns_common; extern struct mnt_namespace init_mnt_ns; extern struct mnt_namespace *copy_mnt_...
Linux işletim sistemi çekirdeği için 'include/linux/bpf_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* internal file - do not include directly */ #ifdef CONFIG_NET BPF_PROG_TYPE(BPF_PROG_TYPE_SOCKET_FILTER, sk_filter, struct __sk_buff, struct sk_buff) BPF_PROG_TYPE(BPF_PROG_TYPE_SCHED_CLS, tc_cls_act, struct __sk_buff, struct sk_buff) BPF_PROG_TYPE(BPF_PROG_T...
Linux işletim sistemi çekirdeği için 'include/linux/smc91x' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SMC91X_H__ #define __SMC91X_H__ /* * These bits define which access sizes a platform can support, rather * than the maximal access size. So, if your platform can do 16-bit * and 32-bit accesses to the SMC91x device, but not 8-bit, set both * SMC91X_USE_16BIT a...
Linux işletim sistemi çekirdeği için 'include/linux/micrel_phy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/linux/micrel_phy.h * * Micrel PHY IDs */ #ifndef _MICREL_PHY_H #define _MICREL_PHY_H #define MICREL_OUI 0x0885 #define MICREL_PHY_ID_MASK 0x00fffff0 #define PHY_ID_KSZ8873MLL 0x000e7237 #define PHY_ID_KSZ9021 0x00221610 #define PHY_ID_KSZ9021RL...
Linux işletim sistemi çekirdeği için 'include/linux/hex' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_HEX_H #define _LINUX_HEX_H #include <linux/types.h> extern const char hex_asc[]; #define hex_asc_lo(x) hex_asc[((x) & 0x0f)] #define hex_asc_hi(x) hex_asc[((x) & 0xf0) >> 4] static inline char *hex_byte_pack(char *buf, u8 byte) { *buf++ = hex_asc_hi(byte); ...
Linux işletim sistemi çekirdeği için 'include/linux/openvswitch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2007-2011 Nicira Networks. */ #ifndef _LINUX_OPENVSWITCH_H #define _LINUX_OPENVSWITCH_H 1 #include <uapi/linux/openvswitch.h> #define OVS_CLONE_ATTR_EXEC 0 /* Specify an u32 value. When nonzero, * actions in clone will not change ...
Linux işletim sistemi çekirdeği için 'include/linux/highmem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_HIGHMEM_H #define _LINUX_HIGHMEM_H #include <linux/fs.h> #include <linux/kernel.h> #include <linux/bug.h> #include <linux/cacheflush.h> #include <linux/kmsan.h> #include <linux/mm.h> #include <linux/uaccess.h> #include <linux/hardirq.h> #include "highmem-inte...
Linux işletim sistemi çekirdeği için 'include/linux/atm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* atm.h - general ATM declarations */ #ifndef _LINUX_ATM_H #define _LINUX_ATM_H #include <uapi/linux/atm.h> #ifdef CONFIG_COMPAT #include <linux/compat.h> struct compat_atmif_sioc { int number; int length; compat_uptr_t arg; }; #endif #endif ```
Linux işletim sistemi çekirdeği için 'include/linux/page-flags-layout' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef PAGE_FLAGS_LAYOUT_H #define PAGE_FLAGS_LAYOUT_H #include <linux/numa.h> #include <generated/bounds.h> /* * When a memory allocation must conform to specific limitations (such * as being suitable for DMA) the caller will pass in hints to the * allocator in the gfp...
Linux işletim sistemi çekirdeği için 'include/linux/quota' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (c) 1982, 1986 Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * Robert Elz at The University of Melbourne. * * Redistribution and use in source and binary forms, with or without * modification, are permitted p...
Linux işletim sistemi çekirdeği için 'include/linux/crc-itu-t' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * crc-itu-t.h - CRC ITU-T V.41 routine * * Implements the standard CRC ITU-T V.41: * Width 16 * Poly 0x1021 (x^16 + x^12 + x^5 + 1) * Init 0 */ #ifndef CRC_ITU_T_H #define CRC_ITU_T_H #include <linux/types.h> extern u16 const crc_itu_t_table[256]; e...
Linux işletim sistemi çekirdeği için 'include/linux/clk-provider' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2010-2011 Jeremy Kerr <jeremy.kerr@canonical.com> * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org> */ #ifndef __LINUX_CLK_PROVIDER_H #define __LINUX_CLK_PROVIDER_H #include <linux/of.h> #include <linux/of_clk.h> /* * flags used across co...
Linux işletim sistemi çekirdeği için 'include/linux/highuid' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_HIGHUID_H #define _LINUX_HIGHUID_H #include <linux/types.h> /* * general notes: * * CONFIG_UID16 is defined if the given architecture needs to * support backwards compatibility for old system calls. * * kernel code should use uid_t and gid_t at all time...
Linux işletim sistemi çekirdeği için 'include/linux/hpet' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __HPET__ #define __HPET__ 1 #include <uapi/linux/hpet.h> /* * Offsets into HPET Registers */ struct hpet { u64 hpet_cap; /* capabilities */ u64 res0; /* reserved */ u64 hpet_config; /* configuration */ u64 res1; /* reserved */ u64 hpet_isr; /* interrupt...
Linux işletim sistemi çekirdeği için 'include/linux/refcount_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_REFCOUNT_TYPES_H #define _LINUX_REFCOUNT_TYPES_H #include <linux/types.h> /** * typedef refcount_t - variant of atomic_t specialized for reference counts * @refs: atomic_t counter field * * The counter saturates at REFCOUNT_SATURATED and will not move onc...
Linux işletim sistemi çekirdeği için 'include/linux/pci-ide' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common helpers for drivers (e.g. low-level PCI/TSM drivers) implementing the * IDE key management protocol (IDE_KM) as defined by: * PCIe r7.0 section 6.33 Integrity & Data Encryption (IDE) * * Copyright(c) 2024-2025 Intel Corporation. All rights reserved. */ #ifn...
Linux işletim sistemi çekirdeği için 'include/linux/resctrl_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2025 Arm Ltd. * Based on arch/x86/kernel/cpu/resctrl/internal.h */ #ifndef __LINUX_RESCTRL_TYPES_H #define __LINUX_RESCTRL_TYPES_H #define MAX_MBA_BW 100u #define MBM_OVERFLOW_INTERVAL 1000 /* Reads to Local DRAM Memory */ #define READS_TO_LOCAL_ME...
Linux işletim sistemi çekirdeği için 'include/linux/mpls' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MPLS_H #define _LINUX_MPLS_H #include <uapi/linux/mpls.h> #define MPLS_TTL_MASK (MPLS_LS_TTL_MASK >> MPLS_LS_TTL_SHIFT) #define MPLS_BOS_MASK (MPLS_LS_S_MASK >> MPLS_LS_S_SHIFT) #define MPLS_TC_MASK (MPLS_LS_TC_MASK >> MPLS_LS_TC_SHIFT) #define MPLS_LABEL_...
Linux işletim sistemi çekirdeği için 'include/linux/timecounter' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/include/linux/timecounter.h * * based on code that migrated away from * linux/include/linux/clocksource.h */ #ifndef _LINUX_TIMECOUNTER_H #define _LINUX_TIMECOUNTER_H #include <linux/types.h> /* simplify initialization of mask field */ #define CYCLE...
Linux işletim sistemi çekirdeği için 'include/linux/packing' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause * Copyright 2016-2018 NXP * Copyright (c) 2018-2019, Vladimir Oltean <olteanv@gmail.com> */ #ifndef _LINUX_PACKING_H #define _LINUX_PACKING_H #include <linux/array_size.h> #include <linux/bitops.h> #include <linux/build_bug.h> #include <linux/minmax.h> #include <linux/s...
Linux işletim sistemi çekirdeği için 'include/linux/slimbus' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2011-2017, The Linux Foundation */ #ifndef _LINUX_SLIMBUS_H #define _LINUX_SLIMBUS_H #include <linux/device.h> #include <linux/module.h> #include <linux/completion.h> #include <linux/mod_devicetable.h> extern const struct bus_type slimbus_bus; /** * stru...
Linux işletim sistemi çekirdeği için 'include/linux/pstore' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Persistent Storage - pstore.h * * Copyright (C) 2010 Intel Corporation <tony.luck@intel.com> * * This code is the generic layer to export data records from platform * level persistent storage via a file system. */ #ifndef _LINUX_PSTORE_H #define _LINUX_PSTORE...
Linux işletim sistemi çekirdeği için 'include/linux/mc33xs2410' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2024 Liebherr-Electronics and Drives GmbH */ #ifndef _MC33XS2410_H #define _MC33XS2410_H #include <linux/spi/spi.h> MODULE_IMPORT_NS("PWM_MC33XS2410"); int mc33xs2410_read_reg_ctrl(struct spi_device *spi, u8 reg, u16 *val); int mc33xs2410_read_reg_diag...
Linux işletim sistemi çekirdeği için 'include/linux/watchdog' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Generic watchdog defines. Derived from.. * * Berkshire PC Watchdog Defines * by Ken Hollis <khollis@bitgate.com> * */ #ifndef _LINUX_WATCHDOG_H #define _LINUX_WATCHDOG_H #include <linux/bitops.h> #include <linux/limits.h> #include <linux/notifier.h> #include <linu...
Linux işletim sistemi çekirdeği için 'include/linux/memory_hotplug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_MEMORY_HOTPLUG_H #define __LINUX_MEMORY_HOTPLUG_H #include <linux/mmzone.h> #include <linux/spinlock.h> #include <linux/notifier.h> #include <linux/bug.h> struct page; struct zone; struct pglist_data; struct mem_section; struct memory_group; struct resource;...
Linux işletim sistemi çekirdeği için 'include/linux/vdpa' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_VDPA_H #define _LINUX_VDPA_H #include <linux/kernel.h> #include <linux/device.h> #include <linux/interrupt.h> #include <linux/virtio.h> #include <linux/vhost_iotlb.h> #include <linux/virtio_net.h> #include <linux/virtio_blk.h> #include <linux/if_ether.h> /** ...
Linux işletim sistemi çekirdeği için 'include/linux/libgcc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/lib/libgcc.h */ #ifndef __LIB_LIBGCC_H #define __LIB_LIBGCC_H #include <asm/byteorder.h> typedef int word_type __attribute__ ((mode (__word__))); #ifdef __BIG_ENDIAN struct DWstruct { int high, low; }; #elif defined(__LITTLE_ENDIAN) struct DWstruc...
Linux işletim sistemi çekirdeği için 'include/linux/sm501-regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* sm501-regs.h * * Copyright 2006 Simtec Electronics * * Silicon Motion SM501 register definitions */ /* System Configuration area */ /* System config base */ #define SM501_SYS_CONFIG (0x000000) /* config 1 */ #define SM501_SYSTEM_CONTROL (0x000000) #define SM...
Linux işletim sistemi çekirdeği için 'include/linux/group_cpus' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Thomas Gleixner. * Copyright (C) 2016-2017 Christoph Hellwig. */ #ifndef __LINUX_GROUP_CPUS_H #define __LINUX_GROUP_CPUS_H #include <linux/kernel.h> #include <linux/cpu.h> struct cpumask *group_cpus_evenly(unsigned int numgrps, unsigned int *...
Linux işletim sistemi çekirdeği için 'include/linux/completion' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_COMPLETION_H #define __LINUX_COMPLETION_H /* * (C) Copyright 2001 Linus Torvalds * * Atomic wait-for-completion handler data structures. * See kernel/sched/completion.c for details. */ #include <linux/swait.h> /* * struct completion - structure used t...
Linux işletim sistemi çekirdeği için 'include/linux/seccomp_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SECCOMP_TYPES_H #define _LINUX_SECCOMP_TYPES_H #include <linux/types.h> #ifdef CONFIG_SECCOMP struct seccomp_filter; /** * struct seccomp - the state of a seccomp'ed process * * @mode: indicates one of the valid values above for controlled * sys...
Linux işletim sistemi çekirdeği için 'include/linux/nfsacl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * File: linux/nfsacl.h * * (C) 2003 Andreas Gruenbacher <agruen@suse.de> */ #ifndef __LINUX_NFSACL_H #define __LINUX_NFSACL_H #include <linux/posix_acl.h> #include <linux/sunrpc/xdr.h> #include <uapi/linux/nfsacl.h> /* Maximum number of ACL entries over NFS */ #defi...
Linux işletim sistemi çekirdeği için 'include/linux/hrtimer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * hrtimers - High-resolution kernel timers * * Copyright(C) 2005, Linutronix GmbH, Thomas Gleixner <tglx@kernel.org> * Copyright(C) 2005, Red Hat, Inc., Ingo Molnar * * data type definitions, declarations, prototypes * * Started by: Thomas Gleixner and Ingo Mol...
Linux işletim sistemi çekirdeği için 'include/linux/turris-signing-key' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * 2025 by Marek Behún <kabel@kernel.org> */ #ifndef __TURRIS_SIGNING_KEY_H #define __TURRIS_SIGNING_KEY_H #include <linux/key.h> #include <linux/types.h> struct device; #ifdef CONFIG_KEYS struct turris_signing_key_subtype { u16 key_size; u8 data_size; u8 sig_size;...
Linux işletim sistemi çekirdeği için 'include/linux/rtsx_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Driver for Realtek driver-based card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. * * Author: * Wei WANG <wei_wang@realsil.com.cn> */ #ifndef __RTSX_COMMON_H #define __RTSX_COMMON_H #define DRV_NAME_RTSX_PCI "rtsx_p...
Linux işletim sistemi çekirdeği için 'include/linux/hmm-dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Copyright (c) 2024 NVIDIA Corporation & Affiliates */ #ifndef LINUX_HMM_DMA_H #define LINUX_HMM_DMA_H #include <linux/dma-mapping.h> struct dma_iova_state; struct pci_p2pdma_map_state; /* * struct hmm_dma_map - array of PFNs and DMA addresses * * @state: DMA...
Linux işletim sistemi çekirdeği için 'include/linux/rpmsg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause */ /* * Remote processor messaging * * Copyright (C) 2011 Texas Instruments, Inc. * Copyright (C) 2011 Google, Inc. * All rights reserved. */ #ifndef _LINUX_RPMSG_H #define _LINUX_RPMSG_H #include <linux/types.h> #include <linux/device.h> #include <linux/err.h> #inc...
Linux işletim sistemi çekirdeği için 'include/linux/blk-crypto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright 2019 Google LLC */ #ifndef __LINUX_BLK_CRYPTO_H #define __LINUX_BLK_CRYPTO_H #include <linux/minmax.h> #include <linux/types.h> #include <uapi/linux/blk-crypto.h> enum blk_crypto_mode_num { BLK_ENCRYPTION_MODE_INVALID, BLK_ENCRYPTION_MODE_AES_256_XTS, B...
Linux işletim sistemi çekirdeği için 'include/linux/dnotify' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_DNOTIFY_H #define _LINUX_DNOTIFY_H /* * Directory notification for Linux * * Copyright (C) 2000,2002 Stephen Rothwell */ #include <linux/fs.h> struct dnotify_struct { struct dnotify_struct * dn_next; __u32 dn_mask; int dn_fd; struct file * dn_fil...
Linux işletim sistemi çekirdeği için 'include/linux/lapb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * These are the public elements of the Linux LAPB module. */ #ifndef LAPB_KERNEL_H #define LAPB_KERNEL_H #include <linux/skbuff.h> #include <linux/timer.h> struct net_device; #define LAPB_OK 0 #define LAPB_BADTOKEN 1 #define LAPB_INVALUE 2 #define LAPB_CONNECTED ...
Linux işletim sistemi çekirdeği için 'include/linux/rtsx_pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. All rights reserved. * * Author: * Wei WANG <wei_wang@realsil.com.cn> */ #ifndef __RTSX_PCI_H #define __RTSX_PCI_H #include <linux/sched.h> #include <linux/...
Linux işletim sistemi çekirdeği için 'include/linux/stm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * System Trace Module (STM) infrastructure apis * Copyright (C) 2014 Intel Corporation. */ #ifndef _STM_H_ #define _STM_H_ #include <linux/device.h> /** * enum stp_packet_type - STP packets that an STM driver sends */ enum stp_packet_type { STP_PACKET_DATA = 0, STP_...
Linux işletim sistemi çekirdeği için 'include/linux/dim' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* Copyright (c) 2019 Mellanox Technologies. */ #ifndef DIM_H #define DIM_H #include <linux/bits.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/types.h> #include <linux/workqueue.h> struct net_device; /* Number of DIM profiles and p...
Linux işletim sistemi çekirdeği için 'include/linux/if_macvlan' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IF_MACVLAN_H #define _LINUX_IF_MACVLAN_H #include <linux/if_link.h> #include <linux/if_vlan.h> #include <linux/list.h> #include <linux/netdevice.h> #include <linux/netlink.h> #include <net/netlink.h> #include <linux/u64_stats_sync.h> struct macvlan_port; #de...
Linux işletim sistemi çekirdeği için 'include/linux/assoc_array_priv' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Private definitions for the generic associative array implementation. * * See Documentation/core-api/assoc_array.rst for information. * * Copyright (C) 2013 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINU...
Linux işletim sistemi çekirdeği için 'include/linux/of_dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * OF helpers for DMA request / controller * * Based on of_gpio.h * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ */ #ifndef __LINUX_OF_DMA_H #define __LINUX_OF_DMA_H #include <linux/of.h> #include <linux/dmaengine.h> struct device_node; ...
Linux işletim sistemi çekirdeği için 'include/linux/regset' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * User-mode machine state access * * Copyright (C) 2007 Red Hat, Inc. All rights reserved. * * Red Hat Author: Roland McGrath. */ #ifndef _LINUX_REGSET_H #define _LINUX_REGSET_H 1 #include <linux/compiler.h> #include <linux/types.h> #include <linux/bug.h> #in...
Linux işletim sistemi çekirdeği için 'include/linux/misc_cgroup' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Miscellaneous cgroup controller. * * Copyright 2020 Google LLC * Author: Vipin Sharma <vipinsh@google.com> */ #ifndef _MISC_CGROUP_H_ #define _MISC_CGROUP_H_ /** * enum misc_res_type - Types of misc cgroup entries supported by the host. */ enum misc_res_type { #i...
Linux işletim sistemi çekirdeği için 'include/linux/cpuidle' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * cpuidle.h - a generic framework for CPU idle power management * * (C) 2007 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> * Shaohua Li <shaohua.li@intel.com> * Adam Belay <abelay@novell.com> * * This code is licenced under the GPL. */ #ifndef _LINUX_CPUIDLE_H #define _LINUX_CPU...
Linux işletim sistemi çekirdeği için 'include/linux/nfs_ssc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/linux/nfs_ssc.h * * Author: Dai Ngo <dai.ngo@oracle.com> * * Copyright (c) 2020, Oracle and/or its affiliates. */ #include <linux/nfs_fs.h> #include <linux/sunrpc/svc.h> extern struct nfs_ssc_client_ops_tbl nfs_ssc_client_tbl; /* * NFS_V4 */ struct nfs...
Linux işletim sistemi çekirdeği için 'include/linux/bpf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com */ #ifndef _LINUX_BPF_H #define _LINUX_BPF_H 1 #include <uapi/linux/bpf.h> #include <uapi/linux/filter.h> #include <crypto/sha2.h> #include <linux/workqueue.h> #include <linux/file.h> #include <linux/percpu.h> #...
Linux işletim sistemi çekirdeği için 'include/linux/btree' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef BTREE_H #define BTREE_H #include <linux/kernel.h> #include <linux/mempool.h> /** * DOC: B+Tree basics * * A B+Tree is a data structure for looking up arbitrary (currently allowing * unsigned long, u32, u64 and 2 * u64) keys into pointers. The data structure * i...
Linux işletim sistemi çekirdeği için 'include/linux/pgtable' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PGTABLE_H #define _LINUX_PGTABLE_H #include <linux/pfn.h> #include <asm/pgtable.h> #define PMD_ORDER (PMD_SHIFT - PAGE_SHIFT) #define PUD_ORDER (PUD_SHIFT - PAGE_SHIFT) #ifndef __ASSEMBLY__ #ifdef CONFIG_MMU #include <linux/mm_types.h> #include <linux/bug.h...
Linux işletim sistemi çekirdeği için 'include/linux/poll' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_POLL_H #define _LINUX_POLL_H #include <linux/compiler.h> #include <linux/ktime.h> #include <linux/wait.h> #include <linux/string.h> #include <linux/fs.h> #include <linux/uaccess.h> #include <uapi/linux/poll.h> #include <uapi/linux/eventpoll.h> /* ~832 bytes ...
Linux işletim sistemi çekirdeği için 'include/linux/qnx6_fs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Name : qnx6_fs.h * Author : Kai Bankett * Function : qnx6 global filesystem definitions * History : 17-01-2012 created */ #ifndef _LINUX_QNX6_FS_H #define _LINUX_QNX6_FS_H #include <linux/types.h> #include ...
Linux işletim sistemi çekirdeği için 'include/linux/stmmac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /******************************************************************************* Header file for stmmac platform data Copyright (C) 2009 STMicroelectronics Ltd Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> ************************************************...