Lines Matching refs:entry

18  *  Directory entry file type support and forward compatibility hooks
293 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry);
294 static void dx_set_block(struct dx_entry *entry, ext4_lblk_t value);
295 static inline unsigned dx_get_hash(struct dx_entry *entry);
296 static void dx_set_hash(struct dx_entry *entry, unsigned value);
568 static inline ext4_lblk_t dx_get_block(struct dx_entry *entry)
570 return le32_to_cpu(entry->block) & 0x0fffffff;
573 static inline void dx_set_block(struct dx_entry *entry, ext4_lblk_t value)
575 entry->block = cpu_to_le32(value);
578 static inline unsigned dx_get_hash(struct dx_entry *entry)
580 return le32_to_cpu(entry->hash);
583 static inline void dx_set_hash(struct dx_entry *entry, unsigned value)
585 entry->hash = cpu_to_le32(value);
890 ext4_warning_inode(dir, "dx entry: limit %u != root limit %u",
903 "dx entry: count %u beyond limit %u",
932 "dx entry: tree cycle block %u points back to block %u",
952 "dx entry: limit %u != node limit %u",
1277 * (b) we have inserted at least one entry and the
1394 * Test whether a case-insensitive directory entry matches the filename
1398 * Returns: 0 if the directory entry matches, more than 0 if it
1407 struct qstr entry = QSTR_INIT(de_name, de_name_len);
1421 entry.name = decrypted_name.name;
1422 entry.len = decrypted_name.len;
1426 ret = utf8_strncasecmp_folded(um, name, &entry);
1428 ret = utf8_strncasecmp(um, name, &entry);
1435 else if (name->len != entry.len)
1438 ret = !!memcmp(name->name, entry.name, entry.len);
1483 * Test whether a directory entry matches the filename being searched for.
1485 * Return: %true if the directory entry matches, otherwise %false.
1583 * finds an entry in the specified directory with the wanted name. It
1584 * returns the cache buffer in which the entry was found, and the entry
1586 * entry - you'll have to do that yourself if you want to.
1912 * Returns pointer to last entry moved.
1944 * Compact each dir entry in the range to the minimal rec_len.
1945 * Returns pointer to last entry in range.
1970 * Split a full leaf block to make room for a new dir entry.
1972 * Returns pointer to de in block into which the new entry will be inserted.
2028 /* is more than half of this entry in 2nd half of the block? */
2072 /* Which block gets the new entry? */
2163 * Add a new entry into a directory (leaf) block. If de is non-NULL,
2164 * it points to a directory entry which is guaranteed to be large
2165 * enough for new directory entry. If de is NULL, then
2168 * and -EEXIST if directory entry already exists.
2366 * adds a file entry to the specified directory, using the same
2371 * the entry, as someone else might have used it while you slept.
2594 /* Which index block gets the new entry? */
2661 * ext4_generic_delete_entry deletes a directory entry by merging it
2662 * with the previous entry
2814 * the directory cache entry for the new file, but it
3391 * EXT4_INDEX_EXTRA_TRANS_BLOCKS for addition of entry into the
3584 /* entry for "dentry" */
3589 /* entry for ".." in inode if it's a directory */
3713 * sure that we are deleting the right entry. We might also be pointing
3714 * to a stale entry in the unused part of ent->bh so just checking inum
3920 * Do this before adding a new entry, so the old entry is sure
3921 * to be still pointing to the valid old entry.