Home
last modified time | relevance | path

Searched full:if (Results 126 – 150 of 22785) sorted by relevance

12345678910>>...912

/linux-3.3/fs/jffs2/
Dacl.c26 if (count <= 4) { in jffs2_acl_size()
41 if (size < 4 * sizeof(struct jffs2_acl_entry_short)) { in jffs2_acl_count()
42 if (size % sizeof(struct jffs2_acl_entry_short)) in jffs2_acl_count()
47 if (s % sizeof(struct jffs2_acl_entry)) in jffs2_acl_count()
62 if (!value) in jffs2_acl_from_medium()
64 if (size < sizeof(struct jffs2_acl_header)) in jffs2_acl_from_medium()
67 if (ver != JFFS2_ACL_VERSION) { in jffs2_acl_from_medium()
74 if (count < 0) in jffs2_acl_from_medium()
76 if (count == 0) in jffs2_acl_from_medium()
80 if (!acl) in jffs2_acl_from_medium()
[all …]
/linux-3.3/drivers/media/radio/
Dradio-wl1273.c17 * along with this program; if not, write to the Free Software
125 if (r < 0 && i < len + 1) in wl1273_fm_write_fw()
133 if (i == len || r == 1) in wl1273_fm_write_fw()
166 if (core->mode != WL1273_MODE_RX) in wl1273_fm_rds()
170 if (r) in wl1273_fm_rds()
173 if ((val & 0x01) == 0) { in wl1273_fm_rds()
181 if (r != ARRAY_SIZE(msg)) { in wl1273_fm_rds()
189 if (!WL1273_FIFO_HAS_DATA(status)) in wl1273_fm_rds()
197 if (WL1273_RDS_UNCORRECTABLE_ERROR & status) { in wl1273_fm_rds()
200 } else if (WL1273_RDS_CORRECTABLE_ERROR & status) { in wl1273_fm_rds()
[all …]
/linux-3.3/fs/ocfs2/
Dfile.c21 * License along with this program; if not, write to the
72 if (!fp) in ocfs2_init_file_private()
88 if (fp) { in ocfs2_free_file_private()
107 if (file->f_mode & FMODE_WRITE) in ocfs2_file_open()
113 * node. If it hasn't then we're safe as long as we hold the in ocfs2_file_open()
115 if (OCFS2_I(inode)->ip_flags & OCFS2_INODE_DELETED) { in ocfs2_file_open()
122 if (mode & O_DIRECT) in ocfs2_file_open()
129 if (status) { in ocfs2_file_open()
131 * We want to set open count back if we're failing the in ocfs2_file_open()
148 if (!--oi->ip_open_count) in ocfs2_file_release()
[all …]
/linux-3.3/drivers/macintosh/
Dwindfarm_pm91.c152 if (hdr == 0) { in wf_smu_create_cpu_fans()
163 if (hdr) { in wf_smu_create_cpu_fans()
172 if (wf_smu_cpu_fans == NULL) in wf_smu_create_cpu_fans()
179 if (pid_param.history_len > WF_CPU_PID_MAX_HISTORY) { in wf_smu_create_cpu_fans()
212 if (cpufreq_clamp) in wf_smu_create_cpu_fans()
214 if (fan_cpu_main) in wf_smu_create_cpu_fans()
223 if (--st->ticks != 0) { in wf_smu_cpu_fans_tick()
224 if (wf_smu_readjust) in wf_smu_cpu_fans_tick()
231 if (rc) { in wf_smu_cpu_fans_tick()
239 if (rc) { in wf_smu_cpu_fans_tick()
[all …]
/linux-3.3/block/
Dblk-merge.c20 if (!bio) in __blk_recalc_rq_segments()
35 if (high || highprv) in __blk_recalc_rq_segments()
37 if (cluster) { in __blk_recalc_rq_segments()
38 if (seg_size + bv->bv_len in __blk_recalc_rq_segments()
41 if (!BIOVEC_PHYS_MERGEABLE(bvprv, bv)) in __blk_recalc_rq_segments()
43 if (!BIOVEC_SEG_BOUNDARY(q, bvprv, bv)) in __blk_recalc_rq_segments()
51 if (nr_phys_segs == 1 && seg_size > in __blk_recalc_rq_segments()
63 if (nr_phys_segs == 1 && seg_size > fbio->bi_seg_front_size) in __blk_recalc_rq_segments()
65 if (seg_size > bbio->bi_seg_back_size) in __blk_recalc_rq_segments()
90 if (!blk_queue_cluster(q)) in blk_phys_contig_segment()
[all …]
/linux-3.3/net/ipv6/
Draw.c53 #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
78 if (inet_sk(sk)->inet_num == num) { in __raw_v6_lookup()
81 if (!net_eq(sock_net(sk), net)) in __raw_v6_lookup()
84 if (!ipv6_addr_any(&np->daddr) && in __raw_v6_lookup()
88 if (sk->sk_bound_dev_if && sk->sk_bound_dev_if != dif) in __raw_v6_lookup()
91 if (!ipv6_addr_any(&np->rcv_saddr)) { in __raw_v6_lookup()
92 if (ipv6_addr_equal(&np->rcv_saddr, loc_addr)) in __raw_v6_lookup()
94 if (is_multicast && in __raw_v6_lookup()
115 if (pskb_may_pull(skb, sizeof(struct icmp6hdr))) { in icmpv6_filter()
127 #if defined(CONFIG_IPV6_MIP6) || defined(CONFIG_IPV6_MIP6_MODULE)
[all …]
/linux-3.3/net/sctp/
Dsocket.c31 * along with GNU CC; see the file COPYING. If not, write to
134 if (asoc->ep->sndbuf_policy) in sctp_wspace()
139 if (amt >= asoc->base.sk->sk_sndbuf) { in sctp_wspace()
140 if (asoc->base.sk->sk_userlocks & SOCK_SNDBUF_LOCK) in sctp_wspace()
144 if (amt < 0) in sctp_wspace()
193 if (!af) in sctp_verify_addr()
197 if (!af->addr_valid(addr, sctp_sk(sk), NULL)) in sctp_verify_addr()
200 if (!sctp_sk(sk)->pf->send_verify(sctp_sk(sk), (addr))) in sctp_verify_addr()
206 /* Look up the association by its id. If this is not a UDP-style
213 /* If this is not a UDP-style socket, assoc id should be ignored. */ in sctp_id2assoc()
[all …]
/linux-3.3/arch/tile/mm/
Dfault.c54 if (unlikely(tsk->pid < 2)) { in force_sig_info_fault()
77 if (address >= PAGE_OFFSET) in SYSCALL_DEFINE2()
113 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
118 if (!pud_present(*pud_k)) in vmalloc_sync_one()
123 if (!pmd_present(*pmd_k)) in vmalloc_sync_one()
125 if (!pmd_present(*pmd)) { in vmalloc_sync_one()
142 if (!(address >= VMALLOC_START && address < VMALLOC_END)) in vmalloc_fault()
150 if (!pmd_k) in vmalloc_fault()
152 if (pmd_huge(*pmd_k)) in vmalloc_fault()
155 if (!pte_present(*pte_k)) in vmalloc_fault()
[all …]
/linux-3.3/drivers/isdn/hisax/
Disac.c42 if (cs->debug & L1_DEB_ISAC) in ph_command()
90 if (test_and_clear_bit(D_CLEARBUSY, &cs->event)) { in isac_bh()
91 if (cs->debug) in isac_bh()
99 if (test_and_clear_bit(D_L1STATECHANGE, &cs->event)) in isac_bh()
101 if (test_and_clear_bit(D_RCVBUFREADY, &cs->event)) in isac_bh()
103 if (test_and_clear_bit(D_XMTBUFREADY, &cs->event)) in isac_bh()
105 #if ARCOFI_USE in isac_bh()
106 if (!test_bit(HW_ARCOFI, &cs->HW_Flags)) in isac_bh()
108 if (test_and_clear_bit(D_RX_MON1, &cs->event)) in isac_bh()
110 if (test_and_clear_bit(D_TX_MON1, &cs->event)) in isac_bh()
[all …]
Dicc.c43 if (cs->debug & L1_DEB_ISAC) in ph_command()
87 if (test_and_clear_bit(D_CLEARBUSY, &cs->event)) { in icc_bh()
88 if (cs->debug) in icc_bh()
96 if (test_and_clear_bit(D_L1STATECHANGE, &cs->event)) in icc_bh()
98 if (test_and_clear_bit(D_RCVBUFREADY, &cs->event)) in icc_bh()
100 if (test_and_clear_bit(D_XMTBUFREADY, &cs->event)) in icc_bh()
102 #if ARCOFI_USE in icc_bh()
103 if (!test_bit(HW_ARCOFI, &cs->HW_Flags)) in icc_bh()
105 if (test_and_clear_bit(D_RX_MON1, &cs->event)) in icc_bh()
107 if (test_and_clear_bit(D_TX_MON1, &cs->event)) in icc_bh()
[all …]
/linux-3.3/drivers/media/video/gspca/
Dgspca.c20 * along with this program; if not, write to the Free Software Foundation,
44 #if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE)
51 #if DEF_NURBS > MAX_NURBS
66 if ((pixfmt >> 24) >= '0' && (pixfmt >> 24) <= 'z') { in PDEBUG_MODE()
106 if (--frame->vma_use_count <= 0) in gspca_vm_close()
118 #if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE)
127 if (gspca_dev->sd_desc->int_pkt_scan(gspca_dev, in int_irq()
148 if (ret == 0) { in int_irq()
150 if (ret < 0) in int_irq()
161 if (dev->sd_desc->int_pkt_scan || dev->sd_desc->other_input) { in gspca_input_connect()
[all …]
/linux-3.3/arch/powerpc/kernel/
Dtraps.c61 #if defined(CONFIG_DEBUGGER) || defined(CONFIG_KEXEC)
87 if (pmac_backlight) { in pmac_backlight_unblank()
111 if (debugger(regs)) in oops_begin()
119 if (!arch_spin_trylock(&die_lock)) { in oops_begin()
120 if (cpu == die_owner) in oops_begin()
129 if (machine_is(powermac)) in oops_begin()
143 if (!die_nest_count) in oops_end()
152 if (kexec_should_crash(current) || (TRAP(regs) == 0x100)) { in oops_end()
163 if (!signr) in oops_end()
168 * from panic() called below can race and corrupt it. If we in oops_end()
[all …]
/linux-3.3/fs/btrfs/
Dacl.c14 * License along with this program; if not, write to the
38 if (!IS_POSIXACL(inode)) in btrfs_get_acl()
42 if (acl != ACL_NOT_CACHED) in btrfs_get_acl()
57 if (size > 0) { in btrfs_get_acl()
59 if (!value) in btrfs_get_acl()
63 if (size > 0) { in btrfs_get_acl()
65 } else if (size == -ENOENT || size == -ENODATA || size == 0) { in btrfs_get_acl()
73 if (!IS_ERR(acl)) in btrfs_get_acl()
85 if (!IS_POSIXACL(dentry->d_inode)) in btrfs_xattr_acl_get()
90 if (IS_ERR(acl)) in btrfs_xattr_acl_get()
[all …]
/linux-3.3/fs/
Dcompat.c64 if (!compat_log) in compat_printk()
83 if (t) { in compat_sys_utime()
84 if (get_user(tv[0].tv_sec, &t->actime) || in compat_sys_utime()
97 if (t) { in compat_sys_utimensat()
98 if (get_compat_timespec(&tv[0], &t[0]) || in compat_sys_utimensat()
102 if (tv[0].tv_nsec == UTIME_OMIT && tv[1].tv_nsec == UTIME_OMIT) in compat_sys_utimensat()
112 if (t) { in compat_sys_futimesat()
113 if (get_user(tv[0].tv_sec, &t[0].tv_sec) || in compat_sys_futimesat()
118 if (tv[0].tv_nsec >= 1000000 || tv[0].tv_nsec < 0 || in compat_sys_futimesat()
136 if (!old_valid_dev(stat->dev) || !old_valid_dev(stat->rdev)) in cp_compat_stat()
[all …]
/linux-3.3/sound/core/oss/
Dpcm_plugin.c18 * License along with this library; if not, write to the Free Software
23 #if 0
57 if (plugin->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plugin_alloc()
62 if ((width = snd_pcm_format_physical_width(format->format)) < 0) in snd_pcm_plugin_alloc()
65 if (snd_BUG_ON(size % 8)) in snd_pcm_plugin_alloc()
68 if (plugin->buf_frames < frames) { in snd_pcm_plugin_alloc()
73 if (!plugin->buf) { in snd_pcm_plugin_alloc()
78 if (plugin->access == SNDRV_PCM_ACCESS_RW_INTERLEAVED) { in snd_pcm_plugin_alloc()
87 } else if (plugin->access == SNDRV_PCM_ACCESS_RW_NONINTERLEAVED) { in snd_pcm_plugin_alloc()
88 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
[all …]
/linux-3.3/arch/x86/tools/
Dgen-insn-attr-x86.awk9 if (sprintf("%x", 0) != "0")
29 if (awkchecked != "") {
117 if (tname != "")
122 if (NF != 1) {
133 if (NF != 1) {
136 if (gaid <= aid)
138 if (tname == "") # AVX only opcode table
141 if (aid == -1 && eid == -1) # primary opcode table
147 if (!($2 in group))
158 if (tbl[id])
[all …]
/linux-3.3/drivers/scsi/
Daha152x.c273 #if defined(PCMCIA) || defined(MODULE)
274 #if !defined(AUTOCONF)
279 #if !defined(AUTOCONF) && !defined(SETUP0)
283 #if defined(AHA152X_DEBUG)
287 do { if(HOSTDATA(shpnt)->debug & (when)) printk(msgs); } while(0)
291 if(spin_is_locked(&QLOCK)) { \
335 #if defined(PCMCIA)
340 #if defined(__PPC)
366 #if !defined(PCMCIA)
367 #if defined(MODULE)
[all …]
/linux-3.3/drivers/gpu/drm/nouveau/
Dnouveau_connector.c53 if (!id) in find_encoder()
57 if (!obj) in find_encoder()
61 if (type == OUTPUT_ANY || nv_encoder->dcb->type == type) in find_encoder()
75 if (drm_connector->encoder == to_drm_encoder(encoder)) in nouveau_encoder_connector_get()
89 if (!nv_connector) in nouveau_connector_destroy()
96 if (nv_connector->hpd != DCB_GPIO_UNUSED) { in nouveau_connector_destroy()
121 if (!id) in nouveau_connector_ddc_detect()
125 if (!obj) in nouveau_connector_ddc_detect()
129 if (nv_encoder->dcb->i2c_index < 0xf) in nouveau_connector_ddc_detect()
132 if (i2c && nouveau_probe_i2c_addr(i2c, 0x50)) { in nouveau_connector_ddc_detect()
[all …]
/linux-3.3/drivers/pnp/
Dresource.c40 if (!option) in pnp_build_option()
57 if (!option) in pnp_register_irq_resource()
69 if (test_bit(i, irq->map.bits)) in pnp_register_irq_resource()
85 if (!option) in pnp_register_dma_resource()
105 if (!option) in pnp_register_port_resource()
128 if (!option) in pnp_register_mem_resource()
158 /* Two ranges conflict if one doesn't end before the other starts */
175 /* if the resource doesn't exist, don't complain about it */ in pnp_check_port()
176 if (cannot_compare(res->flags)) in pnp_check_port()
179 /* check if the resource is already in use, skip if the in pnp_check_port()
[all …]
/linux-3.3/drivers/video/sis/
Dinit.c12 * If distributed as part of the Linux kernel, the following license terms
26 * * along with this program; if not, write to the Free Software
51 * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
69 #if defined(ALLOC_PRAGMA)
77 #if defined(CONFIG_FB_SIS_300) || defined(CONFIG_FB_SIS_315)
94 #if 0 in InitCommonPointer()
144 #if 0 in InitCommonPointer()
169 if(SiS_Pr->ChipType == SIS_300) { in InitTo300Pointer()
245 if(SiS_Pr->ChipType >= SIS_340) { in InitTo310Pointer()
247 } else if(SiS_Pr->ChipType >= SIS_761) { in InitTo310Pointer()
[all …]
/linux-3.3/drivers/net/ethernet/broadcom/
Dtg3.c187 #if NET_IP_ALIGN == 0 || defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)
193 #if (NET_IP_ALIGN != 0)
468 if (off == (MAILBOX_RCVRET_CON_IDX_0 + TG3_64BIT_REG_LOW)) { in tg3_write_indirect_mbox()
473 if (off == TG3_RX_STD_PROD_IDX_REG) { in tg3_write_indirect_mbox()
487 if ((off == (MAILBOX_INTERRUPT_0 + TG3_64BIT_REG_LOW)) && in tg3_write_indirect_mbox()
508 * GRC_LOCAL_CTRL is one example if the GPIOs are toggled to switch power.
509 * TG3PCI_CLOCK_CTRL is another example if the clock frequencies are changed.
513 if (tg3_flag(tp, PCIX_TARGET_HWBUG) || tg3_flag(tp, ICH_WORKAROUND)) in _tw32_flush()
519 if (usec_wait) in _tw32_flush()
526 if (usec_wait) in _tw32_flush()
[all …]
/linux-3.3/arch/arm/mach-davinci/
Dclock.c36 if (clk->parent) in __clk_enable()
38 if (clk->usecount++ == 0 && (clk->flags & CLK_PSC)) in __clk_enable()
45 if (WARN_ON(clk->usecount == 0)) in __clk_disable()
47 if (--clk->usecount == 0 && !(clk->flags & CLK_PLL) && in __clk_disable()
51 if (clk->parent) in __clk_disable()
59 if (clk == NULL || IS_ERR(clk)) in clk_enable()
74 if (clk == NULL || IS_ERR(clk)) in clk_disable()
85 if (clk == NULL || IS_ERR(clk)) in clk_get_rate()
94 if (clk == NULL || IS_ERR(clk)) in clk_round_rate()
97 if (clk->round_rate) in clk_round_rate()
[all …]
/linux-3.3/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c17 * along with this program; if not, write to the Free Software
165 if (!NETXEN_IS_MSI_FAMILY(adapter)) in netxen_nic_enable_int()
182 if (recv_ctx->sds_rings != NULL) in netxen_free_sds_rings()
195 if (netxen_alloc_sds_rings(recv_ctx, adapter->max_sds_rings)) in netxen_napi_add()
261 if (NX_IS_REVISION_P2(adapter->ahw.revision_id)) { in nx_set_dma_mask()
270 if (pci_set_dma_mask(pdev, mask) == 0 && in nx_set_dma_mask()
279 /* Update addressable range if firmware supports it */
290 if (shift > 32) in nx_update_dma_mask()
293 if (NX_IS_REVISION_P3(adapter->ahw.revision_id) && (shift > 9)) in nx_update_dma_mask()
295 else if ((adapter->ahw.revision_id == NX_P2_C1) && (shift <= 4)) in nx_update_dma_mask()
[all …]
/linux-3.3/arch/m32r/
DKconfig90 Please note that if you say Y here and choose chip "M32102",
140 default 32 if CHIP_M32700 || CHIP_OPSP
141 default 16 if CHIP_VDEC2
178 default "70000000" if PLAT_MAPPI
179 default "25000000" if PLAT_USRV
180 default "50000000" if PLAT_MAPPI3
181 default "50000000" if PLAT_M32700UT
182 default "50000000" if PLAT_OPSPUT
183 default "54000000" if PLAT_M32104UT
184 default "33333333" if PLAT_OAKS32R
[all …]
/linux-3.3/arch/um/os-Linux/
Dfile.c42 if (err < 0) in os_stat_fd()
45 if (ubuf != NULL) in os_stat_fd()
56 if (err < 0) in os_stat_file()
59 if (ubuf != NULL) in os_stat_file()
74 if (err < 0) in os_access()
86 if (err < 0) in os_ioctl_generic()
95 if (ioctl(fd, SIOCGIFNAME, namebuf) < 0) in os_get_ifname()
106 if (ioctl(fd, TIOCSETD, &disc) < 0) in os_set_slip()
110 if (ioctl(fd, SIOCSIFENCAP, &sencap) < 0) in os_set_slip()
121 if (err < 0) in os_mode_fd()
[all …]

12345678910>>...912