instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'fs/smb/server/auth' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __AUTH_H__ #define __AUTH_H__ #include "ntlmssp.h" #ifdef CONFIG_SMB_SERVER_KERBEROS5 #define AUTH_GSS_LENGTH 96 #define AUTH_GSS_PADDING 0 #else #define AUTH_GSS_LENGTH 74 #define AUTH_GSS_PAD...
Linux işletim sistemi çekirdeği için 'fs/smb/server/ksmbd_netlink' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. * * linux-ksmbd-devel@lists.sourceforge.net */ #ifndef _LINUX_KSMBD_SERVER_H #define _LINUX_KSMBD_SERVER_H #include <linux/types.h> /* * This is a userspace ABI to communicate data between ksmbd and us...
Linux kernel'inin 'fs/smb/server/vfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Namjae Jeon <linkinjeon@kernel.org> * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <crypto/sha2.h> #include <linux/kernel.h> #include <linux/fs.h> #include <linux/filelock.h> #include <linux/uaccess.h> #include <linux/back...
Linux işletim sistemi çekirdeği için 'fs/smb/server/ksmbd_work' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2019 Samsung Electronics Co., Ltd. */ #ifndef __KSMBD_WORK_H__ #define __KSMBD_WORK_H__ #include <linux/ctype.h> #include <linux/workqueue.h> struct ksmbd_conn; struct ksmbd_session; struct ksmbd_tree_connect; enum { KSMBD_WORK_ACTIVE = 0,...
Linux işletim sistemi çekirdeği için 'fs/smb/server/vfs_cache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2019 Samsung Electronics Co., Ltd. */ #ifndef __VFS_CACHE_H__ #define __VFS_CACHE_H__ #include <linux/file.h> #include <linux/fs.h> #include <linux/rwsem.h> #include <linux/spinlock.h> #include <linux/idr.h> #include <linux/workqueue.h> #inc...
Linux kernel'inin 'fs/smb/server/connection' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Namjae Jeon <namjae.jeon@protocolfreedom.org> * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <linux/mutex.h> #include <linux/freezer.h> #include <linux/module.h> #include "server.h" #include "smb_common.h" #include "mgmt/...
Linux işletim sistemi çekirdeği için 'fs/smb/server/asn1' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * The ASB.1/BER parsing code is derived from ip_nat_snmp_basic.c which was in * turn derived from the gxsnmp package by Gregory McLean & Jochen Friedrich * * Copyright (c) 2000 RP Internet (www.rpi.net.au). * Copyright (C) 2018 Samsung Electronics Co., Ltd. ...
Linux işletim sistemi çekirdeği için 'fs/smb/server/misc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __KSMBD_MISC_H__ #define __KSMBD_MISC_H__ #ifdef CONFIG_PROC_FS #include <linux/proc_fs.h> #endif struct ksmbd_share_config; struct nls_table; struct kstat; struct ksmbd_file; int match_pattern(c...
Linux kernel'inin 'fs/smb/server/auth' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Namjae Jeon <linkinjeon@kernel.org> * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <linux/kernel.h> #include <linux/fs.h> #include <linux/uaccess.h> #include <linux/backing-dev.h> #include <linux/writeback.h> #include <lin...
Linux işletim sistemi çekirdeği için 'fs/smb/server/xattr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2021 Samsung Electronics Co., Ltd. */ #ifndef __XATTR_H__ #define __XATTR_H__ /* * These are on-disk structures to store additional metadata into xattr to * reproduce windows filesystem semantics. And they are encoded with NDR to * compati...
Linux işletim sistemi çekirdeği için 'fs/smb/server/ntlmssp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1+ */ /* * Copyright (c) International Business Machines Corp., 2002,2007 * Author(s): Steve French (sfrench@us.ibm.com) */ #ifndef __KSMBD_NTLMSSP_H #define __KSMBD_NTLMSSP_H #define NTLMSSP_SIGNATURE "NTLMSSP" /* Security blob target info data */ #define TGT_Name ...
Linux kernel'inin 'fs/smb/server/asn1' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * The ASB.1/BER parsing code is derived from ip_nat_snmp_basic.c which was in * turn derived from the gxsnmp package by Gregory McLean & Jochen Friedrich * * Copyright (c) 2000 RP Internet (www.rpi.net.au). */ #include <linux/module.h> #include <linux/types.h> ...
Linux kernel'inin 'fs/smb/server/misc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Namjae Jeon <linkinjeon@kernel.org> * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <linux/kernel.h> #include <linux/xattr.h> #include <linux/fs.h> #include <linux/unicode.h> #include "misc.h" #include "smb_common.h" #incl...
Linux kernel'inin 'fs/smb/server/smb_common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. * Copyright (C) 2018 Namjae Jeon <linkinjeon@kernel.org> */ #include <linux/user_namespace.h> #include "smb_common.h" #include "server.h" #include "misc.h" #include "../common/smb2status.h" #include "connect...
Linux işletim sistemi çekirdeği için 'fs/smb/server/stats' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2025, LG Electronics. * Author(s): Hyunchul Lee <hyc.lee@gmail.com> * Copyright (C) 2025, Samsung Electronics. * Author(s): Vedansh Bhardwaj <v.bhardwaj@samsung.com> */ #ifndef __KSMBD_STATS_H__ #define __KSMBD_STATS_H__ #define KSMB...
Linux kernel'inin 'fs/smb/server/ksmbd_work' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2019 Samsung Electronics Co., Ltd. */ #include <linux/list.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/workqueue.h> #include "server.h" #include "connection.h" #include "ksmbd_work.h" #include "mgmt/ksmbd_ida.h" static stru...
Linux kernel'inin 'fs/smb/server/vfs_cache' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Namjae Jeon <linkinjeon@kernel.org> * Copyright (C) 2019 Samsung Electronics Co., Ltd. */ #include <linux/fs.h> #include <linux/filelock.h> #include <linux/slab.h> #include <linux/vmalloc.h> #include <linux/kthread.h> #include <linux/freezer....
Linux işletim sistemi çekirdeği için 'fs/smb/server/connection' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __KSMBD_CONNECTION_H__ #define __KSMBD_CONNECTION_H__ #include <linux/list.h> #include <linux/inet.h> #include <linux/ip.h> #include <net/sock.h> #include <net/tcp.h> #include <net/inet_connection...
Linux işletim sistemi çekirdeği için 'fs/smb/server/unicode' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Some of the source code in this file came from fs/cifs/cifs_unicode.c * cifs_unicode: Unicode kernel case support * * Function: * Convert a unicode character to upper or lower case using * compressed tables. * * Copyright (c) International Bus...
Linux işletim sistemi çekirdeği için 'fs/smb/server/transport_ipc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __KSMBD_TRANSPORT_IPC_H__ #define __KSMBD_TRANSPORT_IPC_H__ #include <linux/wait.h> #define KSMBD_IPC_MAX_PAYLOAD 4096 struct ksmbd_login_response * ksmbd_ipc_login_request(const char *account);...
Linux işletim sistemi çekirdeği için 'fs/smb/server/crypto_ctx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2019 Samsung Electronics Co., Ltd. */ #ifndef __CRYPTO_CTX_H__ #define __CRYPTO_CTX_H__ #include <crypto/aead.h> enum { CRYPTO_AEAD_AES_GCM = 16, CRYPTO_AEAD_AES_CCM, CRYPTO_AEAD_MAX, }; struct ksmbd_crypto_ctx { struct list_head list;...
Linux işletim sistemi çekirdeği için 'fs/smb/server/smbfsctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1+ */ /* * fs/smb/server/smbfsctl.h: SMB, CIFS, SMB2 FSCTL definitions * * Copyright (c) International Business Machines Corp., 2002,2009 * Author(s): Steve French (sfrench@us.ibm.com) */ /* IOCTL information */ /* * List of ioctl/fsctl function codes that are or co...
Linux kernel'inin 'fs/smb/server/smbacl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1+ /* * Copyright (C) International Business Machines Corp., 2007,2008 * Author(s): Steve French (sfrench@us.ibm.com) * Copyright (C) 2020 Samsung Electronics Co., Ltd. * Author(s): Namjae Jeon <linkinjeon@kernel.org> */ #include <linux/fs.h> #include <linux/slab.h...
Linux işletim sistemi çekirdeği için 'fs/smb/server/transport_tcp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __KSMBD_TRANSPORT_TCP_H__ #define __KSMBD_TRANSPORT_TCP_H__ int ksmbd_tcp_set_interfaces(char *ifc_list, int ifc_list_sz); struct interface *ksmbd_find_netdev_name_iface_list(char *netdev_name); v...
Linux kernel'inin 'fs/smb/server/smb2ops' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Namjae Jeon <linkinjeon@kernel.org> * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <linux/slab.h> #include "glob.h" #include "auth.h" #include "connection.h" #include "smb_common.h" #include "server.h" #include "stats.h" ...
Linux işletim sistemi çekirdeği için 'fs/smb/server/vfs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2016 Namjae Jeon <linkinjeon@kernel.org> * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __KSMBD_VFS_H__ #define __KSMBD_VFS_H__ #include <linux/file.h> #include <linux/fs.h> #include <linux/namei.h> #include <uapi/linux/xatt...
Linux işletim sistemi çekirdeği için 'fs/smb/server/smbacl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1+ */ /* * Copyright (c) International Business Machines Corp., 2007 * Author(s): Steve French (sfrench@us.ibm.com) * Modified by Namjae Jeon (linkinjeon@kernel.org) */ #ifndef _SMBACL_H #define _SMBACL_H #include "../common/smbacl.h" #include <linux/fs.h> #include <...
Linux kernel'inin 'fs/smb/server/smb2misc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Namjae Jeon <linkinjeon@kernel.org> * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include "glob.h" #include "smb_common.h" #include "../common/smb2status.h" #include "mgmt/user_session.h" #include "connection.h" static int check...
Linux kernel'inin 'fs/smb/server/transport_rdma' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2017, Microsoft Corporation. * Copyright (C) 2018, LG Electronics. * * Author(s): Long Li <longli@microsoft.com>, * Hyunchul Lee <hyc.lee@gmail.com> */ #define SUBMOD_NAME "smb_direct" #include <linux/kthread.h> #include <linux/list.h> ...
Linux işletim sistemi çekirdeği için 'fs/smb/server/server' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __SERVER_H__ #define __SERVER_H__ #include "smbacl.h" /* * Server state type */ enum { SERVER_STATE_STARTING_UP, SERVER_STATE_RUNNING, SERVER_STATE_RESETTING, SERVER_STATE_SHUTTING_DOWN, };...
Linux kernel'inin 'fs/smb/server/smb2pdu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Namjae Jeon <linkinjeon@kernel.org> * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <crypto/utils.h> #include <linux/inetdevice.h> #include <net/addrconf.h> #include <linux/syscalls.h> #include <linux/namei.h> #include <lin...
Linux kernel'inin 'fs/smb/server/server' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2016 Namjae Jeon <linkinjeon@kernel.org> * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include "glob.h" #include "oplock.h" #include "misc.h" #include <linux/sched/signal.h> #include <linux/workqueue.h> #include <linux/sysfs.h> #inclu...
Linux kernel'inin 'fs/smb/server/unicode' 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/cifs_unicode.c * * Copyright (c) International Business Machines Corp., 2000,2009 * Modified by Steve French (sfrench@us.ibm.com) * Modified by Namjae Jeon (linkinjeon@kernel.org) */ #include <li...
Linux işletim sistemi çekirdeği için 'fs/smb/server/mgmt/tree_connect' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __TREE_CONNECT_MANAGEMENT_H__ #define __TREE_CONNECT_MANAGEMENT_H__ #include <linux/hashtable.h> #include "../ksmbd_netlink.h" struct ksmbd_share_config; struct ksmbd_user; struct ksmbd_conn; st...
Linux kernel'inin 'fs/smb/server/mgmt/tree_connect' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <linux/list.h> #include <linux/slab.h> #include <linux/xarray.h> #include "../transport_ipc.h" #include "../connection.h" #include "../stats.h" #include "tree_connect.h" #include "user_config.h" #i...
Linux işletim sistemi çekirdeği için 'fs/smb/server/mgmt/share_config' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __SHARE_CONFIG_MANAGEMENT_H__ #define __SHARE_CONFIG_MANAGEMENT_H__ #include <linux/workqueue.h> #include <linux/hashtable.h> #include <linux/path.h> #include <linux/unicode.h> struct ksmbd_work;...
Linux işletim sistemi çekirdeği için 'fs/smb/server/mgmt/user_session' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __USER_SESSION_MANAGEMENT_H__ #define __USER_SESSION_MANAGEMENT_H__ #include <linux/hashtable.h> #include <linux/xarray.h> #include "../smb_common.h" #include "../ntlmssp.h" #define CIFDS_SESSIO...
Linux kernel'inin 'fs/smb/server/mgmt/user_session' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <linux/list.h> #include <linux/slab.h> #include <linux/rwsem.h> #include <linux/xarray.h> #include "ksmbd_ida.h" #include "user_session.h" #include "user_config.h" #include "tree_connect.h" #include...
Linux işletim sistemi çekirdeği için 'fs/smb/server/mgmt/user_config' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __USER_CONFIG_MANAGEMENT_H__ #define __USER_CONFIG_MANAGEMENT_H__ #include "../glob.h" struct ksmbd_user { unsigned short flags; unsigned int uid; unsigned int gid; char *name; size_...
Linux kernel'inin 'fs/smb/server/mgmt/ksmbd_ida' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include "ksmbd_ida.h" #include "../glob.h" int ksmbd_acquire_smb2_tid(struct ida *ida) { return ida_alloc_range(ida, 1, 0xFFFFFFFE, KSMBD_DEFAULT_GFP); } int ksmbd_acquire_smb2_uid(struct ida *ida) { int...
Linux kernel'inin 'fs/smb/server/mgmt/user_config' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <linux/slab.h> #include <linux/mm.h> #include "user_config.h" #include "../transport_ipc.h" struct ksmbd_user *ksmbd_login_user(const char *account) { struct ksmbd_login_response *resp; struct ks...
Linux kernel'inin 'fs/smb/server/mgmt/share_config' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #include <linux/list.h> #include <linux/jhash.h> #include <linux/slab.h> #include <linux/rwsem.h> #include <linux/parser.h> #include <linux/namei.h> #include <linux/sched.h> #include <linux/mm.h> #include "s...
Linux işletim sistemi çekirdeği için 'fs/smb/server/mgmt/ksmbd_ida' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2018 Samsung Electronics Co., Ltd. */ #ifndef __KSMBD_IDA_MANAGEMENT_H__ #define __KSMBD_IDA_MANAGEMENT_H__ #include <linux/slab.h> #include <linux/idr.h> /* * 2.2.1.6.7 TID Generation * The value 0xFFFF MUST NOT be used as a valid TID....
Linux kernel'inin 'fs/smb/client/smb1debug' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * * Copyright (C) International Business Machines Corp., 2000,2005 * * Modified by Steve French (sfrench@us.ibm.com) */ #include "cifsproto.h" #include "smb1proto.h" #include "cifs_debug.h" void cifs_dump_detail(void *buf, size_t buf_len, struct TCP_Server...
Linux kernel'inin 'fs/smb/client/smb1ops' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * SMB1 (CIFS) version specific operations * * Copyright (c) 2012, Jeff Layton <jlayton@redhat.com> */ #include <linux/pagemap.h> #include <linux/vfs.h> #include <linux/fs_struct.h> #include <uapi/linux/magic.h> #include "cifsglob.h" #include "cifsproto.h" #include...
Linux işletim sistemi çekirdeği için 'fs/smb/client/cached_dir' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Functions to handle the cached directory entries * * Copyright (c) 2022, Ronnie Sahlberg <lsahlber@redhat.com> */ #ifndef _CACHED_DIR_H #define _CACHED_DIR_H struct cached_dirent { struct list_head entry; char *name; int namelen; loff_t pos; struct cifs_fat...
Linux kernel'inin 'fs/smb/client/transport' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) 2006. * */ #include <linux/fs.h> #include <linux/list.h> #include <linux/gfp.h> #include <linux/wait.h> #include <...
Linux işletim sistemi çekirdeği için 'fs/smb/client/cifsproto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (c) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * */ #ifndef _CIFSPROTO_H #define _CIFSPROTO_H #include <linux/nls.h> #include <linux/ctype.h> #include "cifsglob.h" #include "trace.h" #ifdef CONFI...
Linux kernel'inin 'fs/smb/client/cifs_debug' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * * Copyright (C) International Business Machines Corp., 2000,2005 * * Modified by Steve French (sfrench@us.ibm.com) */ #include <linux/fs.h> #include <linux/string.h> #include <linux/ctype.h> #include <linux/kstrtox.h> #include <linux/module.h> #include <l...
Linux kernel'inin 'fs/smb/client/trace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2018, Microsoft Corporation. * * Author(s): Steve French <stfrench@microsoft.com> */ #include "cifsglob.h" #include "cifs_spnego.h" #define CREATE_TRACE_POINTS #include "trace.h" ```
Linux işletim sistemi çekirdeği için 'fs/smb/client/fs_context' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2020, Microsoft Corporation. * * Author(s): Steve French <stfrench@microsoft.com> * David Howells <dhowells@redhat.com> */ #ifndef _FS_CONTEXT_H #define _FS_CONTEXT_H #include "cifsglob.h" #include <linux/parser.h> #include ...
Linux işletim sistemi çekirdeği için 'fs/smb/client/cifsacl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (c) International Business Machines Corp., 2007 * Author(s): Steve French (sfrench@us.ibm.com) * */ #ifndef _CIFSACL_H #define _CIFSACL_H #include "../common/smbacl.h" #define READ_BIT 0x4 #define WRITE_BIT 0x2 #define EXEC_BIT ...
Linux kernel'inin 'fs/smb/client/smb2file' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002, 2011 * Author(s): Steve French (sfrench@us.ibm.com), * Pavel Shilovsky ((pshilovsky@samba.org) 2012 * */ #include <linux/fs.h> #include <linux/filelock.h> #include <linux/stat.h> #include ...
Linux kernel'inin 'fs/smb/client/smbencrypt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* Unix SMB/Netbios implementation. Version 1.9. SMB parameters and setup Copyright (C) Andrew Tridgell 1992-2000 Copyright (C) Luke Kenneth Casson Leighton 1996-2000 Modified by Jeremy Allison 1995. Copyright (C) Andrew Bartlett <abartlet@samba.org...
Linux işletim sistemi çekirdeği için 'fs/smb/client/cifs_unicode' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * cifs_unicode: Unicode kernel case support * * Function: * Convert a unicode character to upper or lower case using * compressed tables. * * Copyright (c) International Business Machines Corp., 2000,2009 * * Notes: * These APIs are based...
Linux kernel'inin 'fs/smb/client/smb2transport' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002, 2011 * Etersoft, 2012 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) 2006 * Pavel Shilovsky (pshilovsky@samba.org) 2012 * */...
Linux işletim sistemi çekirdeği için 'fs/smb/client/smb2glob' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Definitions for various global variables and structures * * Copyright (C) International Business Machines Corp., 2002, 2011 * Etersoft, 2012 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) * ...
Linux kernel'inin 'fs/smb/client/smbdirect' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2017, Microsoft Corporation. * * Author(s): Long Li <longli@microsoft.com> */ #include "smbdirect.h" #include "cifs_debug.h" #include "cifsproto.h" #include "smb2proto.h" /* Port numbers for SMBD transport */ #define SMB_PORT 445 #define SMB...
Linux kernel'inin 'fs/smb/client/dfs_cache' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * DFS referral cache routines * * Copyright (c) 2018-2019 Paulo Alcantara <palcantara@suse.de> */ #include <linux/jhash.h> #include <linux/ktime.h> #include <linux/slab.h> #include <linux/proc_fs.h> #include <linux/nls.h> #include <linux/workqueue.h> #include <linux/uuid...
Linux kernel'inin 'fs/smb/client/file' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * vfs operations that deal with files * * Copyright (C) International Business Machines Corp., 2002,2010 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) * */ #include <linux/fs.h> #include <linux/fs_struct.h> #inc...
Linux kernel'inin 'fs/smb/client/smb2maperror' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Functions which do error mapping of SMB2 status codes to POSIX errors * * Copyright (C) International Business Machines Corp., 2009 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include <linux/errno.h> #include "cifsproto.h" #include "cifs_debug.h" #...
Linux işletim sistemi çekirdeği için 'fs/smb/client/compress' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2024, SUSE LLC * * Authors: Enzo Matsumiya <ematsumiya@suse.de> * * This file implements I/O compression support for SMB2 messages (SMB 3.1.1 only). * See compress/ for implementation details of each algorithm. * * References: * MS-SMB2 "3.1.4...
Linux işletim sistemi çekirdeği için 'fs/smb/client/fscache' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * CIFS filesystem cache interface definitions * * Copyright (c) 2010 Novell, Inc. * Authors(s): Suresh Jayaraman (sjayaraman@suse.de> * */ #ifndef _CIFS_FSCACHE_H #define _CIFS_FSCACHE_H #include <linux/swap.h> #include <linux/fscache.h> #include "cifsglob.h...
Linux kernel'inin 'fs/smb/client/netlink' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Netlink routines for CIFS * * Copyright (c) 2020 Samuel Cabrero <scabrero@suse.de> */ #include <net/genetlink.h> #include <uapi/linux/cifs/cifs_netlink.h> #include "netlink.h" #include "cifsglob.h" #include "cifs_debug.h" #include "cifs_swn.h" static const struct nla...
Linux kernel'inin 'fs/smb/client/dns_resolve' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (c) 2007 Igor Mammedov * Author(s): Igor Mammedov (niallain@gmail.com) * Steve French (sfrench@us.ibm.com) * Wang Lei (wang840925@gmail.com) * David Howells (dhowells@redhat.com) * * Contains the CIFS DFS upcall routines...
Linux kernel'inin 'fs/smb/client/cifs_unicode' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * * Copyright (c) International Business Machines Corp., 2000,2009 * Modified by Steve French (sfrench@us.ibm.com) */ #include <linux/fs.h> #include <linux/slab.h> #include <linux/unaligned.h> #include "cifs_fs_sb.h" #include "cifs_unicode.h" #include "cifsg...
Linux işletim sistemi çekirdeği için 'fs/smb/client/dns_resolve' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * DNS Resolver upcall management for CIFS DFS * Handles host name to IP address resolution * * Copyright (c) International Business Machines Corp., 2008 * Author(s): Steve French (sfrench@us.ibm.com) * */ #ifndef _DNS_RESOLVE_H #define _DNS_RESOLVE_H #in...
Linux işletim sistemi çekirdeği için 'fs/smb/client/smb2pdu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (c) International Business Machines Corp., 2009, 2013 * Etersoft, 2012 * Author(s): Steve French (sfrench@us.ibm.com) * Pavel Shilovsky (pshilovsky@samba.org) 2012 * */ #ifndef _SMB2PDU_H #define _SMB2PDU_H #include...
Linux kernel'inin 'fs/smb/client/smb1session' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * SMB/CIFS session setup handling routines * * Copyright (c) International Business Machines Corp., 2006, 2009 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include "cifsproto.h" #include "smb1proto.h" #include "ntlmssp.h" #include "nterr.h" #include ...
Linux kernel'inin 'fs/smb/client/smb1encrypt' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Encryption and hashing operations relating to NTLM, NTLMv2. See MS-NLMP * for more detailed information * * Copyright (C) International Business Machines Corp., 2005,2013 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include <linux/fips.h> #incl...
Linux işletim sistemi çekirdeği için 'fs/smb/client/smb2proto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (c) International Business Machines Corp., 2002, 2011 * Etersoft, 2012 * Author(s): Steve French (sfrench@us.ibm.com) * Pavel Shilovsky (pshilovsky@samba.org) 2012 * */ #ifndef _SMB2PROTO_H #define _SMB2PROTO_H #incl...
Linux işletim sistemi çekirdeği için 'fs/smb/client/cifs_spnego' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * SPNEGO upcall management for CIFS * * Copyright (c) 2007 Red Hat, Inc. * Author(s): Jeff Layton (jlayton@redhat.com) * Steve French (sfrench@us.ibm.com) * */ #ifndef _CIFS_SPNEGO_H #define _CIFS_SPNEGO_H #define CIFS_SPNEGO_UPCALL_VERSION 2 ...
Linux kernel'inin 'fs/smb/client/export' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2007 * Author(s): Steve French (sfrench@us.ibm.com) * * Common Internet FileSystem (CIFS) client * * Operations related to support for exporting files via NFSD * */ /* * See Documentation/filesyst...
Linux işletim sistemi çekirdeği için 'fs/smb/client/rfc1002pdu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Protocol Data Unit definitions for RFC 1001/1002 support * * Copyright (c) International Business Machines Corp., 2004 * Author(s): Steve French (sfrench@us.ibm.com) * */ /* NB: unlike smb/cifs packets, the RFC1002 structures are big endian */ /* RFC ...
Linux işletim sistemi çekirdeği için 'fs/smb/client/smb1pdu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (c) International Business Machines Corp., 2002,2009 * Author(s): Steve French (sfrench@us.ibm.com) * */ #ifndef _SMB1PDU_H #define _SMB1PDU_H #include "../common/smb1pdu.h" #define CIFS_PROT 0 #define POSIX_PROT (CIFS_PROT+1) #define BAD_PRO...
Linux işletim sistemi çekirdeği için 'fs/smb/client/smb1proto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (c) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * */ #ifndef _SMB1PROTO_H #define _SMB1PROTO_H #include <linux/uidgid_types.h> #include <linux/unaligned.h> #include "../common/smb2pdu.h" #include...
Linux kernel'inin 'fs/smb/client/ioctl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * vfs operations that deal with io control * * Copyright (C) International Business Machines Corp., 2005,2013 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include <linux/fs.h> #include <linux/file.h> #include <linux/mount.h> #include <linux/mm.h> #in...
Linux işletim sistemi çekirdeği için 'fs/smb/client/cifs_ioctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Structure definitions for io control for cifs/smb3 * * Copyright (c) 2015 Steve French <steve.french@primarydata.com> * */ struct smb_mnt_fs_info { __u32 version; /* 0001 */ __u16 protocol_id; __u16 tcon_flags; __u32 vol_serial_number; __u32 vol_create...
Linux işletim sistemi çekirdeği için 'fs/smb/client/trace' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018, Microsoft Corporation. * * Author(s): Steve French <stfrench@microsoft.com> * * Please use this 3-part article as a reference for writing new tracepoints: * https://lwn.net/Articles/379903/ */ #undef TRACE_SYSTEM #define TRACE_SYSTEM cifs ...
Linux kernel'inin 'fs/smb/client/dfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2022 Paulo Alcantara <palcantara@suse.de> */ #include "cifsproto.h" #include "cifs_debug.h" #include "dns_resolve.h" #include "fs_context.h" #include "dfs.h" #define DFS_DOM(ctx) (ctx->dfs_root_ses ? ctx->dfs_root_ses->dns_dom : NULL) /** * dfs_parse_tar...
Linux kernel'inin 'fs/smb/client/smb1transport' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) 2006. * */ #include <linux/fs.h> #include <linux/list.h> #include <linux/gfp.h> #include <linux/wait.h> #include <...
Linux işletim sistemi çekirdeği için 'fs/smb/client/smberr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (c) International Business Machines Corp., 2002,2004 * Author(s): Steve French (sfrench@us.ibm.com) * * See Error Codes section of the SNIA CIFS Specification * for more information * */ struct smb_to_posix_error { __u16 smb_err; int posi...
Linux işletim sistemi çekirdeği için 'fs/smb/client/ntlmssp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (c) International Business Machines Corp., 2002,2007 * Author(s): Steve French (sfrench@us.ibm.com) * */ #define NTLMSSP_SIGNATURE "NTLMSSP" /* Message Types */ #define NtLmNegotiate cpu_to_le32(1) #define NtLmChallenge cpu_to_le32(2) #def...
Linux kernel'inin 'fs/smb/client/asn1' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include <linux/module.h> #include <linux/kernel.h> #include <linux/oid_registry.h> #include "cifsglob.h" #include "cifs_debug.h" #include "cifsproto.h" #include "cifs_spnego_negtokeninit.asn1.h" int decode_negTokenInit(unsigned char *security_blob, int length, ...
Linux kernel'inin 'fs/smb/client/connect' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002,2011 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include <linux/fs.h> #include <linux/net.h> #include <linux/string.h> #include <linux/sched/mm.h> #include <linux/sched/signal.h> #include <linux...
Linux kernel'inin 'fs/smb/client/link' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include <crypto/md5.h> #include <linux/fs.h> #include <linux/stat.h> #include <linux/slab.h> #include <linux/namei.h> #include "cifsfs.h" #includ...
Linux kernel'inin 'fs/smb/client/smb1maperror_test' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * * KUnit tests of SMB1 maperror * * Copyright (C) 2026 KylinSoft Co., Ltd. All rights reserved. * Author(s): Youling Tang <tangyouling@kylinos.cn> * ChenXiaoSong <chenxiaosong@kylinos.cn> * */ #include <kunit/test.h> #include "smb1proto.h...
Linux kernel'inin 'fs/smb/client/misc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include <linux/slab.h> #include <linux/ctype.h> #include <linux/mempool.h> #include <linux/vmalloc.h> #include "cifsglob.h" #include "cifsproto....
Linux kernel'inin 'fs/smb/client/cifs_swn' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Witness Service client for CIFS * * Copyright (c) 2020 Samuel Cabrero <scabrero@suse.de> */ #include <linux/kref.h> #include <net/genetlink.h> #include <uapi/linux/cifs/cifs_netlink.h> #include "cifs_swn.h" #include "cifsglob.h" #include "cifsproto.h" #include "fscach...
Linux kernel'inin 'fs/smb/client/fs_context' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2020, Microsoft Corporation. * * Author(s): Steve French <stfrench@microsoft.com> * David Howells <dhowells@redhat.com> */ /* #include <linux/module.h> #include <linux/nsproxy.h> #include <linux/slab.h> #include <linux/magic.h> ...
Linux işletim sistemi çekirdeği için 'fs/smb/client/cifsglob' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) * */ #ifndef _CIFS_GLOB_H #define _CIFS_GLOB_H #include <linux/in.h> #include <linux/in6.h> #include...
Linux kernel'inin 'fs/smb/client/namespace' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Contains mounting routines used for handling traversal via SMB junctions. * * Copyright (c) 2007 Igor Mammedov * Copyright (C) International Business Machines Corp., 2008 * Author(s): Igor Mammedov (niallain@gmail.com) * Steve French (sfrench@us.ibm...
Linux kernel'inin 'fs/smb/client/inode' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002,2010 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include <linux/fs.h> #include <linux/fs_struct.h> #include <linux/stat.h> #include <linux/slab.h> #include <linux/pagemap.h> #include <linux/free...
Linux kernel'inin 'fs/smb/client/cifsfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * * Common Internet FileSystem (CIFS) client * */ /* Note that BB means BUGBUG (ie something to fix eventually) */ #include <linux/module.h> #inc...
Linux işletim sistemi çekirdeği için 'fs/smb/client/smbdirect' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2017, Microsoft Corporation. * * Author(s): Long Li <longli@microsoft.com> */ #ifndef _SMBDIRECT_H #define _SMBDIRECT_H #ifdef CONFIG_CIFS_SMB_DIRECT #define cifs_rdma_enabled(server) ((server)->rdma) #include "cifsglob.h" #include <linu...
Linux kernel'inin 'fs/smb/client/cifssmb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * Copyright (C) International Business Machines Corp., 2002,2010 * Author(s): Steve French (sfrench@us.ibm.com) * * Contains the routines for constructing the SMB PDUs themselves * */ /* SMB/CIFS PDU handling routines here - except for leftovers in connect....
Linux kernel'inin 'fs/smb/client/cached_dir' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Functions to handle the cached directory entries * * Copyright (c) 2022, Ronnie Sahlberg <lsahlber@redhat.com> */ #include <linux/namei.h> #include "cifsglob.h" #include "cifsproto.h" #include "cifs_debug.h" #include "smb2proto.h" #include "cached_dir.h" static stru...
Linux kernel'inin 'fs/smb/client/dir' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: LGPL-2.1 /* * * vfs operations that deal with dentries * * Copyright (C) International Business Machines Corp., 2002,2009 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include <linux/fs.h> #include <linux/stat.h> #include <linux/slab.h> #include <linux/namei.h> #inc...
Linux işletim sistemi çekirdeği için 'fs/smb/client/cifs_fs_sb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: LGPL-2.1 */ /* * * Copyright (c) International Business Machines Corp., 2002,2004 * Author(s): Steve French (sfrench@us.ibm.com) * */ #include <linux/rbtree.h> #ifndef _CIFS_FS_SB_H #define _CIFS_FS_SB_H #include <linux/backing-dev.h> #define CIFS_MOUNT_NO_PERM 1 /* do...
Linux kernel'inin 'fs/smb/client/compress' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2024, SUSE LLC * * Authors: Enzo Matsumiya <ematsumiya@suse.de> * * This file implements I/O compression support for SMB2 messages (SMB 3.1.1 only). * See compress/ for implementation details of each algorithm. * * References: * MS-SMB2 "3.1.4.4 ...