• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/gfs2/

Lines Matching defs:to

5  * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
19 * is the number of bytes allocated to the dirent. The offset of the next
23 * by adding de_rec_len to the current dirent, this essentially causes the
24 * deleted dirent to get jumped over when iterating through all the dirents.
27 * the field de_ino is set to zero to designate it as deleted. When allocating
44 * used as an array of 64-bit block pointers pointing to the leaf blocks. The
46 * block pointer in the array that points to the same leaf. In fact, when a
47 * directory is first converted from linear to exhash, all of the pointers
48 * point to the same leaf.
144 * gfs2_dir_write_data - Write directory information to the inode
146 * @buf: The buffer containing information to be written
147 * @offset: The file offset to start writing at
148 * @size: The amount of data to write
264 * @buf: The buffer to place result into
265 * @offset: File offset to begin jdata_readng from
266 * @size: Amount of data to transfer
373 * name->name holds ptr to start of block.
419 * Other possible things to check:
422 * Not sure how heavy-weight we want to make this... could also check
424 * For now the most important thing is to check that the various sizes
534 * @dent: Pointer to list of dirents
536 * return first dirent whether bh points to leaf or stuffed dinode
583 * @dent: Pointer to list of dirents
636 The de_rec_len is already as big as it needs to be. Just zero
660 * Takes a dent from which to grab space as an argument. Returns the
888 (Remember that dent still points to the last entry.) */
1079 u64 *from, *to;
1090 /* Allocate both the "from" and "to" buffers in one big chunk */
1105 to = (u64 *)((char *)buf + sdp->sd_hash_bsize);
1108 *to++ = *from; /* No endianess worries */
1109 *to++ = *from;
1144 * When comparing the hash entries of @a to @b:
1184 * @offset: The offset in the file to read from
1185 * @opaque: opaque data to pass to filldir
1186 * @filldir: The function to pass entries to
1187 * @darr: an array of struct gfs2_dirent pointers to read
1189 * @copied: pointer to int that's non-zero if a entry has been copied out
1191 * Jump through some hoops to make sure that if there are hash collsions,
1192 * they are read out at the beginning of a buffer. We want to minimize
1194 * that someone will want to seek to that location.
1352 * @offset: the hash of the last entry read shifted to the right once
1353 * @opaque: buffer for the filldir function to fill
1354 * @filldir: points to the filldir function to use
1696 * by rename to change ".." when a directory is moved.
1738 * @lc: the function to call for each each
1739 * @data: private data to pass to it
1815 * @len: the number of pointers to this leaf
1933 * Dealloc all on-disk directory leaves to FREEMETA state
1934 * Change on-disk inode type to "regular file"
1945 /* Dealloc on-disk leaves to FREEMETA state */
1951 (We don't want to free these blocks a second time.) */
1972 * @ip: the file being written to
1973 * @filname: the filename that's going to be added