id
stringlengths
4
63
text
stringlengths
153
8.81M
smack_socket_connect(9)
NAME smack_socket_connect - connect access check SYNOPSIS int smack_socket_connect (struct socket *sock , struct sockaddr *sap , int addrlen ); ARGUMENTS sock the socket sap the other end addrlen size of sap DESCRIPTION Verifies that a connection may be possible Returns 0 on succes...
smack_socket_getpeersec_dgram(9)
NAME smack_socket_getpeersec_dgram - pull in packet label SYNOPSIS int smack_socket_getpeersec_dgram (struct socket *sock , struct sk_buff *skb , u32 *secid ); ARGUMENTS sock the peer socket skb packet data secid pointer to where to put the secid of the packet DESCRIPTION Sets th...
smack_socket_getpeersec_stream(9)
NAME smack_socket_getpeersec_stream - pull in packet label SYNOPSIS int smack_socket_getpeersec_stream (struct socket *sock , sockptr_t optval , sockptr_t optlen , unsigned int len ); ARGUMENTS sock the socket optval user's destination optlen size thereof len max there...
smack_socket_post_create(9)
NAME smack_socket_post_create - finish socket setup SYNOPSIS int smack_socket_post_create (struct socket *sock , int family , int type , int protocol , int kern ); ARGUMENTS sock the socket family protocol family type unused protocol unused kern unused DES...
smack_socket_sendmsg(9)
NAME smack_socket_sendmsg - Smack check based on destination host SYNOPSIS int smack_socket_sendmsg (struct socket *sock , struct msghdr *msg , int size ); ARGUMENTS sock the socket msg the message size the size of the message DESCRIPTION Return 0 if the current subject can writ...
smack_socket_sock_rcv_skb(9)
NAME smack_socket_sock_rcv_skb - Smack packet delivery access check SYNOPSIS int smack_socket_sock_rcv_skb (struct sock *sk , struct sk_buff *skb ); ARGUMENTS sk socket skb packet DESCRIPTION Returns 0 if the packet should be delivered, an error code otherwise SEE ALSO Kernel file ./secur...
smack_socket_socketpair(9)
NAME smack_socket_socketpair - create socket pair SYNOPSIS int smack_socket_socketpair (struct socket *socka , struct socket *sockb ); ARGUMENTS socka one socket sockb another socket DESCRIPTION Cross reference the peer labels for SO_PEERSEC Returns 0 SEE ALSO Kernel file ./security/smack/smac...
smack_str_from_perm(9)
NAME smack_str_from_perm - helper to translate an int to a readable string SYNOPSIS int smack_str_from_perm (char *string , int access ); ARGUMENTS string the string to fill access the int SEE ALSO Kernel file ./security/smack/smack_access.c smk_access_entry(9), smk_access(9), smk_tskacc(9), ...
smack_syslog(9)
NAME smack_syslog - Smack approval on syslog SYNOPSIS int smack_syslog (int typefrom_file ); ARGUMENTS typefrom_file unused DESCRIPTION Returns 0 on success, error code otherwise. SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), init_inode_smack(9), init_task_smack(9), smk_copy_rules(9), smk_c...
smack_task_getioprio(9)
NAME smack_task_getioprio - Smack check on reading ioprio SYNOPSIS int smack_task_getioprio (struct task_struct *p ); ARGUMENTS p the task object DESCRIPTION Return 0 if read access is permitted SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), init_inode_smack(9), init_task_smack(9), ...
smack_task_getlsmprop_obj(9)
NAME smack_task_getlsmprop_obj - get the objective data of the task SYNOPSIS void smack_task_getlsmprop_obj (struct task_struct *p , struct lsm_prop *prop ); ARGUMENTS p the task prop where to put the result DESCRIPTION Sets the secid to contain a u32 version of the task's objective smack la...
smack_task_getpgid(9)
NAME smack_task_getpgid - Smack access check for getpgid SYNOPSIS int smack_task_getpgid (struct task_struct *p ); ARGUMENTS p the object task DESCRIPTION Returns 0 if current can read the object task, error code otherwise SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), init_inode_smac...
smack_task_getscheduler(9)
NAME smack_task_getscheduler - Smack check on reading scheduler SYNOPSIS int smack_task_getscheduler (struct task_struct *p ); ARGUMENTS p the task object DESCRIPTION Return 0 if read access is permitted SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), init_inode_smack(9), init_task_sm...
smack_task_getsid(9)
NAME smack_task_getsid - Smack access check for getsid SYNOPSIS int smack_task_getsid (struct task_struct *p ); ARGUMENTS p the object task DESCRIPTION Returns 0 if current can read the object task, error code otherwise SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), init_inode_smack(9...
smack_task_kill(9)
NAME smack_task_kill - Smack check on signal delivery SYNOPSIS int smack_task_kill (struct task_struct *p , struct kernel_siginfo *info , int sig , const struct cred *cred ); ARGUMENTS p the task object info unused sig unused cred identifies the cred to use in l...
smack_task_movememory(9)
NAME smack_task_movememory - Smack check on moving memory SYNOPSIS int smack_task_movememory (struct task_struct *p ); ARGUMENTS p the task object DESCRIPTION Return 0 if write access is permitted SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), init_inode_smack(9), init_task_smack(9), smk_...
smack_task_setioprio(9)
NAME smack_task_setioprio - Smack check on setting ioprio SYNOPSIS int smack_task_setioprio (struct task_struct *p , int ioprio ); ARGUMENTS p the task object ioprio unused DESCRIPTION Return 0 if write access is permitted SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), in...
smack_task_setnice(9)
NAME smack_task_setnice - Smack check on setting nice SYNOPSIS int smack_task_setnice (struct task_struct *p , int nice ); ARGUMENTS p the task object nice unused DESCRIPTION Return 0 if write access is permitted SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), init_inode...
smack_task_setpgid(9)
NAME smack_task_setpgid - Smack check on setting pgid SYNOPSIS int smack_task_setpgid (struct task_struct *p , pid_t pgid ); ARGUMENTS p the task object pgid unused DESCRIPTION Return 0 if write access is permitted SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), init_ino...
smack_task_setscheduler(9)
NAME smack_task_setscheduler - Smack check on setting scheduler SYNOPSIS int smack_task_setscheduler (struct task_struct *p ); ARGUMENTS p the task object DESCRIPTION Return 0 if read access is permitted SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fetch(9), init_inode_smack(9), init_task_sm...
smack_task_to_inode(9)
NAME smack_task_to_inode - copy task smack into the inode blob SYNOPSIS void smack_task_to_inode (struct task_struct *p , struct inode *inode ); ARGUMENTS p task to copy from inode inode to copy to DESCRIPTION Sets the smack pointer in the inode security blob SEE ALSO Kernel file ./securit...
smack_to_secctx(9)
NAME smack_to_secctx - fill a lsm_context SYNOPSIS int smack_to_secctx (struct smack_known *skp , struct lsm_context *cp ); ARGUMENTS skp Smack label cp destination DESCRIPTION Fill the passed cp and return the length of the string SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fe...
smack_unix_may_send(9)
NAME smack_unix_may_send - Smack access on UDS SYNOPSIS int smack_unix_may_send (struct socket *sock , struct socket *other ); ARGUMENTS sock one socket other the other socket DESCRIPTION Return 0 if a subject with the smack of sock could access an object with the smack of other, otherwise an er...
smack_unix_stream_connect(9)
NAME smack_unix_stream_connect - Smack access on UDS SYNOPSIS int smack_unix_stream_connect (struct sock *sock , struct sock *other , struct sock *newsk ); ARGUMENTS sock one sock other the other sock newsk unused DESCRIPTION Return 0 if a subject with the smack of sock could acces...
smack_uring_cmd(9)
NAME smack_uring_cmd - check on file operations for io_uring SYNOPSIS int smack_uring_cmd (struct io_uring_cmd *ioucmd ); ARGUMENTS ioucmd the command in question DESCRIPTION Make a best guess about whether a io_uring "command" should be allowed. Use the same logic used for determining if the file could be open...
smack_uring_override_creds(9)
NAME smack_uring_override_creds - Is io_uring cred override allowed? SYNOPSIS int smack_uring_override_creds (const struct cred *new ); ARGUMENTS new the target creds DESCRIPTION Check to see if the current task is allowed to override it's credentials to service an io_uring operation. SEE ALSO Kernel file ...
smack_uring_sqpoll(9)
NAME smack_uring_sqpoll - check if a io_uring polling thread can be created SYNOPSIS int smack_uring_sqpoll (void ); ARGUMENTS void no arguments DESCRIPTION Check to see if the current task is allowed to create a new io_uring kernel polling thread. SEE ALSO Kernel file ./security/smack/smack_lsm.c smk_fet...
smack_watch_key(9)
NAME smack_watch_key - Smack access to watch a key for notifications. SYNOPSIS int smack_watch_key (struct key *key ); ARGUMENTS key The key to be watched DESCRIPTION Return 0 if the watch->cred has permission to read from the key object and an error otherwise. SEE ALSO Kernel file ./security/smack/smack_...
smartpqi(4)
NAME smartpqi - Microchip Smart Storage SCSI driver SYNOPSIS modprobe smartpqi [disable_device_id_wildcards={0|1}] [disable_heartbeat={0|1}] [disable_ctrl_shutdown={0|1}] [lockup_action={none|reboot|panic}] [expose_ld_first={0|1}] [hide_vsep={0|1}] [disable_managed_interrupts={0|1}] [ctrl_ready_timeout={0|[30,1800]}] ...
smb1_allocate_rsp_buf(9)
NAME smb1_allocate_rsp_buf - allocate response buffer for a command SYNOPSIS int smb1_allocate_rsp_buf (struct ksmbd_work *work ); ARGUMENTS work smb work containing smb request RETURN 0 on success, otherwise -ENOMEM SEE ALSO Kernel file ./fs/smb/server/smb_common.c ksmbd_verify_smb_message(9), ksmbd_smb_req...
smb1_check_user_session(9)
NAME smb1_check_user_session - check for valid session for a user SYNOPSIS int smb1_check_user_session (struct ksmbd_work *work ); ARGUMENTS work smb work containing smb request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb_common.c ksmbd_verify_smb_message(9), ksmbd_sm...
smb20_oplock_break_ack(9)
NAME smb20_oplock_break_ack - handler for smb2.0 oplock break command SYNOPSIS void smb20_oplock_break_ack (struct ksmbd_work *work ); ARGUMENTS work smb work containing oplock break command buffer RETURN 0 SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_...
smb21_lease_break_ack(9)
NAME smb21_lease_break_ack - handler for smb2.1 lease break command SYNOPSIS void smb21_lease_break_ack (struct ksmbd_work *work ); ARGUMENTS work smb work containing lease break command buffer RETURN 0 SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2...
smb2_allocate_rsp_buf(9)
NAME smb2_allocate_rsp_buf - allocate smb2 response buffer SYNOPSIS int smb2_allocate_rsp_buf (struct ksmbd_work *work ); ARGUMENTS work smb work containing smb request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(...
smb2_cancel(9)
NAME smb2_cancel - handler for smb2 cancel command SYNOPSIS int smb2_cancel (struct ksmbd_work *work ); ARGUMENTS work smb work containing cancel command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_...
smb2_check_sign_req(9)
NAME smb2_check_sign_req - handler for req packet sign processing SYNOPSIS int smb2_check_sign_req (struct ksmbd_work *work ); ARGUMENTS work smb work containing notify command buffer RETURN 1 on success, 0 otherwise SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(...
smb2_check_user_session(9)
NAME smb2_check_user_session - check for valid session for a user SYNOPSIS int smb2_check_user_session (struct ksmbd_work *work ); ARGUMENTS work smb work containing smb request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ks...
smb2_close(9)
NAME smb2_close - handler for smb2 close file command SYNOPSIS int smb2_close (struct ksmbd_work *work ); ARGUMENTS work smb work containing close request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set...
smb2_close_pipe(9)
NAME smb2_close_pipe - handler for closing IPC pipe SYNOPSIS int smb2_close_pipe (struct ksmbd_work *work ); ARGUMENTS work smb work containing close request buffer RETURN 0 SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err_rsp(9), is_smb2_neg...
smb2_copychunk_range(9)
NAME smb2_copychunk_range - server-side copy of data range SYNOPSIS ssize_t smb2_copychunk_range (const unsigned int xid , struct cifsFileInfo *src_file , struct cifsFileInfo *dst_file , u64 src_off , u64 len , u64 dst_off ); ARGUMENTS xid transaction id src_file source file dst_file des...
smb2_create_open_flags(9)
NAME smb2_create_open_flags - convert smb open flags to unix open flags SYNOPSIS int smb2_create_open_flags (bool file_present , __le32 access , __le32 disposition , int *may_flags , __le32 coptions , umode_t mode ); ARGUMENTS file_present is file already present access file access flags disposit...
smb2_echo(9)
NAME smb2_echo - handler for smb2 echo(ping) command SYNOPSIS int smb2_echo (struct ksmbd_work *work ); ARGUMENTS work smb work containing echo request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_er...
smb2_find_context_vals(9)
NAME smb2_find_context_vals - find a particular context info in open request SYNOPSIS struct create_context * smb2_find_context_vals (void *open_req , const char *tag , int tag_len ); ARGUMENTS open_req buffer containing smb2 file open(create) request tag context name to search for tag_len ...
smb2_flush(9)
NAME smb2_flush - handler for smb2 flush file - fsync SYNOPSIS int smb2_flush (struct ksmbd_work *work ); ARGUMENTS work smb work containing flush command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set...
smb2_get_dos_mode(9)
NAME smb2_get_dos_mode - get file mode in dos format from unix mode SYNOPSIS int smb2_get_dos_mode (struct kstat *stat , int attribute ); ARGUMENTS stat kstat containing file mode attribute attribute flags RETURN converted dos mode SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_...
smb2_get_ea(9)
NAME smb2_get_ea - handler for smb2 get extended attribute command SYNOPSIS int smb2_get_ea (struct ksmbd_work *work , struct ksmbd_file *fp , struct smb2_query_info_req *req , struct smb2_query_info_rsp *rsp , void *rsp_org ); ARGUMENTS work smb work containing query info command buffer fp ks...
smb2_get_ksmbd_tcon(9)
NAME smb2_get_ksmbd_tcon - get tree connection information using a tree id. SYNOPSIS int smb2_get_ksmbd_tcon (struct ksmbd_work *work ); ARGUMENTS work smb work RETURN 0 if there is a tree connection matched or these are skipable commands, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c ...
smb2_get_name(9)
NAME smb2_get_name - get filename string from on the wire smb format SYNOPSIS char * smb2_get_name (const char *src , const int maxlen , struct nls_table *local_nls ); ARGUMENTS src source buffer maxlen maxlen of source string local_nls nls_table pointer RETURN matching converted filen...
smb2_handle_negotiate(9)
NAME smb2_handle_negotiate - handler for smb2 negotiate command SYNOPSIS int smb2_handle_negotiate (struct ksmbd_work *work ); ARGUMENTS work smb work containing smb request buffer RETURN 0 SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err_rsp(...
smb2_ioctl(9)
NAME smb2_ioctl - handler for smb2 ioctl command SYNOPSIS int smb2_ioctl (struct ksmbd_work *work ); ARGUMENTS work smb work containing ioctl command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err_rsp(9...
smb2_is_sign_req(9)
NAME smb2_is_sign_req - handler for checking packet signing status SYNOPSIS bool smb2_is_sign_req (struct ksmbd_work *work , unsigned int command ); ARGUMENTS work smb work containing notify command buffer command SMB2 command id RETURN true if packed is signed, false otherwise SEE ALSO Kernel ...
smb2_lease_break_noti(9)
NAME smb2_lease_break_noti - break lease when a new client request write lease SYNOPSIS int smb2_lease_break_noti (struct oplock_info *opinfo ); ARGUMENTS opinfo contains lease state information RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/oplock.c alloc_opinfo(9), opinfo_w...
smb2_lock(9)
NAME smb2_lock - handler for smb2 file lock command SYNOPSIS int smb2_lock (struct ksmbd_work *work ); ARGUMENTS work smb work containing lock command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err...
smb2_map_lease_to_oplock(9)
NAME smb2_map_lease_to_oplock - map lease state to corresponding oplock type SYNOPSIS __u8 smb2_map_lease_to_oplock (__le32 lease_state ); ARGUMENTS lease_state lease type RETURN 0 if no mapping, otherwise corresponding oplock type SEE ALSO Kernel file ./fs/smb/server/oplock.c alloc_opinfo(9), opinfo_write_...
smb2_notify(9)
NAME smb2_notify - handler for smb2 notify request SYNOPSIS int smb2_notify (struct ksmbd_work *work ); ARGUMENTS work smb work containing notify command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_...
smb2_open(9)
NAME smb2_open - handler for smb file open request SYNOPSIS int smb2_open (struct ksmbd_work *work ); ARGUMENTS work smb work containing request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err_rsp(9...
smb2_oplock_break(9)
NAME smb2_oplock_break - dispatcher for smb2.0 and 2.1 oplock/lease break SYNOPSIS int smb2_oplock_break (struct ksmbd_work *work ); ARGUMENTS work smb work containing oplock/lease break command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(...
smb2_oplock_break_noti(9)
NAME smb2_oplock_break_noti - send smb2 exclusive/batch to level2 oplock break command from server to client SYNOPSIS int smb2_oplock_break_noti (struct oplock_info *opinfo ); ARGUMENTS opinfo oplock info object RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/oplock.c alloc_opin...
smb2_populate_readdir_entry(9)
NAME smb2_populate_readdir_entry - encode directory entry in smb2 response buffer SYNOPSIS int smb2_populate_readdir_entry (struct ksmbd_conn *conn , int info_level , struct ksmbd_dir_info *d_info , struct ksmbd_kstat *ksmbd_kstat ); ARGUMENTS conn connection instance info_level smb information level ...
smb2_query_info(9)
NAME smb2_query_info - handler for smb2 query info command SYNOPSIS int smb2_query_info (struct ksmbd_work *work ); ARGUMENTS work smb work containing query info request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon...
smb2_read(9)
NAME smb2_read - handler for smb2 read from file SYNOPSIS int smb2_read (struct ksmbd_work *work ); ARGUMENTS work smb work containing read command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err_rs...
smb2_read_pipe(9)
NAME smb2_read_pipe - handler for smb2 read from IPC pipe SYNOPSIS int smb2_read_pipe (struct ksmbd_work *work ); ARGUMENTS work smb work containing read IPC pipe command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tco...
smb2_session_logoff(9)
NAME smb2_session_logoff - handler for session log off request SYNOPSIS int smb2_session_logoff (struct ksmbd_work *work ); ARGUMENTS work smb work containing request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9)...
smb2_set_ea(9)
NAME smb2_set_ea - handler for setting extended attributes using set info command SYNOPSIS int smb2_set_ea (struct smb2_ea_info *eabuf , unsigned int buf_len , const struct path *path , bool get_write ); ARGUMENTS eabuf set info command buffer buf_len set info command buffer length path ...
smb2_set_err_rsp(9)
NAME smb2_set_err_rsp - set error response code on smb response SYNOPSIS void smb2_set_err_rsp (struct ksmbd_work *work ); ARGUMENTS work smb work containing response buffer SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), is_smb2_neg_cmd(9), is_smb2_rsp(9), ...
smb2_set_info(9)
NAME smb2_set_info - handler for smb2 set info command handler SYNOPSIS int smb2_set_info (struct ksmbd_work *work ); ARGUMENTS work smb work containing set info request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon...
smb2_set_info_file(9)
NAME smb2_set_info_file - handler for smb2 set info command SYNOPSIS int smb2_set_info_file (struct ksmbd_work *work , struct ksmbd_file *fp , struct smb2_set_info_req *req , struct ksmbd_share_config *share ); ARGUMENTS work smb work containing set info command buffer fp ksmbd_file pointer ...
smb2_set_rsp_credits(9)
NAME smb2_set_rsp_credits - set number of credits in response buffer SYNOPSIS int smb2_set_rsp_credits (struct ksmbd_work *work ); ARGUMENTS work smb work containing smb response buffer SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err_rsp(9), ...
smb2_set_sign_rsp(9)
NAME smb2_set_sign_rsp - handler for rsp packet sign processing SYNOPSIS void smb2_set_sign_rsp (struct ksmbd_work *work ); ARGUMENTS work smb work containing notify command buffer SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err_rsp(9), is_sm...
smb2_tree_connect(9)
NAME smb2_tree_connect - handler for smb2 tree connect command SYNOPSIS int smb2_tree_connect (struct ksmbd_work *work ); ARGUMENTS work smb work containing smb request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(...
smb2_tree_disconnect(9)
NAME smb2_tree_disconnect - handler for smb tree connect request SYNOPSIS int smb2_tree_disconnect (struct ksmbd_work *work ); ARGUMENTS work smb work containing request buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon...
smb2_write(9)
NAME smb2_write - handler for smb2 write from file SYNOPSIS int smb2_write (struct ksmbd_work *work ); ARGUMENTS work smb work containing write command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_er...
smb2_write_pipe(9)
NAME smb2_write_pipe - handler for smb2 write on IPC pipe SYNOPSIS int smb2_write_pipe (struct ksmbd_work *work ); ARGUMENTS work smb work containing write IPC pipe command buffer RETURN 0 on success, otherwise error SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_t...
smb311_update_preauth_hash(9)
NAME smb311_update_preauth_hash - update @ses hash with the packet data in @iov SYNOPSIS void smb311_update_preauth_hash (struct cifs_ses *ses , struct TCP_Server_Info *server , struct kvec *iov , int nvec ); ARGUMENTS ses server session structure server pointer to server info iov ...
smb347_charging_status(9)
NAME smb347_charging_status - returns status of charging SYNOPSIS int smb347_charging_status (struct smb347_charger *smb ); ARGUMENTS smb pointer to smb347 charger instance DESCRIPTION Function returns charging status. 0 means no charging is in progress, 1 means pre-charging, 2 fast-charging and 3 taper-char...
smb347_update_ps_status(9)
NAME smb347_update_ps_status - refreshes the power source status SYNOPSIS int smb347_update_ps_status (struct smb347_charger *smb ); ARGUMENTS smb pointer to smb347 charger instance DESCRIPTION Function checks whether any power source is connected to the charger and updates internal state accordingly. If the...
smb3_check_sign_req(9)
NAME smb3_check_sign_req - handler for req packet sign processing SYNOPSIS int smb3_check_sign_req (struct ksmbd_work *work ); ARGUMENTS work smb work containing notify command buffer RETURN 1 on success, 0 otherwise SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_t...
smb3_encryption_negotiated(9)
NAME smb3_encryption_negotiated - checks if server and client agreed on enabling encryption SYNOPSIS bool smb3_encryption_negotiated (struct ksmbd_conn *conn ); ARGUMENTS conn smb connection RETURN true if connection should be encrypted, else false SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_s...
smb3_preauth_hash_rsp(9)
NAME smb3_preauth_hash_rsp - handler for computing preauth hash on response SYNOPSIS void smb3_preauth_hash_rsp (struct ksmbd_work *work ); ARGUMENTS work smb work containing response buffer SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err_rsp(...
smb3_set_sign_rsp(9)
NAME smb3_set_sign_rsp - handler for rsp packet sign processing SYNOPSIS void smb3_set_sign_rsp (struct ksmbd_work *work ); ARGUMENTS work smb work containing notify command buffer SEE ALSO Kernel file ./fs/smb/server/smb2pdu.c check_session_id(9), smb2_get_ksmbd_tcon(9), smb2_set_err_rsp(9), is_sm...
smb_break_all_levII_oplock(9)
NAME smb_break_all_levII_oplock - send level2 oplock or read lease break command from server to client SYNOPSIS void smb_break_all_levII_oplock (struct ksmbd_work *work , struct ksmbd_file *fp , int is_trunc ); ARGUMENTS work smb work fp ksmbd file pointer is_trunc truncate on open ...
smb_break_all_oplock(9)
NAME smb_break_all_oplock - break both batch/exclusive and level2 oplock SYNOPSIS void smb_break_all_oplock (struct ksmbd_work *work , struct ksmbd_file *fp ); ARGUMENTS work smb work fp ksmbd file pointer SEE ALSO Kernel file ./fs/smb/server/oplock.c alloc_opinfo(9), opinfo_write_to_...
smb_break_all_write_oplock(9)
NAME smb_break_all_write_oplock - break batch/exclusive oplock to level2 SYNOPSIS void smb_break_all_write_oplock (struct ksmbd_work *work , struct ksmbd_file *fp , int is_trunc ); ARGUMENTS work smb work fp ksmbd file pointer is_trunc truncate on open SEE ALSO Kernel file ./fs...
smb_grant_oplock(9)
NAME smb_grant_oplock - handle oplock/lease request on file open SYNOPSIS int smb_grant_oplock (struct ksmbd_work *work , int req_op_level , u64 pid , struct ksmbd_file *fp , __u16 tid , struct lease_ctx_info *lctx , int share_ret ); ARGUMENTS work smb work req_op_level oplock level ...
smbios-type-11(7)
NAME smbios-type-11 - SMBIOS Type 11 strings SYNOPSIS /sys/firmware/dmi/entries/11-*/raw DESCRIPTION Various OS components process SMBIOS Type 11 vendor strings that a virtual machine manager (VMM) may set and a virtual machine (VM) receives. SMBIOS Type 11 vendor strings may play a similar role as kernel-command-lin...
smc_key(9)
Kernel API(9) API Manual Kernel API(9) NAME typedef smc_key - Alias for u32 to be used for SMC keys Description SMC keys are 32...
smc_llc_add_pending_send(9)
NAME smc_llc_add_pending_send - add LLC control message to pending WQE transmits SYNOPSIS int smc_llc_add_pending_send (struct smc_link *link , struct smc_wr_buf **wr_buf , struct smc_wr_tx_pend_priv **pend ); ARGUMENTS link Pointer to SMC link used for sending LLC control message. wr_buf Out vari...
smc_phy_check_media(9)
NAME smc_phy_check_media - check the media status and adjust TCR SYNOPSIS void smc_phy_check_media (struct net_device *dev , int init ); ARGUMENTS dev net device init set true for initialisation DESCRIPTION Select duplex mode depending on negotiation state. This also updates our carrier state...
smc_phy_powerdown(9)
NAME smc_phy_powerdown - powerdown phy SYNOPSIS void smc_phy_powerdown (struct net_device *dev ); ARGUMENTS dev net device DESCRIPTION Power down the specified PHY SEE ALSO Kernel file ./drivers/net/ethernet/smsc/smc91x.c smc_phy_reset(9), smc_phy_check_media(9), try_toggle_control_gpio(9) April 2026 ...
smc_phy_reset(9)
NAME smc_phy_reset - reset the phy SYNOPSIS int smc_phy_reset (struct net_device *dev , int phy ); ARGUMENTS dev net device phy phy address DESCRIPTION Issue a software reset for the specified PHY and wait up to 100ms for the reset to complete. We should not access the PHY for 50ms after i...
smc_wr_tx_get_free_slot(9)
NAME smc_wr_tx_get_free_slot - returns buffer for message assembly, and sets info for pending transmit tracking SYNOPSIS int smc_wr_tx_get_free_slot (struct smc_link *link , smc_wr_tx_handler handler , struct smc_wr_buf **wr_buf , struct smc_rdma_wr **wr_rdma_buf , struct smc_wr_tx_pend_priv **wr_pend_priv ); ARGUMEN...
smccc_hvc(9)
NAME smccc_hvc - Invoke a SMCCC function using the hvc conduit SYNOPSIS void smccc_hvc (uint32_t function_id , uint64_t arg0 , uint64_t arg1 , uint64_t arg2 , uint64_t arg3 , uint64_t arg4 , uint64_t arg5 , uint64_t arg6 , struct arm_smccc_res *res ); ARGUMENTS function_id the SMCCC function to be called arg0-arg6: S...
smccc_smc(9)
NAME smccc_smc - Invoke a SMCCC function using the smc conduit SYNOPSIS void smccc_smc (uint32_t function_id , uint64_t arg0 , uint64_t arg1 , uint64_t arg2 , uint64_t arg3 , uint64_t arg4 , uint64_t arg5 , uint64_t arg6 , struct arm_smccc_res *res ); ARGUMENTS function_id the SMCCC function to be called arg0-arg6: S...
smi_data_buf_free(9)
NAME smi_data_buf_free - free SMI data buffer SYNOPSIS void smi_data_buf_free (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/platform/x86/dell/dcdbas.c smi_data_buf_realloc(9), dcdbas_smi_request(9), smi_request_store(9), host_control_smi(9), dcdbas_host_control(9), dcdbas_reboot_notify(9...
smi_data_buf_realloc(9)
NAME smi_data_buf_realloc - grow SMI data buffer if needed SYNOPSIS int smi_data_buf_realloc (unsigned long size ); ARGUMENTS size -- undescribed -- SEE ALSO Kernel file ./drivers/platform/x86/dell/dcdbas.c smi_data_buf_free(9), dcdbas_smi_request(9), smi_request_store(9), host_control_smi(9), dcdbas_host_con...
smi_i2c_probe(9)
NAME smi_i2c_probe - Instantiate multiple I2C devices from inst array SYNOPSIS int smi_i2c_probe (struct platform_device *pdev , struct smi *smi , const struct smi_instance *inst_array ); ARGUMENTS pdev Platform device smi Internal struct for Serial multi instantiate driver inst_array ...
smi_request_store(9)
NAME smi_request_store - SYNOPSIS ssize_t smi_request_store (struct device *dev , struct device_attribute *attr , const char *buf , size_t count ); ARGUMENTS dev -- undescribed -- attr -- undescribed -- buf -- undescribed -- count -- undescribed -- DESCRIPTION The...
smi_spi_probe(9)
NAME smi_spi_probe - Instantiate multiple SPI devices from inst array SYNOPSIS int smi_spi_probe (struct platform_device *pdev , struct smi *smi , const struct smi_instance *inst_array ); ARGUMENTS pdev Platform device smi Internal struct for Serial multi instantiate driver inst_array ...
smime.1ssl(1)
NAME asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, sp...
smk_access(9)
NAME smk_access - determine if a subject has a specific access to an object SYNOPSIS int smk_access (struct smack_known *subject , struct smack_known *object , int request , struct smk_audit_info *a ); ARGUMENTS subject a pointer to the subject's Smack label entry object a pointer to the object's Sma...