Searched refs:hash_pos (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/fs/affs/
H A Ddir.c52 int hash_pos; affs_readdir() local
67 hash_pos = (ctx->pos - 2) >> 16; affs_readdir()
71 hash_pos++; affs_readdir()
72 ctx->pos = ((hash_pos << 16) | chain_pos) + 2; affs_readdir()
87 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); affs_readdir()
101 hash_pos++; affs_readdir()
103 for (; hash_pos < AFFS_SB(sb)->s_hashsize; hash_pos++) { affs_readdir()
104 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); affs_readdir()
107 ctx->pos = (hash_pos << 16) + 2; affs_readdir()
121 namelen, name, ino, hash_pos, ctx->pos); affs_readdir()
/linux-4.4.14/drivers/hwmon/
H A Dibmpowernv.c168 char *hash_pos = strchr(name, '#'); get_sensor_index_attr() local
174 if (!hash_pos) get_sensor_index_attr()
177 dash_pos = strchr(hash_pos, '-'); get_sensor_index_attr()
181 copy_len = dash_pos - hash_pos - 1; get_sensor_index_attr()
185 strncpy(buf, hash_pos + 1, copy_len); get_sensor_index_attr()

Completed in 93 milliseconds