• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/fs/nfsclient/

Lines Matching defs:nop

225 	struct nfsclopen *op = NULL, *nop = NULL;
245 nop = malloc(sizeof (struct nfsclopen) +
247 nop->nfso_hash.le_prev = NULL;
252 if (nop != NULL)
253 free(nop, M_NFSCLOPEN);
296 nfscl_newopen(clp, dp, &owp, &nowp, &op, &nop, own, nfhp, fhlen,
304 if (nfhp != NULL && dp != NULL && nop == NULL)
340 if (nop != NULL)
341 free(nop, M_NFSCLOPEN);
359 struct nfsclopen *op, *nop;
366 nop = *nopp;
368 nop = NULL;
397 if (op == NULL && nop != NULL) {
398 nop->nfso_own = owp;
399 nop->nfso_mode = 0;
400 nop->nfso_opencnt = 0;
401 nop->nfso_posixlock = 1;
402 nop->nfso_fhlen = fhlen;
403 NFSBCOPY(fhp, nop->nfso_fh, fhlen);
404 LIST_INIT(&nop->nfso_lock);
405 nop->nfso_stateid.seqid = 0;
406 nop->nfso_stateid.other[0] = 0;
407 nop->nfso_stateid.other[1] = 0;
408 nop->nfso_stateid.other[2] = 0;
410 newnfs_copyincred(cred, &nop->nfso_cred);
419 nop, nfso_hash);
422 LIST_INSERT_HEAD(&owp->nfsow_open, nop, nfso_list);
423 *opp = nop;
1667 struct nfsclopen *op, *nop;
1679 LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) {
1694 struct nfsclopen *op, *nop, *top;
1768 LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) {
2013 struct nfsclopen *op, *nop;
2115 nop = LIST_NEXT(op, nfso_list);
2220 op = nop;
2249 nop = NULL;
2251 nop = malloc(sizeof (struct nfsclopen) +
2253 nop->nfso_own = nowp;
2255 nop->nfso_mode = NFSV4OPEN_ACCESSWRITE;
2258 nop->nfso_mode = NFSV4OPEN_ACCESSREAD;
2261 nop->nfso_opencnt = 0;
2262 nop->nfso_posixlock = 1;
2263 nop->nfso_fhlen = dp->nfsdl_fhlen;
2264 NFSBCOPY(dp->nfsdl_fh, nop->nfso_fh, dp->nfsdl_fhlen);
2265 LIST_INIT(&nop->nfso_lock);
2266 nop->nfso_stateid.seqid = 0;
2267 nop->nfso_stateid.other[0] = 0;
2268 nop->nfso_stateid.other[1] = 0;
2269 nop->nfso_stateid.other[2] = 0;
2271 newnfs_copyincred(tcred, &nop->nfso_cred);
2273 error = nfscl_tryopen(nmp, NULL, nop->nfso_fh,
2274 nop->nfso_fhlen, nop->nfso_fh, nop->nfso_fhlen,
2275 nop->nfso_mode, nop, NULL, 0, &tdp, 1,
2282 if ((nop->nfso_mode & mode) == mode &&
2283 nop->nfso_fhlen == tdp->nfsdl_fhlen &&
2284 !NFSBCMP(nop->nfso_fh, tdp->nfsdl_fh,
2285 nop->nfso_fhlen)) {
2300 if (nop != NULL)
2301 free(nop, M_NFSCLOPEN);
2327 LIST_INSERT_HEAD(&extra_open, nop, nfso_list);
2336 LIST_FOREACH_SAFE(op, &extra_open, nfso_list, nop) {
4198 struct nfsclopen *op, *nop;
4219 nop = malloc(sizeof (struct nfsclopen) +
4221 nop->nfso_hash.le_prev = NULL;
4223 nfscl_newopen(clp, NULL, &owp, NULL, &op, &nop, owp->nfsow_owner,
4237 if (nop != NULL)
4238 free(nop, M_NFSCLOPEN);