Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_odir.c491 smb_odirent_t *odirent, boolean_t *eof) in smb_odir_read() argument
499 ASSERT(odirent); in smb_odir_read()
516 if ((rc = smb_odir_next_odirent(od, odirent)) != 0) in smb_odir_read()
518 if (smb_odir_match_name(od, odirent)) in smb_odir_read()
565 smb_odirent_t *odirent; in smb_odir_read_fileinfo() local
594 odirent = kmem_alloc(sizeof (smb_odirent_t), KM_SLEEP); in smb_odir_read_fileinfo()
597 if ((rc = smb_odir_next_odirent(od, odirent)) != 0) in smb_odir_read_fileinfo()
601 if (u8_validate(odirent->od_name, in smb_odir_read_fileinfo()
602 strlen(odirent->od_name), NULL, in smb_odir_read_fileinfo()
606 if (!smb_odir_match_name(od, odirent)) in smb_odir_read_fileinfo()
[all …]
H A Dsmb_delete.c375 smb_odirent_t *odirent; in smb_delete_find_fname() local
378 odirent = kmem_alloc(sizeof (smb_odirent_t), KM_SLEEP); in smb_delete_find_fname()
380 rc = smb_odir_read(sr, od, odirent, &eos); in smb_delete_find_fname()
385 (void) strlcpy(namebuf, odirent->od_name, len); in smb_delete_find_fname()
387 kmem_free(odirent, sizeof (smb_odirent_t)); in smb_delete_find_fname()
H A Dsmb_fsops.c794 smb_odirent_t *odirent; in smb_fsop_remove_streams() local
829 odirent = kmem_alloc(sizeof (smb_odirent_t), KM_SLEEP); in smb_fsop_remove_streams()
831 rc = smb_odir_read(sr, od, odirent, &eos); in smb_fsop_remove_streams()
834 (void) smb_vop_remove(od->d_dnode->vp, odirent->od_name, in smb_fsop_remove_streams()
837 kmem_free(odirent, sizeof (smb_odirent_t)); in smb_fsop_remove_streams()