Lines Matching refs:stbuf
29 void p9stat_free(struct p9_wstat *stbuf) in p9stat_free() argument
31 kfree(stbuf->name); in p9stat_free()
32 stbuf->name = NULL; in p9stat_free()
33 kfree(stbuf->uid); in p9stat_free()
34 stbuf->uid = NULL; in p9stat_free()
35 kfree(stbuf->gid); in p9stat_free()
36 stbuf->gid = NULL; in p9stat_free()
37 kfree(stbuf->muid); in p9stat_free()
38 stbuf->muid = NULL; in p9stat_free()
39 kfree(stbuf->extension); in p9stat_free()
40 stbuf->extension = NULL; in p9stat_free()
190 struct p9_wstat *stbuf = in p9pdu_vreadf() local
193 memset(stbuf, 0, sizeof(struct p9_wstat)); in p9pdu_vreadf()
194 stbuf->n_uid = stbuf->n_muid = INVALID_UID; in p9pdu_vreadf()
195 stbuf->n_gid = INVALID_GID; in p9pdu_vreadf()
200 &stbuf->size, &stbuf->type, in p9pdu_vreadf()
201 &stbuf->dev, &stbuf->qid, in p9pdu_vreadf()
202 &stbuf->mode, &stbuf->atime, in p9pdu_vreadf()
203 &stbuf->mtime, &stbuf->length, in p9pdu_vreadf()
204 &stbuf->name, &stbuf->uid, in p9pdu_vreadf()
205 &stbuf->gid, &stbuf->muid, in p9pdu_vreadf()
206 &stbuf->extension, in p9pdu_vreadf()
207 &stbuf->n_uid, &stbuf->n_gid, in p9pdu_vreadf()
208 &stbuf->n_muid); in p9pdu_vreadf()
210 p9stat_free(stbuf); in p9pdu_vreadf()
307 struct p9_stat_dotl *stbuf = in p9pdu_vreadf() local
310 memset(stbuf, 0, sizeof(struct p9_stat_dotl)); in p9pdu_vreadf()
314 &stbuf->st_result_mask, in p9pdu_vreadf()
315 &stbuf->qid, in p9pdu_vreadf()
316 &stbuf->st_mode, in p9pdu_vreadf()
317 &stbuf->st_uid, &stbuf->st_gid, in p9pdu_vreadf()
318 &stbuf->st_nlink, in p9pdu_vreadf()
319 &stbuf->st_rdev, &stbuf->st_size, in p9pdu_vreadf()
320 &stbuf->st_blksize, &stbuf->st_blocks, in p9pdu_vreadf()
321 &stbuf->st_atime_sec, in p9pdu_vreadf()
322 &stbuf->st_atime_nsec, in p9pdu_vreadf()
323 &stbuf->st_mtime_sec, in p9pdu_vreadf()
324 &stbuf->st_mtime_nsec, in p9pdu_vreadf()
325 &stbuf->st_ctime_sec, in p9pdu_vreadf()
326 &stbuf->st_ctime_nsec, in p9pdu_vreadf()
327 &stbuf->st_btime_sec, in p9pdu_vreadf()
328 &stbuf->st_btime_nsec, in p9pdu_vreadf()
329 &stbuf->st_gen, in p9pdu_vreadf()
330 &stbuf->st_data_version); in p9pdu_vreadf()
419 const struct p9_wstat *stbuf = in p9pdu_vwritef() local
424 stbuf->size, stbuf->type, in p9pdu_vwritef()
425 stbuf->dev, &stbuf->qid, in p9pdu_vwritef()
426 stbuf->mode, stbuf->atime, in p9pdu_vwritef()
427 stbuf->mtime, stbuf->length, in p9pdu_vwritef()
428 stbuf->name, stbuf->uid, in p9pdu_vwritef()
429 stbuf->gid, stbuf->muid, in p9pdu_vwritef()
430 stbuf->extension, stbuf->n_uid, in p9pdu_vwritef()
431 stbuf->n_gid, stbuf->n_muid); in p9pdu_vwritef()