Home
last modified time | relevance | path

Searched refs:prefix_size (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/fs/squashfs/
H A Dxattr.c59 size_t prefix_size = strlen(prefix); in squashfs_listxattr() local
62 if (prefix_size + name_size + 1 > rest) { in squashfs_listxattr()
66 memcpy(buffer, prefix, prefix_size); in squashfs_listxattr()
67 buffer += prefix_size; in squashfs_listxattr()
77 rest -= prefix_size + name_size + 1; in squashfs_listxattr()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dfile.c96 const efi_char16_t *prefix, int prefix_size, in find_file_option() argument
99 int prefix_len = prefix_size / 2; in find_file_option()
104 if (!memcmp(&cmdline[i - prefix_len], prefix, prefix_size)) { in find_file_option()
/openbmc/qemu/disas/
H A Dcris.c2647 int prefix_size = 0; in print_insn_cris_generic() local
2657 prefix_size = bytes_to_skip (prefix_insn, matchedp, in print_insn_cris_generic()
2661 insn = bufp[prefix_size] + bufp[prefix_size + 1] * 256; in print_insn_cris_generic()
2666 addr += prefix_size; in print_insn_cris_generic()
2667 bufp += prefix_size; in print_insn_cris_generic()
2668 advance += prefix_size; in print_insn_cris_generic()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c711 const int prefix_size = 5; in remove_insn_prefix() local
713 int write_pos = 0, read_pos = prefix_size; in remove_insn_prefix()
725 read_pos += prefix_size; in remove_insn_prefix()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dfirmware.c389 long file_size, long prefix_size) in payload_check() argument
392 if (prefix_size >= file_size) { in payload_check()
395 name, file_size, prefix_size); in payload_check()
/openbmc/linux/drivers/firmware/broadcom/
H A Dbcm47xx_sprom.c624 static void bcm47xx_sprom_apply_prefix_alias(char *prefix, size_t prefix_size) in bcm47xx_sprom_apply_prefix_alias() argument
643 snprintf(prefix, prefix_size, "%d:", i); in bcm47xx_sprom_apply_prefix_alias()