Home
last modified time | relevance | path

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

12

/fs/smb/server/
A 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()
139 if (work->sess && conn->ops->is_sign_req(work, command)) { in __process_request()
153 command = ret; in __process_request()
154 *cmd = command; in __process_request()
166 u16 command = 0; in __handle_ksmbd_work() local
213 rc = __process_request(work, conn, &command); in __handle_ksmbd_work()
[all …]
A Dsmb2misc.c372 int command; in ksmbd_smb2_check_message() local
397 command = le16_to_cpu(hdr->Command); in ksmbd_smb2_check_message()
398 if (command >= NUMBER_OF_SMB2_COMMANDS) { in ksmbd_smb2_check_message()
399 ksmbd_debug(SMB, "Illegal SMB2 command %d\n", command); in ksmbd_smb2_check_message()
403 if (smb2_req_struct_sizes[command] != pdu->StructureSize2) { in ksmbd_smb2_check_message()
404 if (!(command == SMB2_OPLOCK_BREAK_HE && in ksmbd_smb2_check_message()
410 le16_to_cpu(pdu->StructureSize2), command); in ksmbd_smb2_check_message()
417 if (command == SMB2_LOCK_HE) in ksmbd_smb2_check_message()
442 if (command == SMB2_NEGOTIATE_HE) in ksmbd_smb2_check_message()
456 len, clc_len, command, in ksmbd_smb2_check_message()
A Dsmb_common.c590 int ksmbd_smb_negotiate_common(struct ksmbd_work *work, unsigned int command) in ksmbd_smb_negotiate_common() argument
599 if (command == SMB2_NEGOTIATE_HE) { in ksmbd_smb_negotiate_common()
604 if (command == SMB_COM_NEGOTIATE) { in ksmbd_smb_negotiate_common()
614 pr_err("Unknown SMB negotiation command: %u\n", command); in ksmbd_smb_negotiate_common()
A Dsmb_common.h408 bool (*is_sign_req)(struct ksmbd_work *work, unsigned int command);
449 int ksmbd_smb_negotiate_common(struct ksmbd_work *work, unsigned int command);
A Dsmb2pdu.h452 bool smb2_is_sign_req(struct ksmbd_work *work, unsigned int command);
A Dsmb2pdu.c8797 bool smb2_is_sign_req(struct ksmbd_work *work, unsigned int command) in smb2_is_sign_req() argument
8802 command != SMB2_NEGOTIATE_HE && in smb2_is_sign_req()
8803 command != SMB2_SESSION_SETUP_HE && in smb2_is_sign_req()
8804 command != SMB2_OPLOCK_BREAK_HE) in smb2_is_sign_req()
/fs/orangefs/
A 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/
A 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()
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()
241 if (command == SMB2_CREATE_HE && in smb2_check_message()
271 calc_len, len, command, mid); in smb2_check_message()
[all …]
A Dioctl.c349 long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) in cifs_ioctl() argument
368 cifs_dbg(FYI, "cifs ioctl 0x%x\n", command); in cifs_ioctl()
370 trace_smb3_ioctl(xid, 0, command); in cifs_ioctl()
372 trace_smb3_ioctl(xid, pSMBFile->fid.persistent_fid, command); in cifs_ioctl()
374 switch (command) { in cifs_ioctl()
A Dtransport.c46 __le16 command = midEntry->server->vals->lock_cmd; in __release_mid() local
47 __u16 smb_cmd = le16_to_cpu(midEntry->command); in __release_mid()
96 (midEntry->command != command)) { in __release_mid()
108 midEntry->command, midEntry->mid); in __release_mid()
735 __func__, le16_to_cpu(mid->command), mid->mid, mid->mid_state); in cifs_sync_mid_result()
1006 midQ[i]->mid, le16_to_cpu(midQ[i]->command)); in compound_send_recv()
A Dtrace.h1383 unsigned int command),
1384 TP_ARGS(xid, fid, command),
1388 __field(unsigned int, command)
1393 __entry->command = command;
1396 __entry->xid, __entry->fid, __entry->command)
1403 unsigned int command), \
1404 TP_ARGS(xid, fid, command))
A Dcifs_debug.c67 le16_to_cpu(mid_entry->command), in cifs_dump_mids()
677 le16_to_cpu(mid_entry->command), in cifs_debug_data_proc_show()
A Dcifstransport.c52 temp->command = cpu_to_le16(smb_buffer->Command); in alloc_mid()
A Dsmb2inode.c1196 int command, struct cifsFileInfo *cfile, in smb2_set_path_attr() argument
1214 &oparms, &in_iov, &command, 1, in smb2_set_path_attr()
A Dsmb2transport.c778 temp->command = shdr->Command; /* Always LE */ in smb2_mid_entry_alloc()
A Dsmb1ops.c102 le16_to_cpu(mid->command) == buf->Command) { in cifs_find_mid()
A Dcifsglob.h1733 __le16 command; /* smb command code */ member
/fs/autofs/
A Ddev-ioctl.c677 static int _autofs_dev_ioctl(unsigned int command, in _autofs_dev_ioctl() argument
688 cmd = _IOC_NR(command); in _autofs_dev_ioctl()
690 if (_IOC_TYPE(command) != _IOC_TYPE(AUTOFS_DEV_IOCTL_IOC_FIRST) || in _autofs_dev_ioctl()
708 err = validate_dev_ioctl(command, param); in _autofs_dev_ioctl()
714 pr_warn("unknown command 0x%08x\n", command); in _autofs_dev_ioctl()
772 static long autofs_dev_ioctl(struct file *file, unsigned int command, in autofs_dev_ioctl() argument
777 err = _autofs_dev_ioctl(command, (struct autofs_dev_ioctl __user *) u); in autofs_dev_ioctl()
782 static long autofs_dev_ioctl_compat(struct file *file, unsigned int command, in autofs_dev_ioctl_compat() argument
785 return autofs_dev_ioctl(file, command, (unsigned long) compat_ptr(u)); in autofs_dev_ioctl_compat()
/fs/sysfs/
A DKconfig22 the kernel boot command line via its major and minor numbers. For
/fs/proc/
A DKconfig22 That location should be /proc. A command such as "mount -t proc proc
62 dump using the kernel command line option 'novmcoredd'.
/fs/ntfs3/
A DKconfig31 In Windows 10 one can use command "compact" to compress any files.
/fs/nfs/
A DKconfig17 install the user space mount.nfs command which can be found in
19 Information about using the mount command is available in the
/fs/f2fs/
A DKconfig74 option if you use the setcap command to assign initial process capabi-
/fs/
A DKconfig271 (boot command line) or hugetlb_optimize_vmemmap (sysctl).
/fs/ext4/
A Dnamei.c216 #define dxtrace(command) command argument
218 #define dxtrace(command) argument

Completed in 778 milliseconds

12