Lines Matching refs:result
87 int result = IO_SUCCESS; in sh_dev_open() local
90 return result; in sh_dev_open()
98 int result = IO_FAIL; in sh_file_open() local
109 result = IO_SUCCESS; in sh_file_open()
111 result = IO_FAIL; in sh_file_open()
113 return result; in sh_file_open()
120 int result = IO_FAIL; in sh_file_seek() local
129 result = (sh_result == 0) ? IO_SUCCESS : IO_FAIL; in sh_file_seek()
131 return result; in sh_file_seek()
138 int result = IO_FAIL; in sh_file_len() local
147 result = IO_SUCCESS; in sh_file_len()
151 return result; in sh_file_len()
159 int result = IO_FAIL; in sh_file_read() local
174 result = IO_SUCCESS; in sh_file_read()
176 result = IO_FAIL; in sh_file_read()
178 return result; in sh_file_read()
186 int result = IO_FAIL; in sh_file_write() local
201 result = IO_SUCCESS; in sh_file_write()
203 result = IO_FAIL; in sh_file_write()
205 return result; in sh_file_write()
212 int result = IO_FAIL; in sh_file_close() local
222 result = (sh_result >= 0) ? IO_SUCCESS : IO_FAIL; in sh_file_close()
224 return result; in sh_file_close()
233 int result = IO_FAIL; in register_io_dev_sh() local
236 result = io_register_device(&sh_dev_info); in register_io_dev_sh()
237 if (result == IO_SUCCESS) in register_io_dev_sh()
240 return result; in register_io_dev_sh()