instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'fs/btrfs/verity' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef BTRFS_VERITY_H #define BTRFS_VERITY_H struct inode; struct btrfs_inode; #ifdef CONFIG_FS_VERITY #include <linux/fsverity.h> extern const struct fsverity_operations btrfs_verityops; int btrfs_drop_verity_items(struct btrfs_inode *inode); int btrfs_get_verity_desc...
Linux işletim sistemi çekirdeği için 'fs/btrfs/btrfs_inode' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2007 Oracle. All rights reserved. */ #ifndef BTRFS_INODE_H #define BTRFS_INODE_H #include <linux/hash.h> #include <linux/refcount.h> #include <linux/spinlock.h> #include <linux/mutex.h> #include <linux/rwsem.h> #include <linux/fs.h> #include <linux/mm....
Linux işletim sistemi çekirdeği için 'fs/btrfs/ulist' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2011 STRATO AG * written by Arne Jansen <sensille@gmx.net> */ #ifndef BTRFS_ULIST_H #define BTRFS_ULIST_H #include <linux/types.h> #include <linux/list.h> #include <linux/rbtree.h> /* * ulist is a generic data structure to hold a collection of unique...
Linux işletim sistemi çekirdeği için 'fs/btrfs/delalloc-space' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef BTRFS_DELALLOC_SPACE_H #define BTRFS_DELALLOC_SPACE_H #include <linux/types.h> struct extent_changeset; struct btrfs_inode; struct btrfs_fs_info; int btrfs_alloc_data_chunk_ondemand(const struct btrfs_inode *inode, u64 bytes); int btrfs_check_data_free_space(struc...
Linux işletim sistemi çekirdeği için 'fs/btrfs/uuid-tree' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef BTRFS_UUID_TREE_H #define BTRFS_UUID_TREE_H #include <linux/types.h> struct btrfs_trans_handle; struct btrfs_fs_info; int btrfs_uuid_tree_add(struct btrfs_trans_handle *trans, const u8 *uuid, u8 type, u64 subid); int btrfs_uuid_tree_remove(struct btrfs_trans_ha...
Linux kernel'inin 'fs/btrfs/discard' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/jiffies.h> #include <linux/kernel.h> #include <linux/ktime.h> #include <linux/list.h> #include <linux/math64.h> #include <linux/sizes.h> #include <linux/workqueue.h> #include "ctree.h" #include "block-group.h" #include "discard.h" #include "free-space-cache.h" #...
Linux kernel'inin 'fs/btrfs/ulist' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2011 STRATO AG * written by Arne Jansen <sensille@gmx.net> */ #include <linux/slab.h> #include "messages.h" #include "ulist.h" /* * ulist is a generic data structure to hold a collection of unique u64 * values. The only operations it supports is adding ...
Linux işletim sistemi çekirdeği için 'fs/btrfs/extent_map' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef BTRFS_EXTENT_MAP_H #define BTRFS_EXTENT_MAP_H #include <linux/compiler_types.h> #include <linux/spinlock_types.h> #include <linux/rbtree.h> #include <linux/list.h> #include <linux/refcount.h> #include "fs.h" struct btrfs_inode; struct btrfs_fs_info; #define EXTENT...
Linux kernel'inin 'fs/btrfs/tests/zoned-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2026 Western Digital. All rights reserved. */ #include <linux/cleanup.h> #include <linux/sizes.h> #include "btrfs-tests.h" #include "../space-info.h" #include "../volumes.h" #include "../zoned.h" #define WP_MISSING_DEV ((u64)-1) #define WP_CONVENTIONA...
Linux kernel'inin 'fs/btrfs/tests/free-space-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013 Fusion IO. All rights reserved. */ #include <linux/slab.h> #include "btrfs-tests.h" #include "../ctree.h" #include "../disk-io.h" #include "../free-space-cache.h" #include "../block-group.h" #define BITS_PER_BITMAP (PAGE_SIZE * 8UL) /* * This test...
Linux kernel'inin 'fs/btrfs/tests/free-space-tree-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2015 Facebook. All rights reserved. */ #include <linux/types.h> #include "btrfs-tests.h" #include "../ctree.h" #include "../disk-io.h" #include "../free-space-tree.h" #include "../transaction.h" #include "../block-group.h" #include "../accessors.h" struct...
Linux kernel'inin 'fs/btrfs/tests/btrfs-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013 Fusion IO. All rights reserved. */ #include <linux/fs.h> #include <linux/mount.h> #include <linux/pseudo_fs.h> #include <linux/magic.h> #include "btrfs-tests.h" #include "../ctree.h" #include "../free-space-cache.h" #include "../free-space-tree.h" #in...
Linux kernel'inin 'fs/btrfs/tests/delayed-refs-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/sizes.h> #include "btrfs-tests.h" #include "../transaction.h" #include "../delayed-ref.h" #include "../extent-tree.h" #define FAKE_ROOT_OBJECTID 256 #define FAKE_BYTENR 0 #define FAKE_LEVEL 1 #define FAKE_INO 256 #define FAKE_FILE_OFFSET 0 #define FAKE_PARENT SZ...
Linux kernel'inin 'fs/btrfs/tests/extent-buffer-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013 Fusion IO. All rights reserved. */ #include <linux/slab.h> #include "btrfs-tests.h" #include "../ctree.h" #include "../extent_io.h" #include "../disk-io.h" #include "../accessors.h" static int test_btrfs_split_item(u32 sectorsize, u32 nodesize) { st...
Linux kernel'inin 'fs/btrfs/tests/extent-io-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013 Fusion IO. All rights reserved. */ #include <linux/pagemap.h> #include <linux/folio_batch.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/sizes.h> #include "btrfs-tests.h" #include "../ctree.h" #include "../extent_io.h" #include "....
Linux kernel'inin 'fs/btrfs/tests/raid-stripe-tree-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2024 Western Digital Corporation or its affiliates. */ #include <linux/sizes.h> #include "../fs.h" #include "../disk-io.h" #include "../transaction.h" #include "../volumes.h" #include "../raid-stripe-tree.h" #include "btrfs-tests.h" #define RST_TEST_NUM_DE...
Linux kernel'inin 'fs/btrfs/tests/inode-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013 Fusion IO. All rights reserved. */ #include <linux/types.h> #include "btrfs-tests.h" #include "../ctree.h" #include "../btrfs_inode.h" #include "../disk-io.h" #include "../extent_io.h" #include "../volumes.h" #include "../compression.h" #include "../a...
Linux kernel'inin 'fs/btrfs/tests/qgroup-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2013 Facebook. All rights reserved. */ #include <linux/types.h> #include "btrfs-tests.h" #include "../ctree.h" #include "../transaction.h" #include "../disk-io.h" #include "../qgroup.h" #include "../backref.h" #include "../fs.h" #include "../accessors.h" ...
Linux işletim sistemi çekirdeği için 'fs/btrfs/tests/btrfs-tests' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2013 Fusion IO. All rights reserved. */ #ifndef BTRFS_TESTS_H #define BTRFS_TESTS_H #include <linux/types.h> #include <linux/cleanup.h> #ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS int btrfs_run_sanity_tests(void); #define test_msg(fmt, ...) pr_info("BTR...
Linux kernel'inin 'fs/btrfs/tests/chunk-allocation-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2026 Meta. All rights reserved. */ #include <linux/sizes.h> #include "btrfs-tests.h" #include "../volumes.h" #include "../disk-io.h" #include "../extent-io-tree.h" /* * Tests for chunk allocator pending extent internals. * These two functions form the c...
Linux kernel'inin 'fs/btrfs/tests/extent-map-tests' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2017 Oracle. All rights reserved. */ #include <linux/types.h> #include "btrfs-tests.h" #include "../ctree.h" #include "../btrfs_inode.h" #include "../volumes.h" #include "../disk-io.h" #include "../block-group.h" static int free_extent_map_tree(struct btr...
Linux kernel'inin 'fs/exfat/super' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #include <linux/fs_context.h> #include <linux/fs_parser.h> #include <linux/module.h> #include <linux/init.h> #include <linux/time.h> #include <linux/mount.h> #include <linux/cred.h> #include <linux/statfs...
Linux kernel'inin 'fs/exfat/file' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #include <linux/slab.h> #include <linux/compat.h> #include <linux/cred.h> #include <linux/buffer_head.h> #include <linux/blkdev.h> #include <linux/fsnotify.h> #include <linux/security.h> #include <linux/ms...
Linux kernel'inin 'fs/exfat/balloc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #include <linux/blkdev.h> #include <linux/slab.h> #include <linux/bitmap.h> #include <linux/buffer_head.h> #include <linux/backing-dev.h> #include "exfat_raw.h" #include "exfat_fs.h" #if BITS_PER_LONG =...
Linux kernel'inin 'fs/exfat/misc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Written 1992,1993 by Werner Almesberger * 22/11/2000 - Fixed fat_date_unix2dos for dates earlier than 01/01/1980 * and date_dos2unix for date==0 by Igor Zhbanov(bsg@uniyar.ac.ru) * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #include <linux/t...
Linux kernel'inin 'fs/exfat/nls' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #include <linux/string.h> #include <linux/slab.h> #include <linux/buffer_head.h> #include <linux/unaligned.h> #include "exfat_raw.h" #include "exfat_fs.h" /* Upcase table macro */ #define EXFAT_NUM_UPCAS...
Linux kernel'inin 'fs/exfat/inode' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #include <linux/init.h> #include <linux/buffer_head.h> #include <linux/mpage.h> #include <linux/bio.h> #include <linux/blkdev.h> #include <linux/time.h> #include <linux/writeback.h> #include <linux/uio.h> ...
Linux kernel'inin 'fs/exfat/dir' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #include <linux/slab.h> #include <linux/compat.h> #include <linux/bio.h> #include <linux/buffer_head.h> #include <linux/filelock.h> #include "exfat_raw.h" #include "exfat_fs.h" static int exfat_extract_u...
Linux işletim sistemi çekirdeği için 'fs/exfat/exfat_fs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #ifndef _EXFAT_FS_H #define _EXFAT_FS_H #include <linux/fs.h> #include <linux/ratelimit.h> #include <linux/nls.h> #include <linux/blkdev.h> #include <linux/backing-dev.h> #include <uapi/linux/exfat.h> ...
Linux kernel'inin 'fs/exfat/namei' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #include <linux/iversion.h> #include <linux/namei.h> #include <linux/slab.h> #include <linux/buffer_head.h> #include <linux/nls.h> #include "exfat_raw.h" #include "exfat_fs.h" static inline unsigned long...
Linux kernel'inin 'fs/exfat/cache' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * linux/fs/fat/cache.c * * Written 1992,1993 by Werner Almesberger * * Mar 1999. AV. Changed cache, so that it uses the starting cluster instead * of inode number. * May 1999. AV. Fixed the bogosity with FAT32 (read "FAT28"). Fscking lusers. * Copyright ...
Linux işletim sistemi çekirdeği için 'fs/exfat/exfat_raw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #ifndef _EXFAT_RAW_H #define _EXFAT_RAW_H #include <linux/types.h> #define BOOT_SIGNATURE 0xAA55 #define EXBOOT_SIGNATURE 0xAA550000 #define STR_EXFAT "EXFAT " /* size should be 8 */ #define EXFA...
Linux kernel'inin 'fs/exfat/fatent' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. */ #include <linux/slab.h> #include <linux/unaligned.h> #include <linux/buffer_head.h> #include <linux/blkdev.h> #include "exfat_raw.h" #include "exfat_fs.h" static int exfat_mirror_bh(struct super_block *s...
Linux işletim sistemi çekirdeği için 'fs/ceph/subvolume_metrics' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FS_CEPH_SUBVOLUME_METRICS_H #define _FS_CEPH_SUBVOLUME_METRICS_H #include <linux/types.h> #include <linux/rbtree.h> #include <linux/spinlock.h> #include <linux/ktime.h> #include <linux/atomic.h> struct seq_file; struct ceph_mds_client; struct ceph_inode_info; /** ...
Linux kernel'inin 'fs/ceph/super' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only #include <linux/ceph/ceph_debug.h> #include <linux/backing-dev.h> #include <linux/ctype.h> #include <linux/fs.h> #include <linux/inet.h> #include <linux/in6.h> #include <linux/module.h> #include <linux/mount.h> #include <linux/fs_context.h> #include <linux/fs_parser.h> #i...
Linux kernel'inin 'fs/ceph/subvolume_metrics' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/math64.h> #include <linux/slab.h> #include <linux/seq_file.h> #include "subvolume_metrics.h" #include "mds_client.h" #include "super.h" /** * struct ceph_subvol_metric_rb_entry - Per-subvolume I/O metrics node * @node: Red-...
Linux kernel'inin 'fs/ceph/mdsmap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/bug.h> #include <linux/err.h> #include <linux/random.h> #include <linux/slab.h> #include <linux/types.h> #include <linux/ceph/messenger.h> #include <linux/ceph/decode.h> #include "mdsmap.h" #include "mds_client.h" #include "s...
Linux kernel'inin 'fs/ceph/mds_client' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/fs.h> #include <linux/wait.h> #include <linux/slab.h> #include <linux/gfp.h> #include <linux/sched.h> #include <linux/debugfs.h> #include <linux/seq_file.h> #include <linux/ratelimit.h> #include <linux/bits.h> #include <linux/k...
Linux işletim sistemi çekirdeği için 'fs/ceph/ioctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef FS_CEPH_IOCTL_H #define FS_CEPH_IOCTL_H #include <linux/ioctl.h> #include <linux/types.h> #define CEPH_IOCTL_MAGIC 0x97 /* * CEPH_IOC_GET_LAYOUT - get file layout or dir layout policy * CEPH_IOC_SET_LAYOUT - set file layout * CEPH_IOC_SET_LAYOUT_POLICY - set dir...
Linux kernel'inin 'fs/ceph/file' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/ceph/striper.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/slab.h> #include <linux/file.h> #include <linux/mount.h> #include <linux/namei.h> #include <linux/writeback.h> #include <linux/falloc.h> #includ...
Linux işletim sistemi çekirdeği için 'fs/ceph/metric' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FS_CEPH_MDS_METRIC_H #define _FS_CEPH_MDS_METRIC_H #include <linux/ceph/types.h> #include <linux/percpu_counter.h> #include <linux/ktime.h> extern bool disable_send_metrics; enum ceph_metric_type { CLIENT_METRIC_TYPE_CAP_INFO, CLIENT_METRIC_TYPE_READ_LATENCY, C...
Linux kernel'inin 'fs/ceph/crypto' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * The base64 encode/decode code was copied from fscrypt: * Copyright (C) 2015, Google, Inc. * Copyright (C) 2015, Motorola Mobility * Written by Uday Savagaonkar, 2014. * Modified by Jaegeuk Kim, 2015. */ #include <linux/ceph/ceph_debug.h> #include <linux/xattr.h> #incl...
Linux kernel'inin 'fs/ceph/locks' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/file.h> #include <linux/namei.h> #include <linux/random.h> #include "super.h" #include "mds_client.h" #include <linux/filelock.h> #include <linux/ceph/pagelist.h> static u64 lock_secret; static int ceph_lock_wait_for_completi...
Linux kernel'inin 'fs/ceph/acl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/fs/ceph/acl.c * * Copyright (C) 2013 Guangliang Zhao, <lucienchao@gmail.com> */ #include <linux/ceph/ceph_debug.h> #include <linux/fs.h> #include <linux/string.h> #include <linux/xattr.h> #include <linux/posix_acl_xattr.h> #include <linux/posix_acl.h> #inclu...
Linux kernel'inin 'fs/ceph/export' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/exportfs.h> #include <linux/slab.h> #include <linux/unaligned.h> #include "super.h" #include "mds_client.h" #include "crypto.h" /* * Basic fh */ struct ceph_nfs_fh { u64 ino; } __attribute__ ((packed)); /* * Larger fh th...
Linux kernel'inin 'fs/ceph/metric' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* SPDX-License-Identifier: GPL-2.0 */ #include <linux/ceph/ceph_debug.h> #include <linux/types.h> #include <linux/percpu_counter.h> #include <linux/math64.h> #include <linux/ratelimit.h> #include <linux/ceph/decode.h> #include "metric.h" #include "mds_client.h" static bool metrics_disable_warned; static inli...
Linux kernel'inin 'fs/ceph/snap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/fs.h> #include <linux/sort.h> #include <linux/slab.h> #include <linux/iversion.h> #include "super.h" #include "mds_client.h" #include <linux/ceph/decode.h> /* unused map expires after 5 minutes */ #define CEPH_SNAPID_MAP_TIMEO...
Linux kernel'inin 'fs/ceph/ioctl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/in.h> #include "super.h" #include "mds_client.h" #include "ioctl.h" #include <linux/ceph/striper.h> #include <linux/fscrypt.h> /* * ioctls */ /* * get and set the file layout */ static long ceph_ioctl_get_layout(struct fi...
Linux işletim sistemi çekirdeği için 'fs/ceph/mds_client' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FS_CEPH_MDS_CLIENT_H #define _FS_CEPH_MDS_CLIENT_H #include <linux/completion.h> #include <linux/kref.h> #include <linux/list.h> #include <linux/mutex.h> #include <linux/rbtree.h> #include <linux/spinlock.h> #include <linux/refcount.h> #include <linux/utsname.h> #in...
Linux kernel'inin 'fs/ceph/strings' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Ceph fs string constants */ #include <linux/module.h> #include <linux/ceph/types.h> const char *ceph_mds_state_name(int s) { switch (s) { /* down and out */ case CEPH_MDS_STATE_DNE: return "down:dne"; case CEPH_MDS_STATE_STOPPED: return "down:stopped"; ...
Linux işletim sistemi çekirdeği için 'fs/ceph/io' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FS_CEPH_IO_H #define _FS_CEPH_IO_H #include <linux/compiler_attributes.h> int __must_check ceph_start_io_read(struct inode *inode); void ceph_end_io_read(struct inode *inode); int __must_check ceph_start_io_write(struct inode *inode); void ceph_end_io_write(struct ...
Linux kernel'inin 'fs/ceph/caps' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/fs.h> #include <linux/kernel.h> #include <linux/sched/signal.h> #include <linux/slab.h> #include <linux/vmalloc.h> #include <linux/wait.h> #include <linux/writeback.h> #include <linux/iversion.h> #include <linux/filelock.h> #in...
Linux işletim sistemi çekirdeği için 'fs/ceph/super' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FS_CEPH_SUPER_H #define _FS_CEPH_SUPER_H #include <linux/ceph/ceph_debug.h> #include <linux/ceph/osd_client.h> #include <linux/unaligned.h> #include <linux/backing-dev.h> #include <linux/completion.h> #include <linux/exportfs.h> #include <linux/fs.h> #include <linu...
Linux kernel'inin 'fs/ceph/inode' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/module.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/string.h> #include <linux/uaccess.h> #include <linux/kernel.h> #include <linux/writeback.h> #include <linux/vmalloc.h> #include <linux/xattr.h> #include <l...
Linux kernel'inin 'fs/ceph/dir' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/spinlock.h> #include <linux/namei.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/xattr.h> #include "super.h" #include "mds_client.h" #include "crypto.h" /* * Directory operations: readdir, lookup, create...
Linux işletim sistemi çekirdeği için 'fs/ceph/mdsmap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _FS_CEPH_MDSMAP_H #define _FS_CEPH_MDSMAP_H #include <linux/bug.h> #include <linux/ceph/types.h> struct ceph_mds_client; /* * mds map - describe servers in the mds cluster. * * we limit fields to those the client actually xcares about */ struct ceph_mds_info { ...
Linux işletim sistemi çekirdeği için 'fs/ceph/cache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Ceph cache definitions. * * Copyright (C) 2013 by Adfin Solutions, Inc. All Rights Reserved. * Written by Milosz Tanski (milosz@adfin.com) */ #ifndef _CEPH_CACHE_H #define _CEPH_CACHE_H #include <linux/netfs.h> #ifdef CONFIG_CEPH_FSCACHE #include <linux/fs...
Linux kernel'inin 'fs/ceph/xattr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/ceph/pagelist.h> #include "super.h" #include "mds_client.h" #include <linux/ceph/decode.h> #include <linux/xattr.h> #include <linux/security.h> #include <linux/posix_acl_xattr.h> #include <linux/slab.h> #define XATTR_CEPH_PR...
Linux kernel'inin 'fs/ceph/cache' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Ceph cache definitions. * * Copyright (C) 2013 by Adfin Solutions, Inc. All Rights Reserved. * Written by Milosz Tanski (milosz@adfin.com) */ #include <linux/ceph/ceph_debug.h> #include <linux/fs_context.h> #include "super.h" #include "cache.h" void ceph_fsca...
Linux kernel'inin 'fs/ceph/debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/device.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/ctype.h> #include <linux/debugfs.h> #include <linux/seq_file.h> #include <linux/math64.h> #include <linux/ktime.h> #include <linux/atomic.h> #include ...
Linux kernel'inin 'fs/ceph/io' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2016 Trond Myklebust * Copyright (c) 2019 Jeff Layton * * I/O and data path helper functionality. * * Heavily borrowed from equivalent code in fs/nfs/io.c */ #include <linux/ceph/ceph_debug.h> #include <linux/types.h> #include <linux/kernel.h> #includ...
Linux kernel'inin 'fs/ceph/ceph_frag' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Ceph 'frag' type */ #include <linux/module.h> #include <linux/ceph/types.h> int ceph_frag_compare(__u32 a, __u32 b) { unsigned va = ceph_frag_value(a); unsigned vb = ceph_frag_value(b); if (va < vb) return -1; if (va > vb) return 1; va = ceph_frag_bits(a); vb =...
Linux kernel'inin 'fs/ceph/quota' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * quota.c - CephFS quota * * Copyright (C) 2017-2018 SUSE */ #include <linux/statfs.h> #include "super.h" #include "mds_client.h" void ceph_adjust_quota_realms_count(struct inode *inode, bool inc) { struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); if (inc...
Linux işletim sistemi çekirdeği için 'fs/ceph/crypto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Ceph fscrypt functionality */ #ifndef _CEPH_CRYPTO_H #define _CEPH_CRYPTO_H #include <crypto/sha2.h> #include <linux/fscrypt.h> #include <linux/base64.h> #define CEPH_FSCRYPT_BLOCK_SHIFT 12 #define CEPH_FSCRYPT_BLOCK_SIZE (_AC(1, UL) << CEPH_FSCRYPT_BLOCK_SHIFT...
Linux kernel'inin 'fs/ceph/util' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Some non-inline ceph helpers */ #include <linux/module.h> #include <linux/ceph/types.h> /* * return true if @layout appears to be valid */ int ceph_file_layout_is_valid(const struct ceph_file_layout *layout) { __u32 su = layout->stripe_unit; __u32 sc = layout->stripe...
Linux kernel'inin 'fs/ceph/addr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/backing-dev.h> #include <linux/fs.h> #include <linux/mm.h> #include <linux/swap.h> #include <linux/pagemap.h> #include <linux/slab.h> #include <linux/folio_batch.h> #include <linux/task_io_accounting_ops.h> #include <linux/sign...
Linux kernel'inin 'fs/nls/nls_koi8-u' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_koi8-u.c * * Charset koi8-u translation tables. * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/nls.h> #include <linux/errno.h> static const wchar_t charset2uni[256] = { /* 0x00*/ ...
Linux kernel'inin 'fs/nls/nls_cp852' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp852.c * * Charset cp852 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_cp862' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp862.c * * Charset cp862 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_cp864' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp864.c * * Charset cp864 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_iso8859-2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_iso8859-2.c * * Charset iso8859-2 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #includ...
Linux kernel'inin 'fs/nls/nls_iso8859-5' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_iso8859-5.c * * Charset iso8859-5 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #includ...
Linux kernel'inin 'fs/nls/nls_cp1250' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp1250.c * * Charset cp1250 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <lin...
Linux kernel'inin 'fs/nls/nls_cp860' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp860.c * * Charset cp860 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_cp869' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp869.c * * Charset cp869 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_iso8859-7' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_iso8859-7.c * * Charset iso8859-7 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #includ...
Linux kernel'inin 'fs/nls/mac-croatian' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/mac-croatian.c * * Charset maccroatian translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ /* * COPYRIGHT AND PERMISSION NOTICE * * Copyright 1991...
Linux kernel'inin 'fs/nls/nls_iso8859-15' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_iso8859-15.c * * Charset iso8859-15 translation tables. * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/nls.h> #include <linux/errno.h> static const wchar_t charset2uni[256] = { /*...
Linux kernel'inin 'fs/nls/nls_ascii' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_ascii.c * * Charset ascii translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_iso8859-9' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_iso8859-9.c * * Charset iso8859-9 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #includ...
Linux kernel'inin 'fs/nls/nls_cp1255' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp1255.c * * Charset cp1255 translation tables. * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/nls.h> #include <linux/errno.h> static const wchar_t charset2uni[256] = { /* 0x00*/ ...
Linux kernel'inin 'fs/nls/nls_cp863' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp863.c * * Charset cp863 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/mac-romanian' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/mac-romanian.c * * Charset macromanian translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ /* * COPYRIGHT AND PERMISSION NOTICE * * Copyright 1991...
Linux kernel'inin 'fs/nls/nls_cp861' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp861.c * * Charset cp861 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_ucs2_utils' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Some of the source code in this file came from fs/cifs/uniupr.h * Copyright (c) International Business Machines Corp., 2000,2002 * * Some of the source code in this file came from fs/cifs/cifs_unicode.c * * Copyright (c) International Business Machin...
Linux kernel'inin 'fs/nls/mac-roman' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/mac-roman.c * * Charset macroman translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ /* * COPYRIGHT AND PERMISSION NOTICE * * Copyright 1991-2012 ...
Linux kernel'inin 'fs/nls/mac-greek' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/mac-greek.c * * Charset macgreek translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ /* * COPYRIGHT AND PERMISSION NOTICE * * Copyright 1991-2012 ...
Linux kernel'inin 'fs/nls/nls_cp437' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp437.c * * Charset cp437 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_cp949' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp949.c * * Charset cp949 translation tables. * This translation table was generated automatically, the * original table can be download from the Microsoft website. * (http://www.microsoft.com/typography/unicode/unicodecp.htm) */ #include <linux/module.h> #include <linux/kernel.h> #in...
Linux kernel'inin 'fs/nls/nls_cp857' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp857.c * * Charset cp857 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_iso8859-3' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_iso8859-3.c * * Charset iso8859-3 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #includ...
Linux kernel'inin 'fs/nls/nls_koi8-r' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_koi8-r.c * * Charset koi8-r translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <lin...
Linux kernel'inin 'fs/nls/nls_utf8' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Module for handling utf8 just like any other charset. * By Urban Widmark 2000 */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/nls.h> #include <linux/errno.h> static unsigned char identity[256]; static int uni2char(wchar_t uni, unsigned char *out, int boun...
Linux kernel'inin 'fs/nls/mac-centeuro' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/mac-centeuro.c * * Charset maccenteuro translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ /* * COPYRIGHT AND PERMISSION NOTICE * * Copyright 1991...
Linux kernel'inin 'fs/nls/nls_cp850' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp850.c * * Charset cp850 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_cp874' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp874.c * * Charset cp874 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_euc-jp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_euc-jp.c * * Added `OSF/JVC Recommended Code Set Conversion Specification * between Japanese EUC and Shift-JIS' support: <hirofumi@mail.parknet.co.jp> * (http://www.opengroup.or.jp/jvc/cde/sjis-euc-e.html) */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/string.h>...
Linux kernel'inin 'fs/nls/nls_cp866' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp866.c * * Charset cp866 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux...
Linux kernel'inin 'fs/nls/nls_base' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_base.c * * Native language support--charsets and unicode translations. * By Gordon Chaffee 1996, 1997 * * Unicode based case conversion 1999 by Wolfram Pienkoss * */ #include <linux/module.h> #include <linux/string.h> #include <linux/nls.h> #include <linux/kernel.h> #include <linux/e...
Linux kernel'inin 'fs/nls/nls_cp1251' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * linux/fs/nls/nls_cp1251.c * * Charset cp1251 translation tables. * Generated automatically from the Unicode and charset * tables from the Unicode Organization (www.unicode.org). * The Unicode to charset table has only exact mappings. */ #include <linux/module.h> #include <linux/kernel.h> #include <lin...