/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_common_open.c | 252 smb_node_t *fnode = NULL; in smb_common_open() local 434 fnode = op->fqi.fq_fnode; in smb_common_open() 460 fnode = op->fqi.fq_fnode; in smb_common_open() 463 if (!smb_node_is_file(fnode) && in smb_common_open() 464 !smb_node_is_dir(fnode) && in smb_common_open() 465 !smb_node_is_symlink(fnode)) { in smb_common_open() 478 if (smb_node_is_dir(fnode) && sname == NULL) { in smb_common_open() 493 tmp_node = fnode; in smb_common_open() 495 lookup_flags, sr->tid_tree->t_snode, fnode, sname, in smb_common_open() 496 &fnode); in smb_common_open() [all …]
|
H A D | smb_pathname.c | 437 smb_node_t *dnode, *fnode, *mnt_node; in smb_pathname() local 486 fnode = NULL; in smb_pathname() 492 if (fnode) { in smb_pathname() 494 dnode = fnode; in smb_pathname() 495 fnode = NULL; in smb_pathname() 584 fnode = root_node; in smb_pathname() 585 smb_node_ref(fnode); in smb_pathname() 603 fnode = smb_node_lookup(sr, NULL, cred, vp, namep, in smb_pathname() 607 if (fnode == NULL) { in smb_pathname() 624 fnode != NULL && in smb_pathname() [all …]
|
H A D | smb2_aapl.c | 172 smb_node_t *fnode, *snode; in smb2_aapl_get_macinfo() local 179 od->d_tree->t_snode, od->d_dnode, fileinfo->fi_name, &fnode); in smb2_aapl_get_macinfo() 184 smb_fsop_eaccess(sr, od->d_cred, fnode, &mi->mi_maxaccess); in smb2_aapl_get_macinfo() 243 rc = smb_node_getattr(NULL, fnode, kcr, NULL, &attr); in smb2_aapl_get_macinfo() 249 smb_node_release(fnode); in smb2_aapl_get_macinfo()
|
H A D | smb_odir.c | 695 smb_node_t *fnode; in smb_odir_read_streaminfo() local 749 od->d_dnode, odirent->od_name, &fnode); in smb_odir_read_streaminfo() 757 rc = smb_node_getattr(NULL, fnode, kcr, NULL, &attr); in smb_odir_read_streaminfo() 758 smb_node_release(fnode); in smb_odir_read_streaminfo() 1199 smb_node_t *fnode, *tgt_node; in smb_odir_single_fileinfo() local 1216 od->d_dnode, od->d_pattern, &fnode); in smb_odir_single_fileinfo() 1229 rc = smb_vop_lookup(od->d_dnode->vp, fnode->od_name, &vp, in smb_odir_single_fileinfo() 1242 rc = smb_node_getattr(NULL, fnode, zone_kcred(), NULL, &attr); in smb_odir_single_fileinfo() 1244 smb_node_release(fnode); in smb_odir_single_fileinfo() 1250 if (smb_node_is_symlink(fnode) && in smb_odir_single_fileinfo() [all …]
|
H A D | smb_fsops.c | 371 smb_node_t *fnode; in smb_fsop_create_file_with_stream() local 383 sr->tid_tree->t_snode, dnode, fname, &fnode); in smb_fsop_create_file_with_stream() 385 if (smb_fsop_access(sr, sr->user_cr, fnode, in smb_fsop_create_file_with_stream() 387 smb_node_release(fnode); in smb_fsop_create_file_with_stream() 393 attr, &fnode); in smb_fsop_create_file_with_stream() 398 rc = smb_fsop_create_stream(sr, cr, dnode, fnode, sname, flags, attr, in smb_fsop_create_file_with_stream() 405 fnode->od_name, flags, cr); in smb_fsop_create_file_with_stream() 409 smb_node_release(fnode); in smb_fsop_create_file_with_stream() 429 smb_node_t *dnode, smb_node_t *fnode, char *sname, int flags, in smb_fsop_create_stream() argument 445 rc = smb_vop_getattr(fnode->vp, NULL, &fattr, 0, kcr); in smb_fsop_create_stream() [all …]
|
H A D | smb_query_fileinfo.c | 627 smb_node_t *fnode = qinfo->qi_node; in smb_query_stream_info() local 629 ASSERT(fnode); in smb_query_stream_info() 630 if (SMB_IS_STREAM(fnode)) { in smb_query_stream_info() 631 fnode = fnode->n_unode; in smb_query_stream_info() 632 ASSERT(fnode); in smb_query_stream_info() 634 ASSERT(fnode->n_magic == SMB_NODE_MAGIC); in smb_query_stream_info() 635 ASSERT(fnode->n_state != SMB_NODE_STATE_DESTROYING); in smb_query_stream_info() 655 if (smb_node_is_file(fnode)) { in smb_query_stream_info() 661 rc = smb_node_getattr(sr, fnode, sr->user_cr, NULL, &attr); in smb_query_stream_info() 682 status = smb_odir_openat(sr, fnode, &od, B_TRUE); in smb_query_stream_info()
|
H A D | smb_server.c | 988 smb_node_t *fnode = NULL; in smb_server_share_lookup() local 1015 sv->si_root_smb_node, dnode, last_comp, &fnode); in smb_server_share_lookup() 1024 ASSERT(fnode->vp && fnode->vp->v_vfsp); in smb_server_share_lookup() 1026 *nodepp = fnode; in smb_server_share_lookup()
|
H A D | smb_node.c | 402 smb_stream_node_lookup(smb_request_t *sr, cred_t *cr, smb_node_t *fnode, in smb_stream_node_lookup() argument 409 fnode, NULL); in smb_stream_node_lookup() 415 fnode); in smb_stream_node_lookup()
|
H A D | smb2_durable.c | 1052 smb_node_t *fnode = NULL; in smb2_dh_make_persistent() local 1069 rc = smb_fsop_create(sr, kcr, dnode, fname, &attr, &fnode); in smb2_dh_make_persistent() 1076 of->dh_nvfile = fnode; in smb2_dh_make_persistent()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/shared/ |
H A D | topo_sensor.c | 150 tnode_t *fnode = NULL; in topo_sensor_create_scalar_sensor() local 213 if ((fnode = topo_node_facbind(mod, pnode, fname, in topo_sensor_create_scalar_sensor() 226 if (topo_pgroup_create(fnode, &pgi, &err) != 0) { in topo_sensor_create_scalar_sensor() 233 if (topo_prop_set_string(fnode, TOPO_PGROUP_FACILITY, in topo_sensor_create_scalar_sensor() 236 topo_prop_set_uint32(fnode, TOPO_PGROUP_FACILITY, in topo_sensor_create_scalar_sensor() 238 topo_prop_set_uint32(fnode, TOPO_PGROUP_FACILITY, in topo_sensor_create_scalar_sensor() 248 if (topo_method_register(mod, fnode, topo_sensor_scalar_fac_methods) < in topo_sensor_create_scalar_sensor() 263 if (topo_prop_method_register(fnode, TOPO_PGROUP_FACILITY, in topo_sensor_create_scalar_sensor() 281 topo_node_unbind(fnode); in topo_sensor_create_scalar_sensor()
|
/illumos-gate/usr/src/uts/common/fs/fifofs/ |
H A D | fifosubr.c | 804 fifonode_t *fnode; in fifofind() local 807 for (fnode = fifoalloc[FIFOHASH(vp)]; fnode; fnode = fnode->fn_nextp) { in fifofind() 808 if (fnode->fn_realvp == vp) { in fifofind() 809 VN_HOLD(FTOV(fnode)); in fifofind() 810 return (fnode); in fifofind() 826 fifonode_t *fnode; in fiforemove() local 829 fnode = fifoalloc[idx]; in fiforemove() 833 if (fnode != NULL && fnode == fnp && in fiforemove() 834 !fnode->fn_nextp && !fnode->fn_backp) { in fiforemove() 838 for (; fnode; fnode = fnode->fn_nextp) { in fiforemove() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/ |
H A D | fac_prov_ipmi.c | 1438 set_thresh_prop(topo_mod_t *mod, tnode_t *fnode, ipmi_sdr_full_sensor_t *fs, in set_thresh_prop() argument 1446 "%s", thresh->sthr_propname, topo_node_name(fnode)); in set_thresh_prop() 1449 if (topo_prop_set_double(fnode, TOPO_PGROUP_FACILITY, in set_thresh_prop() 1453 "(%s)", thresh->sthr_propname, topo_node_name(fnode), in set_thresh_prop() 1465 tnode_t *fnode; in make_sensor_node() local 1482 if ((fnode = topo_node_facbind(mod, pnode, facname, ftype)) == NULL) { in make_sensor_node() 1493 if (topo_pgroup_create(fnode, &pgi, &err) != 0) { in make_sensor_node() 1497 topo_node_unbind(fnode); in make_sensor_node() 1501 if (topo_method_register(mod, fnode, ipmi_fac_methods) < 0) { in make_sensor_node() 1504 topo_node_unbind(fnode); in make_sensor_node() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_common.c | 391 tnode_t *fnode; in disk_add_temp_sensor() local 396 if ((fnode = topo_node_facbind(mod, pnode, "temp", in disk_add_temp_sensor() 413 if (topo_pgroup_create(fnode, &pgi, &err) != 0) { in disk_add_temp_sensor() 421 if (topo_prop_set_string(fnode, TOPO_PGROUP_FACILITY, in disk_add_temp_sensor() 424 topo_prop_set_uint32(fnode, TOPO_PGROUP_FACILITY, in disk_add_temp_sensor() 427 topo_prop_set_uint32(fnode, TOPO_PGROUP_FACILITY, in disk_add_temp_sensor() 439 if (topo_method_register(mod, fnode, disk_fac_methods) < 0) { in disk_add_temp_sensor() 449 if (topo_prop_method_register(fnode, TOPO_PGROUP_FACILITY, in disk_add_temp_sensor() 454 topo_node_name(fnode), topo_strerror(err)); in disk_add_temp_sensor() 461 topo_node_unbind(fnode); in disk_add_temp_sensor()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 6974 ql_fcache_t *fnode = NULL; in ql_setup_fnode() local 6976 if ((fnode = (ql_fcache_t *)(kmem_zalloc(sizeof (ql_fcache_t), in ql_setup_fnode() 6979 fnode = NULL; in ql_setup_fnode() 6980 } else if ((fnode->buf = (uint8_t *)(kmem_zalloc(FBUFSIZE, in ql_setup_fnode() 6983 kmem_free(fnode, sizeof (ql_fcache_t)); in ql_setup_fnode() 6984 fnode = NULL; in ql_setup_fnode() 6986 fnode->buflen = FBUFSIZE; in ql_setup_fnode() 6989 return (fnode); in ql_setup_fnode()
|