Searched refs:odirent (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_odir.c | 527 smb_odirent_t *odirent, boolean_t *eof) in smb_odir_read() argument 535 ASSERT(odirent); in smb_odir_read() 552 if ((rc = smb_odir_next_odirent(od, odirent)) != 0) in smb_odir_read() 554 if (smb_odir_match_name(od, odirent)) in smb_odir_read() 601 smb_odirent_t *odirent; in smb_odir_read_fileinfo() local 630 odirent = kmem_alloc(sizeof (smb_odirent_t), KM_SLEEP); in smb_odir_read_fileinfo() 640 if ((rc = smb_odir_next_odirent(od, odirent)) != 0) in smb_odir_read_fileinfo() 644 if (u8_validate(odirent->od_name, in smb_odir_read_fileinfo() 645 strlen(odirent->od_name), NULL, in smb_odir_read_fileinfo() 649 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 | 867 smb_odirent_t *odirent; in smb_fsop_remove_streams() local 907 odirent = kmem_alloc(sizeof (smb_odirent_t), KM_SLEEP); in smb_fsop_remove_streams() 909 rc = smb_odir_read(sr, od, odirent, &eos); in smb_fsop_remove_streams() 912 (void) smb_vop_remove(od->d_dnode->vp, odirent->od_name, in smb_fsop_remove_streams() 915 kmem_free(odirent, sizeof (smb_odirent_t)); in smb_fsop_remove_streams()
|