Lines Matching refs:entry

18  *  Directory entry file type support and forward compatibility hooks
292 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry);
293 static void dx_set_block(struct dx_entry *entry, ext4_lblk_t value);
294 static inline unsigned dx_get_hash(struct dx_entry *entry);
295 static void dx_set_hash(struct dx_entry *entry, unsigned value);
565 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry)
567 return le32_to_cpu(entry->block) & 0x0fffffff;
570 static inline void dx_set_block(struct dx_entry *entry, ext4_lblk_t value)
572 entry->block = cpu_to_le32(value);
575 static inline unsigned dx_get_hash(struct dx_entry *entry)
577 return le32_to_cpu(entry->hash);
580 static inline void dx_set_hash(struct dx_entry *entry, unsigned value)
582 entry->hash = cpu_to_le32(value);
841 ext4_warning_inode(dir, "dx entry: limit %u != root limit %u",
854 "dx entry: count %u beyond limit %u",
896 "dx entry: tree cycle block %u points back to block %u",
916 "dx entry: limit %u != node limit %u",
1219 * (b) we have inserted at least one entry and the
1329 * Test whether a case-insensitive directory entry matches the filename
1333 * Returns: 0 if the directory entry matches, more than 0 if it
1337 const struct qstr *entry, bool quick)
1344 ret = utf8_strncasecmp_folded(um, name, entry);
1346 ret = utf8_strncasecmp(um, name, entry);
1355 if (name->len != entry->len)
1358 return !!memcmp(name->name, entry->name, name->len);
1392 * Test whether a directory entry matches the filename being searched for.
1394 * Return: %true if the directory entry matches, otherwise %false.
1402 const struct qstr entry = {.name = de->name, .len = de->name_len};
1419 return !ext4_ci_compare(parent, &cf, &entry, true);
1421 return !ext4_ci_compare(parent, fname->usr_fname, &entry,
1485 * finds an entry in the specified directory with the wanted name. It
1486 * returns the cache buffer in which the entry was found, and the entry
1488 * entry - you'll have to do that yourself if you want to.
1814 * Returns pointer to last entry moved.
1844 * Compact each dir entry in the range to the minimal rec_len.
1845 * Returns pointer to last entry in range.
1869 * Split a full leaf block to make room for a new dir entry.
1871 * Returns pointer to de in block into which the new entry will be inserted.
1925 /* is more than half of this entry in 2nd half of the block? */
1969 /* Which block gets the new entry? */
2052 * Add a new entry into a directory (leaf) block. If de is non-NULL,
2053 * it points to a directory entry which is guaranteed to be large
2054 * enough for new directory entry. If de is NULL, then
2057 * and -EEXIST if directory entry already exists.
2285 * adds a file entry to the specified directory, using the same
2290 * the entry, as someone else might have used it while you slept.
2511 /* Which index block gets the new entry? */
2578 * ext4_generic_delete_entry deletes a directory entry by merging it
2579 * with the previous entry
2729 * the directory cache entry for the new file, but it
3461 * Fast symlink. We have to add entry to directory
3681 /* entry for "dentry" */
3686 /* entry for ".." in inode if it's a directory */
3809 * sure that we are deleting the right entry. We might also be pointing
3810 * to a stale entry in the unused part of ent->bh so just checking inum
4014 * Do this before adding a new entry, so the old entry is sure
4015 * to be still pointing to the valid old entry.