/Zephyr-latest/drivers/gpio/ |
D | gpio_mchp_xec_v2.c | 49 uint32_t flags; member 92 static int gpio_xec_validate_flags(gpio_flags_t flags) in gpio_xec_validate_flags() argument 94 if ((flags & (GPIO_SINGLE_ENDED | GPIO_LINE_OPEN_DRAIN)) in gpio_xec_validate_flags() 99 if ((flags & (GPIO_INPUT | GPIO_OUTPUT)) in gpio_xec_validate_flags() 104 if ((flags & GPIO_OUTPUT_INIT_LOW) && (flags & GPIO_OUTPUT_INIT_HIGH)) { in gpio_xec_validate_flags() 124 gpio_pin_t pin, gpio_flags_t flags) in gpio_xec_configure() argument 138 int ret = gpio_xec_validate_flags(flags); in gpio_xec_configure() 153 if (flags == GPIO_DISCONNECTED) { in gpio_xec_configure() 168 if (flags & GPIO_OUTPUT) { in gpio_xec_configure() 171 if (flags & GPIO_OUTPUT_INIT_HIGH) { in gpio_xec_configure() [all …]
|
D | gpio_mcux_rgpio.c | 45 gpio_pin_t pin, gpio_flags_t flags) in mcux_rgpio_configure() argument 78 if ((flags & GPIO_SINGLE_ENDED)) { in mcux_rgpio_configure() 86 if (flags & GPIO_PULL_UP) { in mcux_rgpio_configure() 88 } else if (flags & GPIO_PULL_DOWN) { in mcux_rgpio_configure() 97 if (flags & GPIO_PULL_UP) { in mcux_rgpio_configure() 100 } else if (flags & GPIO_PULL_DOWN) { in mcux_rgpio_configure() 110 if ((flags & GPIO_SINGLE_ENDED) != 0) { in mcux_rgpio_configure() 116 if (((flags & GPIO_PULL_UP) != 0) || ((flags & GPIO_PULL_DOWN) != 0)) { in mcux_rgpio_configure() 118 if (((flags & GPIO_PULL_UP) != 0)) { in mcux_rgpio_configure() 137 if (((flags & GPIO_INPUT) != 0) && ((flags & GPIO_OUTPUT) != 0)) { in mcux_rgpio_configure() [all …]
|
D | gpio_axp192.c | 78 static int gpio_axp192_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_axp192_configure() argument 94 LOG_DBG("Pin: %d / flags=0x%x", pin, flags); in gpio_axp192_configure() 95 if ((flags & GPIO_OUTPUT) != 0) { in gpio_axp192_configure() 99 if ((flags & GPIO_OPEN_DRAIN) != 0) { in gpio_axp192_configure() 108 if ((flags & GPIO_OUTPUT_INIT_LOW) != 0) { in gpio_axp192_configure() 110 } else if ((flags & GPIO_OUTPUT_INIT_HIGH) != 0) { in gpio_axp192_configure() 113 } else if ((flags & GPIO_INPUT) != 0) { in gpio_axp192_configure() 124 if ((flags & GPIO_PULL_UP) != 0) { in gpio_axp192_configure() 128 } else if ((flags & GPIO_PULL_DOWN) != 0) { in gpio_axp192_configure() 232 gpio_flags_t flags; in gpio_axp192_port_get_direction() local [all …]
|
D | gpio_ads1x4s0x.c | 36 static int gpio_ads1x4s0x_config(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_ads1x4s0x_config() argument 41 if ((flags & (GPIO_INPUT | GPIO_OUTPUT)) == GPIO_DISCONNECTED) { in gpio_ads1x4s0x_config() 45 if ((flags & GPIO_SINGLE_ENDED) != 0) { in gpio_ads1x4s0x_config() 49 if ((flags & (GPIO_PULL_UP | GPIO_PULL_DOWN)) != 0) { in gpio_ads1x4s0x_config() 53 if (flags & GPIO_INT_ENABLE) { in gpio_ads1x4s0x_config() 58 switch (flags & GPIO_DIR_MASK) { in gpio_ads1x4s0x_config() 64 (flags & GPIO_OUTPUT_INIT_HIGH) != 0); in gpio_ads1x4s0x_config()
|
D | gpio_psoc6.c | 42 gpio_flags_t flags) in gpio_psoc6_config() argument 49 if (flags & GPIO_OUTPUT) { in gpio_psoc6_config() 50 if (flags & GPIO_SINGLE_ENDED) { in gpio_psoc6_config() 51 drv_mode = (flags & GPIO_LINE_OPEN_DRAIN) ? in gpio_psoc6_config() 55 pin_val = (flags & GPIO_LINE_OPEN_DRAIN) ? 1 : 0; in gpio_psoc6_config() 59 pin_val = (flags & GPIO_OUTPUT_INIT_HIGH) ? 1 : 0; in gpio_psoc6_config() 62 if ((flags & GPIO_PULL_UP) && (flags & GPIO_PULL_DOWN)) { in gpio_psoc6_config() 64 } else if (flags & GPIO_PULL_UP) { in gpio_psoc6_config() 66 } else if (flags & GPIO_PULL_DOWN) { in gpio_psoc6_config() 72 pin_val = (flags & GPIO_PULL_UP) ? 1 : 0; in gpio_psoc6_config() [all …]
|
D | gpio_sy1xx.c | 36 gpio_flags_t flags); 49 int sy1xx_gpio_driver_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in sy1xx_gpio_driver_configure() argument 65 if (flags & GPIO_INPUT) { in sy1xx_gpio_driver_configure() 67 if (flags & GPIO_PULL_UP) { in sy1xx_gpio_driver_configure() 70 if (flags & GPIO_PULL_DOWN) { in sy1xx_gpio_driver_configure() 74 } else if (flags & GPIO_OUTPUT) { in sy1xx_gpio_driver_configure() 77 if (flags & GPIO_OUTPUT_INIT_LOW) { in sy1xx_gpio_driver_configure() 80 if (flags & GPIO_OUTPUT_INIT_HIGH) { in sy1xx_gpio_driver_configure() 84 } else if (flags == GPIO_DISCONNECTED) { in sy1xx_gpio_driver_configure()
|
D | gpio_bd8lb600fs.c | 38 gpio_flags_t flags) in bd8lb600fs_gpio_pin_configure() argument 53 if ((flags & GPIO_INPUT) != 0) { in bd8lb600fs_gpio_pin_configure() 58 if ((flags & GPIO_OUTPUT) == 0) { in bd8lb600fs_gpio_pin_configure() 63 if ((flags & GPIO_SINGLE_ENDED) == 0) { in bd8lb600fs_gpio_pin_configure() 68 if ((flags & GPIO_LINE_OPEN_DRAIN) == 0) { in bd8lb600fs_gpio_pin_configure() 73 if ((flags & GPIO_PULL_UP) != 0) { in bd8lb600fs_gpio_pin_configure() 78 if ((flags & GPIO_PULL_DOWN) != 0) { in bd8lb600fs_gpio_pin_configure() 85 if ((flags & GPIO_OUTPUT_INIT_LOW) != 0) { in bd8lb600fs_gpio_pin_configure() 87 } else if ((flags & GPIO_OUTPUT_INIT_HIGH) != 0) { in bd8lb600fs_gpio_pin_configure()
|
D | gpio_ite_it8801.c | 57 static int gpio_it8801_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_it8801_configure() argument 66 if (((flags & GPIO_SINGLE_ENDED) != 0) && ((flags & GPIO_LINE_OPEN_DRAIN) == 0)) { in gpio_it8801_configure() 80 if (flags == GPIO_DISCONNECTED) { in gpio_it8801_configure() 87 if (flags & GPIO_OUTPUT) { in gpio_it8801_configure() 88 if (flags & GPIO_OUTPUT_INIT_HIGH) { in gpio_it8801_configure() 91 } else if (flags & GPIO_OUTPUT_INIT_LOW) { in gpio_it8801_configure() 101 if (flags & GPIO_OPEN_DRAIN) { in gpio_it8801_configure() 112 if (flags & GPIO_PULL_UP) { in gpio_it8801_configure() 114 } else if (flags & GPIO_PULL_DOWN) { in gpio_it8801_configure() 136 gpio_flags_t flags = 0; in gpio_it8801_get_config() local [all …]
|
D | gpio_emul.c | 86 gpio_flags_t *flags; member 116 gpio_flags_t flags) in get_pins_with_flags() argument 126 if ((drv_data->flags[i] & mask) == flags) { in get_pins_with_flags() 206 switch (drv_data->flags[i] & GPIO_EMUL_INT_BITMASK) { in gpio_emul_gen_interrupt_bits() 253 drv_data->flags[i] & GPIO_EMUL_INT_BITMASK); in gpio_emul_gen_interrupt_bits() 380 int gpio_emul_flags_get(const struct device *port, gpio_pin_t pin, gpio_flags_t *flags) in gpio_emul_flags_get() argument 388 if (flags == NULL) { in gpio_emul_flags_get() 397 *flags = drv_data->flags[pin]; in gpio_emul_flags_get() 410 gpio_flags_t flags) in gpio_emul_pin_configure() argument 419 if (flags & GPIO_OPEN_DRAIN) { in gpio_emul_pin_configure() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | id.c | 85 atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in adv_id_check_func() 95 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED) && in adv_is_private_enabled() 96 !atomic_test_bit(adv->flags, BT_ADV_USE_IDENTITY)) { in adv_is_private_enabled() 106 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED) && in adv_is_limited_enabled() 107 atomic_test_bit(adv->flags, BT_ADV_LIMITED)) { in adv_is_limited_enabled() 114 if (atomic_test_bit(adv->flags, BT_ADV_ENABLED)) { in adv_pause_enabled() 115 atomic_set_bit(adv->flags, BT_ADV_PAUSED); in adv_pause_enabled() 122 if (atomic_test_and_clear_bit(adv->flags, BT_ADV_PAUSED)) { in adv_unpause_enabled() 184 if (!atomic_test_bit(adv->flags, BT_ADV_PARAMS_SET)) { in bt_id_set_adv_random_addr() 187 atomic_set_bit(adv->flags, BT_ADV_RANDOM_ADDR_PENDING); in bt_id_set_adv_random_addr() [all …]
|
D | adv.c | 177 if (atomic_test_bit(adv->flags, BT_ADV_INCLUDE_NAME_SD)) { in get_adv_name_type() 181 if (atomic_test_bit(adv->flags, BT_ADV_INCLUDE_NAME_AD)) { in get_adv_name_type() 227 if (!atomic_test_bit(adv_pool[i].flags, BT_ADV_CREATED)) { in adv_new() 238 atomic_set_bit(adv_pool[i].flags, BT_ADV_CREATED); in adv_new() 246 atomic_clear_bit(adv->flags, BT_ADV_CREATED); in adv_delete() 253 atomic_test_bit(adv_pool[handle].flags, BT_ADV_CREATED)) { in bt_hci_adv_lookup_handle() 267 if (atomic_test_bit(adv_pool[i].flags, BT_ADV_CREATED)) { in bt_le_ext_adv_foreach() 304 atomic_clear_bit(bt_dev.adv->flags, BT_ADV_CREATED); in bt_le_adv_delete_legacy() 336 bt_hci_cmd_state_set_init(buf, &state, adv->flags, BT_ADV_ENABLED, enable); in bt_le_adv_set_enable_legacy() 371 bt_hci_cmd_state_set_init(buf, &state, adv->flags, BT_ADV_ENABLED, enable); in bt_le_adv_set_enable_ext() [all …]
|
/Zephyr-latest/tests/subsys/logging/log_output/src/ |
D | log_output_test.c | 98 uint32_t flags = LOG_OUTPUT_FLAG_LEVEL; in ZTEST() local 105 package, NULL, 0, flags); in ZTEST() 117 uint32_t flags = LOG_OUTPUT_FLAG_TIMESTAMP; in ZTEST() local 124 package, NULL, 0, flags); in ZTEST() 141 uint32_t flags = LOG_OUTPUT_FLAG_TIMESTAMP | LOG_OUTPUT_FLAG_FORMAT_TIMESTAMP; in ZTEST() local 150 package, NULL, 0, flags); in ZTEST() 178 uint32_t flags = LOG_OUTPUT_FLAG_LEVEL; in ZTEST() local 188 package, NULL, 0, flags); in ZTEST() 223 uint32_t flags = LOG_OUTPUT_FLAG_LEVEL | LOG_OUTPUT_FLAG_COLORS; in ZTEST() local 233 package, NULL, 0, flags); in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | vocs_client.c | 47 atomic_test_bit(insts[i].flags, BT_VOCS_CLIENT_FLAG_ACTIVE) && in lookup_vocs_by_handle() 136 atomic_clear_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY); in vocs_client_read_offset_state_cb() 177 atomic_clear_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY); in vocs_client_read_location_cb() 228 atomic_clear_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY); in internal_read_volume_offset_state_cb() 244 atomic_clear_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY); in internal_read_volume_offset_state_cb() 275 atomic_test_bit(inst->flags, BT_VOCS_CLIENT_FLAG_CP_RETRIED)) { in vocs_client_write_vocs_cp_cb() 284 atomic_set_bit(inst->flags, BT_VOCS_CLIENT_FLAG_CP_RETRIED); in vocs_client_write_vocs_cp_cb() 295 atomic_clear_bit(inst->flags, BT_VOCS_CLIENT_FLAG_CP_RETRIED); in vocs_client_write_vocs_cp_cb() 296 atomic_clear_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY); in vocs_client_write_vocs_cp_cb() 319 atomic_clear_bit(inst->flags, BT_VOCS_CLIENT_FLAG_BUSY); in vocs_client_read_output_desc_cb() [all …]
|
/Zephyr-latest/kernel/ |
D | dynamic.c | 59 static k_thread_stack_t *z_thread_stack_alloc_dyn(size_t size, int flags) in z_thread_stack_alloc_dyn() argument 61 if ((flags & K_USER) == K_USER) { in z_thread_stack_alloc_dyn() 75 k_thread_stack_t *z_impl_k_thread_stack_alloc(size_t size, int flags) in z_impl_k_thread_stack_alloc() argument 80 stack = z_thread_stack_alloc_dyn(size, flags); in z_impl_k_thread_stack_alloc() 90 stack = z_thread_stack_alloc_dyn(size, flags); in z_impl_k_thread_stack_alloc() 98 static inline k_thread_stack_t *z_vrfy_k_thread_stack_alloc(size_t size, int flags) in z_vrfy_k_thread_stack_alloc() argument 100 return z_impl_k_thread_stack_alloc(size, flags); in z_vrfy_k_thread_stack_alloc()
|
/Zephyr-latest/samples/bluetooth/hap_ha/src/ |
D | ccp_call_ctrl.c | 30 static ATOMIC_DEFINE(flags, CCP_FLAG_NUM)[CONFIG_BT_MAX_CONN]; 34 atomic_t *flags_for_conn = flags[bt_conn_index(conn)]; in process_profile_connection() 71 atomic_set(flags[bt_conn_index(conn)], 0); in connected() 94 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in discover_cb() 111 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in ccid_cb() 128 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in status_flags_cb() 146 if (!atomic_test_bit(flags[bt_conn_index(conn)], CCP_FLAG_PROFILE_CONNECTED)) { in call_state_cb()
|
/Zephyr-latest/include/zephyr/sys/ |
D | cbprintf.h | 184 #define Z_CBPRINTF_PACKAGE_FIRST_RO_STR_CNT_GET(flags) \ argument 185 (((flags) >> Z_CBPRINTF_PACKAGE_FIRST_RO_STR_OFFSET) & Z_CBPRINTF_PACKAGE_FIRST_RO_STR_MASK) 353 #define CBPRINTF_MUST_RUNTIME_PACKAGE(flags, ... /* fmt, ... */) \ argument 354 Z_CBPRINTF_MUST_RUNTIME_PACKAGE(flags, __VA_ARGS__) 385 #define CBPRINTF_STATIC_PACKAGE(packaged, inlen, outlen, align_offset, flags, \ argument 388 align_offset, flags, __VA_ARGS__) 433 uint32_t flags, 473 uint32_t flags, 516 uint32_t flags, 576 uint32_t flags, in cbprintf_package_copy() argument [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mcux.c | 131 uint32_t flags = 0U; in i2c_mcux_convert_flags() local 134 flags |= kI2C_TransferNoStopFlag; in i2c_mcux_convert_flags() 138 flags |= kI2C_TransferRepeatedStartFlag; in i2c_mcux_convert_flags() 141 return flags; in i2c_mcux_convert_flags() 157 if (I2C_MSG_ADDR_10_BITS & msgs->flags) { in i2c_mcux_transfer() 163 transfer.flags = i2c_mcux_convert_flags(msgs->flags); in i2c_mcux_transfer() 165 transfer.direction = (msgs->flags & I2C_MSG_READ) in i2c_mcux_transfer() 175 if (i != 0 && !(msgs->flags & I2C_MSG_RESTART)) { in i2c_mcux_transfer() 176 transfer.flags |= kI2C_TransferNoStartFlag; in i2c_mcux_transfer() 243 if (I2C_MSG_ADDR_10_BITS & msg->flags) { in i2c_mcux_async_iter() [all …]
|
/Zephyr-latest/boards/nordic/nrf9160dk/ |
D | board.c | 41 gpio_dt_flags_t flags; member 55 .flags = GET_FLAGS(_name, control_gpios, _idx), \ 125 gpio_dt_flags_t flags = GET_FLAGS(reset_input, gpios, 0); in reset_pin_configure() local 132 rc = gpio_pin_configure(gpio, pin, flags | GPIO_INPUT); in reset_pin_configure() 169 gpio_flags_t flags = cfg->flags; in init() local 176 flags |= (cfg->on ? GPIO_OUTPUT_ACTIVE in init() 178 rc = gpio_pin_configure(cfg->gpio, cfg->pin, flags); in init() 181 cfg->port, cfg->pin, flags); in init() 229 gpio_dt_flags_t flags = DT_GPIO_FLAGS(EXT_MEM_CTRL, control_gpios); in early_init() local 231 if (flags & GPIO_ACTIVE_LOW) { in early_init()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/ |
D | img_gr_stub.c | 128 ZCBOR_ENCODE_FLAG(zse, "bootable", image_dummy_info[i].flags.bootable) && in img_read_response() 129 ZCBOR_ENCODE_FLAG(zse, "pending", image_dummy_info[i].flags.pending) && in img_read_response() 130 ZCBOR_ENCODE_FLAG(zse, "confirmed", image_dummy_info[i].flags.confirmed) && in img_read_response() 131 ZCBOR_ENCODE_FLAG(zse, "active", image_dummy_info[i].flags.active) && in img_read_response() 132 ZCBOR_ENCODE_FLAG(zse, "permanent", image_dummy_info[i].flags.permanent) && in img_read_response() 203 image_dummy_info[1].flags.permanent = true; in img_state_write_verify() 206 image_dummy_info[1].flags.pending = true; in img_state_write_verify() 214 image_dummy_info[0].flags.confirmed = true; in img_state_write_verify() 296 image_dummy_info[i].flags.bootable = true; in img_gr_stub_data_init() 297 image_dummy_info[i].flags.pending = false; in img_gr_stub_data_init() [all …]
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_capture.c | 37 pwm_flags_t flags, uint32_t *period, in z_impl_pwm_capture_cycles() argument 43 if ((flags & PWM_CAPTURE_MODE_MASK) == PWM_CAPTURE_MODE_CONTINUOUS) { in z_impl_pwm_capture_cycles() 48 flags |= PWM_CAPTURE_MODE_SINGLE; in z_impl_pwm_capture_cycles() 51 err = pwm_configure_capture(dev, channel, flags, in z_impl_pwm_capture_cycles() 67 (void)pwm_configure_capture(dev, channel, flags, NULL, NULL); in z_impl_pwm_capture_cycles()
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | ssp.c | 109 if (!atomic_test_and_clear_bit(conn->flags, BT_CONN_USER)) { in bt_conn_auth_pincode_entry() 114 atomic_set_bit(conn->flags, BT_CONN_BR_LEGACY_SECURE); in bt_conn_auth_pincode_entry() 129 atomic_set_bit(conn->flags, BT_CONN_USER); in pin_code_req() 130 atomic_set_bit(conn->flags, BT_CONN_BR_PAIRING); in pin_code_req() 232 atomic_clear_bit(conn->flags, BT_CONN_BR_PAIRING); in ssp_pairing_complete() 233 atomic_set_bit_to(conn->flags, BT_CONN_BR_PAIRED, !status); in ssp_pairing_complete() 238 bool bond = !atomic_test_bit(conn->flags, BT_CONN_BR_NOBOND); in ssp_pairing_complete() 276 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth() 280 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth() 284 atomic_set_bit(conn->flags, BT_CONN_USER); in ssp_auth() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | rpr_srv.c | 51 ATOMIC_DEFINE(flags, RPR_SRV_NUM_FLAGS); 106 if ((srv.scan.devs[i].flags & BT_MESH_RPR_UNPROV_ACTIVE) && in unprov_get() 110 } else if (!(srv.scan.devs[i].flags & BT_MESH_RPR_UNPROV_ACTIVE)) { in unprov_get() 149 if (atomic_test_bit(srv.flags, SCANNING)) { in scan_status_send() 199 atomic_test_bit(srv.flags, SCAN_REPORT_PENDING)) { in scan_report_schedule() 211 atomic_clear_bit(srv.flags, SCAN_REPORT_PENDING); in scan_report_sent() 224 if (atomic_test_bit(srv.flags, SCAN_REPORT_PENDING)) { in scan_report_send() 231 if (!(dev->flags & BT_MESH_RPR_UNPROV_FOUND) || in scan_report_send() 232 (dev->flags & BT_MESH_RPR_UNPROV_REPORTED)) { in scan_report_send() 241 if (dev->flags & BT_MESH_RPR_UNPROV_HASH) { in scan_report_send() [all …]
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | irq.h | 44 uint32_t flags); 59 unsigned int irq, unsigned int prio, unsigned int flags); 68 #define z_arm64_irq_priority_set(irq, prio, flags) \ 69 z_soc_irq_priority_set(irq, prio, flags)
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | hwinfo.rst | 10 identifiers and reset cause flags. 12 Reset cause flags can be used to determine why the device was reset; for 14 support different subset of flags. Use 15 :c:func:`hwinfo_get_supported_reset_cause` to retrieve the flags that are
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_ops.c | 26 static int ext2_open(struct fs_file_t *filp, const char *fs_path, fs_mode_t flags) in ext2_open() argument 38 (flags & FS_O_READ) != 0, in ext2_open() 39 (flags & FS_O_WRITE) != 0, in ext2_open() 40 (flags & FS_O_APPEND) != 0, in ext2_open() 41 (flags & FS_O_CREATE) != 0); in ext2_open() 47 .flags = LOOKUP_ARG_OPEN, in ext2_open() 50 if (flags & FS_O_CREATE) { in ext2_open() 51 args.flags |= LOOKUP_ARG_CREATE; in ext2_open() 67 if (flags & FS_O_CREATE && found_inode == NULL) { in ext2_open() 102 file->f_flags = flags & (FS_O_RDWR | FS_O_APPEND); in ext2_open() [all …]
|