Home
last modified time | relevance | path

Searched refs:ext_size (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_space.c25 spc->ext_size = 0; in deinit_space()
33 bool init_space(struct hp_space *spc, u64 dev_size, u32 ext_size) in init_space() argument
35 if (ext_size & (PAGE_SIZE - 1)) { in init_space()
36 pr_err("extent size %u do not align to page size %lu!", ext_size, PAGE_SIZE); in init_space()
39 if (dev_size & (ext_size - 1)) { in init_space()
40 pr_err("device size %llu do not align to extent size %u!", dev_size, ext_size); in init_space()
43 spc->ext_size = ext_size; in init_space()
44 spc->nr_ext = div_u64(dev_size, ext_size); in init_space()
55 pr_info("hyperhold space init succ, capacity = %u x %u.\n", ext_size, spc->nr_ext); in init_space()
Dhp_core.c338 return spc->ext_size; in hyperhold_extent_size()
352 if (!CHECK_BOUND(offset, 0, spc->ext_size - 1)) in hyperhold_address()
355 return (u64)eid * spc->ext_size + offset; in hyperhold_address()
367 eid = div_u64(addr, hyperhold.spc.ext_size); in hyperhold_addr_extent()
382 return do_div(addr, hyperhold.spc.ext_size); in hyperhold_addr_offset()
447 nr_page = spc->ext_size / PAGE_SIZE; in hyperhold_io_alloc()
487 nr_page = spc->ext_size / PAGE_SIZE; in hyperhold_io_get()
662 u32 ext_size; in hp_endio_work() local
668 ext_size = space_of(hpio->eid)->ext_size; in hp_endio_work()
670 sec = hpio->eid * ext_size / dev->sec_size; in hp_endio_work()
[all …]
Dhp_space.h14 u32 ext_size; member
23 bool init_space(struct hp_space *spc, u64 dev_size, u32 ext_size);
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
Dsolo6x10-p2m.c30 int repeat, u32 ext_size) in solo_p2m_dma() argument
46 repeat, ext_size); in solo_p2m_dma()
126 int repeat, u32 ext_size) in solo_p2m_fill_desc() argument
136 desc->cfg |= SOLO_P2M_EXT_INC(ext_size >> 2); in solo_p2m_fill_desc()
147 int repeat, u32 ext_size) in solo_p2m_dma_t() argument
152 ext_size); in solo_p2m_dma_t()
Dsolo6x10.h343 int repeat, u32 ext_size);
346 int repeat, u32 ext_size);
349 int repeat, u32 ext_size);
/kernel/linux/linux-5.10/net/netfilter/ipset/
Dip_set_hash_gen.h116 #define ext_size(n, dsize) \ macro
430 t->hregion[r].ext_size = 0; in mtype_flush()
539 t->hregion[r].ext_size -= in mtype_gc_do()
540 ext_size(n->size, dsize); in mtype_gc_do()
562 t->hregion[r].ext_size -= in mtype_gc_do()
563 ext_size(AHASH_INIT_SIZE, dsize); in mtype_gc_do()
721 t->hregion[nr].ext_size += in mtype_resize()
722 ext_size(AHASH_INIT_SIZE, in mtype_resize()
743 t->hregion[nr].ext_size += in mtype_resize()
744 ext_size(AHASH_INIT_SIZE, in mtype_resize()
[all …]
Dip_set_bitmap_gen.h80 set->ext_size = 0; in mtype_flush()
96 size_t memsize = mtype_memsize(map, set->dsize) + set->ext_size; in mtype_head()
Dip_set_list_set.c420 set->ext_size = 0; in list_set_flush()
463 size_t memsize = list_set_memsize(map, set->dsize) + set->ext_size; in list_set_head()
Dip_set_core.c345 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment()
357 set->ext_size += sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment()
387 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_comment_free()
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dgroup_writeback.c113 u32 ext_size; in move_obj_to_hpio() local
117 ext_size = hyperhold_extent_size(eid); in move_obj_to_hpio()
124 if (size + offset > ext_size) { in move_obj_to_hpio()
126 index, size, eid, ext_size - offset); in move_obj_to_hpio()
243 static u32 collect_objs(struct zram *zram, u16 gid, struct hpio *hpio, u32 ext_size) in collect_objs() argument
257 if (offset < ext_size && offset != last_offset) in collect_objs()
336 u32 ext_size = 0; in read_one_extent() local
348 ext_size = hyperhold_extent_size(eid); in read_one_extent()
353 return ext_size; in read_one_extent()
/kernel/linux/linux-5.10/include/linux/netfilter/ipset/
Dip_set.h197 size_t ext_size; /* Size of the dynamic extensions */ member
266 size_t ext_size; member
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_debugfs.c5164 uint16_t ext_cnt, ext_size; in lpfc_idiag_extacc_avail_get() local
5172 &ext_cnt, &ext_size); in lpfc_idiag_extacc_avail_get()
5174 "Count %3d, Size %3d\n", ext_cnt, ext_size); in lpfc_idiag_extacc_avail_get()
5179 &ext_cnt, &ext_size); in lpfc_idiag_extacc_avail_get()
5181 "Count %3d, Size %3d\n", ext_cnt, ext_size); in lpfc_idiag_extacc_avail_get()
5186 &ext_cnt, &ext_size); in lpfc_idiag_extacc_avail_get()
5188 "Count %3d, Size %3d\n", ext_cnt, ext_size); in lpfc_idiag_extacc_avail_get()
5193 &ext_cnt, &ext_size); in lpfc_idiag_extacc_avail_get()
5195 "Count %3d, Size %3d\n", ext_cnt, ext_size); in lpfc_idiag_extacc_avail_get()
5215 uint16_t ext_cnt, ext_size; in lpfc_idiag_extacc_alloc_get() local
[all …]
/kernel/linux/linux-5.10/fs/ext4/
Dextents.c1067 size_t ext_size = 0; in ext4_ext_split() local
1164 ext_size = sizeof(struct ext4_extent_header) + in ext4_ext_split()
1166 memset(bh->b_data + ext_size, 0, inode->i_sb->s_blocksize - ext_size); in ext4_ext_split()
1248 ext_size = sizeof(struct ext4_extent_header) + in ext4_ext_split()
1250 memset(bh->b_data + ext_size, 0, in ext4_ext_split()
1251 inode->i_sb->s_blocksize - ext_size); in ext4_ext_split()
1317 size_t ext_size = 0; in ext4_ext_grow_indepth() local
1343 ext_size = sizeof(EXT4_I(inode)->i_data); in ext4_ext_grow_indepth()
1345 memmove(bh->b_data, EXT4_I(inode)->i_data, ext_size); in ext4_ext_grow_indepth()
1347 memset(bh->b_data + ext_size, 0, inode->i_sb->s_blocksize - ext_size); in ext4_ext_grow_indepth()
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_int.h386 int (*ext_size)(struct dasd_device *); member
Ddasd_devmap.c1665 DASD_DEFINE_ATTR(extent_size, device->discipline->ext_size);
Ddasd_eckd.c6723 .ext_size = dasd_eckd_ext_size,