Home
last modified time | relevance | path

Searched refs:reclen (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/fs/
A Dreaddir.c237 if (reclen > buf->count) in filldir()
260 buf->current_dir = (void __user *)dirent + reclen; in filldir()
261 buf->prev_reclen = reclen; in filldir()
262 buf->count -= reclen; in filldir()
324 if (reclen > buf->count) in filldir64()
342 buf->prev_reclen = reclen; in filldir64()
343 buf->current_dir = (void __user *)dirent + reclen; in filldir64()
344 buf->count -= reclen; in filldir64()
489 if (reclen > buf->count) in compat_filldir()
511 buf->prev_reclen = reclen; in compat_filldir()
[all …]
/linux-6.3-rc2/fs/fuse/
A Dreaddir.c58 if (offset + reclen > PAGE_SIZE) { in fuse_add_dirent_to_cache()
134 if (reclen > nbytes) in parse_dirfile()
142 buf += reclen; in parse_dirfile()
143 nbytes -= reclen; in parse_dirfile()
283 size_t reclen; in parse_dirplusfile() local
294 if (reclen > nbytes) in parse_dirplusfile()
311 buf += reclen; in parse_dirplusfile()
312 nbytes -= reclen; in parse_dirplusfile()
394 size_t reclen; in fuse_parse_cache() local
403 if (WARN_ON(reclen > nbytes)) in fuse_parse_cache()
[all …]
/linux-6.3-rc2/drivers/s390/char/
A Dvmur.c111 urd->reclen = cdev->id.driver_info; in urdev_alloc()
213 int reclen) in alloc_chan_prog() argument
234 cpa[i].count = reclen; in alloc_chan_prog()
235 kbuf = kmalloc(reclen, GFP_KERNEL | GFP_DMA); in alloc_chan_prog()
241 if (copy_from_user(kbuf, ubuf, reclen)) { in alloc_chan_prog()
245 ubuf += reclen; in alloc_chan_prog()
346 rc = sprintf(buf, "%zu\n", urd->reclen); in ur_attr_reclen_show()
419 size_t count, size_t reclen, loff_t *ppos) in do_write() argument
424 cpa = alloc_chan_prog(udata, count / reclen, reclen); in do_write()
518 u16 reclen; in diag14_read() local
[all …]
A Dvmur.h73 size_t reclen; /* Record length for *write* CCWs */ member
/linux-6.3-rc2/fs/gfs2/
A Ddir.h67 static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent) in gfs2_qstr2dirent() argument
72 dent->de_rec_len = cpu_to_be16(reclen); in gfs2_qstr2dirent()
/linux-6.3-rc2/fs/nilfs2/
A Ddir.c330 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-6.3-rc2/fs/ext2/
A Ddir.c344 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_find_entry() local
371 kaddr += ext2_last_byte(dir, n) - reclen; in ext2_find_entry()
498 unsigned reclen = EXT2_DIR_REC_LEN(namelen); in ext2_add_link() local
525 kaddr += PAGE_SIZE - reclen; in ext2_add_link()
546 if (!de->inode && rec_len >= reclen) in ext2_add_link()
548 if (rec_len >= name_len + reclen) in ext2_add_link()
/linux-6.3-rc2/fs/ufs/
A Ddir.c256 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-6.3-rc2/arch/alpha/kernel/
A Dosf_sys.c118 unsigned int reclen = ALIGN(NAME_OFFSET + namlen + 1, sizeof(u32)); in osf_filldir() local
122 if (reclen > buf->count) in osf_filldir()
137 put_user(reclen, &dirent->d_reclen) || in osf_filldir()
141 dirent = (void __user *)dirent + reclen; in osf_filldir()
143 buf->count -= reclen; in osf_filldir()
/linux-6.3-rc2/fs/nfsd/
A Dvfs.c1927 unsigned int reclen; in nfsd_buffered_filldir() local
1929 reclen = ALIGN(sizeof(struct buffered_dirent) + namlen, sizeof(u64)); in nfsd_buffered_filldir()
1930 if (buf->used + reclen > PAGE_SIZE) { in nfsd_buffered_filldir()
1940 buf->used += reclen; in nfsd_buffered_filldir()
1964 unsigned int reclen; in nfsd_buffered_readdir() local
1995 reclen = ALIGN(sizeof(*de) + de->namlen, in nfsd_buffered_readdir()
1997 size -= reclen; in nfsd_buffered_readdir()
1998 de = (struct buffered_dirent *)((char *)de + reclen); in nfsd_buffered_readdir()
/linux-6.3-rc2/drivers/s390/block/
A Ddasd_eckd.c409 dn = ceil_quot(reclen + 6, 232); in locate_record_ext()
449 data->length = reclen; in locate_record_ext()
455 data->length = reclen; in locate_record_ext()
486 data->length = reclen; in locate_record_ext()
492 data->length = reclen; in locate_record_ext()
510 data->length = reclen; in locate_record_ext()
661 data->length = reclen; in locate_record()
667 data->length = reclen; in locate_record()
675 data->length = reclen; in locate_record()
681 data->length = reclen; in locate_record()
[all …]
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/
A Dhw.c286 u16 reclen; in orinoco_hw_read_card_settings() local
300 sizeof(nickbuf), &reclen, &nickbuf); in orinoco_hw_read_card_settings()
308 len = min(IW_ESSID_MAX_SIZE, 2 * reclen); in orinoco_hw_read_card_settings()
/linux-6.3-rc2/include/trace/events/
A Dsunrpc.h1326 __field(unsigned int, reclen)
1335 __entry->reclen = xs->recv.len;
1341 __entry->copied, __entry->reclen, __entry->offset)
/linux-6.3-rc2/fs/ext4/
A Dnamei.c2083 unsigned short reclen = ext4_dir_rec_len(fname_len(fname), dir); in ext4_find_dest_de() local
2089 top = buf + buf_size - reclen; in ext4_find_dest_de()
2098 if ((de->inode ? rlen - nlen : rlen) >= reclen) in ext4_find_dest_de()

Completed in 71 milliseconds