Lines Matching refs:flag
41 u32 flag; member
132 op->flag = 0; in property_read()
143 op->flag |= OPP_STRING; in property_read()
149 op->flag |= OPP_STRINGLIST; in property_read()
151 op->flag |= OPP_ASCIIZ; in property_read()
155 op->flag |= (OPP_STRING|OPP_ASCIIZ); in property_read()
158 op->flag &= ~(OPP_STRING|OPP_STRINGLIST); in property_read()
160 op->flag |= OPP_HEXSTRING; in property_read()
162 op->flag |= OPP_BINARY; in property_read()
165 if (op->flag & OPP_STRINGLIST) in property_read()
166 op->flag &= ~(OPP_STRING); in property_read()
167 if (op->flag & OPP_ASCIIZ) in property_read()
172 if (!count || !(op->len || (op->flag & OPP_ASCIIZ))) in property_read()
174 if (op->flag & OPP_STRINGLIST) { in property_read()
179 } else if (op->flag & OPP_STRING) { in property_read()
181 } else if (op->flag & OPP_BINARY) { in property_read()
189 if (op->flag & OPP_STRING) { in property_read()
218 } else if (op->flag & OPP_STRINGLIST) { in property_read()
243 } else if (op->flag & OPP_BINARY) { in property_read()
287 } else if (op->flag & OPP_HEXSTRING) { in property_read()
343 if (!(op->flag & OPP_STRING)) { in property_write()
359 if (op->flag & OPP_BINARY) in property_write()
377 if (op->flag & OPP_BINARY) in property_write()
384 op->flag |= OPP_BINARY; in property_write()
424 op->flag |= OPP_DIRTY; in property_write()
427 op->flag |= OPP_DIRTY; in property_write()
473 if (!(op->flag & OPP_BINARY)) { in property_write()
474 if (!(op->flag & (OPP_QUOTED | OPP_NOTQUOTED))) { in property_write()
485 op->flag |= OPP_QUOTED; in property_write()
491 op->flag |= OPP_STRING; in property_write()
495 op->flag |= OPP_NOTQUOTED; in property_write()
497 op->flag |= OPP_STRING; in property_write()
515 p = op->value + pos - ((op->flag & OPP_QUOTED) ? 1 : 0); in property_write()
518 op->flag |= OPP_DIRTY; in property_write()
528 if ((p > op->value) && (op->flag & OPP_QUOTED) in property_write()
553 if ((op->flag & OPP_DIRTY) && (op->flag & OPP_STRING)) { in property_release()
566 } else if (op->flag & OPP_DIRTY) { in property_release()
567 if (op->flag & OPP_STRING) { in property_release()
577 } else if ((op->flag & OPP_BINARY) || !op->len) { in property_release()