Home
last modified time | relevance | path

Searched refs:verlen (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/samples/bpf/
H A Dsockex3_kern.c161 __u32 nhoff, verlen, ip_proto; in bpf_func_ip() local
178 verlen = load_byte(skb, nhoff + 0/*offsetof(struct iphdr, ihl)*/); in bpf_func_ip()
179 nhoff += (verlen & 0xF) << 2; in bpf_func_ip()
239 __u8 verlen = load_byte(skb, nhoff); in bpf_func_mpls() local
240 if ((verlen & 0xF0) == 4) in bpf_func_mpls()
H A Dsockex2_kern.c65 __u64 verlen; in parse_ip() local
77 verlen = load_byte(skb, nhoff + 0/*offsetof(struct iphdr, ihl)*/); in parse_ip()
78 if (likely(verlen == 0x45)) in parse_ip()
81 nhoff += (verlen & 0xF) << 2; in parse_ip()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_util.c482 size_t verlen = mtd->writesize + mtd->oobsize; in nand_verify_page_oob() local
486 vops.datbuf = memalign(ARCH_DMA_MINALIGN, verlen); in nand_verify_page_oob()
522 size_t verlen = mtd->writesize; in nand_verify() local
523 uint8_t *verbuf = memalign(ARCH_DMA_MINALIGN, verlen); in nand_verify()
530 verofs += verlen, buf += verlen) { in nand_verify()
531 verlen = min(mtd->writesize, (uint32_t)(ofs + len - verofs)); in nand_verify()
532 rval = nand_read(mtd, verofs, &verlen, verbuf); in nand_verify()
534 rval = memcmp(buf, verbuf, verlen); in nand_verify()