Searched refs:mem_count (Results 1 – 2 of 2) sorted by relevance
221 int end, mem_count; in cap_info_write() local225 mem_count = sizeof(struct hfs_cap_info) - pos; in cap_info_write()226 if (mem_count > count) { in cap_info_write()227 mem_count = count; in cap_info_write()229 end = pos + mem_count; in cap_info_write()232 mem_count -= copy_from_user(((char *)&meta) + pos, buf, mem_count); in cap_info_write()
1380 int mem_count, mem_count1; in isapnp_config_prepare() local1405 port_count = irq_count = dma_count = mem_count = 0; in isapnp_config_prepare()1435 if (dev->resource[mem_count + idx + 8].flags == 0) { in isapnp_config_prepare()1436 dev->resource[mem_count + idx + 8].flags = isapnp_mem_resource_flags(mem); in isapnp_config_prepare()1444 mem_count += mem_count1; in isapnp_config_prepare()