/fs/affs/ |
D | symlink.c | 18 char *link = page_address(page); in affs_symlink_readpage() local 40 link[i++] = c; in affs_symlink_readpage() 43 link[i++] = lf->symname[j++]; in affs_symlink_readpage() 45 link[i++] = '/'; in affs_symlink_readpage() 51 link[i++] = '.'; in affs_symlink_readpage() 52 link[i++] = '.'; in affs_symlink_readpage() 54 link[i++] = c; in affs_symlink_readpage() 58 link[i] = '\0'; in affs_symlink_readpage()
|
/fs/afs/ |
D | flock.c | 87 list_move_tail(&fl->fl_u.afs.link, &vnode->granted_locks); in afs_grant_locks() 90 fl_u.afs.link) { in afs_grant_locks() 93 list_move_tail(&p->fl_u.afs.link, in afs_grant_locks() 145 struct file_lock, fl_u.afs.link); in afs_lock_work() 179 struct file_lock, fl_u.afs.link); in afs_lock_work() 203 struct file_lock, fl_u.afs.link) == fl) { in afs_lock_work() 208 list_del_init(&fl->fl_u.afs.link); in afs_lock_work() 272 INIT_LIST_HEAD(&fl->fl_u.afs.link); in afs_do_setlk() 314 list_add_tail(&fl->fl_u.afs.link, &vnode->pending_locks); in afs_do_setlk() 329 &fl->fl_u.afs.link); in afs_do_setlk() [all …]
|
D | cell.c | 64 INIT_LIST_HEAD(&cell->link); in afs_cell_alloc() 160 list_for_each_entry(cell, &afs_cells, link) { in afs_cell_create() 187 list_add_tail(&cell->link, &afs_cells); in afs_cell_create() 280 list_for_each_entry(cell, &afs_cells, link) { in afs_cell_lookup() 330 if (cell && !list_empty(&cell->link)) 382 ASSERT(list_empty(&cell->link)); in afs_cell_destroy() 443 struct afs_cell, link); in afs_cell_purge() 444 list_del_init(&cell->link); in afs_cell_purge()
|
D | server.c | 81 INIT_LIST_HEAD(&server->link); in afs_alloc_server() 114 list_for_each_entry(server, &cell->servers, link) { in afs_lookup_server() 129 list_for_each_entry(server, &cell->servers, link) { in afs_lookup_server() 140 list_add_tail(&server->link, &cell->servers); in afs_lookup_server() 303 list_del_init(&server->link); in afs_reap_server()
|
D | write.c | 40 list_del_init(&wb->link); in afs_unlink_writeback() 45 struct afs_writeback, link); in afs_unlink_writeback() 147 INIT_LIST_HEAD(&candidate->link); in afs_write_begin() 188 list_for_each_entry(wb, &vnode->writebacks, link) { in afs_write_begin() 195 list_add_tail(&candidate->link, &vnode->writebacks); in afs_write_begin() 742 list_for_each_entry(xwb, &vnode->writebacks, link) { in afs_fsync() 746 list_add_tail(&wb->link, &vnode->writebacks); in afs_fsync() 760 vnode->writebacks.next == &wb->link); in afs_fsync()
|
/fs/ocfs2/ |
D | symlink.c | 63 const char *link; in ocfs2_fast_symlink_readpage() local 73 link = (char *) fe->id2.i_symlink; in ocfs2_fast_symlink_readpage() 75 len = strnlen(link, ocfs2_fast_symlink_chars(inode->i_sb)); in ocfs2_fast_symlink_readpage() 77 memcpy(kaddr, link, len + 1); in ocfs2_fast_symlink_readpage()
|
/fs/efs/ |
D | symlink.c | 17 char *link = page_address(page); in efs_symlink_readpage() local 32 memcpy(link, bh->b_data, (size > EFS_BLOCKSIZE) ? EFS_BLOCKSIZE : size); in efs_symlink_readpage() 38 memcpy(link + EFS_BLOCKSIZE, bh->b_data, size - EFS_BLOCKSIZE); in efs_symlink_readpage() 41 link[size] = '\0'; in efs_symlink_readpage()
|
/fs/fscache/ |
D | cache.c | 34 list_for_each_entry(tag, &fscache_cache_tag_list, link) { in __fscache_lookup_cache_tag() 56 list_for_each_entry(tag, &fscache_cache_tag_list, link) { in __fscache_lookup_cache_tag() 65 list_add_tail(&xtag->link, &fscache_cache_tag_list); in __fscache_lookup_cache_tag() 79 list_del_init(&tag->link); in __fscache_release_cache_tag() 165 struct fscache_cache, link); in fscache_select_cache_for_object() 198 INIT_LIST_HEAD(&cache->link); in fscache_init_cache() 261 list_add(&cache->link, &fscache_cache_list); in fscache_add_cache() 379 list_del_init(&cache->link); in fscache_withdraw_cache()
|
D | netfs.c | 30 INIT_LIST_HEAD(&netfs->link); in __fscache_register_netfs() 58 list_for_each_entry(ptr, &fscache_netfs_list, link) { in __fscache_register_netfs() 67 list_add(&netfs->link, &fscache_netfs_list); in __fscache_register_netfs() 93 list_del(&netfs->link); in __fscache_unregister_netfs()
|
/fs/sysfs/ |
D | group.c | 382 struct kernfs_node *link; in __compat_only_sysfs_link_entry_to_kobj() local 403 link = kernfs_create_link(kobj->sd, target_name, entry); in __compat_only_sysfs_link_entry_to_kobj() 404 if (IS_ERR(link) && PTR_ERR(link) == -EEXIST) in __compat_only_sysfs_link_entry_to_kobj() 409 return IS_ERR(link) ? PTR_ERR(link) : 0; in __compat_only_sysfs_link_entry_to_kobj()
|
/fs/hostfs/ |
D | hostfs_kern.c | 140 static char *follow_link(char *link) in follow_link() argument 151 n = hostfs_do_readlink(link, name, PATH_MAX); in follow_link() 162 end = strrchr(link, '/'); in follow_link() 167 len = strlen(link) + strlen(name) + 1; in follow_link() 175 sprintf(resolved, "%s%s", link, name); in follow_link() 177 kfree(link); in follow_link() 882 .link = hostfs_link, 897 char *link; in hostfs_get_link() local 900 link = kmalloc(PATH_MAX, GFP_KERNEL); in hostfs_get_link() 901 if (link) { in hostfs_get_link() [all …]
|
/fs/ncpfs/ |
D | symlink.c | 47 char *link, *rawlink; in ncp_symlink_readpage() local 72 link = rawlink + 8; in ncp_symlink_readpage() 75 link = rawlink; in ncp_symlink_readpage() 79 error = ncp_vol2io(NCP_SERVER(inode), buf, &len, link, length, 0); in ncp_symlink_readpage()
|
/fs/jffs2/ |
D | readinode.c | 339 struct rb_node **link = &rii->tn_root.rb_node; in jffs2_add_tn_to_tree() local 342 while (*link) { in jffs2_add_tn_to_tree() 343 parent = *link; in jffs2_add_tn_to_tree() 346 link = &insert_point->rb.rb_right; in jffs2_add_tn_to_tree() 349 link = &insert_point->rb.rb_left; in jffs2_add_tn_to_tree() 351 link = &insert_point->rb.rb_right; in jffs2_add_tn_to_tree() 353 rb_link_node(&tn->rb, &insert_point->rb, link); in jffs2_add_tn_to_tree() 405 struct rb_node **link; in eat_last() local 411 link = &root->rb_node; in eat_last() 413 link = &parent->rb_left; in eat_last() [all …]
|
D | nodelist.c | 125 struct rb_node **link = &parent; in jffs2_fragtree_insert() local 129 while (*link) { in jffs2_fragtree_insert() 130 parent = *link; in jffs2_fragtree_insert() 134 link = &base->rb.rb_right; in jffs2_fragtree_insert() 136 link = &base->rb.rb_left; in jffs2_fragtree_insert() 143 rb_link_node(&newfrag->rb, &base->rb, link); in jffs2_fragtree_insert()
|
/fs/proc/ |
D | proc_sysctl.c | 1138 struct ctl_table *link_table, *entry, *link; in new_links() local 1164 for (link = link_table, entry = table; entry->procname; link++, entry++) { in new_links() 1167 link->procname = link_name; in new_links() 1168 link->mode = S_IFLNK|S_IRWXUGO; in new_links() 1169 link->data = link_root; in new_links() 1182 struct ctl_table *entry, *link; in get_links() local 1187 link = find_entry(&head, dir, procname, strlen(procname)); in get_links() 1188 if (!link) in get_links() 1190 if (S_ISDIR(link->mode) && S_ISDIR(entry->mode)) in get_links() 1192 if (S_ISLNK(link->mode) && (link->data == link_root)) in get_links() [all …]
|
/fs/xfs/ |
D | xfs_symlink.h | 24 int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link); 25 int xfs_readlink(struct xfs_inode *ip, char *link);
|
D | xfs_symlink.c | 49 char *link) in xfs_readlink_bmap_ilocked() argument 110 memcpy(link + offset, cur_chunk, byte_cnt); in xfs_readlink_bmap_ilocked() 119 link[ip->i_d.di_size] = '\0'; in xfs_readlink_bmap_ilocked() 129 char *link) in xfs_readlink() argument 158 error = xfs_readlink_bmap_ilocked(ip, link); in xfs_readlink()
|
D | xfs_iops.c | 457 char *link; in xfs_vn_get_link() local 463 link = kmalloc(XFS_SYMLINK_MAXLEN+1, GFP_KERNEL); in xfs_vn_get_link() 464 if (!link) in xfs_vn_get_link() 467 error = xfs_readlink(XFS_I(d_inode(dentry)), link); in xfs_vn_get_link() 471 set_delayed_call(done, kfree_link, link); in xfs_vn_get_link() 472 return link; in xfs_vn_get_link() 475 kfree(link); in xfs_vn_get_link() 1125 .link = xfs_vn_link, 1150 .link = xfs_vn_link,
|
/fs/jfs/ |
D | jfs_incore.h | 95 } link; member 107 #define i_inline u.link._inline 108 #define i_inline_ea u.link._inline_ea
|
/fs/ |
D | namei.c | 533 struct path link; member 632 path_put(&nd->stack[i].link); in terminate_walk() 669 if (unlikely(!legitimize_path(nd, &last->link, last->seq))) { in legitimize_links() 917 path_put(&last->link); in put_link() 967 audit_log_link_denied("follow_link", &nd->stack[0].link); in may_follow_link() 1018 static int may_linkat(struct path *link) in may_linkat() argument 1025 inode = link->dentry->d_inode; in may_linkat() 1033 audit_log_link_denied("linkat", link); in may_linkat() 1081 struct dentry *dentry = last->link.dentry; in get_link() 1087 touch_atime(&last->link); in get_link() [all …]
|
/fs/overlayfs/ |
D | copy_up.c | 325 const char *link; member 403 .link = c->link in ovl_get_tmpfile() 624 ctx.link = vfs_get_link(ctx.lowerpath.dentry, &done); in ovl_copy_up_one() 625 if (IS_ERR(ctx.link)) in ovl_copy_up_one() 626 return PTR_ERR(ctx.link); in ovl_copy_up_one()
|
D | dir.c | 115 err = ovl_do_symlink(dir, newdentry, attr->link, debug); in ovl_create_real() 532 const char *link) in ovl_create_object() argument 538 .link = link, in ovl_create_object() 585 const char *link) in ovl_symlink() argument 587 return ovl_create_object(dentry, S_IFLNK, 0, link); in ovl_symlink() 1111 .link = ovl_link,
|
/fs/isofs/ |
D | rock.c | 454 slp = &rr->u.SL.link; in parse_rock_ridge_inode_internal() 610 slp = &rr->u.SL.link; in get_symlink_chunk() 698 char *link = page_address(page); in rock_ridge_symlink_readpage() local 701 char *rpnt = link; in rock_ridge_symlink_readpage() 761 link + (PAGE_SIZE - 1)); in rock_ridge_symlink_readpage() 780 if (rpnt == link) in rock_ridge_symlink_readpage()
|
/fs/debugfs/ |
D | inode.c | 600 char *link = kstrdup(target, GFP_KERNEL); in debugfs_create_symlink() local 601 if (!link) in debugfs_create_symlink() 606 kfree(link); in debugfs_create_symlink() 612 kfree(link); in debugfs_create_symlink() 617 inode->i_link = link; in debugfs_create_symlink()
|
/fs/fuse/ |
D | dir.c | 692 const char *link) in fuse_symlink() argument 695 unsigned len = strlen(link) + 1; in fuse_symlink() 703 args.in.args[1].value = link; in fuse_symlink() 1448 char *link; in fuse_get_link() local 1454 link = kmalloc(PAGE_SIZE, GFP_KERNEL); in fuse_get_link() 1455 if (!link) in fuse_get_link() 1463 args.out.args[0].value = link; in fuse_get_link() 1466 kfree(link); in fuse_get_link() 1467 link = ERR_PTR(ret); in fuse_get_link() 1469 link[ret] = '\0'; in fuse_get_link() [all …]
|