Home
last modified time | relevance | path

Searched refs:magic_num (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/
Dos-area.c51 u8 magic_num[16]; member
131 u8 magic_num[4]; member
309 char str[sizeof(h->magic_num) + 1]; in _dump_header()
311 dump_field(str, h->magic_num, sizeof(h->magic_num)); in _dump_header()
354 if (memcmp(header->magic_num, OS_AREA_HEADER_MAGIC_NUM, in verify_header()
355 sizeof(header->magic_num))) { in verify_header()
375 if (memcmp(db->magic_num, OS_AREA_DB_MAGIC_NUM, in db_verify()
376 sizeof(db->magic_num))) { in db_verify()
529 char str[sizeof(db->magic_num) + 1]; in _dump_db()
531 dump_field(str, db->magic_num, sizeof(db->magic_num)); in _dump_db()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dprobe-event.h19 unsigned long magic_num; member
Dprobe-finder.c1447 ret = asprintf(valp, "\\%lx", probe_conf.magic_num); in fill_empty_trace_arg()
Dprobe-event.c53 struct probe_conf probe_conf = { .magic_num = DEFAULT_PROBE_MAGIC_NUM };
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dbmi.h197 __le32 magic_num; member
Dhw.c1023 if (__le32_to_cpu(hdr->magic_num) != BMI_SGMTFILE_MAGIC_NUM) { in ath10k_hw_diag_fast_download()
1026 hdr->magic_num); in ath10k_hw_diag_fast_download()
/kernel/linux/linux-5.10/fs/btrfs/
Dcheck-integrity.c131 u32 magic_num; /* only used for debug purposes */ member
172 u32 magic_num; /* only used for debug purposes */ member
183 u32 magic_num; /* only used for debug purposes */ member
381 b->magic_num = BTRFSIC_BLOCK_MAGIC_NUMBER; in btrfsic_block_init()
419 BUG_ON(!(NULL == b || BTRFSIC_BLOCK_MAGIC_NUMBER == b->magic_num)); in btrfsic_block_free()
425 l->magic_num = BTRFSIC_BLOCK_LINK_MAGIC_NUMBER; in btrfsic_block_link_init()
447 BUG_ON(!(NULL == l || BTRFSIC_BLOCK_LINK_MAGIC_NUMBER == l->magic_num)); in btrfsic_block_link_free()
453 ds->magic_num = BTRFSIC_DEV2STATE_MAGIC_NUMBER; in btrfsic_dev_state_init()
478 BTRFSIC_DEV2STATE_MAGIC_NUMBER == ds->magic_num)); in btrfsic_dev_state_free()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dfirmware.c1774 u32 header1 = 0, header2 = 0, magic_num = 0, crc = 0, file_length = 0; in parse_platform_config() local
1793 magic_num = *ptr; in parse_platform_config()
1795 if (magic_num != PLATFORM_CONFIG_MAGIC_NUM) { in parse_platform_config()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dfalcon.c1787 int rc, magic_num, struct_ver; in falcon_read_nvram() local
1814 magic_num = le16_to_cpu(nvconfig->board_magic_num); in falcon_read_nvram()
1818 if (magic_num != FALCON_NVCONFIG_BOARD_MAGIC_NUM) { in falcon_read_nvram()
1820 "NVRAM bad magic 0x%x\n", magic_num); in falcon_read_nvram()