Home
last modified time | relevance | path

Searched refs:ncf (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/fs/unicode/tests/
H A Dutf8_kunit.c70 unsigned char ncf[30]; member
76 .ncf = {0x61, 0x62, 0x62, 0x61, 0x00},
81 .ncf = "abcdefghijklmnopqrstuvwxyz0.1",
87 .ncf = {0x73, 0x73, 0x00},
93 .ncf = {0x61, 0xcc, 0x8a, 0x00},
103 .ncf = {0xe1, 0x8e, 0xa0, 0x00},
108 .ncf = {0xe1, 0x8f, 0xb0, 0x00},
114 .ncf = {0xf0, 0x90, 0xb3, 0x83, 0x00},
121 .ncf = {0xf0, 0x90, 0x93, 0x9d, 0x00},
127 .ncf = {0xc9, 0xaa, 0x00},
[all …]
/linux-6.15/net/ncsi/
H A Dncsi-rsp.c365 struct ncsi_channel_vlan_filter *ncf; in ncsi_rsp_handler_svf() local
377 ncf = &nc->vlan_filter; in ncsi_rsp_handler_svf()
378 if (cmd->index == 0 || cmd->index > ncf->n_vids) in ncsi_rsp_handler_svf()
383 bitmap = &ncf->bitmap; in ncsi_rsp_handler_svf()
386 ncf->vids[cmd->index - 1] = 0; in ncsi_rsp_handler_svf()
389 ncf->vids[cmd->index - 1] = ntohs(cmd->vlan); in ncsi_rsp_handler_svf()
454 struct ncsi_channel_mac_filter *ncf; in ncsi_rsp_handler_sma() local
473 ncf = &nc->mac_filter; in ncsi_rsp_handler_sma()
474 bitmap = &ncf->bitmap; in ncsi_rsp_handler_sma()
477 cmd->index > ncf->n_uc + ncf->n_mc + ncf->n_mixed) in ncsi_rsp_handler_sma()
[all …]
H A Dncsi-netlink.c61 struct ncsi_channel_vlan_filter *ncf; in ncsi_write_channel_info() local
81 ncf = &nc->vlan_filter; in ncsi_write_channel_info()
83 while ((i = find_next_bit((void *)&ncf->bitmap, ncf->n_vids, in ncsi_write_channel_info()
84 i + 1)) < ncf->n_vids) { in ncsi_write_channel_info()
85 if (ncf->vids[i]) in ncsi_write_channel_info()
87 ncf->vids[i]); in ncsi_write_channel_info()
H A Dncsi-manage.c603 struct ncsi_channel_vlan_filter *ncf; in clear_one_vid() local
609 ncf = &nc->vlan_filter; in clear_one_vid()
610 bitmap = &ncf->bitmap; in clear_one_vid()
614 if (index >= ncf->n_vids) { in clear_one_vid()
618 vid = ncf->vids[index]; in clear_one_vid()
621 ncf->vids[index] = 0; in clear_one_vid()
648 ncf = &nc->vlan_filter; in set_one_vid()
649 bitmap = &ncf->bitmap; in set_one_vid()
656 for (i = 0; i < ncf->n_vids; i++) in set_one_vid()
657 if (ncf->vids[i] == vid) { in set_one_vid()
[all …]
/linux-6.15/fs/nfsd/
H A Dnfs4callback.c388 struct nfs4_cb_fattr *ncf = &dp->dl_cb_fattr; in encode_cb_getattr4args() local
393 if (!ncf->ncf_file_modified) in encode_cb_getattr4args()
588 struct nfs4_cb_fattr *ncf = in nfs4_xdr_enc_cb_getattr() local
597 encode_cb_getattr4args(xdr, &hdr, ncf); in nfs4_xdr_enc_cb_getattr()
668 struct nfs4_cb_fattr *ncf = in nfs4_xdr_dec_cb_getattr() local
686 maxlen = sizeof(ncf->ncf_cb_change) + sizeof(ncf->ncf_cb_fsize); in nfs4_xdr_dec_cb_getattr()
688 maxlen += (sizeof(ncf->ncf_cb_mtime.tv_sec) + in nfs4_xdr_dec_cb_getattr()
689 sizeof(ncf->ncf_cb_mtime.tv_nsec)) * 2; in nfs4_xdr_dec_cb_getattr()
692 status = decode_cb_fattr4(xdr, bitmap, ncf); in nfs4_xdr_dec_cb_getattr()
H A Dnfs4state.c3175 struct nfs4_cb_fattr *ncf = in nfsd4_cb_getattr_done() local
3194 struct nfs4_cb_fattr *ncf = in nfsd4_cb_getattr_release() local
3223 ncf->ncf_cb_status = NFS4ERR_IO; in nfs4_cb_getattr()
9177 struct nfs4_cb_fattr *ncf; in nfsd4_deleg_getattr_conflict() local
9213 ncf = &dp->dl_cb_fattr; in nfsd4_deleg_getattr_conflict()
9219 if (ncf->ncf_cb_status) { in nfsd4_deleg_getattr_conflict()
9226 if (!ncf->ncf_file_modified && in nfsd4_deleg_getattr_conflict()
9227 (ncf->ncf_initial_cinfo != ncf->ncf_cb_change || in nfsd4_deleg_getattr_conflict()
9228 ncf->ncf_cur_fsize != ncf->ncf_cb_fsize)) in nfsd4_deleg_getattr_conflict()
9230 if (ncf->ncf_file_modified) { in nfsd4_deleg_getattr_conflict()
[all …]
H A Dnfs4xdr.c3630 struct nfs4_cb_fattr *ncf = &dp->dl_cb_fattr; in nfsd4_encode_fattr4() local
3632 if (ncf->ncf_file_modified) { in nfsd4_encode_fattr4()
3633 ++ncf->ncf_initial_cinfo; in nfsd4_encode_fattr4()
3634 args.stat.size = ncf->ncf_cur_fsize; in nfsd4_encode_fattr4()
3635 if (!timespec64_is_epoch(&ncf->ncf_cb_mtime)) in nfsd4_encode_fattr4()
3636 args.stat.mtime = ncf->ncf_cb_mtime; in nfsd4_encode_fattr4()
3638 args.change_attr = ncf->ncf_initial_cinfo; in nfsd4_encode_fattr4()
3640 if (!timespec64_is_epoch(&ncf->ncf_cb_atime)) in nfsd4_encode_fattr4()
3641 args.stat.atime = ncf->ncf_cb_atime; in nfsd4_encode_fattr4()
/linux-6.15/net/can/
H A Disotp.c217 struct canfd_frame *ncf; in isotp_send_fc() local
237 ncf = (struct canfd_frame *)nskb->data; in isotp_send_fc()
241 ncf->can_id = so->txid; in isotp_send_fc()
244 memset(ncf->data, so->opt.txpad_content, CAN_MAX_DLEN); in isotp_send_fc()
245 ncf->len = CAN_MAX_DLEN; in isotp_send_fc()
247 ncf->len = ae + FC_CONTENT_SZ; in isotp_send_fc()
250 ncf->data[ae] = N_PCI_FC | flowstatus; in isotp_send_fc()
251 ncf->data[ae + 1] = so->rxfc.bs; in isotp_send_fc()
252 ncf->data[ae + 2] = so->rxfc.stmin; in isotp_send_fc()
255 ncf->data[0] = so->opt.ext_address; in isotp_send_fc()
[all …]