instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'fs/jffs2/compr_zlib' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #if !defined(__...
Linux kernel'inin 'fs/jffs2/writev' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #include <linux/kernel.h> #include <linux/mtd/mtd.h> #include "nodelist.h" in...
Linux kernel'inin 'fs/jffs2/scan' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #includ...
Linux işletim sistemi çekirdeği için 'fs/jffs2/acl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2006 NEC Corporation * * Created by KaiGai Kohei <kaigai@ak.jp.nec.com> * * For licensing information, see the file 'LICENCE' in this directory. * */ struct jffs2_acl_entry { jint16_t e_tag; jint16_t e_perm; jint32_t e_id; }; st...
Linux kernel'inin 'fs/jffs2/summary' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2004 Ferenc Havasi <havasi@inf.u-szeged.hu>, * Zoltan Sogor <weth@inf.u-szeged.hu>, * Patrik Kluba <pajko@halom.u-szeged.hu>, * University of Szeged, Hungary * 2006 KaiGai Kohei <kaigai@ak.jp.nec.com> * * Fo...
Linux kernel'inin 'fs/jffs2/dir' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(...
Linux kernel'inin 'fs/jffs2/compr_rtime' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by Arjan van de Ven <arjanv@redhat.com> * * For licensing information, see the file 'LICENCE' in this directory. * * * * Very simple ...
Linux kernel'inin 'fs/jffs2/build' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(...
Linux kernel'inin 'fs/jffs2/security' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2006 NEC Corporation * * Created by KaiGai Kohei <kaigai@ak.jp.nec.com> * * For licensing information, see the file 'LICENCE' in this directory. * */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/fs.h> #include <...
Linux kernel'inin 'fs/jffs2/write' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #includ...
Linux kernel'inin 'fs/jffs2/symlink' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #include "nodelist.h" const struct inode_operations jffs2_symlink_inode_opera...
Linux kernel'inin 'fs/jffs2/fs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(...
Linux kernel'inin 'fs/jffs2/compr_rubin' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by Arjan van de Ven <arjanv@redhat.com> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(f...
Linux kernel'inin 'fs/jffs2/debug' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(...
Linux kernel'inin 'fs/jffs2/malloc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #includ...
Linux işletim sistemi çekirdeği için 'fs/jffs2/os-linux' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #ifndef __JFFS2_OS_LINUX_H__ #define __JFFS2_OS_LINUX_H__ /* JFFS2 uses Linux...
Linux kernel'inin 'fs/jffs2/xattr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2006 NEC Corporation * * Created by KaiGai Kohei <kaigai@ak.jp.nec.com> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define JFFS2_XATTR_IS_CORRUPTED 1 #...
Linux işletim sistemi çekirdeği için 'fs/jffs2/debug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #ifndef _JFFS2_...
Linux kernel'inin 'fs/jffs2/xattr_user' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2006 NEC Corporation * * Created by KaiGai Kohei <kaigai@ak.jp.nec.com> * * For licensing information, see the file 'LICENCE' in this directory. * */ #include <linux/kernel.h> #include <linux/fs.h> #include <linux/jffs2.h> #include ...
Linux kernel'inin 'fs/jffs2/nodemgmt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #includ...
Linux kernel'inin 'fs/jffs2/readinode' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #includ...
Linux kernel'inin 'fs/jffs2/compr_lzo' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2007 Nokia Corporation. All rights reserved. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by Richard Purdie <rpurdie@openedhand.com> * * For licensing information, see the file 'LICENCE' in this directory. ...
Linux işletim sistemi çekirdeği için 'fs/jffs2/jffs2_fs_sb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * JFFS2 -- Journalling Flash File System, Version 2. * * Copyright © 2001-2007 Red Hat, Inc. * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org> * * Created by David Woodhouse <dwmw2@infradead.org> * * For licensing information, see the file 'LICENCE' in this directory. * */ #ifndef _JFFS2_...
Linux kernel'inin 'fs/minix/itree_v2' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/buffer_head.h> #include "minix.h" enum {DIRECT = 7, DEPTH = 4}; /* Have triple indirect */ typedef u32 block_t; /* 32 bit, host order */ static inline unsigned long block_to_cpu(block_t n) { return n; } static inline block_t cpu_to_block(unsigned long n) { ...
Linux kernel'inin 'fs/minix/file' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/fs/minix/file.c * * Copyright (C) 1991, 1992 Linus Torvalds * * minix regular file handling primitives */ #include <linux/buffer_head.h> #include "minix.h" int minix_fsync(struct file *file, loff_t start, loff_t end, int datasync) { return mmb_fsync(file, ...
Linux kernel'inin 'fs/minix/itree_v1' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/buffer_head.h> #include <linux/slab.h> #include "minix.h" enum {DEPTH = 3, DIRECT = 7}; /* Only double indirect */ typedef u16 block_t; /* 16 bit, host order */ static inline unsigned long block_to_cpu(block_t n) { return n; } static inline block_t cpu_to_bl...
Linux kernel'inin 'fs/minix/itree_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Generic part */ typedef struct { block_t *p; block_t key; struct buffer_head *bh; } Indirect; static DEFINE_RWLOCK(pointers_lock); static inline void add_chain(Indirect *p, struct buffer_head *bh, block_t *v) { p->key = *(p->p = v); p->bh = bh; } static inline int ve...
Linux kernel'inin 'fs/minix/bitmap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/fs/minix/bitmap.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * Modified for 680x0 by Hamish Macdonald * Fixed for 680x0 by Andreas Schwab */ /* bitmap.c contains the code that handles the inode and block bitmaps */ #include "minix.h" #include <linu...
Linux kernel'inin 'fs/minix/inode' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * linux/fs/minix/inode.c * * Copyright (C) 1991, 1992 Linus Torvalds * * Copyright (C) 1996 Gertjan van Wingerde * Minix V2 fs support. * * Modified for 680x0 by Andreas Schwab * Updated to filesystem version 3 by Daniel Aragones */ #include <linux/modu...
Linux kernel'inin 'fs/minix/dir' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/fs/minix/dir.c * * Copyright (C) 1991, 1992 Linus Torvalds * * minix directory handling functions * * Updated to filesystem version 3 by Daniel Aragones */ #include "minix.h" #include <linux/buffer_head.h> #include <linux/highmem.h> #include <linux/swap.h...
Linux işletim sistemi çekirdeği için 'fs/minix/minix' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef FS_MINIX_H #define FS_MINIX_H #include <linux/fs.h> #include <linux/pagemap.h> #include <linux/minix_fs.h> #define INODE_VERSION(inode) minix_sb(inode->i_sb)->s_version #define MINIX_V1 0x0001 /* original minix fs */ #define MINIX_V2 0x0002 /* minix V2 fs */ #de...
Linux kernel'inin 'fs/minix/namei' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * linux/fs/minix/namei.c * * Copyright (C) 1991, 1992 Linus Torvalds */ #include "minix.h" static int add_nondir(struct dentry *dentry, struct inode *inode) { int err = minix_add_link(dentry, inode); if (!err) { d_instantiate(dentry, inode); return 0; } inode...
Linux kernel'inin 'fs/erofs/super' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017-2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2021, Alibaba Cloud */ #include <linux/statfs.h> #include <linux/seq_file.h> #include <linux/crc32c.h> #include <linux/fs_context.h> #include <linux/fs_parser.h> #include <li...
Linux kernel'inin 'fs/erofs/sysfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C), 2008-2021, OPPO Mobile Comm Corp., Ltd. * https://www.oppo.com/ */ #include <linux/sysfs.h> #include <linux/kobject.h> #include "internal.h" #include "compress.h" enum { attr_feature, attr_drop_caches, attr_pointer_ui, attr_point...
Linux kernel'inin 'fs/erofs/zutil' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2024 Alibaba Cloud */ #include "internal.h" struct z_erofs_gbuf { spinlock_t lock; void *ptr; struct page **pages; unsigned int nrpages; }; static struct z_erofs_gbuf *z_ero...
Linux işletim sistemi çekirdeği için 'fs/erofs/internal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2017-2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2021, Alibaba Cloud */ #ifndef __EROFS_INTERNAL_H #define __EROFS_INTERNAL_H #include <linux/fs.h> #include <linux/dax.h> #include <linux/dcache.h> #include <linux/mm.h> ...
Linux kernel'inin 'fs/erofs/decompressor_deflate' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/zlib.h> #include "compress.h" struct z_erofs_deflate { struct z_erofs_deflate *next; struct z_stream_s z; u8 bounce[PAGE_SIZE]; }; static DEFINE_SPINLOCK(z_erofs_deflate_lock); static unsigned int z_erofs_deflate_nstrms, z_erofs_deflate_avail_strms;...
Linux kernel'inin 'fs/erofs/decompressor' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2019 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2024 Alibaba Cloud */ #include "compress.h" #include <linux/lz4.h> #define LZ4_MAX_DISTANCE_PAGES (DIV_ROUND_UP(LZ4_DISTANCE_MAX, PAGE_SIZE) + 1) static int z_erofs_load_lz4_con...
Linux işletim sistemi çekirdeği için 'fs/erofs/compress' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2019 HUAWEI, Inc. * https://www.huawei.com/ */ #ifndef __EROFS_FS_COMPRESS_H #define __EROFS_FS_COMPRESS_H #include "internal.h" struct z_erofs_decompress_req { struct super_block *sb; struct page **in, **out; unsigned int inpages, ...
Linux kernel'inin 'fs/erofs/data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017-2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2021, Alibaba Cloud */ #include "internal.h" #include <linux/filelock.h> #include <linux/sched/mm.h> #include <trace/events/erofs.h> void erofs_unmap_metabuf(struct erofs_bu...
Linux kernel'inin 'fs/erofs/decompressor_zstd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/zstd.h> #include "compress.h" struct z_erofs_zstd { struct z_erofs_zstd *next; u8 bounce[PAGE_SIZE]; void *wksp; unsigned int wkspsz; }; static DEFINE_SPINLOCK(z_erofs_zstd_lock); static unsigned int z_erofs_zstd_max_dictsize; static unsigned int z...
Linux kernel'inin 'fs/erofs/decompressor_crypto' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/scatterlist.h> #include <crypto/acompress.h> #include "compress.h" static int __z_erofs_crypto_decompress(struct z_erofs_decompress_req *rq, struct crypto_acomp *tfm) { struct sg_table st_src, st_dst; struct acomp_req *req; struct crypto_w...
Linux kernel'inin 'fs/erofs/decompressor_lzma' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/xz.h> #include "compress.h" struct z_erofs_lzma { struct z_erofs_lzma *next; struct xz_dec_microlzma *state; u8 bounce[PAGE_SIZE]; }; /* considering the LZMA performance, no need to use a lockless list for now */ static DEFINE_SPINLOCK(z_erofs_lzma_...
Linux kernel'inin 'fs/erofs/fileio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2024, Alibaba Cloud */ #include "internal.h" #include <trace/events/erofs.h> struct erofs_fileio_rq { struct bio_vec bvecs[16]; struct bio bio; struct kiocb iocb; struct super_block *sb; refcount_t ref; }; struct erofs_fileio { struct erofs_...
Linux kernel'inin 'fs/erofs/zmap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2018-2019 HUAWEI, Inc. * https://www.huawei.com/ */ #include "internal.h" #include <linux/unaligned.h> #include <trace/events/erofs.h> struct z_erofs_maprecorder { struct inode *inode; struct erofs_map_blocks *map; u64 lcn; /* compress...
Linux işletim sistemi çekirdeği için 'fs/erofs/erofs_fs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: MIT */ /* * EROFS (Enhanced ROM File System) on-disk format definition * * Copyright (C) 2017-2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2021, Alibaba Cloud */ #ifndef __EROFS_FS_H #define __EROFS_FS_H /* to allow for x86 boot sectors and other odditi...
Linux işletim sistemi çekirdeği için 'fs/erofs/xattr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2017-2018 HUAWEI, Inc. * https://www.huawei.com/ */ #ifndef __EROFS_XATTR_H #define __EROFS_XATTR_H #include "internal.h" #include <linux/posix_acl_xattr.h> #include <linux/xattr.h> #ifdef CONFIG_EROFS_FS_XATTR extern const struct xatt...
Linux kernel'inin 'fs/erofs/zdata' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2022 Alibaba Cloud */ #include "compress.h" #include <linux/psi.h> #include <linux/cpuhotplug.h> #include <trace/events/erofs.h> #define Z_EROFS_MAX_SYNC_DECOMPRESS_BYTES 12288 #...
Linux kernel'inin 'fs/erofs/inode' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017-2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2021, Alibaba Cloud */ #include "xattr.h" #include <linux/compat.h> #include <trace/events/erofs.h> static int erofs_fill_symlink(struct inode *inode, void *bptr, unsigned i...
Linux kernel'inin 'fs/erofs/dir' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017-2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2022, Alibaba Cloud */ #include "internal.h" #include <linux/filelock.h> static int erofs_fill_dentries(struct inode *dir, struct dir_context *ctx, void *dentry_bl...
Linux kernel'inin 'fs/erofs/fscache' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2022, Alibaba Cloud * Copyright (C) 2022, Bytedance Inc. All rights reserved. */ #include <linux/fscache.h> #include "internal.h" static DEFINE_MUTEX(erofs_domain_list_lock); static DEFINE_MUTEX(erofs_domain_cookies_lock); static LIST_HEAD(erofs_d...
Linux kernel'inin 'fs/erofs/xattr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017-2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2021-2022, Alibaba Cloud */ #include <linux/security.h> #include <linux/xxhash.h> #include "xattr.h" struct erofs_xattr_iter { struct super_block *sb; struct erofs_buf buf...
Linux kernel'inin 'fs/erofs/ishare' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2024, Alibaba Cloud */ #include <linux/xxhash.h> #include <linux/mount.h> #include <linux/security.h> #include "internal.h" #include "xattr.h" #include "../internal.h" static struct vfsmount *erofs_ishare_mnt; static inline bool erofs_is_ishare_i...
Linux kernel'inin 'fs/erofs/namei' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017-2018 HUAWEI, Inc. * https://www.huawei.com/ * Copyright (C) 2022, Alibaba Cloud */ #include "xattr.h" #include <trace/events/erofs.h> struct erofs_qstr { const unsigned char *name; const unsigned char *end; }; /* based on the end ...
Linux kernel'inin 'fs/nfsd/nfs3proc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Process version 3 NFS requests. * * Copyright (C) 1996, 1997, 1998 Olaf Kirch <okir@monad.swb.de> */ #include <linux/fs.h> #include <linux/ext2_fs.h> #include <linux/magic.h> #include <linux/namei.h> #include "cache.h" #include "xdr3.h" #include "vfs.h" #include "file...
Linux işletim sistemi çekirdeği için 'fs/nfsd/export' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> */ #ifndef NFSD_EXPORT_H #define NFSD_EXPORT_H #include <linux/sunrpc/cache.h> #include <linux/percpu_counter.h> #include <linux/workqueue.h> #include <uapi/linux/nfsd/export.h> #include <linux/nfs4.h> struct knf...
Linux işletim sistemi çekirdeği için 'fs/nfsd/filecache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _FS_NFSD_FILECACHE_H #define _FS_NFSD_FILECACHE_H #include <linux/fsnotify_backend.h> /* * Limit the time that the list_lru_one lock is held during * an LRU scan. */ #define NFSD_FILE_GC_BATCH (16UL) /* * This is the fsnotify_mark container that nfsd attaches to the files that it * is holding o...
Linux kernel'inin 'fs/nfsd/nfs4state' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Copyright (c) 2001 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * Andy Adamson <kandros@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ar...
Linux kernel'inin 'fs/nfsd/localio' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * NFS server support for local clients to bypass network stack * * Copyright (C) 2014 Weston Andros Adamson <dros@primarydata.com> * Copyright (C) 2019 Trond Myklebust <trond.myklebust@hammerspace.com> * Copyright (C) 2024 Mike Snitzer <snitzer@hammerspace.com> * C...
Linux kernel'inin 'fs/nfsd/nfs4acl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Common NFSv4 ACL handling code. * * Copyright (c) 2002, 2003 The Regents of the University of Michigan. * All rights reserved. * * Marius Aamodt Eriksen <marius@umich.edu> * Jeff Sedlak <jsedlak@umich.edu> * J. Bruce Fields <bfields@umich.edu> * * Redistribution and use in source and binary f...
Linux işletim sistemi çekirdeği için 'fs/nfsd/flexfilelayoutxdr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2016 Tom Haynes <loghyr@primarydata.com> */ #ifndef _NFSD_FLEXFILELAYOUTXDR_H #define _NFSD_FLEXFILELAYOUTXDR_H 1 #include <linux/inet.h> #include "xdr4.h" #define FF_FLAGS_NO_LAYOUTCOMMIT 1 #define FF_FLAGS_NO_IO_THRU_MDS 2 #define FF_FLAGS_NO_READ_IO...
Linux kernel'inin 'fs/nfsd/nfs3xdr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * XDR support for nfsd/protocol version 3. * * Copyright (C) 1995, 1996, 1997 Olaf Kirch <okir@monad.swb.de> * * 2003-08-09 Jamie Lokier: Use htonl() for nanoseconds, not htons()! */ #include <linux/namei.h> #include <linux/sunrpc/svc_xprt.h> #include "xdr3.h" #include...
Linux kernel'inin 'fs/nfsd/blocklayout' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2014-2016 Christoph Hellwig. */ #include <linux/exportfs.h> #include <linux/iomap.h> #include <linux/slab.h> #include <linux/pr.h> #include <linux/nfsd/debug.h> #include "blocklayoutxdr.h" #include "pnfs.h" #include "filecache.h" #include "vfs.h" #include ...
Linux işletim sistemi çekirdeği için 'fs/nfsd/xdr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* XDR types for nfsd. This is mainly a typing exercise. */ #ifndef LINUX_NFSD_H #define LINUX_NFSD_H #include <linux/vfs.h> #include "nfsd.h" #include "nfsfh.h" struct nfsd_fhandle { struct svc_fh fh; }; struct nfsd_sattrargs { struct svc_fh fh; struct iattr attrs;...
Linux işletim sistemi çekirdeği için 'fs/nfsd/idmap' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Mapping of UID to name and vice versa. * * Copyright (c) 2002, 2003 The Regents of the University of * Michigan. All rights reserved. > * * Marius Aamodt Eriksen <marius@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
Linux kernel'inin 'fs/nfsd/nfs4callback' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Copyright (c) 2001 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * Andy Adamson <andros@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
Linux kernel'inin 'fs/nfsd/nfssvc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Central processing for nfsd. * * Authors: Olaf Kirch (okir@monad.swb.de) * * Copyright (C) 1995, 1996, 1997 Olaf Kirch <okir@monad.swb.de> */ #include <linux/sched/signal.h> #include <linux/freezer.h> #include <linux/module.h> #include <linux/fs_struct.h> #include <l...
Linux kernel'inin 'fs/nfsd/netlink' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) /* Do not edit directly, auto-generated from: */ /* Documentation/netlink/specs/nfsd.yaml */ /* YNL-GEN kernel source */ /* To regenerate run: tools/net/ynl/ynl-regen.sh */ #include <net/netlink.h> #include <net/genetlink.h> #include...
Linux kernel'inin 'fs/nfsd/nfs4idmap' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Mapping of UID/GIDs to name and vice versa. * * Copyright (c) 2002, 2003 The Regents of the University of * Michigan. All rights reserved. * * Marius Aamodt Eriksen <marius@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
Linux işletim sistemi çekirdeği için 'fs/nfsd/auth' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * nfsd-specific authentication stuff. * * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */ #ifndef LINUX_NFSD_AUTH_H #define LINUX_NFSD_AUTH_H /* * Set the current process's fsuid/fsgid etc to those of the NFS * client user */ int nfsd_setuser(struct svc...
Linux kernel'inin 'fs/nfsd/vfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * File operations used by nfsd. Some of these have been ripped from * other parts of the kernel because they weren't exported, others * are partial duplicates with added or changed functionality. * * Note that several functions dget() the dentry upon which they want * t...
Linux işletim sistemi çekirdeği için 'fs/nfsd/state' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Copyright (c) 2001 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * Andy Adamson <andros@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
Linux kernel'inin 'fs/nfsd/nfs4proc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Server-side procedures for NFSv4. * * Copyright (c) 2002 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * Andy Adamson <andros@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are perm...
Linux işletim sistemi çekirdeği için 'fs/nfsd/nfsfh' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 1995, 1996, 1997 Olaf Kirch <okir@monad.swb.de> * * This file describes the layout of the file handles as passed * over the wire. */ #ifndef _LINUX_NFSD_NFSFH_H #define _LINUX_NFSD_NFSFH_H #include <linux/crc32.h> #include <linux/sunrpc/svc.h> #includ...
Linux işletim sistemi çekirdeği için 'fs/nfsd/blocklayoutxdr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _NFSD_BLOCKLAYOUTXDR_H #define _NFSD_BLOCKLAYOUTXDR_H 1 #include <linux/blkdev.h> #include "xdr4.h" struct iomap; struct xdr_stream; /* On the wire size of the layout4 struct with zero number of extents */ #define PNFS_BLOCK_LAYOUT4_SIZE \ (sizeof(__be32) * 2 + /*...
Linux kernel'inin 'fs/nfsd/export' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * NFS exporting and validation. * * We maintain a list of clients, each of which has a list of * exports. To export an fs to a given client, you first have * to create the client entry with NFSCTL_ADDCLIENT, which * creates a client control block and adds it to the hash...
Linux işletim sistemi çekirdeği için 'fs/nfsd/nfs4xdr_gen' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Generated by xdrgen. Manual edits will be lost. */ /* XDR specification file: ../../Documentation/sunrpc/xdr/nfs4_1.x */ /* XDR specification modification time: Thu Jan 8 23:12:07 2026 */ #ifndef _LINUX_XDRGEN_NFS4_1_DECL_H #define _LINUX_XDRGEN_NFS4_1_DECL_H #include <...
Linux işletim sistemi çekirdeği için 'fs/nfsd/xdr4cb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #define NFS4_MAXTAGLEN 20 #define NFS4_enc_cb_null_sz 0 #define NFS4_dec_cb_null_sz 0 #define cb_compound_enc_hdr_sz 4 #define cb_compound_dec_hdr_sz (3 + (NFS4_MAXTAGLEN >> 2)) #define sessionid_sz (NFS4_MAX_SESSIONID_LEN >> 2) #define enc_referring_call4_sz (1 + 1)...
Linux kernel'inin 'fs/nfsd/filecache' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * The NFSD open file cache. * * (c) 2015 - Jeff Layton <jeff.layton@primarydata.com> * * An nfsd_file object is a per-file collection of open state that binds * together: * - a struct file * * - a user credential * - a network namespace * - a read-ahead cont...
Linux işletim sistemi çekirdeği için 'fs/nfsd/trace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2014 Christoph Hellwig. */ #undef TRACE_SYSTEM #define TRACE_SYSTEM nfsd #if !defined(_NFSD_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) #define _NFSD_TRACE_H #include <linux/tracepoint.h> #include <linux/sunrpc/clnt.h> #include <linux/sunrpc/xprt.h> #i...
Linux kernel'inin 'fs/nfsd/stats' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * procfs-based user access to knfsd statistics * * /proc/net/rpc/nfsd * * Format: * rc <hits> <misses> <nocache> * Statistsics for the reply cache * fh <stale> <deprecated filehandle cache stats> * statistics for filehandle lookup * io <bytes-read> <bytes-writte...
Linux kernel'inin 'fs/nfsd/flexfilelayout' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2016 Tom Haynes <loghyr@primarydata.com> * * The following implements a super-simple flex-file server * where the NFSv4.1 mds is also the ds. And the storage is * the same. I.e., writing to the mds via a NFSv4.1 WRITE * goes to the same location as the N...
Linux kernel'inin 'fs/nfsd/auth' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */ #include <linux/sched.h> #include "nfsd.h" #include "auth.h" int nfsexp_flags(struct svc_cred *cred, struct svc_export *exp) { struct exp_flavor_info *f; struct exp_flavor_info *end = exp->ex_flavors + exp->ex_nfl...
Linux kernel'inin 'fs/nfsd/nfsfh' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * NFS server file handle treatment. * * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> * Portions Copyright (C) 1999 G. Allen Morris III <gam3@acm.org> * Extensive rewrite by Neil Brown <neilb@cse.unsw.edu.au> Southern-Spring 1999 * ... and again Southern-Winte...
Linux kernel'inin 'fs/nfsd/nfs4recover' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Copyright (c) 2004 The Regents of the University of Michigan. * Copyright (c) 2012 Jeff Layton <jlayton@redhat.com> * All rights reserved. * * Andy Adamson <andros@citi.umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
Linux işletim sistemi çekirdeği için 'fs/nfsd/xdr3' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * XDR types for NFSv3 in nfsd. * * Copyright (C) 1996-1998, Olaf Kirch <okir@monad.swb.de> */ #ifndef _LINUX_NFSD_XDR3_H #define _LINUX_NFSD_XDR3_H #include "xdr.h" struct nfsd3_sattrargs { struct svc_fh fh; struct iattr attrs; int check_guard; struct timesp...
Linux işletim sistemi çekirdeği için 'fs/nfsd/stats' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Statistics for NFS server. * * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */ #ifndef _NFSD_STATS_H #define _NFSD_STATS_H #include <uapi/linux/nfsd/stats.h> #include <linux/percpu_counter.h> struct proc_dir_entry *nfsd_proc_stat_init(struct net *net); v...
Linux kernel'inin 'fs/nfsd/lockd' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * This file contains all the stubs needed when communicating with lockd. * This level of indirection is necessary so we can run nfsd+lockd without * requiring the nfs client to be compiled in/loaded, and vice versa. * * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de> ...
Linux kernel'inin 'fs/nfsd/nfsproc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Process version 2 NFS requests. * * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> */ #include <linux/namei.h> #include "cache.h" #include "xdr.h" #include "vfs.h" #include "trace.h" #define NFSDDBG_FACILITY NFSDDBG_PROC static __be32 nfsd_map_status(__be32...
Linux işletim sistemi çekirdeği için 'fs/nfsd/acl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Common NFSv4 ACL handling definitions. * * Copyright (c) 2002 The Regents of the University of Michigan. * All rights reserved. * * Marius Aamodt Eriksen <marius@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fol...
Linux işletim sistemi çekirdeği için 'fs/nfsd/cache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Request reply cache. This was heavily inspired by the * implementation in 4.3BSD/4.4BSD. * * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */ #ifndef NFSCACHE_H #define NFSCACHE_H #include <linux/sunrpc/svc.h> #include "nfsd.h" /* * Representation of a...
Linux işletim sistemi çekirdeği için 'fs/nfsd/vfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 1995-1997 Olaf Kirch <okir@monad.swb.de> */ #ifndef LINUX_NFSD_VFS_H #define LINUX_NFSD_VFS_H #include <linux/fs.h> #include <linux/posix_acl.h> #include "nfsfh.h" #include "nfsd.h" /* * Flags for nfsd_permission */ #define NFSD_MAY_NOP 0 #define N...
Linux işletim sistemi çekirdeği için 'fs/nfsd/xdr4' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * Server-side types for NFSv4. * * Copyright (c) 2002 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * Andy Adamson <andros@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted...
Linux kernel'inin 'fs/nfsd/nfs4layouts' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2014 Christoph Hellwig. */ #include <linux/blkdev.h> #include <linux/kmod.h> #include <linux/file.h> #include <linux/jhash.h> #include <linux/sched.h> #include <linux/sunrpc/addr.h> #include "pnfs.h" #include "netns.h" #include "trace.h" #define NFSDDBG_FA...
Linux kernel'inin 'fs/nfsd/nfs4xdr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c /* * Server-side XDR for NFSv4 * * Copyright (c) 2002 The Regents of the University of Michigan. * All rights reserved. * * Kendrick Smith <kmsmith@umich.edu> * Andy Adamson <andros@umich.edu> * * Redistribution and use in source and binary forms, with or without * modification, are permitted pr...
Linux işletim sistemi çekirdeği için 'fs/nfsd/current_stateid' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _NFSD4_CURRENT_STATE_H #define _NFSD4_CURRENT_STATE_H #include "state.h" #include "xdr4.h" extern void clear_current_stateid(struct nfsd4_compound_state *cstate); /* * functions to set current state id */ extern void nfsd4_set_opendowngradestateid(struct nfsd4_com...
Linux kernel'inin 'fs/nfsd/nfsctl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Syscall interface to knfsd. * * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */ #include <linux/slab.h> #include <linux/namei.h> #include <linux/ctype.h> #include <linux/fs_context.h> #include <linux/sunrpc/svcsock.h> #include <linux/lockd/bind.h> #inc...
Linux kernel'inin 'fs/nfsd/debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 #include <linux/debugfs.h> #include "nfsd.h" static struct dentry *nfsd_top_dir __read_mostly; /* * /sys/kernel/debug/nfsd/disable-splice-read * * Contents: * %0: NFS READ is allowed to use page splicing * %1: NFS READ uses only iov iter read * * The default value...
Linux kernel'inin 'fs/nfsd/nfs4xdr_gen' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 // Generated by xdrgen. Manual edits will be lost. // XDR specification file: ../../Documentation/sunrpc/xdr/nfs4_1.x // XDR specification modification time: Thu Jan 8 23:12:07 2026 #include <linux/sunrpc/svc.h> #include "nfs4xdr_gen.h" static bool __maybe_unused xdrgen_deco...
Linux kernel'inin 'fs/nfsd/nfsxdr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * XDR support for nfsd * * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */ #include "vfs.h" #include "xdr.h" #include "auth.h" /* * Mapping of S_IF* types to NFS file types */ static const u32 nfs_ftypes[] = { NFNON, NFCHR, NFCHR, NFBAD, NFDIR, NFBAD, ...