Home
last modified time | relevance | path

Searched refs:ui (Results 1 – 19 of 19) sorted by relevance

/linux-4.19.296/fs/ubifs/
Dfile.c304 struct ubifs_inode *ui = ubifs_inode(inode); in write_begin_slow() local
311 mutex_lock(&ui->ui_mutex); in write_begin_slow()
312 if (ui->dirty) in write_begin_slow()
317 ubifs_release_dirty_inode_budget(c, ui); in write_begin_slow()
338 struct ubifs_inode *ui, int appending) in allocate_budget() argument
350 mutex_lock(&ui->ui_mutex); in allocate_budget()
351 if (ui->dirty) in allocate_budget()
387 mutex_lock(&ui->ui_mutex); in allocate_budget()
388 if (!ui->dirty) in allocate_budget()
439 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_write_begin() local
[all …]
Dxattr.c104 struct ubifs_inode *ui, *host_ui = ubifs_inode(host); in create_xattr() local
143 ui = ubifs_inode(inode); in create_xattr()
144 ui->xattr = 1; in create_xattr()
145 ui->flags |= UBIFS_XATTR_FL; in create_xattr()
146 ui->data = kmemdup(value, size, GFP_NOFS); in create_xattr()
147 if (!ui->data) { in create_xattr()
151 inode->i_size = ui->ui_size = size; in create_xattr()
152 ui->data_len = size; in create_xattr()
213 struct ubifs_inode *ui = ubifs_inode(inode); in change_xattr() local
219 ubifs_assert(c, ui->data_len == inode->i_size); in change_xattr()
[all …]
Dsuper.c70 const struct ubifs_inode *ui = ubifs_inode(inode); in validate_inode() local
78 if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { in validate_inode()
79 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode()
83 if (ui->xattr_names + ui->xattr_cnt > XATTR_LIST_MAX) in validate_inode()
86 if (ui->data_len < 0 || ui->data_len > UBIFS_MAX_INO_DATA) in validate_inode()
89 if (ui->xattr && !S_ISREG(inode->i_mode)) in validate_inode()
92 if (!ubifs_compr_present(c, ui->compr_type)) { in validate_inode()
94 inode->i_ino, ubifs_compr_name(c, ui->compr_type)); in validate_inode()
108 struct ubifs_inode *ui; in ubifs_iget() local
117 ui = ubifs_inode(inode); in ubifs_iget()
[all …]
Dioctl.c113 struct ubifs_inode *ui = ubifs_inode(inode); in setflags() local
116 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in setflags()
126 mutex_lock(&ui->ui_mutex); in setflags()
127 oldflags = ubifs2ioctl(ui->flags); in setflags()
135 ui->flags &= ~ioctl2ubifs(UBIFS_SUPPORTED_IOCTL_FLAGS); in setflags()
136 ui->flags |= ioctl2ubifs(flags); in setflags()
139 release = ui->dirty; in setflags()
141 mutex_unlock(&ui->ui_mutex); in setflags()
151 mutex_unlock(&ui->ui_mutex); in setflags()
Djournal.c451 struct ubifs_inode *ui = ubifs_inode(inode); in pack_inode() local
455 ino->creat_sqnum = cpu_to_le64(ui->creat_sqnum); in pack_inode()
465 ino->flags = cpu_to_le32(ui->flags); in pack_inode()
466 ino->size = cpu_to_le64(ui->ui_size); in pack_inode()
468 ino->compr_type = cpu_to_le16(ui->compr_type); in pack_inode()
469 ino->data_len = cpu_to_le32(ui->data_len); in pack_inode()
470 ino->xattr_cnt = cpu_to_le32(ui->xattr_cnt); in pack_inode()
471 ino->xattr_size = cpu_to_le32(ui->xattr_size); in pack_inode()
472 ino->xattr_names = cpu_to_le32(ui->xattr_names); in pack_inode()
480 memcpy(ino->data, ui->data, ui->data_len); in pack_inode()
[all …]
Ddir.c62 const struct ubifs_inode *ui = ubifs_inode(dir); in inherit_flags() local
71 flags = ui->flags & (UBIFS_COMPR_FL | UBIFS_SYNC_FL | UBIFS_DIRSYNC_FL); in inherit_flags()
93 struct ubifs_inode *ui; in ubifs_new_inode() local
110 ui = ubifs_inode(inode); in ubifs_new_inode()
136 inode->i_size = ui->ui_size = UBIFS_INO_NODE_SZ; in ubifs_new_inode()
152 ui->flags = inherit_flags(dir, mode); in ubifs_new_inode()
155 ui->compr_type = c->default_compr; in ubifs_new_inode()
157 ui->compr_type = UBIFS_COMPR_NONE; in ubifs_new_inode()
158 ui->synced_i_size = 0; in ubifs_new_inode()
182 ui->creat_sqnum = ++c->max_sqnum; in ubifs_new_inode()
[all …]
Ddebug.c236 const struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_dump_inode() local
258 pr_err("\tcreat_sqnum %llu\n", ui->creat_sqnum); in ubifs_dump_inode()
259 pr_err("\txattr_size %u\n", ui->xattr_size); in ubifs_dump_inode()
260 pr_err("\txattr_cnt %u\n", ui->xattr_cnt); in ubifs_dump_inode()
261 pr_err("\txattr_names %u\n", ui->xattr_names); in ubifs_dump_inode()
262 pr_err("\tdirty %u\n", ui->dirty); in ubifs_dump_inode()
263 pr_err("\txattr %u\n", ui->xattr); in ubifs_dump_inode()
264 pr_err("\tbulk_read %u\n", ui->bulk_read); in ubifs_dump_inode()
266 (unsigned long long)ui->synced_i_size); in ubifs_dump_inode()
268 (unsigned long long)ui->ui_size); in ubifs_dump_inode()
[all …]
Dbudget.c606 struct ubifs_inode *ui) in ubifs_release_dirty_inode_budget() argument
612 req.dd_growth = c->bi.inode_budget + ALIGN(ui->data_len, 8); in ubifs_release_dirty_inode_budget()
Drecovery.c1508 struct ubifs_inode *ui; in ubifs_recover_size() local
1516 ui = ubifs_inode(inode); in ubifs_recover_size()
1522 ui->ui_size = e->d_size; in ubifs_recover_size()
1523 ui->synced_i_size = e->d_size; in ubifs_recover_size()
Dubifs.h1562 struct ubifs_inode *ui);
1862 const struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_crypt_is_encrypted() local
1864 return ui->flags & UBIFS_CRYPT_FL; in ubifs_crypt_is_encrypted()
/linux-4.19.296/block/partitions/
Dsgi.c37 __be32 *ui, cs; in sgi_partition() local
54 ui = ((__be32 *) (label + 1)) - 1; in sgi_partition()
55 for(csum = 0; ui >= ((__be32 *) label);) { in sgi_partition()
56 cs = *ui--; in sgi_partition()
/linux-4.19.296/fs/f2fs/
Dsysfs.c137 unsigned int *ui; in f2fs_sbi_show() local
164 ui = (unsigned int *)(ptr + a->offset); in f2fs_sbi_show()
166 return snprintf(buf, PAGE_SIZE, "%u\n", *ui); in f2fs_sbi_show()
175 unsigned int *ui; in __sbi_store() local
217 ui = (unsigned int *)(ptr + a->offset); in __sbi_store()
233 *ui = t; in __sbi_store()
243 if (t == *ui) in __sbi_store()
245 *ui = t; in __sbi_store()
284 *ui = (unsigned int)t; in __sbi_store()
/linux-4.19.296/fs/efs/
Dsuper.c162 __be32 cs, *ui; in module_exit() local
177 ui = ((__be32 *) (vh + 1)) - 1; in module_exit()
178 for(csum = 0; ui >= ((__be32 *) vh);) { in module_exit()
179 cs = *ui--; in module_exit()
/linux-4.19.296/include/uapi/linux/netfilter_bridge/
Debt_802_3.h51 struct hdr_ui ui; member
/linux-4.19.296/include/uapi/linux/
Datmmpc.h68 __u8 ui; /* Unnumbered Information (0x03) */ member
/linux-4.19.296/fs/ufs/
Ddir.c260 struct ufs_inode_info *ui = UFS_I(dir); in ufs_find_entry() local
271 start = ui->i_dir_start_lookup; in ufs_find_entry()
298 ui->i_dir_start_lookup = n; in ufs_find_entry()
/linux-4.19.296/include/uapi/drm/
Dradeon_drm.h613 unsigned int ui[5]; member
/linux-4.19.296/drivers/isdn/hisax/
Disdnl2.c184 l2headersize(struct Layer2 *l2, int ui) in l2headersize() argument
186 return (((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize()
/linux-4.19.296/drivers/isdn/mISDN/
Dlayer2.c120 l2headersize(struct layer2 *l2, int ui) in l2headersize() argument
122 return ((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) + in l2headersize()