Home
last modified time | relevance | path

Searched refs:od (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_odir.c388 smb_odir_hold(smb_odir_t *od) in smb_odir_hold() argument
390 ASSERT(od); in smb_odir_hold()
391 ASSERT(od->d_magic == SMB_ODIR_MAGIC); in smb_odir_hold()
393 mutex_enter(&od->d_mutex); in smb_odir_hold()
395 switch (od->d_state) { in smb_odir_hold()
397 od->d_refcnt++; in smb_odir_hold()
398 od->d_state = SMB_ODIR_STATE_IN_USE; in smb_odir_hold()
401 od->d_refcnt++; in smb_odir_hold()
406 mutex_exit(&od->d_mutex); in smb_odir_hold()
410 mutex_exit(&od->d_mutex); in smb_odir_hold()
[all …]
H A Dsmb_find.c231 smb_odir_t *od; in smb_com_search() local
309 od = smb_tree_lookup_odir(sr, odid); in smb_com_search()
310 if (od == NULL) { in smb_com_search()
319 smb_odir_resume_at(od, &odir_resume); in smb_com_search()
331 rc = smb_odir_read_fileinfo(sr, od, &fileinfo, &eos); in smb_com_search()
352 smb_odir_save_cookie(od, index, fileinfo.fi_cookie); in smb_com_search()
359 smb_odir_close(od); in smb_com_search()
360 smb_odir_release(od); in smb_com_search()
365 smb_odir_close(od); in smb_com_search()
366 smb_odir_release(od); in smb_com_search()
[all …]
H A Dsmb_trans2_find.c287 smb_odir_t *od; in smb_com_trans2_find_first2() local
336 od = smb_tree_lookup_odir(sr, odid); in smb_com_trans2_find_first2()
337 if (od == NULL) in smb_com_trans2_find_first2()
340 count = smb_trans2_find_entries(sr, xa, od, &args); in smb_com_trans2_find_first2()
343 smb_odir_close(od); in smb_com_trans2_find_first2()
344 smb_odir_release(od); in smb_com_trans2_find_first2()
349 smb_odir_close(od); in smb_com_trans2_find_first2()
350 smb_odir_release(od); in smb_com_trans2_find_first2()
357 smb_odir_close(od); in smb_com_trans2_find_first2()
360 smb_odir_release(od); in smb_com_trans2_find_first2()
[all …]
H A Dsmb_tree.c383 smb_tree_post_odir(smb_tree_t *tree, smb_odir_t *od) in smb_tree_post_odir() argument
386 SMB_ODIR_VALID(od); in smb_tree_post_odir()
387 ASSERT(od->d_refcnt == 0); in smb_tree_post_odir()
388 ASSERT(od->d_state == SMB_ODIR_STATE_CLOSED); in smb_tree_post_odir()
389 ASSERT(od->d_tree == tree); in smb_tree_post_odir()
391 smb_llist_post(&tree->t_odir_list, od, smb_odir_delete); in smb_tree_post_odir()
1253 smb_odir_t *od; in smb_tree_lookup_odir() local
1262 od = smb_llist_head(od_list); in smb_tree_lookup_odir()
1263 while (od) { in smb_tree_lookup_odir()
1264 if (od->d_odid == odid) in smb_tree_lookup_odir()
[all …]
H A Dsmb_delete.c288 smb_odir_t *od; in smb_delete_multiple_files() local
302 if ((od = smb_tree_lookup_odir(sr, odid)) == NULL) in smb_delete_multiple_files()
306 rc = smb_delete_find_fname(sr, od, namebuf, MAXNAMELEN); in smb_delete_multiple_files()
319 smb_odir_close(od); in smb_delete_multiple_files()
320 smb_odir_release(od); in smb_delete_multiple_files()
339 smb_odir_close(od); in smb_delete_multiple_files()
340 smb_odir_release(od); in smb_delete_multiple_files()
345 smb_odir_close(od); in smb_delete_multiple_files()
346 smb_odir_release(od); in smb_delete_multiple_files()
372 smb_delete_find_fname(smb_request_t *sr, smb_odir_t *od, char *namebuf, int len) in smb_delete_find_fname() argument
[all …]
H A Dsmb_query_fileinfo.c644 smb_odir_t *od = NULL; in smb_encode_stream_info() local
665 od = smb_tree_lookup_odir(sr, odid); in smb_encode_stream_info()
666 if (od != NULL) in smb_encode_stream_info()
667 rc = smb_odir_read_streaminfo(sr, od, sinfo, &eos); in smb_encode_stream_info()
669 if ((od == NULL) || (rc != 0) || (eos)) in smb_encode_stream_info()
711 rc = smb_odir_read_streaminfo(sr, od, sinfo_next, &eos); in smb_encode_stream_info()
745 if (od) { in smb_encode_stream_info()
746 smb_odir_close(od); in smb_encode_stream_info()
747 smb_odir_release(od); in smb_encode_stream_info()
H A Dsmb_fsops.c793 smb_odir_t *od; in smb_fsop_remove_streams() local
824 if ((od = smb_tree_lookup_odir(sr, odid)) == NULL) { 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()
839 smb_odir_close(od); in smb_fsop_remove_streams()
840 smb_odir_release(od); in smb_fsop_remove_streams()
/titanic_41/usr/src/cmd/ssh/sftp/
H A Dsftp-glob.c65 fudge_readdir(struct SFTP_OPENDIR *od) in fudge_readdir() argument
77 if (od->dir[od->offset] == NULL) in fudge_readdir()
87 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN); in fudge_readdir()
89 strlcpy(ret->d_name, od->dir[od->offset++]->filename, in fudge_readdir()
107 fudge_closedir(struct SFTP_OPENDIR *od) in fudge_closedir() argument
109 free_sftp_dirents(od->dir); in fudge_closedir()
110 xfree(od); in fudge_closedir()
/titanic_41/usr/src/cmd/ztest/
H A Dztest.c1941 ztest_lookup(ztest_ds_t *zd, ztest_od_t *od, int count) in ztest_lookup() argument
1948 for (int i = 0; i < count; i++, od++) { in ztest_lookup()
1949 od->od_object = 0; in ztest_lookup()
1950 error = zap_lookup(zd->zd_os, od->od_dir, od->od_name, in ztest_lookup()
1951 sizeof (uint64_t), 1, &od->od_object); in ztest_lookup()
1954 ASSERT(od->od_object == 0); in ztest_lookup()
1961 ASSERT(od->od_object != 0); in ztest_lookup()
1964 ztest_object_lock(zd, od->od_object, RL_READER); in ztest_lookup()
1966 od->od_object, FTAG, &db)); in ztest_lookup()
1970 od->od_type = doi.doi_type; in ztest_lookup()
[all …]
/titanic_41/usr/src/cmd/od/
H A DMakefile15 PROG= od
18 OBJS= od.o
/titanic_41/usr/src/cmd/sendmail/db/hash/
H A Dhash_dup.c573 HOFFDUP od; local
580 od.type = H_OFFDUP;
581 UMRW(od.unused[0]);
582 UMRW(od.unused[1]);
583 UMRW(od.unused[2]);
584 od.pgno = pgno;
587 new_dbt.data = &od;
612 memcpy(P_ENTRY(pagep, ndx), &od, HOFFDUP_SIZE);
/titanic_41/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c1195 smb_odir_t *od; in smb_dcmd_odir() local
1197 od = mdb_alloc(sizeof (*od), UM_SLEEP | UM_GC); in smb_dcmd_odir()
1198 if (mdb_vread(od, sizeof (*od), addr) == -1) { in smb_dcmd_odir()
1205 if (od->d_state >= SMB_ODIR_STATE_SENTINEL) in smb_dcmd_odir()
1208 state = smb_odir_state[od->d_state]; in smb_dcmd_odir()
1213 mdb_printf("State: %d (%s)\n", od->d_state, state); in smb_dcmd_odir()
1214 mdb_printf("SID: %u\n", od->d_odid); in smb_dcmd_odir()
1215 mdb_printf("User: %p\n", od->d_user); in smb_dcmd_odir()
1216 mdb_printf("Tree: %p\n", od->d_tree); in smb_dcmd_odir()
1217 mdb_printf("Reference Count: %d\n", od->d_refcnt); in smb_dcmd_odir()
[all …]
/titanic_41/usr/src/pkg/manifests/
H A Ddeveloper-linker.mf28 value="utilities for software development, including ld, ldd, od, and truss"
69 file path=usr/bin/od mode=0555
103 file path=usr/share/man/man1/od.1
117 desc="utilities for software development, including ld, ldd, od, and truss" \
H A Dsystem-xopen-xcu4.mf98 link path=usr/xpg4/bin/od target=../../bin/od
/titanic_41/exception_lists/
H A Dclosed-bins86 ./usr/bin/od
103 ./usr/xpg4/bin/od
/titanic_41/usr/src/cmd/vgrind/
H A Dvgrindefs.src32 max min mod new NIL nil noresult not notin od of or procedure public\
164 :cb=\(*:ce=*\):kw=cand cor do od if fi else enum record prod union\
/titanic_41/usr/src/cmd/spell/
H A Dlocal347 od
/titanic_41/usr/src/man/man1/
H A DMakefile263 od.1 \
/titanic_41/usr/src/cmd/
H A DMakefile290 od \
/titanic_41/usr/src/
H A DMakefile.lint222 cmd/od \
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dname.c1438 double d,od=0; in nv_putval() local
1453 od = *(up->dp); in nv_putval()
1454 *(up->dp) = od?d+od:d; in nv_putval()
/titanic_41/usr/src/cmd/krb5/kadmin/kclient/
H A Dkclient.sh1152 dd if=/dev/random bs=1 count=1 2>/dev/null | od -A n -tx1 | read hex
/titanic_41/
H A D.gitignore1897 usr/src/cmd/od/od