instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'include/linux/call_once' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _LINUX_CALL_ONCE_H #define _LINUX_CALL_ONCE_H #include <linux/types.h> #include <linux/mutex.h> #define ONCE_NOT_STARTED 0 #define ONCE_RUNNING 1 #define ONCE_COMPLETED 2 struct once { atomic_t state; struct mutex lock; }; static inline void __once_init(struct once *once, const ch...
Linux işletim sistemi çekirdeği için 'include/linux/tcp' 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 TCP protocol. * * Version: @(#)tcp....
Linux işletim sistemi çekirdeği için 'include/linux/wireless' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * This file define a set of standard wireless extensions * * Version : 22 16.3.07 * * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved. */ #ifndef _LINUX_WIRELESS_H #define _LINUX_WIRELESS_H #include <...
Linux işletim sistemi çekirdeği için 'include/linux/damon' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * DAMON api * * Author: SeongJae Park <sj@kernel.org> */ #ifndef _DAMON_H_ #define _DAMON_H_ #include <linux/memcontrol.h> #include <linux/mutex.h> #include <linux/time64.h> #include <linux/types.h> #include <linux/random.h> /* Minimal region size. Every damon_regi...
Linux işletim sistemi çekirdeği için 'include/linux/serial_sci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_SERIAL_SCI_H #define __LINUX_SERIAL_SCI_H #include <linux/bitops.h> #include <linux/serial_core.h> #include <linux/sh_dma.h> /* * Generic header for SuperH (H)SCI(F) (used by sh/sh64 and related parts) */ /* Serial Control Register (@ = not supported by a...
Linux işletim sistemi çekirdeği için 'include/linux/page_reporting' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PAGE_REPORTING_H #define _LINUX_PAGE_REPORTING_H #include <linux/mmzone.h> #include <linux/scatterlist.h> /* This value should always be a power of 2, see page_reporting_cycle() */ #define PAGE_REPORTING_CAPACITY 32 #define PAGE_REPORTING_ORDER_UNSPECIFIED -...
Linux işletim sistemi çekirdeği için 'include/linux/irq_work' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IRQ_WORK_H #define _LINUX_IRQ_WORK_H #include <linux/irq_work_types.h> #include <linux/rcuwait.h> #include <linux/smp_types.h> /* * An entry can be in one of four states: * * free NULL, 0 -> {claimed} : free to be used * claimed NULL, 3 -> {p...
Linux işletim sistemi çekirdeği için 'include/linux/usbdevice_fs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0+ /*****************************************************************************/ /* * usbdevice_fs.h -- USB device file system. * * Copyright (C) 2000 * Thomas Sailer (sailer@ife.ee.ethz.ch) * * This program is free software; you can redistribute it and/or modi...
Linux işletim sistemi çekirdeği için 'include/linux/ppp_channel' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _PPP_CHANNEL_H_ #define _PPP_CHANNEL_H_ /* * Definitions for the interface between the generic PPP code * and a PPP channel. * * A PPP channel provides a way for the generic PPP code to send * and receive packets over some sort of communications medium. ...
Linux işletim sistemi çekirdeği için 'include/linux/irqflags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/linux/irqflags.h * * IRQ flags tracing: follow the state of the hardirq and softirq flags and * provide callbacks for transitions between ON and OFF states. * * This file gets included from lowlevel asm headers too, to provide * wrapped versions of the loc...
Linux işletim sistemi çekirdeği için 'include/linux/fsverity' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * fs-verity: read-only file-based authenticity protection * * This header declares the interface between the fs/verity/ support layer and * filesystems that support fs-verity. * * Copyright 2019 Google LLC */ #ifndef _LINUX_FSVERITY_H #define _LINUX_FSVERITY_H #in...
Linux işletim sistemi çekirdeği için 'include/linux/nvme-auth' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2021 Hannes Reinecke, SUSE Software Solutions */ #ifndef _NVME_AUTH_H #define _NVME_AUTH_H #include <crypto/kpp.h> #include <crypto/sha2.h> struct nvme_dhchap_key { size_t len; u8 hash; u8 key[] __counted_by(len); }; u32 nvme_auth_get_seqnum(void);...
Linux işletim sistemi çekirdeği için 'include/linux/lockref' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_LOCKREF_H #define __LINUX_LOCKREF_H /* * Locked reference counts. * * These are different from just plain atomic refcounts in that they * are atomic with respect to the spinlock that goes with them. In * particular, there can be implementations that don...
Linux işletim sistemi çekirdeği için 'include/linux/glob' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_GLOB_H #define _LINUX_GLOB_H #include <linux/types.h> /* For bool */ #include <linux/compiler.h> /* For __pure */ bool __pure glob_match(char const *pat, char const *str); #endif /* _LINUX_GLOB_H */ ```
Linux işletim sistemi çekirdeği için 'include/linux/iscsi_ibft' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2007 Red Hat, Inc. * by Peter Jones <pjones@redhat.com> * Copyright 2007 IBM, Inc. * by Konrad Rzeszutek <konradr@linux.vnet.ibm.com> * Copyright 2008 * by Konrad Rzeszutek <ketuzsezr@darnok.org> * * This code exposes the iSCSI Boot Format Ta...
Linux işletim sistemi çekirdeği için 'include/linux/dtlk' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #define DTLK_MINOR 0 #define DTLK_IO_EXTENT 0x02 /* ioctl's use magic number of 0xa3 */ #define DTLK_INTERROGATE 0xa390 /* get settings from the DoubleTalk */ #define DTLK_STATUS 0xa391 /* get status from the DoubleTalk */ #define DTLK_CLEAR 0x18 /* stops speech */ #def...
Linux işletim sistemi çekirdeği için 'include/linux/vfsdebug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_VFS_DEBUG_H #define LINUX_VFS_DEBUG_H 1 #include <linux/bug.h> struct inode; #ifdef CONFIG_DEBUG_VFS void dump_inode(struct inode *inode, const char *reason); #define VFS_BUG_ON(cond) BUG_ON(cond) #define VFS_WARN_ON(cond) (void)WARN_ON(cond) #define VFS_WAR...
Linux işletim sistemi çekirdeği için 'include/linux/blk-pm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _BLK_PM_H_ #define _BLK_PM_H_ struct device; struct request_queue; /* * block layer runtime pm functions */ #ifdef CONFIG_PM extern void blk_pm_runtime_init(struct request_queue *q, struct device *dev); extern int blk_pre_runtime_suspend(struct request_queue *q);...
Linux işletim sistemi çekirdeği için 'include/linux/page-flags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Macros for manipulating and testing page->flags */ #ifndef PAGE_FLAGS_H #define PAGE_FLAGS_H #include <linux/types.h> #include <linux/bug.h> #include <linux/mmdebug.h> #ifndef __GENERATING_BOUNDS_H #include <linux/mm_types.h> #include <generated/bounds.h> #endif /* !...
Linux işletim sistemi çekirdeği için 'include/linux/host1x_context_bus' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2021, NVIDIA Corporation. All rights reserved. */ #ifndef __LINUX_HOST1X_CONTEXT_BUS_H #define __LINUX_HOST1X_CONTEXT_BUS_H #include <linux/device.h> #ifdef CONFIG_TEGRA_HOST1X_CONTEXT_BUS extern const struct bus_type host1x_context_device_bus...
Linux işletim sistemi çekirdeği için 'include/linux/agpgart' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * AGPGART module version 0.99 * Copyright (C) 1999 Jeff Hartmann * Copyright (C) 1999 Precision Insight, Inc. * Copyright (C) 1999 Xi Graphics, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * ...
Linux işletim sistemi çekirdeği için 'include/linux/once' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_ONCE_H #define _LINUX_ONCE_H #include <linux/types.h> #include <linux/jump_label.h> /* Helpers used from arbitrary contexts. * Hard irqs are blocked, be cautious. */ bool __do_once_start(bool *done, unsigned long *flags); void __do_once_done(bool *done, str...
Linux işletim sistemi çekirdeği için 'include/linux/dma-heap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * DMABUF Heaps Allocation Infrastructure * * Copyright (C) 2011 Google, Inc. * Copyright (C) 2019 Linaro Ltd. */ #ifndef _DMA_HEAPS_H #define _DMA_HEAPS_H #include <linux/types.h> struct dma_heap; /** * struct dma_heap_ops - ops to operate on a given heap * @all...
Linux işletim sistemi çekirdeği için 'include/linux/rv' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Runtime Verification. * * For futher information, see: kernel/trace/rv/rv.c. */ #ifndef _LINUX_RV_H #define _LINUX_RV_H #define MAX_DA_NAME_LEN 32 #define MAX_DA_RETRY_RACING_EVENTS 3 #define RV_MON_GLOBAL 0 #define RV_MON_PER_CPU 1 #define RV_MON_PER_TASK 2 #...
Linux işletim sistemi çekirdeği için 'include/linux/kcsan-checks' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * KCSAN access checks and modifiers. These can be used to explicitly check * uninstrumented accesses, or change KCSAN checking behaviour of accesses. * * Copyright (C) 2019, Google LLC. */ #ifndef _LINUX_KCSAN_CHECKS_H #define _LINUX_KCSAN_CHECKS_H /* Note: Only inc...
Linux işletim sistemi çekirdeği için 'include/linux/memcontrol' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* memcontrol.h - Memory Controller * * Copyright IBM Corporation, 2007 * Author Balbir Singh <balbir@linux.vnet.ibm.com> * * Copyright 2007 OpenVZ SWsoft Inc * Author: Pavel Emelianov <xemul@openvz.org> */ #ifndef _LINUX_MEMCONTROL_H #define _LINUX_MEMCONTRO...
Linux işletim sistemi çekirdeği için 'include/linux/sxgbe_platform' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * 10G controller driver for Samsung Exynos SoCs * * Copyright (C) 2013 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Siva Reddy Kallam <siva.kallam@samsung.com> */ #ifndef __SXGBE_PLATFORM_H__ #define __SXGBE_PLATFORM_H__ #include <linux/...
Linux işletim sistemi çekirdeği için 'include/linux/seq_file_net' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SEQ_FILE_NET_H__ #define __SEQ_FILE_NET_H__ #include <linux/seq_file.h> #include <net/net_trackers.h> struct net; extern struct net init_net; struct seq_net_private { #ifdef CONFIG_NET_NS struct net *net; netns_tracker ns_tracker; #endif }; static inline struc...
Linux işletim sistemi çekirdeği için 'include/linux/zutil' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* zutil.h -- internal interface and configuration of the compression library * Copyright (C) 1995-1998 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part of the implementation of the compressio...
Linux işletim sistemi çekirdeği için 'include/linux/firewire' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_FIREWIRE_H #define _LINUX_FIREWIRE_H #include <linux/completion.h> #include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/kernel.h> #include <linux/kref.h> #include <linux/list.h> #include <linux/mutex.h> #include <linux/spinlock.h> #include ...
Linux işletim sistemi çekirdeği için 'include/linux/tegra-icc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2022-2023 NVIDIA CORPORATION. All rights reserved. */ #ifndef LINUX_TEGRA_ICC_H #define LINUX_TEGRA_ICC_H enum tegra_icc_client_type { TEGRA_ICC_NONE, TEGRA_ICC_NISO, TEGRA_ICC_ISO_DISPLAY, TEGRA_ICC_ISO_VI, TEGRA_ICC_ISO_AUDIO, TEGRA_ICC_IS...
Linux işletim sistemi çekirdeği için 'include/linux/dfl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Header file for DFL driver and device API * * Copyright (C) 2020 Intel Corporation, Inc. */ #ifndef __LINUX_DFL_H #define __LINUX_DFL_H #include <linux/device.h> #include <linux/mod_devicetable.h> /** * enum dfl_id_type - define the DFL FIU types */ enum dfl_id_...
Linux işletim sistemi çekirdeği için 'include/linux/userfaultfd_k' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/linux/userfaultfd_k.h * * Copyright (C) 2015 Red Hat, Inc. * */ #ifndef _LINUX_USERFAULTFD_K_H #define _LINUX_USERFAULTFD_K_H #ifdef CONFIG_USERFAULTFD #include <linux/userfaultfd.h> /* linux/include/uapi/linux/userfaultfd.h */ #include <linux/fcntl.h...
Linux işletim sistemi çekirdeği için 'include/linux/mdev' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Mediated device definition * * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. * Author: Neo Jia <cjia@nvidia.com> * Kirti Wankhede <kwankhede@nvidia.com> */ #ifndef MDEV_H #define MDEV_H #include <linux/device.h> #include <linux...
Linux işletim sistemi çekirdeği için 'include/linux/crc-t10dif' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CRC_T10DIF_H #define _LINUX_CRC_T10DIF_H #include <linux/types.h> u16 crc_t10dif_update(u16 crc, const u8 *p, size_t len); static inline u16 crc_t10dif(const u8 *p, size_t len) { return crc_t10dif_update(0, p, len); } #endif ```
Linux işletim sistemi çekirdeği için 'include/linux/eventpoll' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/linux/eventpoll.h ( Efficient event polling implementation ) * Copyright (C) 2001,...,2006 Davide Libenzi * * Davide Libenzi <davidel@xmailserver.org> */ #ifndef _LINUX_EVENTPOLL_H #define _LINUX_EVENTPOLL_H #include <uapi/linux/eventpoll.h> #i...
Linux işletim sistemi çekirdeği için 'include/linux/iommufd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2021 Intel Corporation * Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES */ #ifndef __LINUX_IOMMUFD_H #define __LINUX_IOMMUFD_H #include <linux/err.h> #include <linux/errno.h> #include <linux/iommu.h> #include <linux/refcount.h> #include <...
Linux işletim sistemi çekirdeği için 'include/linux/enclosure' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Enclosure Services * * Copyright (C) 2008 James Bottomley <James.Bottomley@HansenPartnership.com> * **----------------------------------------------------------------------------- ** ** **--------------------------------------------------------------------------...
Linux işletim sistemi çekirdeği için 'include/linux/buildid' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_BUILDID_H #define _LINUX_BUILDID_H #include <linux/types.h> #define BUILD_ID_SIZE_MAX 20 struct vm_area_struct; struct file; int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id, __u32 *size); int build_id_parse_file(struct file *file, uns...
Linux işletim sistemi çekirdeği için 'include/linux/init' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_INIT_H #define _LINUX_INIT_H #include <linux/build_bug.h> #include <linux/compiler.h> #include <linux/stringify.h> #include <linux/types.h> /* These macros are used to mark some functions or * initialized data (doesn't apply to uninitialized data) * as `in...
Linux işletim sistemi çekirdeği için 'include/linux/ethtool' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * ethtool.h: Defines for Linux ethtool. * * Copyright (C) 1998 David S. Miller (davem@redhat.com) * Copyright 2001 Jeff Garzik <jgarzik@pobox.com> * Portions Copyright 2001 Sun Microsystems (thockin@sun.com) * Portions Copyright 2002 Intel (eli.kupermann@intel.com, ...
Linux işletim sistemi çekirdeği için 'include/linux/nd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright(c) 2013-2015 Intel Corporation. All rights reserved. */ #ifndef __LINUX_ND_H__ #define __LINUX_ND_H__ #include <linux/fs.h> #include <linux/ndctl.h> #include <linux/device.h> #include <linux/badblocks.h> #include <linux/perf_event.h> enum nvdimm_event {...
Linux işletim sistemi çekirdeği için 'include/linux/rseq_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_RSEQ_TYPES_H #define _LINUX_RSEQ_TYPES_H #include <linux/irq_work_types.h> #include <linux/types.h> #include <linux/workqueue_types.h> #ifdef CONFIG_RSEQ struct rseq; /* * rseq_event::has_rseq contains the ABI version number so preserving it * in AND opera...
Linux işletim sistemi çekirdeği için 'include/linux/sysfb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _LINUX_SYSFB_H #define _LINUX_SYSFB_H /* * Generic System Framebuffers on x86 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> */ #include <linux/err.h> #include <linux/platform_data/simplefb.h> #include <linux/screen_info.h> #include <li...
Linux işletim sistemi çekirdeği için 'include/linux/device_cgroup' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/fs.h> #define DEVCG_ACC_MKNOD 1 #define DEVCG_ACC_READ 2 #define DEVCG_ACC_WRITE 4 #define DEVCG_ACC_MASK (DEVCG_ACC_MKNOD | DEVCG_ACC_READ | DEVCG_ACC_WRITE) #define DEVCG_DEV_BLOCK 1 #define DEVCG_DEV_CHAR 2 #define DEVCG_DEV_ALL 4 /* this represents ...
Linux işletim sistemi çekirdeği için 'include/linux/hashtable' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Statically sized hash table implementation * (C) 2012 Sasha Levin <levinsasha928@gmail.com> */ #ifndef _LINUX_HASHTABLE_H #define _LINUX_HASHTABLE_H #include <linux/list.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/hash.h> #include <linux/r...
Linux işletim sistemi çekirdeği için 'include/linux/posix-clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * posix-clock.h - support for dynamic clock devices * * Copyright (C) 2010 OMICRON electronics GmbH */ #ifndef _LINUX_POSIX_CLOCK_H_ #define _LINUX_POSIX_CLOCK_H_ #include <linux/cdev.h> #include <linux/fs.h> #include <linux/poll.h> #include <linux/posix-time...
Linux işletim sistemi çekirdeği için 'include/linux/interconnect' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2018-2019, Linaro Ltd. * Author: Georgi Djakov <georgi.djakov@linaro.org> */ #ifndef __LINUX_INTERCONNECT_H #define __LINUX_INTERCONNECT_H #include <linux/mutex.h> #include <linux/types.h> /* macros for converting to icc units */ #define Bps_to_icc(x)...
Linux işletim sistemi çekirdeği için 'include/linux/union_find' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_UNION_FIND_H #define __LINUX_UNION_FIND_H /** * union_find.h - union-find data structure implementation * * This header provides functions and structures to implement the union-find * data structure. The union-find data structure is used to manage disjoint...
Linux işletim sistemi çekirdeği için 'include/linux/lockdep_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Runtime locking correctness validator * * Copyright (C) 2006,2007 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> * Copyright (C) 2007 Red Hat, Inc., Peter Zijlstra * * see Documentation/locking/lockdep-design.rst for more details. */ #ifndef __LINUX_LOCKDEP_TYPES...
Linux işletim sistemi çekirdeği için 'include/linux/string_helpers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_STRING_HELPERS_H_ #define _LINUX_STRING_HELPERS_H_ #include <linux/bits.h> #include <linux/ctype.h> #include <linux/string_choices.h> #include <linux/string.h> #include <linux/types.h> struct device; struct file; struct task_struct; static inline bool string...
Linux işletim sistemi çekirdeği için 'include/linux/ioam6' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * IPv6 IOAM * * Author: * Justin Iurman <justin.iurman@uliege.be> */ #ifndef _LINUX_IOAM6_H #define _LINUX_IOAM6_H #include <uapi/linux/ioam6.h> #endif /* _LINUX_IOAM6_H */ ```
Linux işletim sistemi çekirdeği için 'include/linux/cpumask' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_CPUMASK_H #define __LINUX_CPUMASK_H /* * Cpumasks provide a bitmap suitable for representing the * set of CPUs in a system, one bit position per CPU number. In general, * only nr_cpu_ids (<= NR_CPUS) bits are valid. */ #include <linux/atomic.h> #include ...
Linux işletim sistemi çekirdeği için 'include/linux/spinlock_api_smp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef __LINUX_SPINLOCK_API_SMP_H #define __LINUX_SPINLOCK_API_SMP_H #ifndef __LINUX_INSIDE_SPINLOCK_H # error "Please do not include this file directly." #endif /* * include/linux/spinlock_api_smp.h * * spinlock API declarations on SMP (and debug) * (implemented in kernel/spinlock.c) * * portions Copyrig...
Linux işletim sistemi çekirdeği için 'include/linux/surface_acpi_notify' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * Interface for Surface ACPI Notify (SAN) driver. * * Provides access to discrete GPU notifications sent from ACPI via the SAN * driver, which are not handled by this driver directly. * * Copyright (C) 2019-2020 Maximilian Luz <luzmaximilian@gmail.com> */ #ifndef ...
Linux işletim sistemi çekirdeği için 'include/linux/i2c-smbus' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * i2c-smbus.h - SMBus extensions to the I2C protocol * * Copyright (C) 2010-2019 Jean Delvare <jdelvare@suse.de> */ #ifndef _LINUX_I2C_SMBUS_H #define _LINUX_I2C_SMBUS_H #include <linux/i2c.h> #include <linux/spinlock.h> #include <linux/workqueue.h> /** *...
Linux işletim sistemi çekirdeği için 'include/linux/list_lru' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2013 Red Hat, Inc. and Parallels Inc. All rights reserved. * Authors: David Chinner and Glauber Costa * * Generic LRU infrastructure */ #ifndef _LRU_LIST_H #define _LRU_LIST_H #include <linux/list.h> #include <linux/nodemask.h> #include <linux/shrinke...
Linux işletim sistemi çekirdeği için 'include/linux/kmsan_string' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * KMSAN string functions API used in other headers. * * Copyright (C) 2022 Google LLC * Author: Alexander Potapenko <glider@google.com> * */ #ifndef _LINUX_KMSAN_STRING_H #define _LINUX_KMSAN_STRING_H /* * KMSAN overrides the default memcpy/memset/memmove implement...
Linux işletim sistemi çekirdeği için 'include/linux/user_namespace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_USER_NAMESPACE_H #define _LINUX_USER_NAMESPACE_H #include <linux/kref.h> #include <linux/nsproxy.h> #include <linux/ns_common.h> #include <linux/rculist_nulls.h> #include <linux/sched.h> #include <linux/workqueue.h> #include <linux/rcuref.h> #include <linux/rw...
Linux işletim sistemi çekirdeği için 'include/linux/maple' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_MAPLE_H #define __LINUX_MAPLE_H #include <mach/maple.h> struct device; /* Maple Bus command and response codes */ enum maple_code { MAPLE_RESPONSE_FILEERR = -5, MAPLE_RESPONSE_AGAIN, /* retransmit */ MAPLE_RESPONSE_BADCMD, MAPLE_RESPONSE_BADFUNC, MAPLE...
Linux işletim sistemi çekirdeği için 'include/linux/netfilter' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_NETFILTER_H #define __LINUX_NETFILTER_H #include <linux/init.h> #include <linux/skbuff.h> #include <linux/net.h> #include <linux/if.h> #include <linux/in.h> #include <linux/in6.h> #include <linux/wait.h> #include <linux/list.h> #include <linux/static_key.h> #...
Linux işletim sistemi çekirdeği için 'include/linux/plist_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _LINUX_PLIST_TYPES_H #define _LINUX_PLIST_TYPES_H #include <linux/types.h> struct plist_head { struct list_head node_list; }; struct plist_node { int prio; struct list_head prio_list; struct list_head node_list; }; #endif /* _LINUX_PLIST_TYPES_H */ ...
Linux işletim sistemi çekirdeği için 'include/linux/virtio_vsock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_VIRTIO_VSOCK_H #define _LINUX_VIRTIO_VSOCK_H #include <uapi/linux/virtio_vsock.h> #include <linux/socket.h> #include <net/sock.h> #include <net/af_vsock.h> #define VIRTIO_VSOCK_SKB_HEADROOM (sizeof(struct virtio_vsock_hdr)) struct virtio_vsock_skb_cb { bool...
Linux işletim sistemi çekirdeği için 'include/linux/bpfptr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* A pointer that can point to either kernel or userspace memory. */ #ifndef _LINUX_BPFPTR_H #define _LINUX_BPFPTR_H #include <linux/mm.h> #include <linux/sockptr.h> typedef sockptr_t bpfptr_t; static inline bool bpfptr_is_kernel(bpfptr_t bpfptr) { return bpfptr.is_k...
Linux işletim sistemi çekirdeği için 'include/linux/mm_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_MM_TYPES_H #define _LINUX_MM_TYPES_H #include <linux/mm_types_task.h> #include <linux/auxvec.h> #include <linux/kref.h> #include <linux/list.h> #include <linux/spinlock.h> #include <linux/rbtree.h> #include <linux/maple_tree.h> #include <linux/rwsem.h> #inclu...
Linux işletim sistemi çekirdeği için 'include/linux/acpi_amd_wbrf' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Wifi Band Exclusion Interface (AMD ACPI Implementation) * Copyright (C) 2023 Advanced Micro Devices */ #ifndef _ACPI_AMD_WBRF_H #define _ACPI_AMD_WBRF_H #include <linux/device.h> #include <linux/notifier.h> /* The maximum number of frequency band ranges */ #define ...
Linux işletim sistemi çekirdeği için 'include/linux/bits' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_BITS_H #define __LINUX_BITS_H #include <vdso/bits.h> #include <uapi/linux/bits.h> #define BIT_MASK(nr) (UL(1) << ((nr) % BITS_PER_LONG)) #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) #define BIT_ULL_MASK(nr) (ULL(1) << ((nr) % BITS_PER_LONG_LONG)) #define BI...
Linux işletim sistemi çekirdeği için 'include/linux/led-lm3530' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2011 ST-Ericsson SA. * Copyright (C) 2009 Motorola, Inc. * * Simple driver for National Semiconductor LM35330 Backlight driver chip * * Author: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com> * based on leds-lm3530.c by Dan Murphy <D.M...
Linux işletim sistemi çekirdeği için 'include/linux/psp-sev' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * AMD Secure Encrypted Virtualization (SEV) driver interface * * Copyright (C) 2016-2017 Advanced Micro Devices, Inc. * * Author: Brijesh Singh <brijesh.singh@amd.com> * * SEV API spec is available at https://developer.amd.com/sev */ #ifndef __PSP_SEV_H__ #de...
Linux işletim sistemi çekirdeği için 'include/linux/dma-fence-chain' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * fence-chain: chain fences together in a timeline * * Copyright (C) 2018 Advanced Micro Devices, Inc. * Authors: * Christian König <christian.koenig@amd.com> */ #ifndef __LINUX_DMA_FENCE_CHAIN_H #define __LINUX_DMA_FENCE_CHAIN_H #include <linux/dma-fence.h> #...
Linux işletim sistemi çekirdeği için 'include/linux/percpu-refcount' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Percpu refcounts: * (C) 2012 Google, Inc. * Author: Kent Overstreet <koverstreet@google.com> * * This implements a refcount with similar semantics to atomic_t - atomic_inc(), * atomic_dec_and_test() - but percpu. * * There's one important difference between percp...
Linux işletim sistemi çekirdeği için 'include/linux/atmel-ssc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __INCLUDE_ATMEL_SSC_H #define __INCLUDE_ATMEL_SSC_H #include <linux/platform_device.h> #include <linux/list.h> #include <linux/io.h> struct atmel_ssc_platform_data { int use_dma; int has_fslen_ext; }; struct ssc_device { struct list_head list; dma_addr_t p...
Linux işletim sistemi çekirdeği için 'include/linux/inet_diag' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _INET_DIAG_H_ #define _INET_DIAG_H_ 1 #include <net/netlink.h> #include <uapi/linux/inet_diag.h> struct inet_hashinfo; struct inet_diag_handler { struct module *owner; void (*dump)(struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_...
Linux işletim sistemi çekirdeği için 'include/linux/mdio-mux' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * MDIO bus multiplexer framwork. * * 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. * * Copyright (C) 2011, 2012 Cavium, Inc. */ #ifndef __LINUX_MDIO_MUX_H #define __LINUX_MDIO_MUX_H ...
Linux işletim sistemi çekirdeği için 'include/linux/livepatch_helpers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_LIVEPATCH_HELPERS_H #define _LINUX_LIVEPATCH_HELPERS_H /* * Interfaces for use by livepatch patches */ #include <linux/syscalls.h> #include <linux/livepatch.h> #ifdef MODULE #define KLP_OBJNAME __KBUILD_MODNAME #else #define KLP_OBJNAME vmlinux #endif /* ...
Linux işletim sistemi çekirdeği için 'include/linux/futex' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_FUTEX_H #define _LINUX_FUTEX_H #include <linux/sched.h> #include <linux/ktime.h> #include <linux/mm_types.h> #include <uapi/linux/futex.h> struct inode; struct task_struct; /* * Futexes are matched on equal values of this key. * The key type depends on wh...
Linux işletim sistemi çekirdeği için 'include/linux/of_pci' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __OF_PCI_H #define __OF_PCI_H #include <linux/types.h> #include <linux/errno.h> struct pci_dev; struct device_node; #if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_PCI) struct device_node *of_pci_find_child_device(struct device_node *parent, unsigned int d...
Linux işletim sistemi çekirdeği için 'include/linux/gpu_buddy' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: MIT */ /* * Copyright © 2021 Intel Corporation */ #ifndef __GPU_BUDDY_H__ #define __GPU_BUDDY_H__ #include <linux/bitops.h> #include <linux/list.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/rbtree.h> #include <linux/rbtree_augmented.h> /** * GPU_BUDDY_RANGE_...
Linux işletim sistemi çekirdeği için 'include/linux/ahci-remap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_AHCI_REMAP_H #define _LINUX_AHCI_REMAP_H #include <linux/sizes.h> #define AHCI_VSCAP 0xa4 #define AHCI_REMAP_CAP 0x800 /* device class code */ #define AHCI_REMAP_N_DCC 0x880 /* remap-device base relative to ahci-bar */ #define AHCI_REMAP_N_OFFSET SZ_16K #...
Linux işletim sistemi çekirdeği için 'include/linux/bcm47xx_nvram' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* */ #ifndef __BCM47XX_NVRAM_H #define __BCM47XX_NVRAM_H #include <linux/errno.h> #include <linux/types.h> #include <linux/vmalloc.h> #ifdef CONFIG_BCM47XX_NVRAM int bcm47xx_nvram_init_from_iomem(void __iomem *nvram_start, size_t res_size); int bcm47xx_nvram_ini...
Linux işletim sistemi çekirdeği için 'include/linux/syscall_user_dispatch_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SYSCALL_USER_DISPATCH_TYPES_H #define _SYSCALL_USER_DISPATCH_TYPES_H #include <linux/types.h> #ifdef CONFIG_GENERIC_ENTRY struct syscall_user_dispatch { char __user *selector; unsigned long offset; unsigned long len; bool on_dispatch; }; #else struct syscal...
Linux işletim sistemi çekirdeği için 'include/linux/seg6_genl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SEG6_GENL_H #define _LINUX_SEG6_GENL_H #include <uapi/linux/seg6_genl.h> #endif ```
Linux işletim sistemi çekirdeği için 'include/linux/iommu-debug-pagealloc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2025 - Google Inc * Author: Mostafa Saleh <smostafa@google.com> * IOMMU API debug page alloc sanitizer */ #ifndef __LINUX_IOMMU_DEBUG_PAGEALLOC_H #define __LINUX_IOMMU_DEBUG_PAGEALLOC_H #ifdef CONFIG_IOMMU_DEBUG_PAGEALLOC DECLARE_STATIC_KEY_FALSE(io...
Linux işletim sistemi çekirdeği için 'include/linux/zstd_errors' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ /* * Copyright (c) Meta Platforms, Inc. and affiliates. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYIN...
Linux işletim sistemi çekirdeği için 'include/linux/atmdev' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* atmdev.h - ATM device driver declarations and various related items */ #ifndef LINUX_ATMDEV_H #define LINUX_ATMDEV_H #include <linux/wait.h> /* wait_queue_head_t */ #include <linux/time.h> /* struct timeval */ #include <linux/net.h> #include <linux/bug.h> #include <linux...
Linux işletim sistemi çekirdeği için 'include/linux/page-isolation' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_PAGEISOLATION_H #define __LINUX_PAGEISOLATION_H #ifdef CONFIG_MEMORY_ISOLATION static inline bool is_migrate_isolate_page(struct page *page) { return get_pageblock_migratetype(page) == MIGRATE_ISOLATE; } static inline bool is_migrate_isolate(int migratetype)...
Linux işletim sistemi çekirdeği için 'include/linux/posix-timers_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _linux_POSIX_TIMERS_TYPES_H #define _linux_POSIX_TIMERS_TYPES_H #include <linux/mutex_types.h> #include <linux/timerqueue_types.h> #include <linux/types.h> /* * Bit fields within a clockid: * * The most significant 29 bits hold either a pid or a file descriptor. ...
Linux işletim sistemi çekirdeği için 'include/linux/eeprom_93cx6' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Copyright (C) 2004 - 2006 rt2x00 SourceForge Project <http://rt2x00.serialmonkey.com> */ /* Module: eeprom_93cx6 Abstract: EEPROM reader datastructures for 93cx6 chipsets. Supported chipsets: 93c46, 93c56 and 93c66. */ #include <linux/bits.h> /* * EEPR...
Linux işletim sistemi çekirdeği için 'include/linux/ratelimit_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_RATELIMIT_TYPES_H #define _LINUX_RATELIMIT_TYPES_H #include <linux/bits.h> #include <linux/param.h> #include <linux/spinlock_types_raw.h> #define DEFAULT_RATELIMIT_INTERVAL (5 * HZ) #define DEFAULT_RATELIMIT_BURST 10 /* issue num suppressed message on exit ...
Linux işletim sistemi çekirdeği için 'include/linux/vbox_utils' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (GPL-2.0 OR CDDL-1.0) */ /* Copyright (C) 2006-2016 Oracle Corporation */ #ifndef __VBOX_UTILS_H__ #define __VBOX_UTILS_H__ #include <linux/printk.h> #include <linux/vbox_vmmdev_types.h> struct vbg_dev; /** * vboxguest logging functions, these log both to the backdoor and call * t...
Linux işletim sistemi çekirdeği için 'include/linux/blkdev' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Portions Copyright (C) 1992 Drew Eckhardt */ #ifndef _LINUX_BLKDEV_H #define _LINUX_BLKDEV_H #include <linux/types.h> #include <linux/blk_types.h> #include <linux/device.h> #include <linux/list.h> #include <linux/llist.h> #include <linux/minmax.h> #include <linux/time...
Linux işletim sistemi çekirdeği için 'include/linux/swapops' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SWAPOPS_H #define _LINUX_SWAPOPS_H #include <linux/radix-tree.h> #include <linux/bug.h> #include <linux/mm_types.h> #ifdef CONFIG_MMU #ifdef CONFIG_SWAP #include <linux/swapfile.h> #endif /* CONFIG_SWAP */ /* * swapcache pages are stored in the swapper_spa...
Linux işletim sistemi çekirdeği için 'include/linux/unwind_user' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_UNWIND_USER_H #define _LINUX_UNWIND_USER_H #include <linux/unwind_user_types.h> #include <asm/unwind_user.h> #ifndef CONFIG_HAVE_UNWIND_USER_FP #define ARCH_INIT_USER_FP_FRAME(ws) #endif #ifndef ARCH_INIT_USER_FP_ENTRY_FRAME #define ARCH_INIT_USER_FP_ENTRY...
Linux işletim sistemi çekirdeği için 'include/linux/pid' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PID_H #define _LINUX_PID_H #include <linux/pid_types.h> #include <linux/rculist.h> #include <linux/rcupdate.h> #include <linux/refcount.h> #include <linux/rhashtable-types.h> #include <linux/sched.h> #include <linux/wait.h> /* * What is struct pid? * * A s...
Linux işletim sistemi çekirdeği için 'include/linux/irq-entry-common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_IRQENTRYCOMMON_H #define __LINUX_IRQENTRYCOMMON_H #include <linux/context_tracking.h> #include <linux/hrtimer_rearm.h> #include <linux/kmsan.h> #include <linux/rseq_entry.h> #include <linux/static_call_types.h> #include <linux/syscalls.h> #include <linux/tick...
Linux işletim sistemi çekirdeği için 'include/linux/scs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Shadow Call Stack support. * * Copyright (C) 2019 Google LLC */ #ifndef _LINUX_SCS_H #define _LINUX_SCS_H #include <linux/gfp.h> #include <linux/poison.h> #include <linux/sched.h> #include <linux/sizes.h> #ifdef CONFIG_SHADOW_CALL_STACK #define SCS_ORDER 0 #defi...
Linux işletim sistemi çekirdeği için 'include/linux/serial' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * include/linux/serial.h * * Copyright (C) 1992 by Theodore Ts'o. * * Redistribution of this file is permitted under the terms of the GNU * Public License (GPL) */ #ifndef _LINUX_SERIAL_H #define _LINUX_SERIAL_H #include <uapi/linux/serial.h> #include <uapi/linux/serial_reg.h> #define UART_IER_ALL_IN...
Linux işletim sistemi çekirdeği için 'include/linux/irqhandler' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IRQHANDLER_H #define _LINUX_IRQHANDLER_H /* * Interrupt flow handler typedefs are defined here to avoid circular * include dependencies. */ struct irq_desc; typedef void (*irq_flow_handler_t)(struct irq_desc *desc); #endif ```
Linux işletim sistemi çekirdeği için 'include/linux/power_supply' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Universal power supply monitor class * * Copyright © 2007 Anton Vorontsov <cbou@mail.ru> * Copyright © 2004 Szabolcs Gyurko * Copyright © 2003 Ian Molton <spyro@f2s.com> * * Modified: 2004, Oct Szabolcs Gyurko */ #ifndef __LINUX_POWER_SUPPLY_H__...
Linux işletim sistemi çekirdeği için 'include/linux/bpf_mprog' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2023 Isovalent */ #ifndef __BPF_MPROG_H #define __BPF_MPROG_H #include <linux/bpf.h> /* bpf_mprog framework: * * bpf_mprog is a generic layer for multi-program attachment. In-kernel users * of the bpf_mprog don't need to care about the dependency resolut...