Home
last modified time | relevance | path

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

/fs/cifs/
Dtransport.c529 int optype; in wait_for_free_credits() local
537 optype = flags & CIFS_OP_MASK; in wait_for_free_credits()
541 credits = server->ops->get_credits_field(server, optype); in wait_for_free_credits()
543 if (*credits <= 0 && optype == CIFS_ECHO_OP) in wait_for_free_credits()
594 if (!optype && num_credits == 1 && in wait_for_free_credits()
785 int optype; in cifs_call_async() local
787 optype = flags & CIFS_OP_MASK; in cifs_call_async()
807 add_credits_and_wake_if(server, &credits, optype); in cifs_call_async()
814 add_credits_and_wake_if(server, &credits, optype); in cifs_call_async()
847 add_credits_and_wake_if(server, &credits, optype); in cifs_call_async()
[all …]
Dcifsglob.h234 const int optype);
813 const int optype) in add_credits() argument
815 server->ops->add_credits(server, credits, optype); in add_credits()
820 const struct cifs_credits *credits, const int optype) in add_credits_and_wake_if() argument
823 server->ops->add_credits(server, credits, optype); in add_credits_and_wake_if()
1615 unsigned int optype; /* operation type */ member
Dsmb1ops.c109 const struct cifs_credits *credits, const int optype) in cifs_add_credits() argument
128 cifs_get_credits_field(struct TCP_Server_Info *server, const int optype) in cifs_get_credits_field() argument
Dsmb2misc.c839 if ((mid->optype & CIFS_CP_CREATE_CLOSE_OP) || sync_hdr->Command != SMB2_CREATE || in smb2_handle_cancelled_mid()
Dsmb2ops.c62 const struct cifs_credits *credits, const int optype) in smb2_add_credits() argument
70 val = server->ops->get_credits_field(server, optype); in smb2_add_credits()
73 if (((optype & CIFS_OP_MASK) == CIFS_NEG_OP) && (*val != 0)) in smb2_add_credits()
87 if (server->in_flight == 0 && (optype & CIFS_OP_MASK) != CIFS_NEG_OP) in smb2_add_credits()
145 smb2_get_credits_field(struct TCP_Server_Info *server, const int optype) in smb2_get_credits_field() argument
147 switch (optype) { in smb2_get_credits_field()
/fs/dlm/
Dplock.c91 op->info.optype = DLM_PLOCK_OP_UNLOCK; in do_unlock_close()
121 op->info.optype = DLM_PLOCK_OP_LOCK; in dlm_posix_lock()
282 op->info.optype = DLM_PLOCK_OP_UNLOCK; in dlm_posix_unlock()
342 op->info.optype = DLM_PLOCK_OP_GET; in dlm_posix_get()
480 WARN_ON(op->info.optype != DLM_PLOCK_OP_LOCK); in dev_write()
484 op->info.optype != info.optype); in dev_write()