/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfeature.h | 37 #define VALID_FEATURE_FID(fid) ((fid) >= 0 && (fid) < SPA_FEATURES) 38 #define VALID_FEATURE_OR_NONE(fid) ((fid) == SPA_FEATURE_NONE || \ 39 VALID_FEATURE_FID(fid)) 52 extern boolean_t spa_feature_enabled_txg(spa_t *spa, spa_feature_t fid,
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devfm.c | 236 fm_ioc_data_t fid; local 261 fid.fid_version = fid32.fid_version; 262 fid.fid_insz = fid32.fid_insz; 263 fid.fid_inbuf = (caddr_t)(uintptr_t)fid32.fid_inbuf; 264 fid.fid_outsz = fid32.fid_outsz; 265 fid.fid_outbuf = (caddr_t)(uintptr_t)fid32.fid_outbuf; 270 if (ddi_copyin((void *)data, &fid, sizeof (fm_ioc_data_t), 276 fid.fid_version != vers) 279 if (fid.fid_insz > FM_IOC_MAXBUFSZ) 281 if (fid [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfeature.c | 375 feature_do_action(spa_t *spa, spa_feature_t fid, feature_action_t action, argument 379 zfeature_info_t *feature = &spa_feature_table[fid]; 383 ASSERT(VALID_FEATURE_FID(fid)); 434 spa_feature_enable(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) argument 437 ASSERT(VALID_FEATURE_FID(fid)); 438 feature_enable_sync(spa, &spa_feature_table[fid], tx); 442 spa_feature_incr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) argument 444 feature_do_action(spa, fid, FEATURE_ACTION_INCR, tx); 448 spa_feature_decr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) argument 450 feature_do_action(spa, fid, FEATURE_ACTION_DEC 454 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) argument 469 spa_feature_is_active(spa_t *spa, spa_feature_t fid) argument 493 spa_feature_enabled_txg(spa_t *spa, spa_feature_t fid, uint64_t *txg) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_ns.c | 39 * returns the filehandle of vp as its fid. When nfs uses fid to set the 41 * the fid of the exported directory. This routine remaps the value of the 42 * attribute va_nodeid of vp to be the fid of vp, so that the fid can fit. 44 * We need this fid mainly for setting up NFSv4 server namespace where an 61 * XXX nfs3_fid()/nfs_fid() returns nfs filehandle as its fid 62 * which has a bigger length than local fid. 85 * Get an nfsv4 vnode of the given fid from the visible list of an 95 /* check if the given fid i 145 pseudo_exportfs(vnode_t *vp, fid_t *fid, struct exp_visible *vis_head, struct exportdata *exdata) argument 620 fid_t fid; local 952 fid_t fid; local 1010 fid_t fid; local 1086 fid_t fid; local 1171 fid_t fid; local [all...] |
H A D | nfs_export.c | 118 #define exptablehash(fsid, fid) (nfs_fhhash((fsid), (fid)) & (EXPTABLESIZE - 1)) 132 * File handle hash function, XOR over all bytes in fsid and fid. 135 nfs_fhhash(fsid_t *fsid, fid_t *fid) argument 146 len = fid->fid_len > NFS_FH4MAXDATA ? 0 : fid->fid_len; 147 h ^= xor_hash((uint8_t *)fid->fid_data, len); 1024 fid_t fid; local 1143 bzero(&fid, sizeof (fid)); 1905 fid_t fid; local 2113 fid_t fid; local 2218 fid_t fid; local 2446 checkexport(fsid_t *fsid, fid_t *fid) argument 2483 checkexport4(fsid_t *fsid, fid_t *fid, vnode_t *vp) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_dir.c | 124 struct file_id *fid; local 209 offset, &fid, &fname, buf); 213 if ((fid->fid_flags & FID_DELETED) == 0) { 214 if (fid->fid_flags & FID_PARENT) { 222 fid->fid_idlen, &id_len, 236 loc = SWAP_32(fid->fid_icb.lad_ext_loc); 237 prn = SWAP_16(fid->fid_icb.lad_ext_prn); 238 dip->i_diroff = offset + FID_LEN(fid); 305 offset += FID_LEN(fid); 614 struct file_id *fid; local 883 struct file_id *fid; local 1025 struct file_id *fid; local 1126 struct file_id *fid; local 1283 struct file_id *fid; local 1350 struct file_id *fid; local 1445 struct file_id *fid; local 1632 struct file_id *fid; local 1778 struct file_id *fid; local 1878 struct file_id *fid; local [all...] |
/illumos-gate/usr/src/cmd/pools/poold/libjlgrp/ |
H A D | jlgrp.c | 45 jfieldID fid; local 47 fid = (*env)->GetFieldID(env, clazz, "cookie", "J"); 48 return ((lgrp_cookie_t)(*env)->GetLongField(env, obj, fid)); 135 jfieldID fid; local 146 fid = (*env)->GetFieldID(env, clazz, "domain", 148 domain = (*env)->GetObjectField(env, obj, fid); 151 fid = (*env)->GetFieldID(env, clazz, "id", "J"); 152 id = (*env)->GetLongField(env, obj, fid); 191 jfieldID fid; local 202 fid [all...] |
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | filters.c | 369 ipgpc0dbg(("ipgpc_initialize: failed to create fid list")); 487 * search until fid w/ matching name is found or clean space is found 939 * creates a filter id (fid) structure for filter with filter_id. 941 * it is assumed that a fid will not be inserted for a filter that already 958 common_addfilter(fid_t *fid, int filter_id) argument 963 fid->filter.sport, fid->filter.sport_mask) == NORMAL_VALUE) { 964 fid->insert_map |= SPORT_MASK; 968 fid->filter.dport, fid 1017 v4_addfilter(fid_t *fid, int filter_id) argument 1035 v6_addfilter(fid_t *fid, int filter_id) argument 1070 fid_t *fid; local 1377 common_removefilter(int in_filter_id, fid_t *fid) argument 1419 v4_removefilter(int in_filter_id, fid_t *fid) argument 1437 v6_removefilter(int in_filter_id, fid_t *fid) argument 1462 fid_t *fid; local 1561 fid_t *fid = NULL; local 1988 fid_t *fid = NULL; local [all...] |
/illumos-gate/usr/src/common/zfs/ |
H A D | zfeature_common.c | 122 zfeature_depends_on(spa_feature_t fid, spa_feature_t check) argument 124 zfeature_info_t *feature = &spa_feature_table[fid]; 144 zfeature_register(spa_feature_t fid, const char *guid, const char *name, argument 147 zfeature_info_t *feature = &spa_feature_table[fid]; 154 ASSERT3U(fid, <, SPA_FEATURES); 163 feature->fi_feature = fid;
|
/illumos-gate/usr/src/lib/fm/libfmd_agent/common/ |
H A D | fmd_agent.c | 90 fm_ioc_data_t fid; local 122 fid.fid_version = ver; 123 fid.fid_insz = insz; 124 fid.fid_inbuf = inbuf; 125 fid.fid_outsz = outsz; 126 fid.fid_outbuf = outbuf; 128 if (ioctl(hdl->agent_devfd, cmd, &fid) < 0) { 143 err = nvlist_unpack(fid.fid_outbuf, fid.fid_outsz,
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb.c | 741 struct file_id *fid; local 744 fid = (struct file_id *)buf; 753 off += FID_LEN(fid); 770 struct file_id *fid; local 773 fid = (struct file_id *)buf; 777 off += FID_LEN(fid); 779 print_fid(stdout, fid); 930 struct file_id *fid; local 933 fid = (struct file_id *)buf; 938 if (ud_verify_tag(udh, &fid 967 struct file_id *fid; local 1061 struct file_id *fid; local 1332 struct file_id *fid; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mangle_name.c | 229 smb_generate_mangle(uint64_t fid, char *buf, size_t buflen) argument 235 if (fid == 0) 236 fid = (uint64_t)-1; 239 for (i = 2; (i < buflen) && (fid > 0); fid /= 36, ++i) 240 *p++ = base36[fid % 36]; 295 * fid inode number to generate unique mangle 299 smb_mangle(const char *name, ino64_t fid, char *buf, size_t buflen) argument 310 smb_generate_mangle(fid, mangle_buf, SMB_NAME83_BASELEN);
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/test/ |
H A D | srvinfo.c | 268 do_bind(int fid) argument 274 err = smb_fh_xactnp(fid, 290 len = smb_fh_read(fid, 0, 307 do_info(int fid) argument 345 wlen = smb_fh_write(fid, 0, len, (char *)sendbuf); 356 rlen = smb_fh_read(fid, 0,
|
H A D | srvenum.c | 299 do_bind(int fid) argument 305 err = smb_fh_xactnp(fid, 321 len = smb_fh_read(fid, 0, 338 do_enum(int fid) argument 377 wlen = smb_fh_write(fid, 0, len, (char *)sendbuf); 388 rlen = smb_fh_read(fid, 0,
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_smb.c | 84 static int smb_smb_read(struct smb_share *ssp, uint16_t fid, 86 static int smb_smb_write(struct smb_share *ssp, uint16_t fid, 89 static int smb_smb_readx(struct smb_share *ssp, uint16_t fid, 91 static int smb_smb_writex(struct smb_share *ssp, uint16_t fid, 377 uint16_t fid; local 441 md_get_uint16le(mdp, &fid); /* file ID */ 468 *fidp = fid; 478 smb_smb_close(struct smb_share *ssp, uint16_t fid, struct timespec *mtime, argument 491 mb_put_uint16le(mbp, fid); 523 uint16_t fid; local 578 smb_smb_close_prjob(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp) argument 609 smb_rwuio(struct smb_share *ssp, uint16_t fid, uio_rw_t rw, uio_t *uiop, smb_cred_t *scred, int timo) argument 695 smb_smb_readx(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument 790 smb_smb_writex(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument 863 smb_smb_read(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument 942 smb_smb_write(struct smb_share *ssp, uint16_t fid, uint32_t *lenp, uio_t *uiop, smb_cred_t *scred, int timo) argument [all...] |
H A D | smb_subr.h | 170 int smb_smb_close(struct smb_share *ssp, uint16_t fid, 178 int smb_smb_close_prjob(struct smb_share *ssp, uint16_t fid, 181 int smb_rwuio(smb_share_t *ssp, uint16_t fid, uio_rw_t rw,
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_subr.h | 164 int smbfs_smb_setfsize(struct smbnode *np, uint16_t fid, uint64_t newsize, 170 int smbfs_smb_setfattr(struct smbnode *np, int fid, 179 int smbfs_smb_close(struct smb_share *ssp, uint16_t fid, 181 int smbfs_smb_tmpclose(struct smbnode *ssp, uint16_t fid, 210 int smbfs_0extend(vnode_t *vp, uint16_t fid, len_t from, len_t to, 214 int smbfs_smb_getsec_m(struct smb_share *ssp, uint16_t fid, 217 int smbfs_smb_setsec_m(struct smb_share *ssp, uint16_t fid,
|
H A D | smbfs_acl.c | 75 u_int16_t fid = SMB_FID_UNUSED; local 90 error = smbfs_smb_tmpopen(np, rights, &scred, &fid); 98 error = smbfs_smb_getsec_m(smi->smi_share, fid, 118 cerror = smbfs_smb_tmpclose(np, fid, &scred); 146 u_int16_t fid = SMB_FID_UNUSED; local 172 error = smbfs_smb_tmpopen(np, rights, &scred, &fid); 188 error = smbfs_smb_setsec_m(smi->smi_share, fid, 191 cerror = smbfs_smb_tmpclose(np, fid, &scred);
|
H A D | smbfs_smb.c | 80 int smbfs_smb_setfattrNT(struct smbnode *np, int fid, 84 int smbfs_smb_setftime1(struct smbnode *np, uint16_t fid, 595 smbfs_smb_seteof(struct smb_share *ssp, uint16_t fid, uint64_t newsize, argument 609 mb_put_uint16le(mbp, fid); 636 uint16_t fid = 0; local 653 &fid); 665 mb_put_uint16le(mbp, fid); /* base for tname */ 666 mb_put_uint16le(mbp, 0); /* part of a 32bit fid? */ 678 if (fid) { 679 cerror = smbfs_smb_tmpclose(tdnp, fid, scr 728 smbfs_smb_setfsize(struct smbnode *np, uint16_t fid, uint64_t newsize, struct smb_cred *scrp) argument 926 smbfs_smb_setfattr( struct smbnode *np, int fid, uint32_t attr, struct timespec *mtime, struct timespec *atime, struct smb_cred *scrp) argument 964 smbfs_smb_setftime1( struct smbnode *np, uint16_t fid, struct timespec *mtime, struct timespec *atime, struct smb_cred *scrp) argument 1019 smbfs_smb_setfattrNT( struct smbnode *np, int fid, uint32_t attr, struct timespec *mtime, struct timespec *atime, struct smb_cred *scrp) argument 1337 smbfs_smb_tmpclose(struct smbnode *np, uint16_t fid, struct smb_cred *scrp) argument 1417 smbfs_smb_close(struct smb_share *ssp, uint16_t fid, struct timespec *mtime, struct smb_cred *scrp) argument 1683 uint16_t fid; local 2449 smbfs_smb_getsec_m(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp, uint32_t selector, mblk_t **res, uint32_t *reslen) argument 2553 smbfs_smb_getsec(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp, uint32_t selector, struct ntsecdesc **res) argument 2598 smbfs_smb_setsec_m(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp, uint32_t selector, mblk_t **mp) argument 2637 smbfs_smb_setsec(struct smb_share *ssp, uint16_t fid, struct smb_cred *scrp, uint32_t selector, uint16_t flags, struct ntsid *owner, struct ntsid *group, struct ntacl *sacl, struct ntacl *dacl) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_subr.c | 566 fm_ioc_data_t fid; local 591 fid.fid_version = 1; 592 fid.fid_insz = insz; 593 fid.fid_inbuf = ibuf; 594 fid.fid_outsz = outsz; 595 fid.fid_outbuf = obuf; 598 rv = ioctl(fd, FM_IOC_GENTOPO_LEGACY, &fid); 607 (void) nvlist_unpack(fid.fid_outbuf, fid.fid_outsz, &nvl, 0);
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_register.c | 68 * find an available fid, we'll use it, else we'll have to allocate 152 log_unregister(dblp, fid) 154 u_int32_t fid; 169 if (fid == fnp->id) 186 0, LOG_CLOSE, &r_name, &fid_dbt, fid, fnp->s_type)) != 0) 204 __log_rem_logid(dblp, fid);
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | vfs.h | 72 kmem_free((caddr_t)(fidp), sizeof (struct fid) - MAXFIDSZ + (fidp)->fid_len) 74 typedef struct fid { struct 139 int (*vfs_vget)(struct vfs *, struct vnode **, struct fid *); 149 int (*vfs_vget)(); /* get vnode from fid */
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | vfs.h | 45 kmem_free((caddr_t)(fidp), sizeof (struct fid) - MAXFIDSZ + (fidp)->fid_len) 47 struct fid { struct 93 int (*vfs_vget)(); /* get vnode from fid */
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kiconv.h | 56 uint16_t fid; /* fromcode id. */ member in struct:__anon8027
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | export.h | 509 struct fid exi_fid; 547 * exp_visible list. The directories in the fid list comprise paths that 587 #define exportmatch(exi, fsid, fid) \ 588 (EQFSID(&(exi)->exi_fsid, (fsid)) && EQFID(&(exi)->exi_fid, (fid))) 617 extern struct exportinfo *checkexport(fsid_t *, struct fid *); 618 extern struct exportinfo *checkexport4(fsid_t *, struct fid *, vnode_t *);
|