Home
last modified time | relevance | path

Searched refs:fap (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/threads/
H A Dspawn.c204 fd = __open(fap->fa_path, fap->fa_oflag, fap->fa_mode); in perform_file_actions()
229 } while ((fap = fap->fa_next) != froot); in perform_file_actions()
295 if (fap != NULL && fap->fa_need_dirbuf) { in posix_spawn()
399 if (fap != NULL && fap->fa_need_dirbuf) { in posix_spawnp()
533 lfree(fap->fa_path, fap->fa_pathsize); in posix_spawn_file_actions_destroy()
534 lfree(fap, sizeof (*fap)); in posix_spawn_file_actions_destroy()
547 fap->fa_next = fap->fa_prev = fap; in add_file_attr()
576 if ((fap = lmalloc(sizeof (*fap))) == NULL) in posix_spawn_file_actions_addopen()
581 lfree(fap, sizeof (*fap)); in posix_spawn_file_actions_addopen()
604 if ((fap = lmalloc(sizeof (*fap))) == NULL) in posix_spawn_file_actions_addclose()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_client.c212 struct smbfattr *fap, in smbfs_cache_check() argument
230 if (np->r_attr.fa_size != fap->fa_size) in smbfs_cache_check()
270 if (fap->fa_attr & SMB_FA_DIR) { in smbfs_attrcache_fa()
319 np->r_attr = *fap; in smbfs_attrcache_fa()
336 newsize = fap->fa_size; in smbfs_attrcache_fa()
384 *fap = np->r_attr; in smbfs_getattr_cache()
407 bzero(fap, sizeof (*fap)); in smbfs_getattr_otw()
414 fap->fa_attr = SMB_FA_DIR; in smbfs_getattr_otw()
415 fap->fa_size = DEV_BSIZE; in smbfs_getattr_otw()
477 smbfs_cache_check(vp, fap, cr); in smbfs_getattr_otw()
[all …]
H A Dsmbfs_subr.h178 struct smbfattr *fap, struct smb_cred *scrp);
179 int smbfs_smb_getpattr(struct smbnode *np, struct smbfattr *fap,
199 smb_fh_t *fhpp, uint32_t *cr_act_p, struct smbfattr *fap);
206 smb_fh_t **fidpp, struct smbfattr *fap);
223 struct smbfattr *fap, struct smb_cred *scrp);
236 struct smbfattr *fap, struct smb_cred *scrp);
275 struct smbfattr *fap, struct smb_cred *scrp);
313 struct mdchain *mdp, struct smbfattr *fap);
353 void smbfs_attrcache_fa(vnode_t *vp, struct smbfattr *fap);
371 char sep, struct smbfattr *fap);
[all …]
H A Dsmbfs_subr.c351 struct mdchain *mdp, struct smbfattr *fap) in smbfs_decode_file_all_info() argument
363 smb_time_NT2local(llongint, &fap->fa_createtime); in smbfs_decode_file_all_info()
367 smb_time_NT2local(llongint, &fap->fa_atime); in smbfs_decode_file_all_info()
371 smb_time_NT2local(llongint, &fap->fa_mtime); in smbfs_decode_file_all_info()
375 smb_time_NT2local(llongint, &fap->fa_ctime); in smbfs_decode_file_all_info()
379 fap->fa_attr = dattr; in smbfs_decode_file_all_info()
390 fap->fa_allocsz = lsize; in smbfs_decode_file_all_info()
394 fap->fa_size = lsize; in smbfs_decode_file_all_info()
H A Dsmbfs_smb.c75 struct smbfattr *fap, in smbfs_smb_getfattr() argument
82 error = smbfs_smb2_qfileinfo(ssp, &fhp->fh_fid2, fap, scrp); in smbfs_smb_getfattr()
101 struct smbfattr *fap, in smbfs_smb_getpattr() argument
108 error = smbfs_smb2_getpattr(np, fap, scrp); in smbfs_smb_getpattr()
111 error = smbfs_smb1_trans2_query(np, fid, fap, scrp); in smbfs_smb_getpattr()
311 struct smbfattr *fap) /* optional returned attributes */ in smbfs_smb_ntcreatex() argument
330 scrp, fhp, cr_act_p, fap); in smbfs_smb_ntcreatex()
411 smbfattr_t *fap) in smbfs_smb_open() argument
429 scrp, fhp, NULL, fap); in smbfs_smb_open()
705 struct smbfattr *fap, struct smb_cred *scrp) in smbfs_smb_lookup() argument
[all …]
H A Dsmbfs_node.c162 struct smbfattr *fap, vnode_t **vpp) in smbfs_nget() argument
169 ASSERT(fap != NULL); in smbfs_nget()
182 name, nmlen, sep, fap); in smbfs_nget()
H A Dsmbfs_xattr.c246 smbfs_xa_getfattr(struct smbnode *xnp, struct smbfattr *fap, in smbfs_xa_getfattr() argument
263 fap->fa_attr = SMB_FA_DIR; in smbfs_xa_getfattr()
264 fap->fa_size = DEV_BSIZE; in smbfs_xa_getfattr()
286 error = smbfs_smb_lookup(pnp, &name, &nlen, fap, scrp); in smbfs_xa_getfattr()
H A Dsmbfs_subr2.c228 struct smbfattr *fap) in smbfs_node_findcreate() argument
269 if (fap == NULL) in smbfs_node_findcreate()
278 if (fap == NULL) { in smbfs_node_findcreate()
292 if (fap == &smbfs_fattr0) in smbfs_node_findcreate()
300 smbfs_attrcache_fa(vp, fap); in smbfs_node_findcreate()
H A Dsmbfs_smb2.c89 struct smbfattr *fap, in smbfs_smb2_getpattr() argument
106 NULL, fap); in smbfs_smb2_getpattr()
208 struct smbfattr *fap, struct smb_cred *scrp) in smbfs_smb2_qfileinfo() argument
221 error = smbfs_decode_file_all_info(ssp, mdp, fap); in smbfs_smb2_qfileinfo()
H A Dsmbfs_smb1.c138 struct smbfattr *fap, struct smb_cred *scrp) in smbfs_smb1_trans2_query() argument
186 error = smbfs_decode_file_all_info(ssp, mdp, fap); in smbfs_smb1_trans2_query()
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dpe.c1646 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()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subr.h160 uint32_t *cr_act_p, struct smbfattr *fap);
198 uint32_t *cr_act_p, struct smbfattr *fap);
231 uint32_t *cr_act_p, struct smbfattr *fap);
H A Dsmb2_smb.c790 struct smbfattr *fap) /* optional attributes */ in smb2_smb_ntcreate() argument
962 if (fap) in smb2_smb_ntcreate()
963 *fap = fa; /* struct copy */ in smb2_smb_ntcreate()
H A Dsmb_smb.c887 struct smbfattr *fap) /* optional attributes */ in smb1_smb_ntcreate() argument
990 if (fap) in smb1_smb_ntcreate()
991 *fap = fa; /* struct copy */ in smb1_smb_ntcreate()
H A Dsmb_subrs.c1188 uint32_t *cr_act_p, struct smbfattr *fap) in smb_smb_ntcreate() argument
1195 impersonate, scrp, &fhp->fh_fid2, cr_act_p, fap); in smb_smb_ntcreate()
1199 &fhp->fh_fid1, cr_act_p, fap); in smb_smb_ntcreate()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_srv.c4306 fap->type = vt_to_nf3[vap->va_type]; in vattr_to_fattr3()
4308 fap->nlink = (uint32)vap->va_nlink; in vattr_to_fattr3()
4310 fap->uid = (uid3)NFS_UID_NOBODY; in vattr_to_fattr3()
4312 fap->uid = (uid3)vap->va_uid; in vattr_to_fattr3()
4314 fap->gid = (gid3)NFS_GID_NOBODY; in vattr_to_fattr3()
4316 fap->gid = (gid3)vap->va_gid; in vattr_to_fattr3()
4317 fap->size = (size3)vap->va_size; in vattr_to_fattr3()
4321 fap->fsid = (uint64)vap->va_fsid; in vattr_to_fattr3()
4322 fap->fileid = (fileid3)vap->va_nodeid; in vattr_to_fattr3()
4323 fap->atime.seconds = vap->va_atime.tv_sec; in vattr_to_fattr3()
[all …]
H A Dnfs4_callback.c180 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()
/illumos-gate/usr/src/cmd/oawk/
H A Db.c112 struct fa *fap; local
124 fap = cgotofn();
126 return (fap);
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_vn.c5249 struct anon *fap = NULL; in segvn_fault() local
5271 fap = NULL; in segvn_fault()
5277 fap = anon_get_ptr(amp->ahp, in segvn_fault()
5279 if (fap != NULL) { in segvn_fault()
5280 swap_xlate(fap, &fvp, &fpgoff); in segvn_fault()