Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_state.c36 union drbd_state os; member
52 static void after_state_ch(struct drbd_device *device, union drbd_state os,
56 static enum drbd_state_rv is_valid_transition(union drbd_state os, union drbd_state ns);
57 static union drbd_state sanitize_state(struct drbd_device *device, union drbd_state os,
226 union drbd_state os, union drbd_state ns) in cl_wide_st_chg() argument
228 return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED && in cl_wide_st_chg()
229 ((os.role != R_PRIMARY && ns.role == R_PRIMARY) || in cl_wide_st_chg()
230 (os.conn != C_STARTING_SYNC_T && ns.conn == C_STARTING_SYNC_T) || in cl_wide_st_chg()
231 (os.conn != C_STARTING_SYNC_S && ns.conn == C_STARTING_SYNC_S) || in cl_wide_st_chg()
232 (os.disk != D_FAILED && ns.disk == D_FAILED))) || in cl_wide_st_chg()
[all …]
Ddrbd_worker.c845 union drbd_state os, ns; in drbd_resync_finished() local
889 os = drbd_read_state(device); in drbd_resync_finished()
891 verify_done = (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T); in drbd_resync_finished()
895 if (os.conn <= C_CONNECTED) in drbd_resync_finished()
898 ns = os; in drbd_resync_finished()
907 if (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T) { in drbd_resync_finished()
916 if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) in drbd_resync_finished()
937 if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) { in drbd_resync_finished()
948 if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) { in drbd_resync_finished()
960 if (!(os.conn == C_VERIFY_S || os.conn == C_VERIFY_T)) { in drbd_resync_finished()
Ddrbd_receiver.c4035 union drbd_state os, ns, peer_state; in receive_state() local
4055 os = ns = drbd_read_state(device); in receive_state()
4061 if (os.conn <= C_TEAR_DOWN) in receive_state()
4070 if ((os.pdsk == D_INCONSISTENT || os.pdsk == D_CONSISTENT) && in receive_state()
4072 os.conn > C_CONNECTED && os.disk == D_UP_TO_DATE) { in receive_state()
4086 else if (os.conn >= C_SYNC_SOURCE && in receive_state()
4095 if (os.conn == C_VERIFY_T && os.disk == D_UP_TO_DATE && in receive_state()
4107 if (os.pdsk == D_UP_TO_DATE && real_peer_disk == D_INCONSISTENT && in receive_state()
4108 os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) in receive_state()
4122 cr = (os.conn < C_CONNECTED); in receive_state()
[all …]
Ddrbd_nl.c1468 union drbd_state ns, os; in drbd_adm_attach() local
1797 os = drbd_read_state(device); in drbd_adm_attach()
1798 ns = os; in drbd_adm_attach()
1837 ns.i = os.i; in drbd_adm_attach()
3021 if (nla_put_u32(skb, T_prev_state, sib->os.i) || in nla_put_status_info()
Ddrbd_int.h1686 union drbd_state os; member
/drivers/net/fddi/skfp/
Dhwmtm.c271 if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) in mac_drv_init()
281 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; in mac_drv_init()
284 if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc, in mac_drv_init()
364 ds = (struct s_smt_fp_txd volatile *) ((char *)smc->os.hwm.descr_p + in init_txd_ring()
401 ds = (struct s_smt_fp_rxd volatile *) smc->os.hwm.descr_p ; in init_rxd_ring()
434 mb = smc->os.hwm.mbuf_pool.mb_start ; in init_fddi_driver()
435 smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ; in init_fddi_driver()
457 smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ; in init_fddi_driver()
458 smc->os.hwm.txd_tx_pipe = smc->os.hwm.txd_tx_tail = NULL ; in init_fddi_driver()
459 smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = smc->os.hwm.pass_DB = 0 ; in init_fddi_driver()
[all …]
Dskfddi.c266 smc->os.dev = dev; in skfp_init_one()
267 smc->os.bus_type = SK_BUS_TYPE_PCI; in skfp_init_one()
268 smc->os.pdev = *pdev; in skfp_init_one()
269 smc->os.QueueSkb = MAX_TX_QUEUE_LEN; in skfp_init_one()
270 smc->os.MaxFrameSize = MAX_FRAME_SIZE; in skfp_init_one()
271 smc->os.dev = dev; in skfp_init_one()
274 smc->os.ResetRequested = FALSE; in skfp_init_one()
275 skb_queue_head_init(&smc->os.SendSkbQueue); in skfp_init_one()
300 if (smc->os.SharedMemAddr) in skfp_init_one()
301 pci_free_consistent(pdev, smc->os.SharedMemSize, in skfp_init_one()
[all …]
Dsmtdef.c91 smc->os.smc_version = SMC_VERSION ; in smt_reset_defaults()
/drivers/hwmon/
Dlm75.c349 int conf, hyst, os; in lm75_detect() local
396 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
405 os = i2c_smbus_read_byte_data(new_client, 3); in lm75_detect()
406 if (i2c_smbus_read_byte_data(new_client, 4) != os in lm75_detect()
407 || i2c_smbus_read_byte_data(new_client, 5) != os in lm75_detect()
408 || i2c_smbus_read_byte_data(new_client, 6) != os in lm75_detect()
409 || i2c_smbus_read_byte_data(new_client, 7) != os) in lm75_detect()
417 || i2c_smbus_read_byte_data(new_client, i + 3) != os) in lm75_detect()
/drivers/hid/
Dhid-wiimote.h275 #define wiiproto_req_rreg(wdata, os, sz) \ argument
276 wiiproto_req_rmem((wdata), false, (os), (sz))
277 #define wiiproto_req_reeprom(wdata, os, sz) \ argument
278 wiiproto_req_rmem((wdata), true, (os), (sz))
Dhid-wiimote-core.c308 #define wiiproto_req_wreg(wdata, os, buf, sz) \ argument
309 wiiproto_req_wmem((wdata), false, (os), (buf), (sz))
311 #define wiiproto_req_weeprom(wdata, os, buf, sz) \ argument
312 wiiproto_req_wmem((wdata), true, (os), (buf), (sz))
/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c1753 void lustre_swab_obd_statfs(struct obd_statfs *os) in lustre_swab_obd_statfs() argument
1755 __swab64s(&os->os_type); in lustre_swab_obd_statfs()
1756 __swab64s(&os->os_blocks); in lustre_swab_obd_statfs()
1757 __swab64s(&os->os_bfree); in lustre_swab_obd_statfs()
1758 __swab64s(&os->os_bavail); in lustre_swab_obd_statfs()
1759 __swab64s(&os->os_files); in lustre_swab_obd_statfs()
1760 __swab64s(&os->os_ffree); in lustre_swab_obd_statfs()
1762 __swab32s(&os->os_bsize); in lustre_swab_obd_statfs()
1763 __swab32s(&os->os_namelen); in lustre_swab_obd_statfs()
1764 __swab64s(&os->os_maxbytes); in lustre_swab_obd_statfs()
[all …]
/drivers/video/fbdev/msm/
Dmdp_ppp.c219 uint64_t n, d, os, os_p, od, od_p, oreq; in scale_params() local
248 os = ((uint64_t)origin << 33) - ONE_HALF; in scale_params()
249 tmp = (dim_out * os) + ONE_HALF; in scale_params()
255 os = ((uint64_t)origin << 1) - 1; in scale_params()
256 od = (((k3 * os) >> 1) + k4); in scale_params()
/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()
4069 id = sas_info->os.id; in mptsas_handle_queue_full_event()
4070 channel = sas_info->os.channel; in mptsas_handle_queue_full_event()
/drivers/block/
Dida_cmd.h264 __u16 os; member
/drivers/net/fddi/skfp/h/
Dsmc.h435 struct s_smt_os os ; /* os specific */ member
/drivers/gpu/drm/nouveau/core/engine/graph/fuc/
Dmacros.fuc25 #include "os.h"
Dgpc.fuc57 // In: $r15 error code (see os.h)
Dhub.fuc52 // In: $r15 error code (see os.h)
/drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/
Dmacros.fuc30 #include "os.h"
/drivers/scsi/
Dipr.h1633 u32 os; member
Dipr.c3097 driver_dump->hdr.os = IPR_DUMP_OS_LINUX; in ipr_get_ioa_dump()
/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h1737 extern void lustre_swab_obd_statfs (struct obd_statfs *os);