instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'include/linux/bootconfig' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_XBC_H #define _LINUX_XBC_H /* * Extra Boot Config * Copyright (C) 2019 Linaro Ltd. * Author: Masami Hiramatsu <mhiramat@kernel.org> */ #ifdef __KERNEL__ #include <linux/kernel.h> #include <linux/types.h> bool __init cmdline_has_extra_options(void); #else /...
Linux işletim sistemi çekirdeği için 'include/linux/tracepoint' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef _LINUX_TRACEPOINT_H #define _LINUX_TRACEPOINT_H /* * Kernel Tracepoint API. * * See Documentation/trace/tracepoints.rst. * * Copyright (C) 2008-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> * * Heavily inspired from the Linux Kernel Markers. */...
Linux işletim sistemi çekirdeği için 'include/linux/firmware' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_FIRMWARE_H #define _LINUX_FIRMWARE_H #include <linux/types.h> #include <linux/compiler.h> #include <linux/cleanup.h> #include <linux/gfp.h> #define FW_ACTION_NOUEVENT 0 #define FW_ACTION_UEVENT 1 struct firmware { size_t size; const u8 *data; /* firmware...
Linux işletim sistemi çekirdeği için 'include/linux/exportfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_EXPORTFS_H #define LINUX_EXPORTFS_H 1 #include <linux/types.h> #include <linux/path.h> struct dentry; struct iattr; struct inode; struct iomap; struct super_block; struct vfsmount; /* limit the handle size to NFSv4 handle size now */ #define MAX_HANDLE_SZ 128...
Linux işletim sistemi çekirdeği için 'include/linux/cacheinfo' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CACHEINFO_H #define _LINUX_CACHEINFO_H #include <linux/bitops.h> #include <linux/cpuhplock.h> #include <linux/cpumask_types.h> #include <linux/smp.h> struct device_node; struct attribute; enum cache_type { CACHE_TYPE_NOCACHE = 0, CACHE_TYPE_INST = BIT(0), ...
Linux işletim sistemi çekirdeği için 'include/linux/earlycpio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_EARLYCPIO_H #define _LINUX_EARLYCPIO_H #include <linux/types.h> #define MAX_CPIO_FILE_NAME 18 struct cpio_data { void *data; size_t size; char name[MAX_CPIO_FILE_NAME]; }; struct cpio_data find_cpio_data(const char *path, void *data, size_t len, long...
Linux işletim sistemi çekirdeği için 'include/linux/sched_clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * sched_clock.h: support for extending counters to full 64-bit ns counter */ #ifndef LINUX_SCHED_CLOCK #define LINUX_SCHED_CLOCK #include <linux/types.h> #ifdef CONFIG_GENERIC_SCHED_CLOCK /** * struct clock_read_data - data required to read from sched_clock() * ...
Linux işletim sistemi çekirdeği için 'include/linux/stdarg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0-or-later #ifndef _LINUX_STDARG_H #define _LINUX_STDARG_H typedef __builtin_va_list va_list; #define va_start(v, l) __builtin_va_start(v, l) #define va_end(v) __builtin_va_end(v) #define va_arg(v, T) __builtin_va_arg(v, T) #define va_copy(d, s) __builtin_va_copy(d, s) #endif `...
Linux işletim sistemi çekirdeği için 'include/linux/peci-cpu' 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 */ #ifndef __LINUX_PECI_CPU_H #define __LINUX_PECI_CPU_H #include <linux/types.h> /* Copied from x86 <asm/processor.h> */ #define X86_VENDOR_INTEL 0 /* Copied from x86 <asm/cpu_device_id.h> */ #define VFM_MODEL_BIT 0 #def...
Linux işletim sistemi çekirdeği için 'include/linux/posix_acl_xattr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* File: linux/posix_acl_xattr.h Extended attribute system call representation of Access Control Lists. Copyright (C) 2000 by Andreas Gruenbacher <a.gruenbacher@computer.org> Copyright (C) 2002 SGI - Silicon Graphics, Inc <linux-xfs@oss.sgi.com> */ #ifndef _POSIX_A...
Linux işletim sistemi çekirdeği için 'include/linux/sunserialcore' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* sunserialcore.h * * Generic SUN serial/kbd/ms layer. Based entirely * upon drivers/sbus/char/sunserial.h which is: * * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be) * * Port to new UART layer is: * * Copyright (C) 2002 David S. Miller (davem@redhat.com) */ ...
Linux işletim sistemi çekirdeği için 'include/linux/kref' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * kref.h - library routines for handling generic reference counted objects * * Copyright (C) 2004 Greg Kroah-Hartman <greg@kroah.com> * Copyright (C) 2004 IBM Corp. * * based on kobject.h which was: * Copyright (C) 2002-2003 Patrick Mochel <mochel@osdl.org> * ...
Linux işletim sistemi çekirdeği için 'include/linux/stringify' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef __LINUX_STRINGIFY_H #define __LINUX_STRINGIFY_H /* Indirect stringification. Doing two levels allows the parameter to be a * macro itself. For example, compile with -DFOO=bar, __stringify(FOO) * converts to "bar". */ #define __stringify_1(x...) #x #define __stringify(x...) __stringify_1(x) #define ...
Linux işletim sistemi çekirdeği için 'include/linux/fsl_devices' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * include/linux/fsl_devices.h * * Definitions for any platform device related flags or structures for * Freescale processor devices * * Maintainer: Kumar Gala <galak@kernel.crashing.org> * * Copyright 2004,2012 Freescale Semiconductor, Inc */ #ifndef _FS...
Linux işletim sistemi çekirdeği için 'include/linux/dynamic_debug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _DYNAMIC_DEBUG_H #define _DYNAMIC_DEBUG_H #if defined(CONFIG_JUMP_LABEL) #include <linux/jump_label.h> #endif #include <linux/build_bug.h> /* * An instance of this structure is created in a special * ELF section at every dynamic debug callsite. At runtime, * th...
Linux işletim sistemi çekirdeği için 'include/linux/imx-media' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2014-2017 Mentor Graphics Inc. */ #ifndef __LINUX_IMX_MEDIA_H__ #define __LINUX_IMX_MEDIA_H__ /* * events from the subdevs */ #define V4L2_EVENT_IMX_CLASS V4L2_EVENT_PRIVATE_START #define V4L2_EVENT_IMX_FRAME_INTERVAL_ERROR (V4...
Linux işletim sistemi çekirdeği için 'include/linux/pfn' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PFN_H_ #define _LINUX_PFN_H_ #ifndef __ASSEMBLY__ #include <linux/types.h> #endif #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT) #define PFN_DOWN(x) ((x) >> PAGE_SHIFT) #define P...
Linux işletim sistemi çekirdeği için 'include/linux/numa' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_NUMA_H #define _LINUX_NUMA_H #include <linux/init.h> #include <linux/types.h> #include <linux/nodemask.h> #define NUMA_NO_MEMBLK (-1) static inline bool numa_valid_node(int nid) { return nid >= 0 && nid < MAX_NUMNODES; } /* optionally keep NUMA memory info ...
Linux işletim sistemi çekirdeği için 'include/linux/rcu_segcblist' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * RCU segmented callback lists * * This seemingly RCU-private file must be available to SRCU users * because the size of the TREE SRCU srcu_struct structure depends * on these definitions. * * Copyright IBM Corporation, 2017 * * Authors: Paul E. McKenney <paulmck...
Linux işletim sistemi çekirdeği için 'include/linux/bpf-cgroup-defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _BPF_CGROUP_DEFS_H #define _BPF_CGROUP_DEFS_H #ifdef CONFIG_CGROUP_BPF #include <linux/list.h> #include <linux/percpu-refcount.h> #include <linux/workqueue.h> struct bpf_prog_array; #ifdef CONFIG_BPF_LSM /* Maximum number of concurrently attachable per-cgroup LSM ...
Linux işletim sistemi çekirdeği için 'include/linux/leds' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Driver model for leds and led triggers * * Copyright (C) 2005 John Lenz <lenz@cs.wisc.edu> * Copyright (C) 2005 Richard Purdie <rpurdie@openedhand.com> */ #ifndef __LINUX_LEDS_H_INCLUDED #define __LINUX_LEDS_H_INCLUDED #include <dt-bindings/leds/common.h> #inc...
Linux işletim sistemi çekirdeği için 'include/linux/perf_regs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PERF_REGS_H #define _LINUX_PERF_REGS_H #include <linux/sched/task_stack.h> struct perf_regs { __u64 abi; struct pt_regs *regs; }; #ifdef CONFIG_HAVE_PERF_REGS #include <asm/perf_regs.h> #ifndef PERF_REG_EXTENDED_MASK #define PERF_REG_EXTENDED_MASK 0 #end...
Linux işletim sistemi çekirdeği için 'include/linux/hil_mlc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * HP Human Interface Loop Master Link Controller driver. * * 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 * are met: * 1. Redistributions of source cod...
Linux işletim sistemi çekirdeği için 'include/linux/atomic' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Atomic operations usable in machine independent code */ #ifndef _LINUX_ATOMIC_H #define _LINUX_ATOMIC_H #include <linux/types.h> #include <asm/atomic.h> #include <asm/barrier.h> /* * Relaxed variants of xchg, cmpxchg and some atomic operations. * * We support four var...
Linux işletim sistemi çekirdeği için 'include/linux/ieee80211' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * IEEE 802.11 defines * * 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) 2006, Mic...
Linux işletim sistemi çekirdeği için 'include/linux/msi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_MSI_H #define LINUX_MSI_H /* * This header file contains MSI data structures and functions which are * only relevant for: * - Interrupt core code * - PCI/MSI core code * - MSI interrupt domain implementations * - IOMMU, low level VFIO, NTB and other justi...
Linux işletim sistemi çekirdeği için 'include/linux/xattr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* File: linux/xattr.h Extended attributes handling. Copyright (C) 2001 by Andreas Gruenbacher <a.gruenbacher@computer.org> Copyright (c) 2001-2002 Silicon Graphics, Inc. All Rights Reserved. Copyright (c) 2004 Red Hat, Inc., James Morris <jmorris@redhat.com> */ ...
Linux işletim sistemi çekirdeği için 'include/linux/bio-integrity' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_BIO_INTEGRITY_H #define _LINUX_BIO_INTEGRITY_H #include <linux/bio.h> enum bip_flags { BIP_BLOCK_INTEGRITY = 1 << 0, /* block layer owns integrity data */ BIP_MAPPED_INTEGRITY = 1 << 1, /* ref tag has been remapped */ BIP_DISK_NOCHECK = 1 << 2, /* disable ...
Linux işletim sistemi çekirdeği için 'include/linux/rwlock_api_smp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef __LINUX_RWLOCK_API_SMP_H #define __LINUX_RWLOCK_API_SMP_H #ifndef __LINUX_SPINLOCK_API_SMP_H # error "Please do not include this file directly." #endif /* * include/linux/rwlock_api_smp.h * * spinlock API declarations on SMP (and debug) * (implemented in kernel/spinlock.c) * * portions Copyright 20...
Linux işletim sistemi çekirdeği için 'include/linux/dm-dirty-log' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2003 Sistina Software * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. * * Device-Mapper dirty region log. * * This file is released under the LGPL. */ #ifndef _LINUX_DM_DIRTY_LOG #define _LINUX_DM_DIRTY_LOG #ifdef __KERNEL__ #inc...
Linux işletim sistemi çekirdeği için 'include/linux/nvme' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Definitions for the NVM Express interface * Copyright (c) 2011-2014, Intel Corporation. */ #ifndef _LINUX_NVME_H #define _LINUX_NVME_H #include <linux/bits.h> #include <linux/types.h> #include <linux/uuid.h> /* NQN names in commands fields specified one size */ #de...
Linux işletim sistemi çekirdeği için 'include/linux/consolemap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * consolemap.h * * Interface between console.c, selection.c and consolemap.c */ #ifndef __LINUX_CONSOLEMAP_H__ #define __LINUX_CONSOLEMAP_H__ enum translation_map { LAT1_MAP, GRAF_MAP, IBMPC_MAP, USER_MAP, FIRST_MAP = LAT1_MAP, LAST_MAP = USER_MAP, }; #includ...
Linux işletim sistemi çekirdeği için 'include/linux/extcon-provider' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * External Connector (extcon) framework * - linux/include/linux/extcon-provider.h for extcon provider device driver. * * Copyright (C) 2017 Samsung Electronics * Author: Chanwoo Choi <cw00.choi@samsung.com> */ #ifndef __LINUX_EXTCON_PROVIDER_H__ #define __LINUX...
Linux işletim sistemi çekirdeği için 'include/linux/netfilter_bridge' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_BRIDGE_NETFILTER_H #define __LINUX_BRIDGE_NETFILTER_H #include <uapi/linux/netfilter_bridge.h> #include <linux/skbuff.h> struct nf_bridge_frag_data { char mac[ETH_HLEN]; bool vlan_present; u16 vlan_tci; __be16 vlan_proto; }; #if IS_ENABLED(CO...
Linux işletim sistemi çekirdeği için 'include/linux/asn1_decoder' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* ASN.1 decoder * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINUX_ASN1_DECODER_H #define _LINUX_ASN1_DECODER_H #include <linux/asn1.h> #include <linux/types.h> struct asn1_decoder; ex...
Linux işletim sistemi çekirdeği için 'include/linux/tty_driver' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_TTY_DRIVER_H #define _LINUX_TTY_DRIVER_H #include <linux/export.h> #include <linux/fs.h> #include <linux/kref.h> #include <linux/list.h> #include <linux/cdev.h> #include <linux/uaccess.h> #include <linux/termios.h> #include <linux/seq_file.h> struct tty_struc...
Linux işletim sistemi çekirdeği için 'include/linux/sysctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * sysctl.h: General linux system control interface * * Begun 24 March 1995, Stephen Tweedie * **************************************************************** **************************************************************** ** ** WARNING: ** The values in this f...
Linux işletim sistemi çekirdeği için 'include/linux/irqdomain' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * irq_domain - IRQ Translation Domains * * See Documentation/core-api/irq/irq-domain.rst for the details. */ #ifndef _LINUX_IRQDOMAIN_H #define _LINUX_IRQDOMAIN_H #include <linux/types.h> #include <linux/irqdomain_defs.h> #include <linux/irqhandler.h> #include <linux...
Linux işletim sistemi çekirdeği için 'include/linux/ipmi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * ipmi.h * * MontaVista IPMI interface * * Author: MontaVista Software, Inc. * Corey Minyard <minyard@mvista.com> * source@mvista.com * * Copyright 2002 MontaVista Software Inc. * */ #ifndef __LINUX_IPMI_H #define __LINUX_IPMI_H #include <uapi/...
Linux işletim sistemi çekirdeği için 'include/linux/idle_inject' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 Linaro Ltd * * Author: Daniel Lezcano <daniel.lezcano@linaro.org> * */ #ifndef __IDLE_INJECT_H__ #define __IDLE_INJECT_H__ /* private idle injection device structure */ struct idle_inject_device; struct idle_inject_device *idle_inject_register(s...
Linux işletim sistemi çekirdeği için 'include/linux/ata' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2003-2004 Red Hat, Inc. All rights reserved. * Copyright 2003-2004 Jeff Garzik * * libata documentation is available via 'make {ps|pdf}docs', * as Documentation/driver-api/libata.rst * * Hardware documentation available from http://www.t1...
Linux işletim sistemi çekirdeği için 'include/linux/instrumentation' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_INSTRUMENTATION_H #define __LINUX_INSTRUMENTATION_H #ifdef CONFIG_NOINSTR_VALIDATION #include <linux/objtool.h> #include <linux/stringify.h> /* Begin/end of an instrumentation safe region */ #define __instrumentation_begin(c) ({ \ asm volatile(__string...
Linux işletim sistemi çekirdeği için 'include/linux/configfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * configfs.h - definitions for the device driver filesystem * * Based on sysfs: * sysfs is Copyright (C) 2001, 2002, 2003 Patrick Mochel * * Based on kobject.h: * Copyright (c) 2002-2003 Patrick Mochel * Copyright (c) 2002-2003 Open Source Devel...
Linux işletim sistemi çekirdeği için 'include/linux/compiler_types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_COMPILER_TYPES_H #define __LINUX_COMPILER_TYPES_H /* * __has_builtin is supported on gcc >= 10, clang >= 3 and icc >= 21. * In the meantime, to support gcc < 10, we implement __has_builtin * by hand. */ #ifndef __has_builtin #define __has_builtin(x) (0) #...
Linux işletim sistemi çekirdeği için 'include/linux/blockgroup_lock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_BLOCKGROUP_LOCK_H #define _LINUX_BLOCKGROUP_LOCK_H /* * Per-blockgroup locking for ext2 and ext3. * * Simple hashed spinlocking. */ #include <linux/spinlock.h> #include <linux/cache.h> #ifdef CONFIG_SMP #define NR_BG_LOCKS (4 << ilog2(NR_CPUS < 32 ? NR_CP...
Linux işletim sistemi çekirdeği için 'include/linux/rolling_buffer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Rolling buffer of folios * * Copyright (C) 2024 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _ROLLING_BUFFER_H #define _ROLLING_BUFFER_H #include <linux/folio_queue.h> #include <linux/uio.h> /* * Rolling bu...
Linux işletim sistemi çekirdeği için 'include/linux/mm_inline' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef LINUX_MM_INLINE_H #define LINUX_MM_INLINE_H #include <linux/atomic.h> #include <linux/huge_mm.h> #include <linux/mm_types.h> #include <linux/swap.h> #include <linux/string.h> #include <linux/userfaultfd_k.h> #include <linux/leafops.h> /** * folio_is_file_lru - Shou...
Linux işletim sistemi çekirdeği için 'include/linux/compiler_attributes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_COMPILER_ATTRIBUTES_H #define __LINUX_COMPILER_ATTRIBUTES_H /* * The attributes in this file are unconditionally defined and they directly * map to compiler attribute(s), unless one of the compilers does not support * the attribute. In that case, __has_att...
Linux işletim sistemi çekirdeği için 'include/linux/time' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_TIME_H #define _LINUX_TIME_H # include <linux/cache.h> # include <linux/math64.h> # include <linux/time64.h> extern struct timezone sys_tz; int get_timespec64(struct timespec64 *ts, const struct __kernel_timespec __user *uts); int put_timespec64(const stru...
Linux işletim sistemi çekirdeği için 'include/linux/container_of' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_CONTAINER_OF_H #define _LINUX_CONTAINER_OF_H #include <linux/build_bug.h> #include <linux/stddef.h> #define typeof_member(T, m) typeof(((T*)0)->m) /** * container_of - cast a member of a structure out to the containing structure * @ptr: the pointer to the ...
Linux işletim sistemi çekirdeği için 'include/linux/pps_gen_kernel' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * PPS generator API kernel header * * Copyright (C) 2024 Rodolfo Giometti <giometti@enneenne.com> */ #ifndef LINUX_PPS_GEN_KERNEL_H #define LINUX_PPS_GEN_KERNEL_H #include <linux/pps_gen.h> #include <linux/cdev.h> #include <linux/device.h> /* * Global defi...
Linux işletim sistemi çekirdeği için 'include/linux/dlm_plock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. */ #ifndef __DLM_PLOCK_DOT_H__ #define __DLM_PLOCK_DOT_H__ #include <uapi/linux/dlm_plock.h> int dlm_posix_lock(dlm_lockspace_t *lockspace, u64 number, struct file *file, int cmd, struct file_lock *fl...
Linux işletim sistemi çekirdeği için 'include/linux/ptp_pch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * PTP PCH * * Copyright 2019 Linaro Ltd. * * Author Lee Jones <lee.jones@linaro.org> */ #ifndef _PTP_PCH_H_ #define _PTP_PCH_H_ #include <linux/types.h> struct pci_dev; void pch_ch_control_write(struct pci_dev *pdev, u32 val); u32 pch_ch_event_read(stru...
Linux işletim sistemi çekirdeği için 'include/linux/virtio_features' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_VIRTIO_FEATURES_H #define _LINUX_VIRTIO_FEATURES_H #include <linux/bits.h> #include <linux/bug.h> #include <linux/string.h> #define VIRTIO_FEATURES_U64S 2 #define VIRTIO_FEATURES_BITS (VIRTIO_FEATURES_U64S * 64) #define VIRTIO_BIT(b) BIT_ULL((b) & 0x3f) #de...
Linux işletim sistemi çekirdeği için 'include/linux/purgatory' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_PURGATORY_H #define _LINUX_PURGATORY_H #include <linux/types.h> #include <crypto/sha2.h> #include <uapi/linux/kexec.h> struct kexec_sha_region { unsigned long start; unsigned long len; }; /* * These forward declarations serve two purposes: * * 1) Make s...
Linux işletim sistemi çekirdeği için 'include/linux/sm501' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* include/linux/sm501.h * * Copyright (c) 2006 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * Vincent Sanders <vince@simtec.co.uk> */ extern int sm501_unit_power(struct device *dev, unsigned int unit, unsigned int to); extern unsigned long sm501_set_cl...
Linux işletim sistemi çekirdeği için 'include/linux/eisa' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_EISA_H #define _LINUX_EISA_H #include <linux/ioport.h> #include <linux/device.h> #include <linux/mod_devicetable.h> #define EISA_MAX_SLOTS 8 #define EISA_MAX_RESOURCES 4 /* A few EISA constants/offsets... */ #define EISA_DMA1_STATUS 8 #define EI...
Linux işletim sistemi çekirdeği için 'include/linux/asn1_ber_bytecode' 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 parsing state machine internal definitions * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINUX_ASN1_BER_BYTECODE_H #define _LINUX_ASN1_BER_BYTECODE_H #ifdef __KERNEL__...
Linux işletim sistemi çekirdeği için 'include/linux/badblocks' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_BADBLOCKS_H #define _LINUX_BADBLOCKS_H #include <linux/seqlock.h> #include <linux/device.h> #include <linux/kernel.h> #include <linux/stddef.h> #include <linux/types.h> #define BB_LEN_MASK (0x00000000000001FFULL) #define BB_OFFSET_MASK (0x7FFFFFFFFFFFFE00ULL)...
Linux işletim sistemi çekirdeği için 'include/linux/devm-helpers' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __LINUX_DEVM_HELPERS_H #define __LINUX_DEVM_HELPERS_H /* * Functions which do automatically cancel operations or release resources upon * driver detach. * * These should be helpful to avoid mixing the manual and devm-based resource * management which can be...
Linux işletim sistemi çekirdeği için 'include/linux/unroll' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2023 Google LLC. */ #ifndef __UNROLL_H #define __UNROLL_H #include <linux/args.h> #ifdef CONFIG_CC_IS_CLANG #define __pick_unrolled(x, y) _Pragma(#x) #else #define __pick_unrolled(x, y) _Pragma(#y) #endif /** * unrolled - loop attributes to ask th...
Linux işletim sistemi çekirdeği için 'include/linux/watch_queue' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c // SPDX-License-Identifier: GPL-2.0 /* User-mappable watch queue * * Copyright (C) 2020 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * See Documentation/core-api/watch_queue.rst */ #ifndef _LINUX_WATCH_QUEUE_H #define _LINUX_WATCH_QUEUE_H #include <uapi/linux/watch_...
Linux işletim sistemi çekirdeği için 'include/linux/bpf_verifier' 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_VERIFIER_H #define _LINUX_BPF_VERIFIER_H 1 #include <linux/bpf.h> /* for enum bpf_reg_type */ #include <linux/btf.h> /* for struct btf and btf_id() */ #include <linux/filter.h> /* for MAX_BP...
Linux işletim sistemi çekirdeği için 'include/linux/of_irq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __OF_IRQ_H #define __OF_IRQ_H #include <linux/types.h> #include <linux/errno.h> #include <linux/irq.h> #include <linux/irqdomain.h> #include <linux/ioport.h> #include <linux/of.h> typedef int (*of_irq_init_cb_t)(struct device_node *, struct device_node *); struct o...
Linux işletim sistemi çekirdeği için 'include/linux/pm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * pm.h - Power management interface * * Copyright (C) 2000 Andrew Henroid */ #ifndef _LINUX_PM_H #define _LINUX_PM_H #include <linux/completion.h> #include <linux/export.h> #include <linux/hrtimer_types.h> #include <linux/mutex.h> #include <linux/spinlock....
Linux işletim sistemi çekirdeği için 'include/linux/cpufeature' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014 Linaro Ltd. <ard.biesheuvel@linaro.org> */ #ifndef __LINUX_CPUFEATURE_H #define __LINUX_CPUFEATURE_H #ifdef CONFIG_GENERIC_CPU_AUTOPROBE #include <linux/init.h> #include <linux/mod_devicetable.h> #include <asm/cpufeature.h> /* * Macros impo...
Linux işletim sistemi çekirdeği için 'include/linux/swapfile' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SWAPFILE_H #define _LINUX_SWAPFILE_H extern unsigned long generic_max_swapfile_size(void); unsigned long arch_max_swapfile_size(void); /* Maximum swapfile size supported for the arch (not inclusive). */ extern unsigned long swapfile_maximum_size; /* Whether s...
Linux işletim sistemi çekirdeği için 'include/linux/mailbox_client' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2013-2014 Linaro Ltd. * Author: Jassi Brar <jassisinghbrar@gmail.com> */ #ifndef __MAILBOX_CLIENT_H #define __MAILBOX_CLIENT_H #include <linux/device.h> #include <linux/of.h> struct mbox_chan; /** * struct mbox_client - User of a mailbox * @de...
Linux işletim sistemi çekirdeği için 'include/linux/hisi_acc_qm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019 HiSilicon Limited. */ #ifndef HISI_ACC_QM_H #define HISI_ACC_QM_H #include <linux/bitfield.h> #include <linux/debugfs.h> #include <linux/iopoll.h> #include <linux/module.h> #include <linux/pci.h> #define QM_QNUM_V1 4096 #define QM_QNUM_V2 1024 #def...
Linux işletim sistemi çekirdeği için 'include/linux/nvme-keyring' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2023 Hannes Reinecke, SUSE Labs */ #ifndef _NVME_KEYRING_H #define _NVME_KEYRING_H #include <linux/key.h> #if IS_ENABLED(CONFIG_NVME_KEYRING) struct key *nvme_tls_psk_refresh(struct key *keyring, const char *hostnqn, const char *subnqn, u8 hmac_id, ...
Linux işletim sistemi çekirdeği için 'include/linux/init_ohci1394_dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT extern int __initdata init_ohci1394_dma_early; extern void __init init_ohci1394_dma_on_all_controllers(void); #endif ```
Linux işletim sistemi çekirdeği için 'include/linux/of_reserved_mem' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __OF_RESERVED_MEM_H #define __OF_RESERVED_MEM_H #include <linux/device.h> #include <linux/of.h> struct of_phandle_args; struct reserved_mem_ops; struct resource; struct reserved_mem { const char *name; const struct reserved_mem_ops *ops; phys_addr_t base; p...
Linux işletim sistemi çekirdeği için 'include/linux/component' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef COMPONENT_H #define COMPONENT_H #include <linux/stddef.h> #include <linux/types.h> struct device; /** * struct component_ops - callbacks for component drivers * * Components are registered with component_add() and unregistered with * component_del(). */ struct...
Linux işletim sistemi çekirdeği için 'include/linux/if_tap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IF_TAP_H_ #define _LINUX_IF_TAP_H_ #include <net/sock.h> #include <linux/skb_array.h> struct file; struct socket; #if IS_ENABLED(CONFIG_TAP) struct socket *tap_get_socket(struct file *); struct ptr_ring *tap_get_ptr_ring(struct file *file); #else #include <l...
Linux işletim sistemi çekirdeği için 'include/linux/nfs_page' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/linux/nfs_page.h * * Copyright (C) 2000 Trond Myklebust * * NFS page cache wrapper. */ #ifndef _LINUX_NFS_PAGE_H #define _LINUX_NFS_PAGE_H #include <linux/list.h> #include <linux/pagemap.h> #include <linux/wait.h> #include <linux/sunrpc/auth.h> #in...
Linux işletim sistemi çekirdeği için 'include/linux/swiotlb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_SWIOTLB_H #define __LINUX_SWIOTLB_H #include <linux/device.h> #include <linux/dma-direction.h> #include <linux/init.h> #include <linux/types.h> #include <linux/limits.h> #include <linux/spinlock.h> #include <linux/workqueue.h> struct device; struct page; str...
Linux işletim sistemi çekirdeği için 'include/linux/kmsan-checks' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * KMSAN checks to be used for one-off annotations in subsystems. * * Copyright (C) 2017-2022 Google LLC * Author: Alexander Potapenko <glider@google.com> * */ #ifndef _LINUX_KMSAN_CHECKS_H #define _LINUX_KMSAN_CHECKS_H #include <linux/types.h> #ifdef CONFIG_KMSAN ...
Linux işletim sistemi çekirdeği için 'include/linux/leds-lp3952' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * LED driver for TI lp3952 controller * * Copyright (C) 2016, DAQRI, LLC. * Author: Tony Makkiel <tony.makkiel@daqri.com> */ #ifndef LEDS_LP3952_H_ #define LEDS_LP3952_H_ #define LP3952_NAME "lp3952" #define LP3952_CMD_REG_COUNT ...
Linux işletim sistemi çekirdeği için 'include/linux/rbtree_latch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Latched RB-trees * * Copyright (C) 2015 Intel Corp., Peter Zijlstra <peterz@infradead.org> * * Since RB-trees have non-atomic modifications they're not immediately suited * for RCU/lockless queries. Even though we made RB-tree lookups non-fatal for * lockless look...
Linux işletim sistemi çekirdeği için 'include/linux/kdev_t' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_KDEV_T_H #define _LINUX_KDEV_T_H #include <uapi/linux/kdev_t.h> #define MINORBITS 20 #define MINORMASK ((1U << MINORBITS) - 1) #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) #define MKDEV(ma,m...
Linux işletim sistemi çekirdeği için 'include/linux/ppp_defs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * ppp_defs.h - PPP definitions. * * Copyright 1994-2000 Paul Mackerras. */ #ifndef _PPP_DEFS_H_ #define _PPP_DEFS_H_ #include <linux/crc-ccitt.h> #include <linux/skbuff.h> #include <uapi/linux/ppp_defs.h> #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) /** * pp...
Linux işletim sistemi çekirdeği için 'include/linux/list' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_LIST_H #define _LINUX_LIST_H #include <linux/container_of.h> #include <linux/types.h> #include <linux/stddef.h> #include <linux/poison.h> #include <linux/const.h> #include <asm/barrier.h> /* * Circular doubly linked list implementation. * * Some of the in...
Linux işletim sistemi çekirdeği için 'include/linux/flex_proportions' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Floating proportions with flexible aging period * * Copyright (C) 2011, SUSE, Jan Kara <jack@suse.cz> */ #ifndef _LINUX_FLEX_PROPORTIONS_H #define _LINUX_FLEX_PROPORTIONS_H #include <linux/percpu_counter.h> #include <linux/spinlock.h> #include <linux/seqlock.h> #i...
Linux işletim sistemi çekirdeği için 'include/linux/fcntl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_FCNTL_H #define _LINUX_FCNTL_H #include <linux/stat.h> #include <uapi/linux/fcntl.h> /* List of all valid flags for the open/openat flags argument: */ #define VALID_OPEN_FLAGS \ (O_RDONLY | O_WRONLY | O_RDWR | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | \ O_AP...
Linux işletim sistemi çekirdeği için 'include/linux/psp-platform-access' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __PSP_PLATFORM_ACCESS_H #define __PSP_PLATFORM_ACCESS_H #include <linux/psp.h> enum psp_platform_access_msg { PSP_CMD_NONE = 0x0, PSP_SFS_GET_FW_VERSIONS, PSP_SFS_UPDATE, PSP_CMD_HSTI_QUERY = 0x14, PSP_I2C_REQ_BUS_CMD = 0x64, PSP_DYNAMIC_BOOST_GET_NO...
Linux işletim sistemi çekirdeği için 'include/linux/bch' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Generic binary BCH encoding/decoding library * * Copyright © 2011 Parrot S.A. * * Author: Ivan Djelic <ivan.djelic@parrot.com> * * Description: * * This library provides runtime configurable encoding/decoding of binary * Bose-Chaudhuri-Hocquenghem (BCH) co...
Linux işletim sistemi çekirdeği için 'include/linux/rtc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Generic RTC interface. * This version contains the part of the user interface to the Real Time Clock * service. It is used with both the legacy mc146818 and also EFI * Struct rtc_time and first 12 ioctl by Paul Gortmaker, 1996 - separated out * from <linux/mc146818...
Linux işletim sistemi çekirdeği için 'include/linux/kern_levels' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __KERN_LEVELS_H__ #define __KERN_LEVELS_H__ #define KERN_SOH "\001" /* ASCII Start Of Header */ #define KERN_SOH_ASCII '\001' #define KERN_EMERG KERN_SOH "0" /* system is unusable */ #define KERN_ALERT KERN_SOH "1" /* action must be taken immediately */ #define KER...
Linux işletim sistemi çekirdeği için 'include/linux/lru_cache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* lru_cache.c This file is part of DRBD by Philipp Reisner and Lars Ellenberg. Copyright (C) 2003-2008, LINBIT Information Technologies GmbH. Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2003-2008, Lars Ellenb...
Linux işletim sistemi çekirdeği için 'include/linux/buffer_head' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * include/linux/buffer_head.h * * Everything to do with buffer_heads. */ #ifndef _LINUX_BUFFER_HEAD_H #define _LINUX_BUFFER_HEAD_H #include <linux/types.h> #include <linux/blk_types.h> #include <linux/fs.h> #include <linux/linkage.h> #include <linux/pagemap.h> #inclu...
Linux işletim sistemi çekirdeği için 'include/linux/rmap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_RMAP_H #define _LINUX_RMAP_H /* * Declarations for Reverse Mapping functions in mm/rmap.c */ #include <linux/list.h> #include <linux/slab.h> #include <linux/mm.h> #include <linux/rwsem.h> #include <linux/memcontrol.h> #include <linux/highmem.h> #include <lin...
Linux işletim sistemi çekirdeği için 'include/linux/mroute6' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_MROUTE6_H #define __LINUX_MROUTE6_H #include <linux/pim.h> #include <linux/skbuff.h> /* for struct sk_buff_head */ #include <net/net_namespace.h> #include <uapi/linux/mroute6.h> #include <linux/mroute_base.h> #include <linux/sockptr.h> #include <net/fib_rule...
Linux işletim sistemi çekirdeği için 'include/linux/align' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_ALIGN_H #define _LINUX_ALIGN_H #include <vdso/align.h> #endif /* _LINUX_ALIGN_H */ ```
Linux işletim sistemi çekirdeği için 'include/linux/kcov' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_KCOV_H #define _LINUX_KCOV_H #include <linux/sched.h> #include <uapi/linux/kcov.h> struct task_struct; #ifdef CONFIG_KCOV enum kcov_mode { /* Coverage collection is not enabled yet. */ KCOV_MODE_DISABLED = 0, /* KCOV was initialized, but tracing mode has...
Linux işletim sistemi çekirdeği için 'include/linux/rbtree' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Red Black Trees (C) 1999 Andrea Arcangeli <andrea@suse.de> linux/include/linux/rbtree.h To use rbtrees you'll have to implement your own insert and search cores. This will avoid us to use callbacks and to drop drammatically performances. I know i...
Linux işletim sistemi çekirdeği için 'include/linux/trace_remote' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_TRACE_REMOTE_H #define _LINUX_TRACE_REMOTE_H #include <linux/dcache.h> #include <linux/ring_buffer.h> #include <linux/trace_remote_event.h> /** * struct trace_remote_callbacks - Callbacks used by Tracefs to control the remote * @init: Called once the remo...
Linux işletim sistemi çekirdeği için 'include/linux/page_owner' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_PAGE_OWNER_H #define __LINUX_PAGE_OWNER_H #include <linux/jump_label.h> #ifdef CONFIG_PAGE_OWNER extern struct static_key_false page_owner_inited; extern struct page_ext_operations page_owner_ops; extern void __reset_page_owner(struct page *page, unsigned s...
Linux işletim sistemi çekirdeği için 'include/linux/dma-fence-unwrap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2022 Advanced Micro Devices, Inc. * Authors: * Christian König <christian.koenig@amd.com> */ #ifndef __LINUX_DMA_FENCE_UNWRAP_H #define __LINUX_DMA_FENCE_UNWRAP_H struct dma_fence; /** * struct dma_fence_unwrap - cursor into the container struc...
Linux işletim sistemi çekirdeği için 'include/linux/reboot' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_REBOOT_H #define _LINUX_REBOOT_H #include <linux/notifier.h> #include <uapi/linux/reboot.h> struct device; struct sys_off_handler; #define SYS_DOWN 0x0001 /* Notify of system down */ #define SYS_RESTART SYS_DOWN #define SYS_HALT 0x0002 /* Notify of system h...
Linux işletim sistemi çekirdeği için 'include/linux/console_struct' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * console_struct.h * * Data structure describing single virtual console except for data * used by vt.c. * * Fields marked with [#] must be set by the low-level driver. * Fields marked with [!] can be changed by the low-level driver * to achieve effects such as fast...