Lines Matching refs:lock_flag
624 int lock_mode, lock_flag, lock_dbf = 0; in php_dba_open() local
712 lock_flag = (hptr->flags & DBA_LOCK_ALL); in php_dba_open()
717 lock_flag = DBA_LOCK_ALL; in php_dba_open()
729 lock_flag = 0; in php_dba_open()
733 lock_flag = (hptr->flags&DBA_LOCK_ALL); in php_dba_open()
739 lock_mode = (lock_flag & DBA_LOCK_READER) ? LOCK_SH : 0; in php_dba_open()
744 lock_mode = (lock_flag & DBA_LOCK_WRITER) ? LOCK_EX : 0; in php_dba_open()
749 lock_mode = (lock_flag & DBA_LOCK_CREAT) ? LOCK_EX : 0; in php_dba_open()
770 lock_mode = (lock_flag & DBA_LOCK_TRUNC) ? LOCK_EX : 0; in php_dba_open()
786 if (!lock_flag) { in php_dba_open()
817 …info->flags = (hptr->flags & ~DBA_LOCK_ALL) | (lock_flag & DBA_LOCK_ALL) | (persistent ? DBA_PERSI… in php_dba_open()