Lines Matching refs:pflags
251 flags_from_portable(int pflags) in flags_from_portable() argument
255 if ((pflags & SSH2_FXF_READ) && in flags_from_portable()
256 (pflags & SSH2_FXF_WRITE)) { in flags_from_portable()
258 } else if (pflags & SSH2_FXF_READ) { in flags_from_portable()
260 } else if (pflags & SSH2_FXF_WRITE) { in flags_from_portable()
263 if (pflags & SSH2_FXF_APPEND) in flags_from_portable()
265 if (pflags & SSH2_FXF_CREAT) in flags_from_portable()
267 if (pflags & SSH2_FXF_TRUNC) in flags_from_portable()
269 if (pflags & SSH2_FXF_EXCL) in flags_from_portable()
275 string_from_portable(int pflags) in string_from_portable() argument
287 if (pflags & SSH2_FXF_READ) in string_from_portable()
289 if (pflags & SSH2_FXF_WRITE) in string_from_portable()
291 if (pflags & SSH2_FXF_APPEND) in string_from_portable()
293 if (pflags & SSH2_FXF_CREAT) in string_from_portable()
295 if (pflags & SSH2_FXF_TRUNC) in string_from_portable()
297 if (pflags & SSH2_FXF_EXCL) in string_from_portable()
740 u_int32_t pflags; in process_open() local
746 (r = sshbuf_get_u32(iqueue, &pflags)) != 0 || /* portable flags */ in process_open()
750 debug3("request %u: open flags %d", id, pflags); in process_open()
751 flags = flags_from_portable(pflags); in process_open()
754 name, string_from_portable(pflags), mode); in process_open()