Searched refs:hash_pos (Results 1 – 2 of 2) sorted by relevance
88 int hash_pos; in affs_readdir() local103 hash_pos = (ctx->pos - 2) >> 16; in affs_readdir()107 hash_pos++; in affs_readdir()108 ctx->pos = ((hash_pos << 16) | chain_pos) + 2; in affs_readdir()122 if (hash_pos >= AFFS_SB(sb)->s_hashsize) in affs_readdir()125 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()139 hash_pos++; in affs_readdir()141 for (; hash_pos < AFFS_SB(sb)->s_hashsize; hash_pos++) { in affs_readdir()142 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir()145 ctx->pos = (hash_pos << 16) + 2; in affs_readdir()[all …]
220 char *hash_pos = strchr(name, '#'); in get_sensor_index_attr() local226 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 memcpy(buf, hash_pos + 1, copy_len); in get_sensor_index_attr()