Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/cmd/smbsrv/testoplock/smbsrv/
H A Dsmb_kproto.h47 boolean_t smb_ofile_is_open(smb_ofile_t *);
76 uint32_t smb_oplock_break_PARENT(smb_node_t *, smb_ofile_t *);
77 uint32_t smb_oplock_break_OPEN(smb_node_t *, smb_ofile_t *,
79 uint32_t smb_oplock_break_BATCH(smb_node_t *, smb_ofile_t *,
81 uint32_t smb_oplock_break_HANDLE(smb_node_t *, smb_ofile_t *);
82 void smb_oplock_break_CLOSE(smb_node_t *, smb_ofile_t *);
83 uint32_t smb_oplock_break_READ(smb_node_t *, smb_ofile_t *);
84 uint32_t smb_oplock_break_WRITE(smb_node_t *, smb_ofile_t *);
86 smb_ofile_t *ofile, uint32_t InfoClass);
88 void smb_oplock_close(smb_ofile_t *);
[all …]
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kproto.h232 smb_ofile_t *);
238 smb_quota_response_t *, smb_ofile_t *);
287 void smb_oplock_close(smb_ofile_t *);
298 void smb_oplock_move(smb_node_t *, smb_ofile_t *, smb_ofile_t *);
438 void smb_opipe_close(smb_ofile_t *);
556 smb_ofile_t *, smb_attr_t *);
558 smb_ofile_t *, smb_attr_t *);
676 void smb_ofile_free(smb_ofile_t *);
680 boolean_t smb_ofile_hold(smb_ofile_t *);
682 void smb_ofile_release(smb_ofile_t *);
[all …]
H A Dsmb2_kproto.h89 smb_ofile_t *src_ofile, smb_ofile_t *dst_ofile,
123 uint32_t smb2_ofile_getstd(smb_ofile_t *, smb_queryinfo_t *);
124 uint32_t smb2_ofile_getname(smb_ofile_t *, smb_queryinfo_t *);
144 void smb2_lease_ofile_close(smb_ofile_t *);
149 boolean_t smb_dh_should_save(smb_ofile_t *);
152 void smb2_dh_close_persistent(smb_ofile_t *);
153 void smb2_dh_close_my_orphans(smb_request_t *, smb_ofile_t *);
155 int smb2_dh_make_persistent(smb_request_t *, smb_ofile_t *);
156 void smb2_dh_setdoc_persistent(smb_ofile_t *);
158 void smb2_dh_update_oplock(smb_request_t *, smb_ofile_t *);
[all …]
H A Dsmb_fsops.h81 int smb_fsop_freesp(smb_request_t *sr, cred_t *cr, smb_ofile_t *,
84 int smb_fsop_read(smb_request_t *, cred_t *, smb_node_t *, smb_ofile_t *,
87 int smb_fsop_write(smb_request_t *, cred_t *, smb_node_t *, smb_ofile_t *,
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_ofile.c331 smb_ofile_t *
341 smb_ofile_t *of; in smb_ofile_alloc()
690 smb_ofile_t *of; in smb_ofile_close_all()
926 smb_ofile_t *
933 smb_ofile_t *of; in smb_ofile_lookup_by_fid()
977 smb_ofile_t *
981 smb_ofile_t *of; in smb_ofile_lookup_by_uniqid()
1031 smb_ofile_t *
1037 smb_ofile_t *of; in smb_ofile_lookup_by_persistid()
1417 smb_ofile_t *of = (smb_ofile_t *)arg; in smb_ofile_save_dh()
[all …]
H A Dsmb2_fsctl_copychunk.c55 static uint32_t smb2_fsctl_copychunk_aapl(smb_request_t *, smb_ofile_t *,
57 static uint32_t smb2_fsctl_copychunk_1(smb_request_t *, smb_ofile_t *,
59 static int smb2_fsctl_copychunk_meta(smb_request_t *, smb_ofile_t *);
77 smb_ofile_t *dst_of = sr->fid_ofile; in smb2_fsctl_copychunk()
78 smb_ofile_t *src_of = NULL; in smb2_fsctl_copychunk()
292 smb2_fsctl_copychunk_array(smb_request_t *sr, smb_ofile_t *src_of, in smb2_fsctl_copychunk_array()
356 smb2_fsctl_copychunk_aapl(smb_request_t *sr, smb_ofile_t *src_of, in smb2_fsctl_copychunk_aapl()
424 smb2_fsctl_copychunk_meta(smb_request_t *sr, smb_ofile_t *src_of) in smb2_fsctl_copychunk_meta()
428 smb_ofile_t *dst_of = sr->fid_ofile; in smb2_fsctl_copychunk_meta()
471 smb2_fsctl_copychunk_1(smb_request_t *sr, smb_ofile_t *src_ofile, in smb2_fsctl_copychunk_1()
[all …]
H A Dsmb_cmn_oplock.c46 smb_ofile_t *ofile, /* in: the "Open" */
51 smb_ofile_t *ofile, /* the "Open" */
79 CompareOplockKeys(smb_ofile_t *OperOpen, smb_ofile_t *OplockOpen, int flags) in CompareOplockKeys()
237 smb_ofile_t *o; in RecomputeOplockState()
559 smb_ofile_t *o; in smb_oplock_req_excl()
1065 smb_ofile_t *o; in smb_oplock_req_shared()
1490 smb_ofile_t *ofile, in smb_oplock_ack_break()
1742 smb_ofile_t *o; in smb_oplock_ack_break()
2367 smb_ofile_t *o; in smb_oplock_break_CLOSE()
2736 smb_ofile_t *o = NULL; in smb_oplock_break_cmn()
[all …]
H A Dsmb_srv_oplock.c77 static void smb_oplock_hdl_moved(smb_ofile_t *);
78 static void smb_oplock_hdl_closed(smb_ofile_t *);
455 smb_ofile_t *ofile = sr->fid_ofile; in smb_oplock_send_break()
477 static const smb_ofile_t invalid_ofile;
479 smb_oplock_hdl_moved(smb_ofile_t *ofile) in smb_oplock_hdl_moved()
485 ls->ls_oplock_ofile = (smb_ofile_t *)&invalid_ofile; in smb_oplock_hdl_moved()
500 smb_oplock_hdl_closed(smb_ofile_t *ofile) in smb_oplock_hdl_closed()
541 smb_ofile_t *ofile = sr->fid_ofile; in smb_oplock_hdl_update()
589 smb_oplock_close(smb_ofile_t *ofile) in smb_oplock_close()
622 smb_ofile_t *ofile = sr->fid_ofile; in smb_oplock_wait_ack_cancel()
[all …]
H A Dsmb2_durable.c180 smb_dh_should_save(smb_ofile_t *of) in smb_dh_should_save()
356 smb_ofile_t *of; in smb2_dh_import_share()
493 static smb_ofile_t *
504 smb_ofile_t *of = NULL; in smb2_dh_import_handle()
1141 smb_ofile_t *of = sr->fid_ofile; in smb2_dh_update_nvfile()
1423 smb_ofile_t *of; in smb2_dh_reconnect()
1544 smb_ofile_t *of = (smb_ofile_t *)arg; in smb2_dh_expire()
1569 smb_ofile_t *of; in smb2_durable_timers()
1634 smb_ofile_t *of; in smb2_dh_close_my_orphans()
1675 smb_ofile_t *of = (smb_ofile_t *)arg; in smb2_dh_cleanup()
[all …]
H A Dsmb2_lease.c154 smb_ofile_t *of = sr->fid_ofile; in smb2_lease_create()
277 smb_ofile_t *o; in lease_find_oplock()
315 smb_ofile_t *ofile; in smb2_lease_break_ack()
517 smb_ofile_t *o; in lease_send_any_cn()
518 smb_ofile_t *ofile = sr->fid_ofile; in lease_send_any_cn()
558 smb_ofile_t *of = (smb_ofile_t *)arg; in lease_ofile_close_rele()
577 smb_ofile_t *o; in lease_close_notconn()
578 smb_ofile_t *ofile = sr->fid_ofile; in lease_close_notconn()
641 smb_ofile_t *old_ofile; in smb2_lease_send_break()
642 smb_ofile_t *ofile = sr->fid_ofile; in smb2_lease_send_break()
[all …]
H A Dsmb_notify.c169 static void smb_notify_encode_action(smb_ofile_t *,
185 smb_ofile_t *of; in smb_notify_act1()
272 smb_ofile_t *of; in smb_notify_act2()
348 smb_ofile_t *of; in smb_notify_act3()
408 smb_ofile_t *of; in smb_notify_get_events()
644 smb_notify_ofile(smb_ofile_t *of, uint_t action, const char *name) in smb_notify_ofile()
718 smb_notify_encode_action(smb_ofile_t *of, in smb_notify_encode_action()
H A Dsmb2_setinfo_file.c43 smb_ofile_t *of = sr->fid_ofile; in smb2_setinfo_file()
179 smb_ofile_t *of = sr->fid_ofile; in smb2_setf_seek()
238 smb_ofile_t *of = sr->fid_ofile; in smb2_setf_pipe()
275 smb_ofile_t *of = sr->fid_ofile; in smb2_setf_valid_len()
302 smb_ofile_t *of = sr->fid_ofile; in smb2_setf_shortname()
H A Dsmb2_ofile.c23 smb2_ofile_getattr(smb_request_t *sr, smb_ofile_t *of, smb_attr_t *ap) in smb2_ofile_getattr()
57 smb2_ofile_getstd(smb_ofile_t *of, smb_queryinfo_t *qi) in smb2_ofile_getstd()
86 smb2_ofile_getname(smb_ofile_t *of, smb_queryinfo_t *qi) in smb2_ofile_getname()
H A Dsmb2_qinfo_file.c60 smb_ofile_t *of = sr->fid_ofile; in smb2_qinfo_file()
389 smb_ofile_t *of = sr->fid_ofile; in smb2_qif_access()
468 smb_ofile_t *of = sr->fid_ofile; in smb2_qif_position()
491 smb_ofile_t *of = sr->fid_ofile; in smb2_qif_mode()
547 smb_ofile_t *of = sr->fid_ofile; in smb2_qif_altname()
577 smb_ofile_t *of = sr->fid_ofile; in smb2_qif_stream()
599 smb_ofile_t *of = sr->fid_ofile; in smb2_qif_pipe()
733 smb_ofile_t *of = sr->fid_ofile; in smb2_qif_id_info()
H A Dsmb_oplock.c43 smb_ofile_t *ofile; in smb1_oplock_ack_break()
77 smb_ofile_t *ofile = sr->fid_ofile; in smb1_oplock_break_notification()
139 smb_ofile_t *ofile = sr->fid_ofile; in smb1_oplock_send_break()
238 smb_ofile_t *ofile = sr->fid_ofile; in smb1_oplock_acquire()
H A Dsmb_opipe.c303 smb_opipe_open(smb_request_t *sr, smb_ofile_t *ofile) in smb_opipe_open()
376 smb_opipe_close(smb_ofile_t *of) in smb_opipe_close()
407 smb_ofile_t *ofile; in smb_opipe_write()
457 smb_ofile_t *ofile; in smb_opipe_read()
545 smb_ofile_t *ofile; in smb_opipe_ioctl()
575 smb_opipe_getattr(smb_ofile_t *of, smb_attr_t *ap) in smb_opipe_getattr()
591 smb_opipe_getname(smb_ofile_t *of, char *buf, size_t buflen) in smb_opipe_getname()
641 smb_ofile_t *ofile; in smb_opipe_transceive()
H A Dsmb2_oplock.c41 smb_ofile_t *ofile; in smb2_oplock_break_ack()
223 smb_ofile_t *ofile = sr->fid_ofile; in smb2_oplock_break_notification()
301 smb_ofile_t *ofile = sr->fid_ofile; in smb2_oplock_send_break()
412 smb_ofile_t *ofile = sr->fid_ofile; in smb2_oplock_acquire()
551 smb_ofile_t *ofile = sr->fid_ofile; in smb2_oplock_reconnect()
H A Dsmb_node.c773 smb_ofile_t *of; in smb_node_open_check()
791 smb_ofile_t *, of, in smb_node_open_check()
806 smb_ofile_t *of; in smb_node_rename_check()
826 DTRACE_PROBE1(conflict1, smb_ofile_t *, of); in smb_node_rename_check()
838 smb_ofile_t *of; in smb_node_delete_check()
864 DTRACE_PROBE1(conflict1, smb_ofile_t *, of); in smb_node_delete_check()
882 smb_ofile_t *of; in smb_node_share_check()
926 smb_ofile_t *of; in smb_node_notify_change()
1303 offsetof(smb_ofile_t, f_node_lnd)); in smb_node_constructor()
1530 cred_t *cr, smb_ofile_t *of, smb_attr_t *attr) in smb_node_setattr()
[all …]
H A Dsmb2_lock.c39 static boolean_t smb2_lock_chk_lockseq(smb_ofile_t *, uint32_t);
40 static void smb2_lock_set_lockseq(smb_ofile_t *, uint32_t);
353 smb2_lock_chk_lockseq(smb_ofile_t *ofile, uint32_t lockseq) in smb2_lock_chk_lockseq()
386 smb2_lock_set_lockseq(smb_ofile_t *ofile, uint32_t lockseq) in smb2_lock_set_lockseq()
H A Dsmb2_fsctl_sparse.c36 smb_ofile_t *ofile = sr->fid_ofile; in smb2_fsctl_set_sparse()
94 smb_ofile_t *ofile = sr->fid_ofile; in smb2_fsctl_set_zero_data()
171 smb_ofile_t *ofile = sr->fid_ofile; in smb2_fsctl_query_alloc_ranges()
296 smb_ofile_t *src_ofile, smb_ofile_t *dst_ofile, in smb2_sparse_copy()
453 smb_ofile_t *ofile = sr->fid_ofile; in smb2_fsctl_query_file_regions()
H A Dsmb_lock.c52 static uint32_t smb_lock_range_lckrules(smb_ofile_t *, smb_lock_t *,
55 static uint32_t smb_lock_range_ulckrules(smb_ofile_t *,
66 smb_lock_get_lock_count(smb_node_t *node, smb_ofile_t *of) in smb_lock_get_lock_count()
104 smb_ofile_t *file = sr->fid_ofile; in smb_unlock_range()
178 smb_ofile_t *file = sr->fid_ofile; in smb_lock_range()
418 smb_node_destroy_lock_by_ofile(smb_node_t *node, smb_ofile_t *file) in smb_node_destroy_lock_by_ofile()
716 smb_ofile_t *file, in smb_lock_range_lckrules()
951 smb_ofile_t *file, in smb_lock_range_ulckrules()
H A Dsmb2_fsctl_odx.c185 smb_ofile_t *ofile = sr->fid_ofile; in smb2_fsctl_odx_read()
390 smb_ofile_t *ofile = sr->fid_ofile; in smb2_fsctl_odx_write()
551 smb_ofile_t *dst_ofile = sr->fid_ofile; in smb2_fsctl_odx_write_zeros()
655 smb_ofile_t *dst_ofile = sr->fid_ofile; in smb2_fsctl_odx_write_native1()
656 smb_ofile_t *src_ofile = NULL; in smb2_fsctl_odx_write_native1()
H A Dsmb_nt_transact_quota.c89 smb_ofile_t *ofile; in smb_nt_transact_query_quota()
226 smb_ofile_t *ofile; in smb_nt_transact_set_quota()
/illumos-gate/usr/src/cmd/smbsrv/testoplock/
H A Dtol_main.c48 smb_ofile_t ofile_array[MAXFID];
125 smb_ofile_t *f; in do_show()
166 smb_ofile_t *ofile = &ofile_array[fid]; in do_open()
191 smb_ofile_t *ofile = &ofile_array[fid]; in do_close()
222 smb_ofile_t *ofile = &ofile_array[fid]; in do_req()
249 smb_ofile_t *ofile = &ofile_array[fid]; in do_ack()
284 smb_ofile_t *ofile = &ofile_array[fid]; in do_brk_parent()
295 smb_ofile_t *ofile = &ofile_array[fid]; in do_brk_open()
367 smb_ofile_t *of2; in do_move()
430 smb_ofile_t *f = &ofile_array[fid]; in main()
[all …]
H A Dtol_all.d94 this->ofile = (userland pid`smb_ofile_t *)arg1;
103 this->ofile = (userland pid`smb_ofile_t *)arg0;

123