Searched refs:flp (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dfree.c45 LDAPFiltList *flp, *nextflp; local
52 for ( flp = lfdp->lfd_filtlist; flp != NULL; flp = nextflp ) {
53 for ( fip = flp->lfl_ilist; fip != NULL; fip = nextfip ) {
59 nextflp = flp->lfl_next;
60 NSLDAPI_FREE( flp->lfl_pattern );
61 NSLDAPI_FREE( flp->lfl_delims );
62 NSLDAPI_FREE( flp->lfl_tag );
63 NSLDAPI_FREE( flp );
[all...]
H A Dgetfilter.c106 LDAPFiltList *flp, *nextflp; local
118 flp = nextflp = NULL;
155 if ( flp == NULL ) { /* first one */
158 flp->lfl_next = nextflp;
160 flp = nextflp;
260 LDAPFiltList *flp; local
274 for ( flp = lfdp->lfd_filtlist; flp != NULL; flp = flp
[all...]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsupport.c145 Func_list *flp; local
148 for (ALIST_TRAVERSE(support[LDS_START].sup_funcs, idx, flp)) {
149 DBG_CALL(Dbg_support_action(ofl->ofl_lml, flp->fl_obj,
151 (*flp->fl_fptr)(ofl->ofl_name, etype, caller);
158 Func_list *flp; local
161 for (ALIST_TRAVERSE(support[LDS_ATEXIT].sup_funcs, idx, flp)) {
162 DBG_CALL(Dbg_support_action(ofl->ofl_lml, flp->fl_obj,
164 (*flp->fl_fptr)(ecode);
172 Func_list *flp; local
175 for (ALIST_TRAVERSE(support[LDS_OPEN].sup_funcs, idx, flp)) {
234 Func_list *flp; local
257 Func_list *flp; local
305 Func_list *flp; local
318 Func_list *flp; local
[all...]
/illumos-gate/usr/src/cmd/newform/
H A Dnewform.c118 *flp = optl; /* Pointer to next open slot */ variable in typeref:struct:f
184 flp->option = 'a';
185 flp->param = inputn(scan);
186 if (flp->param <= NCOLS)
187 flp++;
197 flp->option = c;
198 flp->param = inputn(scan);
199 flp++;
202 flp->option = 'p';
203 flp
[all...]
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Dutil.c144 flock_reinit(struct flock *flp, int ltype) argument
146 bzero(flp, sizeof (*flp));
147 flp->l_type = ltype;
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs.c506 struct fiolog *flp)
525 ud->od_requestsize = flp->nbytes_actual;
661 lufs_alloc(struct ufsvfs *ufsvfsp, struct fiolog *flp, size_t minb, cred_t *cr) argument
672 size_t nb = flp->nbytes_actual;
782 tb, flp);
824 flp->nbytes_actual = tb;
848 lufs_disable(vnode_t *vp, struct fiolog *flp) argument
857 flp->error = FIOLOG_ENONE;
869 flp->error = FIOLOG_EROFS;
881 flp
502 lufs_initialize( ufsvfs_t *ufsvfsp, daddr_t bno, size_t nb, struct fiolog *flp) argument
982 lufs_enable(struct vnode *vp, struct fiolog *flp, cred_t *cr) argument
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dfcntl.c832 flock_check(vnode_t *vp, flock64_t *flp, offset_t offset, offset_t max) argument
841 switch (flp->l_whence) {
843 start = (u_offset_t)flp->l_start;
848 if (flp->l_start > (max - offset))
850 start = (u_offset_t)(flp->l_start + offset);
858 if (flp->l_start > (max - (offset_t)vattr.va_size))
860 start = (u_offset_t)(flp->l_start + (offset_t)vattr.va_size);
871 if (flp->l_len == 0)
873 else if ((offset_t)flp->l_len > 0) {
874 if (flp
902 flock_get_start(vnode_t *vp, flock64_t *flp, offset_t offset, u_offset_t *start) argument
[all...]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_client.c80 * Determines wether given lock "flp" is safe.
85 #define NLM_FLOCK_IS_SAFE(flp) \
86 ((flp)->l_start == 0 && (flp)->l_len == 0)
662 struct flock64 *flp, int32_t orig_state)
681 return (nlm_call_lock(vp, flp, hostp, &lm_fh,
729 * NOTE: modifies flp
732 nlm_local_cancelk(vnode_t *vp, struct flock64 *flp) argument
734 flp->l_type = F_UNLCK;
735 (void) nlm_local_setlk(vp, flp, FREA
661 nlm_reclaim_lock(struct nlm_host *hostp, vnode_t *vp, struct flock64 *flp, int32_t orig_state) argument
748 nlm_call_lock(vnode_t *vp, struct flock64 *flp, struct nlm_host *hostp, struct netobj *fhp, struct flk_callback *flcb, int vers, int xflags) argument
1036 nlm_call_unlock(struct flock64 *flp, struct nlm_host *hostp, struct netobj *fhp, int vers) argument
1106 nlm_call_test(struct flock64 *flp, struct nlm_host *hostp, struct netobj *fhp, int vers) argument
[all...]
H A Dnlm_service.c83 struct flock64 *flp; member in struct:nlm_block_cb_data
683 struct flock64 *flp,
701 error = nlm_slreq_register(host, nvp, flp);
715 cb_data.flp = flp;
719 error = nlm_vop_frlock(nvp->nv_vp, F_SETLKW, flp,
728 (void) nlm_slreq_unregister(host, nvp, flp);
758 cb_data->nvp, cb_data->flp);
679 nlm_block(nlm4_lockargs *lockargs, struct nlm_host *host, struct nlm_vhold *nvp, nlm_rpc_t *rpcp, struct flock64 *flp, nlm_testargs_cb grant_cb) argument
H A Dnlm_impl.c2078 * flp on the given vhold object.
2080 * lock request with the same flp is already
2085 struct flock64 *flp)
2091 slr = nlm_slreq_find_locked(hostp, nvp, flp);
2097 bcopy(flp, &new_slr->nsr_fl, sizeof (*flp));
2100 slr = nlm_slreq_find_locked(hostp, nvp, flp);
2119 * to flp from the given vhold object.
2121 * lock request corresponding to flp isn't found
2126 struct flock64 *flp)
2084 nlm_slreq_register(struct nlm_host *hostp, struct nlm_vhold *nvp, struct flock64 *flp) argument
2125 nlm_slreq_unregister(struct nlm_host *hostp, struct nlm_vhold *nvp, struct flock64 *flp) argument
2148 nlm_slreq_find_locked(struct nlm_host *hostp, struct nlm_vhold *nvp, struct flock64 *flp) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c275 reportlogerror(int ret, char *mp, char *special, char *cmd, fiolog_t *flp) argument
278 if ((ret != -1) && (flp->error == FIOLOG_ENONE))
282 if (ret == -1 || flp->error != FIOLOG_ENONE)
291 switch (flp->error) {
293 if (flp->nbytes_requested &&
294 (flp->nbytes_requested != flp->nbytes_actual)) {
297 flp->nbytes_requested,
298 flp->nbytes_actual);
339 " %d.\n"), flp
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmalloc.c909 char **flp; local
911 flp = (char **)&(flist[freeidx]);
913 if (flp == (char **)&(flist[0]))
914 flp = (char **)&(flist[FREESIZE]);
915 if (*--flp == NULL)
917 if (*flp != ptr)
918 realfree(*flp);
919 *flp = NULL;
/illumos-gate/usr/src/tools/scripts/
H A DMakefile37 flg.flp \
86 flg.flp.1onbld \
H A Dxref.mk67 FLGFLP = $(BUILD_TOOLS)/onbld/bin/flg.flp
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c174 fifolock_t *flp = &fdp->fifo_lock; local
178 mutex_init(&flp->flk_lock, NULL, MUTEX_DEFAULT, NULL);
179 cv_init(&flp->flk_wait_cv, NULL, CV_DEFAULT, NULL);
180 flp->flk_ocsync = 0;
194 fnp->fn_lock = flp;
227 fifolock_t *flp = &fdp->fifo_lock; local
231 mutex_destroy(&flp->flk_lock);
232 cv_destroy(&flp->flk_wait_cv);
233 ASSERT(flp->flk_ocsync == 0);
245 ASSERT(fnp->fn_lock == flp);
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c2032 struct fac_lookup *flp = (struct fac_lookup *)pdata; local
2033 topo_walk_cb_t cb = (topo_walk_cb_t)flp->fl_callback;
2041 if (topo_node_facility(mod->tm_hdl, node, flp->fl_fac_type,
2042 flp->fl_fac_subtype, &faclist, &err) != 0) {
2056 (void *)flp->fl_callback_args)) != 0) {
2078 struct fac_lookup *flp; local
2083 if ((flp = topo_mod_alloc(mod, sizeof (struct fac_lookup))) == NULL)
2090 err = nvlist_lookup_nvlist(in, TOPO_PROP_RESOURCE, &flp->fl_rsrc);
2092 (char **)&flp->fl_fac_type);
2093 err |= nvlist_lookup_uint32(in, "type", &flp
[all...]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c231 ipmi_sdr_fru_locator_t *flp = local
234 namelen = flp->is_fl_idlen;
235 name = flp->is_fl_idstring;
236 type = flp->is_fl_idtype;
H A Dipmi_entity.c163 ipmi_sdr_fru_locator_t *flp = local
165 *id = flp->is_fl_entity;
166 *instance = flp->is_fl_instance;
/illumos-gate/usr/src/uts/common/os/
H A Dflock.c4103 create_flock(lock_descriptor_t *lp, flock64_t *flp) argument
4108 flp->l_type = lp->l_type;
4109 flp->l_whence = 0;
4110 flp->l_start = lp->l_start;
4111 flp->l_len = (lp->l_end == MAX_U_OFFSET_T) ? 0 :
4113 flp->l_sysid = lp->l_flock.l_sysid;
4114 flp->l_pid = lp->l_flock.l_pid;
4126 flk_convert_lock_data(vnode_t *vp, flock64_t *flp, argument
4135 switch (flp->l_whence) {
4137 *start = (u_offset_t)flp
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd3.c1124 register int flp = (value("flipr") != NOSTR); local
1126 return((rep && !flp)|| (!rep && flp));

Completed in 102 milliseconds