/linux-6.12.1/fs/jffs2/ |
D | scan.c | 335 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local 342 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node() 350 totlen = PAD(sizeof(struct jffs2_raw_xattr) in jffs2_scan_xattr_node() 352 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node() 354 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node() 355 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node() 366 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node() 376 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd); in jffs2_scan_xattr_node() 398 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node() 403 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node() [all …]
|
D | summary.c | 127 temp->totlen = ri->totlen; in jffs2_sum_add_inode_mem() 143 temp->totlen = rd->totlen; in jffs2_sum_add_dirent_mem() 170 temp->totlen = rx->totlen; in jffs2_sum_add_xattr_mem() 275 temp->totlen = node->i.totlen; in jffs2_sum_add_kvec() 289 temp->totlen = node->d.totlen; in jffs2_sum_add_kvec() 324 temp->totlen = node->x.totlen; in jffs2_sum_add_kvec() 344 c->summary->sum_padded += je32_to_cpu(node->u.totlen); in jffs2_sum_add_kvec() 416 jeb->offset + je32_to_cpu(spi->offset) + je32_to_cpu(spi->totlen)); in jffs2_sum_process_sum_data() 425 PAD(je32_to_cpu(spi->totlen)), ic); in jffs2_sum_process_sum_data() 441 jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen)); in jffs2_sum_process_sum_data() [all …]
|
D | xattr.c | 139 uint32_t crc, offset, totlen; in do_verify_xattr_datum() local 161 totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len)); in do_verify_xattr_datum() 164 || je32_to_cpu(rx.totlen) != totlen in do_verify_xattr_datum() 171 je32_to_cpu(rx.totlen), totlen, in do_verify_xattr_datum() 186 totlen = PAD(ref_totlen(c, jeb, raw)); in do_verify_xattr_datum() 188 c->unchecked_size -= totlen; c->used_size += totlen; in do_verify_xattr_datum() 189 jeb->unchecked_size -= totlen; jeb->used_size += totlen; in do_verify_xattr_datum() 290 int rc, totlen; in save_xattr_datum() local 300 totlen = vecs[0].iov_len + vecs[1].iov_len; in save_xattr_datum() 306 rx.totlen = cpu_to_je32(PAD(totlen)); in save_xattr_datum() [all …]
|
D | summary.h | 51 jint32_t totlen; /* record length */ member 57 jint32_t totlen; /* record length */ member 73 jint32_t totlen; /* node length */ member 106 jint32_t totlen; /* record length */ member 113 jint32_t totlen; /* record length */ member 130 jint32_t totlen; member
|
D | write.c | 46 ri->totlen = cpu_to_je32(PAD(sizeof(*ri))); in jffs2_do_new_inode() 82 if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) { in jffs2_write_dnode() 84 __func__, je32_to_cpu(ri->totlen), in jffs2_write_dnode() 196 je32_to_cpu(ri->data_crc), je32_to_cpu(ri->totlen)); in jffs2_write_dnode() 377 ri->totlen = cpu_to_je32(sizeof(*ri) + cdatalen); in jffs2_write_inode_range() 512 rd->totlen = cpu_to_je32(sizeof(*rd) + qstr->len); in jffs2_do_create() 575 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_do_unlink() 692 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_do_link()
|
D | dir.c | 337 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size); in jffs2_symlink() 404 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink() 549 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mkdir() 673 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen); in jffs2_mknod() 725 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mknod()
|
D | debug.c | 319 uint32_t totlen = ref_totlen(c, jeb, ref2); in __jffs2_dbg_acct_paranoia_check_nolock() local 329 my_unchecked_size += totlen; in __jffs2_dbg_acct_paranoia_check_nolock() 331 my_used_size += totlen; in __jffs2_dbg_acct_paranoia_check_nolock() 333 my_dirty_size += totlen; in __jffs2_dbg_acct_paranoia_check_nolock() 792 printk(JFFS2_DBG "totlen:\t%#08x\n", je32_to_cpu(node.u.totlen)); in __jffs2_dbg_dump_node()
|
D | gc.c | 815 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata() 861 rd.totlen = cpu_to_je32(sizeof(rd) + rd.nsize); in jffs2_garbage_collect_dirent() 1045 if (je32_to_cpu(ri.totlen) != sizeof(ri)) { in jffs2_garbage_collect_hole() 1048 je32_to_cpu(ri.totlen), sizeof(ri)); in jffs2_garbage_collect_hole() 1072 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_garbage_collect_hole() 1364 ri.totlen = cpu_to_je32(sizeof(ri) + cdatalen); in jffs2_garbage_collect_dnode()
|
D | readinode.c | 610 if (unlikely(PAD((rd->nsize + sizeof(*rd))) != PAD(je32_to_cpu(rd->totlen)))) { in read_direntry() 612 ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen)); in read_direntry() 747 unlikely(PAD(je32_to_cpu(rd->csize) + sizeof(*rd)) != PAD(je32_to_cpu(rd->totlen)))) { in read_dnode() 896 je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc)); in read_unknown() 1064 je32_to_cpu(node->u.totlen), in jffs2_get_inode_nodes()
|
/linux-6.12.1/include/uapi/linux/ |
D | jffs2.h | 107 jint32_t totlen; /* So we can skip over nodes we don't grok */ member 115 jint32_t totlen; member 139 jint32_t totlen; /* Total length of this node (inc data, etc.) */ member 164 jint32_t totlen; member 180 jint32_t totlen; member 192 jint32_t totlen; member
|
/linux-6.12.1/net/ife/ |
D | ife.c | 128 u16 *dlen, u16 *totlen) in ife_tlv_meta_decode() argument 139 if (totlen) in ife_tlv_meta_decode() 140 *totlen = nla_total_size(*dlen); in ife_tlv_meta_decode() 162 u16 totlen = nla_total_size(dlen); /*alignment + hdr */ in ife_tlv_meta_encode() local 167 memset(dptr, 0, totlen - NLA_HDRLEN); in ife_tlv_meta_encode() 170 return totlen; in ife_tlv_meta_encode()
|
/linux-6.12.1/include/net/ |
D | rtnh.h | 18 int totlen = NLA_ALIGN(rtnh->rtnh_len); in rtnh_next() local 20 *remaining -= totlen; in rtnh_next() 21 return (struct rtnexthop *) ((char *) rtnh + totlen); in rtnh_next()
|
D | ife.h | 15 u16 *dlen, u16 *totlen); 34 u16 *totlen) in ife_tlv_meta_decode() argument
|
D | netlink.h | 655 int totlen = NLMSG_ALIGN(nlh->nlmsg_len); in nlmsg_next() local 657 *remaining -= totlen; in nlmsg_next() 659 return (struct nlmsghdr *) ((unsigned char *) nlh + totlen); in nlmsg_next() 1281 unsigned int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local 1283 *remaining -= totlen; in nla_next() 1284 return (struct nlattr *) ((char *) nla + totlen); in nla_next()
|
/linux-6.12.1/fs/notify/fanotify/ |
D | fanotify.h | 181 unsigned int totlen) in fanotify_info_set_dir_fh() argument 189 info->dir_fh_totlen = totlen; in fanotify_info_set_dir_fh() 193 unsigned int totlen) in fanotify_info_set_dir2_fh() argument 200 info->dir2_fh_totlen = totlen; in fanotify_info_set_dir2_fh() 204 unsigned int totlen) in fanotify_info_set_file_fh() argument 210 info->file_fh_totlen = totlen; in fanotify_info_set_file_fh()
|
/linux-6.12.1/tools/lib/bpf/ |
D | nlattr.c | 27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local 29 *remaining -= totlen; in nla_next() 30 return (struct nlattr *)((void *)nla + totlen); in nla_next()
|
/linux-6.12.1/drivers/net/ethernet/rocker/ |
D | rocker_tlv.h | 32 int totlen = ROCKER_TLV_ALIGN(tlv->len); in rocker_tlv_next() local 34 *remaining -= totlen; in rocker_tlv_next() 35 return (struct rocker_tlv *) ((char *) tlv + totlen); in rocker_tlv_next()
|
/linux-6.12.1/drivers/net/ethernet/i825xx/ |
D | sun3_82586.c | 760 unsigned short totlen; in sun3_82586_rcv_int() local 774 if( (totlen = swab16(rbd->status)) & RBD_LAST) /* the first and the last buffer? */ in sun3_82586_rcv_int() 776 totlen &= RBD_MASK; /* length of this frame */ in sun3_82586_rcv_int() 778 skb = netdev_alloc_skb(dev, totlen + 2); in sun3_82586_rcv_int() 782 skb_put(skb,totlen); in sun3_82586_rcv_int() 783 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); in sun3_82586_rcv_int() 795 totlen = 0; in sun3_82586_rcv_int() 798 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int() 807 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int() 809 printk("%s: received oversized frame! length: %d\n",dev->name,totlen); in sun3_82586_rcv_int()
|
/linux-6.12.1/net/netfilter/ |
D | nfnetlink_osf.c | 59 u16 totlen; member 75 if (ctx->totlen != f->ss || !nf_osf_ttl(skb, ttl_check, f->ttl)) in nf_osf_match_one() 180 ctx->totlen = ntohs(ip->tot_len); in nf_osf_hdr_ctx_init()
|
/linux-6.12.1/net/sunrpc/ |
D | svc_xprt.c | 1378 int len, totlen; in svc_xprt_names() local 1388 totlen = 0; in svc_xprt_names() 1390 len = svc_one_xprt_name(xprt, pos, buflen - totlen); in svc_xprt_names() 1393 totlen = len; in svc_xprt_names() 1399 totlen += len; in svc_xprt_names() 1403 return totlen; in svc_xprt_names()
|
/linux-6.12.1/fs/gfs2/ |
D | dir.c | 449 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_offset() local 451 if (ptr < (void *)dent || ptr >= (void *)dent + totlen) in gfs2_dirent_find_offset() 457 if ((void *)dent + totlen >= ptr + required) in gfs2_dirent_find_offset() 468 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_space() local 472 if (totlen - actual >= required) in gfs2_dirent_find_space() 716 unsigned totlen; in do_init_dirent() local 718 totlen = be16_to_cpu(dent->de_rec_len); in do_init_dirent() 719 BUG_ON(offset + name->len > totlen); in do_init_dirent() 723 gfs2_qstr2dirent(name, totlen - offset, ndent); in do_init_dirent()
|
/linux-6.12.1/include/linux/mtd/ |
D | doc2000.h | 183 unsigned long totlen; member
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 171 size_t retlen, len, totlen; in read_bbt() local 178 totlen = (num * bits) >> 3; in read_bbt() 182 while (totlen) { in read_bbt() 183 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt() 242 totlen -= len; in read_bbt()
|
/linux-6.12.1/drivers/usb/core/ |
D | devio.c | 1624 unsigned int u, totlen, isofrmlen; in proc_do_submiturb() local 1753 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb() 1762 totlen += isopkt[u].length; in proc_do_submiturb() 1765 uurb->buffer_length = totlen; in proc_do_submiturb() 1815 totlen = uurb->buffer_length; in proc_do_submiturb() 1817 u = (totlen > USB_SG_SIZE) ? USB_SG_SIZE : totlen; in proc_do_submiturb() 1832 totlen -= u; in proc_do_submiturb() 1910 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb() 1911 as->urb->iso_frame_desc[u].offset = totlen; in proc_do_submiturb() 1913 totlen += isopkt[u].length; in proc_do_submiturb()
|
/linux-6.12.1/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 668 size_t totlen = 0, thislen; in cfi_staa_writev() local 697 totlen += thislen; in cfi_staa_writev() 707 totlen += thislen; in cfi_staa_writev() 721 totlen += thislen; in cfi_staa_writev() 727 *retlen = totlen; in cfi_staa_writev()
|