• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/

Lines Matching refs:test

464 static struct inode * find_inode(struct super_block * sb, struct hlist_head *head, int (*test)(struct inode *, void *), void *data)
474 if (!test(inode, data))
565 static struct inode * get_new_inode(struct super_block *sb, struct hlist_head *head, int (*test)(struct inode *, void *), int (*set)(struct inode *, void *), void *data)
575 old = find_inode(sb, head, test, data);
728 * @test: callback used for comparisons between inodes
729 * @data: opaque data pointer to pass to @test
741 * Note, @test is called with the inode_lock held, so can't sleep.
744 struct hlist_head *head, int (*test)(struct inode *, void *),
750 inode = find_inode(sb, head, test, data);
798 * @test: callback used for comparisons between inodes
799 * @data: opaque data pointer to pass to @test
813 * Note, @test is called with the inode_lock held, so can't sleep.
816 int (*test)(struct inode *, void *), void *data)
820 return ifind(sb, head, test, data, 0);
829 * @test: callback used for comparisons between inodes
830 * @data: opaque data pointer to pass to @test
842 * Note, @test is called with the inode_lock held, so can't sleep.
845 int (*test)(struct inode *, void *), void *data)
849 return ifind(sb, head, test, data, 1);
881 * @test: callback used for comparisons between inodes
883 * @data: opaque data pointer to pass to @test and @set
897 * Note both @test and @set are called with the inode_lock held, so can't sleep.
900 int (*test)(struct inode *, void *),
906 inode = ifind(sb, head, test, data, 1);
913 return get_new_inode(sb, head, test, set, data);