Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 35) 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.c858 union drbd_state os, ns; in drbd_resync_finished() local
901 os = drbd_read_state(device); in drbd_resync_finished()
903 verify_done = (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T); in drbd_resync_finished()
907 if (os.conn <= C_CONNECTED) in drbd_resync_finished()
910 ns = os; in drbd_resync_finished()
919 if (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T) { in drbd_resync_finished()
928 if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) in drbd_resync_finished()
949 if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) { in drbd_resync_finished()
960 if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) { in drbd_resync_finished()
972 if (!(os.conn == C_VERIFY_S || os.conn == C_VERIFY_T)) { in drbd_resync_finished()
[all …]
Ddrbd_receiver.c4399 union drbd_state os, ns, peer_state; in receive_state() local
4419 os = ns = drbd_read_state(device); in receive_state()
4425 if (os.conn <= C_TEAR_DOWN) in receive_state()
4434 if ((os.pdsk == D_INCONSISTENT || os.pdsk == D_CONSISTENT) && in receive_state()
4436 os.conn > C_CONNECTED && os.disk == D_UP_TO_DATE) { in receive_state()
4450 else if (os.conn >= C_SYNC_SOURCE && in receive_state()
4459 if (os.conn == C_VERIFY_T && os.disk == D_UP_TO_DATE && in receive_state()
4471 if (os.pdsk == D_UP_TO_DATE && real_peer_disk == D_INCONSISTENT && in receive_state()
4472 os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) in receive_state()
4505 cr = (os.conn < C_CONNECTED); in receive_state()
[all …]
/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.c264 smc->os.dev = dev; in skfp_init_one()
265 smc->os.bus_type = SK_BUS_TYPE_PCI; in skfp_init_one()
266 smc->os.pdev = *pdev; in skfp_init_one()
267 smc->os.QueueSkb = MAX_TX_QUEUE_LEN; in skfp_init_one()
268 smc->os.MaxFrameSize = MAX_FRAME_SIZE; in skfp_init_one()
269 smc->os.dev = dev; in skfp_init_one()
272 smc->os.ResetRequested = FALSE; in skfp_init_one()
273 skb_queue_head_init(&smc->os.SendSkbQueue); in skfp_init_one()
298 if (smc->os.SharedMemAddr) in skfp_init_one()
299 dma_free_coherent(&pdev->dev, smc->os.SharedMemSize, in skfp_init_one()
[all …]
Dsmtdef.c83 smc->os.smc_version = SMC_VERSION ; in smt_reset_defaults()
/drivers/scsi/elx/efct/
Defct_hw.c50 struct efct *efct = hw->os; in efct_hw_read_max_dump_size()
66 efc_log_debug(hw->os, "set dump location cmd failed\n"); in efct_hw_read_max_dump_size()
73 efc_log_debug(hw->os, "Dump size %x\n", hw->dump_size); in efct_hw_read_max_dump_size()
85 struct efct *efct = hw->os; in __efct_read_topology_cb()
88 efc_log_debug(hw->os, "bad status cqe=%#x mqe=%#x\n", status, in __efct_read_topology_cb()
170 struct efct *efct = hw->os; in efct_hw_cb_link()
183 efc_log_info(hw->os, "Link Up, NPORT, speed is %d\n", in efct_hw_cb_link()
193 efc_log_info(hw->os, "Link Up, LOOP, speed is %d\n", in efct_hw_cb_link()
203 efc_log_debug(hw->os, "READ_TOPOLOGY failed\n"); in efct_hw_cb_link()
205 efc_log_info(hw->os, "%s(%#x), speed is %d\n", in efct_hw_cb_link()
[all …]
Defct_hw_queues.c98 struct efct *efct = hw->os; in efct_hw_map_wq_cpu()
144 efc_log_err(hw->os, "EQ[%d] alloc failure\n", eq->instance); in efct_hw_new_eq()
153 efc_log_debug(hw->os, "create eq[%2d] id %3d len %4d\n", eq->instance, in efct_hw_new_eq()
177 efc_log_err(hw->os, "CQ[%d] allocation failure len=%d\n", in efct_hw_new_cq()
186 efc_log_debug(hw->os, "create cq[%2d] id %3d len %4d\n", cq->instance, in efct_hw_new_cq()
223 efc_log_err(hw->os, "Failed to create CQ Set.\n"); in efct_hw_new_cq_set()
261 efc_log_err(hw->os, "MQ allocation failure\n"); in efct_hw_new_mq()
269 efc_log_debug(hw->os, "create mq[%2d] id %3d len %4d\n", mq->instance, in efct_hw_new_mq()
296 efc_log_err(hw->os, "WQ allocation failure\n"); in efct_hw_new_wq()
304 efc_log_debug(hw->os, "create wq[%2d] id %3d len %4d cls %d\n", in efct_hw_new_wq()
[all …]
Defct_hw.h367 struct efct *os; member
592 efct_hw_setup(struct efct_hw *hw, void *os, struct pci_dev *pdev);
/drivers/comedi/drivers/ni_routing/tools/
Dconvert_csv_to_c.py7 import os, sys, re
152 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H))
241 sheet_filename = os.path.join(self.ITEMS_DIR,'{}.c'.format(S))
258 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f:
262 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f:
268 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H)
269 with open(os.path.join(self.OUTPUT_DIR, EXTERN_H), 'w') as f:
278 filename=os.path.join(self.OUTPUT_DIR, self.SET_C)
281 os.makedirs(os.path.join(self.OUTPUT_DIR, self.ITEMS_DIR))
331 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H))
[all …]
Dmake_blank_csv.py4 from os import path
5 import os, csv
14 os.makedirs(CSV_DIR)
Dconvert_py_to_csv.py4 from os import path
5 import os, csv
54 os.makedirs(path.join(CSV_DIR,d))
Dcsv_collection.py3 import os, csv, glob
30 name = os.path.basename(fname).partition('.')[0]
/drivers/gpu/drm/ci/
Dcheck-patch.py11 import os
12 import os.path
16 repourl = "https://gitlab.freedesktop.org/%s.git" % os.environ["CI_MERGE_REQUEST_PROJECT_PATH"]
21 os.environ["GIT_DEPTH"] = "1000"
24 subprocess.check_call(["git", "fetch", "check-patch", os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NA…
29 … "check-patch/%s" % os.environ["CI_MERGE_REQUEST_TARGET_BRANCH_NAME"], "HEAD"],
50 "--types", os.environ["CHECKPATCH_TYPES"],
/drivers/gpu/drm/tegra/
Driscv.c40 struct tegra_drm_riscv_descriptor *os = &riscv->os_desc; in tegra_drm_riscv_read_descriptors() local
54 READ_PROP("nvidia,os-manifest-offset", &os->manifest_offset); in tegra_drm_riscv_read_descriptors()
55 READ_PROP("nvidia,os-code-offset", &os->code_offset); in tegra_drm_riscv_read_descriptors()
56 READ_PROP("nvidia,os-data-offset", &os->data_offset); in tegra_drm_riscv_read_descriptors()
60 bl->data_offset == 0 && os->manifest_offset == 0 && in tegra_drm_riscv_read_descriptors()
61 os->code_offset == 0 && os->data_offset == 0) { in tegra_drm_riscv_read_descriptors()
Dfalcon.c80 struct falcon_fw_os_header_v1 *os; in falcon_parse_firmware_image() local
100 os = falcon->firmware.virt + bin->os_header_offset; in falcon_parse_firmware_image()
104 falcon->firmware.code.offset = os->code_offset; in falcon_parse_firmware_image()
105 falcon->firmware.code.size = os->code_size; in falcon_parse_firmware_image()
106 falcon->firmware.data.offset = os->data_offset; in falcon_parse_firmware_image()
107 falcon->firmware.data.size = os->data_size; in falcon_parse_firmware_image()
/drivers/hwmon/
Dlm75.c812 int conf, hyst, os; in lm75_detect() local
861 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
870 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
871 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
872 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
873 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
874 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
881 if (hyst == 0 && os == 0) in lm75_detect()
888 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
/drivers/hid/
Dhid-wiimote.h278 #define wiiproto_req_rreg(wdata, os, sz) \ argument
279 wiiproto_req_rmem((wdata), false, (os), (sz))
280 #define wiiproto_req_reeprom(wdata, os, sz) \ argument
281 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
/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"

12