/titanic_41/usr/src/lib/libc/port/threads/ |
H A D | spawn.c | 196 perform_file_actions(file_attr_t *fap, void *dirbuf) in perform_file_actions() argument 198 file_attr_t *froot = fap; in perform_file_actions() 202 switch (fap->fa_type) { in perform_file_actions() 204 fd = __open(fap->fa_path, fap->fa_oflag, fap->fa_mode); in perform_file_actions() 207 if (fd != fap->fa_filedes) { in perform_file_actions() 208 if (__fcntl(fd, F_DUP2FD, fap->fa_filedes) < 0) in perform_file_actions() 214 if (__close(fap->fa_filedes) == -1 && in perform_file_actions() 219 fd = __fcntl(fap->fa_filedes, F_DUP2FD, in perform_file_actions() 220 fap->fa_newfiledes); in perform_file_actions() 225 if (spawn_closefrom(fap->fa_filedes, dirbuf)) in perform_file_actions() [all …]
|
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_client.c | 152 struct smbfattr *fap) in smbfs_cache_check() argument 166 if (np->r_attr.fa_mtime.tv_sec != fap->fa_mtime.tv_sec || in smbfs_cache_check() 167 np->r_attr.fa_mtime.tv_nsec != fap->fa_mtime.tv_nsec) in smbfs_cache_check() 169 if (np->r_attr.fa_size != fap->fa_size) in smbfs_cache_check() 172 if (np->r_attr.fa_ctime.tv_sec != fap->fa_ctime.tv_sec || in smbfs_cache_check() 173 np->r_attr.fa_ctime.tv_nsec != fap->fa_ctime.tv_nsec) in smbfs_cache_check() 210 smbfs_attrcache_fa(vnode_t *vp, struct smbfattr *fap) in smbfs_attrcache_fa() argument 226 if (fap->fa_attr & SMB_FA_DIR) { in smbfs_attrcache_fa() 252 if (fap->fa_mtime.tv_sec != np->r_attr.fa_mtime.tv_sec || in smbfs_attrcache_fa() 253 fap->fa_mtime.tv_nsec != np->r_attr.fa_mtime.tv_nsec || in smbfs_attrcache_fa() [all …]
|
H A D | smbfs_subr.h | 167 int smbfs_smb_getfattr(struct smbnode *np, struct smbfattr *fap, 176 uint16_t *fidp, uint32_t *rightsp, struct smbfattr *fap); 204 struct smbfattr *fap, struct smb_cred *scrp); 250 void smbfs_attrcache_fa(vnode_t *vp, struct smbfattr *fap); 251 void smbfs_cache_check(struct vnode *vp, struct smbfattr *fap); 266 char sep, struct smbfattr *fap); 269 struct smbfattr *fap, vnode_t **vpp); 292 int smbfs_xa_getfattr(struct smbnode *np, struct smbfattr *fap,
|
H A D | smbfs_smb.c | 71 struct smbfattr *fap, struct smb_cred *scrp); 72 int smbfs_smb_trans2_query(struct smbnode *np, struct smbfattr *fap, 194 struct smbfattr *fap, in smbfs_smb_getfattr() argument 209 error = smbfs_xa_getfattr(np, fap, scrp); in smbfs_smb_getfattr() 213 error = smbfs_smb_trans2_query(np, fap, scrp, 0); in smbfs_smb_getfattr() 218 error = smbfs_smb_query_info(np, NULL, 0, fap, scrp); in smbfs_smb_getfattr() 227 smbfs_smb_trans2_query(struct smbnode *np, struct smbfattr *fap, in smbfs_smb_trans2_query() argument 303 smb_dos2unixtime(date, time, 0, svtz, &fap->fa_createtime); in smbfs_smb_trans2_query() 306 smb_dos2unixtime(date, time, 0, svtz, &fap->fa_atime); in smbfs_smb_trans2_query() 309 smb_dos2unixtime(date, time, 0, svtz, &fap->fa_mtime); in smbfs_smb_trans2_query() [all …]
|
H A D | smbfs_node.c | 159 struct smbfattr *fap, vnode_t **vpp) in smbfs_nget() argument 166 ASSERT(fap != NULL); in smbfs_nget() 179 name, nmlen, sep, fap); in smbfs_nget()
|
H A D | smbfs_xattr.c | 242 smbfs_xa_getfattr(struct smbnode *xnp, struct smbfattr *fap, in smbfs_xa_getfattr() argument 259 fap->fa_attr = SMB_FA_DIR; in smbfs_xa_getfattr() 260 fap->fa_size = DEV_BSIZE; in smbfs_xa_getfattr() 282 error = smbfs_smb_lookup(pnp, &name, &nlen, fap, scrp); in smbfs_xa_getfattr()
|
H A D | smbfs_subr2.c | 214 struct smbfattr *fap) in smbfs_node_findcreate() argument 255 if (fap == NULL) in smbfs_node_findcreate() 264 if (fap == NULL) { in smbfs_node_findcreate() 278 if (fap == &smbfs_fattr0) in smbfs_node_findcreate() 291 smbfs_cache_check(vp, fap); in smbfs_node_findcreate() 293 smbfs_attrcache_fa(vp, fap); in smbfs_node_findcreate()
|
/titanic_41/usr/src/uts/common/io/chxge/ |
H A D | pe.c | 1646 fake_arp_t *fap; in pe_make_fake_arp() local 1664 fap = (fake_arp_t *)&bp->b_rptr[SZ_CPL_TX_PKT]; in pe_make_fake_arp() 1666 bcopy(arpp, fap, sizeof (*fap)); /* copy first arp to mblk */ in pe_make_fake_arp() 1668 bcopy(buf, fap->fa_dst, 6); /* overwrite dst mac */ in pe_make_fake_arp() 1669 chp->ch_ip = fap->fa_src_ip; /* not used yet */ in pe_make_fake_arp() 1670 bcopy(buf, fap->fa_dst_mac, 6); /* overwrite dst mac */ in pe_make_fake_arp() 1697 fake_arp_t fap; in pe_get_ip() local 1703 bcopy(arpp, &fap, sizeof (fap)); /* copy first arp to buffer */ in pe_get_ip() 1704 return (fap.fa_src_ip); in pe_get_ip()
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_srv.c | 4193 vattr_to_fattr3(struct vattr *vap, fattr3 *fap) in vattr_to_fattr3() argument 4201 fap->type = vt_to_nf3[vap->va_type]; in vattr_to_fattr3() 4202 fap->mode = (mode3)(vap->va_mode & MODEMASK); in vattr_to_fattr3() 4203 fap->nlink = (uint32)vap->va_nlink; in vattr_to_fattr3() 4205 fap->uid = (uid3)NFS_UID_NOBODY; in vattr_to_fattr3() 4207 fap->uid = (uid3)vap->va_uid; in vattr_to_fattr3() 4209 fap->gid = (gid3)NFS_GID_NOBODY; in vattr_to_fattr3() 4211 fap->gid = (gid3)vap->va_gid; in vattr_to_fattr3() 4212 fap->size = (size3)vap->va_size; in vattr_to_fattr3() 4213 fap->used = (size3)DEV_BSIZE * (size3)vap->va_nblocks; in vattr_to_fattr3() [all …]
|
H A D | nfs4_callback.c | 180 struct fattr4 *fap; in cb_getattr() local 302 fap = &resp->obj_attributes; in cb_getattr() 304 fap->attrmask = 0; in cb_getattr() 306 fap->attrlist4 = (char *)fdata; in cb_getattr() 307 fap->attrlist4_len = 0; in cb_getattr() 347 fap->attrlist4_len += 2 * BYTES_PER_XDR_UNIT; in cb_getattr() 348 fap->attrmask |= FATTR4_CHANGE_MASK; in cb_getattr() 365 fap->attrlist4_len += 2 * BYTES_PER_XDR_UNIT; in cb_getattr() 366 fap->attrmask |= FATTR4_SIZE_MASK; in cb_getattr()
|
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_subr.h | 168 uint32_t *cr_act_p, struct smbfattr *fap);
|
H A D | smb_smb.c | 368 struct smbfattr *fap) /* optional attributes */ in smb_smb_ntcreate() argument 471 if (fap) in smb_smb_ntcreate() 472 *fap = fa; /* struct copy */ in smb_smb_ntcreate()
|
/titanic_41/usr/src/cmd/oawk/ |
H A D | b.c | 114 struct fa *fap; local 126 fap = cgotofn(); 128 return (fap);
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | seg_vn.c | 5259 struct anon *fap = NULL; in segvn_fault() local 5281 fap = NULL; in segvn_fault() 5287 fap = anon_get_ptr(amp->ahp, in segvn_fault() 5289 if (fap != NULL) { in segvn_fault() 5290 swap_xlate(fap, &fvp, &fpgoff); in segvn_fault()
|