H A D | protocol.c | 46 void p9stat_free(struct p9_wstat *stbuf) p9stat_free() argument 48 kfree(stbuf->name); p9stat_free() 49 kfree(stbuf->uid); p9stat_free() 50 kfree(stbuf->gid); p9stat_free() 51 kfree(stbuf->muid); p9stat_free() 52 kfree(stbuf->extension); p9stat_free() 200 struct p9_wstat *stbuf = p9pdu_vreadf() local 203 memset(stbuf, 0, sizeof(struct p9_wstat)); p9pdu_vreadf() 204 stbuf->n_uid = stbuf->n_muid = INVALID_UID; p9pdu_vreadf() 205 stbuf->n_gid = INVALID_GID; p9pdu_vreadf() 210 &stbuf->size, &stbuf->type, p9pdu_vreadf() 211 &stbuf->dev, &stbuf->qid, p9pdu_vreadf() 212 &stbuf->mode, &stbuf->atime, p9pdu_vreadf() 213 &stbuf->mtime, &stbuf->length, p9pdu_vreadf() 214 &stbuf->name, &stbuf->uid, p9pdu_vreadf() 215 &stbuf->gid, &stbuf->muid, p9pdu_vreadf() 216 &stbuf->extension, p9pdu_vreadf() 217 &stbuf->n_uid, &stbuf->n_gid, p9pdu_vreadf() 218 &stbuf->n_muid); p9pdu_vreadf() 220 p9stat_free(stbuf); p9pdu_vreadf() 316 struct p9_stat_dotl *stbuf = p9pdu_vreadf() local 319 memset(stbuf, 0, sizeof(struct p9_stat_dotl)); p9pdu_vreadf() 323 &stbuf->st_result_mask, p9pdu_vreadf() 324 &stbuf->qid, p9pdu_vreadf() 325 &stbuf->st_mode, p9pdu_vreadf() 326 &stbuf->st_uid, &stbuf->st_gid, p9pdu_vreadf() 327 &stbuf->st_nlink, p9pdu_vreadf() 328 &stbuf->st_rdev, &stbuf->st_size, p9pdu_vreadf() 329 &stbuf->st_blksize, &stbuf->st_blocks, p9pdu_vreadf() 330 &stbuf->st_atime_sec, p9pdu_vreadf() 331 &stbuf->st_atime_nsec, p9pdu_vreadf() 332 &stbuf->st_mtime_sec, p9pdu_vreadf() 333 &stbuf->st_mtime_nsec, p9pdu_vreadf() 334 &stbuf->st_ctime_sec, p9pdu_vreadf() 335 &stbuf->st_ctime_nsec, p9pdu_vreadf() 336 &stbuf->st_btime_sec, p9pdu_vreadf() 337 &stbuf->st_btime_nsec, p9pdu_vreadf() 338 &stbuf->st_gen, p9pdu_vreadf() 339 &stbuf->st_data_version); p9pdu_vreadf() 428 const struct p9_wstat *stbuf = p9pdu_vwritef() local 433 stbuf->size, stbuf->type, p9pdu_vwritef() 434 stbuf->dev, &stbuf->qid, p9pdu_vwritef() 435 stbuf->mode, stbuf->atime, p9pdu_vwritef() 436 stbuf->mtime, stbuf->length, p9pdu_vwritef() 437 stbuf->name, stbuf->uid, p9pdu_vwritef() 438 stbuf->gid, stbuf->muid, p9pdu_vwritef() 439 stbuf->extension, stbuf->n_uid, p9pdu_vwritef() 440 stbuf->n_gid, stbuf->n_muid); p9pdu_vwritef()
|