Searched refs:attr (Results 1 – 2 of 2) sorted by relevance
159 static void fill_attr(struct fuse_attr* attr, struct fuse_data* fd, in fill_attr() argument161 memset(attr, 0, sizeof(*attr)); in fill_attr()162 attr->nlink = 1; in fill_attr()163 attr->uid = fd->uid; in fill_attr()164 attr->gid = fd->gid; in fill_attr()165 attr->blksize = 4096; in fill_attr()167 attr->ino = nodeid; in fill_attr()168 attr->size = size; in fill_attr()169 attr->blocks = (size == 0) ? 0 : (((size-1) / attr->blksize) + 1); in fill_attr()170 attr->mode = mode; in fill_attr()[all …]
1539 pthread_attr_t attr; in PerformBlockImageUpdate() local1616 pthread_attr_init(&attr); in PerformBlockImageUpdate()1617 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); in PerformBlockImageUpdate()1619 int error = pthread_create(¶ms.thread, &attr, unzip_new_data, ¶ms.nti); in PerformBlockImageUpdate()