Home
last modified time | relevance | path

Searched refs:ltype (Results 1 – 6 of 6) sorted by relevance

/external/e2fsprogs/lib/ext2fs/tdb/patches/
Dstatic-prototypes11 -int tdb_lock(struct tdb_context *tdb, int list, int ltype);
12 -int tdb_unlock(struct tdb_context *tdb, int list, int ltype);
14 -int tdb_transaction_lock(struct tdb_context *tdb, int ltype);
35 +static int tdb_lock(struct tdb_context *tdb, int list, int ltype);
36 +static int tdb_unlock(struct tdb_context *tdb, int list, int ltype);
38 +static int tdb_transaction_lock(struct tdb_context *tdb, int ltype);
/external/e2fsprogs/lib/ext2fs/
Dtdb.c204 u32 ltype; member
258 static int tdb_lock(struct tdb_context *tdb, int list, int ltype);
259 static int tdb_unlock(struct tdb_context *tdb, int list, int ltype);
261 static int tdb_transaction_lock(struct tdb_context *tdb, int ltype);
403 static int _tdb_lock(struct tdb_context *tdb, int list, int ltype, int op) in _tdb_lock() argument
407 bool mark_lock = ((ltype & TDB_MARK_LOCK) == TDB_MARK_LOCK); in _tdb_lock()
409 ltype &= ~TDB_MARK_LOCK; in _tdb_lock()
413 (ltype == tdb->global_lock.ltype || ltype == F_RDLCK)) { in _tdb_lock()
423 list, ltype)); in _tdb_lock()
460 tdb->methods->tdb_brlock(tdb,FREELIST_TOP+4*list, ltype, op, in _tdb_lock()
[all …]
/external/ppp/pppd/
Dtdb.c256 static int tdb_lock(TDB_CONTEXT *tdb, int list, int ltype) in tdb_lock() argument
260 list, ltype)); in tdb_lock()
270 if (tdb_spinlock(tdb, list, ltype)) { in tdb_lock()
272 list, ltype)); in tdb_lock()
275 } else if (tdb_brlock(tdb,FREELIST_TOP+4*list,ltype,F_SETLKW, 0)) { in tdb_lock()
277 list, ltype, strerror(errno))); in tdb_lock()
280 tdb->locked[list+1].ltype = ltype; in tdb_lock()
289 static int tdb_unlock(TDB_CONTEXT *tdb, int list, int ltype) in tdb_unlock() argument
310 ret = tdb_spinunlock(tdb, list, ltype); in tdb_unlock()
Dtdb.h90 u32 ltype; member
/external/dhcpcd/
Ddhcp.c381 uint8_t ltype; in decode_rfc3397() local
389 ltype = l & 0xc0; in decode_rfc3397()
390 if (ltype == 0x80 || ltype == 0x40) in decode_rfc3397()
392 else if (ltype == 0xc0) { /* pointer */ in decode_rfc3397()
/external/svox/pico/lib/
Dpicopr.c1194 picoos_uint8 ltype; in pr_appendItemToOutItemList() local
1211 if ((lid > 0) && picoktab_getIntPropTokenType(pr->graphs, lid, &ltype) && in pr_appendItemToOutItemList()
1212 …((ltype == PICODATA_ITEMINFO1_TOKTYPE_LETTERV) /*|| (ltype == PICODATA_ITEMINFO1_TOKTYPE_DIGIT)*/)… in pr_appendItemToOutItemList()
1217 ltype = PICODATA_ITEMINFO1_TOKTYPE_UNDEFINED; in pr_appendItemToOutItemList()
1324 picoos_int32 ltype; in pr_genCommands() local
1335 ltype = picokpr_getOutItemType(network, outitem); in pr_genCommands()
1336 switch (ltype) { in pr_genCommands()
1345 switch (ltype) { in pr_genCommands()
1388 if (ltype == PR_OPhonSVOXPA) { in pr_genCommands()
1691 picoos_uint8 ltype; in pr_getOutputItemList() local
[all …]