/linux-4.19.296/fs/ |
D | readdir.c | 210 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, in filldir() local 217 if (reclen > buf->count) in filldir() 234 if (__put_user(reclen, &dirent->d_reclen)) in filldir() 240 if (__put_user(d_type, (char __user *) dirent + reclen - 1)) in filldir() 243 dirent = (void __user *)dirent + reclen; in filldir() 245 buf->count -= reclen; in filldir() 299 int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1, in filldir64() local 306 if (reclen > buf->count) in filldir64() 320 if (__put_user(reclen, &dirent->d_reclen)) in filldir64() 329 dirent = (void __user *)dirent + reclen; in filldir64() [all …]
|
/linux-4.19.296/drivers/s390/char/ |
D | vmur.c | 109 urd->reclen = cdev->id.driver_info; in urdev_alloc() 232 int reclen) in alloc_chan_prog() argument 238 TRACE("alloc_chan_prog(%p, %i, %i)\n", ubuf, rec_count, reclen); in alloc_chan_prog() 253 cpa[i].count = reclen; in alloc_chan_prog() 254 kbuf = kmalloc(reclen, GFP_KERNEL | GFP_DMA); in alloc_chan_prog() 260 if (copy_from_user(kbuf, ubuf, reclen)) { in alloc_chan_prog() 264 ubuf += reclen; in alloc_chan_prog() 344 rc = sprintf(buf, "%zu\n", urd->reclen); in ur_attr_reclen_show() 349 static DEVICE_ATTR(reclen, 0444, ur_attr_reclen_show, NULL); 417 size_t count, size_t reclen, loff_t *ppos) in do_write() argument [all …]
|
D | vmur.h | 72 size_t reclen; /* Record length for *write* CCWs */ member
|
/linux-4.19.296/fs/gfs2/ |
D | dir.h | 71 static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent) in gfs2_qstr2dirent() argument 76 dent->de_rec_len = cpu_to_be16(reclen); in gfs2_qstr2dirent()
|
/linux-4.19.296/fs/nilfs2/ |
D | dir.c | 330 unsigned int reclen = NILFS_DIR_REC_LEN(namelen); in nilfs_find_entry() local 354 kaddr += nilfs_last_byte(dir, n) - reclen; in nilfs_find_entry() 444 unsigned int reclen = NILFS_DIR_REC_LEN(namelen); in nilfs_add_link() local 470 kaddr += PAGE_SIZE - reclen; in nilfs_add_link() 491 if (!de->inode && rec_len >= reclen) in nilfs_add_link() 493 if (rec_len >= name_len + reclen) in nilfs_add_link()
|
/linux-4.19.296/fs/ext2/ |
D | dir.c | 368 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_find_entry() local 392 kaddr += ext2_last_byte(dir, n) - reclen; in ext2_find_entry() 490 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_add_link() local 516 kaddr += PAGE_SIZE - reclen; in ext2_add_link() 537 if (!de->inode && rec_len >= reclen) in ext2_add_link() 539 if (rec_len >= name_len + reclen) in ext2_add_link()
|
/linux-4.19.296/fs/exofs/ |
D | dir.c | 309 unsigned reclen = EXOFS_DIR_REC_LEN(namelen); in exofs_find_entry() local 331 kaddr += exofs_last_byte(dir, n) - reclen; in exofs_find_entry() 430 unsigned reclen = EXOFS_DIR_REC_LEN(namelen); in exofs_add_link() local 452 kaddr += PAGE_SIZE - reclen; in exofs_add_link() 473 if (!de->inode_no && rec_len >= reclen) in exofs_add_link() 475 if (rec_len >= name_len + reclen) in exofs_add_link()
|
/linux-4.19.296/fs/ufs/ |
D | dir.c | 256 unsigned reclen = UFS_DIR_REC_LEN(namelen); in ufs_find_entry() local 282 kaddr += ufs_last_byte(dir, n) - reclen; in ufs_find_entry() 311 unsigned reclen = UFS_DIR_REC_LEN(namelen); in ufs_add_link() local 340 kaddr += PAGE_SIZE - reclen; in ufs_add_link() 361 if (!de->d_ino && rec_len >= reclen) in ufs_add_link() 363 if (rec_len >= name_len + reclen) in ufs_add_link()
|
/linux-4.19.296/fs/fuse/ |
D | dir.c | 1204 size_t reclen = FUSE_DIRENT_SIZE(dirent); in parse_dirfile() local 1207 if (reclen > nbytes) in parse_dirfile() 1216 buf += reclen; in parse_dirfile() 1217 nbytes -= reclen; in parse_dirfile() 1333 size_t reclen; in parse_dirplusfile() local 1340 reclen = FUSE_DIRENTPLUS_SIZE(direntplus); in parse_dirplusfile() 1344 if (reclen > nbytes) in parse_dirplusfile() 1362 buf += reclen; in parse_dirplusfile() 1363 nbytes -= reclen; in parse_dirplusfile()
|
/linux-4.19.296/fs/nfsd/ |
D | vfs.c | 1845 unsigned int reclen; in nfsd_buffered_filldir() local 1847 reclen = ALIGN(sizeof(struct buffered_dirent) + namlen, sizeof(u64)); in nfsd_buffered_filldir() 1848 if (buf->used + reclen > PAGE_SIZE) { in nfsd_buffered_filldir() 1858 buf->used += reclen; in nfsd_buffered_filldir() 1881 unsigned int reclen; in nfsd_buffered_readdir() local 1910 reclen = ALIGN(sizeof(*de) + de->namlen, in nfsd_buffered_readdir() 1912 size -= reclen; in nfsd_buffered_readdir() 1913 de = (struct buffered_dirent *)((char *)de + reclen); in nfsd_buffered_readdir()
|
/linux-4.19.296/drivers/s390/block/ |
D | dasd_eckd.c | 355 unsigned int reclen, unsigned int tlf) in locate_record_ext() argument 376 dn = ceil_quot(reclen + 6, 232); in locate_record_ext() 377 d = 9 + ceil_quot(reclen + 6 * (dn + 1), 34); in locate_record_ext() 381 d = 7 + ceil_quot(reclen + 12, 32); in locate_record_ext() 416 data->length = reclen; in locate_record_ext() 422 data->length = reclen; in locate_record_ext() 444 data->length = reclen; /* not tlf, as one might think */ in locate_record_ext() 453 data->length = reclen; in locate_record_ext() 459 data->length = reclen; in locate_record_ext() 477 data->length = reclen; in locate_record_ext() [all …]
|
/linux-4.19.296/include/trace/events/ |
D | sunrpc.h | 521 __field(unsigned int, reclen) 531 __entry->reclen = xs->tcp_reclen; 538 __entry->copied, __entry->reclen, __entry->offset)
|
/linux-4.19.296/fs/ext4/ |
D | namei.c | 1891 unsigned short reclen = EXT4_DIR_REC_LEN(fname_len(fname)); in ext4_find_dest_de() local 1897 top = buf + buf_size - reclen; in ext4_find_dest_de() 1906 if ((de->inode ? rlen - nlen : rlen) >= reclen) in ext4_find_dest_de()
|