/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_delete.c | 287 smb_odir_t *od; local 298 SMB_SEARCH_ATTRIBUTES, 0, &od); 305 rc = smb_delete_find_fname(sr, od, namebuf, MAXNAMELEN); 318 smb_odir_close(od); 319 smb_odir_release(od); 338 smb_odir_close(od); 339 smb_odir_release(od); 344 smb_odir_close(od); 345 smb_odir_release(od); 371 smb_delete_find_fname(smb_request_t *sr, smb_odir_t *od, cha argument [all...] |
H A D | smb2_query_dir.c | 68 smb_odir_t *od = NULL; local 189 if ((od = of->f_odir) == NULL) { 190 status = smb_odir_openfh(sr, pattern, sattr, &od); 191 of->f_odir = od; 194 if (od == NULL) { 204 smb_odir_reopen(od, pattern, sattr); 219 smb_odir_resume_at(od, &odir_resume); 220 of->f_seek_pos = od->d_offset; 225 status = smb2_find_entries(sr, od, &args); 227 of->f_seek_pos = od 280 smb2_find_entries(smb_request_t *sr, smb_odir_t *od, smb2_find_args_t *args) argument [all...] |
H A D | smb_find.c | 231 smb_odir_t *od; local 296 status = smb_odir_openpath(sr, pn->pn_path, sattr, 0, &od); 308 od = smb_tree_lookup_odir(sr, odid); 311 if (od == NULL) { 318 if ((od->d_flags & SMB_ODIR_FLAG_WILDCARDS) == 0) { 319 od->d_eof = B_TRUE; 323 smb_odir_resume_at(od, &odir_resume); 336 rc = smb_odir_read_fileinfo(sr, od, &fileinfo, &eos); 357 smb_odir_save_cookie(od, index, fileinfo.fi_cookie); 366 smb_odir_close(od); 416 smb_odir_t *od; local 571 smb_odir_t *od; local 636 smb_odir_t *od; local [all...] |
H A D | smb_odir.c | 413 smb_odir_hold(smb_odir_t *od) argument 415 ASSERT(od); 416 ASSERT(od->d_magic == SMB_ODIR_MAGIC); 418 mutex_enter(&od->d_mutex); 420 switch (od->d_state) { 422 od->d_refcnt++; 423 od->d_state = SMB_ODIR_STATE_IN_USE; 426 od->d_refcnt++; 431 mutex_exit(&od->d_mutex); 435 mutex_exit(&od 446 smb_odir_release(smb_odir_t *od) argument 480 smb_odir_close(smb_odir_t *od) argument 516 smb_odir_read(smb_request_t *sr, smb_odir_t *od, smb_odirent_t *odirent, boolean_t *eof) argument 587 smb_odir_read_fileinfo(smb_request_t *sr, smb_odir_t *od, smb_fileinfo_t *fileinfo, uint16_t *eof) argument 672 smb_odir_read_streaminfo(smb_request_t *sr, smb_odir_t *od, smb_streaminfo_t *sinfo, boolean_t *eof) argument 768 smb_odir_save_cookie(smb_odir_t *od, int idx, uint32_t cookie) argument 786 smb_odir_save_fname(smb_odir_t *od, uint32_t cookie, const char *fname) argument 819 smb_odir_resume_at(smb_odir_t *od, smb_odir_resume_t *resume) argument 897 smb_odir_t *od; local 965 smb_odir_reopen(smb_odir_t *od, const char *pattern, uint16_t sattr) argument 996 smb_odir_t *od = (smb_odir_t *)arg; local 1043 smb_odir_next_odirent(smb_odir_t *od, smb_odirent_t *odirent) argument 1149 smb_odir_single_fileinfo(smb_request_t *sr, smb_odir_t *od, smb_fileinfo_t *fileinfo) argument 1274 smb_odir_wildcard_fileinfo(smb_request_t *sr, smb_odir_t *od, smb_odirent_t *odirent, smb_fileinfo_t *fileinfo) argument 1389 smb_odir_lookup_link(smb_request_t *sr, smb_odir_t *od, char *fname, smb_node_t **tgt_node) argument 1421 smb_odir_match_name(smb_odir_t *od, smb_odirent_t *odirent) argument [all...] |
H A D | smb_query_fileinfo.c | 635 smb_odir_t *od = NULL; local 654 status = smb_odir_openat(sr, fnode, &od); 668 rc = smb_odir_read_streaminfo(sr, od, sinfo, &eos); 710 rc = smb_odir_read_streaminfo(sr, od, sinfo_next, &eos); 743 if (od) { 744 smb_odir_close(od); 745 smb_odir_release(od);
|
H A D | smb_trans2_find.c | 287 smb_odir_t *od; local 328 status = smb_odir_openpath(sr, pn->pn_path, sattr, odir_flags, &od); 333 if (od == NULL) 336 count = smb_trans2_find_entries(sr, xa, od, &args); 339 smb_odir_close(od); 340 smb_odir_release(od); 345 smb_odir_close(od); 346 smb_odir_release(od); 353 smb_odir_close(od); 357 od 435 smb_odir_t *od; local 532 smb_trans2_find_entries(smb_request_t *sr, smb_xa_t *xa, smb_odir_t *od, smb_find_args_t *args) argument 950 smb_odir_t *od; local [all...] |
H A D | smb_tree.c | 400 smb_tree_post_odir(smb_tree_t *tree, smb_odir_t *od) argument 403 SMB_ODIR_VALID(od); 404 ASSERT(od->d_refcnt == 0); 405 ASSERT(od->d_state == SMB_ODIR_STATE_CLOSED); 406 ASSERT(od->d_tree == tree); 408 smb_llist_post(&tree->t_odir_list, od, smb_odir_delete); 1276 smb_odir_t *od; local 1285 od = smb_llist_head(od_list); 1286 while (od) { 1287 if (od 1369 smb_tree_get_odir(smb_tree_t *tree, smb_odir_t *od) argument 1408 smb_odir_t *od, *next_od; local [all...] |
H A D | smb_fsops.c | 792 smb_odir_t *od; local 815 status = smb_odir_openat(sr, fnode, &od); 829 rc = smb_odir_read(sr, od, odirent, &eos); 832 (void) smb_vop_remove(od->d_dnode->vp, odirent->od_name, 839 smb_odir_close(od); 840 smb_odir_release(od);
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_dup.c | 573 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); local
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | disk.c | 66 struct open_disk *od; member in struct:dentry 88 dev->d_opendata = entry->od; 118 entry->od = (struct open_disk *)dev->d_opendata; 119 entry->od->rcnt++; 144 entry->od, entry->od->rcnt); 177 struct open_disk *od; local 180 od = (struct open_disk *)dev->d_opendata; 182 blocks * od->sectorsize, (char *)buf, NULL)); 190 struct open_disk *od; local 228 struct open_disk *od; local 242 struct open_disk *od; local 255 struct open_disk *od; local 279 struct open_disk *od; local 419 struct open_disk *od; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv.c | 1250 smb_odir_t *od; local 1252 od = mdb_alloc(sizeof (*od), UM_SLEEP | UM_GC); 1253 if (mdb_vread(od, sizeof (*od), addr) == -1) { 1260 if (od->d_state >= SMB_ODIR_STATE_SENTINEL) 1263 state = smb_odir_state[od->d_state]; 1268 mdb_printf("State: %d (%s)\n", od->d_state, state); 1269 mdb_printf("SID: %u\n", od->d_odid); 1270 mdb_printf("User: %p\n", od [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | name.c | 1438 double d,od=0; local 1453 od = *(up->dp); 1454 *(up->dp) = od?d+od:d;
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 1949 ztest_lookup(ztest_ds_t *zd, ztest_od_t *od, int count) argument 1956 for (int i = 0; i < count; i++, od++) { 1957 od->od_object = 0; 1958 error = zap_lookup(zd->zd_os, od->od_dir, od->od_name, 1959 sizeof (uint64_t), 1, &od->od_object); 1962 ASSERT(od->od_object == 0); 1969 ASSERT(od->od_object != 0); 1972 ztest_object_lock(zd, od->od_object, RL_READER); 1974 od 1990 ztest_create(ztest_ds_t *zd, ztest_od_t *od, int count) argument 2034 ztest_remove(ztest_ds_t *zd, ztest_od_t *od, int count) argument 2250 ztest_od_init(ztest_od_t *od, uint64_t id, char *tag, uint64_t index, dmu_object_type_t type, uint64_t blocksize, uint64_t gen) argument 2275 ztest_object_init(ztest_ds_t *zd, ztest_od_t *od, size_t size, boolean_t remove) argument 3525 ztest_od_t od[4]; local 3550 ztest_od_t od[2]; local 3824 ztest_od_t od[2]; local 4052 ztest_od_t od[1]; local 4073 ztest_od_t od[1]; local 4115 ztest_od_t od[1]; local 4255 ztest_od_t od[1]; local 4296 ztest_od_t od[1]; local 4486 ztest_od_t od[1]; local 5049 ztest_od_t od[1]; local 5882 ztest_od_t od; local [all...] |