Home
last modified time | relevance | path

Searched refs:optype (Results 1 – 6 of 6) sorted by relevance

/fs/smb/client/
A Dtransport.c426 int optype; in wait_for_free_credits() local
435 optype = flags & CIFS_OP_MASK; in wait_for_free_credits()
513 if (!optype && num_credits == 1 && in wait_for_free_credits()
664 int optype; in cifs_call_async() local
666 optype = flags & CIFS_OP_MASK; in cifs_call_async()
781 add_credits(server, &credits, mid->optype); in cifs_compound_callback()
861 int i, j, optype, rc = 0; in compound_send_recv() local
870 optype = flags & CIFS_OP_MASK; in compound_send_recv()
942 midQ[i]->optype = optype; in compound_send_recv()
987 if ((ses->ses_status == SES_NEW) || (optype & CIFS_NEG_OP) || (optype & CIFS_SESS_OP)) { in compound_send_recv()
[all …]
A Dcifsglob.h330 const int optype);
918 const int optype) in add_credits() argument
920 server->ops->add_credits(server, credits, optype); in add_credits()
925 struct cifs_credits *credits, const int optype) in add_credits_and_wake_if() argument
928 server->ops->add_credits(server, credits, optype); in add_credits_and_wake_if()
1734 unsigned int optype; /* operation type */ member
A Dsmb2ops.c70 struct cifs_credits *credits, const int optype) in smb2_add_credits() argument
80 val = server->ops->get_credits_field(server, optype); in smb2_add_credits()
83 if (((optype & CIFS_OP_MASK) == CIFS_NEG_OP) && (*val != 0)) in smb2_add_credits()
115 ((optype & CIFS_OP_MASK) != CIFS_NEG_OP) && in smb2_add_credits()
116 ((optype & CIFS_OP_MASK) != CIFS_SESS_OP)) in smb2_add_credits()
129 ((optype & CIFS_OP_MASK) == CIFS_OBREAK_OP)) in smb2_add_credits()
150 optype, scredits, add); in smb2_add_credits()
216 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field() argument
218 switch (optype) { in smb2_get_credits_field()
A Dsmb1ops.c114 struct cifs_credits *credits, const int optype) in cifs_add_credits() argument
133 cifs_get_credits_field(struct TCP_Server_Info *server, const int optype) in cifs_get_credits_field() argument
A Dsmb2misc.c849 if ((mid->optype & CIFS_CP_CREATE_CLOSE_OP) || hdr->Command != SMB2_CREATE || in smb2_handle_cancelled_mid()
/fs/dlm/
A Dplock.c110 op->info.optype = DLM_PLOCK_OP_CANCEL; in do_lock_cancel()
140 op->info.optype = DLM_PLOCK_OP_LOCK; in dlm_posix_lock()
319 op->info.optype = DLM_PLOCK_OP_UNLOCK; in dlm_posix_unlock()
403 WARN_ON(op->info.optype != DLM_PLOCK_OP_LOCK); in dlm_posix_cancel()
439 op->info.optype = DLM_PLOCK_OP_GET; in dlm_posix_get()
560 WARN_ON(op->info.optype != DLM_PLOCK_OP_LOCK); in dev_write()
564 op->info.optype != info.optype); in dev_write()

Completed in 29 milliseconds