Home
last modified time | relevance | path

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

/openbmc/linux/fs/affs/
H A Ddir.c54 int hash_pos; in affs_readdir() local
69 hash_pos = (ctx->pos - 2) >> 16; in affs_readdir()
73 hash_pos++; in affs_readdir()
74 ctx->pos = ((hash_pos << 16) | chain_pos) + 2; in affs_readdir()
89 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()
103 hash_pos++; in affs_readdir()
105 for (; hash_pos < AFFS_SB(sb)->s_hashsize; hash_pos++) { in affs_readdir()
106 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()
109 ctx->pos = (hash_pos << 16) + 2; in affs_readdir()
123 namelen, name, ino, hash_pos, ctx->pos); in affs_readdir()
/openbmc/linux/drivers/hwmon/
H A Dibmpowernv.c220 char *hash_pos = strchr(name, '#'); in get_sensor_index_attr() local
226 if (!hash_pos) in get_sensor_index_attr()
229 dash_pos = strchr(hash_pos, '-'); in get_sensor_index_attr()
233 copy_len = dash_pos - hash_pos - 1; in get_sensor_index_attr()
237 strncpy(buf, hash_pos + 1, copy_len); in get_sensor_index_attr()