Home
last modified time | relevance | path

Searched refs:fid (Results 1 – 25 of 125) sorted by relevance

12345

/illumos-gate/usr/src/lib/lib9p/common/
H A Dfid.h89 l9p_fid_isauth(struct l9p_fid *fid) in l9p_fid_isauth() argument
95 l9p_fid_setauth(struct l9p_fid *fid) in l9p_fid_setauth() argument
97 fid->lo_flags |= L9P_LO_ISAUTH; in l9p_fid_setauth()
101 l9p_fid_isdir(struct l9p_fid *fid) in l9p_fid_isdir() argument
107 l9p_fid_setdir(struct l9p_fid *fid) in l9p_fid_setdir() argument
109 fid->lo_flags |= L9P_LO_ISDIR; in l9p_fid_setdir()
119 l9p_fid_isopen(struct l9p_fid *fid) in l9p_fid_isopen() argument
125 l9p_fid_setopen(struct l9p_fid *fid) in l9p_fid_setopen() argument
127 fid->lo_flags |= L9P_LO_ISOPEN; in l9p_fid_setopen()
139 fid->lo_flags |= L9P_LO_ISVALID; in l9p_fid_setvalid()
[all …]
H A Drequest.c638 fid = l9p_connection_alloc_fid(conn, req->lr_req.hdr.fid); in l9p_dispatch_tattach()
639 if (fid == NULL) in l9p_dispatch_tattach()
644 req->lr_fid = fid; in l9p_dispatch_tattach()
792 fid = req->lr_fid; in l9p_dispatch_tread()
816 error = fid_lookup(conn, req->lr_req.hdr.fid, EINVAL, 0, &fid); in l9p_dispatch_tremove()
844 req->lr_fid = fid; in l9p_dispatch_tstat()
882 newfid = fid; in l9p_dispatch_twalk()
885 req->lr_fid = fid; in l9p_dispatch_twalk()
953 fid = req->lr_fid; in l9p_dispatch_twrite()
1212 req->lr_fid = fid; in l9p_dispatch_txattrwalk()
[all …]
H A Dconnection.c144 struct l9p_fid *fid; in l9p_connection_close() local
169 while ((fid = ht_next(&iter)) != NULL) { in l9p_connection_close()
171 conn->lc_server->ls_backend->softc, fid); in l9p_connection_close()
172 free(fid); in l9p_connection_close()
181 l9p_connection_alloc_fid(struct l9p_connection *conn, uint32_t fid) in l9p_connection_alloc_fid() argument
186 file->lo_fid = fid; in l9p_connection_alloc_fid()
194 if (ht_add(&conn->lc_files, fid, file) != 0) { in l9p_connection_alloc_fid()
208 assert(!l9p_fid_isvalid(fid)); in l9p_connection_remove_fid()
211 be->freefid(be->softc, fid); in l9p_connection_remove_fid()
213 ht_remove(&conn->lc_files, fid->lo_fid); in l9p_connection_remove_fid()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/testoplock/
H A Dtol_main.c182 do_close(int fid) in do_close() argument
298 do_brk_read(int fid) in do_brk_read() argument
309 do_brk_write(int fid) in do_brk_write() argument
397 int fid; in main() local
407 for (fid = 0; fid < MAXFID; fid++) { in main()
412 f->f_fid = fid; in main()
458 fid = atoi(arg1); in main()
459 if (fid <= 0 || fid >= MAXFID) { in main()
465 do_close(fid); in main()
477 do_brk_read(fid); in main()
[all …]
H A Dcase05.ref4 req oplock fid=2 ret oplock=0x803 status=0x0 (SUCCESS)
9 fid=2 Lease=4 OgState=0x803 Brk=0x0 Excl=N onlist: RH
14 req oplock fid=3 ret oplock=0x803 status=0x0 (SUCCESS)
19 fid=2 Lease=4 OgState=0x0 Brk=0x0 Excl=N onlist:
30 fid=2 Lease=4 OgState=0x0 Brk=0x0 Excl=N onlist:
32 fid=1 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
39 fid=2 Lease=4 OgState=0x0 Brk=0x0 Excl=N onlist:
41 fid=1 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
50 fid=2 Lease=4 OgState=0x0 Brk=0x0 Excl=N onlist:
52 fid=1 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
[all …]
H A Dcase06.ref4 req oplock fid=1 ret oplock=0x801 status=0x0 (SUCCESS)
8 req oplock fid=2 ret oplock=0x801 status=0x0 (SUCCESS)
13 fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist: R
14 fid=2 Lease=2 OgState=0x801 Brk=0x0 Excl=N onlist: R
22 fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist: R
23 fid=2 Lease=2 OgState=0x800 Brk=0x0 Excl=N onlist:
27 req oplock fid=3 ret oplock=0x801 status=0x0 (SUCCESS)
32 req oplock fid=2 ret oplock=0x801 status=0x0 (SUCCESS)
37 fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist: R
38 fid=2 Lease=2 OgState=0x801 Brk=0x0 Excl=N onlist: R
[all …]
H A Dcase12.ref4 req oplock fid=1 ret oplock=0x807 status=0x0 (SUCCESS)
9 fid=1 Lease=1 OgState=0x807 Brk=0x0 Excl=Y onlist:
22 fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
34 fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
35 fid=3 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
38 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
44 fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
45 fid=3 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
47 ack: break fid=1, newstate=0x800, status=0x0 (SUCCESS)
53 fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
[all …]
H A Dcase13.ref4 req oplock fid=1 ret oplock=0x801 status=0x0 (SUCCESS)
9 fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist: R
17 req oplock fid=2 ret oplock=0x807 status=0x0 (SUCCESS)
22 fid=1 Lease=1 OgState=0x0 Brk=0x0 Excl=N onlist:
23 fid=2 Lease=1 OgState=0x807 Brk=0x0 Excl=Y onlist:
33 fid=1 Lease=1 OgState=0x807 Brk=0x0 Excl=Y onlist:
41 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
46 fid=1 Lease=1 OgState=0x803 Brk=0x0 Excl=N onlist: RH
47 fid=3 Lease=2 OgState=0x0 Brk=0x0 Excl=N onlist:
50 req oplock fid=3 ret oplock=0x801 status=0x0 (SUCCESS)
[all …]
H A Dcase08.ref4 req oplock fid=1 ret oplock=0x805 status=0x0 (SUCCESS)
9 fid=1 Lease=1 OgState=0x805 Brk=0x0 Excl=Y onlist:
13 *smb_oplock_ind_break fid=1 NewLevel=0x1, AckReq=1, ComplStatus=0x0 (SUCCESS)
19 fid=1 Lease=1 OgState=0x805 Brk=0x10000 Excl=Y onlist:
20 fid=2 Lease=2 OgState=0x0 Brk=0x0 Excl=N onlist:
22 ack: break fid=1, newstate=0x801, status=0x0 (SUCCESS)
27 fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist: R
28 fid=2 Lease=2 OgState=0x0 Brk=0x0 Excl=N onlist:
30 req oplock fid=2 ret oplock=0x801 status=0x0 (SUCCESS)
35 fid=1 Lease=1 OgState=0x801 Brk=0x0 Excl=N onlist: R
[all …]
H A Dcase10.ref4 req oplock fid=1 ret oplock=0x100 status=0x0 (SUCCESS)
9 fid=1 Lease= OgState=0x100 Brk=0x0 Excl=N onlist: II
18 fid=1 Lease= OgState=0x100 Brk=0x0 Excl=N onlist: II
19 fid=2 Lease=2 OgState=0x0 Brk=0x0 Excl=N onlist:
21 req oplock fid=2 ret oplock=0x0 status=0xc00000e2 (OPLOCK_NOT_GRANTED)
23 req oplock fid=2 ret oplock=0x0 status=0xc00000e2 (OPLOCK_NOT_GRANTED)
25 req oplock fid=2 ret oplock=0x801 status=0x0 (SUCCESS)
30 fid=1 Lease= OgState=0x100 Brk=0x0 Excl=N onlist: II
31 fid=2 Lease=2 OgState=0x801 Brk=0x0 Excl=N onlist: R
H A Dcase11.ref4 req oplock fid=1 ret oplock=0x807 status=0x0 (SUCCESS)
9 fid=1 Lease=1 OgState=0x807 Brk=0x0 Excl=Y onlist:
13 *smb_oplock_ind_break fid=1 NewLevel=0x3, AckReq=1, ComplStatus=0x0 (SUCCESS)
16 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
21 fid=1 Lease=1 OgState=0x803 Brk=0x0 Excl=N onlist: RH
22 fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
24 req oplock fid=2 ret oplock=0x0 status=0xc00000e2 (OPLOCK_NOT_GRANTED)
29 fid=1 Lease=1 OgState=0x803 Brk=0x0 Excl=N onlist: RH
30 fid=2 Lease= OgState=0x0 Brk=0x0 Excl=N onlist:
H A Dcase01.ref4 req oplock fid=1 ret oplock=0x400 status=0x0 (SUCCESS)
9 fid=1 Lease= OgState=0x400 Brk=0x0 Excl=Y onlist:
11 *smb_oplock_ind_break fid=1 NewLevel=0x100, AckReq=1, ComplStatus=0x0 (SUCCESS)
17 fid=1 Lease= OgState=0x400 Brk=0x100000 Excl=Y onlist:
19 ack: break fid=1, newstate=0x100, status=0x0 (SUCCESS)
23 req oplock fid=2 ret oplock=0x100 status=0x0 (SUCCESS)
28 fid=1 Lease= OgState=0x100 Brk=0x0 Excl=N onlist: II
29 fid=2 Lease= OgState=0x100 Brk=0x0 Excl=N onlist: II
H A Dcase02.ref4 req oplock fid=1 ret oplock=0x807 status=0x0 (SUCCESS)
9 fid=1 Lease= OgState=0x807 Brk=0x0 Excl=Y onlist:
11 *smb_oplock_ind_break fid=1 NewLevel=0x3, AckReq=1, ComplStatus=0x0 (SUCCESS)
17 fid=1 Lease= OgState=0x807 Brk=0x30000 Excl=Y onlist:
19 ack: break fid=1, newstate=0x803, status=0x0 (SUCCESS)
23 req oplock fid=2 ret oplock=0x803 status=0x0 (SUCCESS)
28 fid=1 Lease= OgState=0x803 Brk=0x0 Excl=N onlist: RH
29 fid=2 Lease= OgState=0x803 Brk=0x0 Excl=N onlist: RH
H A Dcase09.ref4 req oplock fid=1 ret oplock=0x100 status=0x0 (SUCCESS)
9 fid=1 Lease= OgState=0x100 Brk=0x0 Excl=N onlist: II
18 fid=1 Lease= OgState=0x100 Brk=0x0 Excl=N onlist: II
19 fid=2 Lease=2 OgState=0x0 Brk=0x0 Excl=N onlist:
21 req oplock fid=2 ret oplock=0x0 status=0xc00000e2 (OPLOCK_NOT_GRANTED)
26 fid=1 Lease= OgState=0x100 Brk=0x0 Excl=N onlist: II
27 fid=2 Lease=2 OgState=0x0 Brk=0x0 Excl=N onlist:
/illumos-gate/usr/src/uts/common/io/
H A Ddevfm.c236 fm_ioc_data_t fid; in fm_ioctl() local
262 fid.fid_insz = fid32.fid_insz; in fm_ioctl()
264 fid.fid_outsz = fid32.fid_outsz; in fm_ioctl()
276 fid.fid_version != vers) in fm_ioctl()
279 if (fid.fid_insz > FM_IOC_MAXBUFSZ) in fm_ioctl()
287 if (fid.fid_insz != 0 && fid.fid_inbuf != (caddr_t)0) { in fm_ioctl()
289 if (ddi_copyin(fid.fid_inbuf, buf, fid.fid_insz, flag) != 0) { in fm_ioctl()
290 kmem_free(buf, fid.fid_insz); in fm_ioctl()
294 kmem_free(buf, fid.fid_insz); in fm_ioctl()
318 if (sz > fid.fid_outsz) { in fm_ioctl()
[all …]
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_dir.c124 struct file_id *fid; in ud_dirlook() local
614 struct file_id *fid; in ud_dirremove() local
770 fid = slot.ep; in ud_dirremove()
883 struct file_id *fid; in ud_dircheckforname() local
956 slotp->ep = fid; in ud_dircheckforname()
1319 fid->fid_iulen = 0; in ud_diraddentry()
1324 fid->fid_iulen = 0; in ud_diraddentry()
1455 fid = slotp->ep; in ud_dirrename()
1534 SWAP_32(fid->fid_tag.tag_loc), FID_LEN(fid)); in ud_dirrename()
1887 fid = slot->ep; in ud_write_fid()
[all …]
/illumos-gate/usr/src/test/smbclient-tests/cmd/rw_mmap/
H A Drw_mmap.c52 int c, fid; in main() local
105 fid = open(filename, O_RDWR | O_CREAT | O_TRUNC, in main()
107 if (fid == -1) { in main()
114 if (ftruncate(fid, filesize) == -1) { in main()
136 lseek(fid, 2013, SEEK_SET); in main()
138 blksize = read(fid, buf, blksize); in main()
155 lseek(fid, 2013, SEEK_SET); in main()
161 blksize = read(fid, buf, blksize); in main()
178 lseek(fid, 2013, SEEK_SET); in main()
184 blksize = write(fid, buf, blksize); in main()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_ns.c163 exi->exi_fid = *fid; in pseudo_exportfs()
634 fid_t fid; in treeclimb_export() local
657 bzero(&fid, sizeof (fid)); in treeclimb_export()
994 fid_t fid; in has_visible() local
1020 bzero(&fid, sizeof (fid)); in has_visible()
1055 fid_t fid; in nfs_visible() local
1086 bzero(&fid, sizeof (fid)); in nfs_visible()
1131 fid_t fid; in nfs_exported() local
1151 bzero(&fid, sizeof (fid)); in nfs_exported()
1208 fid_t fid; in nfs_visible_change() local
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfeature.c392 zfeature_info_t *feature = &spa_feature_table[fid]; in feature_do_action()
396 ASSERT(VALID_FEATURE_FID(fid)); in feature_do_action()
450 ASSERT(VALID_FEATURE_FID(fid)); in spa_feature_enable()
451 feature_enable_sync(spa, &spa_feature_table[fid], tx); in spa_feature_enable()
457 feature_do_action(spa, fid, FEATURE_ACTION_INCR, tx); in spa_feature_incr()
463 feature_do_action(spa, fid, FEATURE_ACTION_DECR, tx); in spa_feature_decr()
467 spa_feature_is_enabled(spa_t *spa, spa_feature_t fid) in spa_feature_is_enabled() argument
472 ASSERT(VALID_FEATURE_FID(fid)); in spa_feature_is_enabled()
482 spa_feature_is_active(spa_t *spa, spa_feature_t fid) in spa_feature_is_active() argument
487 ASSERT(VALID_FEATURE_FID(fid)); in spa_feature_is_active()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr.h192 int smbfs_smb_flush(struct smb_share *ssp, smb_fh_t *fid,
207 void smbfs_smb_close(smb_fh_t *fid);
212 smb_fh_t *fid, struct smb_cred *scrp);
226 int smbfs_smb_getsec(struct smb_share *ssp, smb_fh_t *fid,
229 int smbfs_smb_setsec(struct smb_share *ssp, smb_fh_t *fid,
247 int smbfs_smb1_flush(struct smb_share *ssp, uint16_t fid,
250 uint16_t fid, struct smb_cred *scrp);
261 int smbfs_smb1_getsec(struct smb_share *ssp, uint16_t fid,
264 int smbfs_smb1_setsec(struct smb_share *ssp, uint16_t fid,
284 int smbfs_smb2_flush(struct smb_share *ssp, smb2fid_t *fid,
[all …]
H A Dsmbfs_smb2.c148 mb_put_uint64le(mbp, fid->fid_persistent); in smbfs_smb2_query_info()
149 mb_put_uint64le(mbp, fid->fid_volatile); in smbfs_smb2_query_info()
240 smb2fid_t fid; in smbfs_smb2_query_fs_info() local
259 scrp, &fid, NULL, NULL); in smbfs_smb2_query_fs_info()
269 (void) smb2_smb_close(ssp, &fid, scrp); in smbfs_smb2_query_fs_info()
351 mb_put_uint64le(mbp, fid->fid_persistent); in smbfs_smb2_flush()
352 mb_put_uint64le(mbp, fid->fid_volatile); in smbfs_smb2_flush()
392 mb_put_uint64le(mbp, fid->fid_persistent); in smbfs_smb2_set_info()
393 mb_put_uint64le(mbp, fid->fid_volatile); in smbfs_smb2_set_info()
429 error = smbfs_smb2_set_info(ssp, fid, mbp, in smbfs_smb2_seteof()
[all …]
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dfilters.c963 fid->filter.sport, fid->filter.sport_mask) == NORMAL_VALUE) { in common_addfilter()
968 fid->filter.dport, fid->filter.dport_mask) == NORMAL_VALUE) { in common_addfilter()
1039 fid->filter.saddr, fid->filter.saddr_mask) == NORMAL_VALUE) { in v6_addfilter()
1045 fid->filter.daddr, fid->filter.daddr_mask) == NORMAL_VALUE) { in v6_addfilter()
1070 fid_t *fid; in ipgpc_addfilter() local
1381 fid->filter.sport, fid->filter.sport_mask); in common_removefilter()
1384 fid->filter.dport, fid->filter.dport_mask); in common_removefilter()
1441 fid->filter.saddr, fid->filter.saddr_mask); in v6_removefilter()
1444 fid->filter.daddr, fid->filter.daddr_mask); in v6_removefilter()
1462 fid_t *fid; in ipgpc_removefilter() local
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfeature.h37 #define VALID_FEATURE_FID(fid) ((fid) >= 0 && (fid) < SPA_FEATURES) argument
38 #define VALID_FEATURE_OR_NONE(fid) ((fid) == SPA_FEATURE_NONE || \ argument
39 VALID_FEATURE_FID(fid))
52 extern boolean_t spa_feature_enabled_txg(spa_t *spa, spa_feature_t fid,
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c739 struct file_id *fid; in verify_dent() local
751 off += FID_LEN(fid); in verify_dent()
768 struct file_id *fid; in print_dent() local
937 struct file_id *fid; in get_fid() local
974 struct file_id *fid; in inode_from_path() local
1011 off += FID_LEN(fid); in inode_from_path()
1015 addr = &fid->fid_spec[SWAP_16((fid)->fid_iulen) + 1]; in inode_from_path()
1068 struct file_id *fid; in list() local
1109 addr = &fid->fid_spec[SWAP_16((fid)->fid_iulen) + 1]; in list()
1339 struct file_id *fid; in find_it() local
[all …]
/illumos-gate/usr/src/cmd/pools/poold/libjlgrp/
H A Djlgrp.c45 jfieldID fid; in getCookie() local
135 jfieldID fid; in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children() local
146 fid = (*env)->GetFieldID(env, clazz, "domain", in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children()
148 domain = (*env)->GetObjectField(env, obj, fid); in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children()
151 fid = (*env)->GetFieldID(env, clazz, "id", "J"); in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children()
152 id = (*env)->GetLongField(env, obj, fid); in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1children()
191 jfieldID fid; in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1cpus() local
202 fid = (*env)->GetFieldID(env, clazz, "domain", in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1cpus()
204 domain = (*env)->GetObjectField(env, obj, fid); in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1cpus()
208 fid = (*env)->GetFieldID(env, clazz, "id", "J"); in Java_com_sun_solaris_service_locality_LocalityGroup_jl_1cpus()
[all …]

12345