Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/platforms/ps3/
Dos-area.c49 u8 magic_num[16]; member
129 u8 magic_num[4]; member
307 char str[sizeof(h->magic_num) + 1]; in _dump_header()
309 dump_field(str, h->magic_num, sizeof(h->magic_num)); in _dump_header()
352 if (memcmp(header->magic_num, OS_AREA_HEADER_MAGIC_NUM, in verify_header()
353 sizeof(header->magic_num))) { in verify_header()
373 if (memcmp(db->magic_num, OS_AREA_DB_MAGIC_NUM, in db_verify()
374 sizeof(db->magic_num))) { in db_verify()
527 char str[sizeof(db->magic_num) + 1]; in _dump_db()
529 dump_field(str, db->magic_num, sizeof(db->magic_num)); in _dump_db()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ctrl_mbox.c66 u64 magic_num, status; in octep_ctrl_mbox_init() local
76 magic_num = readq(OCTEP_CTRL_MBOX_INFO_MAGIC_NUM_OFFSET(mbox->barmem)); in octep_ctrl_mbox_init()
77 if (magic_num != OCTEP_CTRL_MBOX_MAGIC_NUMBER) { in octep_ctrl_mbox_init()
78 pr_info("octep_ctrl_mbox : Invalid magic number %llx\n", magic_num); in octep_ctrl_mbox_init()
/linux-6.1.9/tools/perf/util/
Dprobe-event.h20 unsigned long magic_num; member
Dprobe-finder.c1454 ret = asprintf(valp, "\\%lx", probe_conf.magic_num); in fill_empty_trace_arg()
Dprobe-event.c54 struct probe_conf probe_conf = { .magic_num = DEFAULT_PROBE_MAGIC_NUM };
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dbmi.h197 __le32 magic_num; member
Dhw.c1024 if (__le32_to_cpu(hdr->magic_num) != BMI_SGMTFILE_MAGIC_NUM) { in ath10k_hw_diag_fast_download()
1027 hdr->magic_num); in ath10k_hw_diag_fast_download()
/linux-6.1.9/fs/btrfs/
Dcheck-integrity.c130 u32 magic_num; /* only used for debug purposes */ member
171 u32 magic_num; /* only used for debug purposes */ member
182 u32 magic_num; /* only used for debug purposes */ member
329 b->magic_num = BTRFSIC_BLOCK_MAGIC_NUMBER; in btrfsic_block_init()
367 BUG_ON(!(NULL == b || BTRFSIC_BLOCK_MAGIC_NUMBER == b->magic_num)); in btrfsic_block_free()
373 l->magic_num = BTRFSIC_BLOCK_LINK_MAGIC_NUMBER; in btrfsic_block_link_init()
395 BUG_ON(!(NULL == l || BTRFSIC_BLOCK_LINK_MAGIC_NUMBER == l->magic_num)); in btrfsic_block_link_free()
401 ds->magic_num = BTRFSIC_DEV2STATE_MAGIC_NUMBER; in btrfsic_dev_state_init()
425 BTRFSIC_DEV2STATE_MAGIC_NUMBER == ds->magic_num)); in btrfsic_dev_state_free()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfirmware.c1731 u32 header1 = 0, header2 = 0, magic_num = 0, crc = 0, file_length = 0; in parse_platform_config() local
1751 magic_num = *ptr; in parse_platform_config()
1753 if (magic_num != PLATFORM_CONFIG_MAGIC_NUM) { in parse_platform_config()
/linux-6.1.9/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()