Home
last modified time | relevance | path

Searched refs:flp (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsupport.c144 Func_list *flp; in ld_sup_start() local
147 for (ALIST_TRAVERSE(support[LDS_START].sup_funcs, idx, flp)) { in ld_sup_start()
148 DBG_CALL(Dbg_support_action(ofl->ofl_lml, flp->fl_obj, in ld_sup_start()
150 (*flp->fl_fptr)(ofl->ofl_name, etype, caller); in ld_sup_start()
157 Func_list *flp; in ld_sup_atexit() local
160 for (ALIST_TRAVERSE(support[LDS_ATEXIT].sup_funcs, idx, flp)) { in ld_sup_atexit()
161 DBG_CALL(Dbg_support_action(ofl->ofl_lml, flp->fl_obj, in ld_sup_atexit()
163 (*flp->fl_fptr)(ecode); in ld_sup_atexit()
171 Func_list *flp; in ld_sup_open() local
174 for (ALIST_TRAVERSE(support[LDS_OPEN].sup_funcs, idx, flp)) { in ld_sup_open()
[all …]
/illumos-gate/usr/src/cmd/newform/
H A Dnewform.c116 *flp = optl; /* Pointer to next open slot */ variable
182 flp->option = 'a'; in options()
183 flp->param = inputn(scan); in options()
184 if (flp->param <= NCOLS) in options()
185 flp++; in options()
195 flp->option = c; in options()
196 flp->param = inputn(scan); in options()
197 flp++; in options()
200 flp->option = 'p'; in options()
201 flp->param = inputn(scan); in options()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dfree.c43 LDAPFiltList *flp, *nextflp; in ldap_getfilter_free() local
50 for ( flp = lfdp->lfd_filtlist; flp != NULL; flp = nextflp ) { in ldap_getfilter_free()
51 for ( fip = flp->lfl_ilist; fip != NULL; fip = nextfip ) { in ldap_getfilter_free()
57 nextflp = flp->lfl_next; in ldap_getfilter_free()
58 NSLDAPI_FREE( flp->lfl_pattern ); in ldap_getfilter_free()
59 NSLDAPI_FREE( flp->lfl_delims ); in ldap_getfilter_free()
60 NSLDAPI_FREE( flp->lfl_tag ); in ldap_getfilter_free()
61 NSLDAPI_FREE( flp ); in ldap_getfilter_free()
H A Dgetfilter.c103 LDAPFiltList *flp, *nextflp; in ldap_init_getfilter_buf() local
115 flp = nextflp = NULL; in ldap_init_getfilter_buf()
152 if ( flp == NULL ) { /* first one */ in ldap_init_getfilter_buf()
155 flp->lfl_next = nextflp; in ldap_init_getfilter_buf()
157 flp = nextflp; in ldap_init_getfilter_buf()
257 LDAPFiltList *flp; in ldap_getfirstfilter() local
271 for ( flp = lfdp->lfd_filtlist; flp != NULL; flp = flp->lfl_next ) { in ldap_getfirstfilter()
272 if ( re_comp( tagpat ) == NULL && re_exec( flp->lfl_tag ) == 1 in ldap_getfirstfilter()
273 && re_comp( flp->lfl_pattern ) == NULL in ldap_getfirstfilter()
275 lfdp->lfd_curfip = flp->lfl_ilist; in ldap_getfirstfilter()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs.c506 struct fiolog *flp) in lufs_initialize() argument
525 ud->od_requestsize = flp->nbytes_actual; in lufs_initialize()
661 lufs_alloc(struct ufsvfs *ufsvfsp, struct fiolog *flp, size_t minb, cred_t *cr) in lufs_alloc() argument
672 size_t nb = flp->nbytes_actual; in lufs_alloc()
782 tb, flp); in lufs_alloc()
824 flp->nbytes_actual = tb; in lufs_alloc()
848 lufs_disable(vnode_t *vp, struct fiolog *flp) in lufs_disable() argument
857 flp->error = FIOLOG_ENONE; in lufs_disable()
869 flp->error = FIOLOG_EROFS; in lufs_disable()
881 flp->error = FIOLOG_EULOCK; in lufs_disable()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dfcntl.c866 flock_check(vnode_t *vp, flock64_t *flp, offset_t offset, offset_t max) in flock_check() argument
875 switch (flp->l_whence) { in flock_check()
877 start = (u_offset_t)flp->l_start; in flock_check()
882 if (flp->l_start > (max - offset)) in flock_check()
884 start = (u_offset_t)(flp->l_start + offset); in flock_check()
892 if (flp->l_start > (max - (offset_t)vattr.va_size)) in flock_check()
894 start = (u_offset_t)(flp->l_start + (offset_t)vattr.va_size); in flock_check()
905 if (flp->l_len == 0) in flock_check()
907 else if ((offset_t)flp->l_len > 0) { in flock_check()
908 if (flp->l_len > (max - start + 1)) in flock_check()
[all …]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_client.c85 #define NLM_FLOCK_IS_SAFE(flp) \ argument
86 ((flp)->l_start == 0 && (flp)->l_len == 0)
662 struct flock64 *flp, int32_t orig_state) in nlm_reclaim_lock() argument
681 return (nlm_call_lock(vp, flp, hostp, &lm_fh, in nlm_reclaim_lock()
732 nlm_local_cancelk(vnode_t *vp, struct flock64 *flp) in nlm_local_cancelk() argument
734 flp->l_type = F_UNLCK; in nlm_local_cancelk()
735 (void) nlm_local_setlk(vp, flp, FREAD | FWRITE); in nlm_local_cancelk()
736 nlm_send_siglost(flp->l_pid); in nlm_local_cancelk()
748 nlm_call_lock(vnode_t *vp, struct flock64 *flp, in nlm_call_lock() argument
762 nlm_init_lock(&args.alock, flp, fhp, &oh); in nlm_call_lock()
[all …]
H A Dnlm_service.c83 struct flock64 *flp; member
698 struct flock64 *flp, in nlm_block() argument
718 error = nlm_slreq_register(host, nvp, flp); in nlm_block()
738 (void) nlm_slreq_unregister(host, nvp, flp); in nlm_block()
744 cb_data.flp = flp; in nlm_block()
749 error = nlm_vop_frlock(nvp->nv_vp, F_SETLKW, flp, in nlm_block()
757 (void) nlm_slreq_unregister(host, nvp, flp); in nlm_block()
800 (void) nlm_vop_frlock(nvp->nv_vp, F_UNLCK, flp, in nlm_block()
825 cb_data->nvp, cb_data->flp); in nlm_block_callback()
H A Dnlm_impl.c2093 struct flock64 *flp) in nlm_slreq_register() argument
2099 slr = nlm_slreq_find_locked(hostp, nvp, flp); in nlm_slreq_register()
2105 bcopy(flp, &new_slr->nsr_fl, sizeof (*flp)); in nlm_slreq_register()
2108 slr = nlm_slreq_find_locked(hostp, nvp, flp); in nlm_slreq_register()
2134 struct flock64 *flp) in nlm_slreq_unregister() argument
2139 slr = nlm_slreq_find_locked(hostp, nvp, flp); in nlm_slreq_unregister()
2157 struct flock64 *flp) in nlm_slreq_find_locked() argument
2163 if (slr->nsr_fl.l_start == flp->l_start && in nlm_slreq_find_locked()
2164 slr->nsr_fl.l_len == flp->l_len && in nlm_slreq_find_locked()
2165 slr->nsr_fl.l_pid == flp->l_pid && in nlm_slreq_find_locked()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Dutil.c141 flock_reinit(struct flock *flp, int ltype) in flock_reinit() argument
143 bzero(flp, sizeof (*flp)); in flock_reinit()
144 flp->l_type = ltype; in flock_reinit()
/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) in reportlogerror() argument
278 if ((ret != -1) && (flp->error == FIOLOG_ENONE)) in reportlogerror()
282 if (ret == -1 || flp->error != FIOLOG_ENONE) in reportlogerror()
291 switch (flp->error) { in reportlogerror()
293 if (flp->nbytes_requested && in reportlogerror()
294 (flp->nbytes_requested != flp->nbytes_actual)) { in reportlogerror()
297 flp->nbytes_requested, in reportlogerror()
298 flp->nbytes_actual); in reportlogerror()
339 " %d.\n"), flp->error); in reportlogerror()
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifosubr.c175 fifolock_t *flp = &fdp->fifo_lock; in fnode_constructor() local
179 mutex_init(&flp->flk_lock, NULL, MUTEX_DEFAULT, NULL); in fnode_constructor()
180 cv_init(&flp->flk_wait_cv, NULL, CV_DEFAULT, NULL); in fnode_constructor()
181 flp->flk_ocsync = 0; in fnode_constructor()
195 fnp->fn_lock = flp; in fnode_constructor()
228 fifolock_t *flp = &fdp->fifo_lock; in fnode_destructor() local
232 mutex_destroy(&flp->flk_lock); in fnode_destructor()
233 cv_destroy(&flp->flk_wait_cv); in fnode_destructor()
234 ASSERT(flp->flk_ocsync == 0); in fnode_destructor()
246 ASSERT(fnp->fn_lock == flp); in fnode_destructor()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmalloc.c907 char **flp; in cleanfree() local
909 flp = (char **)&(flist[freeidx]); in cleanfree()
911 if (flp == (char **)&(flist[0])) in cleanfree()
912 flp = (char **)&(flist[FREESIZE]); in cleanfree()
913 if (*--flp == NULL) in cleanfree()
915 if (*flp != ptr) in cleanfree()
916 realfree(*flp); in cleanfree()
917 *flp = NULL; in cleanfree()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dhc.c1981 struct fac_lookup *flp = (struct fac_lookup *)pdata; in hc_fac_get() local
1982 topo_walk_cb_t cb = (topo_walk_cb_t)flp->fl_callback; in hc_fac_get()
1990 if (topo_node_facility(mod->tm_hdl, node, flp->fl_fac_type, in hc_fac_get()
1991 flp->fl_fac_subtype, &faclist, &err) != 0) { in hc_fac_get()
2005 (void *)flp->fl_callback_args)) != 0) { in hc_fac_get()
2027 struct fac_lookup *flp; in hc_fmri_facility() local
2032 if ((flp = topo_mod_alloc(mod, sizeof (struct fac_lookup))) == NULL) in hc_fmri_facility()
2039 err = nvlist_lookup_nvlist(in, TOPO_PROP_RESOURCE, &flp->fl_rsrc); in hc_fmri_facility()
2041 (char **)&flp->fl_fac_type); in hc_fmri_facility()
2042 err |= nvlist_lookup_uint32(in, "type", &flp->fl_fac_subtype); in hc_fmri_facility()
[all …]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c239 ipmi_sdr_fru_locator_t *flp = in ipmi_sdr_refresh() local
242 namelen = flp->is_fl_idlen; in ipmi_sdr_refresh()
243 name = flp->is_fl_idstring; in ipmi_sdr_refresh()
244 type = flp->is_fl_idtype; in ipmi_sdr_refresh()
245 e_id = flp->is_fl_entity; in ipmi_sdr_refresh()
246 e_inst = flp->is_fl_instance; in ipmi_sdr_refresh()
H A Dipmi_entity.c161 ipmi_sdr_fru_locator_t *flp = in ipmi_entity_sdr_parse() local
163 *id = flp->is_fl_entity; in ipmi_entity_sdr_parse()
164 *instance = flp->is_fl_instance; in ipmi_entity_sdr_parse()
/illumos-gate/usr/src/tools/scripts/
H A DMakefile41 flg.flp \
84 flg.flp.1onbld \
H A Dxref.mk72 FLGFLP = $(BUILD_TOOLS)/onbld/bin/flg.flp
/illumos-gate/usr/src/uts/common/os/
H A Dflock.c4105 create_flock(lock_descriptor_t *lp, flock64_t *flp) in create_flock() argument
4110 flp->l_type = lp->l_type; in create_flock()
4111 flp->l_whence = 0; in create_flock()
4112 flp->l_start = lp->l_start; in create_flock()
4113 flp->l_len = (lp->l_end == MAX_U_OFFSET_T) ? 0 : in create_flock()
4115 flp->l_sysid = lp->l_flock.l_sysid; in create_flock()
4116 flp->l_pid = lp->l_flock.l_pid; in create_flock()
4126 flk_convert_lock_data(vnode_t *vp, flock64_t *flp, in flk_convert_lock_data() argument
4135 switch (flp->l_whence) { in flk_convert_lock_data()
4137 *start = (u_offset_t)flp->l_start; in flk_convert_lock_data()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd3.c1122 int flp = (value("flipr") != NOSTR); in reply2sender() local
1124 return((rep && !flp)|| (!rep && flp)); in reply2sender()
/illumos-gate/usr/src/pkg/manifests/
H A Ddeveloper-build-onbld.p5m86 file path=opt/onbld/bin/flg.flp mode=0555
252 file path=opt/onbld/man/man1onbld/flg.flp.1onbld