Searched refs:MAGIC_SIZE (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_sig_in_xattr.c | 36 #define MAGIC_SIZE 8 macro 38 char digest[MAGIC_SIZE + SIZEOF_STRUCT_FSVERITY_DIGEST + SHA256_DIGEST_SIZE]; 58 bpf_dynptr_from_mem(digest + MAGIC_SIZE, sizeof(digest) - MAGIC_SIZE, 0, &digest_ptr); in BPF_PROG()
|
/linux-6.12.1/drivers/md/dm-vdo/indexer/ |
D | volume-index.c | 97 #define MAGIC_SIZE 8 macro 102 char magic[MAGIC_SIZE]; /* MAGIC_START_5 */ 113 char magic[MAGIC_SIZE]; /* MAGIC_START_6 */ 827 memcpy(&header.magic, buffer, MAGIC_SIZE); in start_restoring_volume_sub_index() 828 offset += MAGIC_SIZE; in start_restoring_volume_sub_index() 841 if (memcmp(header.magic, MAGIC_START_5, MAGIC_SIZE) != 0) { in start_restoring_volume_sub_index() 923 memcpy(&header.magic, buffer, MAGIC_SIZE); in start_restoring_volume_index() 924 offset += MAGIC_SIZE; in start_restoring_volume_index() 933 if (memcmp(header.magic, MAGIC_START_6, MAGIC_SIZE) != 0) in start_restoring_volume_index() 1018 memcpy(buffer, MAGIC_START_5, MAGIC_SIZE); in start_saving_volume_sub_index() [all …]
|
D | index-layout.c | 57 #define MAGIC_SIZE 32 macro 101 static const u8 LAYOUT_MAGIC[MAGIC_SIZE] = "*ALBIREO*SINGLE*FILE*LAYOUT*001*"; 175 u8 magic_label[MAGIC_SIZE]; 355 memcpy(super->magic_label, LAYOUT_MAGIC, MAGIC_SIZE); in generate_super_block_data() 723 memcpy(buffer + offset, &layout->super.magic_label, MAGIC_SIZE); in write_layout_header() 724 offset += MAGIC_SIZE; in write_layout_header() 1215 memcpy(&super->magic_label, buffer, MAGIC_SIZE); in read_super_block_data() 1216 offset += MAGIC_SIZE; in read_super_block_data() 1238 if (memcmp(super->magic_label, LAYOUT_MAGIC, MAGIC_SIZE) != 0) in read_super_block_data()
|
D | delta-index.c | 113 #define MAGIC_SIZE 8 macro 118 char magic[MAGIC_SIZE]; 850 memcpy(&header.magic, buffer, MAGIC_SIZE); in uds_start_restoring_delta_index() 851 offset += MAGIC_SIZE; in uds_start_restoring_delta_index() 867 if (memcmp(header.magic, DELTA_INDEX_MAGIC, MAGIC_SIZE) != 0) { in uds_start_restoring_delta_index() 1130 memcpy(buffer, DELTA_INDEX_MAGIC, MAGIC_SIZE); in uds_start_saving_delta_index() 1131 offset += MAGIC_SIZE; in uds_start_saving_delta_index()
|
/linux-6.12.1/drivers/media/platform/ti/omap3isp/ |
D | ispstat.c | 28 #define MAGIC_SIZE 16 macro 68 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 70 buf_size & ~PAGE_MASK, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 109 for (w = buf->virt_addr, end = w + MAGIC_SIZE; w < end; w++) in isp_stat_buf_check_magic() 121 for (w = buf->virt_addr + buf_size, end = w + MAGIC_SIZE; in isp_stat_buf_check_magic() 151 memset(buf->virt_addr, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic() 152 memset(buf->virt_addr + buf_size, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic() 577 buf_size = user_cfg->buf_size * 2 + MAGIC_SIZE; in omap3isp_stat_config() 592 buf_size = PAGE_ALIGN(user_cfg->buf_size + MAGIC_SIZE); in omap3isp_stat_config()
|