os 903 arch/arm/mach-omap2/omap_hwmod.c struct omap_hwmod_ocp_if *os; os 907 arch/arm/mach-omap2/omap_hwmod.c list_for_each_entry(os, &oh->slave_ports, node) { os 908 arch/arm/mach-omap2/omap_hwmod.c if (!os->clk) os 911 arch/arm/mach-omap2/omap_hwmod.c c = clk_get(NULL, os->clk); os 914 arch/arm/mach-omap2/omap_hwmod.c oh->name, os->clk); os 918 arch/arm/mach-omap2/omap_hwmod.c os->_clk = c; os 927 arch/arm/mach-omap2/omap_hwmod.c clk_prepare(os->_clk); os 1009 arch/arm/mach-omap2/omap_hwmod.c struct omap_hwmod_ocp_if *os; os 1019 arch/arm/mach-omap2/omap_hwmod.c list_for_each_entry(os, &oh->slave_ports, node) { os 1020 arch/arm/mach-omap2/omap_hwmod.c if (os->_clk && (os->flags & OCPIF_SWSUP_IDLE)) { os 1021 arch/arm/mach-omap2/omap_hwmod.c omap2_clk_deny_idle(os->_clk); os 1022 arch/arm/mach-omap2/omap_hwmod.c clk_enable(os->_clk); os 1067 arch/arm/mach-omap2/omap_hwmod.c struct omap_hwmod_ocp_if *os; os 1074 arch/arm/mach-omap2/omap_hwmod.c list_for_each_entry(os, &oh->slave_ports, node) { os 1075 arch/arm/mach-omap2/omap_hwmod.c if (os->_clk && (os->flags & OCPIF_SWSUP_IDLE)) { os 1076 arch/arm/mach-omap2/omap_hwmod.c clk_disable(os->_clk); os 1077 arch/arm/mach-omap2/omap_hwmod.c omap2_clk_allow_idle(os->_clk); os 1152 arch/arm/mach-omap2/omap_hwmod.c struct omap_hwmod_ocp_if *os = NULL; os 1159 arch/arm/mach-omap2/omap_hwmod.c list_for_each_entry(os, &oh->slave_ports, node) { os 1160 arch/arm/mach-omap2/omap_hwmod.c if (os->user & OCP_USER_MPU) { os 1161 arch/arm/mach-omap2/omap_hwmod.c oh->_mpu_port = os; os 2448 arch/arm/mach-omap2/omap_hwmod.c struct omap_hwmod_ocp_if *os; os 2453 arch/arm/mach-omap2/omap_hwmod.c list_for_each_entry(os, &oh->slave_ports, node) { os 2454 arch/arm/mach-omap2/omap_hwmod.c if (!os->_clk) os 2457 arch/arm/mach-omap2/omap_hwmod.c if (os->flags & OCPIF_SWSUP_IDLE) { os 2465 arch/arm/mach-omap2/omap_hwmod.c clk_enable(os->_clk); os 363 arch/arm64/include/asm/assembler.h bfi \tcr, \tmp0, \pos, #3 os 2449 arch/powerpc/kernel/prom_init.c char *s, *os; os 2451 arch/powerpc/kernel/prom_init.c s = os = (char *)dt_string_start; os 2455 arch/powerpc/kernel/prom_init.c return s - os; os 201 arch/powerpc/kernel/rtas.c char *os; os 267 arch/powerpc/kernel/rtas.c os = s; os 268 arch/powerpc/kernel/rtas.c while (*os) { os 269 arch/powerpc/kernel/rtas.c if (*os == '\n' || *os == '\r') { os 274 arch/powerpc/kernel/rtas.c if (*os == '\n' && !os[1]) { os 285 arch/powerpc/kernel/rtas.c if (*os == '\n') { os 292 arch/powerpc/kernel/rtas.c rtas_call(display_character, 1, 1, NULL, *os); os 301 arch/powerpc/kernel/rtas.c rtas_call(display_character, 1, 1, NULL, *os); os 304 arch/powerpc/kernel/rtas.c os++; os 308 arch/powerpc/kernel/rtas.c while ((*os != 0) && (*os != '\n') && (*os != '\r')) os 309 arch/powerpc/kernel/rtas.c os++; os 118 arch/powerpc/platforms/powermac/bootx_init.c char *s, *os; os 120 arch/powerpc/platforms/powermac/bootx_init.c s = os = (char *)bootx_dt_strbase; os 124 arch/powerpc/platforms/powermac/bootx_init.c return s - os; os 538 arch/x86/events/perf_event.h os:1, os 350 arch/x86/oprofile/op_model_p4.c #define ESCR_SET_OS_0(escr, os) ((escr) |= (((os) & 1) << 3)) os 352 arch/x86/oprofile/op_model_p4.c #define ESCR_SET_OS_1(escr, os) ((escr) |= (((os) & 1) << 1)) os 1669 drivers/block/drbd/drbd_int.h union drbd_state os; os 1805 drivers/block/drbd/drbd_nl.c union drbd_state ns, os; os 2118 drivers/block/drbd/drbd_nl.c os = drbd_read_state(device); os 2119 drivers/block/drbd/drbd_nl.c ns = os; os 2158 drivers/block/drbd/drbd_nl.c ns.i = os.i; os 3878 drivers/block/drbd/drbd_nl.c if (nla_put_u32(skb, T_prev_state, sib->os.i) || os 4445 drivers/block/drbd/drbd_receiver.c union drbd_state os, ns, peer_state; os 4465 drivers/block/drbd/drbd_receiver.c os = ns = drbd_read_state(device); os 4471 drivers/block/drbd/drbd_receiver.c if (os.conn <= C_TEAR_DOWN) os 4480 drivers/block/drbd/drbd_receiver.c if ((os.pdsk == D_INCONSISTENT || os.pdsk == D_CONSISTENT) && os 4482 drivers/block/drbd/drbd_receiver.c os.conn > C_CONNECTED && os.disk == D_UP_TO_DATE) { os 4496 drivers/block/drbd/drbd_receiver.c else if (os.conn >= C_SYNC_SOURCE && os 4505 drivers/block/drbd/drbd_receiver.c if (os.conn == C_VERIFY_T && os.disk == D_UP_TO_DATE && os 4517 drivers/block/drbd/drbd_receiver.c if (os.pdsk == D_UP_TO_DATE && real_peer_disk == D_INCONSISTENT && os 4518 drivers/block/drbd/drbd_receiver.c os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) os 4551 drivers/block/drbd/drbd_receiver.c cr = (os.conn < C_CONNECTED); os 4554 drivers/block/drbd/drbd_receiver.c cr |= (os.conn == C_CONNECTED && os 4556 drivers/block/drbd/drbd_receiver.c os.disk == D_NEGOTIATING)); os 4562 drivers/block/drbd/drbd_receiver.c cr |= (os.conn == C_CONNECTED && os 4581 drivers/block/drbd/drbd_receiver.c D_ASSERT(device, os.conn == C_WF_REPORT_PARAMS); os 4589 drivers/block/drbd/drbd_receiver.c if (os.i != drbd_read_state(device).i) os 4597 drivers/block/drbd/drbd_receiver.c cs_flags = CS_VERBOSE + (os.conn < C_CONNECTED && ns.conn >= C_CONNECTED ? 0 : CS_HARD); os 4598 drivers/block/drbd/drbd_receiver.c if (ns.pdsk == D_CONSISTENT && drbd_suspended(device) && ns.conn == C_CONNECTED && os.conn < C_CONNECTED && os 4619 drivers/block/drbd/drbd_receiver.c if (os.conn > C_WF_REPORT_PARAMS) { os 25 drivers/block/drbd/drbd_state.c union drbd_state os; os 280 drivers/block/drbd/drbd_state.c static void after_state_ch(struct drbd_device *device, union drbd_state os, os 285 drivers/block/drbd/drbd_state.c static enum drbd_state_rv is_valid_transition(union drbd_state os, union drbd_state ns); os 286 drivers/block/drbd/drbd_state.c static union drbd_state sanitize_state(struct drbd_device *device, union drbd_state os, os 468 drivers/block/drbd/drbd_state.c union drbd_state os, union drbd_state ns) os 470 drivers/block/drbd/drbd_state.c return (os.conn >= C_CONNECTED && ns.conn >= C_CONNECTED && os 471 drivers/block/drbd/drbd_state.c ((os.role != R_PRIMARY && ns.role == R_PRIMARY) || os 472 drivers/block/drbd/drbd_state.c (os.conn != C_STARTING_SYNC_T && ns.conn == C_STARTING_SYNC_T) || os 473 drivers/block/drbd/drbd_state.c (os.conn != C_STARTING_SYNC_S && ns.conn == C_STARTING_SYNC_S) || os 474 drivers/block/drbd/drbd_state.c (os.disk != D_FAILED && ns.disk == D_FAILED))) || os 475 drivers/block/drbd/drbd_state.c (os.conn >= C_CONNECTED && ns.conn == C_DISCONNECTING) || os 476 drivers/block/drbd/drbd_state.c (os.conn == C_CONNECTED && ns.conn == C_VERIFY_S) || os 477 drivers/block/drbd/drbd_state.c (os.conn == C_CONNECTED && ns.conn == C_WF_REPORT_PARAMS); os 481 drivers/block/drbd/drbd_state.c apply_mask_val(union drbd_state os, union drbd_state mask, union drbd_state val) os 484 drivers/block/drbd/drbd_state.c ns.i = (os.i & ~mask.i) | val.i; os 520 drivers/block/drbd/drbd_state.c union drbd_state os, ns; os 531 drivers/block/drbd/drbd_state.c os = drbd_read_state(device); os 532 drivers/block/drbd/drbd_state.c ns = sanitize_state(device, os, apply_mask_val(os, mask, val), NULL); os 533 drivers/block/drbd/drbd_state.c rv = is_valid_transition(os, ns); os 537 drivers/block/drbd/drbd_state.c if (!cl_wide_st_chg(device, os, ns)) os 542 drivers/block/drbd/drbd_state.c rv = is_valid_soft_transition(os, ns, first_peer_device(device)->connection); os 568 drivers/block/drbd/drbd_state.c union drbd_state os, ns; os 580 drivers/block/drbd/drbd_state.c os = drbd_read_state(device); os 581 drivers/block/drbd/drbd_state.c ns = sanitize_state(device, os, apply_mask_val(os, mask, val), NULL); os 582 drivers/block/drbd/drbd_state.c rv = is_valid_transition(os, ns); os 588 drivers/block/drbd/drbd_state.c if (cl_wide_st_chg(device, os, ns)) { os 591 drivers/block/drbd/drbd_state.c rv = is_valid_soft_transition(os, ns, first_peer_device(device)->connection); os 596 drivers/block/drbd/drbd_state.c print_st_err(device, os, ns, rv); os 603 drivers/block/drbd/drbd_state.c print_st_err(device, os, ns, rv); os 612 drivers/block/drbd/drbd_state.c print_st_err(device, os, ns, rv); os 733 drivers/block/drbd/drbd_state.c void print_st_err(struct drbd_device *device, union drbd_state os, os 739 drivers/block/drbd/drbd_state.c print_st(device, " state", os); os 743 drivers/block/drbd/drbd_state.c static long print_state_change(char *pb, union drbd_state os, union drbd_state ns, os 750 drivers/block/drbd/drbd_state.c if (ns.role != os.role && flags & CS_DC_ROLE) os 752 drivers/block/drbd/drbd_state.c drbd_role_str(os.role), os 754 drivers/block/drbd/drbd_state.c if (ns.peer != os.peer && flags & CS_DC_PEER) os 756 drivers/block/drbd/drbd_state.c drbd_role_str(os.peer), os 758 drivers/block/drbd/drbd_state.c if (ns.conn != os.conn && flags & CS_DC_CONN) os 760 drivers/block/drbd/drbd_state.c drbd_conn_str(os.conn), os 762 drivers/block/drbd/drbd_state.c if (ns.disk != os.disk && flags & CS_DC_DISK) os 764 drivers/block/drbd/drbd_state.c drbd_disk_str(os.disk), os 766 drivers/block/drbd/drbd_state.c if (ns.pdsk != os.pdsk && flags & CS_DC_PDSK) os 768 drivers/block/drbd/drbd_state.c drbd_disk_str(os.pdsk), os 774 drivers/block/drbd/drbd_state.c static void drbd_pr_state_change(struct drbd_device *device, union drbd_state os, union drbd_state ns, os 780 drivers/block/drbd/drbd_state.c pbp += print_state_change(pbp, os, ns, flags ^ CS_DC_MASK); os 782 drivers/block/drbd/drbd_state.c if (ns.aftr_isp != os.aftr_isp) os 784 drivers/block/drbd/drbd_state.c os.aftr_isp, os 786 drivers/block/drbd/drbd_state.c if (ns.peer_isp != os.peer_isp) os 788 drivers/block/drbd/drbd_state.c os.peer_isp, os 790 drivers/block/drbd/drbd_state.c if (ns.user_isp != os.user_isp) os 792 drivers/block/drbd/drbd_state.c os.user_isp, os 799 drivers/block/drbd/drbd_state.c static void conn_pr_state_change(struct drbd_connection *connection, union drbd_state os, union drbd_state ns, os 805 drivers/block/drbd/drbd_state.c pbp += print_state_change(pbp, os, ns, flags); os 807 drivers/block/drbd/drbd_state.c if (is_susp(ns) != is_susp(os) && flags & CS_DC_SUSP) os 809 drivers/block/drbd/drbd_state.c is_susp(os), os 912 drivers/block/drbd/drbd_state.c is_valid_soft_transition(union drbd_state os, union drbd_state ns, struct drbd_connection *connection) os 917 drivers/block/drbd/drbd_state.c os.conn > C_CONNECTED) os 920 drivers/block/drbd/drbd_state.c if (ns.conn == C_DISCONNECTING && os.conn == C_STANDALONE) os 923 drivers/block/drbd/drbd_state.c if (ns.disk > D_ATTACHING && os.disk == D_DISKLESS) os 926 drivers/block/drbd/drbd_state.c if (ns.conn == C_WF_CONNECTION && os.conn < C_UNCONNECTED) os 929 drivers/block/drbd/drbd_state.c if (ns.disk == D_OUTDATED && os.disk < D_OUTDATED && os.disk != D_ATTACHING) os 932 drivers/block/drbd/drbd_state.c if (ns.conn == C_DISCONNECTING && os.conn == C_UNCONNECTED) os 938 drivers/block/drbd/drbd_state.c !((ns.conn == C_WF_REPORT_PARAMS && os.conn == C_WF_CONNECTION) || os 939 drivers/block/drbd/drbd_state.c (ns.conn >= C_CONNECTED && os.conn == C_WF_REPORT_PARAMS))) os 945 drivers/block/drbd/drbd_state.c if (os.role != R_PRIMARY && ns.role == R_PRIMARY os 948 drivers/block/drbd/drbd_state.c && (ns.conn <= C_WF_SYNC_UUID || ns.conn != os.conn)) os 951 drivers/block/drbd/drbd_state.c if ((ns.conn == C_VERIFY_S || ns.conn == C_VERIFY_T) && os.conn < C_CONNECTED) os 955 drivers/block/drbd/drbd_state.c ns.conn != os.conn && os.conn > C_CONNECTED) os 959 drivers/block/drbd/drbd_state.c os.conn < C_CONNECTED) os 963 drivers/block/drbd/drbd_state.c && os.conn < C_WF_REPORT_PARAMS) os 967 drivers/block/drbd/drbd_state.c os.conn < C_CONNECTED && os.pdsk > D_OUTDATED) os 1014 drivers/block/drbd/drbd_state.c is_valid_transition(union drbd_state os, union drbd_state ns) os 1018 drivers/block/drbd/drbd_state.c rv = is_valid_conn_transition(os.conn, ns.conn); os 1021 drivers/block/drbd/drbd_state.c if (ns.disk == D_FAILED && os.disk == D_DISKLESS) os 1052 drivers/block/drbd/drbd_state.c static union drbd_state sanitize_state(struct drbd_device *device, union drbd_state os, os 1195 drivers/block/drbd/drbd_state.c !(os.role == R_PRIMARY && os.conn < C_CONNECTED && os.pdsk > D_OUTDATED)) os 1200 drivers/block/drbd/drbd_state.c !(os.role == R_PRIMARY && os.disk < D_UP_TO_DATE && os.pdsk < D_UP_TO_DATE)) os 1266 drivers/block/drbd/drbd_state.c union drbd_state os; os 1272 drivers/block/drbd/drbd_state.c os = drbd_read_state(device); os 1274 drivers/block/drbd/drbd_state.c ns = sanitize_state(device, os, ns, &ssw); os 1275 drivers/block/drbd/drbd_state.c if (ns.i == os.i) os 1278 drivers/block/drbd/drbd_state.c rv = is_valid_transition(os, ns); os 1291 drivers/block/drbd/drbd_state.c if (is_valid_state(device, os) == rv) os 1292 drivers/block/drbd/drbd_state.c rv = is_valid_soft_transition(os, ns, connection); os 1294 drivers/block/drbd/drbd_state.c rv = is_valid_soft_transition(os, ns, connection); os 1299 drivers/block/drbd/drbd_state.c print_st_err(device, os, ns, rv); os 1305 drivers/block/drbd/drbd_state.c drbd_pr_state_change(device, os, ns, flags); os 1311 drivers/block/drbd/drbd_state.c conn_pr_state_change(connection, os, ns, os 1318 drivers/block/drbd/drbd_state.c if ((os.disk != D_FAILED && ns.disk == D_FAILED) || os 1319 drivers/block/drbd/drbd_state.c (os.disk != D_DISKLESS && ns.disk == D_DISKLESS)) os 1322 drivers/block/drbd/drbd_state.c if (!is_sync_state(os.conn) && is_sync_state(ns.conn)) os 1341 drivers/block/drbd/drbd_state.c if (drbd_should_do_remote((union drbd_dev_state)os.i) != os 1345 drivers/block/drbd/drbd_state.c if (os.disk == D_ATTACHING && ns.disk >= D_NEGOTIATING) os 1349 drivers/block/drbd/drbd_state.c if (os.conn == C_WF_REPORT_PARAMS && ns.conn != C_WF_REPORT_PARAMS && os 1361 drivers/block/drbd/drbd_state.c if ((os.conn == C_VERIFY_S || os.conn == C_VERIFY_T) && os 1370 drivers/block/drbd/drbd_state.c if ((os.conn == C_PAUSED_SYNC_T || os.conn == C_PAUSED_SYNC_S) && os 1379 drivers/block/drbd/drbd_state.c if ((os.conn == C_SYNC_TARGET || os.conn == C_SYNC_SOURCE) && os 1385 drivers/block/drbd/drbd_state.c if (os.conn == C_CONNECTED && os 1433 drivers/block/drbd/drbd_state.c if (os.disk < D_CONSISTENT && ns.disk >= D_CONSISTENT) os 1439 drivers/block/drbd/drbd_state.c if (os.disk == D_INCONSISTENT && os.pdsk == D_INCONSISTENT && os 1440 drivers/block/drbd/drbd_state.c os.peer == R_SECONDARY && ns.peer == R_PRIMARY) os 1444 drivers/block/drbd/drbd_state.c if (os.conn != C_DISCONNECTING && ns.conn == C_DISCONNECTING) os 1448 drivers/block/drbd/drbd_state.c if (os.conn != C_STANDALONE && ns.conn == C_STANDALONE) os 1452 drivers/block/drbd/drbd_state.c if (os.conn > C_WF_CONNECTION && os 1457 drivers/block/drbd/drbd_state.c if (os.conn < C_CONNECTED && ns.conn >= C_CONNECTED) { os 1465 drivers/block/drbd/drbd_state.c if ((os.disk == D_ATTACHING || os.disk == D_NEGOTIATING) && os 1471 drivers/block/drbd/drbd_state.c ascw->os = os; os 1493 drivers/block/drbd/drbd_state.c after_state_ch(device, ascw->os, ascw->ns, ascw->flags, ascw->state_change); os 1674 drivers/block/drbd/drbd_state.c static bool lost_contact_to_peer_data(enum drbd_disk_state os, enum drbd_disk_state ns) os 1676 drivers/block/drbd/drbd_state.c if ((os >= D_INCONSISTENT && os != D_UNKNOWN && os != D_OUTDATED) os 1686 drivers/block/drbd/drbd_state.c if (os == D_UNKNOWN os 1700 drivers/block/drbd/drbd_state.c static void after_state_ch(struct drbd_device *device, union drbd_state os, os 1712 drivers/block/drbd/drbd_state.c sib.os = os; os 1715 drivers/block/drbd/drbd_state.c if ((os.disk != D_UP_TO_DATE || os.pdsk != D_UP_TO_DATE) os 1725 drivers/block/drbd/drbd_state.c if (!(os.role == R_PRIMARY && os.disk < D_UP_TO_DATE && os.pdsk < D_UP_TO_DATE) && os 1736 drivers/block/drbd/drbd_state.c if (os.conn < C_CONNECTED && conn_lowest_conn(connection) >= C_CONNECTED) os 1739 drivers/block/drbd/drbd_state.c if ((os.disk == D_ATTACHING || os.disk == D_NEGOTIATING) && os 1784 drivers/block/drbd/drbd_state.c if ((os.conn != C_SYNC_SOURCE && os.conn != C_PAUSED_SYNC_S) && os 1792 drivers/block/drbd/drbd_state.c if (os.pdsk == D_DISKLESS && os 1807 drivers/block/drbd/drbd_state.c if (os.conn != C_WF_BITMAP_S && ns.conn == C_WF_BITMAP_S && os 1814 drivers/block/drbd/drbd_state.c if (lost_contact_to_peer_data(os.pdsk, ns.pdsk)) { os 1830 drivers/block/drbd/drbd_state.c if (os.peer != R_PRIMARY && ns.peer == R_PRIMARY && os 1836 drivers/block/drbd/drbd_state.c if (os.peer == R_PRIMARY && ns.peer == R_SECONDARY) os 1848 drivers/block/drbd/drbd_state.c if (os.role == R_PRIMARY && ns.role == R_SECONDARY && os 1859 drivers/block/drbd/drbd_state.c os.disk == D_ATTACHING && ns.disk == D_NEGOTIATING) { os 1867 drivers/block/drbd/drbd_state.c ((os.aftr_isp != ns.aftr_isp) || os 1868 drivers/block/drbd/drbd_state.c (os.user_isp != ns.user_isp))) os 1872 drivers/block/drbd/drbd_state.c if ((!os.aftr_isp && !os.peer_isp && !os.user_isp) && os 1878 drivers/block/drbd/drbd_state.c if (os.conn == C_WF_REPORT_PARAMS && ns.conn >= C_CONNECTED) os 1881 drivers/block/drbd/drbd_state.c if (os.conn != C_AHEAD && ns.conn == C_AHEAD) os 1885 drivers/block/drbd/drbd_state.c if ((os.conn != C_STARTING_SYNC_T && ns.conn == C_STARTING_SYNC_T) || os 1886 drivers/block/drbd/drbd_state.c (os.conn != C_STARTING_SYNC_S && ns.conn == C_STARTING_SYNC_S)) os 1894 drivers/block/drbd/drbd_state.c if (os.disk != D_FAILED && ns.disk == D_FAILED) { os 1955 drivers/block/drbd/drbd_state.c if (os.disk != D_DISKLESS && ns.disk == D_DISKLESS) { os 1971 drivers/block/drbd/drbd_state.c if (os.disk == D_UP_TO_DATE && ns.disk == D_INCONSISTENT && ns.conn >= C_CONNECTED) os 1982 drivers/block/drbd/drbd_state.c if ((os.conn > C_CONNECTED && ns.conn <= C_CONNECTED) || os 1983 drivers/block/drbd/drbd_state.c (os.peer_isp && !ns.peer_isp) || os 1984 drivers/block/drbd/drbd_state.c (os.user_isp && !ns.user_isp)) os 1989 drivers/block/drbd/drbd_state.c if (os.disk < D_UP_TO_DATE && os.conn >= C_SYNC_SOURCE && ns.conn == C_CONNECTED) os 1995 drivers/block/drbd/drbd_state.c if (os.conn == C_VERIFY_S && ns.conn == C_CONNECTED os 2010 drivers/block/drbd/drbd_state.c if ((os.conn > C_CONNECTED && os.conn < C_AHEAD) && os 2020 drivers/block/drbd/drbd_state.c if (os.aftr_isp != ns.aftr_isp) os 2109 drivers/block/drbd/drbd_state.c union drbd_dev_state os, cs = { os 2120 drivers/block/drbd/drbd_state.c os = device->state; os 2123 drivers/block/drbd/drbd_state.c cs = os; os 2128 drivers/block/drbd/drbd_state.c if (cs.role != os.role) os 2131 drivers/block/drbd/drbd_state.c if (cs.peer != os.peer) os 2134 drivers/block/drbd/drbd_state.c if (cs.conn != os.conn) os 2137 drivers/block/drbd/drbd_state.c if (cs.disk != os.disk) os 2140 drivers/block/drbd/drbd_state.c if (cs.pdsk != os.pdsk) os 2155 drivers/block/drbd/drbd_state.c union drbd_state ns, os; os 2162 drivers/block/drbd/drbd_state.c os = drbd_read_state(device); os 2163 drivers/block/drbd/drbd_state.c ns = sanitize_state(device, os, apply_mask_val(os, mask, val), NULL); os 2165 drivers/block/drbd/drbd_state.c if (flags & CS_IGN_OUTD_FAIL && ns.disk == D_OUTDATED && os.disk < D_OUTDATED) os 2166 drivers/block/drbd/drbd_state.c ns.disk = os.disk; os 2168 drivers/block/drbd/drbd_state.c if (ns.i == os.i) os 2171 drivers/block/drbd/drbd_state.c rv = is_valid_transition(os, ns); os 2176 drivers/block/drbd/drbd_state.c if (is_valid_state(device, os) == rv) os 2177 drivers/block/drbd/drbd_state.c rv = is_valid_soft_transition(os, ns, connection); os 2179 drivers/block/drbd/drbd_state.c rv = is_valid_soft_transition(os, ns, connection); os 2184 drivers/block/drbd/drbd_state.c print_st_err(device, os, ns, rv); os 2197 drivers/block/drbd/drbd_state.c union drbd_state ns, os, ns_max = { }; os 2223 drivers/block/drbd/drbd_state.c os = drbd_read_state(device); os 2224 drivers/block/drbd/drbd_state.c ns = apply_mask_val(os, mask, val); os 2225 drivers/block/drbd/drbd_state.c ns = sanitize_state(device, os, ns, NULL); os 2227 drivers/block/drbd/drbd_state.c if (flags & CS_IGN_OUTD_FAIL && ns.disk == D_OUTDATED && os.disk < D_OUTDATED) os 2228 drivers/block/drbd/drbd_state.c ns.disk = os.disk; os 2290 drivers/block/drbd/drbd_state.c union drbd_state ns_max, ns_min, os; os 2339 drivers/block/drbd/drbd_state.c conn_old_common_state(connection, &os, &flags); os 2342 drivers/block/drbd/drbd_state.c conn_pr_state_change(connection, os, ns_max, flags); os 2347 drivers/block/drbd/drbd_state.c acscw->oc = os.conn; os 858 drivers/block/drbd/drbd_worker.c union drbd_state os, ns; os 901 drivers/block/drbd/drbd_worker.c os = drbd_read_state(device); os 903 drivers/block/drbd/drbd_worker.c verify_done = (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T); os 907 drivers/block/drbd/drbd_worker.c if (os.conn <= C_CONNECTED) os 910 drivers/block/drbd/drbd_worker.c ns = os; os 919 drivers/block/drbd/drbd_worker.c if (os.conn == C_VERIFY_S || os.conn == C_VERIFY_T) { os 928 drivers/block/drbd/drbd_worker.c if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) os 949 drivers/block/drbd/drbd_worker.c if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) { os 960 drivers/block/drbd/drbd_worker.c if (os.conn == C_SYNC_TARGET || os.conn == C_PAUSED_SYNC_T) { os 972 drivers/block/drbd/drbd_worker.c if (!(os.conn == C_VERIFY_S || os.conn == C_VERIFY_T)) { os 993 drivers/block/drbd/drbd_worker.c if (os.conn == C_SYNC_SOURCE) { os 87 drivers/gpu/drm/tegra/falcon.c struct falcon_fw_os_header_v1 *os; os 107 drivers/gpu/drm/tegra/falcon.c os = falcon->firmware.vaddr + bin->os_header_offset; os 111 drivers/gpu/drm/tegra/falcon.c falcon->firmware.code.offset = os->code_offset; os 112 drivers/gpu/drm/tegra/falcon.c falcon->firmware.code.size = os->code_size; os 113 drivers/gpu/drm/tegra/falcon.c falcon->firmware.data.offset = os->data_offset; os 114 drivers/gpu/drm/tegra/falcon.c falcon->firmware.data.size = os->data_size; os 305 drivers/hid/hid-wiimote-core.c #define wiiproto_req_wreg(wdata, os, buf, sz) \ os 306 drivers/hid/hid-wiimote-core.c wiiproto_req_wmem((wdata), false, (os), (buf), (sz)) os 308 drivers/hid/hid-wiimote-core.c #define wiiproto_req_weeprom(wdata, os, buf, sz) \ os 309 drivers/hid/hid-wiimote-core.c wiiproto_req_wmem((wdata), true, (os), (buf), (sz)) os 275 drivers/hid/hid-wiimote.h #define wiiproto_req_rreg(wdata, os, sz) \ os 276 drivers/hid/hid-wiimote.h wiiproto_req_rmem((wdata), false, (os), (sz)) os 277 drivers/hid/hid-wiimote.h #define wiiproto_req_reeprom(wdata, os, sz) \ os 278 drivers/hid/hid-wiimote.h wiiproto_req_rmem((wdata), true, (os), (sz)) os 761 drivers/hwmon/lm75.c int conf, hyst, os; os 808 drivers/hwmon/lm75.c os = i2c_smbus_read_byte_data(new_client, 3); os 817 drivers/hwmon/lm75.c os = i2c_smbus_read_byte_data(new_client, 3); os 818 drivers/hwmon/lm75.c if (i2c_smbus_read_byte_data(new_client, 4) != os os 819 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 5) != os os 820 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 6) != os os 821 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, 7) != os) os 828 drivers/hwmon/lm75.c if (hyst == 0 && os == 0) os 835 drivers/hwmon/lm75.c || i2c_smbus_read_byte_data(new_client, i + 3) != os) os 252 drivers/iio/adc/ad7606_spi.c unsigned long os[3] = {1}; os 261 drivers/iio/adc/ad7606_spi.c gpiod_set_array_value(ARRAY_SIZE(os), os 262 drivers/iio/adc/ad7606_spi.c st->gpio_os->desc, st->gpio_os->info, os); os 601 drivers/message/fusion/mptsas.c sas_info->os.id = starget->id; os 602 drivers/message/fusion/mptsas.c sas_info->os.channel = starget->channel; os 734 drivers/message/fusion/mptsas.c sas_info->os.id = starget->id; os 735 drivers/message/fusion/mptsas.c sas_info->os.channel = starget->channel; os 799 drivers/message/fusion/mptsas.c if (sas_info->os.channel == channel && sas_info->os.id == id) os 4064 drivers/message/fusion/mptsas.c id = sas_info->os.id; os 4065 drivers/message/fusion/mptsas.c channel = sas_info->os.channel; os 79 drivers/message/fusion/mptsas.h struct mptsas_mapping os; /* operating system mapping*/ os 431 drivers/net/fddi/skfp/h/smc.h struct s_smt_os os ; /* os specific */ os 267 drivers/net/fddi/skfp/hwmtm.c if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) os 277 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; os 280 drivers/net/fddi/skfp/hwmtm.c if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc, os 360 drivers/net/fddi/skfp/hwmtm.c ds = (struct s_smt_fp_txd volatile *) ((char *)smc->os.hwm.descr_p + os 397 drivers/net/fddi/skfp/hwmtm.c ds = (struct s_smt_fp_rxd volatile *) smc->os.hwm.descr_p ; os 430 drivers/net/fddi/skfp/hwmtm.c mb = smc->os.hwm.mbuf_pool.mb_start ; os 431 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ; os 453 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ; os 454 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_pipe = smc->os.hwm.txd_tx_tail = NULL ; os 455 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = smc->os.hwm.pass_DB = 0 ; os 456 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_llc_promisc = TRUE ; os 457 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_rx_frames = smc->os.hwm.queued_txd_mb = 0 ; os 458 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.detec_count = 0 ; os 459 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_break = 0 ; os 460 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_len_error = 0 ; os 461 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.isr_flag = FALSE ; os 466 drivers/net/fddi/skfp/hwmtm.c i = 16 - ((long)smc->os.hwm.descr_p & 0xf) ; os 469 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.descr_p = (union s_fp_descr volatile *) os 470 drivers/net/fddi/skfp/hwmtm.c ((char *)smc->os.hwm.descr_p+i) ; os 472 drivers/net/fddi/skfp/hwmtm.c DB_GEN(3, "pt to descr area = %p", smc->os.hwm.descr_p); os 487 drivers/net/fddi/skfp/hwmtm.c mb = smc->os.hwm.mbuf_pool.mb_free ; os 493 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.mbuf_pool.mb_free = mb->sm_next ; os 518 drivers/net/fddi/skfp/hwmtm.c mb->sm_next = smc->os.hwm.mbuf_pool.mb_free ; os 519 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.mbuf_pool.mb_free = mb ; os 716 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.rx_break) { os 719 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_break = 0 ; os 723 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.detec_count = 0 ; os 728 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.isr_flag = TRUE ; os 732 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr) { os 733 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.leave_isr = FALSE ; os 777 drivers/net/fddi/skfp/hwmtm.c if (++smc->os.hwm.detec_count > 4) { os 835 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr) { os 856 drivers/net/fddi/skfp/hwmtm.c if (!offDepth && smc->os.hwm.rx_break) { os 871 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr) { os 880 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr && force_irq) { os 884 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.isr_flag = FALSE ; os 992 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_SMT = TRUE ; os 995 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_SMT = FALSE ; os 998 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_NSA = TRUE ; os 1001 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_NSA = FALSE ; os 1004 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_DB = TRUE ; os 1007 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_DB = FALSE ; os 1010 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = FALSE ; os 1011 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_DB = FALSE ; os 1012 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_llc_promisc = TRUE ; os 1016 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_llc_promisc = FALSE ; os 1019 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_llc_promisc = TRUE ; os 1055 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.detec_count = 0 ; os 1064 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr) { os 1070 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_break = 1 ; os 1073 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_break = 0 ; os 1076 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.rx_break) { os 1104 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.detec_count = 0 ; os 1214 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_len_error++ ; os 1241 drivers/net/fddi/skfp/hwmtm.c if (!smc->os.hwm.pass_llc_promisc) { os 1295 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.pass_SMT) { os 1314 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.pass_NSA || os 1315 drivers/net/fddi/skfp/hwmtm.c (smc->os.hwm.pass_SMT && os 1329 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.pass_DB) { os 1381 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.r.len = mb->sm_len ; os 1382 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.r.mb_pos = smtod(mb,char *) ; os 1383 drivers/net/fddi/skfp/hwmtm.c fc = *smc->os.hwm.r.mb_pos ; os 1385 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.r.mb_pos,(int)mb->sm_len) ; os 1550 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_p = smc->hw.fp.tx[frame_status & QUEUE_A0] ; os 1551 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_descr = TX_DESCRIPTOR | (((u_long)(frame_len-1)&3)<<27) ; os 1552 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_len = frame_len ; os 1578 drivers/net/fddi/skfp/hwmtm.c if (frag_count > smc->os.hwm.tx_p->tx_free) { os 1581 drivers/net/fddi/skfp/hwmtm.c if (frag_count > smc->os.hwm.tx_p->tx_free) { os 1593 drivers/net/fddi/skfp/hwmtm.c NDD_TRACE("THiE",frame_status,smc->os.hwm.tx_p->tx_free,0) ; os 1631 drivers/net/fddi/skfp/hwmtm.c queue = smc->os.hwm.tx_p ; os 1646 drivers/net/fddi/skfp/hwmtm.c t->txd_txdscr = cpu_to_le32(smc->os.hwm.tx_descr) ; os 1675 drivers/net/fddi/skfp/hwmtm.c if(!(smc->os.hwm.tx_mb = smt_get_mbuf(smc))) { os 1680 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_data = os 1681 drivers/net/fddi/skfp/hwmtm.c smtod(smc->os.hwm.tx_mb,char *) - 1 ; os 1684 drivers/net/fddi/skfp/hwmtm.c hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, os 1685 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_len) ; os 1690 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.tx_mb) { os 1693 drivers/net/fddi/skfp/hwmtm.c memcpy(smc->os.hwm.tx_data,virt,len) ; os 1694 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_data += len ; os 1706 drivers/net/fddi/skfp/hwmtm.c hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, os 1707 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_len) ; os 1710 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_data = os 1711 drivers/net/fddi/skfp/hwmtm.c smtod(smc->os.hwm.tx_mb,char *) - 1 ; os 1712 drivers/net/fddi/skfp/hwmtm.c *(char *)smc->os.hwm.tx_mb->sm_data = os 1713 drivers/net/fddi/skfp/hwmtm.c *smc->os.hwm.tx_data ; os 1714 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_data++ ; os 1715 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_mb->sm_len = os 1716 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_len - 1 ; os 1718 drivers/net/fddi/skfp/hwmtm.c smt_received_pack(smc,smc->os.hwm.tx_mb, os 1733 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_rx_frames++ ; os 1735 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.llc_rx_pipe == NULL) { os 1736 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_pipe = mb ; os 1739 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_tail->sm_next = mb ; os 1741 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_tail = mb ; os 1746 drivers/net/fddi/skfp/hwmtm.c if (!smc->os.hwm.isr_flag) { os 1758 drivers/net/fddi/skfp/hwmtm.c if ((mb = smc->os.hwm.llc_rx_pipe)) { os 1759 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_rx_frames-- ; os 1760 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_pipe = mb->sm_next ; os 1773 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_txd_mb++ ; os 1775 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.txd_tx_pipe == NULL) { os 1776 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_pipe = mb ; os 1779 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_tail->sm_next = mb ; os 1781 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_tail = mb ; os 1791 drivers/net/fddi/skfp/hwmtm.c if ((mb = smc->os.hwm.txd_tx_pipe)) { os 1792 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_txd_mb-- ; os 1793 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_pipe = mb->sm_next ; os 1854 drivers/net/fddi/skfp/hwmtm.c if ((smc->os.hwm.pass_NSA &&(fc == FC_SMT_NSA)) || os 1855 drivers/net/fddi/skfp/hwmtm.c (smc->os.hwm.pass_SMT &&(fc == FC_SMT_INFO))) os 261 drivers/net/fddi/skfp/skfddi.c smc->os.dev = dev; os 262 drivers/net/fddi/skfp/skfddi.c smc->os.bus_type = SK_BUS_TYPE_PCI; os 263 drivers/net/fddi/skfp/skfddi.c smc->os.pdev = *pdev; os 264 drivers/net/fddi/skfp/skfddi.c smc->os.QueueSkb = MAX_TX_QUEUE_LEN; os 265 drivers/net/fddi/skfp/skfddi.c smc->os.MaxFrameSize = MAX_FRAME_SIZE; os 266 drivers/net/fddi/skfp/skfddi.c smc->os.dev = dev; os 269 drivers/net/fddi/skfp/skfddi.c smc->os.ResetRequested = FALSE; os 270 drivers/net/fddi/skfp/skfddi.c skb_queue_head_init(&smc->os.SendSkbQueue); os 295 drivers/net/fddi/skfp/skfddi.c if (smc->os.SharedMemAddr) os 296 drivers/net/fddi/skfp/skfddi.c dma_free_coherent(&pdev->dev, smc->os.SharedMemSize, os 297 drivers/net/fddi/skfp/skfddi.c smc->os.SharedMemAddr, os 298 drivers/net/fddi/skfp/skfddi.c smc->os.SharedMemDMA); os 300 drivers/net/fddi/skfp/skfddi.c smc->os.LocalRxBuffer, smc->os.LocalRxBufferDMA); os 326 drivers/net/fddi/skfp/skfddi.c if (lp->os.SharedMemAddr) { os 328 drivers/net/fddi/skfp/skfddi.c lp->os.SharedMemSize, os 329 drivers/net/fddi/skfp/skfddi.c lp->os.SharedMemAddr, os 330 drivers/net/fddi/skfp/skfddi.c lp->os.SharedMemDMA); os 331 drivers/net/fddi/skfp/skfddi.c lp->os.SharedMemAddr = NULL; os 333 drivers/net/fddi/skfp/skfddi.c if (lp->os.LocalRxBuffer) { os 336 drivers/net/fddi/skfp/skfddi.c lp->os.LocalRxBuffer, os 337 drivers/net/fddi/skfp/skfddi.c lp->os.LocalRxBufferDMA); os 338 drivers/net/fddi/skfp/skfddi.c lp->os.LocalRxBuffer = NULL; os 379 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 548 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 609 drivers/net/fddi/skfp/skfddi.c bp = &smc->os; os 627 drivers/net/fddi/skfp/skfddi.c if (smc->os.ResetRequested) { os 629 drivers/net/fddi/skfp/skfddi.c smc->os.ResetRequested = FALSE; os 675 drivers/net/fddi/skfp/skfddi.c bp->os.MacStat.port_bs_flag[0] = 0x1234; os 676 drivers/net/fddi/skfp/skfddi.c bp->os.MacStat.port_bs_flag[1] = 0x5678; os 792 drivers/net/fddi/skfp/skfddi.c return (struct net_device_stats *)&bp->os.MacStat; os 836 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 921 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 960 drivers/net/fddi/skfp/skfddi.c skfddi_priv *lp = &smc->os; os 1041 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 1102 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 1244 drivers/net/fddi/skfp/skfddi.c init_smt(smc, (smc->os.dev)->dev_addr); // Initialize the hardware. os 1250 drivers/net/fddi/skfp/skfddi.c skfp_ctl_set_multicast_list_wo_lock(smc->os.dev); os 1274 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 1307 drivers/net/fddi/skfp/skfddi.c virt = (void *) (smc->os.SharedMemAddr + smc->os.SharedMemHeap); os 1309 drivers/net/fddi/skfp/skfddi.c if ((smc->os.SharedMemHeap + size) > smc->os.SharedMemSize) { os 1313 drivers/net/fddi/skfp/skfddi.c smc->os.SharedMemHeap += size; // Move heap pointer. os 1318 drivers/net/fddi/skfp/skfddi.c (smc->os.SharedMemDMA + os 1319 drivers/net/fddi/skfp/skfddi.c ((char *) virt - (char *)smc->os.SharedMemAddr))); os 1382 drivers/net/fddi/skfp/skfddi.c return smc->os.SharedMemDMA + os 1383 drivers/net/fddi/skfp/skfddi.c ((char *) virt - (char *)smc->os.SharedMemAddr); os 1417 drivers/net/fddi/skfp/skfddi.c return smc->os.SharedMemDMA + os 1418 drivers/net/fddi/skfp/skfddi.c ((char *) virt - (char *)smc->os.SharedMemAddr); os 1458 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 1501 drivers/net/fddi/skfp/skfddi.c pci_unmap_single(&smc->os.pdev, txd->txd_os.dma_addr, os 1505 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.tx_packets++; // Count transmitted packets. os 1506 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.tx_bytes+=skb->len; // Count bytes os 1572 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 1588 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_errors++; os 1641 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_packets++; // Count indicated receive os 1643 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_bytes+=len; // Count bytes. os 1648 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.multicast++; os 1664 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_errors++; // Count receive packets os 1702 drivers/net/fddi/skfp/skfddi.c MaxFrameSize = smc->os.MaxFrameSize; os 1719 drivers/net/fddi/skfp/skfddi.c b_addr = pci_map_single(&smc->os.pdev, os 1728 drivers/net/fddi/skfp/skfddi.c v_addr = smc->os.LocalRxBuffer; os 1729 drivers/net/fddi/skfp/skfddi.c b_addr = smc->os.LocalRxBufferDMA; os 1735 drivers/net/fddi/skfp/skfddi.c b_addr = pci_map_single(&smc->os.pdev, os 1778 drivers/net/fddi/skfp/skfddi.c MaxFrameSize = smc->os.MaxFrameSize; os 1790 drivers/net/fddi/skfp/skfddi.c b_addr = pci_map_single(&smc->os.pdev, os 1802 drivers/net/fddi/skfp/skfddi.c v_addr = smc->os.LocalRxBuffer; os 1803 drivers/net/fddi/skfp/skfddi.c b_addr = smc->os.LocalRxBufferDMA; os 1847 drivers/net/fddi/skfp/skfddi.c skfddi_priv *bp = &smc->os; os 1914 drivers/net/fddi/skfp/skfddi.c skb->protocol = fddi_type_trans(skb, smc->os.dev); os 2039 drivers/net/fddi/skfp/skfddi.c smc->os.MacStat.gen.rx_errors++; os 2233 drivers/net/fddi/skfp/skfddi.c smc->os.ResetRequested = TRUE; // Set flag. os 87 drivers/net/fddi/skfp/smtdef.c smc->os.smc_version = SMC_VERSION ; os 3182 drivers/scsi/ipr.c driver_dump->hdr.os = IPR_DUMP_OS_LINUX; os 1658 drivers/scsi/ipr.h u32 os; os 22 drivers/usb/mtu3/mtu3_debugfs.c #define dump_prb_reg(nm, os) \ os 25 drivers/usb/mtu3/mtu3_debugfs.c .offset = os, \ os 1328 fs/nfsd/nfs4proc.c struct nfsd4_offload_status *os = &u->offload_status; os 1333 fs/nfsd/nfs4proc.c copy = find_async_copy(clp, &os->stateid); os 1369 fs/nfsd/nfs4proc.c struct nfsd4_offload_status *os = &u->offload_status; os 1374 fs/nfsd/nfs4proc.c copy = find_async_copy(clp, &os->stateid); os 1376 fs/nfsd/nfs4proc.c os->count = copy->cp_res.wr_bytes_written; os 1772 fs/nfsd/nfs4xdr.c struct nfsd4_offload_status *os) os 1774 fs/nfsd/nfs4xdr.c return nfsd4_decode_stateid(argp, &os->stateid); os 4276 fs/nfsd/nfs4xdr.c struct nfsd4_offload_status *os) os 4284 fs/nfsd/nfs4xdr.c p = xdr_encode_hyper(p, os->count); os 1923 fs/ocfs2/journal.c struct ocfs2_orphan_scan *os; os 1927 fs/ocfs2/journal.c os = &osb->osb_orphan_scan; os 1929 fs/ocfs2/journal.c if (atomic_read(&os->os_state) == ORPHAN_SCAN_INACTIVE) os 1932 fs/ocfs2/journal.c trace_ocfs2_queue_orphan_scan_begin(os->os_count, os->os_seqno, os 1933 fs/ocfs2/journal.c atomic_read(&os->os_state)); os 1943 fs/ocfs2/journal.c if (atomic_read(&os->os_state) == ORPHAN_SCAN_INACTIVE) os 1946 fs/ocfs2/journal.c if (os->os_seqno != seqno) { os 1947 fs/ocfs2/journal.c os->os_seqno = seqno; os 1959 fs/ocfs2/journal.c os->os_count++; os 1960 fs/ocfs2/journal.c os->os_scantime = ktime_get_seconds(); os 1964 fs/ocfs2/journal.c trace_ocfs2_queue_orphan_scan_end(os->os_count, os->os_seqno, os 1965 fs/ocfs2/journal.c atomic_read(&os->os_state)); os 1972 fs/ocfs2/journal.c struct ocfs2_orphan_scan *os; os 1975 fs/ocfs2/journal.c os = container_of(work, struct ocfs2_orphan_scan, os 1977 fs/ocfs2/journal.c osb = os->os_osb; os 1979 fs/ocfs2/journal.c mutex_lock(&os->os_lock); os 1981 fs/ocfs2/journal.c if (atomic_read(&os->os_state) == ORPHAN_SCAN_ACTIVE) os 1982 fs/ocfs2/journal.c queue_delayed_work(osb->ocfs2_wq, &os->os_orphan_scan_work, os 1984 fs/ocfs2/journal.c mutex_unlock(&os->os_lock); os 1989 fs/ocfs2/journal.c struct ocfs2_orphan_scan *os; os 1991 fs/ocfs2/journal.c os = &osb->osb_orphan_scan; os 1992 fs/ocfs2/journal.c if (atomic_read(&os->os_state) == ORPHAN_SCAN_ACTIVE) { os 1993 fs/ocfs2/journal.c atomic_set(&os->os_state, ORPHAN_SCAN_INACTIVE); os 1994 fs/ocfs2/journal.c mutex_lock(&os->os_lock); os 1995 fs/ocfs2/journal.c cancel_delayed_work(&os->os_orphan_scan_work); os 1996 fs/ocfs2/journal.c mutex_unlock(&os->os_lock); os 2002 fs/ocfs2/journal.c struct ocfs2_orphan_scan *os; os 2004 fs/ocfs2/journal.c os = &osb->osb_orphan_scan; os 2005 fs/ocfs2/journal.c os->os_osb = osb; os 2006 fs/ocfs2/journal.c os->os_count = 0; os 2007 fs/ocfs2/journal.c os->os_seqno = 0; os 2008 fs/ocfs2/journal.c mutex_init(&os->os_lock); os 2009 fs/ocfs2/journal.c INIT_DELAYED_WORK(&os->os_orphan_scan_work, ocfs2_orphan_scan_work); os 2014 fs/ocfs2/journal.c struct ocfs2_orphan_scan *os; os 2016 fs/ocfs2/journal.c os = &osb->osb_orphan_scan; os 2017 fs/ocfs2/journal.c os->os_scantime = ktime_get_seconds(); os 2019 fs/ocfs2/journal.c atomic_set(&os->os_state, ORPHAN_SCAN_INACTIVE); os 2021 fs/ocfs2/journal.c atomic_set(&os->os_state, ORPHAN_SCAN_ACTIVE); os 2022 fs/ocfs2/journal.c queue_delayed_work(osb->ocfs2_wq, &os->os_orphan_scan_work, os 219 fs/ocfs2/super.c struct ocfs2_orphan_scan *os = &osb->osb_orphan_scan; os 321 fs/ocfs2/super.c os->os_count, os->os_seqno); os 323 fs/ocfs2/super.c if (atomic_read(&os->os_state) == ORPHAN_SCAN_INACTIVE) os 327 fs/ocfs2/super.c (unsigned long)(ktime_get_seconds() - os->os_scantime)); os 39 include/linux/mtd/nand.h #define NAND_MEMORG(bpc, ps, os, ppe, epl, mbb, ppl, lpt, nt) \ os 43 include/linux/mtd/nand.h .oobsize = (os), \ os 3657 kernel/sched/core.c int os; os 3697 kernel/sched/core.c os = atomic_fetch_add_unless(&twork->state, -1, TICK_SCHED_REMOTE_RUNNING); os 3698 kernel/sched/core.c WARN_ON_ONCE(os == TICK_SCHED_REMOTE_OFFLINE); os 3699 kernel/sched/core.c if (os == TICK_SCHED_REMOTE_RUNNING) os 3705 kernel/sched/core.c int os; os 3714 kernel/sched/core.c os = atomic_xchg(&twork->state, TICK_SCHED_REMOTE_RUNNING); os 3715 kernel/sched/core.c WARN_ON_ONCE(os == TICK_SCHED_REMOTE_RUNNING); os 3716 kernel/sched/core.c if (os == TICK_SCHED_REMOTE_OFFLINE) { os 3727 kernel/sched/core.c int os; os 3736 kernel/sched/core.c os = atomic_xchg(&twork->state, TICK_SCHED_REMOTE_OFFLINING); os 3737 kernel/sched/core.c WARN_ON_ONCE(os != TICK_SCHED_REMOTE_RUNNING); os 506 mm/vmstat.c int os = overstep_mode * (t >> 1) ; os 509 mm/vmstat.c z = n + os; os 510 mm/vmstat.c n = -os; os 563 mm/vmstat.c int os = overstep_mode * (t >> 1) ; os 566 mm/vmstat.c z = n + os; os 567 mm/vmstat.c n = -os; os 15 net/ceph/ceph_fs.c __u32 os = layout->object_size; os 20 net/ceph/ceph_fs.c if (!os || (os & (CEPH_MIN_STRIPE_UNIT-1))) os 23 net/ceph/ceph_fs.c if (os < su || os % su) os 362 net/tipc/trace.h TP_PROTO(const char *name, u32 os, u32 ns, int evt), os 364 net/tipc/trace.h TP_ARGS(name, os, ns, evt), os 368 net/tipc/trace.h __field(u32, os) os 375 net/tipc/trace.h __entry->os = os; os 381 net/tipc/trace.h state_sym(__entry->os), evt_sym(__entry->evt), os 387 net/tipc/trace.h TP_PROTO(const char *name, u32 os, u32 ns, int evt), \ os 388 net/tipc/trace.h TP_ARGS(name, os, ns, evt)) os 151 sound/soc/meson/axg-pdm.c unsigned int os = filters->hcic.ds; os 160 sound/soc/meson/axg-pdm.c os *= filters->lpf[i].ds; os 162 sound/soc/meson/axg-pdm.c return os; os 165 sound/soc/meson/axg-pdm.c static int axg_pdm_set_sysclk(struct axg_pdm *priv, unsigned int os, os 168 sound/soc/meson/axg-pdm.c unsigned int sys_rate = os * 2 * rate * PDM_CHAN_CTRL_POINTER_MAX; os 228 sound/soc/meson/axg-pdm.c unsigned int os = axg_pdm_get_os(priv); os 247 sound/soc/meson/axg-pdm.c ret = axg_pdm_set_sysclk(priv, os, rate); os 253 sound/soc/meson/axg-pdm.c ret = clk_set_rate(priv->dclk, rate * os); os 127 tools/lib/subcmd/parse-options.h #define OPT_BOOLEAN_SET(s, l, v, os, h) \ os 130 tools/lib/subcmd/parse-options.h .set = check_vtype(os, bool *)} os 144 tools/lib/subcmd/parse-options.h #define OPT_STRING_OPTARG_SET(s, l, v, os, a, h, d) \ os 148 tools/lib/subcmd/parse-options.h .set = check_vtype(os, bool *)} os 340 tools/perf/builtin-mem.c char *s, *os = NULL, *p; os 349 tools/perf/builtin-mem.c s = os = strdup(str); os 384 tools/perf/builtin-mem.c free(os); os 47 tools/perf/util/parse-branch-options.c char *os = NULL; os 56 tools/perf/util/parse-branch-options.c s = os = strdup(str); os 89 tools/perf/util/parse-branch-options.c free(os); os 17 tools/perf/util/parse-regs-options.c char *s, *os = NULL, *p; os 38 tools/perf/util/parse-regs-options.c s = os = strdup(str); os 81 tools/perf/util/parse-regs-options.c free(os); os 146 tools/perf/util/stat-display.c struct outstate *os = ctx; os 148 tools/perf/util/stat-display.c os->newline = true; os 152 tools/perf/util/stat-display.c struct outstate *os) os 154 tools/perf/util/stat-display.c fputc('\n', os->fh); os 155 tools/perf/util/stat-display.c fputs(os->prefix, os->fh); os 156 tools/perf/util/stat-display.c aggr_printout(config, os->evsel, os->id, os->nr); os 158 tools/perf/util/stat-display.c fprintf(os->fh, " "); os 159 tools/perf/util/stat-display.c fprintf(os->fh, " "); os 166 tools/perf/util/stat-display.c struct outstate *os = ctx; os 167 tools/perf/util/stat-display.c FILE *out = os->fh; os 169 tools/perf/util/stat-display.c bool newline = os->newline; os 171 tools/perf/util/stat-display.c os->newline = false; os 179 tools/perf/util/stat-display.c do_new_line_std(config, os); os 191 tools/perf/util/stat-display.c struct outstate *os = ctx; os 194 tools/perf/util/stat-display.c fputc('\n', os->fh); os 195 tools/perf/util/stat-display.c if (os->prefix) os 196 tools/perf/util/stat-display.c fprintf(os->fh, "%s%s", os->prefix, config->csv_sep); os 197 tools/perf/util/stat-display.c aggr_printout(config, os->evsel, os->id, os->nr); os 198 tools/perf/util/stat-display.c for (i = 0; i < os->nfields; i++) os 199 tools/perf/util/stat-display.c fputs(config->csv_sep, os->fh); os 207 tools/perf/util/stat-display.c struct outstate *os = ctx; os 208 tools/perf/util/stat-display.c FILE *out = os->fh; os 252 tools/perf/util/stat-display.c struct outstate *os = ctx; os 253 tools/perf/util/stat-display.c FILE *out = os->fh; os 259 tools/perf/util/stat-display.c unit = fixunit(buf, os->evsel, unit); os 275 tools/perf/util/stat-display.c struct outstate *os = ctx; os 276 tools/perf/util/stat-display.c FILE *out = os->fh; os 282 tools/perf/util/stat-display.c unit = fixunit(tbuf, os->evsel, unit); os 301 tools/perf/util/stat-display.c struct outstate *os = ctx; os 306 tools/perf/util/stat-display.c unit = fixunit(tbuf, os->evsel, unit); os 308 tools/perf/util/stat-display.c fprintf(os->fh, "%s%s", unit, config->csv_sep); os 310 tools/perf/util/stat-display.c fprintf(os->fh, "%*s ", config->metric_only_len, unit); os 397 tools/perf/util/stat-display.c struct outstate os = { os 428 tools/perf/util/stat-display.c os.nfields = 3; os 429 tools/perf/util/stat-display.c os.nfields += aggr_fields[config->aggr_mode]; os 431 tools/perf/util/stat-display.c os.nfields++; os 435 tools/perf/util/stat-display.c pm(config, &os, NULL, "", "", 0); os 462 tools/perf/util/stat-display.c pm(config, &os, NULL, NULL, "", 0); os 466 tools/perf/util/stat-display.c pm(config, &os, NULL, NULL, "", 0); os 475 tools/perf/util/stat-display.c out.ctx = &os; os 919 tools/perf/util/stat-display.c struct outstate os = { os 937 tools/perf/util/stat-display.c os.evsel = counter; os 938 tools/perf/util/stat-display.c out.ctx = &os; os 942 tools/perf/util/stat-display.c os.evsel = counter;