Lines Matching defs:pctx
73 struct psshfs_ctx *pctx = puffs_getspecific(pu);
88 if (pctx->domangleuid && modva.va_uid == pctx->mangleuid)
89 modva.va_uid = pctx->myuid;
90 if (pctx->domanglegid && modva.va_gid == pctx->manglegid)
91 modva.va_gid = pctx->mygid;
135 struct psshfs_ctx *pctx = puffs_getspecific(pu);
143 reqid = NEXTREQ(pctx);
146 puffs_framev_enqueue_justsend(pu, pctx->sshfd_data, pb1, 1, 0);
155 reqid = NEXTREQ(pctx);
158 puffs_framev_enqueue_justsend(pu, pctx->sshfd_data, pb2, 1, 0);
232 GETRESPONSE(pb, pctx->sshfd);
243 struct psshfs_ctx *pctx = puffs_getspecific(pu);
248 if (!psn->attrread || REFRESHTIMEOUT(pctx, time(NULL)-psn->attrread)) {
260 sftp_readdir(struct puffs_usermount *pu, struct psshfs_ctx *pctx,
267 uint32_t reqid = NEXTREQ(pctx);
281 && !REFRESHTIMEOUT(pctx, time(NULL) - psn->dentread))
291 if (puffs_framev_enqueue_cc(pcc, pctx->sshfd, pb, 0) == -1) {
317 reqid = NEXTREQ(pctx);
320 GETRESPONSE(pb, pctx->sshfd);
396 psn->dir[idx].va.va_fileid = pctx->nextino++;
408 reqid = NEXTREQ(pctx);
411 puffs_framev_enqueue_justsend(pu, pctx->sshfd, pb, 1, 0);
454 struct psshfs_ctx *pctx = puffs_getspecific(pu);
460 pd->va.va_fileid = pctx->nextino++;