Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_odir.c413 smb_odir_hold(smb_odir_t *od) in smb_odir_hold() argument
415 ASSERT(od); in smb_odir_hold()
416 ASSERT(od->d_magic == SMB_ODIR_MAGIC); in smb_odir_hold()
418 mutex_enter(&od->d_mutex); in smb_odir_hold()
420 switch (od->d_state) { in smb_odir_hold()
422 od->d_refcnt++; in smb_odir_hold()
423 od->d_state = SMB_ODIR_STATE_IN_USE; in smb_odir_hold()
426 od->d_refcnt++; in smb_odir_hold()
431 mutex_exit(&od->d_mutex); in smb_odir_hold()
435 mutex_exit(&od->d_mutex); in smb_odir_hold()
[all …]
H A Dsmb_find.c231 smb_odir_t *od; in smb_com_search() local
296 status = smb_odir_openpath(sr, pn->pn_path, sattr, 0, &od); in smb_com_search()
308 od = smb_tree_lookup_odir(sr, odid); in smb_com_search()
311 if (od == NULL) { in smb_com_search()
318 if ((od->d_flags & SMB_ODIR_FLAG_WILDCARDS) == 0) { in smb_com_search()
319 od->d_eof = B_TRUE; in smb_com_search()
323 smb_odir_resume_at(od, &odir_resume); in smb_com_search()
336 rc = smb_odir_read_fileinfo(sr, od, &fileinfo, &eos); in smb_com_search()
357 smb_odir_save_cookie(od, index, fileinfo.fi_cookie); in smb_com_search()
366 smb_odir_close(od); in smb_com_search()
[all …]
H A Dsmb_trans2_find.c287 smb_odir_t *od; in smb_com_trans2_find_first2() local
328 status = smb_odir_openpath(sr, pn->pn_path, sattr, odir_flags, &od); in smb_com_trans2_find_first2()
333 if (od == NULL) in smb_com_trans2_find_first2()
336 count = smb_trans2_find_entries(sr, xa, od, &args); in smb_com_trans2_find_first2()
339 smb_odir_close(od); in smb_com_trans2_find_first2()
340 smb_odir_release(od); in smb_com_trans2_find_first2()
345 smb_odir_close(od); in smb_com_trans2_find_first2()
346 smb_odir_release(od); in smb_com_trans2_find_first2()
353 smb_odir_close(od); in smb_com_trans2_find_first2()
357 od->d_odid, /* Search ID */ in smb_com_trans2_find_first2()
[all …]
H A Dsmb_tree.c400 smb_tree_post_odir(smb_tree_t *tree, smb_odir_t *od) in smb_tree_post_odir() argument
403 SMB_ODIR_VALID(od); in smb_tree_post_odir()
404 ASSERT(od->d_refcnt == 0); in smb_tree_post_odir()
405 ASSERT(od->d_state == SMB_ODIR_STATE_CLOSED); in smb_tree_post_odir()
406 ASSERT(od->d_tree == tree); in smb_tree_post_odir()
408 smb_llist_post(&tree->t_odir_list, od, smb_odir_delete); in smb_tree_post_odir()
1276 smb_odir_t *od; in smb_tree_lookup_odir() local
1285 od = smb_llist_head(od_list); in smb_tree_lookup_odir()
1286 while (od) { in smb_tree_lookup_odir()
1287 if (od->d_odid == odid) in smb_tree_lookup_odir()
[all …]
H A Dsmb2_query_dir.c68 smb_odir_t *od = NULL; in smb2_query_dir() local
189 if ((od = of->f_odir) == NULL) { in smb2_query_dir()
190 status = smb_odir_openfh(sr, pattern, sattr, &od); in smb2_query_dir()
191 of->f_odir = od; in smb2_query_dir()
194 if (od == NULL) { in smb2_query_dir()
204 smb_odir_reopen(od, pattern, sattr); in smb2_query_dir()
219 smb_odir_resume_at(od, &odir_resume); in smb2_query_dir()
220 of->f_seek_pos = od->d_offset; in smb2_query_dir()
225 status = smb2_find_entries(sr, od, &args); in smb2_query_dir()
227 of->f_seek_pos = od->d_offset; in smb2_query_dir()
[all …]
H A Dsmb_delete.c287 smb_odir_t *od; in smb_delete_multiple_files() local
298 SMB_SEARCH_ATTRIBUTES, 0, &od); in smb_delete_multiple_files()
305 rc = smb_delete_find_fname(sr, od, namebuf, MAXNAMELEN); in smb_delete_multiple_files()
318 smb_odir_close(od); in smb_delete_multiple_files()
319 smb_odir_release(od); in smb_delete_multiple_files()
338 smb_odir_close(od); in smb_delete_multiple_files()
339 smb_odir_release(od); in smb_delete_multiple_files()
344 smb_odir_close(od); in smb_delete_multiple_files()
345 smb_odir_release(od); in smb_delete_multiple_files()
371 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.c635 smb_odir_t *od = NULL; in smb_query_stream_info() local
654 status = smb_odir_openat(sr, fnode, &od); in smb_query_stream_info()
668 rc = smb_odir_read_streaminfo(sr, od, sinfo, &eos); in smb_query_stream_info()
710 rc = smb_odir_read_streaminfo(sr, od, sinfo_next, &eos); in smb_query_stream_info()
743 if (od) { in smb_query_stream_info()
744 smb_odir_close(od); in smb_query_stream_info()
745 smb_odir_release(od); in smb_query_stream_info()
H A Dsmb_fsops.c792 smb_odir_t *od; in smb_fsop_remove_streams() local
815 status = smb_odir_openat(sr, fnode, &od); 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()
839 smb_odir_close(od); in smb_fsop_remove_streams()
840 smb_odir_release(od); in smb_fsop_remove_streams()
/titanic_50/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_50/usr/src/cmd/ztest/
H A Dztest.c1945 ztest_lookup(ztest_ds_t *zd, ztest_od_t *od, int count) in ztest_lookup() argument
1952 for (int i = 0; i < count; i++, od++) { in ztest_lookup()
1953 od->od_object = 0; in ztest_lookup()
1954 error = zap_lookup(zd->zd_os, od->od_dir, od->od_name, in ztest_lookup()
1955 sizeof (uint64_t), 1, &od->od_object); in ztest_lookup()
1958 ASSERT(od->od_object == 0); in ztest_lookup()
1965 ASSERT(od->od_object != 0); in ztest_lookup()
1968 ztest_object_lock(zd, od->od_object, RL_READER); in ztest_lookup()
1970 od->od_object, FTAG, &db)); in ztest_lookup()
1974 od->od_type = doi.doi_type; in ztest_lookup()
[all …]
/titanic_50/usr/src/cmd/od/
H A DMakefile15 PROG= od
18 OBJS= od.o
/titanic_50/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_50/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c1250 smb_odir_t *od; in smb_dcmd_odir() local
1252 od = mdb_alloc(sizeof (*od), UM_SLEEP | UM_GC); in smb_dcmd_odir()
1253 if (mdb_vread(od, sizeof (*od), addr) == -1) { in smb_dcmd_odir()
1260 if (od->d_state >= SMB_ODIR_STATE_SENTINEL) in smb_dcmd_odir()
1263 state = smb_odir_state[od->d_state]; in smb_dcmd_odir()
1268 mdb_printf("State: %d (%s)\n", od->d_state, state); in smb_dcmd_odir()
1269 mdb_printf("SID: %u\n", od->d_odid); in smb_dcmd_odir()
1270 mdb_printf("User: %p\n", od->d_user); in smb_dcmd_odir()
1271 mdb_printf("Tree: %p\n", od->d_tree); in smb_dcmd_odir()
1272 mdb_printf("Reference Count: %d\n", od->d_refcnt); in smb_dcmd_odir()
[all …]
/titanic_50/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_50/exception_lists/
H A Dclosed-bins113 ./usr/bin/od
130 ./usr/xpg4/bin/od
/titanic_50/usr/src/lib/libctf/common/
H A Dctf_diff.c1298 ctf_diff_obj_t *id, *od; in ctf_diff_obj_fill() local
1301 od = &cds->cds_oobj[j]; in ctf_diff_obj_fill()
1303 if (id->cdo_name == NULL || od->cdo_name == NULL) in ctf_diff_obj_fill()
1305 if (strcmp(id->cdo_name, od->cdo_name) != 0) in ctf_diff_obj_fill()
1308 if (ctf_diff_symid(cds, id->cdo_id, od->cdo_id)) { in ctf_diff_obj_fill()
1313 od->cdo_matchidx = i; in ctf_diff_obj_fill()
/titanic_50/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_50/usr/src/cmd/spell/
H A Dlocal347 od
/titanic_50/usr/src/cmd/
H A DMakefile297 od \
/titanic_50/usr/src/man/man1/
H A DMakefile265 od.1 \
/titanic_50/usr/src/
H A DMakefile.lint223 cmd/od \
/titanic_50/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_50/usr/src/cmd/krb5/kadmin/kclient/
H A Dkclient.sh1167 dd if=/dev/random bs=1 count=1 2>/dev/null | od -A n -tx1 | read hex
/titanic_50/
H A D.gitignore1897 usr/src/cmd/od/od