instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'include/linux/io-64-nonatomic-hi-lo' 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_HI_LO_H_ #define _LINUX_IO_64_NONATOMIC_HI_LO_H_ #include <linux/io.h> #include <asm-generic/int-ll64.h> static inline __u64 hi_lo_readq(const volatile void __iomem *addr) { const volatile u32 __iomem *p = addr; u32 low, high; high = readl...
Linux işletim sistemi çekirdeği için 'include/linux/syscall_user_dispatch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020 Collabora Ltd. */ #ifndef _SYSCALL_USER_DISPATCH_H #define _SYSCALL_USER_DISPATCH_H #include <linux/thread_info.h> #include <linux/syscall_user_dispatch_types.h> #ifdef CONFIG_GENERIC_ENTRY int set_syscall_user_dispatch(unsigned long mode, unsigne...
Linux işletim sistemi çekirdeği için 'include/linux/hash' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _LINUX_HASH_H #define _LINUX_HASH_H /* Fast hashing routine for ints, longs and pointers. (C) 2002 Nadia Yvette Chambers, IBM */ #include <asm/types.h> #include <linux/compiler.h> /* * The "GOLDEN_RATIO_PRIME" is used in ifs/btrfs/brtfs_inode.h and * fs/inode.c. It's not actually prime any more (t...
Linux işletim sistemi çekirdeği için 'include/linux/local_lock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_LOCAL_LOCK_H #define _LINUX_LOCAL_LOCK_H #include <linux/local_lock_internal.h> /** * local_lock_init - Runtime initialize a lock instance * @lock: The lock variable */ #define local_lock_init(lock) __local_lock_init(lock) /** * local_lock - Acquire a p...
Linux işletim sistemi çekirdeği için 'include/linux/signal_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SIGNAL_TYPES_H #define _LINUX_SIGNAL_TYPES_H /* * Basic signal handling related data type definitions: */ #include <linux/types.h> #include <uapi/linux/signal.h> typedef struct kernel_siginfo { __SIGINFO; } kernel_siginfo_t; struct ucounts; /* * Real T...
Linux işletim sistemi çekirdeği için 'include/linux/array_size' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_ARRAY_SIZE_H #define _LINUX_ARRAY_SIZE_H #include <linux/compiler.h> /** * ARRAY_SIZE - get the number of elements in array @arr * @arr: array to be sized */ #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) /** * ARRAY_END ...
Linux işletim sistemi çekirdeği için 'include/linux/cciss_ioctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef CCISS_IOCTLH #define CCISS_IOCTLH #include <uapi/linux/cciss_ioctl.h> #ifdef CONFIG_COMPAT /* 32 bit compatible ioctl structs */ typedef struct _IOCTL32_Command_struct { LUNAddr_struct LUN_info; RequestBlock_struct Request; ErrorInfo_struct error...
Linux işletim sistemi çekirdeği için 'include/linux/prandom' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/linux/prandom.h * * Include file for the fast pseudo-random 32-bit * generation. */ #ifndef _LINUX_PRANDOM_H #define _LINUX_PRANDOM_H #include <linux/types.h> #include <linux/once.h> #include <linux/percpu.h> #include <linux/random.h> struct rnd_state { _...
Linux işletim sistemi çekirdeği için 'include/linux/pci-acpi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * File pci-acpi.h * * Copyright (C) 2004 Intel * Copyright (C) Tom Long Nguyen (tom.l.nguyen@intel.com) */ #ifndef _PCI_ACPI_H_ #define _PCI_ACPI_H_ #include <linux/acpi.h> #ifdef CONFIG_ACPI extern acpi_status pci_acpi_add_root_pm_notifier(struct acpi_device *dev...
Linux işletim sistemi çekirdeği için 'include/linux/pm_qos' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions related to Power Management Quality of Service (PM QoS). * * Copyright (C) 2020 Intel Corporation * * Authors: * Mark Gross <mgross@linux.intel.com> * Rafael J. Wysocki <rafael.j.wysocki@intel.com> */ #ifndef _LINUX_PM_QOS_H #define _LINUX_PM_QOS_H ...
Linux işletim sistemi çekirdeği için 'include/linux/dma-mapping' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_DMA_MAPPING_H #define _LINUX_DMA_MAPPING_H #include <linux/device.h> #include <linux/err.h> #include <linux/dma-direction.h> #include <linux/scatterlist.h> #include <linux/bug.h> #include <linux/cache.h> /* * List of possible attributes associated with a DMA...
Linux işletim sistemi çekirdeği için 'include/linux/i2c-dev' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* i2c-dev.h - i2c-bus driver, char device interface Copyright (C) 1995-97 Simon G. Vogl Copyright (C) 1998-99 Frodo Looijaard <frodol@dds.nl> */ #ifndef _LINUX_I2C_DEV_H #define _LINUX_I2C_DEV_H #include <uapi/linux/i2c-dev.h> #define I2C_MAJOR 89 /...
Linux işletim sistemi çekirdeği için 'include/linux/pid_namespace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PID_NS_H #define _LINUX_PID_NS_H #include <linux/sched.h> #include <linux/bug.h> #include <linux/mm.h> #include <linux/workqueue.h> #include <linux/threads.h> #include <linux/nsproxy.h> #include <linux/ns_common.h> #include <linux/idr.h> /* MAX_PID_NS_LEVEL i...
Linux işletim sistemi çekirdeği için 'include/linux/crc64' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CRC64_H #define _LINUX_CRC64_H #include <linux/types.h> /** * crc64_be - Calculate bitwise big-endian ECMA-182 CRC64 * @crc: seed value for computation. 0 or (u64)~0 for a new CRC calculation, * or the previous crc64 value if computing incrementally....
Linux işletim sistemi çekirdeği için 'include/linux/capability' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * This is <linux/capability.h> * * Andrew G. Morgan <morgan@kernel.org> * Alexander Kjeldaas <astor@guardian.no> * with help from Aleph1, Roland Buresund and Andrew Main. * * See here for the libcap library ("POSIX draft" compliance): * * ftp://www.kernel.org/pub/...
Linux işletim sistemi çekirdeği için 'include/linux/mhi_ep' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2022, Linaro Ltd. * */ #ifndef _MHI_EP_H_ #define _MHI_EP_H_ #include <linux/dma-direction.h> #include <linux/mhi.h> #define MHI_EP_DEFAULT_MTU 0x8000 /** * struct mhi_ep_channel_config - Channel configuration structure for controller * @name: The n...
Linux işletim sistemi çekirdeği için 'include/linux/ftrace_regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_FTRACE_REGS_H #define _LINUX_FTRACE_REGS_H /* * For archs that just copy pt_regs in ftrace regs, it can use this default. * If an architecture does not use pt_regs, it must define all the below * accessor functions. */ #ifndef HAVE_ARCH_FTRACE_REGS struct ...
Linux işletim sistemi çekirdeği için 'include/linux/synclink' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * SyncLink Multiprotocol Serial Adapter Driver * * $Id: synclink.h,v 3.14 2006/07/17 20:15:43 paulkf Exp $ * * Copyright (C) 1998-2000 by Microgate Corporation * * Redistribution of this file is permitted under * the terms of the GNU Public License (GPL) */ #ifndef _SYNCLINK_H_ #define _SYNCLINK_H_ #i...
Linux işletim sistemi çekirdeği için 'include/linux/hid-sensor-hub' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * HID Sensors Driver * Copyright (c) 2012, Intel Corporation. */ #ifndef _HID_SENSORS_HUB_H #define _HID_SENSORS_HUB_H #include <linux/hid.h> #include <linux/hid-sensor-ids.h> #include <linux/iio/iio.h> #include <linux/iio/trigger.h> /** * struct hid_sensor_hub_...
Linux işletim sistemi çekirdeği için 'include/linux/asn1' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* ASN.1 BER/DER/CER encoding definitions * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINUX_ASN1_H #define _LINUX_ASN1_H /* Class */ enum asn1_class { ASN1_UNIV = 0, /* Universal */ AS...
Linux işletim sistemi çekirdeği için 'include/linux/irq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IRQ_H #define _LINUX_IRQ_H /* * Please do not include this file in generic code. There is currently * no requirement for any architecture to implement anything held * within this file. * * Thanks. --rmk */ #include <linux/cache.h> #include <linux/spinl...
Linux işletim sistemi çekirdeği için 'include/linux/mutex_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_MUTEX_TYPES_H #define __LINUX_MUTEX_TYPES_H #include <linux/atomic.h> #include <linux/lockdep_types.h> #include <linux/osq_lock.h> #include <linux/spinlock_types.h> #include <linux/types.h> #ifndef CONFIG_PREEMPT_RT /* * Simple, straightforward mutexes wit...
Linux işletim sistemi çekirdeği için 'include/linux/phylib_stubs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Stubs for the Network PHY library */ #include <linux/rtnetlink.h> struct ethtool_eth_phy_stats; struct ethtool_link_ext_stats; struct ethtool_phy_stats; struct kernel_hwtstamp_config; struct netlink_ext_ack; struct phy_device; #if IS_ENABLED(CONFIG_PHYLIB) ...
Linux işletim sistemi çekirdeği için 'include/linux/ieee80211-mesh' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * IEEE 802.11 mesh definitions * * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen * <jkmaline@cc.hut.fi> * Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi> * Copyright (c) 2005, Devicescape Software, Inc. * Copyright (c) ...
Linux işletim sistemi çekirdeği için 'include/linux/debugfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * debugfs.h - a tiny little debug file system * * Copyright (C) 2004 Greg Kroah-Hartman <greg@kroah.com> * Copyright (C) 2004 IBM Inc. * * debugfs is for people to use instead of /proc or /sys. * See Documentation/filesystems/ for more details. */ #ifndef _DEBUG...
Linux işletim sistemi çekirdeği için 'include/linux/errseq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * See Documentation/core-api/errseq.rst and lib/errseq.c */ #ifndef _LINUX_ERRSEQ_H #define _LINUX_ERRSEQ_H typedef u32 errseq_t; errseq_t errseq_set(errseq_t *eseq, int err); errseq_t errseq_sample(errseq_t *eseq); int errseq_check(errseq_t *eseq, errseq_t since); int...
Linux işletim sistemi çekirdeği için 'include/linux/rcutree' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * Read-Copy Update mechanism for mutual exclusion (tree-based version) * * Copyright IBM Corporation, 2008 * * Author: Dipankar Sarma <dipankar@in.ibm.com> * Paul E. McKenney <paulmck@linux.ibm.com> Hierarchical algorithm * * Based on the original work by Paul ...
Linux işletim sistemi çekirdeği için 'include/linux/stmp3xxx_rtc_wdt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * stmp3xxx_rtc_wdt.h * * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K. */ #ifndef __LINUX_STMP3XXX_RTC_WDT_H #define __LINUX_STMP3XXX_RTC_WDT_H struct stmp3xxx_wdt_pdata { void (*wdt_set_timeout)(struct device *dev, u32 timeout); }; #endif /* __LINUX_STMP3X...
Linux işletim sistemi çekirdeği için 'include/linux/if_phonet' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * File: if_phonet.h * * Phonet interface kernel definitions * * Copyright (C) 2008 Nokia Corporation. All rights reserved. */ #ifndef LINUX_IF_PHONET_H #define LINUX_IF_PHONET_H #include <uapi/linux/if_phonet.h> extern const struct header_ops phonet_header_ops; #en...
Linux işletim sistemi çekirdeği için 'include/linux/migrate' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MIGRATE_H #define _LINUX_MIGRATE_H #include <linux/mm.h> #include <linux/mempolicy.h> #include <linux/migrate_mode.h> #include <linux/hugetlb.h> typedef struct folio *new_folio_t(struct folio *folio, unsigned long private); typedef void free_folio_t(struct fo...
Linux işletim sistemi çekirdeği için 'include/linux/rslib' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* * Generic Reed Solomon encoder / decoder library * * Copyright (C) 2004 Thomas Gleixner (tglx@kernel.org) * * RS code lifted from reed solomon library written by Phil Karn * Copyright 2002 Phil Karn, KA9Q */ #ifndef _RSLIB_H_ #define _RSLIB_H_ #include <linux/types.h>...
Linux işletim sistemi çekirdeği için 'include/linux/cpu_cooling' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/include/linux/cpu_cooling.h * * Copyright (C) 2012 Samsung Electronics Co., Ltd(http://www.samsung.com) * Copyright (C) 2012 Amit Daniel <amit.kachhap@linaro.org> * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * ~~...
Linux işletim sistemi çekirdeği için 'include/linux/list_private' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2025, Google LLC. * Pasha Tatashin <pasha.tatashin@soleen.com> */ #ifndef _LINUX_LIST_PRIVATE_H #define _LINUX_LIST_PRIVATE_H /** * DOC: Private List Primitives * * Provides a set of list primitives identical in function to those in * ``<linux/list...
Linux işletim sistemi çekirdeği için 'include/linux/ksm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_KSM_H #define __LINUX_KSM_H /* * Memory merging support. * * This code enables dynamic sharing of identical pages found in different * memory areas, even if they are not shared by fork(). */ #include <linux/bitops.h> #include <linux/mm.h> #include <linux...
Linux işletim sistemi çekirdeği için 'include/linux/interval_tree_generic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Interval Trees (C) 2012 Michel Lespinasse <walken@google.com> include/linux/interval_tree_generic.h */ #include <linux/rbtree_augmented.h> /* * Template for implementing interval trees * * ITSTRUCT: struct type of the interval tree nodes * ITRB: ...
Linux işletim sistemi çekirdeği için 'include/linux/i8253' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Machine specific IO port address definition for generic. * Written by Osamu Tomita <tomita@cinet.co.jp> */ #ifndef __LINUX_I8253_...
Linux işletim sistemi çekirdeği için 'include/linux/sem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SEM_H #define _LINUX_SEM_H #include <uapi/linux/sem.h> #include <linux/sem_types.h> struct task_struct; #ifdef CONFIG_SYSVIPC extern int copy_semundo(u64 clone_flags, struct task_struct *tsk); extern void exit_sem(struct task_struct *tsk); #else static in...
Linux işletim sistemi çekirdeği için 'include/linux/nsc_gpio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /** nsc_gpio.c National Semiconductor GPIO common access methods. struct nsc_gpio_ops abstracts the low-level access operations for the GPIO units on 2 NSC chip families; the GEODE integrated CPU, and the PC-8736[03456] integrated PC-peripheral chips. ...
Linux işletim sistemi çekirdeği için 'include/linux/nospec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 // Copyright(c) 2018 Linus Torvalds. All rights reserved. // Copyright(c) 2018 Alexei Starovoitov. All rights reserved. // Copyright(c) 2018 Intel Corporation. All rights reserved. #ifndef _LINUX_NOSPEC_H #define _LINUX_NOSPEC_H #include <linux/compiler.h> #include <asm/barrie...
Linux işletim sistemi çekirdeği için 'include/linux/filter' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Linux Socket Filter Data Structures */ #ifndef __LINUX_FILTER_H__ #define __LINUX_FILTER_H__ #include <linux/atomic.h> #include <linux/bpf.h> #include <linux/refcount.h> #include <linux/compat.h> #include <linux/skbuff.h> #include <linux/linkage.h> #include <linux/pri...
Linux işletim sistemi çekirdeği için 'include/linux/ascii85' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * SPDX-License-Identifier: GPL-2.0 * * Copyright (c) 2008 Intel Corporation * Copyright (c) 2018 The Linux Foundation. All rights reserved. */ #ifndef _ASCII85_H_ #define _ASCII85_H_ #include <linux/math.h> #include <linux/types.h> #define ASCII85_BUFSZ 6 static inline long ascii85_encode_len(long len)...
Linux işletim sistemi çekirdeği için 'include/linux/ioport' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * ioport.h Definitions of routines for detecting, reserving and * allocating system resources. * * Authors: Linus Torvalds */ #ifndef _LINUX_IOPORT_H #define _LINUX_IOPORT_H #ifndef __ASSEMBLY__ #include <linux/args.h> #include <linux/bits.h> #include <linux/compil...
Linux işletim sistemi çekirdeği için 'include/linux/agp_backend' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * AGPGART backend specific includes. Not for userspace consumption. * * Copyright (C) 2004 Silicon Graphics, Inc. * Copyright (C) 2002-2003 Dave Jones * Copyright (C) 1999 Jeff Hartmann * Copyright (C) 1999 Precision Insight, Inc. * Copyright (C) 1999 Xi Graphics, Inc. * * Permission is hereby granted,...
Linux işletim sistemi çekirdeği için 'include/linux/fsl_ifc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Freescale Integrated Flash Controller * * Copyright 2011 Freescale Semiconductor, Inc * * Author: Dipen Dudhat <dipen.dudhat@freescale.com> */ #ifndef __ASM_FSL_IFC_H #define __ASM_FSL_IFC_H #include <linux/compiler.h> #include <linux/types.h> #include <lin...
Linux işletim sistemi çekirdeği için 'include/linux/sockptr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2020 Christoph Hellwig. * * Support for "universal" pointers that can point to either kernel or userspace * memory. */ #ifndef _LINUX_SOCKPTR_H #define _LINUX_SOCKPTR_H #include <linux/slab.h> #include <linux/uaccess.h> typedef struct { union {...
Linux işletim sistemi çekirdeği için 'include/linux/keyboard' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_KEYBOARD_H #define __LINUX_KEYBOARD_H #include <uapi/linux/keyboard.h> struct notifier_block; extern unsigned short *key_maps[MAX_NR_KEYMAPS]; extern unsigned short plain_map[NR_KEYS]; struct keyboard_notifier_param { struct vc_data *vc; /* VC on which the...
Linux işletim sistemi çekirdeği için 'include/linux/iopoll' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved. */ #ifndef _LINUX_IOPOLL_H #define _LINUX_IOPOLL_H #include <linux/kernel.h> #include <linux/types.h> #include <linux/ktime.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/io...
Linux işletim sistemi çekirdeği için 'include/linux/phy_port' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __PHY_PORT_H #define __PHY_PORT_H #include <linux/ethtool.h> #include <linux/types.h> #include <linux/phy.h> struct phy_port; /** * enum phy_port_parent - The device this port is attached to * * @PHY_PORT_PHY: Indicates that the port is driven by a PHY...
Linux işletim sistemi çekirdeği için 'include/linux/cgroup-defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * linux/cgroup-defs.h - basic definitions for cgroup * * This file provides basic type and interface. Include this file directly * only if necessary to avoid cyclic dependencies. */ #ifndef _LINUX_CGROUP_DEFS_H #define _LINUX_CGROUP_DEFS_H #include <linux/limits.h> ...
Linux işletim sistemi çekirdeği için 'include/linux/file' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Wrapper functions for accessing the file_struct fd array. */ #ifndef __LINUX_FILE_H #define __LINUX_FILE_H #include <linux/compiler.h> #include <linux/types.h> #include <linux/posix_types.h> #include <linux/errno.h> #include <linux/cleanup.h> #include <linux/err.h> ...
Linux işletim sistemi çekirdeği için 'include/linux/printk' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __KERNEL_PRINTK__ #define __KERNEL_PRINTK__ #include <linux/stdarg.h> #include <linux/init.h> #include <linux/kern_levels.h> #include <linux/linkage.h> #include <linux/ratelimit_types.h> #include <linux/once_lite.h> struct console; extern const char linux_banner[];...
Linux işletim sistemi çekirdeği için 'include/linux/devpts_fs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* -*- linux-c -*- --------------------------------------------------------- * * * linux/include/linux/devpts_fs.h * * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved * * ------------------------------------------------------------------------- */ #...
Linux işletim sistemi çekirdeği için 'include/linux/sw842' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SW842_H__ #define __SW842_H__ #define SW842_MEM_COMPRESS (0xf000) int sw842_compress(const u8 *src, unsigned int srclen, u8 *dst, unsigned int *destlen, void *wmem); int sw842_decompress(const u8 *src, unsigned int srclen, u8 *dst, unsigned int *destl...
Linux işletim sistemi çekirdeği için 'include/linux/preempt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_PREEMPT_H #define __LINUX_PREEMPT_H /* * include/linux/preempt.h - macros for accessing and manipulating * preempt_count (used for kernel preemption, interrupt count, etc.) */ #include <linux/linkage.h> #include <linux/cleanup.h> #include <linux/types.h> ...
Linux işletim sistemi çekirdeği için 'include/linux/apm-emulation' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- * * (C) 2003 zecke@handhelds.org * * based on arch/arm/kernel/apm.c * factor out the information needed by architectures to provide * apm status */ #ifndef __LINUX_APM_EMULATION_H #define __LINUX_APM_EMULATION_H #include <linux/apm_bios.h> /* ...
Linux işletim sistemi çekirdeği için 'include/linux/led-class-flash' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * LED Flash class interface * * Copyright (C) 2015 Samsung Electronics Co., Ltd. * Author: Jacek Anaszewski <j.anaszewski@samsung.com> */ #ifndef __LINUX_FLASH_LEDS_H_INCLUDED #define __LINUX_FLASH_LEDS_H_INCLUDED #include <linux/leds.h> struct device_node; str...
Linux işletim sistemi çekirdeği için 'include/linux/syslog' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Syslog internals * * Copyright 2010 Canonical, Ltd. * Author: Kees Cook <kees.cook@canonical.com> */ #ifndef _LINUX_SYSLOG_H #define _LINUX_SYSLOG_H #include <linux/wait.h> /* Close the log. Currently a NOP. */ #define SYSLOG_ACTION_CLOSE 0 /* ...
Linux işletim sistemi çekirdeği için 'include/linux/ieee80211-s1g' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * IEEE 802.11 S1G definitions * * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen * <jkmaline@cc.hut.fi> * Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi> * Copyright (c) 2005, Devicescape Software, Inc. * Copyright (c) 2...
Linux işletim sistemi çekirdeği için 'include/linux/user_events' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2022, Microsoft Corporation. * * Authors: * Beau Belgrave <beaub@linux.microsoft.com> */ #ifndef _LINUX_USER_EVENTS_H #define _LINUX_USER_EVENTS_H #include <linux/list.h> #include <linux/refcount.h> #include <linux/mm_types.h> #include <linux/...
Linux işletim sistemi çekirdeği için 'include/linux/spmi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. */ #ifndef _LINUX_SPMI_H #define _LINUX_SPMI_H #include <linux/types.h> #include <linux/device.h> #include <linux/mod_devicetable.h> /* Maximum slave identifier */ #define SPMI_MAX_SLAVE_ID 16 /*...
Linux işletim sistemi çekirdeği için 'include/linux/hil' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _HIL_H_ #define _HIL_H_ /* * Hewlett Packard Human Interface Loop (HP-HIL) Protocol -- header. * * Copyright (c) 2001 Brian S. Julin * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ...
Linux işletim sistemi çekirdeği için 'include/linux/efi-bgrt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_EFI_BGRT_H #define _LINUX_EFI_BGRT_H #include <linux/acpi.h> #ifdef CONFIG_ACPI_BGRT void efi_bgrt_init(struct acpi_table_header *table); int __init acpi_parse_bgrt(struct acpi_table_header *table); /* The BGRT data itself; only valid if bgrt_image != NULL....
Linux işletim sistemi çekirdeği için 'include/linux/intel_pmt_features' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FEATURES_H #define _FEATURES_H #include <linux/bits.h> #include <linux/types.h> /* Common masks */ #define PMT_CAP_TELEM BIT(0) #define PMT_CAP_WATCHER BIT(1) #define PMT_CAP_CRASHLOG BIT(2) #define PMT_CAP_STREAMING BIT(3) #define PMT_CAP_THRESHOLD BIT(4) #...
Linux işletim sistemi çekirdeği için 'include/linux/text-patching' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_TEXT_PATCHING_H #define _LINUX_TEXT_PATCHING_H #include <asm/text-patching.h> #ifndef text_poke_copy static inline void *text_poke_copy(void *dst, const void *src, size_t len) { return memcpy(dst, src, len); } #define text_poke_copy text_poke_copy #endif #e...
Linux işletim sistemi çekirdeği için 'include/linux/nsproxy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_NSPROXY_H #define _LINUX_NSPROXY_H #include <linux/refcount.h> #include <linux/spinlock.h> #include <linux/sched.h> struct mnt_namespace; struct uts_namespace; struct ipc_namespace; struct pid_namespace; struct cgroup_namespace; struct fs_struct; /* * A str...
Linux işletim sistemi çekirdeği için 'include/linux/rational' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * rational fractions * * Copyright (C) 2009 emlix GmbH, Oskar Schirmer <oskar@scara.com> * * helper functions when coping with rational numbers, * e.g. when calculating optimum numerator/denominator pairs for * pll configuration taking into account restricted regist...
Linux işletim sistemi çekirdeği için 'include/linux/fs_pin' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/wait.h> struct fs_pin { wait_queue_head_t wait; int done; struct hlist_node s_list; struct hlist_node m_list; void (*kill)(struct fs_pin *); }; struct vfsmount; static inline void init_fs_pin(struct fs_pin *p, void (*kill)(struct fs_pin *)) { init_w...
Linux işletim sistemi çekirdeği için 'include/linux/rio_ids' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * RapidIO devices * * Copyright 2005 MontaVista Software, Inc. * Matt Porter <mporter@kernel.crashing.org> */ #ifndef LINUX_RIO_IDS_H #define LINUX_RIO_IDS_H #define RIO_VID_IDT 0x0038 #define RIO_DID_IDT70K200 0x0310 #define RIO_DID_IDTCPS8 0x035c #de...
Linux işletim sistemi çekirdeği için 'include/linux/mod_devicetable' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Device tables which are exported to userspace via * scripts/mod/file2alias.c. You must keep that file in sync with this * header. */ #ifndef LINUX_MOD_DEVICETABLE_H #define LINUX_MOD_DEVICETABLE_H #ifdef __KERNEL__ #include <linux/mei.h> #include <linux/types.h> #...
Linux işletim sistemi çekirdeği için 'include/linux/hdlc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Generic HDLC support routines for Linux * * Copyright (C) 1999-2005 Krzysztof Halasa <khc@pm.waw.pl> */ #ifndef __HDLC_H #define __HDLC_H #include <linux/skbuff.h> #include <linux/netdevice.h> #include <linux/hdlc/ioctl.h> #include <uapi/linux/hdlc.h> /* This...
Linux işletim sistemi çekirdeği için 'include/linux/input' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 1999-2002 Vojtech Pavlik */ #ifndef _INPUT_H #define _INPUT_H #include <linux/time.h> #include <linux/list.h> #include <uapi/linux/input.h> /* Implementation details, userspace should not care about these */ #define ABS_MT_FIRST ABS_MT_TOUCH_MAJOR ...
Linux işletim sistemi çekirdeği için 'include/linux/pageblock-flags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Macros for manipulating and testing flags related to a * pageblock_nr_pages number of pages. * * Copyright (C) IBM Corporation, 2006 * * Original author, Mel Gorman * Major cleanups and reduction of bit operations, Andy Whitcroft */ #ifndef PAGEBLOCK_FLAGS_H...
Linux işletim sistemi çekirdeği için 'include/linux/rio_regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * RapidIO register definitions * * Copyright 2005 MontaVista Software, Inc. * Matt Porter <mporter@kernel.crashing.org> */ #ifndef LINUX_RIO_REGS_H #define LINUX_RIO_REGS_H /* * In RapidIO, each device has a 16MB configuration space that is * accessed via...
Linux işletim sistemi çekirdeği için 'include/linux/timeriomem-rng' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/include/linux/timeriomem-rng.h * * Copyright (c) 2009 Alexander Clouter <alex@digriz.org.uk> */ #ifndef _LINUX_TIMERIOMEM_RNG_H #define _LINUX_TIMERIOMEM_RNG_H struct timeriomem_rng_data { void __iomem *address; /* measures in usecs */ unsigned int ...
Linux işletim sistemi çekirdeği için 'include/linux/context_tracking_state' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CONTEXT_TRACKING_STATE_H #define _LINUX_CONTEXT_TRACKING_STATE_H #include <linux/percpu.h> #include <linux/static_key.h> #include <linux/context_tracking_irq.h> /* Offset to allow distinguishing irq vs. task-based idle entry/exit. */ #define CT_NESTING_IRQ_NO...
Linux işletim sistemi çekirdeği için 'include/linux/tty_port' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_TTY_PORT_H #define _LINUX_TTY_PORT_H #include <linux/kfifo.h> #include <linux/kref.h> #include <linux/mutex.h> #include <linux/tty_buffer.h> #include <linux/wait.h> struct attribute_group; struct tty_driver; struct tty_port; struct tty_struct; /** * struct ...
Linux işletim sistemi çekirdeği için 'include/linux/vfio_pci_core' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Red Hat, Inc. All rights reserved. * Author: Alex Williamson <alex.williamson@redhat.com> * * Derived from original vfio: * Copyright 2010 Cisco Systems, Inc. All rights reserved. * Author: Tom Lyon, pugs@cisco.com */ #include <linux...
Linux işletim sistemi çekirdeği için 'include/linux/resume_user_mode' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef LINUX_RESUME_USER_MODE_H #define LINUX_RESUME_USER_MODE_H #include <linux/sched.h> #include <linux/task_work.h> #include <linux/memcontrol.h> #include <linux/rseq.h> #include <linux/blk-cgroup.h> /** * set_notify_resume - cause resume_user_mode_work() to be c...
Linux işletim sistemi çekirdeği için 'include/linux/connector' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * connector.h * * 2004-2005 Copyright (c) Evgeniy Polyakov <zbr@ioremap.net> * All rights reserved. */ #ifndef __CONNECTOR_H #define __CONNECTOR_H #include <linux/refcount.h> #include <linux/list.h> #include <linux/workqueue.h> #include <net/sock.h> #in...
Linux işletim sistemi çekirdeği için 'include/linux/lsm_audit' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common LSM logging functions * Heavily borrowed from selinux/avc.h * * Author : Etienne BASSET <etienne.basset@ensta.org> * * All credits to : Stephen Smalley * All BUGS to : Etienne BASSET <etienne.basset@ensta.org> */ #ifndef _LSM_COMMON_LOGGING_ #define _LSM...
Linux işletim sistemi çekirdeği için 'include/linux/tifm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * tifm.h - TI FlashMedia driver * * Copyright (C) 2006 Alex Dubov <oakad@yahoo.com> */ #ifndef _TIFM_H #define _TIFM_H #include <linux/spinlock.h> #include <linux/interrupt.h> #include <linux/delay.h> #include <linux/pci.h> #include <linux/workqueue.h> /* Hos...
Linux işletim sistemi çekirdeği için 'include/linux/siox' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Pengutronix, Uwe Kleine-König <kernel@pengutronix.de> */ #include <linux/device.h> #define to_siox_device(_dev) container_of((_dev), struct siox_device, dev) struct siox_device { struct list_head node; /* node in smaster->devices */ struct s...
Linux işletim sistemi çekirdeği için 'include/linux/trace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_TRACE_H #define _LINUX_TRACE_H #define TRACE_EXPORT_FUNCTION BIT(0) #define TRACE_EXPORT_EVENT BIT(1) #define TRACE_EXPORT_MARKER BIT(2) /* * The trace export - an export of Ftrace output. The trace_export * can process traces and export them to a registere...
Linux işletim sistemi çekirdeği için 'include/linux/hmm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2013 Red Hat Inc. * * Authors: Jérôme Glisse <jglisse@redhat.com> * * See Documentation/mm/hmm.rst for reasons and overview of what HMM is. */ #ifndef LINUX_HMM_H #define LINUX_HMM_H #include <linux/mm.h> struct mmu_interval_notifier; /* * On...
Linux işletim sistemi çekirdeği için 'include/linux/rpmb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2015-2019 Intel Corp. All rights reserved * Copyright (C) 2021-2022 Linaro Ltd */ #ifndef __RPMB_H__ #define __RPMB_H__ #include <linux/device.h> #include <linux/types.h> /** * enum rpmb_type - type of underlying storage technology * * @RPMB_TYPE_EM...
Linux işletim sistemi çekirdeği için 'include/linux/gfp_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_GFP_TYPES_H #define __LINUX_GFP_TYPES_H #include <linux/bits.h> /* The typedef is in types.h but we want the documentation here */ #if 0 /** * typedef gfp_t - Memory allocation flags. * * GFP flags are commonly used throughout Linux to indicate how memory...
Linux işletim sistemi çekirdeği için 'include/linux/sys' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SYS_H #define _LINUX_SYS_H /* * This file is no longer used or needed */ /* * These are system calls that will be removed at some time * due to newer versions existing.. * (please be careful - ibcs2 may need some of these). */ #ifdef notdef #define _sys...
Linux işletim sistemi çekirdeği için 'include/linux/xarray' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LINUX_XARRAY_H #define _LINUX_XARRAY_H /* * eXtensible Arrays * Copyright (c) 2017 Microsoft Corporation * Author: Matthew Wilcox <willy@infradead.org> * * See Documentation/core-api/xarray.rst for how to use the XArray. */ #include <linux/bitmap.h> #include ...
Linux işletim sistemi çekirdeği için 'include/linux/async' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * async.h: Asynchronous function calls for boot performance * * (C) Copyright 2009 Intel Corporation * Author: Arjan van de Ven <arjan@linux.intel.com> */ #ifndef __ASYNC_H__ #define __ASYNC_H__ #include <linux/types.h> #include <linux/list.h> #include <linux/nu...
Linux işletim sistemi çekirdeği için 'include/linux/inotify' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Inode based directory notification for Linux * * Copyright (C) 2005 John McCutchan */ #ifndef _LINUX_INOTIFY_H #define _LINUX_INOTIFY_H #include <uapi/linux/inotify.h> #define ALL_INOTIFY_BITS (IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | \ IN_CLOSE_NO...
Linux işletim sistemi çekirdeği için 'include/linux/fwnode_mdio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * FWNODE helper for the MDIO (Ethernet PHY) API */ #ifndef __LINUX_FWNODE_MDIO_H #define __LINUX_FWNODE_MDIO_H #include <linux/phy.h> #if IS_ENABLED(CONFIG_FWNODE_MDIO) int fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy...
Linux işletim sistemi çekirdeği için 'include/linux/fault-inject-usercopy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_FAULT_INJECT_USERCOPY_H__ #define __LINUX_FAULT_INJECT_USERCOPY_H__ /* * This header provides a wrapper for injecting failures to user space memory * access functions. */ #include <linux/types.h> #ifdef CONFIG_FAULT_INJECTION_USERCOPY bool should_fail_u...
Linux işletim sistemi çekirdeği için 'include/linux/mman' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MMAN_H #define _LINUX_MMAN_H #include <linux/fs.h> #include <linux/mm.h> #include <linux/percpu_counter.h> #include <linux/atomic.h> #include <uapi/linux/mman.h> /* * Arrange for legacy / undefined architecture specific flags to be * ignored by mmap handli...
Linux işletim sistemi çekirdeği için 'include/linux/unaligned' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_UNALIGNED_H #define __LINUX_UNALIGNED_H /* * This is the most generic implementation of unaligned accesses * and should work almost anywhere. */ #include <linux/unaligned/packed_struct.h> #include <asm/byteorder.h> #include <vdso/unaligned.h> #define get_...
Linux işletim sistemi çekirdeği için 'include/linux/armada-37xx-rwtm-mailbox' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * rWTM BIU Mailbox driver for Armada 37xx * * Author: Marek Behún <kabel@kernel.org> */ #ifndef _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_ #define _LINUX_ARMADA_37XX_RWTM_MAILBOX_H_ #include <linux/types.h> struct armada_37xx_rwtm_tx_msg { u16 command; u32 args[16]; }; ...
Linux işletim sistemi çekirdeği için 'include/linux/objagg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ /* Copyright (c) 2018 Mellanox Technologies. All rights reserved */ #ifndef _OBJAGG_H #define _OBJAGG_H struct objagg_ops { size_t obj_size; bool (*delta_check)(void *priv, const void *parent_obj, const void *obj); void * (*delta_create)(void *priv...
Linux işletim sistemi çekirdeği için 'include/linux/leds-bd2802' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * leds-bd2802.h - RGB LED Driver * * Copyright (C) 2009 Samsung Electronics * Kim Kyuwon <q1.kim@samsung.com> * * Datasheet: http://www.rohm.com/products/databook/driver/pdf/bd2802gu-e.pdf */ #ifndef _LEDS_BD2802_H_ #define _LEDS_BD2802_H_ struct bd2802_led_pl...
Linux işletim sistemi çekirdeği için 'include/linux/codetag' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * code tagging framework */ #ifndef _LINUX_CODETAG_H #define _LINUX_CODETAG_H #include <linux/types.h> struct codetag_iterator; struct codetag_type; struct codetag_module; struct seq_buf; struct module; #define CODETAG_SECTION_START_PREFIX "__start_" #define CODETAG_S...
Linux işletim sistemi çekirdeği için 'include/linux/sysrq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* -*- linux-c -*- * * $Id: sysrq.h,v 1.3 1997/07/17 11:54:33 mj Exp $ * * Linux Magic System Request Key Hacks * * (c) 1997 Martin Mares <mj@atrey.karlin.mff.cuni.cz> * * (c) 2000 Crutcher Dunnavant <crutcher+kernel@datastacks.com> * overhauled to use key registrati...
Linux işletim sistemi çekirdeği için 'include/linux/pci-pwrctrl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2024 Linaro Ltd. */ #ifndef __PCI_PWRCTRL_H__ #define __PCI_PWRCTRL_H__ #include <linux/notifier.h> #include <linux/workqueue.h> struct device; struct device_link; /* * This is a simple framework for solving the issue of PCI devices that require...