Home
last modified time | relevance | path

Searched refs:cnid (Results 1 – 21 of 21) sorted by relevance

/linux/fs/hfsplus/
A Dattributes.c40 k1_cnid = k1->attr.cnid; in hfsplus_attr_bin_cmp_key()
41 k2_cnid = k2->attr.cnid; in hfsplus_attr_bin_cmp_key()
51 u32 cnid, const char *name) in hfsplus_attr_build_key() argument
56 key->attr.cnid = cpu_to_be32(cnid); in hfsplus_attr_build_key()
97 u32 cnid, const void *value, size_t size) in hfsplus_attr_build_record() argument
137 int hfsplus_find_attr(struct super_block *sb, u32 cnid, in hfsplus_find_attr() argument
274 offsetof(struct hfsplus_attr_key, cnid), in __hfsplus_delete_attr()
276 if (cnid != be32_to_cpu(found_cnid)) in __hfsplus_delete_attr()
359 hfs_dbg(ATTR_MOD, "delete_all_attrs: %d\n", cnid); in hfsplus_delete_all_attrs()
371 err = hfsplus_find_attr(dir->i_sb, cnid, NULL, &fd); in hfsplus_delete_all_attrs()
[all …]
A Ddir.c23 struct inode *inode, u32 cnid) in hfsplus_instantiate() argument
38 u32 cnid, linkid = 0; in hfsplus_lookup() local
68 cnid = be32_to_cpu(entry.folder.id); in hfsplus_lookup()
75 cnid = be32_to_cpu(entry.file.id); in hfsplus_lookup()
308 u32 cnid, id; in hfsplus_link() local
332 cnid = sbi->next_cnid++; in hfsplus_link()
341 cnid = sbi->next_cnid++; in hfsplus_link()
364 u32 cnid; in hfsplus_unlink() local
372 if (inode->i_ino == cnid && in hfsplus_unlink()
391 if (inode->i_ino == cnid) in hfsplus_unlink()
[all …]
A Dbnode.c301 __be32 cnid; in hfs_bnode_dump() local
339 __be32 cnid; in hfs_bnode_unlink() local
347 cnid = cpu_to_be32(tmp->next); in hfs_bnode_unlink()
348 hfs_bnode_write(tmp, &cnid, in hfs_bnode_unlink()
359 cnid = cpu_to_be32(tmp->prev); in hfs_bnode_unlink()
360 hfs_bnode_write(tmp, &cnid, in hfs_bnode_unlink()
389 cnid); in hfs_bnode_findhash()
395 if (node->this == cnid) in hfs_bnode_findhash()
410 cnid); in __hfs_bnode_create()
420 node->this = cnid; in __hfs_bnode_create()
[all …]
A Dcatalog.c106 u32 cnid, struct inode *inode) in hfsplus_cat_build_record() argument
136 file->id = cpu_to_be32(cnid); in hfsplus_cat_build_record()
142 if (cnid == inode->i_ino) { in hfsplus_cat_build_record()
194 int hfsplus_find_cat(struct super_block *sb, u32 cnid, in hfsplus_find_cat() argument
253 int hfsplus_create_cat(u32 cnid, struct inode *dir, in hfsplus_create_cat() argument
263 str->name, cnid, inode->i_nlink); in hfsplus_create_cat()
385 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_DATA); in hfsplus_delete_cat()
391 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_RSRC); in hfsplus_delete_cat()
425 hfsplus_delete_all_attrs(dir, cnid); in hfsplus_delete_cat()
434 int hfsplus_rename_cat(u32 cnid, in hfsplus_rename_cat() argument
[all …]
A Dbfind.c27 tree->cnid, __builtin_return_address(0)); in hfs_find_init()
28 switch (tree->cnid) { in hfs_find_init()
49 fd->tree->cnid, __builtin_return_address(0)); in hfs_find_exit()
63 if (bnode->tree->cnid == HFSPLUS_EXT_CNID) { in hfs_find_1st_rec_by_cnid()
64 cur_cnid = fd->key->ext.cnid; in hfs_find_1st_rec_by_cnid()
65 search_cnid = fd->search_key->ext.cnid; in hfs_find_1st_rec_by_cnid()
66 } else if (bnode->tree->cnid == HFSPLUS_CAT_CNID) { in hfs_find_1st_rec_by_cnid()
69 } else if (bnode->tree->cnid == HFSPLUS_ATTR_CNID) { in hfs_find_1st_rec_by_cnid()
70 cur_cnid = fd->key->attr.cnid; in hfs_find_1st_rec_by_cnid()
71 search_cnid = fd->search_key->attr.cnid; in hfs_find_1st_rec_by_cnid()
A Dbrec.c70 __be32 cnid; in hfs_brec_insert() local
154 cnid = cpu_to_be32(new_node->this); in hfs_brec_insert()
155 entry = &cnid; in hfs_brec_insert()
156 entry_len = sizeof(cnid); in hfs_brec_insert()
166 (tree->cnid == HFSPLUS_ATTR_CNID)) in hfs_brec_insert()
430 __be32 cnid; in hfs_brec_update_parent() local
439 cnid = cpu_to_be32(new_node->this); in hfs_brec_update_parent()
442 hfs_brec_insert(fd, &cnid, sizeof(cnid)); in hfs_brec_update_parent()
467 __be32 cnid; in hfs_btree_inc_height() local
511 tree->cnid == HFSPLUS_ATTR_CNID) in hfs_btree_inc_height()
[all …]
A Dhfsplus_fs.h78 u32 cnid; member
366 u32 cnid, const char *name);
369 int hfsplus_find_attr(struct super_block *sb, u32 cnid, const char *name,
375 int hfsplus_delete_all_attrs(struct inode *dir, u32 cnid);
405 struct hfs_bnode *hfs_bnode_findhash(struct hfs_btree *tree, u32 cnid);
443 int hfsplus_find_cat(struct super_block *sb, u32 cnid,
445 int hfsplus_create_cat(u32 cnid, struct inode *dir, const struct qstr *str,
447 int hfsplus_delete_cat(u32 cnid, struct inode *dir, const struct qstr *str);
448 int hfsplus_rename_cat(u32 cnid, struct inode *src_dir, const struct qstr *src_name,
461 int hfsplus_free_fork(struct super_block *sb, u32 cnid,
A Dextents.c26 k1id = k1->ext.cnid; in hfsplus_ext_cmp_key()
27 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()
41 static void hfsplus_ext_build_key(hfsplus_btree_key *key, u32 cnid, in hfsplus_ext_build_key() argument
45 key->ext.cnid = cpu_to_be32(cnid); in hfsplus_ext_build_key()
158 u32 cnid, u32 block, u8 type) in __hfsplus_ext_read_extent() argument
162 hfsplus_ext_build_key(fd->search_key, cnid, block, type); in __hfsplus_ext_read_extent()
163 fd->key->ext.cnid = 0; in __hfsplus_ext_read_extent()
167 if (fd->key->ext.cnid != fd->search_key->ext.cnid || in __hfsplus_ext_read_extent()
396 int hfsplus_free_fork(struct super_block *sb, u32 cnid, in hfsplus_free_fork() argument
422 res = __hfsplus_ext_read_extent(&fd, ext_entry, cnid, in hfsplus_free_fork()
A Dioctl.c34 u32 cnid = (unsigned long)dentry->d_fsdata; in hfsplus_ioctl_bless() local
50 vh->finder_info[1] = bvh->finder_info[1] = cpu_to_be32(cnid); in hfsplus_ioctl_bless()
A Dbtree.c149 tree->cnid = id; in hfs_btree_open()
272 node->tree->cnid, node->this, in hfs_btree_close()
317 __be32 cnid; in hfs_bmap_new_bmap() local
325 cnid = cpu_to_be32(idx); in hfs_bmap_new_bmap()
326 hfs_bnode_write(prev, &cnid, offsetof(struct hfs_bnode_desc, next), 4); in hfs_bmap_new_bmap()
A Dhfsplus_raw.h343 hfsplus_cnid cnid; member
360 hfsplus_cnid cnid; member
A Dxattr.c732 if (be32_to_cpu(attr_key.cnid) != inode->i_ino) in hfsplus_listxattr()
/linux/fs/hfs/
A Dbnode.c152 __be32 cnid; in hfs_bnode_dump() local
190 __be32 cnid; in hfs_bnode_unlink() local
198 cnid = cpu_to_be32(tmp->next); in hfs_bnode_unlink()
209 cnid = cpu_to_be32(tmp->prev); in hfs_bnode_unlink()
237 if (cnid >= tree->node_count) { in hfs_bnode_findhash()
244 if (node->this == cnid) { in hfs_bnode_findhash()
259 if (cnid >= tree->node_count) { in __hfs_bnode_create()
270 node->this = cnid; in __hfs_bnode_create()
274 node->tree->cnid, node->this); in __hfs_bnode_create()
279 hash = hfs_bnode_hash(cnid); in __hfs_bnode_create()
[all …]
A Dcatalog.c43 rec->dir.DirID = cpu_to_be32(cnid); in hfs_cat_build_record()
55 rec->file.FlNum = cpu_to_be32(cnid); in hfs_cat_build_record()
91 str->name, cnid, inode->i_nlink); in hfs_cat_create()
108 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_create()
123 entry_size = hfs_cat_build_record(&entry, cnid, inode); in hfs_cat_create()
142 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_create()
187 int hfs_cat_find_brec(struct super_block *sb, u32 cnid, in hfs_cat_find_brec() argument
193 hfs_cat_build_key(sb, fd->search_key, cnid, NULL); in hfs_cat_find_brec()
243 if (be32_to_cpu(file.FlNum) == cnid) { in hfs_cat_delete()
263 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_delete()
[all …]
A Dbrec.c72 __be32 cnid; in hfs_brec_insert() local
154 cnid = cpu_to_be32(new_node->this); in hfs_brec_insert()
155 entry = &cnid; in hfs_brec_insert()
156 entry_len = sizeof(cnid); in hfs_brec_insert()
426 __be32 cnid; in hfs_brec_update_parent() local
435 cnid = cpu_to_be32(new_node->this); in hfs_brec_update_parent()
438 hfs_brec_insert(fd, &cnid, sizeof(cnid)); in hfs_brec_update_parent()
463 __be32 cnid; in hfs_btree_inc_height() local
517 cnid = cpu_to_be32(node->this); in hfs_btree_inc_height()
518 hfs_bnode_write(new_node, &cnid, 14 + key_size, 4); in hfs_btree_inc_height()
A Dbtree.c35 tree->cnid = id; in hfs_btree_open()
150 node->tree->cnid, node->this, in hfs_btree_close()
193 __be32 cnid; in hfs_bmap_new_bmap() local
203 cnid = cpu_to_be32(idx); in hfs_bmap_new_bmap()
204 hfs_bnode_write(prev, &cnid, offsetof(struct hfs_bnode_desc, next), 4); in hfs_bmap_new_bmap()
A Dextent.c21 static void hfs_ext_build_key(hfs_btree_key *key, u32 cnid, u16 block, u8 type) in hfs_ext_build_key() argument
25 key->ext.FNum = cpu_to_be32(cnid); in hfs_ext_build_key()
151 u32 cnid, u32 block, u8 type) in __hfs_ext_read_extent() argument
155 hfs_ext_build_key(fd->search_key, cnid, block, type); in __hfs_ext_read_extent()
291 u32 cnid = be32_to_cpu(file->FlNum); in hfs_free_fork() local
320 res = __hfs_ext_read_extent(&fd, extent, cnid, total_blocks, type); in hfs_free_fork()
A Dbfind.c27 tree->cnid, __builtin_return_address(0)); in hfs_find_init()
28 switch (tree->cnid) { in hfs_find_init()
49 fd->tree->cnid, __builtin_return_address(0)); in hfs_find_exit()
A Dinode.c391 u32 cnid; in hfs_iget() local
395 cnid = be32_to_cpu(rec->dir.DirID); in hfs_iget()
398 cnid = be32_to_cpu(rec->file.FlNum); in hfs_iget()
403 inode = iget5_locked(sb, cnid, hfs_test_inode, hfs_read_inode, &data); in hfs_iget()
A Dbtree.h29 u32 cnid; member
/linux/sound/pci/hda/
A Dhda_local.h168 #define snd_hda_create_spdif_out_ctls(codec, anid, cnid) \ argument
169 snd_hda_create_dig_out_ctls(codec, anid, cnid, HDA_PCM_TYPE_SPDIF)

Completed in 36 milliseconds