/linux-6.1.9/fs/nilfs2/ |
D | dir.c | 122 unsigned int offs, rec_len; in nilfs_check_page() local 134 for (offs = 0; offs <= limit - NILFS_DIR_REC_LEN(1); offs += rec_len) { in nilfs_check_page() 136 rec_len = nilfs_rec_len_from_disk(p->rec_len); in nilfs_check_page() 138 if (rec_len < NILFS_DIR_REC_LEN(1)) in nilfs_check_page() 140 if (rec_len & 3) in nilfs_check_page() 142 if (rec_len < NILFS_DIR_REC_LEN(p->name_len)) in nilfs_check_page() 144 if (((offs + rec_len - 1) ^ offs) & ~(chunk_size-1)) in nilfs_check_page() 176 rec_len, p->name_len); in nilfs_check_page() 229 nilfs_rec_len_from_disk(p->rec_len)); in nilfs_next_entry() 290 if (de->rec_len == 0) { in nilfs_readdir() [all …]
|
/linux-6.1.9/fs/ext2/ |
D | dir.c | 115 unsigned offs, rec_len; in ext2_check_page() local 127 for (offs = 0; offs <= limit - EXT2_DIR_REC_LEN(1); offs += rec_len) { in ext2_check_page() 129 rec_len = ext2_rec_len_from_disk(p->rec_len); in ext2_check_page() 131 if (unlikely(rec_len < EXT2_DIR_REC_LEN(1))) in ext2_check_page() 133 if (unlikely(rec_len & 3)) in ext2_check_page() 135 if (unlikely(rec_len < EXT2_DIR_REC_LEN(p->name_len))) in ext2_check_page() 137 if (unlikely(((offs + rec_len - 1) ^ offs) & ~(chunk_size-1))) in ext2_check_page() 176 rec_len, p->name_len); in ext2_check_page() 240 ext2_rec_len_from_disk(p->rec_len)); in ext2_next_entry() 249 if (p->rec_len == 0) in ext2_validate_entry() [all …]
|
D | ext2.h | 585 __le16 rec_len; /* Directory entry length */ member 598 __le16 rec_len; /* Directory entry length */ member
|
/linux-6.1.9/net/tls/ |
D | trace.h | 46 TP_PROTO(struct sock *sk, u32 tcp_seq, u8 *rec_no, u32 rec_len, 49 TP_ARGS(sk, tcp_seq, rec_no, rec_len, encrypted, decrypted), 55 __field( u32, rec_len ) 64 __entry->rec_len = rec_len; 72 __entry->rec_no, __entry->rec_len, 125 TP_PROTO(struct sock *sk, u32 sock_data, u32 rec_len), 127 TP_ARGS(sk, sock_data, rec_len), 132 __field( u32, rec_len ) 138 __entry->rec_len = rec_len; 143 __entry->sk, __entry->sock_data, __entry->rec_len
|
/linux-6.1.9/fs/ufs/ |
D | dir.c | 115 unsigned offs, rec_len; in ufs_check_page() local 128 for (offs = 0; offs <= limit - UFS_DIR_REC_LEN(1); offs += rec_len) { in ufs_check_page() 130 rec_len = fs16_to_cpu(sb, p->d_reclen); in ufs_check_page() 132 if (rec_len < UFS_DIR_REC_LEN(1)) in ufs_check_page() 134 if (rec_len & 3) in ufs_check_page() 136 if (rec_len < UFS_DIR_REC_LEN(ufs_get_de_namlen(sb, p))) in ufs_check_page() 138 if (((offs + rec_len - 1) ^ offs) & ~chunk_mask) in ufs_check_page() 176 rec_len, ufs_get_de_namlen(sb, p)); in ufs_check_page() 313 unsigned short rec_len, name_len; in ufs_add_link() local 345 rec_len = chunk_size; in ufs_add_link() [all …]
|
/linux-6.1.9/fs/ocfs2/ |
D | dir.c | 134 struct buffer_head *bh, u16 rec_len) in ocfs2_init_dir_trailer() argument 144 trailer->db_free_rec_len = cpu_to_le16(rec_len); in ocfs2_init_dir_trailer() 303 const int rlen = le16_to_cpu(de->rec_len); in ocfs2_check_dir_entry() 374 de_len = le16_to_cpu(de->rec_len); in ocfs2_search_dirblock() 1155 le16_add_cpu(&pde->rec_len, in __ocfs2_delete_entry() 1156 le16_to_cpu(de->rec_len)); in __ocfs2_delete_entry() 1162 i += le16_to_cpu(de->rec_len); in __ocfs2_delete_entry() 1164 de = (struct ocfs2_dir_entry *)((char *)de + le16_to_cpu(de->rec_len)); in __ocfs2_delete_entry() 1175 hole = le16_to_cpu(de->rec_len); in ocfs2_figure_dirent_hole() 1177 hole = le16_to_cpu(de->rec_len) - in ocfs2_figure_dirent_hole() [all …]
|
/linux-6.1.9/fs/ext4/ |
D | namei.c | 167 else if (ext4_rec_len_from_disk(dirent->rec_len, in __ext4_read_dirblock() 223 __le16 rec_len; member 354 while (d < top && d->rec_len) in get_dirent_tail() 356 le16_to_cpu(d->rec_len)); in get_dirent_tail() 449 if (le16_to_cpu(dirent->rec_len) == EXT4_BLOCK_SIZE(inode->i_sb)) in get_dx_countlimit() 451 else if (le16_to_cpu(dirent->rec_len) == 12) { in get_dx_countlimit() 453 if (le16_to_cpu(dp->rec_len) != in get_dx_countlimit() 558 ext4_rec_len_from_disk(p->rec_len, blocksize)); in ext4_next_entry() 1321 map_tail->size = le16_to_cpu(de->rec_len); in dx_make_map() 1534 de_len = ext4_rec_len_from_disk(de->rec_len, in ext4_search_dir() [all …]
|
D | dir.c | 85 const int rlen = ext4_rec_len_from_disk(de->rec_len, in __ext4_check_dir_entry() 242 if (ext4_rec_len_from_disk(de->rec_len, in ext4_readdir() 246 i += ext4_rec_len_from_disk(de->rec_len, in ext4_readdir() 268 offset += ext4_rec_len_from_disk(de->rec_len, in ext4_readdir() 299 ctx->pos += ext4_rec_len_from_disk(de->rec_len, in ext4_readdir() 657 rlen = ext4_rec_len_from_disk(de->rec_len, buf_size); in ext4_check_all_de()
|
D | inline.c | 1003 de_len = ext4_rec_len_from_disk(de->rec_len, inline_size); in ext4_show_inline_dir() 1092 de_len = ext4_rec_len_from_disk(de->rec_len, old_size); in ext4_update_final_de() 1097 prev_de->rec_len = ext4_rec_len_to_disk(de_len + new_size - in ext4_update_final_de() 1102 de->rec_len = ext4_rec_len_to_disk(new_size, new_size); in ext4_update_final_de() 1401 fake.rec_len = ext4_rec_len_to_disk( in ext4_inlinedir_to_tree() 1411 fake.rec_len = ext4_rec_len_to_disk( in ext4_inlinedir_to_tree() 1419 pos += ext4_rec_len_from_disk(de->rec_len, inline_size); in ext4_inlinedir_to_tree() 1550 if (ext4_rec_len_from_disk(de->rec_len, extra_size) in ext4_read_inline_dir() 1553 i += ext4_rec_len_from_disk(de->rec_len, in ext4_read_inline_dir() 1587 ctx->pos += ext4_rec_len_from_disk(de->rec_len, extra_size); in ext4_read_inline_dir() [all …]
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | iqs5xx.c | 711 u8 rec_len, rec_type, rec_chksm, chksm; in iqs5xx_fw_file_parse() local 754 rec_len = *rec_hdr; in iqs5xx_fw_file_parse() 755 rec_addr = get_unaligned_be16(rec_hdr + sizeof(rec_len)); in iqs5xx_fw_file_parse() 756 rec_type = *(rec_hdr + sizeof(rec_len) + sizeof(rec_addr)); in iqs5xx_fw_file_parse() 758 if (pos + rec_len * 2 > fw->size) { in iqs5xx_fw_file_parse() 763 pos += (rec_len * 2); in iqs5xx_fw_file_parse() 765 error = hex2bin(rec_data, rec->data, rec_len); in iqs5xx_fw_file_parse() 773 rec->data + rec_len * 2, sizeof(rec_chksm)); in iqs5xx_fw_file_parse() 783 for (i = 0; i < rec_len; i++) in iqs5xx_fw_file_parse() 805 rec_data, rec_len); in iqs5xx_fw_file_parse()
|
/linux-6.1.9/drivers/net/can/usb/peak_usb/ |
D | pcan_usb.c | 561 u8 rec_len = status_len & PCAN_USB_STATUSLEN_DLC; in pcan_usb_decode_status() local 594 rec_len = 2; in pcan_usb_decode_status() 599 rec_len = 1; in pcan_usb_decode_status() 619 if ((mc->ptr + rec_len) > mc->end) in pcan_usb_decode_status() 622 mc->ptr += rec_len; in pcan_usb_decode_status() 632 u8 rec_len = status_len & PCAN_USB_STATUSLEN_DLC; in pcan_usb_decode_data() local 658 can_frame_set_cc_len(cf, rec_len, mc->pdev->dev.can.ctrlmode); in pcan_usb_decode_data() 672 if ((mc->ptr + rec_len) > mc->end) in pcan_usb_decode_data() 676 mc->ptr += rec_len; in pcan_usb_decode_data()
|
D | pcan_usb_pro.c | 246 u16 rec_len; in pcan_usb_pro_wait_rsp() local 277 rec_len = pcan_usb_pro_sizeof_rec[pr->data_type]; in pcan_usb_pro_wait_rsp() 278 if (!rec_len) { in pcan_usb_pro_wait_rsp() 304 pc += rec_len; in pcan_usb_pro_wait_rsp()
|
/linux-6.1.9/Documentation/filesystems/ext4/ |
D | directory.rst | 34 ``dirent.rec_len`` to know for sure. 50 - rec_len 66 ``dirent.rec_len`` to know for sure. 82 - rec_len 128 after ``name`` and is included in the size listed by ``rec_len`` If a directory 253 - dot.rec_len 273 - dotdot.rec_len 370 - fake.rec_len
|
/linux-6.1.9/fs/ntfs3/ |
D | fslog.c | 2369 u32 rec_len, len; in find_log_rec() local 2394 rec_len = len + log->record_header_len; in find_log_rec() 2395 if (rec_len >= log->total_avail) in find_log_rec() 3016 u32 dlen, u32 rec_len, const u64 *rlsn) in do_action() argument 3218 Add2Ptr(attr2, asize) > Add2Ptr(lrh, rec_len) || in do_action() 3381 Add2Ptr(data, esize) > Add2Ptr(lrh, rec_len) || in do_action() 3507 Add2Ptr(e, esize) > Add2Ptr(lrh, rec_len) || in do_action() 3746 u32 saved_len, rec_len, transact_id; in log_replay() local 4131 rec_len = le32_to_cpu(frh->client_data_len); in log_replay() 4133 if (!check_log_rec(lrh, rec_len, le32_to_cpu(frh->transact_id), in log_replay() [all …]
|
/linux-6.1.9/fs/hfs/ |
D | bfind.c | 161 int hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) in hfs_brec_read() argument 168 if (fd->entrylength > rec_len) in hfs_brec_read()
|
/linux-6.1.9/drivers/s390/char/ |
D | vmur.h | 36 __s16 rec_len; member
|
/linux-6.1.9/fs/hfsplus/ |
D | bfind.c | 218 int hfs_brec_read(struct hfs_find_data *fd, void *rec, int rec_len) in hfs_brec_read() argument 225 if (fd->entrylength > rec_len) in hfs_brec_read()
|
/linux-6.1.9/drivers/s390/scsi/ |
D | zfcp_dbf.c | 445 u16 rec_len; in zfcp_dbf_san() local 460 rec_len = min_t(unsigned int, sg->length, ZFCP_DBF_SAN_MAX_PAYLOAD); in zfcp_dbf_san() 461 memcpy(rec->payload, sg_virt(sg), rec_len); /* part of 1st sg entry */ in zfcp_dbf_san() 462 if (len <= rec_len) in zfcp_dbf_san()
|
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 427 .rec_len = sizeof(xfs_alloc_rec_t), 449 .rec_len = sizeof(xfs_alloc_rec_t),
|
D | xfs_ialloc_btree.c | 384 .rec_len = sizeof(xfs_inobt_rec_t), 405 .rec_len = sizeof(xfs_inobt_rec_t),
|
D | xfs_iext_tree.c | 294 uint32_t rec_len = rec->hi & XFS_IEXT_LENGTH_MASK; in xfs_iext_rec_cmp() local 298 if (rec_offset + rec_len <= offset) in xfs_iext_rec_cmp()
|
D | xfs_alloc.c | 754 xfs_extlen_t rec_len;/* extent length */ member 779 acur->rec_len = 0; in xfs_alloc_cur_setup() 908 acur->rec_len = len; in xfs_alloc_cur_check() 943 ASSERT(acur->bno + acur->len <= acur->rec_bno + acur->rec_len); in xfs_alloc_cur_finish() 944 ASSERT(acur->rec_bno + acur->rec_len <= be32_to_cpu(agf->agf_length)); in xfs_alloc_cur_finish() 947 acur->rec_len, acur->bno, acur->len, 0); in xfs_alloc_cur_finish()
|
D | xfs_btree.h | 96 size_t rec_len; member
|
/linux-6.1.9/include/uapi/linux/ |
D | nilfs2_ondisk.h | 302 __le16 rec_len; /* Directory entry length */ member
|
/linux-6.1.9/fs/gfs2/ |
D | dir.c | 610 u16 rec_len = be16_to_cpu(d->de_rec_len); in dirent_check_reclen() local 612 if (unlikely(rec_len < sizeof(struct gfs2_dirent))) in dirent_check_reclen() 614 ptr += rec_len; in dirent_check_reclen() 616 return rec_len; in dirent_check_reclen()
|