Lines Matching refs:pflags
221 flags_from_portable(int pflags) in flags_from_portable() argument
225 if ((pflags & SSH2_FXF_READ) && in flags_from_portable()
226 (pflags & SSH2_FXF_WRITE)) { in flags_from_portable()
228 } else if (pflags & SSH2_FXF_READ) { in flags_from_portable()
230 } else if (pflags & SSH2_FXF_WRITE) { in flags_from_portable()
233 if (pflags & SSH2_FXF_APPEND) in flags_from_portable()
235 if (pflags & SSH2_FXF_CREAT) in flags_from_portable()
237 if (pflags & SSH2_FXF_TRUNC) in flags_from_portable()
239 if (pflags & SSH2_FXF_EXCL) in flags_from_portable()
245 string_from_portable(int pflags) in string_from_portable() argument
257 if (pflags & SSH2_FXF_READ) in string_from_portable()
259 if (pflags & SSH2_FXF_WRITE) in string_from_portable()
261 if (pflags & SSH2_FXF_APPEND) in string_from_portable()
263 if (pflags & SSH2_FXF_CREAT) in string_from_portable()
265 if (pflags & SSH2_FXF_TRUNC) in string_from_portable()
267 if (pflags & SSH2_FXF_EXCL) in string_from_portable()
682 u_int32_t pflags; in process_open() local
688 (r = sshbuf_get_u32(iqueue, &pflags)) != 0 || /* portable flags */ in process_open()
692 debug3("request %u: open flags %d", id, pflags); in process_open()
693 flags = flags_from_portable(pflags); in process_open()
696 name, string_from_portable(pflags), mode); in process_open()