Home
last modified time | relevance | path

Searched refs:bitmap1 (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/tools/lib/
Dbitmap.c21 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_or() argument
28 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
60 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument
68 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
70 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
75 int __bitmap_equal(const unsigned long *bitmap1, in __bitmap_equal() argument
80 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal()
84 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
/kernel/linux/common_modules/newip/tools/
Dwireshark_cfg_for_newip.lua163 local bitmap1 = tvb(offset, 1):uint() --表示从报文缓冲区0开始取1个字节
164 …local pkt_hdr_type = bit.band(bit.rshift(bitmap1, 7), 0x00000001) --右移 7 位 与 0x01 相与,获取 pkt_hdr_…
165 …local include_ttl = bit.band(bit.rshift(bitmap1, 6), 0x00000001) --右移 6 位 与 0x01 相与,获取 include_tt…
166 …local include_total_len = bit.band(bit.rshift(bitmap1, 5), 0x00000001) --右移 5 位 与 0x01 相与,获取 inclu…
167 …local include_nexthdr = bit.band(bit.rshift(bitmap1, 4), 0x00000001) --右移 4 位 与 0x01 相与,获取 include…
168 …local include_daddr = bit.band(bit.rshift(bitmap1, 2), 0x00000001) --右移 2 位 与 0x01 相与,获取 include_…
169 …local include_saddr = bit.band(bit.rshift(bitmap1, 1), 0x00000001) --右移 1 位 与 0x01 相与,获取 include_…
170 local include_bitmap2 = bit.band(bitmap1, 0x00000001) --获取 include_bitmap2 位
178 bitmap1_tree:add(_bitmap1, bitmap1)
179 bitmap1_tree:add(_pkt_hdr_type, bitmap1):append_text(" (".."0-New IP; 1-Reserve"..")")
[all …]
/kernel/linux/linux-5.10/lib/
Dbitmap.c48 int __bitmap_equal(const unsigned long *bitmap1, in __bitmap_equal() argument
53 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal()
57 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
64 bool __bitmap_or_equal(const unsigned long *bitmap1, in __bitmap_or_equal() argument
73 if ((bitmap1[k] | bitmap2[k]) != bitmap3[k]) in __bitmap_or_equal()
80 tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k]; in __bitmap_or_equal()
240 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument
248 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
250 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
256 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_or() argument
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dlocalalloc.c332 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc()
333 || alloc->id1.bitmap1.i_total in ocfs2_load_local_alloc()
338 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
339 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_load_local_alloc()
655 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != in ocfs2_reserve_local_alloc_bits()
659 le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_reserve_local_alloc_bits()
665 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
666 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
687 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
688 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
[all …]
Dsuballoc.c728 le32_add_cpu(&fe->id1.bitmap1.i_used, le16_to_cpu(bg->bg_bits) - in ocfs2_block_group_alloc()
730 le32_add_cpu(&fe->id1.bitmap1.i_total, le16_to_cpu(bg->bg_bits)); in ocfs2_block_group_alloc()
811 free_bits = le32_to_cpu(fe->id1.bitmap1.i_total) - in ocfs2_reserve_suballoc_bits()
812 le32_to_cpu(fe->id1.bitmap1.i_used); in ocfs2_reserve_suballoc_bits()
842 (le32_to_cpu(fe->id1.bitmap1.i_total) in ocfs2_reserve_suballoc_bits()
843 - le32_to_cpu(fe->id1.bitmap1.i_used))); in ocfs2_reserve_suballoc_bits()
1597 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_alloc_dinode_update_counts()
1598 di->id1.bitmap1.i_used = cpu_to_le32(num_bits + tmp_used); in ocfs2_alloc_dinode_update_counts()
1616 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_rollback_alloc_dinode_counts()
1617 di->id1.bitmap1.i_used = cpu_to_le32(tmp_used - num_bits); in ocfs2_rollback_alloc_dinode_counts()
[all …]
Dresize.c141 le32_add_cpu(&fe->id1.bitmap1.i_total, num_bits); in ocfs2_update_last_group_and_inode()
146 le32_add_cpu(&fe->id1.bitmap1.i_used, backups); in ocfs2_update_last_group_and_inode()
552 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); in ocfs2_group_add()
553 le32_add_cpu(&fe->id1.bitmap1.i_used, in ocfs2_group_add()
Dioctl.c304 le32_to_cpu(dinode_alloc->id1.bitmap1.i_total); in ocfs2_info_scan_inode_alloc()
306 le32_to_cpu(dinode_alloc->id1.bitmap1.i_total) - in ocfs2_info_scan_inode_alloc()
307 le32_to_cpu(dinode_alloc->id1.bitmap1.i_used); in ocfs2_info_scan_inode_alloc()
577 le32_to_cpu(gb_dinode->id1.bitmap1.i_total); in ocfs2_info_freefrag_scan_bitmap()
579 le32_to_cpu(gb_dinode->id1.bitmap1.i_used); in ocfs2_info_freefrag_scan_bitmap()
Docfs2_fs.h715 } bitmap1; member
Dmove_extents.c415 (vict_blkno >= ((u64)le32_to_cpu(ac_dinode->id1.bitmap1.i_total) << in ocfs2_find_victim_alloc_group()
Dsuper.c1645 numbits = le32_to_cpu(bm_lock->id1.bitmap1.i_total); in ocfs2_statfs()
1646 freebits = numbits - le32_to_cpu(bm_lock->id1.bitmap1.i_used); in ocfs2_statfs()
/kernel/linux/linux-5.10/include/linux/
Dbitmap.h139 extern int __bitmap_equal(const unsigned long *bitmap1,
154 extern int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
156 extern void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
158 extern void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1,
160 extern int __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1,
165 extern int __bitmap_intersects(const unsigned long *bitmap1,
167 extern int __bitmap_subset(const unsigned long *bitmap1,
/kernel/linux/linux-5.10/tools/include/linux/
Dbitmap.h14 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
16 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
18 int __bitmap_equal(const unsigned long *bitmap1,