Searched refs:slen (Results 1 – 2 of 2) sorted by relevance
262 int slen, err; in fpga_dtb_set_commandline() local286 slen = eol - (cmdline + strlen(CMDLINE_SIGNATURE)); in fpga_dtb_set_commandline()293 if (slen > 4095) { in fpga_dtb_set_commandline()294 slen = 4095; in fpga_dtb_set_commandline()298 cmdline + strlen(CMDLINE_SIGNATURE), slen); in fpga_dtb_set_commandline()
108 int slen; in fdt_string_eq_() local109 const char *p = fdt_get_string(fdt, stroffset, &slen); in fdt_string_eq_()111 return p && (slen == len) && (memcmp(p, s, len) == 0); in fdt_string_eq_()