Lines Matching refs:lreq
1507 struct lease_ctx_info *lreq;
1513 lreq = kzalloc(sizeof(struct lease_ctx_info), GFP_KERNEL);
1514 if (!lreq)
1520 memcpy(lreq->lease_key, lc->lcontext.LeaseKey, SMB2_LEASE_KEY_SIZE);
1522 lreq->req_state = lc->lcontext.LeaseState &
1524 lreq->is_dir = true;
1526 lreq->req_state = lc->lcontext.LeaseState;
1527 lreq->flags = lc->lcontext.LeaseFlags;
1528 lreq->epoch = lc->lcontext.Epoch;
1529 lreq->duration = lc->lcontext.LeaseDuration;
1530 memcpy(lreq->parent_lease_key, lc->lcontext.ParentLeaseKey,
1532 lreq->version = 2;
1536 memcpy(lreq->lease_key, lc->lcontext.LeaseKey, SMB2_LEASE_KEY_SIZE);
1537 lreq->req_state = lc->lcontext.LeaseState;
1538 lreq->flags = lc->lcontext.LeaseFlags;
1539 lreq->duration = lc->lcontext.LeaseDuration;
1540 lreq->version = 1;
1542 return lreq;