/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_close.c | 2 * This file and its contents are supplied under the terms of the 4 * You may only use this file in accordance with the terms of version 5 * 1.0 of the CDDL. 7 * A full copy of the text of the CDDL should have accompanied this 8 * source. A copy of the CDDL is also available via the Internet at 26 smb_ofile_t *of; local 54 of = sr->fid_ofile; 59 status = smb2_ofile_getattr(sr, of, &attr); 70 smb_ofile_close(of, [all...] |
H A D | smb2_ofile.c | 2 * This file and its contents are supplied under the terms of the 4 * You may only use this file in accordance with the terms of version 5 * 1.0 of the CDDL. 7 * A full copy of the text of the CDDL should have accompanied this 8 * source. A copy of the CDDL is also available via the Internet at 23 smb2_ofile_getattr(smb_request_t *sr, smb_ofile_t *of, smb_attr_t *ap) argument 32 switch (of->f_ftype) { 35 rc = smb_node_getattr(sr, of->f_node, of 57 smb2_ofile_getstd(smb_ofile_t *of, smb_queryinfo_t *qi) argument 86 smb2_ofile_getname(smb_ofile_t *of, smb_queryinfo_t *qi) argument [all...] |
H A D | smb_nt_create_andx.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 43 * UCHAR WordCount; Count of parameter words = 24 48 * USHORT NameLength; Length of Name[] in bytes 52 * 0x08 - Target of open must be 59 * ULONG ShareAccess; Type of share access 67 * USHORT ByteCount; Length of byte parameters 77 * for the file. The parameter's value is the sum of allowe 235 smb_ofile_t *of; local [all...] |
H A D | smb2_read.c | 2 * This file and its contents are supplied under the terms of the 4 * You may only use this file in accordance with the terms of version 5 * 1.0 of the CDDL. 7 * A full copy of the text of the CDDL should have accompanied this 8 * source. A copy of the CDDL is also available via the Internet at 26 smb_ofile_t *of = NULL; local 71 of = sr->fid_ofile; 93 switch (of->f_tree->t_res_type & STYPE_MASK) { 95 if (!smb_node_is_dir(of [all...] |
H A D | smb2_write.c | 2 * This file and its contents are supplied under the terms of the 4 * You may only use this file in accordance with the terms of version 5 * 1.0 of the CDDL. 7 * A full copy of the text of the CDDL should have accompanied this 8 * source. A copy of the CDDL is also available via the Internet at 26 smb_ofile_t *of = NULL; local 71 of = sr->fid_ofile; 104 switch (of->f_tree->t_res_type & STYPE_MASK) { 107 if (!smb_node_is_dir(of [all...] |
H A D | smb_cmn_setfile.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 183 * of the Trans2SetFileInfo(SetDispositionInfo) if mark_delete is set. 188 * Observation of Windows 2000 indicates the following: 212 smb_ofile_t *of = sr->fid_ofile; local 219 if ((of == NULL) || !(smb_ofile_granted_access(of) & DELETE)) 225 return (smb_node_set_delete_on_close(node, of [all...] |
H A D | smb_nt_transact_create.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 47 * The format of the command is SmbNtTransact but it is basically the same 145 smb_ofile_t *of; local 199 of = sr->fid_ofile; 205 smb_ofile_set_delete_on_close(of); 207 DirFlag = smb_node_is_dir(of->f_node) ? 1 : 0; 210 rc = smb_node_getattr(sr, of [all...] |
H A D | smb_open_andx.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 35 * UCHAR WordCount; Count of parameter words = 15 53 * USHORT ByteCount; Count of data bytes; min = 1 60 * UCHAR WordCount; Count of parameter words = 15 71 * USHORT FileType; Type of file opened 72 * USHORT DeviceState; State of the named pipe 76 * USHORT ByteCount; Count of dat 245 smb_ofile_t *of; local 377 smb_ofile_t *of; local [all...] |
H A D | smb2_setinfo_file.c | 2 * This file and its contents are supplied under the terms of the 4 * You may only use this file in accordance with the terms of version 5 * 1.0 of the CDDL. 7 * A full copy of the text of the CDDL should have accompanied this 8 * source. A copy of the CDDL is also available via the Internet at 42 smb_ofile_t *of = sr->fid_ofile; local 45 si->si_node = of->f_node; 163 smb_ofile_t *of = sr->fid_ofile; local 169 ASSERT(of 259 smb_ofile_t *of = sr->fid_ofile; local [all...] |
H A D | smb_notify.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 34 * has changed, and optionally returns the names of files and 36 * specifies a "Completion Filter" to select which kinds of 40 * the command completes. The names of the files that have changed since 44 * is returned in the Status field of the response. 46 * The CompletionFilter is a mask created as the sum of any of th 247 smb_notify_file_closed(struct smb_ofile *of) argument [all...] |
H A D | smb_nt_transact_ioctl.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 39 * This table defines the list of FSCTL values for which we'll 68 * of ISFLAGS is set. 82 * Setup[0] Length of information returned by 84 * DataCount Length of information returned by 86 * Data[ DataCount ] The results of the io or fs control. 144 * the sparse attribute of th 153 smb_ofile_t *of; local 270 smb_ofile_t *of; local [all...] |
H A D | smb2_qinfo_file.c | 2 * This file and its contents are supplied under the terms of the 4 * You may only use this file in accordance with the terms of version 5 * 1.0 of the CDDL. 7 * A full copy of the text of the CDDL should have accompanied this 8 * source. A copy of the CDDL is also available via the Internet at 52 smb_ofile_t *of = sr->fid_ofile; local 103 qi->qi_node = of->f_node; 105 status = smb2_ofile_getattr(sr, of, &qi->qi_attr); 110 status = smb2_ofile_getstd(of, q 425 smb_ofile_t *of = sr->fid_ofile; local 452 smb_ofile_t *of = sr->fid_ofile; local [all...] |
H A D | smb_oplock.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 37 * The purpose of this mechanism is to prevent another thread from 107 * of them. The skc_oplock_enable parameter can be used to enable 121 * If any of the following are true, grant NONE: 227 * Wait for acknowledgement of the break (unless NOWAIT flag is set) 336 * avoid breaking oplocks until that's out of the way. However, we 349 /* Instead of 549 smb_oplock_release(smb_node_t *node, smb_ofile_t *of) argument 588 smb_oplock_ack(smb_node_t *node, smb_ofile_t *of, uint8_t brk) argument 688 smb_oplock_set_grant(smb_ofile_t *of, uint8_t level) argument [all...] |
H A D | smb2_query_dir.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 46 uint16_t fa_fixedsize; /* size of fixed part of a returned entry */ 48 int fa_last_entry; /* offset of last entry */ 58 * number of entries to be returned. 67 smb_ofile_t *of = NULL; local 104 of [all...] |
H A D | smb_common_open.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 178 * file open may be in the process of closing it. 212 * of the protocol specify the write-through mode when a file is opened, 242 * 1. The creator of a readonly file can write to/modify the size of the file 249 * readonly will be successful regardless of whether a creator of 300 smb_ofile_t *of; local 999 smb_set_open_attributes(smb_request_t *sr, smb_ofile_t *of) argument [all...] |
H A D | smb_lock.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 56 * Return the number of range locks on the specified ofile. 59 smb_lock_get_lock_count(smb_node_t *node, smb_ofile_t *of) argument 66 SMB_OFILE_VALID(of); 74 if (lock->l_file == of) 124 * Checks for integrity of file lock operation for the given range of fil [all...] |
H A D | smb_odir.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 30 * This is a simplified diagram showing the relationship between most of the 98 * - the odir exists in the list of odirs of its tree 105 * - the odir exists in the list of odirs of its tree. 114 * - the odir exists in the list of odir 342 smb_ofile_t *of = sr->fid_ofile; local [all...] |
H A D | smb_opipe.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 173 * on the number of open pipes. That's this status: 206 * a file open is requested on a share of type STYPE_IPC. 275 smb_opipe_close(smb_ofile_t *of) argument 280 ASSERT(of->f_state == SMB_OFILE_STATE_CLOSING); 281 ASSERT(of->f_ftype == SMB_FTYPE_MESG_PIPE); 282 opipe = of 435 smb_opipe_getattr(smb_ofile_t *of, smb_attr_t *ap) argument 450 smb_opipe_getname(smb_ofile_t *of, char *buf, size_t buflen) argument [all...] |
H A D | smb2_create.c | 2 * This file and its contents are supplied under the terms of the 4 * You may only use this file in accordance with the terms of version 5 * 1.0 of the CDDL. 7 * A full copy of the text of the CDDL should have accompanied this 8 * source. A copy of the CDDL is also available via the Internet at 25 * Some flags used locally to keep track of which Create Context 76 smb_ofile_t *of = NULL; local 308 of = sr->fid_ofile; 316 smb_ofile_set_delete_on_close(of); [all...] |
H A D | smb_dispatch.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 35 * smb_flg a one byte set of eight flags 36 * smb_flg2 a two byte set of 16 flags 50 * smb_wct a byte, number of 16-bit words containing 55 * to the smb_wct field of the "next" command, 59 * first parameters, or the andx_com of the just 61 * smb_bcc a 16-bit count of smb_dat 1147 smb_ofile_t *of = sr->fid_ofile; local [all...] |
H A D | smb_ofile.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 31 * This is a simplified diagram showing the relationship between most of the 93 * - The ofile is queued in the list of ofiles of its tree. 99 * - The ofile is queued in the list of ofiles of its tree. 107 * - The ofile is queued in the list of ofile 187 smb_ofile_t *of; local 324 smb_ofile_close(smb_ofile_t *of, int32_t mtime_sec) argument 455 smb_ofile_t *of; local 480 smb_ofile_t *of; local 506 smb_ofile_enum(smb_ofile_t *of, smb_svcenum_t *svcenum) argument 546 smb_ofile_hold(smb_ofile_t *of) argument 570 smb_ofile_release(smb_ofile_t *of) argument 607 smb_ofile_request_complete(smb_ofile_t *of) argument 637 smb_ofile_t *of; local 687 smb_ofile_t *of; local 720 smb_ofile_disallow_fclose(smb_ofile_t *of) argument 752 smb_ofile_set_flags( smb_ofile_t *of, uint32_t flags) argument 776 smb_ofile_seek( smb_ofile_t *of, ushort_t mode, int32_t off, uint32_t *retoff) argument 849 smb_ofile_flush(struct smb_request *sr, struct smb_ofile *of) argument 865 smb_ofile_is_open(smb_ofile_t *of) argument 884 smb_ofile_is_open_locked(smb_ofile_t *of) argument 907 smb_ofile_close_and_next(smb_ofile_t *of) argument 957 smb_ofile_t *of = (smb_ofile_t *)arg; local 1005 smb_ofile_access(smb_ofile_t *of, cred_t *cr, uint32_t access) argument 1034 smb_ofile_share_check(smb_ofile_t *of) argument 1047 smb_ofile_open_check(smb_ofile_t *of, uint32_t desired_access, uint32_t share_access) argument 1121 smb_ofile_rename_check(smb_ofile_t *of) argument 1169 smb_ofile_delete_check(smb_ofile_t *of) argument 1192 smb_ofile_getcred(smb_ofile_t *of) argument 1211 smb_ofile_set_delete_on_close(smb_ofile_t *of) argument 1223 smb_ofile_netinfo_encode(smb_ofile_t *of, uint8_t *buf, size_t buflen, uint32_t *nbytes) argument 1239 smb_ofile_netinfo_init(smb_ofile_t *of, smb_netfileinfo_t *fi) argument [all...] |
/illumos-gate/usr/src/cmd/xstr/ |
H A D | xstr.c | 10 * Copyright (c) 1980 Regents of the University of California. 461 istail(char *str, char *of) argument 463 int d = strlen(of) - strlen(str); 465 if (d < 0 || strcmp(&of[d], str) != 0)
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | ofmt.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 40 * of fields selected for output. 44 const char **s_fields; /* array of pointers to the fields in s_buf */ 45 uint_t s_nfields; /* the number of fields in s_buf */ 53 * The state of the output is tracked in a ofmt_state_t structure. 56 * os_nfields set to the number of requested fields. 72 * of th 184 ofmt_field_t *of; local 424 ofmt_field_t *of; local 510 ofmt_field_t *of = os->os_fields; local [all...] |
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | read.c | 56 const char *file; /* filename of current input file */ 58 struct buf *secondary; /* preprocessed copy of input */ 61 enum mandoclevel file_status; /* status of current parse */ 65 int filenc; /* encoding of the current file */ 106 "prologue macros out of order", 115 "description not at the end of NAME", 118 "sections out of conventional order", 129 "moving paragraph macro out of list", 133 "moving content out of list", 167 "wrong number of cell 328 int of; local [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | collect.c | 4 * The contents of this file are subject to the terms of the 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 17 * information: Portions Copyright [yyyy] [name of copyright owner] 31 * The Regents of the University of California 34 * University Acknowledgment- Portions of this document are derived from 35 * software developed by the University of California, Berkeley, and its 40 * mailx -- a modified version of a University of Californi 772 register FILE *of; local [all...] |