Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 2785) sorted by relevance

12345678910>>...112

/kernel/linux/linux-5.10/sound/core/seq/
Dseq_fifo.c20 struct snd_seq_fifo *f; in snd_seq_fifo_new() local
22 f = kzalloc(sizeof(*f), GFP_KERNEL); in snd_seq_fifo_new()
23 if (!f) in snd_seq_fifo_new()
26 f->pool = snd_seq_pool_new(poolsize); in snd_seq_fifo_new()
27 if (f->pool == NULL) { in snd_seq_fifo_new()
28 kfree(f); in snd_seq_fifo_new()
31 if (snd_seq_pool_init(f->pool) < 0) { in snd_seq_fifo_new()
32 snd_seq_pool_delete(&f->pool); in snd_seq_fifo_new()
33 kfree(f); in snd_seq_fifo_new()
37 spin_lock_init(&f->lock); in snd_seq_fifo_new()
[all …]
Dseq_prioq.c44 struct snd_seq_prioq *f; in snd_seq_prioq_new() local
46 f = kzalloc(sizeof(*f), GFP_KERNEL); in snd_seq_prioq_new()
47 if (!f) in snd_seq_prioq_new()
50 spin_lock_init(&f->lock); in snd_seq_prioq_new()
51 f->head = NULL; in snd_seq_prioq_new()
52 f->tail = NULL; in snd_seq_prioq_new()
53 f->cells = 0; in snd_seq_prioq_new()
55 return f; in snd_seq_prioq_new()
61 struct snd_seq_prioq *f = *fifo; in snd_seq_prioq_delete() local
64 if (f == NULL) { in snd_seq_prioq_delete()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-debug.h38 #define CHECK_FOR_NEWLINE(f) BUILD_BUG_ON(f[sizeof(f) - 2] != '\n') argument
41 #define IWL_ERR_DEV(d, f, a...) \ argument
43 CHECK_FOR_NEWLINE(f); \
44 __iwl_err((d), false, false, f, ## a); \
46 #define IWL_ERR(m, f, a...) \ argument
47 IWL_ERR_DEV((m)->dev, f, ## a)
48 #define IWL_WARN(m, f, a...) \ argument
50 CHECK_FOR_NEWLINE(f); \
51 __iwl_warn((m)->dev, f, ## a); \
53 #define IWL_INFO(m, f, a...) \ argument
[all …]
/kernel/linux/linux-5.10/drivers/dma-buf/
Dst-dma-fence.c22 } *to_mock_fence(struct dma_fence *f) { in to_mock_fence() argument
23 return container_of(f, struct mock_fence, base); in to_mock_fence()
26 static const char *mock_name(struct dma_fence *f) in mock_name() argument
31 static void mock_fence_release(struct dma_fence *f) in mock_fence_release() argument
33 kmem_cache_free(slab_fences, to_mock_fence(f)); in mock_fence_release()
41 static void mock_wakeup(struct dma_fence *f, struct dma_fence_cb *cb) in mock_wakeup() argument
46 static long mock_wait(struct dma_fence *f, bool intr, long timeout) in mock_wait() argument
51 if (dma_fence_add_callback(f, &cb.cb, mock_wakeup)) in mock_wait()
57 if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &f->flags)) in mock_wait()
67 if (!dma_fence_remove_callback(f, &cb.cb)) in mock_wait()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-nxp-fspi.c369 static void fspi_writel(struct nxp_fspi *f, u32 val, void __iomem *addr) in fspi_writel() argument
371 if (f->devtype_data->little_endian) in fspi_writel()
377 static u32 fspi_readl(struct nxp_fspi *f, void __iomem *addr) in fspi_readl() argument
379 if (f->devtype_data->little_endian) in fspi_readl()
387 struct nxp_fspi *f = dev_id; in nxp_fspi_irq_handler() local
391 reg = fspi_readl(f, f->iobase + FSPI_INTR); in nxp_fspi_irq_handler()
392 fspi_writel(f, FSPI_INTR_IPCMDDONE, f->iobase + FSPI_INTR); in nxp_fspi_irq_handler()
395 complete(&f->c); in nxp_fspi_irq_handler()
400 static int nxp_fspi_check_buswidth(struct nxp_fspi *f, u8 width) in nxp_fspi_check_buswidth() argument
416 struct nxp_fspi *f = spi_controller_get_devdata(mem->spi->master); in nxp_fspi_supports_op() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_sw_fence_work.c9 static void fence_complete(struct dma_fence_work *f) in fence_complete() argument
11 if (f->ops->release) in fence_complete()
12 f->ops->release(f); in fence_complete()
13 dma_fence_signal(&f->dma); in fence_complete()
18 struct dma_fence_work *f = container_of(work, typeof(*f), work); in fence_work() local
21 err = f->ops->work(f); in fence_work()
23 dma_fence_set_error(&f->dma, err); in fence_work()
25 fence_complete(f); in fence_work()
26 dma_fence_put(&f->dma); in fence_work()
32 struct dma_fence_work *f = container_of(fence, typeof(*f), chain); in fence_notify() local
[all …]
/kernel/linux/linux-5.10/scripts/
Ddocumentation-file-ref-check60 my $f = $doc_ref;
63 $f =~ s,.*\<([^\>]+)\>,$1,;
65 if ($f =~ m,^/,) {
66 $f = "$f.rst";
67 $f =~ s,^/,Documentation/,;
69 $f = "$d$f.rst";
72 next if (grep -e, glob("$f"));
88 my $f = $1;
92 next if ($f =~ m,^Next/,);
95 next if ($f =~ m/Makefile/ || $f =~ m/\.sh$/);
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-yuv.c32 struct yuv_frame_info *f = &yi->new_frame_info[frame]; in ivtv_yuv_prep_user_dma() local
40 y_decode_height = uv_decode_height = f->src_h + f->src_y; in ivtv_yuv_prep_user_dma()
42 if (f->offset_y) in ivtv_yuv_prep_user_dma()
122 if (f->offset_y && yi->blanking_dmaptr) { in ivtv_yuv_prep_user_dma()
211 static void ivtv_yuv_handle_horizontal(struct ivtv *itv, struct yuv_frame_info *f) in ivtv_yuv_handle_horizontal() argument
224 f->tru_w, f->src_w, f->dst_w, f->src_x, f->dst_x); in ivtv_yuv_handle_horizontal()
227 x_cutoff = f->src_w + f->src_x; in ivtv_yuv_handle_horizontal()
230 reg_2834 = f->dst_w; in ivtv_yuv_handle_horizontal()
234 reg_2890 = f->dst_x; in ivtv_yuv_handle_horizontal()
245 if (f->vis_w == 720) { in ivtv_yuv_handle_horizontal()
[all …]
/kernel/linux/linux-5.10/include/linux/mtd/
Dsh_flctl.h18 #define FLCMNCR(f) (f->reg + 0x0) argument
19 #define FLCMDCR(f) (f->reg + 0x4) argument
20 #define FLCMCDR(f) (f->reg + 0x8) argument
21 #define FLADR(f) (f->reg + 0xC) argument
22 #define FLADR2(f) (f->reg + 0x3C) argument
23 #define FLDATAR(f) (f->reg + 0x10) argument
24 #define FLDTCNTR(f) (f->reg + 0x14) argument
25 #define FLINTDMACR(f) (f->reg + 0x18) argument
26 #define FLBSYTMR(f) (f->reg + 0x1C) argument
27 #define FLBSYCNT(f) (f->reg + 0x20) argument
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c56 static int set_tcb_field(struct adapter *adap, struct filter_entry *f, in set_tcb_field() argument
75 set_wr_txq(skb, CPL_PRIORITY_CONTROL, f->fs.val.iport & 0x3); in set_tcb_field()
82 static int set_tcb_tflag(struct adapter *adap, struct filter_entry *f, in set_tcb_tflag() argument
86 return set_tcb_field(adap, f, ftid, TCB_T_FLAGS_W, 1ULL << bit_pos, in set_tcb_tflag()
120 static void mk_set_tcb_ulp(struct filter_entry *f, in mk_set_tcb_ulp() argument
132 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_SET_TCB_FIELD, f->tid)); in mk_set_tcb_ulp()
143 static int configure_filter_smac(struct adapter *adap, struct filter_entry *f) in configure_filter_smac() argument
148 err = set_tcb_field(adap, f, f->tid, TCB_SMAC_SEL_W, in configure_filter_smac()
150 TCB_SMAC_SEL_V(f->smt->idx), 1); in configure_filter_smac()
154 err = set_tcb_tflag(adap, f, f->tid, TF_CCTRL_CWR_S, 1, 1); in configure_filter_smac()
[all …]
Dcxgb4_tc_u32_parse.h41 int (*val)(struct ch_filter_specification *f, __be32 val, __be32 mask);
45 static inline int cxgb4_fill_ipv4_tos(struct ch_filter_specification *f, in cxgb4_fill_ipv4_tos() argument
48 f->val.tos = (ntohl(val) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos()
49 f->mask.tos = (ntohl(mask) >> 16) & 0x000000FF; in cxgb4_fill_ipv4_tos()
54 static inline int cxgb4_fill_ipv4_frag(struct ch_filter_specification *f, in cxgb4_fill_ipv4_frag() argument
64 f->val.frag = 1; in cxgb4_fill_ipv4_frag()
65 f->mask.frag = 1; in cxgb4_fill_ipv4_frag()
67 f->val.frag = 0; in cxgb4_fill_ipv4_frag()
68 f->mask.frag = 1; in cxgb4_fill_ipv4_frag()
76 static inline int cxgb4_fill_ipv4_proto(struct ch_filter_specification *f, in cxgb4_fill_ipv4_proto() argument
[all …]
/kernel/linux/linux-5.10/include/linux/
Dindirect_call_wrapper.h17 #define INDIRECT_CALL_1(f, f1, ...) \ argument
19 likely(f == f1) ? f1(__VA_ARGS__) : f(__VA_ARGS__); \
21 #define INDIRECT_CALL_2(f, f2, f1, ...) \ argument
23 likely(f == f2) ? f2(__VA_ARGS__) : \
24 INDIRECT_CALL_1(f, f1, __VA_ARGS__); \
26 #define INDIRECT_CALL_3(f, f3, f2, f1, ...) \ argument
28 likely(f == f3) ? f3(__VA_ARGS__) : \
29 INDIRECT_CALL_2(f, f2, f1, __VA_ARGS__); \
31 #define INDIRECT_CALL_4(f, f4, f3, f2, f1, ...) \ argument
33 likely(f == f4) ? f4(__VA_ARGS__) : \
[all …]
/kernel/linux/linux-5.10/net/sched/
Dcls_route.c77 struct route4_filter *f) in route4_set_fastmap() argument
85 head->fastmap[h].filter = f; in route4_set_fastmap()
111 *res = f->res; \
112 if (tcf_exts_has_actions(&f->exts)) { \
113 int r = tcf_exts_exec(skb, &f->exts, res); \
120 route4_set_fastmap(head, id, iif, f); \
130 struct route4_filter *f; in route4_classify() local
147 (f = head->fastmap[h].filter) != NULL) { in route4_classify()
148 if (f == ROUTE4_FAILURE) { in route4_classify()
153 *res = f->res; in route4_classify()
[all …]
Dcls_fw.c54 struct fw_filter *f; in fw_classify() local
61 for (f = rcu_dereference_bh(head->ht[fw_hash(id)]); f; in fw_classify()
62 f = rcu_dereference_bh(f->next)) { in fw_classify()
63 if (f->id == id) { in fw_classify()
64 *res = f->res; in fw_classify()
65 if (!tcf_match_indev(skb, f->ifindex)) in fw_classify()
67 r = tcf_exts_exec(skb, &f->exts, res); in fw_classify()
92 struct fw_filter *f; in fw_get() local
97 f = rtnl_dereference(head->ht[fw_hash(handle)]); in fw_get()
98 for (; f; f = rtnl_dereference(f->next)) { in fw_get()
[all …]
Dcls_rsvp.h120 int r = tcf_exts_exec(skb, &f->exts, res); \
132 struct rsvp_filter *f; in rsvp_classify() local
183 for (f = rcu_dereference_bh(s->ht[h2]); f; in rsvp_classify()
184 f = rcu_dereference_bh(f->next)) { in rsvp_classify()
185 if (src[RSVP_DST_LEN-1] == f->src[RSVP_DST_LEN - 1] && in rsvp_classify()
186 !(f->spi.mask & (*(u32 *)(xprt + f->spi.offset) ^ f->spi.key)) in rsvp_classify()
189 src[0] == f->src[0] && in rsvp_classify()
190 src[1] == f->src[1] && in rsvp_classify()
191 src[2] == f->src[2] in rsvp_classify()
194 *res = f->res; in rsvp_classify()
[all …]
/kernel/linux/linux-5.10/scripts/dtc/
Dtreesource.c22 yyin = current_srcfile->f; in dt_from_source()
34 static void write_prefix(FILE *f, int level) in write_prefix() argument
39 fputc('\t', f); in write_prefix()
49 static void write_propval_string(FILE *f, const char *s, size_t len) in write_propval_string() argument
58 fprintf(f, "\""); in write_propval_string()
63 fprintf(f, "\\a"); in write_propval_string()
66 fprintf(f, "\\b"); in write_propval_string()
69 fprintf(f, "\\t"); in write_propval_string()
72 fprintf(f, "\\n"); in write_propval_string()
75 fprintf(f, "\\v"); in write_propval_string()
[all …]
/kernel/linux/linux-5.10/tools/cgroup/
Diocost_coef_gen.py62 devname = subprocess.run(f'findmnt -nvo SOURCE -T{path}',
70 rdev = os.stat(f'/dev/{devname}').st_rdev
71 return (devname, f'{os.major(rdev)}:{os.minor(rdev)}')
79 info(f'Creating testfile {path}')
80 subprocess.check_call(f'rm -f {path}', shell=True)
81 subprocess.check_call(f'touch {path}', shell=True)
82 subprocess.call(f'chattr +C {path}', shell=True)
84 f'pv -s {size} -pr /dev/urandom {"-q" if args.quiet else ""} | '
85 f'dd of={path} count={size} '
86 f'iflag=count_bytes,fullblock oflag=direct bs=16M status=none',
[all …]
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dasm-offsets.c36 OFFSET(TASK_THREAD_F0, task_struct, thread.fstate.f[0]); in asm_offsets()
37 OFFSET(TASK_THREAD_F1, task_struct, thread.fstate.f[1]); in asm_offsets()
38 OFFSET(TASK_THREAD_F2, task_struct, thread.fstate.f[2]); in asm_offsets()
39 OFFSET(TASK_THREAD_F3, task_struct, thread.fstate.f[3]); in asm_offsets()
40 OFFSET(TASK_THREAD_F4, task_struct, thread.fstate.f[4]); in asm_offsets()
41 OFFSET(TASK_THREAD_F5, task_struct, thread.fstate.f[5]); in asm_offsets()
42 OFFSET(TASK_THREAD_F6, task_struct, thread.fstate.f[6]); in asm_offsets()
43 OFFSET(TASK_THREAD_F7, task_struct, thread.fstate.f[7]); in asm_offsets()
44 OFFSET(TASK_THREAD_F8, task_struct, thread.fstate.f[8]); in asm_offsets()
45 OFFSET(TASK_THREAD_F9, task_struct, thread.fstate.f[9]); in asm_offsets()
[all …]
/kernel/linux/linux-5.10/include/linux/ceph/
Drados.h203 #define __CEPH_FORALL_OSD_OPS(f) \ argument
206 f(READ, __CEPH_OSD_OP(RD, DATA, 1), "read") \
207 f(STAT, __CEPH_OSD_OP(RD, DATA, 2), "stat") \
208 f(MAPEXT, __CEPH_OSD_OP(RD, DATA, 3), "mapext") \
211 f(MASKTRUNC, __CEPH_OSD_OP(RD, DATA, 4), "masktrunc") \
212 f(SPARSE_READ, __CEPH_OSD_OP(RD, DATA, 5), "sparse-read") \
214 f(NOTIFY, __CEPH_OSD_OP(RD, DATA, 6), "notify") \
215 f(NOTIFY_ACK, __CEPH_OSD_OP(RD, DATA, 7), "notify-ack") \
218 f(ASSERT_VER, __CEPH_OSD_OP(RD, DATA, 8), "assert-version") \
220 f(LIST_WATCHERS, __CEPH_OSD_OP(RD, DATA, 9), "list-watchers") \
[all …]
Dceph_frag.h27 static inline __u32 ceph_frag_bits(__u32 f) in ceph_frag_bits() argument
29 return f >> 24; in ceph_frag_bits()
31 static inline __u32 ceph_frag_value(__u32 f) in ceph_frag_value() argument
33 return f & 0xffffffu; in ceph_frag_value()
35 static inline __u32 ceph_frag_mask(__u32 f) in ceph_frag_mask() argument
37 return (0xffffffu << (24-ceph_frag_bits(f))) & 0xffffffu; in ceph_frag_mask()
39 static inline __u32 ceph_frag_mask_shift(__u32 f) in ceph_frag_mask_shift() argument
41 return 24 - ceph_frag_bits(f); in ceph_frag_mask_shift()
44 static inline bool ceph_frag_contains_value(__u32 f, __u32 v) in ceph_frag_contains_value() argument
46 return (v & ceph_frag_mask(f)) == ceph_frag_value(f); in ceph_frag_contains_value()
[all …]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-touch-cap.c16 struct v4l2_pix_format *f = &dev->tch_format; in touch_cap_queue_setup() local
17 unsigned int size = f->sizeimage; in touch_cap_queue_setup()
36 struct v4l2_pix_format *f = &dev->tch_format; in touch_cap_buf_prepare() local
37 unsigned int size = f->sizeimage; in touch_cap_buf_prepare()
120 int vivid_enum_fmt_tch(struct file *file, void *priv, struct v4l2_fmtdesc *f) in vivid_enum_fmt_tch() argument
122 if (f->index) in vivid_enum_fmt_tch()
125 f->pixelformat = V4L2_TCH_FMT_DELTA_TD16; in vivid_enum_fmt_tch()
129 int vivid_g_fmt_tch(struct file *file, void *priv, struct v4l2_format *f) in vivid_g_fmt_tch() argument
135 f->fmt.pix = dev->tch_format; in vivid_g_fmt_tch()
139 int vivid_g_fmt_tch_mplane(struct file *file, void *priv, struct v4l2_format *f) in vivid_g_fmt_tch_mplane() argument
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Ddt_cpu_ftrs.c154 static int __init feat_try_enable_unknown(struct dt_cpu_feature *f) in feat_try_enable_unknown() argument
156 if (f->hv_support == HV_SUPPORT_NONE) { in feat_try_enable_unknown()
157 } else if (f->hv_support & HV_SUPPORT_HFSCR) { in feat_try_enable_unknown()
159 hfscr |= 1UL << f->hfscr_bit_nr; in feat_try_enable_unknown()
166 if (f->os_support == OS_SUPPORT_NONE) { in feat_try_enable_unknown()
167 } else if (f->os_support & OS_SUPPORT_FSCR) { in feat_try_enable_unknown()
169 fscr |= 1UL << f->fscr_bit_nr; in feat_try_enable_unknown()
176 if ((f->usable_privilege & USABLE_PR) && (f->hwcap_bit_nr != -1)) { in feat_try_enable_unknown()
177 uint32_t word = f->hwcap_bit_nr / 32; in feat_try_enable_unknown()
178 uint32_t bit = f->hwcap_bit_nr % 32; in feat_try_enable_unknown()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnft_set_pipapo.c419 struct nft_pipapo_field *f; in nft_pipapo_lookup() local
437 nft_pipapo_for_each_field(f, i, m) { in nft_pipapo_lookup()
444 if (likely(f->bb == 8)) in nft_pipapo_lookup()
445 pipapo_and_field_buckets_8bit(f, res_map, rp); in nft_pipapo_lookup()
447 pipapo_and_field_buckets_4bit(f, res_map, rp); in nft_pipapo_lookup()
450 rp += f->groups / NFT_PIPAPO_GROUPS_PER_BYTE(f); in nft_pipapo_lookup()
460 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt, in nft_pipapo_lookup()
470 *ext = &f->mt[b].e->ext; in nft_pipapo_lookup()
493 rp += NFT_PIPAPO_GROUPS_PADDING(f); in nft_pipapo_lookup()
522 struct nft_pipapo_field *f; in pipapo_get() local
[all …]
/kernel/linux/linux-5.10/arch/x86/mm/
Dkmmio.c112 struct kmmio_fault_page *f; in get_kmmio_fault_page() local
120 list_for_each_entry_rcu(f, head, list) { in get_kmmio_fault_page()
121 if (f->addr == addr) in get_kmmio_fault_page()
122 return f; in get_kmmio_fault_page()
154 static int clear_page_presence(struct kmmio_fault_page *f, bool clear) in clear_page_presence() argument
157 pte_t *pte = lookup_address(f->addr, &level); in clear_page_presence()
160 pr_err("no pte for addr 0x%08lx\n", f->addr); in clear_page_presence()
166 clear_pmd_presence((pmd_t *)pte, clear, &f->old_presence); in clear_page_presence()
169 clear_pte_presence(pte, clear, &f->old_presence); in clear_page_presence()
176 flush_tlb_one_kernel(f->addr); in clear_page_presence()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/emac/
Ddebug.h32 # define DBG(d,f,x...) EMAC_DBG(d, emac, f, ##x) argument
33 # define MAL_DBG(d,f,x...) EMAC_DBG(d, mal, f, ##x) argument
34 # define ZMII_DBG(d,f,x...) EMAC_DBG(d, zmii, f, ##x) argument
35 # define RGMII_DBG(d,f,x...) EMAC_DBG(d, rgmii, f, ##x) argument
38 # define DBG(f,x...) ((void)0) argument
39 # define MAL_DBG(d,f,x...) ((void)0) argument
40 # define ZMII_DBG(d,f,x...) ((void)0) argument
41 # define RGMII_DBG(d,f,x...) ((void)0) argument
44 # define DBG2(d,f,x...) DBG(d,f, ##x) argument
45 # define MAL_DBG2(d,f,x...) MAL_DBG(d,f, ##x) argument
[all …]

12345678910>>...112