Searched refs:odirent (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_odir.c | 517 smb_odirent_t *odirent, boolean_t *eof) in smb_odir_read() argument 525 ASSERT(odirent); in smb_odir_read() 542 if ((rc = smb_odir_next_odirent(od, odirent)) != 0) in smb_odir_read() 544 if (smb_odir_match_name(od, odirent)) in smb_odir_read() 591 smb_odirent_t *odirent; in smb_odir_read_fileinfo() local 620 odirent = kmem_alloc(sizeof (smb_odirent_t), KM_SLEEP); in smb_odir_read_fileinfo() 623 if ((rc = smb_odir_next_odirent(od, odirent)) != 0) in smb_odir_read_fileinfo() 627 if (u8_validate(odirent->od_name, in smb_odir_read_fileinfo() 628 strlen(odirent->od_name), NULL, in smb_odir_read_fileinfo() 632 if (!smb_odir_match_name(od, odirent)) in smb_odir_read_fileinfo() [all …]
|
H A D | smb_delete.c | 374 smb_odirent_t *odirent; in smb_delete_find_fname() local 377 odirent = kmem_alloc(sizeof (smb_odirent_t), KM_SLEEP); in smb_delete_find_fname() 379 rc = smb_odir_read(sr, od, odirent, &eos); in smb_delete_find_fname() 381 (void) strlcpy(namebuf, odirent->od_name, len); in smb_delete_find_fname() 383 kmem_free(odirent, sizeof (smb_odirent_t)); in smb_delete_find_fname()
|
H A D | smb_fsops.c | 793 smb_odirent_t *odirent; in smb_fsop_remove_streams() local 827 odirent = kmem_alloc(sizeof (smb_odirent_t), KM_SLEEP); in smb_fsop_remove_streams() 829 rc = smb_odir_read(sr, od, odirent, &eos); in smb_fsop_remove_streams() 832 (void) smb_vop_remove(od->d_dnode->vp, odirent->od_name, in smb_fsop_remove_streams() 835 kmem_free(odirent, sizeof (smb_odirent_t)); in smb_fsop_remove_streams()
|