Home
last modified time | relevance | path

Searched refs:fld (Results 1 – 36 of 36) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/fld/
Dfld_request.c111 static int fld_rrb_hash(struct lu_client_fld *fld, u64 seq) in fld_rrb_hash() argument
113 LASSERT(fld->lcf_count > 0); in fld_rrb_hash()
114 return do_div(seq, fld->lcf_count); in fld_rrb_hash()
118 fld_rrb_scan(struct lu_client_fld *fld, u64 seq) in fld_rrb_scan() argument
129 hash = fld_rrb_hash(fld, seq); in fld_rrb_scan()
134 list_for_each_entry(target, &fld->lcf_targets, ft_chain) { in fld_rrb_scan()
148 fld->lcf_name, hash, seq, fld->lcf_count); in fld_rrb_scan()
150 list_for_each_entry(target, &fld->lcf_targets, ft_chain) { in fld_rrb_scan()
182 fld_client_get_target(struct lu_client_fld *fld, u64 seq) in fld_client_get_target() argument
186 LASSERT(fld->lcf_hash != NULL); in fld_client_get_target()
[all …]
Dlproc_fld.c60 struct lu_client_fld *fld = (struct lu_client_fld *)m->private; in fld_debugfs_targets_seq_show() local
63 LASSERT(fld != NULL); in fld_debugfs_targets_seq_show()
65 spin_lock(&fld->lcf_lock); in fld_debugfs_targets_seq_show()
67 &fld->lcf_targets, ft_chain) in fld_debugfs_targets_seq_show()
69 spin_unlock(&fld->lcf_lock); in fld_debugfs_targets_seq_show()
77 struct lu_client_fld *fld = (struct lu_client_fld *)m->private; in fld_debugfs_hash_seq_show() local
79 LASSERT(fld != NULL); in fld_debugfs_hash_seq_show()
81 spin_lock(&fld->lcf_lock); in fld_debugfs_hash_seq_show()
82 seq_printf(m, "%s\n", fld->lcf_hash->fh_name); in fld_debugfs_hash_seq_show()
83 spin_unlock(&fld->lcf_lock); in fld_debugfs_hash_seq_show()
[all …]
DMakefile1 obj-$(CONFIG_LUSTRE_FS) += fld.o
2 fld-y := fld_request.o fld_cache.o lproc_fld.o
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_fld.h124 int fld_client_init(struct lu_client_fld *fld,
127 void fld_client_fini(struct lu_client_fld *fld);
129 void fld_client_flush(struct lu_client_fld *fld);
131 int fld_client_lookup(struct lu_client_fld *fld, u64 seq, u32 *mds,
134 int fld_client_create(struct lu_client_fld *fld,
138 int fld_client_delete(struct lu_client_fld *fld, u64 seq,
141 int fld_client_add_target(struct lu_client_fld *fld,
144 int fld_client_del_target(struct lu_client_fld *fld,
147 void fld_client_debugfs_fini(struct lu_client_fld *fld);
Dlu_object.h553 struct fld;
/linux-4.4.14/include/linux/mlx5/
Ddevice.h50 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
51 #define __mlx5_bit_off(typ, fld) ((unsigned)(unsigned long)(&(__mlx5_nullp(typ)->fld))) argument
52 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
53 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
54 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
55 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
56 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
59 #define MLX5_FLD_SZ_BYTES(typ, fld) (__mlx5_bit_sz(typ, fld) / 8) argument
64 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8) argument
65 #define MLX5_ADDR_OF(typ, p, fld) ((char *)(p) + MLX5_BYTE_OFF(typ, fld)) argument
[all …]
/linux-4.4.14/net/decnet/
Ddn_route.c343 if (compare_keys(&rth->fld, &rt->fld)) { in dn_insert_route()
963 struct flowidn fld = { in dn_route_output_slow() local
1034 if (!fld.daddr) { in dn_route_output_slow()
1035 fld.daddr = fld.saddr; in dn_route_output_slow()
1045 if (!fld.daddr) { in dn_route_output_slow()
1046 fld.daddr = in dn_route_output_slow()
1047 fld.saddr = dnet_select_source(dev_out, 0, in dn_route_output_slow()
1049 if (!fld.daddr) in dn_route_output_slow()
1052 fld.flowidn_oif = LOOPBACK_IFINDEX; in dn_route_output_slow()
1061 le16_to_cpu(fld.daddr), le16_to_cpu(fld.saddr), in dn_route_output_slow()
[all …]
Ddn_rules.c70 struct flowidn *fld = &flp->u.dn; in dn_fib_rule_action() local
96 err = tbl->lookup(tbl, fld, (struct dn_fib_res *)arg->result); in dn_fib_rule_action()
110 struct flowidn *fld = &fl->u.dn; in dn_fib_rule_match() local
111 __le16 daddr = fld->daddr; in dn_fib_rule_match()
112 __le16 saddr = fld->saddr; in dn_fib_rule_match()
182 struct flowidn fld = { .daddr = addr }; in dnet_addr_type() local
190 if (!tb->lookup(tb, &fld, &res)) { in dnet_addr_type()
Ddn_fib.c196 struct flowidn fld; in dn_fib_check_nh() local
216 memset(&fld, 0, sizeof(fld)); in dn_fib_check_nh()
217 fld.daddr = nh->nh_gw; in dn_fib_check_nh()
218 fld.flowidn_oif = nh->nh_oif; in dn_fib_check_nh()
219 fld.flowidn_scope = r->rtm_scope + 1; in dn_fib_check_nh()
221 if (fld.flowidn_scope < RT_SCOPE_LINK) in dn_fib_check_nh()
222 fld.flowidn_scope = RT_SCOPE_LINK; in dn_fib_check_nh()
224 if ((err = dn_fib_lookup(&fld, &res)) != 0) in dn_fib_check_nh()
412 int dn_fib_semantic_match(int type, struct dn_fib_info *fi, const struct flowidn *fld, struct dn_fi… in dn_fib_semantic_match() argument
432 if (!fld->flowidn_oif || in dn_fib_semantic_match()
[all …]
Ddn_nsp_out.c79 struct flowidn fld; in dn_nsp_send() local
92 memset(&fld, 0, sizeof(fld)); in dn_nsp_send()
93 fld.flowidn_oif = sk->sk_bound_dev_if; in dn_nsp_send()
94 fld.saddr = dn_saddr2dn(&scp->addr); in dn_nsp_send()
95 fld.daddr = dn_saddr2dn(&scp->peer); in dn_nsp_send()
96 dn_sk_ports_copy(&fld, scp); in dn_nsp_send()
97 fld.flowidn_proto = DNPROTO_NSP; in dn_nsp_send()
98 if (dn_route_output_sock(&sk->sk_dst_cache, &fld, sk, 0) == 0) { in dn_nsp_send()
Daf_decnet.c912 struct flowidn fld; in __dn_connect() local
952 memset(&fld, 0, sizeof(fld)); in __dn_connect()
953 fld.flowidn_oif = sk->sk_bound_dev_if; in __dn_connect()
954 fld.daddr = dn_saddr2dn(&scp->peer); in __dn_connect()
955 fld.saddr = dn_saddr2dn(&scp->addr); in __dn_connect()
956 dn_sk_ports_copy(&fld, scp); in __dn_connect()
957 fld.flowidn_proto = DNPROTO_NSP; in __dn_connect()
958 if (dn_route_output_sock(&sk->sk_dst_cache, &fld, sk, flags) < 0) in __dn_connect()
/linux-4.4.14/scripts/coccinelle/misc/
Ddoubleinit.cocci17 identifier I, s, fld;
22 struct I s =@p0 { ..., .fld@p = E, ...};
25 identifier I, s, r.fld;
30 struct I s =@p0 { ..., .fld@p = E, ...};
34 fld << r.fld;
40 cocci.print_main(fld,p0)
46 fld << r.fld;
52 msg = "%s: first occurrence line %s, second occurrence line %s" % (fld,ps[0].line,pr[0].line)
/linux-4.4.14/drivers/xen/
Dfallback.c64 #define COPY_BACK(pop, fld) \ in xen_physdev_op_compat() argument
66 memcpy(arg, &op.u.fld, sizeof(op.u.fld)); \ in xen_physdev_op_compat()
/linux-4.4.14/include/net/
Ddn_route.h75 struct flowidn fld; member
90 return rt->fld.flowidn_iif != 0; in dn_is_input_route()
95 return rt->fld.flowidn_iif == 0; in dn_is_output_route()
Ddn_fib.h86 int (*lookup)(struct dn_fib_table *t, const struct flowidn *fld,
106 const struct flowidn *fld, struct dn_fib_res *res);
109 void dn_fib_select_multipath(const struct flowidn *fld, struct dn_fib_res *res);
125 int dn_fib_lookup(struct flowidn *fld, struct dn_fib_res *res);
Ddn.h196 static inline void dn_sk_ports_copy(struct flowidn *fld, struct dn_scp *scp) in dn_sk_ports_copy() argument
198 fld->fld_sport = scp->addrloc; in dn_sk_ports_copy()
199 fld->fld_dport = scp->addrrem; in dn_sk_ports_copy()
/linux-4.4.14/drivers/media/platform/ti-vpe/
Dvpdma.h158 #define ADB_ADDR(dma_buf, str, fld) ((dma_buf)->addr + offsetof(str, fld)) argument
159 #define MMR_ADB_ADDR(buf, str, fld) ADB_ADDR(&(buf), struct str, fld) argument
/linux-4.4.14/arch/arm64/mm/
Dcontext.c190 int fld = cpuid_feature_extract_field(read_cpuid(ID_AA64MMFR0_EL1), 4); in asids_init() local
192 switch (fld) { in asids_init()
194 pr_warn("Unknown ASID size (%d); assuming 8-bit\n", fld); in asids_init()
/linux-4.4.14/scripts/coccinelle/null/
Dkmerr.cocci22 identifier f,fld;
26 ... when != x->fld
/linux-4.4.14/drivers/staging/lustre/lustre/
DMakefile1 obj-$(CONFIG_LUSTRE_FS) += libcfs/ obdclass/ ptlrpc/ fld/ osc/ mgc/ \
/linux-4.4.14/drivers/net/ethernet/ti/
Ddavinci_cpdma.c134 #define chan_read(chan, fld) __raw_readl((chan)->fld) argument
135 #define desc_read(desc, fld) __raw_readl(&(desc)->fld) argument
137 #define chan_write(chan, fld, v) __raw_writel(v, (chan)->fld) argument
138 #define desc_write(desc, fld, v) __raw_writel((u32)(v), &(desc)->fld) argument
/linux-4.4.14/drivers/scsi/
Dvirtio_scsi.c797 #define virtscsi_config_get(vdev, fld) \ argument
799 typeof(((struct virtio_scsi_config *)0)->fld) __val; \
800 virtio_cread(vdev, struct virtio_scsi_config, fld, &__val); \
804 #define virtscsi_config_set(vdev, fld, val) \ argument
806 typeof(((struct virtio_scsi_config *)0)->fld) __val = (val); \
807 virtio_cwrite(vdev, struct virtio_scsi_config, fld, &__val); \
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Dvnic_devcmd.h506 #define FILTER_FIELD_VALID(fld) (1 << (fld - 1)) argument
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_smp.c312 int fld = blk % 3; in update_smp_state() local
316 switch (fld) { in update_smp_state()
/linux-4.4.14/drivers/hid/usbhid/
Dhid-pidff.c906 static int pidff_find_special_keys(int *keys, struct hid_field *fld, in pidff_find_special_keys() argument
914 for (j = 0; j < fld->maxusage; j++) { in pidff_find_special_keys()
915 if (fld->usage[j].hid == (HID_UP_PID | usagetable[i])) { in pidff_find_special_keys()
/linux-4.4.14/drivers/message/fusion/
Dmptscsih.c599 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_io_done()
601 le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx) : req_idx; in mptscsih_io_done()
1347 my_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_qcmd()
2428 req_index = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_copy_sense_data()
2654 req_idx = le16_to_cpu(req->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_scandv_complete()
2915 my_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptscsih_do_cmd()
Dmptbase.c529 req_idx = le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx); in mpt_reply()
530 cb_idx = mr->u.frame.hwhdr.msgctxu.fld.cb_idx; in mpt_reply()
914 mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; /* byte */ in mpt_get_msg_frame()
918 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_get_msg_frame()
919 mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; in mpt_get_msg_frame()
964 mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; /* byte */ in mpt_put_msg_frame()
968 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_put_msg_frame()
969 mf->u.frame.hwhdr.msgctxu.fld.rsvd = 0; in mpt_put_msg_frame()
1000 mf->u.frame.hwhdr.msgctxu.fld.cb_idx = cb_idx; in mpt_put_msg_frame_hi_pri()
1003 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_put_msg_frame_hi_pri()
[all …]
Dmptbase.h301 } fld; member
Dmptctl.c253 le16_to_cpu(req->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_reply()
1897 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptctl_do_mpt_command()
Dmptlan.c1184 i = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mpt_lan_post_receive_buckets()
Dmptspi.c279 req_idx = le16_to_cpu(mf->u.frame.hwhdr.msgctxu.fld.req_idx); in mptspi_writeIOCPage4()
/linux-4.4.14/Documentation/DocBook/
Dscsi.xml.db28 API-scsi-get-sense-info-fld
/linux-4.4.14/drivers/iommu/
Darm-smmu-v3.c317 #define ARM_SMMU_TCR2CD(tcr, fld) \ argument
318 (((tcr) >> ARM64_TCR_##fld##_SHIFT & ARM64_TCR_##fld##_MASK) \
319 << CTXDESC_CD_0_TCR_##fld##_SHIFT)
/linux-4.4.14/net/ceph/
Dosd_client.c123 #define osd_req_op_data(oreq, whch, typ, fld) \ argument
128 &__oreq->r_ops[__whch].typ.fld; \
/linux-4.4.14/drivers/video/fbdev/
Damifb.c373 #define CUSTOM_OFS(fld) ((long)&((struct CUSTOM*)0)->fld) argument
/linux-4.4.14/drivers/video/fbdev/omap2/dss/
Ddsi.c1217 #define DSI_FLD_GET(fld, start, end)\ in _dsi_print_reset_status() argument
1218 FLD_GET(dsi_read_reg(dsidev, DSI_##fld), start, end) in _dsi_print_reset_status()