Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 28) sorted by relevance

12

/drivers/block/drbd/
Ddrbd_state.c25 union drbd_state os; member
280 static void after_state_ch(struct drbd_device *device, union drbd_state os,
285 static enum drbd_state_rv is_valid_transition(union drbd_state os, union drbd_state ns);
286 static union drbd_state sanitize_state(struct drbd_device *device, union drbd_state os,
468 union drbd_state os, union drbd_state ns) in cl_wide_st_chg() argument
470 return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED && in cl_wide_st_chg()
471 ((os.role != R_PRIMARY && ns.role == R_PRIMARY) || in cl_wide_st_chg()
472 (os.conn != C_STARTING_SYNC_T && ns.conn == C_STARTING_SYNC_T) || in cl_wide_st_chg()
473 (os.conn != C_STARTING_SYNC_S && ns.conn == C_STARTING_SYNC_S) || in cl_wide_st_chg()
474 (os.disk != D_FAILED && ns.disk == D_FAILED))) || in cl_wide_st_chg()
[all …]
Ddrbd_worker.c859 union drbd_state os, ns; in drbd_resync_finished() local
902 os = drbd_read_state(device); in drbd_resync_finished()
904 verify_done = (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T); in drbd_resync_finished()
908 if (os.conn <= C_CONNECTED) in drbd_resync_finished()
911 ns = os; in drbd_resync_finished()
920 if (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T) { in drbd_resync_finished()
929 if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) in drbd_resync_finished()
950 if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) { in drbd_resync_finished()
961 if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) { in drbd_resync_finished()
973 if (!(os.conn == C_VERIFY_S || os.conn == C_VERIFY_T)) { in drbd_resync_finished()
[all …]
Ddrbd_receiver.c4446 union drbd_state os, ns, peer_state; in receive_state() local
4466 os = ns = drbd_read_state(device); in receive_state()
4472 if (os.conn <= C_TEAR_DOWN) in receive_state()
4481 if ((os.pdsk == D_INCONSISTENT || os.pdsk == D_CONSISTENT) && in receive_state()
4483 os.conn > C_CONNECTED && os.disk == D_UP_TO_DATE) { in receive_state()
4497 else if (os.conn >= C_SYNC_SOURCE && in receive_state()
4506 if (os.conn == C_VERIFY_T && os.disk == D_UP_TO_DATE && in receive_state()
4518 if (os.pdsk == D_UP_TO_DATE && real_peer_disk == D_INCONSISTENT && in receive_state()
4519 os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) in receive_state()
4552 cr = (os.conn < C_CONNECTED); in receive_state()
[all …]
Ddrbd_nl.c1799 union drbd_state ns, os; in drbd_adm_attach() local
2111 os = drbd_read_state(device); in drbd_adm_attach()
2112 ns = os; in drbd_adm_attach()
2151 ns.i = os.i; in drbd_adm_attach()
3865 if (nla_put_u32(skb, T_prev_state, sib->os.i) || in nla_put_status_info()
/drivers/net/fddi/skfp/
Dhwmtm.c263 if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) in mac_drv_init()
273 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; in mac_drv_init()
276 if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc, in mac_drv_init()
356 ds = (struct s_smt_fp_txd volatile *) ((char *)smc->os.hwm.descr_p + in init_txd_ring()
393 ds = (struct s_smt_fp_rxd volatile *) smc->os.hwm.descr_p ; in init_rxd_ring()
426 mb = smc->os.hwm.mbuf_pool.mb_start ; in init_fddi_driver()
427 smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ; in init_fddi_driver()
449 smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ; in init_fddi_driver()
450 smc->os.hwm.txd_tx_pipe = smc->os.hwm.txd_tx_tail = NULL ; in init_fddi_driver()
451 smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = smc->os.hwm.pass_DB = 0 ; in init_fddi_driver()
[all …]
Dskfddi.c261 smc->os.dev = dev; in skfp_init_one()
262 smc->os.bus_type = SK_BUS_TYPE_PCI; in skfp_init_one()
263 smc->os.pdev = *pdev; in skfp_init_one()
264 smc->os.QueueSkb = MAX_TX_QUEUE_LEN; in skfp_init_one()
265 smc->os.MaxFrameSize = MAX_FRAME_SIZE; in skfp_init_one()
266 smc->os.dev = dev; in skfp_init_one()
269 smc->os.ResetRequested = FALSE; in skfp_init_one()
270 skb_queue_head_init(&smc->os.SendSkbQueue); in skfp_init_one()
295 if (smc->os.SharedMemAddr) in skfp_init_one()
296 dma_free_coherent(&pdev->dev, smc->os.SharedMemSize, in skfp_init_one()
[all …]
Dsmtdef.c87 smc->os.smc_version = SMC_VERSION ; in smt_reset_defaults()
/drivers/staging/comedi/drivers/ni_routing/tools/
Dconvert_csv_to_c.py8 import os, sys, re
154 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H))
245 sheet_filename = os.path.join(self.ITEMS_DIR,'{}.c'.format(S))
262 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f:
266 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f:
272 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H)
273 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f:
282 filename=os.path.join(self.OUTPUT_DIR, self.SET_C)
285 os.makedirs(os.path.join(self.OUTPUT_DIR, self.ITEMS_DIR))
336 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H))
[all …]
Dmake_blank_csv.py5 from os import path
6 import os, csv
15 os.makedirs(CSV_DIR)
Dconvert_py_to_csv.py5 from os import path
6 import os, csv
55 os.makedirs(path.join(CSV_DIR,d))
Dcsv_collection.py4 import os, csv, glob
31 name = os.path.basename(fname).partition('.')[0]
/drivers/gpu/drm/tegra/
Dfalcon.c72 struct falcon_fw_os_header_v1 *os; in falcon_parse_firmware_image() local
92 os = falcon->firmware.virt + bin->os_header_offset; in falcon_parse_firmware_image()
96 falcon->firmware.code.offset = os->code_offset; in falcon_parse_firmware_image()
97 falcon->firmware.code.size = os->code_size; in falcon_parse_firmware_image()
98 falcon->firmware.data.offset = os->data_offset; in falcon_parse_firmware_image()
99 falcon->firmware.data.size = os->data_size; in falcon_parse_firmware_image()
/drivers/hwmon/
Dlm75.c786 int conf, hyst, os; in lm75_detect() local
835 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
844 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
845 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
846 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
847 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
848 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
855 if (hyst == 0 && os == 0) in lm75_detect()
862 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
/drivers/hid/
Dhid-wiimote.h277 #define wiiproto_req_rreg(wdata, os, sz) \ argument
278 wiiproto_req_rmem((wdata), false, (os), (sz))
279 #define wiiproto_req_reeprom(wdata, os, sz) \ argument
280 wiiproto_req_rmem((wdata), true, (os), (sz))
Dhid-wiimote-core.c305 #define wiiproto_req_wreg(wdata, os, buf, sz) \ argument
306 wiiproto_req_wmem((wdata), false, (os), (buf), (sz))
308 #define wiiproto_req_weeprom(wdata, os, buf, sz) \ argument
309 wiiproto_req_wmem((wdata), true, (os), (buf), (sz))
/drivers/iio/adc/
Dad7606_spi.c252 unsigned long os[3] = {1}; in ad7606B_sw_mode_config() local
261 gpiod_set_array_value(ARRAY_SIZE(os), in ad7606B_sw_mode_config()
262 st->gpio_os->desc, st->gpio_os->info, os); in ad7606B_sw_mode_config()
/drivers/message/fusion/
Dmptsas.h79 struct mptsas_mapping os; /* operating system mapping*/ member
Dmptsas.c601 sas_info->os.id = starget->id; in mptsas_add_device_component()
602 sas_info->os.channel = starget->channel; in mptsas_add_device_component()
734 sas_info->os.id = starget->id; in mptsas_add_device_component_starget_ir()
735 sas_info->os.channel = starget->channel; in mptsas_add_device_component_starget_ir()
799 if (sas_info->os.channel == channel && sas_info->os.id == id) in mptsas_del_device_component_by_os()
4064 id = sas_info->os.id; in mptsas_handle_queue_full_event()
4065 channel = sas_info->os.channel; in mptsas_handle_queue_full_event()
/drivers/acpi/dptf/
DKconfig15 <https://01.org/intel%C2%AE-dynamic-platform-and-thermal-framework-dptf-chromium-os/overview>
/drivers/usb/mtu3/
Dmtu3_debugfs.c22 #define dump_prb_reg(nm, os) \ argument
25 .offset = os, \
/drivers/net/fddi/skfp/h/
Dsmc.h431 struct s_smt_os os ; /* os specific */ member
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dmacros.fuc30 #include "os.h"
/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dmacros.fuc25 #include "os.h"
Dgpc.fuc65 // In: $r15 error code (see os.h)
Dhub.fuc52 // In: $r15 error code (see os.h)

12