Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 28) sorted by relevance

12

/fs/smb/server/
Dserver.c112 u16 command; in __process_request() local
123 command = conn->ops->get_cmd_val(work); in __process_request()
124 *cmd = command; in __process_request()
127 if (command >= conn->max_cmds) { in __process_request()
132 cmds = &conn->cmds[command]; in __process_request()
134 ksmbd_debug(SMB, "*** not implemented yet cmd = %x\n", command); in __process_request()
139 if (work->sess && conn->ops->is_sign_req(work, command)) { in __process_request()
150 ksmbd_debug(CONN, "Failed to process %u [%d]\n", command, ret); in __process_request()
153 command = ret; in __process_request()
154 *cmd = command; in __process_request()
[all …]
Dsmb2misc.c360 int command; in ksmbd_smb2_check_message() local
385 command = le16_to_cpu(hdr->Command); in ksmbd_smb2_check_message()
386 if (command >= NUMBER_OF_SMB2_COMMANDS) { in ksmbd_smb2_check_message()
387 ksmbd_debug(SMB, "Illegal SMB2 command %d\n", command); in ksmbd_smb2_check_message()
391 if (smb2_req_struct_sizes[command] != pdu->StructureSize2) { in ksmbd_smb2_check_message()
392 if (!(command == SMB2_OPLOCK_BREAK_HE && in ksmbd_smb2_check_message()
398 le16_to_cpu(pdu->StructureSize2), command); in ksmbd_smb2_check_message()
405 if (command == SMB2_LOCK_HE) in ksmbd_smb2_check_message()
430 if (command == SMB2_NEGOTIATE_HE) in ksmbd_smb2_check_message()
444 len, clc_len, command, in ksmbd_smb2_check_message()
Dsmb_common.c583 int ksmbd_smb_negotiate_common(struct ksmbd_work *work, unsigned int command) in ksmbd_smb_negotiate_common() argument
592 if (command == SMB2_NEGOTIATE_HE) { in ksmbd_smb_negotiate_common()
597 if (command == SMB_COM_NEGOTIATE) { in ksmbd_smb_negotiate_common()
607 pr_err("Unknown SMB negotiation command: %u\n", command); in ksmbd_smb_negotiate_common()
Dsmb_common.h406 bool (*is_sign_req)(struct ksmbd_work *work, unsigned int command);
447 int ksmbd_smb_negotiate_common(struct ksmbd_work *work, unsigned int command);
Dsmb2pdu.h481 bool smb2_is_sign_req(struct ksmbd_work *work, unsigned int command);
/fs/orangefs/
Ddevorangefs-req.c572 static inline long check_ioctl_command(unsigned int command) in check_ioctl_command() argument
575 if (_IOC_TYPE(command) != ORANGEFS_DEV_MAGIC) { in check_ioctl_command()
577 command, in check_ioctl_command()
578 _IOC_TYPE(command), in check_ioctl_command()
583 if (_IOC_NR(command) >= ORANGEFS_DEV_MAXNR || _IOC_NR(command) <= 0) { in check_ioctl_command()
585 _IOC_NR(command), ORANGEFS_DEV_MAXNR); in check_ioctl_command()
591 static long dispatch_ioctl_command(unsigned int command, unsigned long arg) in dispatch_ioctl_command() argument
603 switch (command) { in dispatch_ioctl_command()
700 unsigned int command, unsigned long arg) in orangefs_devreq_ioctl() argument
705 ret = check_ioctl_command(command); in orangefs_devreq_ioctl()
[all …]
/fs/smb/client/
Dsmb2misc.c143 int command; in smb2_check_message() local
185 command = le16_to_cpu(shdr->Command); in smb2_check_message()
186 if (command >= NUMBER_OF_SMB2_COMMANDS) { in smb2_check_message()
187 cifs_dbg(VFS, "Invalid SMB2 command %d\n", command); in smb2_check_message()
211 if (smb2_rsp_struct_sizes[command] != pdu->StructureSize2) { in smb2_check_message()
212 if (command != SMB2_OPLOCK_BREAK_HE && (shdr->Status == 0 || in smb2_check_message()
216 le16_to_cpu(pdu->StructureSize2), command); in smb2_check_message()
218 } else if (command == SMB2_OPLOCK_BREAK_HE in smb2_check_message()
233 if (command == SMB2_IOCTL_HE && calc_len == 0) in smb2_check_message()
236 if (command == SMB2_NEGOTIATE_HE) in smb2_check_message()
[all …]
Dsmb2inode.c61 umode_t mode, void *ptr, int command, struct cifsFileInfo *cfile, in smb2_compound_op() argument
133 switch (command) { in smb2_compound_op()
406 switch (command) { in smb2_compound_op()
712 struct cifs_sb_info *cifs_sb, __u32 access, int command, in smb2_set_path_attr() argument
725 command, cfile, NULL, NULL); in smb2_set_path_attr()
Dtransport.c58 temp->command = cpu_to_le16(smb_buffer->Command); in alloc_mid()
84 __le16 command = midEntry->server->vals->lock_cmd; in __release_mid() local
85 __u16 smb_cmd = le16_to_cpu(midEntry->command); in __release_mid()
134 (midEntry->command != command)) { in __release_mid()
146 midEntry->command, midEntry->mid); in __release_mid()
913 __func__, le16_to_cpu(mid->command), mid->mid, mid->mid_state); in cifs_sync_mid_result()
1210 midQ[i]->mid, le16_to_cpu(midQ[i]->command)); in compound_send_recv()
Dioctl.c327 long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) in cifs_ioctl() argument
342 cifs_dbg(FYI, "cifs ioctl 0x%x\n", command); in cifs_ioctl()
343 switch (command) { in cifs_ioctl()
Dcifs_debug.c64 le16_to_cpu(mid_entry->command), in cifs_dump_mids()
508 le16_to_cpu(mid_entry->command), in cifs_debug_data_proc_show()
Dsmb2transport.c744 temp->command = shdr->Command; /* Always LE */ in smb2_mid_entry_alloc()
Dsmb1ops.c99 le16_to_cpu(mid->command) == buf->Command) { in cifs_find_mid()
Dcifsglob.h1652 __le16 command; /* smb command code */ member
/fs/autofs/
Ddev-ioctl.c593 static int _autofs_dev_ioctl(unsigned int command, in _autofs_dev_ioctl() argument
604 cmd = _IOC_NR(command); in _autofs_dev_ioctl()
606 if (_IOC_TYPE(command) != _IOC_TYPE(AUTOFS_DEV_IOCTL_IOC_FIRST) || in _autofs_dev_ioctl()
624 err = validate_dev_ioctl(command, param); in _autofs_dev_ioctl()
630 pr_warn("unknown command 0x%08x\n", command); in _autofs_dev_ioctl()
688 static long autofs_dev_ioctl(struct file *file, unsigned int command, in autofs_dev_ioctl() argument
693 err = _autofs_dev_ioctl(command, (struct autofs_dev_ioctl __user *) u); in autofs_dev_ioctl()
698 static long autofs_dev_ioctl_compat(struct file *file, unsigned int command, in autofs_dev_ioctl_compat() argument
701 return autofs_dev_ioctl(file, command, (unsigned long) compat_ptr(u)); in autofs_dev_ioctl_compat()
/fs/proc/
DKconfig22 That location should be /proc. A command such as "mount -t proc proc
62 dump using the kernel command line option 'novmcoredd'.
/fs/sysfs/
DKconfig22 the kernel boot command line via its major and minor numbers. For
/fs/ntfs3/
DKconfig29 In Windows 10 one can use command "compact" to compress any files.
/fs/nfs/
DKconfig15 install the user space mount.nfs command which can be found in
17 Information about using the mount command is available in the
/fs/ntfs/
DKconfig39 at the kernel command line when booting the kernel or as an option
/fs/f2fs/
DKconfig74 option if you use the setcap command to assign initial process capabi-
/fs/pstore/
DKconfig82 the kernel command line.
/fs/
DKconfig269 (boot command line) or hugetlb_optimize_vmemmap (sysctl).
/fs/fuse/
Dbacking.c976 long fuse_backing_ioctl(struct file *file, unsigned int command, unsigned long arg, int flags) in fuse_backing_ioctl() argument
984 ret = vfs_ioctl(ff->backing_file, command, arg); in fuse_backing_ioctl()
/fs/ext4/
Dnamei.c215 #define dxtrace(command) command argument
217 #define dxtrace(command) argument

12